/* Student access: desktop ceiling, persistent mobile header, and homepage. */
.site-header .student-entry-ceiling {
    padding: 3px 12px;
    border: 1px solid #c40022;
    border-radius: 5px;
    background: #c40022;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.site-header .student-entry-ceiling:hover {
    background: #9e001b;
    border-color: #9e001b;
    color: #fff;
}

.student-nav-tools {
    display: none;
}

.student-entry-mobile,
.student-entry-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #c40022;
    border-radius: 6px;
    background: #c40022;
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.student-entry-mobile:hover,
.student-entry-hero:hover {
    background: #9e001b;
    border-color: #9e001b;
    color: #fff;
}

.student-entry-ceiling:focus-visible,
.student-entry-mobile:focus-visible,
.student-entry-hero:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

.student-entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-block: 0 24px;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    text-align: start;
}

.student-entry-copy {
    flex: 1 1 210px;
    min-width: 0;
}

.student-entry-copy strong,
.student-entry-copy span {
    display: block;
}

.student-entry-copy strong {
    font-size: 1rem;
    font-weight: 800;
}

.student-entry-copy span {
    margin-top: 3px;
    color: #475569;
    font-size: .88rem;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .site-header .nav-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .site-header .logo-brand {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .site-header .main-navbar-logo {
        max-width: 100% !important;
    }

    .student-nav-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .student-entry-mobile {
        padding: 10px 12px;
        font-size: .84rem;
    }

    .student-nav-tools .mobile-menu-btn {
        flex: 0 0 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .student-entry-card {
        padding: 14px;
        gap: 12px;
    }

    .student-entry-hero {
        width: 100%;
    }
}
