.portal-body {
    background: #050505;
}

.portal-body .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
}

.portal-main {
    min-height: 100vh;
    padding-top: var(--header-height);
}

.portal-hero {
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.08), transparent 28%), #080808;
}

.portal-hero__inner {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.portal-kicker {
    color: #777;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.portal-hero h1 {
    margin-top: 22px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(82px, 10vw, 170px);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

.portal-hero h1 + p {
    max-width: 640px;
    margin-top: 28px;
    color: #929292;
    font-size: 12px;
    line-height: 1.9;
}

.portal-hero__inner > span {
    color: rgba(255, 255, 255, 0.045);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(180px, 22vw, 360px);
    line-height: 0.8;
}

.portal-content {
    min-height: 520px;
    padding: 75px 0 120px;
}

.portal-notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(150, 225, 165, 0.35);
    background: rgba(30, 110, 50, 0.12);
    color: #b7dfbf;
    font-size: 11px;
}

.portal-notice--error {
    border-color: rgba(255, 105, 105, 0.38);
    background: rgba(120, 20, 20, 0.15);
    color: #ffb3b3;
}

.portal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.portal-card {
    padding: 34px;
    border: 1px solid var(--border);
    background: #090909;
}

.portal-card__meta,
.portal-registration {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #777;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portal-card h2 {
    margin-top: 28px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.portal-card > p,
.portal-card details p {
    margin-top: 18px;
    color: #929292;
    font-size: 11px;
    line-height: 1.8;
}

.portal-card dl {
    margin: 28px 0;
    border-top: 1px solid var(--border);
}

.portal-card dl div {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
}

.portal-card dt,
.portal-inline-form span,
.portal-toolbar label > span {
    color: #666;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portal-card dd {
    color: #d0d0d0;
    font-size: 11px;
}

.portal-card details {
    margin-bottom: 24px;
    color: #ccc;
    font-size: 10px;
}

.portal-card summary {
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portal-button,
.portal-inline-form button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #fff;
    background: #fff;
    color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portal-button--outline {
    background: transparent;
    color: #fff;
}

.portal-inline-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 10px;
}

.portal-inline-form label,
.portal-toolbar label {
    display: grid;
    gap: 8px;
}

.portal-inline-form input,
.portal-toolbar select {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    outline: 0;
    background: #050505;
    color: #fff;
}

.portal-registration {
    margin-bottom: 12px;
    padding: 15px;
    border: 1px solid var(--border);
}

.portal-registration strong {
    color: #fff;
}

.portal-closed {
    color: #777;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portal-toolbar {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.portal-toolbar p {
    color: #888;
    font-size: 11px;
}

.portal-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
}

.portal-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.portal-table th,
.portal-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.portal-table th {
    color: #707070;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portal-table td {
    color: #c8c8c8;
    font-size: 11px;
}

.portal-table td:first-child,
.portal-table td:last-child strong {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 25px;
    font-weight: 400;
}

.portal-empty {
    min-height: 240px;
    padding: 45px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portal-empty strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
}

.portal-empty p {
    margin-top: 10px;
    color: #777;
    font-size: 11px;
}

.portal-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal-gallery figure {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid var(--border);
    cursor: zoom-in;
}

.portal-gallery img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.portal-gallery figure:hover img {
    transform: scale(1.035);
    filter: grayscale(0.35);
}

.portal-gallery figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 22px 22px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
    display: grid;
    gap: 7px;
}

.portal-gallery figcaption strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    font-weight: 400;
    text-transform: uppercase;
}

.portal-gallery figcaption span,
.portal-gallery figcaption p {
    color: #aaa;
    font-size: 9px;
}

@media (max-width: 950px) {
    .portal-card-grid,
    .portal-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .portal-hero__inner {
        min-height: 390px;
    }

    .portal-hero__inner > span {
        display: none;
    }

    .portal-content {
        padding: 50px 0 80px;
    }

    .portal-card-grid,
    .portal-gallery {
        grid-template-columns: 1fr;
    }

    .portal-card {
        padding: 24px;
    }

    .portal-toolbar,
    .portal-inline-form {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}
