/*
 * Datei: public/assets/css/portal-home.css
 * Zweck: Gestaltung der Portalübersicht mit News, Terminen, Schnellzugriffen und Modulkacheln.
 */
.portal-tab-buttons {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 16px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
}
.portal-module-pill {
    position: relative;
}
.portal-module-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: .78rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(180, 35, 24, .22);
}
.quicklink-with-badge {
    position: relative;
    padding-right: 54px;
}
.portal-side-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: .78rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(180, 35, 24, .22);
}
.portal-tab-buttons button {
    min-height: 36px;
    padding: 7px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
}
.portal-tab-buttons button.is-active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .2);
}
.portal-tab-panel:not(.is-active) {
    display: none;
}
.portal-event-list {
    display: grid;
    gap: 12px;
}
.portal-event-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.portal-event-card time {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 78px;
    border-radius: 15px;
    background: #fff7ed;
    color: #b45309;
    text-align: center;
}
.portal-event-card time strong {
    font-size: 1.45rem;
    line-height: 1;
}
.portal-event-card time span {
    font-size: .82rem;
    font-weight: 850;
}
.portal-event-card time small {
    margin-top: 3px;
    color: #9a3412;
    font-size: .78rem;
    font-weight: 800;
}
.portal-event-card h3 {
    margin: 0 0 6px;
}
.portal-event-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}
.portal-event-card small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}
.portal-event-card a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 750;
    text-decoration: none;
}
.portal-news-image{margin:0 0 12px;overflow:hidden;border-radius:16px;background:#f1f5f9}
.portal-news-image img{display:block;width:100%;max-height:260px;object-fit:cover}
.portal-news-image figcaption{padding:8px 10px;color:var(--muted);font-size:.82rem}
.portal-news-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.portal-news-gallery img{width:100%;height:74px;border-radius:10px;object-fit:cover;background:#f1f5f9}
@media (max-width: 560px) {
    .portal-tab-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 14px;
    }
    .portal-tab-buttons button {
        border-radius: 10px;
    }
    .portal-event-card {
        grid-template-columns: 1fr;
    }
    .portal-event-card time {
        place-items: start;
        min-height: auto;
        padding: 12px;
        text-align: left;
    }
}
