/* Design and Development by: Palukandewe Seewali, Assistant Librarian, The Library, Bhiksu University of Sri Lanka, Anuradhapura, Sri Lanka.
   Email: seewali@busl.ac.lk */

:root {
    --maroon-950: #2d030a;
    --maroon-900: #450811;
    --maroon-800: #5b0d1c;
    --maroon-700: #741529;
    --maroon-600: #8d1c34;
    --gold-500: #f4c430;
    --gold-400: #ffd955;
    --gold-200: #ffefad;
    --cream: #fbf8f2;
    --soft: #f6f1eb;
    --white: #ffffff;
    --ink: #241116;
    --muted: #736167;
    --line: rgba(116, 21, 41, 0.14);
    --success: #16724a;
    --info: #236da9;
    --warning: #745800;
    --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 10px 24px rgba(55, 8, 18, 0.06);
    --shadow-md: 0 18px 42px rgba(55, 8, 18, 0.10);
    --shadow-lg: 0 28px 70px rgba(55, 8, 18, 0.14);
    --transition: 220ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--maroon-950);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-500);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--gold {
    background: var(--gold-500);
    color: var(--maroon-950);
    box-shadow: 0 12px 30px rgba(244, 196, 48, 0.28);
}

.button--gold:hover {
    background: var(--gold-400);
}

.button--maroon {
    background: var(--maroon-700);
    color: var(--white);
    box-shadow: 0 14px 32px rgba(116, 21, 41, 0.22);
}

.button--maroon:hover {
    background: var(--maroon-800);
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.button--small {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 12px;
}

.button--full {
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(116, 21, 41, 0.08);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 16px 45px rgba(45, 3, 10, 0.13);
}

.top-strip {
    background: var(--maroon-950);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
}

.top-strip__inner,
.brand-row__inner,
.primary-nav__inner,
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-strip__inner {
    min-height: 34px;
}

.top-strip__links,
.top-strip__contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-strip a {
    transition: color var(--transition);
}

.top-strip a:hover {
    color: var(--gold-400);
}

.top-strip i {
    margin-right: 6px;
    color: var(--gold-500);
}

.brand-row {
    background: var(--white);
}

.brand-row__inner {
    min-height: 78px;
}

.brand,
.brand span:last-child {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: 12px;
}

.brand__seal {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gold-400), var(--gold-500));
    color: var(--maroon-950);
    box-shadow: inset 0 0 0 4px rgba(116, 21, 41, 0.18), 0 10px 24px rgba(244, 196, 48, 0.24);
    font-size: 21px;
    font-weight: 900;
}

.brand span:last-child {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.1;
}

.brand strong {
    color: var(--maroon-800);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.brand--footer strong {
    color: var(--white);
}

.brand--footer small {
    color: rgba(255, 255, 255, 0.58);
}

.brand-row__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-button,
.nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--soft);
    color: var(--maroon-800);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.icon-button:hover,
.nav-toggle:hover {
    background: var(--maroon-700);
    color: var(--white);
}

.nav-toggle {
    display: none;
}

.primary-nav {
    background: var(--maroon-800);
    color: var(--white);
}

.primary-nav__inner {
    min-height: 56px;
    justify-content: flex-start;
}

.primary-nav a,
.nav-dropdown__trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 56px;
    padding: 0 15px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.is-active {
    color: var(--gold-400);
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 230px;
    padding: 10px;
    border-radius: 0 0 14px 14px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__menu a {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    color: var(--ink);
}

.nav-dropdown__menu a:hover {
    background: var(--soft);
    color: var(--maroon-800);
}

/* Search modal */
.search-dialog {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(45, 3, 10, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.search-dialog.is-open {
    opacity: 1;
    visibility: visible;
}

.search-dialog__box {
    position: relative;
    width: min(720px, 100%);
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.search-dialog__box h2 {
    margin: 10px 0 20px;
    color: var(--maroon-800);
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.1;
}

.search-dialog__close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--maroon-800);
    cursor: pointer;
}

.search-dialog__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-dialog__form input,
.programme-search input,
.notice-search input,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-dialog__form input {
    min-height: 48px;
    padding: 0 15px;
}

.search-dialog__form input:focus,
.programme-search input:focus,
.notice-search input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.18);
}

/* Main sections */
.section {
    padding: 88px 0;
}

.section--soft {
    background: linear-gradient(180deg, var(--cream), var(--soft));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.split-layout h2,
.cta-card h2,
.content-card h2,
.message-card h2,
.timetable-help h2 {
    margin: 10px 0 10px;
    color: var(--maroon-800);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p,
.split-layout p,
.cta-card p,
.content-card p,
.message-card p,
.info-panel p {
    margin: 0;
    color: var(--muted);
}

/* Hero */
.hero,
.page-hero,
.programme-hero,
.timetable-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 85% 18%, rgba(244, 196, 48, 0.16), transparent 26%), linear-gradient(120deg, var(--maroon-950), var(--maroon-700));
    color: var(--white);
}

.hero::after,
.page-hero::after,
.programme-hero::after,
.timetable-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 42px solid rgba(255, 255, 255, 0.06);
}

.hero__grid,
.programme-hero__grid,
.timetable-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
    gap: 42px;
    align-items: center;
    min-height: 620px;
    padding: 80px 0;
}

.hero h1,
.page-hero h1,
.programme-hero h1,
.timetable-hero h1 {
    margin: 14px 0 16px;
    max-width: 780px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.programme-hero p,
.timetable-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-card,
.weekend-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(127, 4, 4, 0.13);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.hero-card__glow {
    position: absolute;
    right: -45px;
    top: -45px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(244, 196, 48, 0.3);
    filter: blur(28px);
}

.hero-card__badge,
.weekend-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card h2,
.weekend-card strong {
    display: block;
    margin: 14px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-card p,
.weekend-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.hero-card a,
.weekend-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--gold-400);
    font-size: 13px;
    font-weight: 800;
}

.mini-schedule {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-schedule span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.mini-schedule strong {
    color: var(--white);
    font-weight: 900;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0;
}

.page-hero h1,
.programme-hero h1,
.timetable-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
}

/* Stats and cards */
.stats-band {
    padding: 0;
    background: var(--cream);
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: translateY(-44px);
}

.stat-card {
    min-height: 118px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.stat-card strong {
    display: block;
    color: var(--maroon-800);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pathway-grid,
.programme-grid,
.portal-grid,
.staff-grid,
.coordinator-grid,
.committee-layout,
.contact-cards {
    display: grid;
    gap: 22px;
}

.pathway-grid {
    grid-template-columns: repeat(4, 1fr);
}

.pathway-card,
.portal-card,
.content-card,
.info-panel,
.coordinator-card,
.notice-card,
.contact-cards article {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.pathway-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pathway-card:hover,
.portal-card:hover,
.programme-card:hover,
.staff-card:hover,
.coordinator-card:hover,
.notice-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pathway-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.pathway-card__top span {
    color: rgba(116, 21, 41, 0.22);
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.pathway-card__top i,
.portal-card i,
.coordinator-card span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(244, 196, 48, 0.22);
    color: var(--maroon-700);
    font-size: 20px;
}

.pathway-card h3,
.programme-card h2,
.staff-card h2,
.coordinator-card h2,
.notice-card h2,
.contact-cards h2 {
    margin: 0 0 8px;
    color: var(--maroon-800);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.pathway-card strong {
    color: var(--gold-500);
    font-size: 12px;
}

.pathway-card p,
.programme-card p,
.staff-card p,
.coordinator-card p,
.notice-card p,
.contact-cards p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.pathway-card a,
.programme-card a,
.staff-card a,
.coordinator-card a,
.compact-programme,
.portal-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--maroon-700);
    font-size: 12px;
    font-weight: 900;
}

.split-layout,
.director-layout,
.content-grid,
.programme-detail-grid,
.contact-grid {
    display: grid;
    gap: 34px;
    align-items: start;
}

.split-layout {
    grid-template-columns: 1fr minmax(300px, 470px);
    align-items: center;
}

.director-preview,
.director-card,
.message-card,
.contact-form {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.director-preview {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
}

.director-preview__image {
    height: 260px;
    overflow: hidden;
}

.director-preview img,
.director-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.director-preview > div:last-child {
    padding: 26px;
}

.director-preview span,
.director-card span {
    color: var(--gold-500);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.director-preview h3 {
    margin: 8px 0;
    color: var(--maroon-800);
    font-size: 24px;
    line-height: 1.2;
}

.portal-grid {
    grid-template-columns: repeat(4, 1fr);
}

.portal-card {
    padding: 24px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
}

.portal-card strong {
    margin-top: 18px;
    color: var(--maroon-800);
    font-size: 17px;
}

.cta-section {
    padding-top: 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 90% 0, rgba(244, 196, 48, 0.24), transparent 34%), linear-gradient(120deg, var(--maroon-950), var(--maroon-700));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    color: var(--white);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.68);
}

/* Content pages */
.content-grid,
.programme-detail-grid {
    grid-template-columns: 1fr 360px;
}

.content-card,
.info-panel,
.message-card {
    padding: 34px;
}

.content-card--large h3 {
    margin: 28px 0 10px;
    color: var(--maroon-800);
}

.info-panel h3 {
    margin: 0 0 18px;
    color: var(--maroon-800);
    font-size: 24px;
}

.check-list,
.fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}

.check-list i {
    margin-top: 4px;
    color: var(--success);
}

.fact-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.fact-list span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fact-list strong {
    color: var(--maroon-800);
    text-align: right;
}

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

.timeline-item {
    position: relative;
    padding: 24px;
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-item span {
    color: var(--gold-500);
    font-size: 11px;
    font-weight: 900;
}

.timeline-item h3 {
    margin: 9px 0 0;
    color: var(--maroon-800);
    font-size: 17px;
    line-height: 1.35;
}

.director-layout {
    grid-template-columns: 390px 1fr;
}

.director-card img {
    height: 360px;
}

.director-card div {
    padding: 28px;
}

.director-card h2 {
    margin: 8px 0;
    color: var(--maroon-800);
    font-size: 26px;
    line-height: 1.2;
}

.director-card p,
.director-card a {
    color: var(--muted);
}

.director-card a {
    display: inline-flex;
    gap: 8px;
    margin-top: 20px;
    color: var(--maroon-700);
    font-size: 12px;
    font-weight: 900;
}

/* Programme catalogue */
.programme-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.programme-search,
.notice-search {
    min-height: 50px;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--maroon-700);
}

.programme-search input,
.notice-search input {
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.programme-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--maroon-700);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    transition: background var(--transition), color var(--transition);
}

.filter-chip:hover,
.filter-chip.is-active {
    background: var(--maroon-700);
    color: var(--white);
}

.programme-grid {
    grid-template-columns: repeat(3, 1fr);
}

.programme-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.programme-card__image {
    position: relative;
    height: 210px;
    background: var(--soft);
    overflow: hidden;
}

.programme-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.programme-card:hover .programme-card__image img {
    transform: scale(1.06);
}

.programme-card__image span,
.staff-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--gold-500);
    color: var(--maroon-950);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.programme-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.programme-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.programme-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.programme-hero__grid {
    min-height: 520px;
}

.programme-hero__image {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.programme-hero__image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--maroon-700);
    font-size: 12px;
    font-weight: 800;
}

.compact-programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.compact-programme {
    justify-content: space-between;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--maroon-800);
    box-shadow: var(--shadow-sm);
}

.compact-programme span {
    color: var(--gold-500);
}

.empty-state,
.timetable-empty {
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.empty-state i,
.timetable-empty i {
    color: var(--gold-500);
    font-size: 38px;
}

.empty-state h3,
.timetable-empty h3 {
    margin: 15px 0 5px;
    color: var(--maroon-800);
}

.empty-state p,
.timetable-empty p {
    margin: 0;
    color: var(--muted);
}

/* Staff */
.staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.staff-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 455px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.staff-card__media {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--cream);
}

.staff-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.staff-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(116, 21, 41, 0.22);
    font-size: 64px;
}

.staff-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.staff-contact-mini {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.staff-contact-mini span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.staff-contact-mini i {
    color: var(--gold-500);
}

/* Coordinators, notices, contacts */
.coordinator-grid {
    grid-template-columns: repeat(4, 1fr);
}

.coordinator-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.coordinator-card span {
    margin-bottom: 18px;
}

.committee-layout {
    grid-template-columns: repeat(3, 1fr);
}

.notice-search {
    margin-bottom: 24px;
}

.notice-list {
    display: grid;
    gap: 16px;
}

.notice-card {
    position: relative;
    padding: 26px 26px 26px 140px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.notice-card time {
    position: absolute;
    left: 26px;
    top: 28px;
    width: 86px;
    padding: 10px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--maroon-800);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.notice-card > span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(244, 196, 48, 0.22);
    color: var(--maroon-700);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.contact-cards {
    grid-template-columns: 1fr;
}

.contact-cards article {
    padding: 26px;
}

.contact-cards i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(244, 196, 48, 0.22);
    color: var(--maroon-700);
    margin-bottom: 18px;
}

.contact-form {
    padding: 34px;
}

.contact-form h2 {
    margin: 10px 0 20px;
    color: var(--maroon-800);
    font-size: 32px;
    line-height: 1.1;
}

.contact-form label {
    display: grid;
    gap: 7px;
    margin-top: 15px;
    color: var(--maroon-800);
    font-size: 12px;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    min-height: 48px;
    padding: 0 14px;
}

.contact-form textarea {
    padding-block: 12px;
    resize: vertical;
}

.contact-form button {
    margin-top: 18px;
}

/* Timetable - fully self-contained section */
.timetable-hero__grid {
    min-height: 500px;
}

.timetable-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.timetable-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
}

.weekend-card {
    min-height: 330px;
}

.timetable-sample-note {
    background: var(--gold-500);
    color: var(--maroon-950);
}

.timetable-sample-note__inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.timetable-sample-note__inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.timetable-sample-note__inner p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.timetable-section {
    background: linear-gradient(180deg, var(--cream), var(--white));
}

.timetable-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.timetable-summary article {
    min-height: 110px;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 15px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.timetable-summary i {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(116, 21, 41, 0.08);
    color: var(--maroon-700);
}

.timetable-summary strong {
    color: var(--maroon-800);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.timetable-summary span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.timetable-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.timetable-days {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.timetable-day {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.timetable-day:hover {
    transform: translateY(-2px);
    border-color: rgba(116, 21, 41, 0.32);
}

.timetable-day.is-active {
    border-color: var(--maroon-700);
    background: var(--maroon-700);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(116, 21, 41, 0.22);
}

.timetable-day > i {
    width: 32px;
    text-align: center;
    color: var(--gold-500);
    font-size: 17px;
}

.timetable-day__date {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--soft);
    color: var(--maroon-700);
    font-size: 18px;
    font-weight: 900;
}

.timetable-day.is-active .timetable-day__date {
    background: var(--gold-500);
    color: var(--maroon-950);
}

.timetable-day span:last-child {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.timetable-day small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
}

.timetable-day.is-active small {
    color: rgba(255, 255, 255, 0.7);
}

.timetable-programme-filter {
    width: min(350px, 100%);
}

.timetable-programme-filter > span {
    display: block;
    margin-bottom: 7px;
    color: var(--maroon-800);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.timetable-programme-filter > div {
    min-height: 52px;
    display: grid;
    grid-template-columns: 20px 1fr 12px;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--muted);
}

.timetable-programme-filter select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    appearance: none;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.timetable-programme-filter i:first-child {
    color: var(--maroon-700);
}

.timetable-board {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.timetable-board__head {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: linear-gradient(120deg, var(--maroon-900), var(--maroon-700));
    color: var(--white);
}

.timetable-board__head h2 {
    margin: 5px 0 0;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.timetable-board__live {
    color: var(--gold-400);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timetable-board__live i {
    margin-right: 6px;
    font-size: 7px;
    animation: timetablePulse 1.6s ease-in-out infinite;
}

@keyframes timetablePulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 217, 85, 0.6)); }
}

.timetable-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
}

.timetable-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.legend-dot--campus { background: #48b887; }
.legend-dot--online { background: #62a8e8; }
.legend-dot--changed { background: var(--gold-500); }

.timetable-table-wrap {
    overflow-x: auto;
}

.timetable-table {
    width: 100%;
    min-width: 1020px;
    border-collapse: collapse;
}

.timetable-table thead {
    background: var(--soft);
}

.timetable-table th {
    padding: 16px 18px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.timetable-table th:first-child,
.timetable-table td:first-child {
    padding-left: 28px;
}

.timetable-table th:last-child,
.timetable-table td:last-child {
    padding-right: 28px;
}

.timetable-table tbody tr {
    border-top: 1px solid var(--line);
    transition: background var(--transition);
}

.timetable-table tbody tr:hover {
    background: #fffcf6;
}

.timetable-table td {
    padding: 20px 18px;
    vertical-align: middle;
    font-size: 12px;
}

.timetable-time {
    min-width: 195px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timetable-date {
    flex: 0 0 auto;
    width: 46px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(116, 21, 41, 0.13);
    border-radius: 10px;
    background: rgba(116, 21, 41, 0.07);
    color: var(--maroon-700);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.timetable-date strong {
    font-size: 20px;
    line-height: 1;
}

.timetable-time > span:last-child,
.timetable-module,
.timetable-venue > span {
    display: flex;
    flex-direction: column;
}

.timetable-time strong,
.timetable-module strong,
.timetable-venue strong {
    color: var(--maroon-800);
    font-weight: 900;
}

.timetable-time small,
.timetable-module small,
.timetable-venue small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.timetable-module {
    min-width: 260px;
}

.timetable-code {
    align-self: flex-start;
    margin-bottom: 7px;
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(244, 196, 48, 0.25);
    color: var(--maroon-800);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.timetable-person {
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-weight: 700;
}

.timetable-person i,
.timetable-venue > i {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--soft);
    color: var(--maroon-700);
}

.timetable-venue {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timetable-status {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
}

.timetable-status.is-scheduled {
    background: rgba(22, 114, 74, 0.11);
    color: var(--success);
}

.timetable-status.is-online {
    background: rgba(35, 109, 169, 0.12);
    color: var(--info);
}

.timetable-status.is-changed {
    background: rgba(244, 196, 48, 0.30);
    color: var(--warning);
}

.timetable-help {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 90% 10%, rgba(244, 196, 48, 0.24), transparent 26%), linear-gradient(120deg, var(--maroon-950), var(--maroon-700));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.timetable-help__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-400);
    font-size: 20px;
}

.timetable-help span {
    color: var(--gold-400);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.timetable-help h2 {
    color: var(--white);
    font-size: clamp(24px, 3vw, 32px);
}

.timetable-help p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

/* Footer */
.site-footer {
    background: var(--maroon-950);
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 62px 0;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 15px;
}

.footer-grid a {
    display: table;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
}

.footer-grid a:hover {
    color: var(--gold-400);
}

.footer-brand p {
    max-width: 430px;
}

.footer-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.footer-time i {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom__inner {
    min-height: 58px;
    font-size: 12px;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--maroon-950);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
    .pathway-grid,
    .portal-grid,
    .coordinator-grid,
    .timeline,
    .committee-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .programme-grid,
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timetable-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .timetable-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .timetable-programme-filter {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .top-strip {
        display: none;
    }

    .brand-row__inner {
        min-height: 70px;
    }

    .brand-row__actions .button {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .primary-nav {
        position: fixed;
        inset: 70px 0 auto 0;
        max-height: calc(100vh - 70px);
        overflow: auto;
        background: var(--maroon-900);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .primary-nav__inner {
        width: min(100%, calc(100% - 32px));
        min-height: 0;
        padding: 16px 0 26px;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .primary-nav a,
    .nav-dropdown__trigger {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        border-radius: 10px;
    }

    .nav-dropdown__menu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 4px;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .nav-dropdown.is-open .nav-dropdown__menu {
        display: block;
    }

    .nav-dropdown__menu a {
        color: rgba(255, 255, 255, 0.88);
    }

    .hero__grid,
    .programme-hero__grid,
    .timetable-hero__grid,
    .split-layout,
    .director-layout,
    .content-grid,
    .programme-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero__grid,
    .programme-hero__grid,
    .timetable-hero__grid {
        min-height: 0;
        padding: 70px 0;
    }

    .programme-toolbar {
        grid-template-columns: 1fr;
    }

    .cta-card,
    .timetable-help {
        align-items: stretch;
        flex-direction: column;
        display: flex;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 64px 0;
    }

    .hero h1,
    .page-hero h1,
    .programme-hero h1,
    .timetable-hero h1 {
        font-size: clamp(38px, 14vw, 58px);
    }

    .stats-grid,
    .pathway-grid,
    .programme-grid,
    .portal-grid,
    .staff-grid,
    .coordinator-grid,
    .timeline,
    .committee-layout,
    .compact-programme-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        transform: translateY(-24px);
    }

    .director-preview {
        grid-template-columns: 1fr;
    }

    .director-preview__image {
        height: 320px;
    }

    .search-dialog__box {
        padding: 28px;
    }

    .search-dialog__form {
        grid-template-columns: 1fr;
    }

    .notice-card {
        padding: 96px 22px 22px;
    }

    .notice-card time {
        left: 22px;
        top: 22px;
    }

    .timetable-sample-note__inner {
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .timetable-sample-note__inner span {
        white-space: normal;
    }

    .timetable-summary {
        grid-template-columns: 1fr;
    }

    .timetable-days {
        display: grid;
        grid-template-columns: 1fr;
    }

    .timetable-day {
        width: 100%;
    }

    .timetable-board__head {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .timetable-legend {
        justify-content: flex-start;
    }

    .timetable-table-wrap {
        overflow: visible;
    }

    .timetable-table {
        min-width: 0;
    }

    .timetable-table thead {
        display: none;
    }

    .timetable-table,
    .timetable-table tbody,
    .timetable-table tr,
    .timetable-table td {
        display: block;
        width: 100%;
    }

    .timetable-table tbody {
        padding: 12px;
    }

    .timetable-table tbody tr {
        margin: 0 0 12px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
        box-shadow: 0 8px 22px rgba(55, 8, 18, 0.05);
    }

    .timetable-table th:first-child,
    .timetable-table td:first-child,
    .timetable-table th:last-child,
    .timetable-table td:last-child,
    .timetable-table td {
        padding: 0;
    }

    .timetable-table td + td {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px dashed var(--line);
    }

    .timetable-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        font-size: 9px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.09em;
    }

    .timetable-time,
    .timetable-module,
    .timetable-person,
    .timetable-venue {
        min-width: 0;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }
}

@media (max-width: 430px) {
    .brand strong {
        font-size: 21px;
    }

    .brand small {
        max-width: 190px;
    }

    .icon-button,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-card,
    .weekend-card,
    .content-card,
    .info-panel,
    .message-card,
    .contact-form,
    .cta-card {
        padding: 24px;
    }
}

/* =====================================================================
   Student Services Expansion: Downloads, Resources and Coordinators
===================================================================== */

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button--soft {
    border-color: var(--line);
    background: var(--soft);
    color: var(--maroon-800);
    box-shadow: none;
    cursor: default;
}

.page-hero--downloads,
.page-hero--resources,
.page-hero--coordinators {
    background:
        radial-gradient(circle at 82% 18%, rgba(244, 196, 48, 0.2), transparent 26%),
        linear-gradient(125deg, var(--maroon-950), var(--maroon-700));
}

.portal-dashboard {
    position: relative;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.quick-stats article {
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.quick-stats i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 13px;
    background: rgba(244, 196, 48, 0.24);
    color: var(--maroon-700);
}

.quick-stats strong {
    color: var(--maroon-800);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.quick-stats span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portal-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.portal-toolbar h2 {
    margin: 8px 0 0;
    color: var(--maroon-800);
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.portal-toolbar__controls {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(210px, 260px);
    gap: 12px;
}

.control-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 18px 16px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
    position: relative;
}

.control-field > span {
    position: absolute;
    left: 16px;
    top: 7px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.control-field i {
    color: var(--maroon-700);
}

.control-field input,
.control-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

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

.download-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 74px 1fr;
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.download-card__icon {
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(244, 196, 48, 0.22), rgba(116, 21, 41, 0.08));
    color: var(--maroon-700);
    font-size: 25px;
}

.download-card__body {
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.download-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.download-card__meta span,
.download-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.download-card__meta span {
    background: rgba(116, 21, 41, 0.08);
    color: var(--maroon-700);
}

.download-card__meta strong {
    background: rgba(244, 196, 48, 0.3);
    color: var(--maroon-950);
}

.download-card h3 {
    margin: 0;
    color: var(--maroon-800);
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.download-card p {
    margin: 12px 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.download-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pill.is-ready {
    background: rgba(22, 114, 74, 0.1);
    color: var(--success);
}

.status-pill.is-pending {
    background: rgba(244, 196, 48, 0.24);
    color: var(--warning);
}

.resource-search {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 0 20px;
    min-height: 62px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.resource-search i {
    color: var(--gold-500);
}

.resource-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
}

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

.student-resource-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.student-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.student-resource-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(244, 196, 48, 0.24);
    color: var(--maroon-700);
    font-size: 20px;
}

.student-resource-card__category {
    margin-top: 18px;
    color: var(--gold-500);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.student-resource-card strong {
    margin-top: 6px;
    color: var(--maroon-800);
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.student-resource-card p {
    margin: 12px 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.student-resource-card em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--maroon-700);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.resource-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.resource-group-card,
.checklist-card,
.coordinator-profile,
.empty-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.resource-group-card {
    padding: 30px;
}

.resource-group-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.resource-group-card__top i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--maroon-700);
    color: var(--gold-500);
}

.resource-group-card h2 {
    margin: 0;
    color: var(--maroon-800);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-group-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.resource-group-card__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.resource-group-card__links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--maroon-800);
    font-size: 12px;
    font-weight: 800;
}

.checklist-card {
    display: grid;
    gap: 12px;
    padding: 28px;
}

.checklist-card span {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.checklist-card i {
    margin-top: 4px;
    color: var(--success);
}

.coordinator-overview .section-heading {
    margin-top: 8px;
}

.coordinator-directory {
    display: grid;
    gap: 16px;
}

.coordinator-profile {
    display: grid;
    grid-template-columns: 76px 1fr minmax(230px, 280px);
    gap: 22px;
    align-items: center;
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.coordinator-profile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.coordinator-profile__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(244, 196, 48, 0.24);
    color: var(--maroon-700);
    font-size: 24px;
}

.coordinator-profile__content span {
    color: var(--gold-500);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.coordinator-profile__content h2,
.coordinator-profile__content h3 {
    margin: 0;
}

.coordinator-profile__content h2 {
    margin-top: 6px;
    color: var(--maroon-800);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.coordinator-profile__content h3 {
    margin-top: 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.coordinator-profile__content p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.coordinator-profile__content p i {
    color: var(--maroon-700);
}

.coordinator-profile__tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.coordinator-profile__tasks em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
}

.coordinator-profile__contact {
    display: grid;
    gap: 10px;
}

.coordinator-profile__contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    color: var(--maroon-800);
    font-size: 12px;
    font-weight: 800;
}

.coordinator-profile__contact i {
    color: var(--gold-500);
}

.empty-card {
    margin-top: 22px;
    padding: 56px 24px;
    text-align: center;
}

.empty-card i {
    color: var(--gold-500);
    font-size: 36px;
}

.empty-card h3 {
    margin: 14px 0 6px;
    color: var(--maroon-800);
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.empty-card p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1120px) {
    .download-grid,
    .student-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-toolbar__controls {
        grid-template-columns: 1fr 1fr;
    }

    .coordinator-profile {
        grid-template-columns: 68px 1fr;
    }

    .coordinator-profile__contact {
        grid-column: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .quick-stats,
    .student-resource-grid,
    .resource-group-grid {
        grid-template-columns: 1fr 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .portal-toolbar__controls,
    .resource-group-card__links {
        grid-template-columns: 1fr;
    }

    .coordinator-profile {
        grid-template-columns: 1fr;
    }

    .coordinator-profile__contact {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .page-hero__actions,
    .quick-stats,
    .student-resource-grid,
    .resource-group-grid {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        display: grid;
    }

    .page-hero__actions .button {
        width: 100%;
    }

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

    .download-card__icon {
        min-height: 72px;
    }

    .download-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================================================
   FINAL V3: Visitor Counter + Coordinator Contact Cards
===================================================================== */

.visitor-dashboard-section {
    padding-top: 0;
    background: linear-gradient(180deg, var(--white), var(--cream));
}

.visitor-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 26px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(244, 196, 48, 0.18), transparent 28%),
        linear-gradient(135deg, var(--maroon-950), var(--maroon-700));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.visitor-dashboard .eyebrow {
    color: var(--gold-400);
}

.visitor-dashboard__text h2 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.visitor-dashboard__text p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.visitor-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.visitor-dashboard__cards article {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.visitor-dashboard__cards i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--gold-500);
    color: var(--maroon-950);
    font-size: 18px;
}

.visitor-dashboard__cards strong {
    color: var(--white);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.visitor-dashboard__cards span {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.visitor-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.visitor-mini span {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 9px;
    row-gap: 2px;
    align-items: center;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.visitor-mini i {
    grid-row: span 2;
    color: var(--gold-500);
}

.visitor-mini strong {
    color: var(--white);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.visitor-mini em {
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.course-coordinator-card {
    overflow: hidden;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.course-coordinator-card:hover {
    transform: translateY(-5px);
    border-color: rgba(116, 21, 41, 0.28);
    box-shadow: var(--shadow-md);
}

.course-coordinator-card__top {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.course-coordinator-card__avatar {
    position: relative;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(244, 196, 48, 0.32), rgba(116, 21, 41, 0.09));
    color: var(--maroon-700);
    font-size: 27px;
}

.course-coordinator-card__avatar::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--success);
}

.course-coordinator-card__top span {
    color: var(--gold-500);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.course-coordinator-card__top h2 {
    margin: 7px 0 3px;
    color: var(--maroon-800);
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.course-coordinator-card__top p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.course-coordinator-card__programme {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 82px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--cream);
}

.course-coordinator-card__programme i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--maroon-700);
    color: var(--gold-500);
}

.course-coordinator-card__programme strong {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.course-coordinator-card__programme span {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.course-coordinator-card__contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.course-coordinator-card__contacts a,
.course-coordinator-card__contacts > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    min-height: 70px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
}

.course-coordinator-card__contacts i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(244, 196, 48, 0.25);
    color: var(--maroon-700);
}

.course-coordinator-card__contacts span,
.course-coordinator-card__contacts em {
    color: var(--muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.course-coordinator-card__contacts strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--maroon-800);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.course-coordinator-card__tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.course-coordinator-card__tasks em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

/* Make coordinator and visitor areas stable on all screen sizes */
@media (max-width: 1020px) {
    .visitor-dashboard,
    .coordinator-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .visitor-dashboard {
        padding: 24px;
    }

    .visitor-dashboard__cards,
    .visitor-mini,
    .course-coordinator-card__contacts {
        grid-template-columns: 1fr;
    }

    .course-coordinator-card {
        padding: 22px;
    }

    .course-coordinator-card__top {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   UPEDEC COURSE COORDINATOR IMAGE CARDS - v4
   ================================================================ */

.coordinator-card-grid--image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.course-coordinator-card--with-image {
    padding: 0;
    min-height: 100%;
    border-radius: 22px;
    background: var(--white);
}

.course-coordinator-card--with-image .course-coordinator-card__photo {
    position: relative;
    height: 275px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(244, 196, 48, 0.22), transparent 32%),
        linear-gradient(140deg, var(--cream), var(--soft));
}

.course-coordinator-card--with-image .course-coordinator-card__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition), filter var(--transition);
}

.course-coordinator-card--with-image:hover .course-coordinator-card__photo img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.03);
}

.course-coordinator-card__photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(47, 3, 11, 0.66));
    pointer-events: none;
}

.course-coordinator-card__photo-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 36px);
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--maroon-950);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 10px 22px rgba(47, 3, 11, 0.18);
}

.course-coordinator-card--with-image .course-coordinator-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.course-coordinator-card--with-image .course-coordinator-card__top {
    display: block;
    margin-bottom: 20px;
}

.course-coordinator-card--with-image .course-coordinator-card__top h2 {
    font-size: 23px;
}

.course-coordinator-card--with-image .course-coordinator-card__avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 58px;
}

.course-coordinator-card__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 20px;
    padding: 0 16px;
    border: 1px solid rgba(116, 21, 41, 0.16);
    border-radius: 999px;
    color: var(--maroon-700);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.course-coordinator-card__profile:hover {
    border-color: var(--maroon-700);
    background: var(--maroon-700);
    color: var(--white);
}

@media (max-width: 1020px) {
    .coordinator-card-grid--image {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .course-coordinator-card--with-image .course-coordinator-card__photo {
        height: 250px;
    }

    .course-coordinator-card--with-image .course-coordinator-card__body {
        padding: 22px;
    }
}
