.student-page {
    display: grid;
    gap: 28px;
    padding: clamp(36px, 5vw, 78px) 0 34px;
}

.student-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.student-section-head--center {
    display: grid;
    justify-items: center;
    text-align: center;
}

.student-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.student-kicker::before,
.student-kicker::after {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--uptm-red, #e31e24);
}

.student-section-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.05;
}

.student-section-head p:not(.student-kicker) {
    max-width: 680px;
    margin: 7px 0 0;
    color: #6f7787;
    font-size: 17px;
    line-height: 1.55;
}

.support-links,
.student-hub,
.latest-info,
.campus-media {
    position: relative;
}

.support-links {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(226, 226, 226, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px -54px rgba(13, 36, 86, 0.45);
    backdrop-filter: blur(16px);
}

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

.support-card {
    min-height: 118px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(226, 226, 226, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 42px -38px rgba(13, 36, 86, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.support-card:hover,
.support-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(13, 36, 86, 0.22);
    box-shadow: 0 24px 54px -38px rgba(13, 36, 86, 0.55);
    outline: none;
}

.support-icon {
    width: 64px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #173977, #06142f);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 26px -22px rgba(6, 20, 47, 0.85);
}

.support-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
}

.support-content {
    display: grid;
    gap: 5px;
}

.support-content strong {
    color: #111827;
    font-size: clamp(17px, 1.35vw, 23px);
    font-weight: 800;
    line-height: 1.08;
}

.support-content span {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.35;
}

.support-arrow {
    color: #9299a5;
    font-size: 22px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.support-card:hover .support-arrow,
.support-card:focus-visible .support-arrow {
    color: var(--navy);
    transform: translateX(4px);
}

.hub-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(360px, 1.28fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.hub-card,
.latest-info,
.campus-media {
    border: 1px solid rgba(226, 226, 226, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 22px 62px -52px rgba(13, 36, 86, 0.48);
    backdrop-filter: blur(14px);
}

.hub-card {
    padding: 20px;
}

.hub-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.hub-eyebrow {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-card h3,
.latest-info h2,
.campus-media h2 {
    margin: 4px 0 0;
    color: #111827;
    font-family: Manrope, Inter, sans-serif;
    font-weight: 800;
}

.head-icon {
    min-width: 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7f9fd, #eef3fb);
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(13, 36, 86, 0.06), 0 12px 24px -22px rgba(13, 36, 86, 0.42);
}

.head-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.academic-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    padding-left: 13px;
}

.academic-timeline::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(var(--navy), rgba(13, 36, 86, 0.12));
}

.academic-item {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
}

.academic-date {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 60px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 12px 28px -24px rgba(13, 36, 86, 0.5);
}

.academic-date strong {
    font-size: 22px;
    line-height: 1;
}

.academic-date span {
    font-size: 10px;
    font-weight: 800;
}

.academic-copy {
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.academic-copy h4 {
    margin: 0 0 7px;
    color: #1f2a44;
    font-size: 14px;
    line-height: 1.3;
}

.academic-copy p {
    margin: 7px 0 0;
    color: #8a92a0;
    font-size: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.status-pill--upcoming { background: #e9f9ef; color: #15803d; }
.status-pill--new { background: #eef4ff; color: #1d4ed8; }
.status-pill--reminder { background: #fff7df; color: #a16207; }
.status-pill--completed { background: #f1f2f4; color: #6b7280; }

.student-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #e3e8f1;
    border-radius: 999px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.22s ease, background 0.22s ease;
}

.student-mini-link:hover,
.student-mini-link:focus-visible {
    background: #fff;
    transform: translateY(-2px);
    outline: none;
}

.circular-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.circular-tabs button {
    border: 0;
    border-radius: 999px;
    padding: 9px 13px;
    background: #f1f4f8;
    color: #7a8291;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.circular-tabs .is-active {
    background: var(--navy);
    color: #fff;
}

.circular-panels {
    display: grid;
}

.circular-panel {
    display: none;
}

.circular-panel.is-active {
    display: block;
}

.document-preview {
    min-height: 520px;
    overflow: hidden;
    border: 10px solid #eef0f3;
    border-radius: 16px;
    background: #fff;
    color: #111827;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.document-preview iframe {
    width: 100%;
    height: 520px;
    display: block;
    border: 0;
    background: #fff;
}

.circular-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.student-primary-btn,
.student-secondary-btn {
    min-height: 44px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.student-primary-btn {
    background: linear-gradient(135deg, #173977, #071735);
    color: #fff;
    box-shadow: 0 16px 34px -26px rgba(13, 36, 86, 0.75);
}

.student-secondary-btn {
    border: 1px solid rgba(13, 36, 86, 0.16);
    background: #fff;
    color: var(--navy);
}

.student-primary-btn svg,
.student-secondary-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.22s ease;
}

.student-primary-btn:hover,
.student-secondary-btn:hover {
    transform: translateY(-2px);
}

.student-primary-btn:hover svg {
    transform: translate(2px, -2px);
}

.student-secondary-btn:hover svg {
    transform: translateY(2px);
}

.notice-list,
.department-list {
    display: grid;
    gap: 11px;
}

.notice-item,
.department-item {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: inherit;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.notice-item {
    grid-template-columns: 48px minmax(0, 1fr);
}

.notice-item:hover,
.department-item:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 36, 86, 0.18);
}

.notice-item > span:first-child {
    height: 50px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 14px;
    background: #fff5f2;
    color: #e24532;
    font-size: 10px;
    font-weight: 900;
}

.notice-item strong {
    font-size: 18px;
    line-height: 1;
}

.notice-item b,
.department-item b {
    display: block;
    color: #1f2a44;
    font-size: 13px;
}

.notice-item small,
.department-item small {
    display: block;
    margin-top: 4px;
    color: #7b8493;
    font-size: 11px;
    line-height: 1.35;
}

.department-item {
    grid-template-columns: 86px minmax(0, 1fr) 28px;
}

.department-item img {
    width: 86px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.department-item em {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid #e4e9f2;
    border-radius: 50%;
    color: var(--navy);
    font-style: normal;
    font-size: 12px;
}

.latest-info,
.campus-media {
    padding: clamp(22px, 3vw, 30px);
}

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

.poster-card {
    display: grid;
    grid-template-columns: minmax(140px, 0.86fr) minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid #e6ebf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px -34px rgba(13, 36, 86, 0.5);
}

.poster-preview {
    min-height: 320px;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #edf1f7;
    box-shadow: inset 0 0 0 1px rgba(13, 36, 86, 0.08);
}

.poster-preview img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.poster-card:hover .poster-preview img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.02);
}

.poster-copy span {
    width: max-content;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}


.poster-copy {
    display: grid;
    align-content: center;
}

.poster-copy span {
    background: #eef4ff;
    color: var(--navy);
}

.poster-copy h4 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 17px;
    line-height: 1.22;
}

.poster-copy p {
    margin: 0;
    color: #737b89;
    font-size: 13px;
    line-height: 1.5;
}

.poster-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.poster-action-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e3e8f1;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    box-shadow: 0 12px 24px -20px rgba(13, 36, 86, 0.6);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.poster-action-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.22s ease;
}

.poster-action-btn:hover,
.poster-action-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(13, 36, 86, 0.22);
    background: var(--navy);
    color: #fff;
    outline: none;
}

.poster-action-btn:first-child:hover svg {
    transform: translateY(2px);
}

.poster-action-btn:last-child:hover svg {
    transform: translate(2px, -2px);
}

.media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.75fr));
    gap: 18px;
}

.media-card {
    display: block;
    overflow: hidden;
    border: 1px solid #e6ebf3;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.media-card--featured {
    grid-row: span 2;
}

.media-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d2456;
}

.media-card--featured .media-thumb {
    aspect-ratio: 16 / 11;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(0.95);
}

.media-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 13, 30, 0.42));
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.7);
}

.play-button::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 18px;
    border-left: 16px solid var(--navy);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.media-thumb small {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(3, 12, 28, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.media-copy {
    padding: 16px;
}

.media-copy h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
}

.media-copy p {
    margin: 8px 0 0;
    color: #737b89;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .support-grid,
    .hub-grid,
    .poster-grid,
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }

    .circular-card,
    .latest-info,
    .campus-media {
        grid-column: 1 / -1;
    }

    .hub-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        grid-column: 1 / -1;
    }

    .media-card--featured {
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .student-page {
        gap: 22px;
        padding-top: 28px;
    }

    .student-section-head,
    .hub-stack {
        display: grid;
        align-items: start;
    }

    .support-links,
    .hub-card,
    .latest-info,
    .campus-media {
        border-radius: 20px;
        padding: 18px;
    }

    .support-grid,
    .hub-grid,
    .poster-grid,
    .media-grid,
    .hub-stack {
        grid-template-columns: 1fr;
    }

    .support-card {
        grid-template-columns: 54px minmax(0, 1fr) 24px;
        min-height: 102px;
        padding: 16px;
    }

    .support-icon {
        width: 54px;
        border-radius: 16px;
    }

    .poster-card {
        grid-template-columns: 1fr;
    }

    .poster-preview {
        min-height: 260px;
    }

    .document-preview {
        min-height: 0;
        padding: 18px;
        border-width: 7px;
    }

    .doc-table {
        font-size: 11px;
    }

    .department-item {
        grid-template-columns: 78px minmax(0, 1fr) 26px;
    }

    .department-item img {
        width: 78px;
        height: 58px;
    }

    .play-button {
        width: 48px;
        height: 48px;
    }

    .play-button::before {
        left: 20px;
        top: 15px;
        border-left-width: 14px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }
}

.media-grid {
    align-items: start;
}

.media-card {
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: 0 18px 45px -32px rgba(13, 36, 86, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.media-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 67, 151, 0.22);
    box-shadow: 0 24px 60px -34px rgba(13, 36, 86, 0.58);
}

.media-card--featured {
    grid-row: auto;
}

.media-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071936;
}

.media-card--featured .media-embed {
    aspect-ratio: 16 / 9;
}

.media-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-embed small {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(3, 12, 28, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    pointer-events: none;
}

.youtube-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0d2456;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.youtube-badge svg {
    width: 16px;
    height: 16px;
    fill: #ff0033;
}

.youtube-badge svg path:last-child {
    fill: #fff;
}

.media-copy {
    display: grid;
    align-content: start;
    gap: 8px;
}

.media-copy p {
    margin: 0;
}

.media-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 2px;
    color: #0d2f75;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.media-watch-link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}

.media-watch-link:hover svg {
    transform: translate(2px, -2px);
}

.poster-card {
    grid-template-columns: minmax(160px, 0.92fr) minmax(0, 1fr);
}

.poster-preview {
    min-height: 340px;
    display: grid;
    place-items: center;
    padding: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}

.poster-preview img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 12px;
    object-fit: contain;
    object-position: center top;
}

.poster-card:hover .poster-preview img {
    transform: translateY(-3px) scale(1.01);
}

@media (max-width: 1180px) {
    .poster-card {
        grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .poster-preview {
        min-height: 360px;
    }

    .poster-preview img {
        min-height: 340px;
    }
}

.circular-actions {
    justify-content: center;
}

.circular-download-btn {
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #174a9c 0%, #0d2f75 52%, #071b44 100%);
    color: #fff;
    box-shadow: 0 18px 38px -24px rgba(13, 47, 117, 0.85);
}

.circular-download-btn:hover,
.circular-download-btn:focus-visible {
    background: linear-gradient(135deg, #1d5cc3 0%, #0d357f 58%, #071b44 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -24px rgba(13, 47, 117, 0.95);
    outline: none;
}

.circular-download-btn:hover svg {
    transform: translateY(2px);
}

.student-hub .student-section-head--center {
    width: min(100%, 980px);
    margin-left: auto;
    margin-right: auto;
}

.student-hub .student-section-head--center h2 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(30px, 3.4vw, 56px);
    line-height: 1.04;
    text-align: center;
    text-wrap: balance;
}

.hub-grid {
    align-items: start;
}

.timeline-card,
.notices-card,
.departments-card {
    align-self: start;
}

.timeline-card .student-mini-link {
    margin-top: 4px;
}

.academic-timeline {
    gap: 12px;
}

.academic-copy {
    padding-bottom: 10px;
}

.academic-item:last-child .academic-copy {
    padding-bottom: 0;
    border-bottom: 0;
}

.document-preview {
    min-height: 500px;
    overflow: hidden;
    border-width: 8px;
    background: #f8fafc;
}

.document-preview iframe {
    width: 100%;
    height: 500px;
    display: block;
    background: #fff;
}

@media (max-width: 1180px) {
    .student-hub .student-section-head--center h2 {
        font-size: clamp(30px, 5vw, 46px);
    }
}

@media (max-width: 760px) {
    .student-hub .student-section-head--center h2 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .document-preview,
    .document-preview iframe {
        min-height: 430px;
        height: 430px;
    }
}

.student-page {
    padding-top: clamp(12px, 1.8vw, 26px);
}

.poster-card {
    grid-template-columns: minmax(210px, 1.02fr) minmax(0, 1fr);
    gap: 18px;
}

.poster-preview {
    min-height: 360px;
    padding: 0;
    background: #f6f8fc;
}

.poster-preview img {
    min-height: 360px;
    border-radius: 14px;
    object-fit: contain;
    object-position: center center;
}

.poster-action-btn {
    position: relative;
    overflow: hidden;
}

.poster-action-btn::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -70%;
    width: 52%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.poster-action-btn:hover,
.poster-action-btn:focus-visible {
    border-color: rgba(13, 47, 117, 0.24);
    background: linear-gradient(135deg, #174a9c 0%, #0d2f75 58%, #071b44 100%);
    color: #fff;
    box-shadow: 0 18px 34px -22px rgba(13, 47, 117, 0.85);
}

.poster-action-btn:hover::after,
.poster-action-btn:focus-visible::after {
    opacity: 1;
    animation: posterButtonShine 0.72s ease forwards;
}

@keyframes posterButtonShine {
    from {
        left: -70%;
    }
    to {
        left: 125%;
    }
}

@media (max-width: 1180px) {
    .poster-card {
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .poster-card {
        grid-template-columns: 1fr;
    }

    .poster-preview,
    .poster-preview img {
        min-height: 420px;
    }
}

.hub-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.departments-card {
    margin-top: 0;
}

.departments-card .hub-card-head {
    margin-bottom: 20px;
}

.department-list {
    gap: 14px;
}

.department-item {
    grid-template-columns: 96px minmax(0, 1fr) 34px;
    min-height: 104px;
    padding: 14px;
    align-items: center;
}

.department-item img {
    width: 96px;
    height: 72px;
    border-radius: 14px;
}

.department-item b {
    font-size: 14px;
    line-height: 1.2;
}

.department-item small {
    min-height: 44px;
    font-size: 12px;
    line-height: 1.32;
}

.department-item em {
    width: 34px;
    height: 34px;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.department-item:hover em,
.department-item:focus-visible em {
    border-color: rgba(13, 47, 117, 0.2);
    background: var(--navy);
    color: #fff;
    transform: translateX(2px);
}

@media (max-width: 1180px) {
    .hub-stack {
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .hub-stack {
        gap: 16px;
    }

    .department-item {
        grid-template-columns: 82px minmax(0, 1fr) 30px;
        min-height: 94px;
        padding: 12px;
    }

    .department-item img {
        width: 82px;
        height: 62px;
    }

    .department-item small {
        min-height: 0;
    }
}

.student-hub > .student-section-head--center {
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

.student-hub > .student-section-head--center .student-kicker {
    justify-content: center;
}

.student-hub > .student-section-head--center h2 {
    width: min(100%, 1180px);
    max-width: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1181px) {
    .hub-grid {
        align-items: stretch;
    }

    .hub-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .timeline-card .academic-timeline,
    .departments-card .department-list,
    .notices-card .notice-list {
        flex: 1;
    }

    .timeline-card {
        justify-content: space-between;
    }

    .timeline-card .student-mini-link {
        margin-top: 18px;
    }

    .hub-stack {
        height: 100%;
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    }

    .notices-card,
    .departments-card {
        min-height: 0;
    }

    .notice-list,
    .department-list {
        align-content: stretch;
    }

    .notice-item,
    .department-item {
        min-height: 0;
    }

    .department-item {
        grid-template-columns: 92px minmax(0, 1fr) 34px;
        min-height: 96px;
    }

    .department-item img {
        width: 92px;
        height: 68px;
    }

    .department-item small {
        min-height: 38px;
    }

    .document-preview {
        min-height: 460px;
    }

    .document-preview iframe {
        height: 460px;
    }
}

@media (min-width: 1181px) {
    .circular-card {
        height: auto;
        align-self: start;
    }

    .circular-panel.is-active {
        display: grid;
        gap: 18px;
    }

    .circular-actions {
        margin-top: 0;
        padding-bottom: 4px;
    }

    .hub-stack {
        align-self: start;
    }
}

.document-preview {
    min-height: 0;
    overflow: hidden;
    padding: 10px;
    border: 8px solid #eef0f3;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.document-preview img {
    width: 100%;
    max-height: 500px;
    display: block;
    object-fit: contain;
    object-position: center top;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 34px -30px rgba(13, 36, 86, 0.55);
}

@media (min-width: 1181px) {
    .document-preview {
        min-height: 0;
    }

    .document-preview img {
        max-height: 440px;
    }
}

@media (max-width: 760px) {
    .document-preview {
        padding: 8px;
    }

    .document-preview img {
        max-height: none;
    }
}

.document-preview {
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    border: 8px solid #eef0f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.document-preview iframe {
    width: 100%;
    height: 500px;
    display: block;
    border: 0;
    background: #fff;
}

@media (min-width: 1181px) {
    .document-preview {
        min-height: 460px;
    }

    .document-preview iframe {
        height: 460px;
    }
}

@media (max-width: 760px) {
    .document-preview {
        min-height: 430px;
        padding: 0;
    }

    .document-preview iframe {
        height: 430px;
    }
}

/* Unified service arrows */
.support-arrow,
.department-item em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    line-height: 1;
}

.support-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid #e4e9f2;
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy);
    font-size: 21px;
    box-shadow: 0 12px 24px -20px rgba(13, 47, 117, 0.45);
}

.department-item em {
    font-size: 20px;
}

.support-arrow::before,
.department-item em::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 12px;
    background: currentColor;
    clip-path: polygon(0 42%, 68% 42%, 68% 16%, 100% 50%, 68% 84%, 68% 58%, 0 58%);
    transform: translate(-50%, -50%);
}

.support-arrow::after,
.department-item em::after {
    content: none;
}

.support-card:hover .support-arrow,
.support-card:focus-visible .support-arrow,
.department-item:hover em,
.department-item:focus-visible em {
    color: #ffffff;
    border-color: rgba(13, 47, 117, 0.88);
    background: linear-gradient(135deg, #1557c0, #082f7c);
    transform: translateX(4px);
}
/* Equal-size YouTube media cards. */
.campus-media .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(18px, 2.4vw, 26px);
}

.campus-media .media-card,
.campus-media .media-card--featured {
    grid-row: auto;
    min-height: 0;
    height: 100%;
}

.campus-media .media-copy {
    min-height: 116px;
    padding: 16px;
}

.campus-media .media-copy h3 {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.campus-media .media-copy p {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.campus-media .media-watch-link {
    align-self: end;
}

@media (max-width: 1180px) {
    .campus-media .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .campus-media .media-grid {
        grid-template-columns: 1fr;
    }
}
