@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Merriweather:wght@700;900&display=swap');

:root {
    --mvttc-blue: #0d3f8f;
    --mvttc-blue-dark: #072a63;
    --mvttc-blue-ink: #061a3b;
    --mvttc-green: #1f7a4d;
    --mvttc-green-deep: #125436;
    --mvttc-gold: #e8aa1a;
    --mvttc-gold-deep: #c08600;
    --mvttc-ink: #0f1f38;
    --mvttc-soft: #eef4ff;
    --mvttc-panel: #ffffff;
    --mvttc-border: #d9e3f4;
    --site-header-height: 190px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--mvttc-ink);
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background:
    radial-gradient(circle at 8% 2%, rgba(13, 63, 143, 0.09), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(31, 122, 77, 0.1), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(232, 170, 26, 0.1), transparent 26%),
    linear-gradient(180deg, #f9fbff 0%, #f4f9ff 48%, #fffdf6 100%);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    min-height: 0;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.utility-bar {
    background: linear-gradient(90deg, var(--mvttc-blue-dark) 0%, var(--mvttc-blue) 52%, var(--mvttc-green) 100%);
    color: #dbeafe;
    font-size: 0.88rem;
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.52rem 0;
}

.utility-links,
.utility-contact {
    display: flex;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 1.6;
}

.utility-links a {
    min-width: 0;
    text-decoration: none;
    padding: 0.15rem 0.45rem;
    border-radius: 0.4rem;
}

.topbar-inner {
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.2rem 0 0.1rem;
}

.header-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 0.2rem 0;
    background: transparent;
}

.banner-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    width: 100%;
    background: transparent;
}

.banner-logo {
    width: 100%;
    max-height: 240px;
    height: auto;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
    background: transparent;
}

.banner-logo--legacy {
    width: 100%;
}

.banner-logo-fallback {
    width: 160px;
    min-height: 120px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--mvttc-blue-dark);
    background: transparent;
}

.topbar-menu-row {
    padding: 0;
    background: linear-gradient(90deg, #123ea7 0%, #1f49b6 55%, #18429f 100%);
    border-radius: 0;
}

.nav-menu {
    width: 100%;
    justify-content: flex-start;
    padding: 0.18rem 0.2rem;
    border-top: 0;
    position: relative;
    gap: 0.2rem;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100%, calc(100% - 0.9rem));
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .utility-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .utility-links,
    .utility-contact {
        flex-wrap: wrap;
        width: 100%;
        gap: 0.3rem 0.5rem;
    }

    .utility-links a,
    .utility-contact span {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .header-banner {
        flex-direction: column;
        align-items: center;
        min-height: 0;
        gap: 0;
        padding: 0.35rem 0;
    }

    .banner-logo {
        width: min(100%, 560px);
    }

    .banner-logo-fallback {
        width: min(100%, 560px);
        min-height: 90px;
        font-size: 1.6rem;
    }

    .nav-menu {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .utility-links,
    .utility-contact {
        gap: 0.25rem 0.45rem;
    }

    .utility-links a,
    .utility-contact span {
        font-size: 0.7rem;
    }

    .nav a {
        padding: 0.62rem 0.5rem;
        font-size: 0.82rem;
    }

    .quick-access-strip {
        grid-template-columns: 1fr;
    }

    .programme-search-form {
        flex-direction: column;
        border-radius: 1rem;
        overflow: hidden;
    }

    .programme-search-btn {
        padding: 0.8rem 1rem;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    padding: 0.85rem 0.95rem;
    border-radius: 0.35rem;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    border: 1px solid transparent;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(0);
    box-shadow: none;
    border-color: transparent;
}

.nav-menu {
    position: relative;
    gap: 0.65rem;
}

.nav-item {
    position: relative;
}

.nav-item.has-submenu {
    padding-bottom: 0.2rem;
}

.nav-parent-row {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: auto;
}

.nav-item.has-submenu > .nav-parent-row > a {
    flex: 0 0 auto;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    padding: 0.28rem 0.45rem;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
    flex-shrink: 0;
}

.submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.submenu .submenu-toggle {
    background: rgba(13, 63, 143, 0.08);
    color: #0d3f8f;
}

.submenu .submenu-toggle:hover {
    background: rgba(13, 63, 143, 0.14);
}

.nav-item.is-open > .nav-parent-row .submenu-toggle,
.nav-item:hover > .nav-parent-row .submenu-toggle,
.nav-item:focus-within > .nav-parent-row .submenu-toggle {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.24);
}

.nav-item.has-submenu > a::after {
    content: none;
}

.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 340px;
    max-width: 520px;
    display: flex;
    background: linear-gradient(180deg, #f3faff 0%, #edf6ff 100%);
    border: 1px solid #cfe4ff;
    border-radius: 0.8rem;
    box-shadow: 0 20px 50px rgba(7, 24, 70, 0.16), 0 8px 20px rgba(7, 24, 70, 0.08);
    padding: 0.3rem 0;
    z-index: 220;
    color: #17315d;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.submenu .submenu {
    top: 0;
    left: calc(100% + 8px);
    transform: translateX(-10px);
    min-width: 300px;
    max-width: 420px;
}

.submenu-simple {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.2rem 0;
}

/* Mega submenu layout: links on left, panel on right */
.submenu-mega {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0.55rem;
    align-items: start;
    padding: 0 0.7rem;
}

.submenu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.1rem 0;
}

.submenu-links a {
    white-space: normal;
    padding: 0.28rem 1rem 0.32rem 1rem;
    border-radius: 0;
    color: #123a68 !important;
    line-height: 1.25;
    text-align: left;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.96rem;
    border-top: 1px solid rgba(13, 63, 143, 0.12);
    margin: 0;
    transition: all 0.25s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.38);
}

.submenu-links a:first-child {
    border-top: none;
}

.submenu-links a::before {
    content: "▸";
    margin-right: 0.7rem;
    color: #4a90e2;
    font-weight: bold;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateX(-5px);
}

.submenu-links a:last-child {
    border-bottom: 1px solid rgba(13, 63, 143, 0.12);
}

.submenu-links a:hover {
    background: linear-gradient(135deg, #eaf5ff 0%, #dfeeff 100%);
    color: #0a4d8c !important;
    text-decoration: none;
    padding-left: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(74, 144, 226, 0.28);
}

.submenu-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.submenu > a,
.submenu > a:link,
.submenu > a:visited,
.submenu > a:hover,
.submenu > a:focus,
.submenu > a:active {
    display: flex !important;
    align-items: center !important;
    color: #123a68 !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    padding: 0.42rem 1rem !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.36) !important;
    border-top: 1px solid rgba(13, 63, 143, 0.12) !important;
    border-radius: 0 !important;
    white-space: normal !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}

.submenu > a:first-child {
    border-top: none !important;
}

.submenu > a:hover,
.submenu > a:focus-visible {
    background: linear-gradient(135deg, #eaf5ff 0%, #dfeeff 100%) !important;
    color: #0a4d8c !important;
    padding-left: 1.2rem !important;
}

.submenu-panel {
    padding: 0.6rem 0.8rem;
    border-left: 3px solid #5aa2e6;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    justify-content: flex-start;
    background: linear-gradient(135deg, #f4fbff 0%, #edf7ff 100%);
    border-radius: 0.5rem;
    margin: 0.3rem 0.5rem;
}

.submenu-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(7, 24, 70, 0.12);
    transition: transform 0.3s ease;
}

.submenu-panel:hover .submenu-image img {
    transform: scale(1.05);
}

.submenu-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #33567d;
    text-align: left;
    font-weight: 500;
}

.nav-item.has-submenu > a::after {
    margin-left: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
}

.nav-item.is-open > .submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu .nav-item.is-open > .submenu {
    transform: translateX(0);
}

.nav-item.is-open > .submenu.submenu-mega {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-item.has-submenu > .nav-parent-row > a {
    color: #ffffff;
}

.nav-item.has-submenu.is-open > .submenu,
.nav-item.has-submenu:hover > .submenu,
.nav-item.has-submenu:focus-within > .submenu,
.nav-item.has-submenu:focus > .submenu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.submenu > a,
.submenu > a:link,
.submenu > a:visited,
.submenu > a:hover,
.submenu > a:focus,
.submenu > a:active,
.submenu a {
    color: #123a68 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
}

@media (min-width: 761px) {
    .nav-item:hover > .submenu,
    .nav-item:focus-within > .submenu,
    .nav-item.is-open > .submenu {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .submenu .nav-item:hover > .submenu,
    .submenu .nav-item:focus-within > .submenu,
    .submenu .nav-item.is-open > .submenu {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-item:hover > .submenu.submenu-mega,
    .nav-item:focus-within > .submenu.submenu-mega,
    .nav-item.is-open > .submenu.submenu-mega {
        display: grid;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.nav-item.is-open > .submenu,
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

main {
    padding-bottom: 2rem;
}

.hero {
    position: relative;
    padding: 2.2rem 0 1.4rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 0%, rgba(31, 122, 77, 0.18), transparent 38%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1.3fr) minmax(320px, 1fr);
    gap: 2rem;
    position: relative;
    align-items: start;
}

.hero-primary,
.hero-card {
    background: var(--mvttc-panel);
    border: 1px solid var(--mvttc-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 14px 32px rgba(7, 42, 99, 0.08);
}

.hero-primary {
    border-left: 4px solid var(--mvttc-green);
    background: linear-gradient(160deg, #ffffff 0%, #f5fbf8 100%);
}

.hero-card.rector-note {
    border-top: 3px solid var(--mvttc-gold);
    background: linear-gradient(160deg, #ffffff 0%, #fffdf5 100%);
}

.rector-note {
    justify-self: end;
    width: 100%;
    display: grid;
    gap: 1rem;
    overflow: hidden;
    background: var(--mvttc-panel);
    border: 1px solid var(--mvttc-border);
    border-radius: 1.2rem;
    padding: 2rem 2.2rem;
    box-shadow: 0 16px 40px rgba(6, 31, 70, 0.08);
}

.principal-note-header {
    margin-bottom: 1.25rem;
}

.principal-note-header h2,
.principal-note-header h3 {
    margin: 0 0 0.85rem 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.1;
    color: var(--mvttc-blue-dark);
    font-weight: 700;
    letter-spacing: -0.6px;
}

.principal-note-rule {
    height: 4px;
    width: 180px;
    background: linear-gradient(90deg, var(--mvttc-green), var(--mvttc-gold));
    border-radius: 999px;
    margin: 0 0 1.8rem;
}

.principal-note-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
    gap: 1.25rem;
    align-items: center;
}

.principal-note-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    padding-top: 0;
    margin: 0;
}

.principal-photo-frame {
    position: relative;
    width: min(100%, 300px);
    height: 320px;
    min-height: 200px;
    max-height: 320px;
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(232, 170, 26, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: 0 10px 24px rgba(13, 63, 143, 0.08);
    margin: 0 auto;
}

.principal-note-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.principal-note-author {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    width: min(100%, 320px);
    border-radius: 1rem;
    background: #eef4ff;
    border: 1px solid rgba(13, 63, 143, 0.1);
}

.principal-author-name {
    margin: 0;
    color: var(--mvttc-blue-dark);
    font-size: 1rem;
    font-weight: 700;
}

.principal-author-office {
    margin: 0;
    color: var(--mvttc-green-deep);
    font-size: 0.95rem;
}

.principal-note-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    min-width: 0;
    max-width: 100%;
}

.principal-note-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 100%;
}

.principal-note-text p {
    margin: 0;
    line-height: 1.75;
    color: var(--mvttc-ink);
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.01em;
    max-width: 580px;
}

.principal-note-text p:first-child {
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--mvttc-blue);
}

.principal-note-text p:last-of-type {
    margin-bottom: 0;
}

.principal-note-extended {
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid #e5ecf5;
}

.principal-note-extended p {
    margin: 0 0 1.45rem;
    line-height: 1.82;
    color: #2e3f5d;
    font-size: 1rem;
    word-spacing: 0.04em;
    text-align: justify;
    text-justify: auto;
    hyphens: auto;
}

.readmore-toggle.principal-readmore-toggle {
    margin: 1rem 0 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--mvttc-blue);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.readmore-toggle.principal-readmore-toggle:hover {
    color: #0b2b72;
    text-decoration: underline;
    transform: none;
}

.quick-access-strip {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.7rem;
}

.quick-access-card {
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
    padding: 0.85rem 0.75rem;
    box-shadow: 0 8px 18px rgba(6, 31, 70, 0.05);
    display: grid;
    gap: 0.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 102px;
}

.quick-access-card:hover {
    transform: translateY(-2px);
    border-color: #95c6aa;
    box-shadow: 0 14px 26px rgba(6, 31, 70, 0.1);
}

.quick-access-card strong {
    color: #163d73;
    font-weight: 700;
}

.quick-access-card span {
    color: #2f4e79;
    font-size: 0.9rem;
    font-weight: 500;
}

.current-news-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: start;
}

.current-news-panel,
.rector-panel {
    min-width: 0;
}

.upcoming-events-panel {
    grid-column: 1 / -1;
}

.panel-view-all-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mvttc-blue);
    text-decoration: none;
}

.panel-view-all-link:hover {
    text-decoration: underline;
}

.current-news-list a {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
}

.updates-panel {
    margin-top: 1rem;
}

.section-head-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.updates-scroll {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
}

.updates-scroll::-webkit-scrollbar {
    height: 10px;
}

.updates-scroll::-webkit-scrollbar-thumb {
    background: #b9cbe4;
    border-radius: 999px;
}

.update-card {
    min-width: 250px;
    max-width: 280px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    border: 1px solid #d9e3f4;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(7, 42, 99, 0.06);
}

.update-card h3 {
    margin: 0.55rem 0 0.35rem;
    font-size: 1rem;
}

.update-card .date {
    margin: 0;
    color: #5d6f8c;
    font-size: 0.88rem;
}

.update-card h3 a {
    text-decoration: none;
}

.update-card h3 a:hover {
    text-decoration: underline;
}

.rector-panel h2 {
    margin-top: 0;
}

.rector-intro {
    color: #314a70;
    margin-top: 0.35rem;
}

.quick-links-block {
    margin-top: 1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
}

.quick-links-grid a {
    text-decoration: none;
    background: #f7fbff;
    border: 1px solid #d8e4f8;
    color: var(--mvttc-blue-dark);
    border-radius: 0.72rem;
    padding: 0.7rem 0.75rem;
    font-weight: 700;
}

.quick-links-grid a:hover {
    background: linear-gradient(180deg, #eef9f1 0%, #e9f3ff 100%);
    border-color: #9cc7af;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.upcoming-event-card {
    border: 1px solid #d8e4f8;
    border-radius: 0.85rem;
    padding: 0.85rem 0.9rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 8px 18px rgba(7, 42, 99, 0.05);
}

.upcoming-event-card h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.upcoming-event-card a {
    color: var(--mvttc-blue-dark);
    text-decoration: none;
}

.upcoming-event-card a:hover {
    text-decoration: underline;
}

.upcoming-event-card p {
    margin: 0;
    color: #5d6f8c;
    font-size: 0.9rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mvttc-blue-dark);
    background: linear-gradient(180deg, #e0f1e7 0%, #dbe8ff 100%);
    border-radius: 999px;
    padding: 0.32rem 0.68rem;
}

.news-badge {
    margin: 0 0 0.4rem;
    width: fit-content;
}

.hero h1 {
    margin: 0.75rem 0 0;
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    font-family: "Merriweather", Georgia, serif;
    color: var(--mvttc-blue-ink);
    line-height: 1.12;
}

.lead {
    font-size: 1.07rem;
    color: #314a70;
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn {
    display: inline-block;
    border-radius: 0.64rem;
    padding: 0.62rem 1rem;
    text-decoration: none;
    font-weight: 700;
}

.btn-solid {
    color: #1d1500;
    background: linear-gradient(180deg, #f0c95f, var(--mvttc-gold));
    box-shadow: 0 10px 16px rgba(232, 170, 26, 0.25);
}

.btn-ghost {
    color: var(--mvttc-green-deep);
    border: 2px solid #8fc0aa;
    background: linear-gradient(180deg, #f5fbf7 0%, #f5f9ff 100%);
}

.rector-note p {
    line-height: 1.6;
}

.principal-photo-wrap {
    margin: 0;
}

.sample-photo-wrap .principal-photo {
    object-fit: contain;
    background: #f4f8ff;
}

.principal-photo {
    width: 100%;
    height: 260px;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
    background: #ffffff;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.rector-note h4 {
    margin: 0.1rem 0 0;
    color: var(--mvttc-blue-dark);
}

.rector-note p {
    margin: 0;
}

.note-sign {
    font-weight: 700;
    color: var(--mvttc-blue-dark);
}

.detail-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.admission-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0 1.5rem;
}

.admission-link-card {
    background: linear-gradient(180deg, #f4fbff 0%, #edf6ff 100%);
    border: 1px solid #cfe4ff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(7, 42, 99, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admission-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(7, 42, 99, 0.12);
}

.admission-link-card.primary {
    background: linear-gradient(160deg, #edf7ff 0%, #dfeeff 100%);
}

.admission-link-card.accent {
    background: linear-gradient(160deg, #eefbf6 0%, #e7f5ff 100%);
}

.admission-tag {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #0a4d8c;
    background: rgba(90, 162, 230, 0.15);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
}

.admission-link-card h3 {
    margin: 0;
    color: var(--mvttc-blue-dark);
    font-size: 1.15rem;
}

.admission-link-card p {
    margin: 0;
    color: #3f5f82;
    line-height: 1.6;
}

.admission-link-card a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1d61ba 0%, #0d3f8f 100%);
    box-shadow: 0 10px 18px rgba(13, 63, 143, 0.18);
}

.admission-link-card a:hover {
    opacity: 0.96;
}

.enrollment-process-wrapper {
    margin-top: 1rem;
}

.enrollment-hero {
    background: linear-gradient(135deg, #f0f8ff 0%, #e9f4ff 100%);
    border: 1px solid #d3e7ff;
    border-radius: 1rem;
    padding: 1.2rem 1.1rem 1rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 26px rgba(13, 63, 143, 0.06);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(90, 162, 230, 0.12);
    color: #0d3f8f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.enrollment-hero h3 {
    margin: 0 0 0.5rem;
    color: #123d7a;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.enrollment-hero p {
    margin: 0;
    color: #44607f;
    line-height: 1.7;
}

.enrollment-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2d4d6b;
    margin-bottom: 1.5rem;
}

.enrollment-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.enrollment-step {
    background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
    border: 1px solid #d9ebff;
    border-radius: 1rem;
    padding: 1.15rem 1rem 1rem;
    box-shadow: 0 12px 26px rgba(13, 63, 143, 0.08);
    position: relative;
    overflow: hidden;
}

.enrollment-step::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4f9ae7, #0d3f8f);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: #123e7d;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.enrollment-step h3 {
    margin: 0 0 0.6rem;
    color: #0d3f8f;
    font-size: 1.1rem;
}

.enrollment-step p {
    margin: 0;
    color: #45607b;
    line-height: 1.7;
}

.enrollment-summary {
    background: linear-gradient(135deg, #eff9ff 0%, #eaf3ff 100%);
    border: 1px solid #cfe4ff;
    border-radius: 1rem;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 10px 24px rgba(13, 63, 143, 0.08);
}

.enrollment-summary h3 {
    margin: 0 0 0.5rem;
    color: #0d3f8f;
    font-size: 1.2rem;
}

.enrollment-summary p {
    margin: 0 0 1rem;
    color: #3e597d;
    line-height: 1.7;
}

.enrollment-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.enrollment-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #1d61ba 0%, #0d3f8f 100%);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(13, 63, 143, 0.18);
}

.enrollment-links a:hover {
    opacity: 0.96;
}

.fees-structure-wrapper {
    display: grid;
    gap: 1.2rem;
    margin-top: 1rem;
}

.fees-section {
    background: linear-gradient(180deg, #f9fcff 0%, #edf7ff 100%);
    border: 1px solid #d9ebff;
    border-radius: 1rem;
    padding: 1.2rem 1.15rem;
    box-shadow: 0 12px 24px rgba(13, 63, 143, 0.06);
}

.fees-section h3 {
    margin: 0 0 0.65rem;
    color: #0d3f8f;
    font-size: 1.25rem;
}

.fees-section p {
    margin: 0 0 0.65rem;
    color: #465f7d;
    line-height: 1.8;
}

.fees-highlight {
    background: linear-gradient(135deg, #eefbff 0%, #eaf3ff 100%);
}

.fee-document-box {
    margin-top: 1rem;
    border: 1px solid #cfe4ff;
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(13, 63, 143, 0.02);
}

.fee-doc-label {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(90, 162, 230, 0.12);
    color: #0d3f8f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.fee-document-box p {
    margin: 0 0 0.8rem;
    color: #123d7a;
    font-weight: 700;
}

.fee-document-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #1d61ba 0%, #0d3f8f 100%);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(13, 63, 143, 0.18);
}

.fee-note {
    font-size: 0.9rem;
    color: #587391;
    margin-top: 0.8rem;
}

.mvttc-why-wrapper {
    margin-top: 1rem;
}

.mvttc-why-hero {
    background: linear-gradient(135deg, #f3fbff 0%, #edf6ff 100%);
    border: 1px solid #d6ebff;
    border-radius: 1rem;
    padding: 1.3rem 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 26px rgba(13, 63, 143, 0.06);
}

.mvttc-why-hero h3 {
    margin: 0 0 0.6rem;
    color: #103d7b;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.mvttc-why-hero p {
    margin: 0;
    color: #47617c;
    line-height: 1.8;
}

.mvttc-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.mvttc-why-card {
    background: linear-gradient(180deg, #f9fcff 0%, #edf7ff 100%);
    border: 1px solid #d9ebff;
    border-radius: 1rem;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 12px 26px rgba(13, 63, 143, 0.07);
}

.why-icon {
    display: inline-flex;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d61ba 0%, #0d3f8f 100%);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.mvttc-why-card h4 {
    margin: 0 0 0.55rem;
    color: #0d3f8f;
    font-size: 1.08rem;
}

.mvttc-why-card p {
    margin: 0;
    color: #4a627d;
    line-height: 1.7;
}

.mvttc-why-summary {
    background: linear-gradient(135deg, #eefbff 0%, #eaf5ff 100%);
    border: 1px solid #d3e8ff;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 22px rgba(13, 63, 143, 0.06);
}

.mvttc-why-summary p {
    margin: 0;
    color: #3c5978;
    line-height: 1.8;
    font-size: 1.02rem;
}

.readmore-hidden {
    margin-top: 0.7rem;
}

.readmore-hidden.is-hidden {
    display: none !important;
}

.readmore-toggle {
    margin-top: 0.6rem;
    border: 1px solid #9bb9e6;
    background: #eff5ff;
    color: var(--mvttc-blue-dark);
    border-radius: 0.5rem;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-weight: 700;
}

.contact-note {
    margin-bottom: 1rem;
}

.announcement-html p {
    margin: 0;
}

.contact-grid .media-card {
    min-height: 100%;
}

.contact-note {
    margin-top: 1rem;
}

.institutional-grid {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.banner-slider-wrap {
    margin-top: 0.7rem;
}

.banner-slider {
    position: relative;
    height: min(calc(100vh - var(--site-header-height, 0px) - 150px), 430px);
    min-height: 240px;
    max-height: 430px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--mvttc-border);
    background: linear-gradient(180deg, #dce9ff 0%, #e6f3ea 100%);
    box-shadow: 0 16px 34px rgba(5, 33, 79, 0.16);
}

.banner-slide {
    position: absolute;
    inset: 0;
    color: #fff;
    text-decoration: none;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 1.4rem;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    display: flex;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(8, 24, 52, 0.55);
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-dots {
    margin-top: 0.45rem;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: #bdd0ef;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--mvttc-blue);
}

.banner-chip {
    width: fit-content;
    background: linear-gradient(90deg, rgba(232, 170, 26, 0.95), rgba(31, 122, 77, 0.95));
    color: #221500;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.banner-slide h3 {
    margin: 0;
    font-size: clamp(1.28rem, 2.3vw, 2rem);
    max-width: 760px;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.stats-ribbon {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.7rem;
}

.stat-pill {
    background: #fff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.8rem;
    padding: 0.65rem 0.72rem;
    display: grid;
    gap: 0.12rem;
}

.stat-pill strong {
    color: var(--mvttc-blue-dark);
    font-size: 1.45rem;
}

.stat-pill span {
    color: #4d617f;
    font-size: 0.9rem;
}

.panel {
    background: var(--mvttc-panel);
    border: 1px solid var(--mvttc-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(7, 42, 99, 0.06);
}

.spotlight {
    grid-row: span 2;
}

.panel h2 {
    margin-top: 0;
    color: var(--mvttc-blue-dark);
}

.news-list,
.stack-list {
    display: grid;
    gap: 0.72rem;
}

.news-list a {
    text-decoration: none;
    border: 1px solid #d7e3f7;
    background: #f7fbff;
    border-radius: 0.75rem;
    padding: 0.7rem;
    display: grid;
    gap: 0.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(12, 49, 105, 0.1);
    border-color: #a3ccb2;
}

.news-list span {
    color: #5d6f8c;
    font-size: 0.86rem;
}

.stack-list > div {
    padding: 0.62rem 0.7rem;
    border-left: 4px solid #c7d7f5;
    background: #f9fbff;
    border-radius: 0.35rem;
}

.stack-list h4 {
    margin: 0;
}

.stack-list p {
    margin: 0.35rem 0 0;
    color: #45597b;
}

.announcement-html,
.rich-content {
    color: #30496e;
    line-height: 1.75;
}

.announcement-html p,
.rich-content p {
    margin: 0.7rem 0 1rem;
    font-size: 1rem;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    color: var(--mvttc-blue-dark);
    margin-top: 1.5rem;
}

.rich-content h2 {
    margin-bottom: 0.75rem;
}

.rich-content ul,
.rich-content ol {
    margin-left: 1.35rem;
}

.home-ann-list {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-ann-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mvttc-border);
}

.home-ann-item:last-child {
    border-bottom: none;
}

.home-ann-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    background: var(--mvttc-soft);
    border-radius: 0.55rem;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--mvttc-blue);
    border: 1px solid var(--mvttc-border);
}

.home-ann-item a {
    display: inline-block;
    color: var(--mvttc-blue-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-ann-item a:hover {
    color: var(--mvttc-blue);
    text-decoration: underline;
}

.home-ann-date {
    margin: 0.25rem 0 0;
    color: #7d8baa;
    font-size: 0.86rem;
}

.announcement-html a,
.rich-content a {
    color: var(--mvttc-blue-dark);
    font-weight: 600;
    text-decoration: underline;
}

.announcement-html ul,
.announcement-html ol,
.rich-content ul,
.rich-content ol {
    margin: 0.35rem 0 0.55rem 1.2rem;
}

.links-panel ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.45rem;
}

.download-links-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.download-list {
    display: grid;
    gap: 0.62rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.download-list::-webkit-scrollbar {
    width: 8px;
}

.download-list::-webkit-scrollbar-thumb {
    background: #b7ccef;
    border-radius: 999px;
}

.downloads-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.downloads-head h2 {
    margin: 0;
}

.download-scroll-controls {
    display: none;
    gap: 0.35rem;
}

.download-scroll-controls button {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    border: 1px solid #b9cdee;
    background: #eff5ff;
    color: var(--mvttc-blue-dark);
    cursor: pointer;
    padding: 0;
}

.download-scroll-controls button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.download-list a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border: 1px solid #d8e4f8;
    border-radius: 0.68rem;
    padding: 0.65rem 0.75rem;
    background: #f8fbff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.download-list a:hover {
    border-color: #a9c1ea;
    transform: translateY(-1px);
}

.download-list a span {
    background: #eaf1ff;
    color: var(--mvttc-blue-dark);
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Map embed responsive container */
.map-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 0.8rem;
    border: 1px solid var(--mvttc-border);
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-panel .section-head h2 { margin: 0; }

.sticky-links-panel {
    position: sticky;
    top: 98px;
    align-self: start;
}

.sticky-links-panel ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.45rem;
}

.accreditation-strip {
    margin-top: 1rem;
    border: 1px solid var(--mvttc-border);
    background: linear-gradient(180deg, #f5f9ff, #fffdfa);
    border-radius: 1rem;
    padding: 0.95rem;
}

.accreditation-strip h3 {
    margin: 0 0 0.7rem;
    color: var(--mvttc-blue-dark);
}

.accreditation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.accreditation-badges span {
    border: 1px solid #ccdbf6;
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    background: #fff;
    font-weight: 700;
    color: #2b446b;
}

.badge-logo {
    border-radius: 0.75rem;
    padding: 0.4rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: #2b446b;
    background: #fff;
    border: 1px solid #ccdbf6;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.badge-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.badge-logo--emblem {
    align-items: center;
    padding: 0.5rem 0.8rem;
}

.badge-logo--emblem img {
    width: 64px;
    height: 64px;
}

.badge-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(7, 42, 99, 0.08);
    border-color: #9cc7af;
}

.cards-zone {
    margin-top: 1rem;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-head h2 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    color: var(--mvttc-blue-dark);
}

.section-head a {
    color: var(--mvttc-green-deep);
    text-decoration: none;
    font-weight: 700;
}

.section-head a:hover {
    text-decoration: underline;
}

.cards {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
}

.card {
    background: #ffffff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
    padding: 0.95rem;
    box-shadow: 0 8px 20px rgba(6, 31, 70, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3,
.card h4 {
    color: var(--mvttc-blue-dark);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(6, 31, 70, 0.12);
}

.card .date {
    color: #607392;
    font-size: 0.86rem;
}

.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0.7rem;
    margin-bottom: 0.7rem;
    background: #f3f7ff;
}

.media-card .placeholder-media {
    display: grid;
    place-items: center;
    width: 100%;
    height: 190px;
    border-radius: 0.7rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #0d3f8f, #072a63);
    color: #fff1cc;
    font-family: "Merriweather", Georgia, serif;
    text-align: center;
    padding: 1rem;
}

.page-showcase {
    margin-top: 1rem;
}

.page-hero {
    border-top: 3px solid var(--mvttc-gold);
    background: linear-gradient(130deg, #edf4ff 0%, #f8fbff 55%, #fff9ea 100%);
    border-bottom: 1px solid var(--mvttc-border);
    padding: 2rem 0;
}

.news-page-hero {
    position: relative;
    border-top: 4px solid var(--mvttc-gold);
    background:
        radial-gradient(circle at top left, rgba(74, 143, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #f0f6ff 0%, #edf9f3 40%, #fffaf0 100%);
    border-bottom: 1px solid var(--mvttc-border);
    padding: 2.2rem 0 2.4rem;
    overflow: hidden;
}

.news-page-hero::after {
    content: "";
    position: absolute;
    inset: 14% -10% auto auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 204, 92, 0.12);
    filter: blur(20px);
}

.page-hero h1 {
    margin-bottom: 0.45rem;
    color: var(--mvttc-blue-dark);
    font-family: "Merriweather", Georgia, serif;
}

.news-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
}

.news-hero-copy {
    max-width: 700px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mvttc-green-deep);
    background: rgba(31, 122, 77, 0.1);
    border: 1px solid rgba(31, 122, 77, 0.18);
}

.news-hero-copy h1 {
    margin: 0.8rem 0 0.45rem;
    color: var(--mvttc-blue-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    line-height: 1.14;
}

.page-hero p.lead,
.news-hero-copy .lead {
    max-width: 74ch;
    margin: 0;
    color: #4a5f84;
    font-size: 1.05rem;
    line-height: 1.8;
}

.news-hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 0.8rem;
    min-width: min(100%, 360px);
}

.news-stat {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(137, 165, 210, 0.5);
    border-radius: 1rem;
    padding: 0.9rem 0.8rem;
    box-shadow: 0 12px 28px rgba(7, 42, 99, 0.07);
    text-align: center;
}

.news-stat strong {
    display: block;
    color: var(--mvttc-blue-dark);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.news-stat span {
    color: #5c6f8d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.page-content {
    padding: 1.5rem 0 2.2rem;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 360px);
    gap: 1.25rem;
    align-items: start;
}

.page-main {
    min-width: 0;
}

.page-sidebar {
    position: sticky;
    top: 1rem;
}

.page-sidebar-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--mvttc-border);
    border-radius: 1rem;
    padding: 1rem 1rem 0.5rem;
    box-shadow: 0 10px 24px rgba(7, 42, 99, 0.08);
}

.listing-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1rem;
    align-items: start;
}

.news-panel {
    padding: 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--mvttc-border);
}

.section-kicker {
    margin: 0 0 0.35rem;
    color: var(--mvttc-green-deep);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.72rem;
    font-weight: 800;
}

.news-toolbar h2 {
    margin: 0;
    color: var(--mvttc-blue-dark);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.news-card {
    background: #ffffff;
    border: 1px solid rgba(149, 179, 227, 0.7);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(7, 42, 99, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(7, 42, 99, 0.12);
    border-color: rgba(31, 122, 77, 0.42);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card-media {
    background: linear-gradient(135deg, #eaf4ff 0%, #edfaf3 100%);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgba(149, 179, 227, 0.7);
}

.news-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.04);
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 0.95rem 0.9rem;
}

.news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-date {
    color: #607392;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0;
    color: var(--mvttc-blue-dark);
    font-size: 1.08rem;
    line-height: 1.45;
}

.news-summary {
    margin: 0;
    color: #4e647d;
    line-height: 1.7;
    font-size: 0.92rem;
    flex: 1;
}

.news-card-footer {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
    color: var(--mvttc-blue-dark);
    font-weight: 700;
    text-decoration: none;
}

.news-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: rgba(13, 63, 143, 0.08);
    color: var(--mvttc-blue-dark);
}

.news-empty-state {
    grid-column: 1 / -1;
    padding: 1.4rem;
    border: 1px dashed rgba(119, 148, 189, 0.9);
    background: rgba(245, 250, 255, 0.8);
    color: #496588;
    border-radius: 0.8rem;
    text-align: center;
    font-weight: 600;
}

.listing-panel,
.listing-side {
    min-width: 0;
}

.listing-side h2 {
    margin-top: 0;
}

.news-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-side-box {
    padding: 0.9rem 0.85rem;
    border-left: 4px solid rgba(74, 124, 214, 0.72);
    background: #f7faff;
    border-radius: 0.7rem;
}

.news-side-box h4 {
    margin: 0 0 0.35rem;
    color: var(--mvttc-blue-dark);
}

.news-side-box p,
.news-side-box li {
    margin: 0.25rem 0 0;
    color: #49617d;
    line-height: 1.7;
}

.news-side-box a {
    color: var(--mvttc-blue-dark);
    text-decoration: none;
    font-weight: 600;
}

.news-side-box a:hover {
    color: var(--mvttc-blue);
    text-decoration: underline;
}

.news-side-list {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 1rem;
    align-items: start;
}

.detail-main,
.detail-side {
    min-width: 0;
}

.detail-side h2 {
    margin-top: 0;
}

.detail-side .stack-list > div {
    background: #fff;
}

.page-content p {
    max-width: 76ch;
    line-height: 1.74;
}

.page-downloads {
    margin-top: 1rem;
}

.news-detail-hero {
    position: relative;
    border-top: 4px solid var(--mvttc-gold);
    background: linear-gradient(135deg, #edf4ff 0%, #f8fbff 55%, #fff9ea 100%);
    border-bottom: 1px solid var(--mvttc-border);
    padding: 2.2rem 0 2.3rem;
}

.news-detail-hero-inner {
    position: relative;
    z-index: 1;
}

.news-detail-copy {
    max-width: 860px;
}

.news-detail-copy h1 {
    margin: 0.75rem 0 0.8rem;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.14;
    color: var(--mvttc-blue-dark);
    font-family: "Merriweather", Georgia, serif;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.news-detail-date {
    color: #5f6f8b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-detail-main {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 1.2rem;
}

.detail-image {
    width: 100%;
    max-width: 820px;
    max-height: 430px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(149, 179, 227, 0.7);
    margin-bottom: 1rem;
    box-shadow: 0 16px 30px rgba(7, 42, 99, 0.08);
}

.intro-copy,
.story-copy {
    color: #2f4769;
    line-height: 1.8;
}

.story-copy {
    margin-top: 1rem;
}

.news-detail-side {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.footer {
    margin-top: 2rem;
    background:
        radial-gradient(circle at 85% 5%, rgba(255, 225, 150, 0.16), transparent 22%),
        linear-gradient(130deg, #08264f, #0f3a7a);
    color: #dbe8ff;
    padding: 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.footer h4 {
    color: #fff1cc;
    margin-top: 0;
}

.footer a {
    color: #ffe08f;
}

.footer-address {
    text-align: left;
    justify-self: start;
}

.footer-ict p,
.footer-quick p,
.footer-visitors p {
    margin: 0.08rem 0;
    line-height: 1.1;
}

.footer-ict a,
.footer-quick a {
    display: inline-block;
}

.visitor-counter {
    margin-top: 0.7rem;
    color: #dbe8ff;
}

.visitor-counter strong {
    color: #fff1cc;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        position: static;
    }

    .quick-access-strip,
    .current-news-grid,
    .hero-grid,
    .institutional-grid,
    .download-links-grid,
    .detail-layout,
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .spotlight {
        grid-row: auto;
    }

    .upcoming-events-grid {
        grid-template-columns: 1fr;
    }

    .principal-note-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .principal-note-text {
        padding-right: 0;
    }

    .rect-note {
        padding: 2rem;
    }

    .principal-note-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principal-note-image {
        align-items: center;
        text-align: center;
        order: 1;
    }

    .principal-note-copy {
        order: 2;
    }

    .principal-note-header {
        margin-bottom: 1rem;
    }

    .principal-note-text p {
        max-width: 100%;
    }

    .principal-photo-frame {
        width: min(100%, 360px);
        min-height: 300px;
        max-height: 420px;
    }

    .principal-note-photo {
        max-width: 100%;
        min-height: 300px;
        max-height: 420px;
        object-position: top center;
        border-radius: 1.4rem;
    }

    .readmore-toggle.principal-readmore-toggle {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .container {
        width: min(1240px, calc(100% - 1.2rem));
    }

    .nav a {
        padding: 0.72rem 0.66rem;
        font-size: 0.92rem;
    }

    .submenu {
        min-width: 290px;
    }

    .banner-logo {
        max-height: 210px;
    }
}

@media (max-width: 768px) {
    .utility-bar {
        font-size: 0.82rem;
    }

    .utility-links,
    .utility-contact {
        gap: 0.45rem;
    }

    .nav a {
        padding: 0.66rem 0.58rem;
        font-size: 0.91rem;
    }

    .topbar-menu-row {
        margin-top: 0.12rem;
    }

    .banner-logo {
        max-height: 170px;
    }
}

@media (max-width: 760px) {
    html,
    body {
        overflow-x: hidden;
    }

    .announcement-ticker {
        display: none !important;
        height: 0 !important;
        border-bottom: none !important;
    }

    .ticker-wrapper,
    .ticker-track,
    .ticker-item,
    .ticker-label,
    .ticker-sep {
        display: none !important;
    }

    .hero {
        padding: 1.1rem 0 0.8rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-primary,
    .hero-card,
    .rector-note {
        padding: 1rem;
        border-radius: 0.9rem;
    }

    .principal-note-header h2,
    .principal-note-header h3 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .principal-note-rule {
        width: 120px;
        margin-bottom: 1.1rem;
    }

    .principal-note-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .principal-note-photo,
    .principal-photo-frame {
        max-width: 100%;
        min-height: 240px;
        max-height: 300px;
    }

    .quick-access-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .home-newsroom,
    .current-news-grid,
    .upcoming-events-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .home-news-card {
        border-radius: 0.85rem;
    }

    .home-news-body {
        padding: 0.8rem 0.75rem 0.8rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .nav {
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item.has-submenu {
        padding-bottom: 0;
    }

    .nav-parent-row {
        width: 100%;
        justify-content: space-between;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-item.has-submenu > .nav-parent-row > a {
        flex: 1 1 auto;
    }

    .nav-item.has-submenu > a::after {
        content: none;
    }

    .submenu {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        max-width: none;
        box-shadow: none;
        margin: 0.3rem 0 0.25rem 0.5rem;
        padding: 0.35rem 0.35rem 0.2rem;
        border: 1px solid #d6e1f5;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition: all 0.2s ease;
    }

    .submenu-mega {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.2rem;
    }

    .submenu-links {
        padding: 0;
    }

    .submenu-links a,
    .submenu > a {
        padding: 0.55rem 0.7rem !important;
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        background: rgba(13, 63, 143, 0.03) !important;
        border-top: 1px solid rgba(13, 63, 143, 0.12) !important;
    }

    .submenu-links a:first-child,
    .submenu > a:first-child {
        border-top: none !important;
    }

    .nav-item.is-open > .submenu,
    .nav-item:hover > .submenu,
    .nav-item:focus-within > .submenu,
    .nav-item.is-open > .submenu.submenu-mega,
    .nav-item:hover > .submenu.submenu-mega,
    .nav-item:focus-within > .submenu.submenu-mega {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-item.is-open > .submenu.submenu-mega {
        display: grid;
    }

    .nav-item.has-submenu.is-open > .submenu,
    .nav-item.has-submenu:hover > .submenu,
    .nav-item.has-submenu:focus-within > .submenu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .utility-inner,
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-access-strip {
        grid-template-columns: 1fr 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .upcoming-events-grid {
        gap: 0.65rem;
    }
}

/* ============================================================
   CSS3 VISUAL ENHANCEMENT LAYER
   ============================================================ */

/* Subtle dot-grid texture overlay on the page body */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(13, 63, 143, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

main, .utility-bar, footer {
    position: relative;
    z-index: 1;
}

header {
    position: relative;
    z-index: 200;
}

/* ── Navigation bar: active link glow + hover underline ── */
.topbar-menu-row {
    background: linear-gradient(90deg, #0b2e85 0%, #1245b8 50%, #0b2e85 100%);
    box-shadow: 0 4px 16px rgba(5, 20, 80, 0.35);
}

.nav a {
    position: relative;
    overflow: hidden;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mvttc-gold);
    border-radius: 999px;
    transition: width 0.25s ease, left 0.25s ease;
}

.nav a:hover::after {
    width: calc(100% - 1.6rem);
    left: 0.8rem;
}

.submenu a::after { display: none; }

/* ── Banner slider: smooth fade+scale transition, taller ── */
.banner-slider {
    min-height: 500px;
    box-shadow: 0 20px 50px rgba(5, 20, 80, 0.28);
    border-radius: 1.2rem;
}

/* Override display:none with opacity+visibility for smooth CSS transitions */
.banner-slide {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transform: scale(1.035);
    transition:
        opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0.75s,
        transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transform: scale(1);
    transition:
        opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0s,
        transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient scrim at bottom so text is always readable */
.banner-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.banner-slide > * {
    position: relative;
    z-index: 2;
}

.banner-slide h3 {
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    letter-spacing: -0.01em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
    max-width: 720px;
}

.banner-chip {
    background: linear-gradient(90deg, rgba(232, 170, 26, 0.95), rgba(31, 122, 77, 0.92));
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.slider-nav {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(6, 20, 60, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: background 0.2s, transform 0.15s;
}

.slider-nav:hover {
    background: rgba(13, 63, 143, 0.75);
    transform: translateY(-50%) scale(1.08);
}

.slider-dot.active {
    background: var(--mvttc-gold);
    width: 24px;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.2s;
}

.slider-dot {
    transition: background 0.2s, width 0.25s ease;
}

/* ── Stats ribbon: colored top border, bigger number, hover ── */
.stats-ribbon {
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.stat-pill {
    border-top: 3px solid var(--mvttc-blue);
    border: none;
    border-top: 3px solid var(--mvttc-blue);
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 4px 18px rgba(6, 31, 70, 0.08);
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    padding: 0.85rem 0.75rem;
    border-radius: 0.9rem;
}

.stat-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6, 31, 70, 0.14);
}

.stat-pill strong {
    font-size: 1.7rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    background: linear-gradient(135deg, var(--mvttc-blue-dark), var(--mvttc-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-pill span {
    font-size: 0.85rem;
    color: #5d6f8c;
    margin-top: 0.3rem;
    display: block;
    font-weight: 500;
}

/* Colored top accent per stat position */
.stats-ribbon .stat-pill:nth-child(1) { border-top-color: var(--mvttc-blue); }
.stats-ribbon .stat-pill:nth-child(2) { border-top-color: var(--mvttc-green); }
.stats-ribbon .stat-pill:nth-child(3) { border-top-color: var(--mvttc-gold-deep); }
.stats-ribbon .stat-pill:nth-child(4) { border-top-color: #7c3aed; }
.stats-ribbon .stat-pill:nth-child(5) { border-top-color: #0891b2; }

/* ── Quick access cards: accent strip, icon circle, hover glow ── */
.quick-access-strip {
    margin-top: 1.1rem;
    gap: 0.75rem;
}

.quick-access-card {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--qa-color, var(--mvttc-blue));
    background: linear-gradient(160deg, #ffffff 60%, #f4f9ff 100%);
    box-shadow: 0 4px 16px rgba(6, 31, 70, 0.07);
    min-height: 110px;
    padding: 1rem 0.9rem 0.9rem;
    border-radius: 0.9rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Decorative corner bubble */
.quick-access-card::after {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--qa-color, var(--mvttc-blue));
    opacity: 0.07;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.quick-access-card:hover::after {
    transform: scale(1.6);
    opacity: 0.12;
}

.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(6, 31, 70, 0.14);
}

/* Per-card accent colours */
.quick-access-strip .quick-access-card:nth-child(1) { --qa-color: #0d3f8f; }
.quick-access-strip .quick-access-card:nth-child(2) { --qa-color: #1f7a4d; }
.quick-access-strip .quick-access-card:nth-child(3) { --qa-color: #c08600; }
.quick-access-strip .quick-access-card:nth-child(4) { --qa-color: #7c3aed; }
.quick-access-strip .quick-access-card:nth-child(5) { --qa-color: #0891b2; }
.quick-access-strip .quick-access-card:nth-child(6) { --qa-color: #dc2626; }

.quick-access-card strong {
    font-size: 0.95rem;
    color: var(--mvttc-blue-dark);
    font-weight: 700;
}

.quick-access-card span {
    font-size: 0.82rem;
    color: #4e6180;
}

/* ── Programme search: wave bottom separator ── */
.programme-search-section {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    padding-bottom: 3.5rem;
}

/* ── Hero / Principal note card ── */
.hero-primary {
    border-left: 4px solid var(--mvttc-green);
    background: linear-gradient(160deg, #fff 0%, #f5fbf8 100%);
    box-shadow: 0 8px 28px rgba(6, 31, 70, 0.09);
}

.hero-card.rector-note {
    border-top: 3px solid var(--mvttc-gold);
    background: linear-gradient(160deg, #fff 0%, #fffdf5 100%);
    box-shadow: 0 8px 28px rgba(6, 31, 70, 0.09);
}

/* ── Section heads: gold underline rule ── */
.section-head h2 {
    position: relative;
    padding-bottom: 0.6rem;
    font-size: 1.22rem;
}

.section-head h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--mvttc-gold), var(--mvttc-green));
    border-radius: 999px;
}

.section-head a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mvttc-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.15s, gap 0.15s;
}

.section-head a:hover {
    color: var(--mvttc-green);
    gap: 0.5rem;
}

/* ── Panel: layered depth shadow system ── */
.panel {
    box-shadow:
        0 1px 2px rgba(6, 31, 70, 0.04),
        0 4px 8px rgba(6, 31, 70, 0.06),
        0 12px 24px rgba(6, 31, 70, 0.06);
    border: 1px solid var(--mvttc-border);
    border-radius: 1rem;
    padding: 1.2rem;
    background: #fff;
}

/* ── Home news cards: consistent image zoom ── */
.home-news-card {
    box-shadow:
        0 1px 3px rgba(6, 31, 70, 0.05),
        0 6px 18px rgba(6, 31, 70, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-news-panel {
    border-top: 3px solid var(--mvttc-blue);
}

.home-ann-panel {
    border-top: 3px solid var(--mvttc-gold-deep);
}

/* ── Upcoming events: dark-themed panel ── */
.upcoming-events-panel {
    background: linear-gradient(135deg, #082152 0%, #0f3472 55%, #0a4028 100%) !important;
    border: none !important;
    color: #dce9ff;
    box-shadow:
        0 4px 8px rgba(6, 31, 70, 0.15),
        0 16px 40px rgba(6, 31, 70, 0.22) !important;
}

.upcoming-events-panel h2 {
    color: #ffe8a0 !important;
    font-family: "Merriweather", Georgia, serif;
}

.event-card-body h4 a {
    color: #dce9ff !important;
}

.panel-view-all-link {
    color: var(--mvttc-gold) !important;
    font-weight: 700;
}

/* ── Downloads panel: document icon on each row ── */
.download-list a {
    background: linear-gradient(160deg, #f8fbff, #f4f8ff);
    border-left: 3px solid var(--mvttc-blue);
    gap: 0.75rem;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.download-list a:hover {
    border-left-color: var(--mvttc-green);
    box-shadow: 0 6px 18px rgba(6, 31, 70, 0.1);
    transform: translateX(4px);
}

.download-list a::before {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 0.35rem;
    background:
        linear-gradient(135deg, var(--mvttc-blue), var(--mvttc-blue-dark))
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E")
        center/14px no-repeat;
}

.download-list a strong {
    flex: 1;
    font-size: 0.88rem;
    color: var(--mvttc-blue-dark);
}

/* ── Quick links: animated arrow on hover ── */
.quick-links-grid a {
    position: relative;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.18s, border-color 0.18s, padding-left 0.18s, color 0.18s;
}

.quick-links-grid a::before {
    content: '›';
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--mvttc-blue);
    line-height: 1;
    transition: transform 0.18s, color 0.18s;
}

.quick-links-grid a:hover::before {
    transform: translateX(3px);
    color: var(--mvttc-green);
}

.quick-links-grid a:hover {
    background: linear-gradient(180deg, #eef9f3, #e8f0ff);
    border-color: var(--mvttc-green);
    color: var(--mvttc-green-deep);
    padding-left: 1.2rem;
}

/* ── Campus highlight cards: gradient top border + icon circle ── */
.cards-zone .card {
    border-top: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cards-zone .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mvttc-blue), var(--mvttc-green));
}

.cards-zone .card:nth-child(2)::before { background: linear-gradient(90deg, var(--mvttc-green), var(--mvttc-gold)); }
.cards-zone .card:nth-child(3)::before { background: linear-gradient(90deg, var(--mvttc-gold), var(--mvttc-blue)); }
.cards-zone .card:nth-child(4)::before { background: linear-gradient(90deg, #7c3aed, var(--mvttc-green)); }

.cards-zone .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 31, 70, 0.14);
}

.cards-zone .card h3 {
    font-size: 1.02rem;
    color: var(--mvttc-blue-dark);
}

/* ── Accreditation strip: polished header ── */
.accreditation-strip {
    background: linear-gradient(180deg, #f8fbff, #fff);
    border: 1px solid var(--mvttc-border);
    box-shadow: 0 4px 16px rgba(6, 31, 70, 0.06);
    padding: 1.2rem 1.4rem;
}

.accreditation-strip h3 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8096b0;
    margin-bottom: 1rem;
}

/* ── News badge: polished ── */
.badge.news-badge {
    background: linear-gradient(135deg, #e8f5ee, #dbeafe);
    color: var(--mvttc-blue-dark);
    border: 1px solid #c7ddf8;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

/* ── Buttons: enhanced 3D depth ── */
.btn-solid {
    background: linear-gradient(180deg, #f5c842, var(--mvttc-gold), #d09400);
    box-shadow: 0 4px 14px rgba(208, 148, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    border-radius: 0.6rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(208, 148, 0, 0.5);
}

.btn-ghost {
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(31, 122, 77, 0.15);
    background: linear-gradient(180deg, #eaf6f0, #e8f2ff);
}

/* ── Principal photo: rounded corners + gold ring ── */
.principal-photo {
    border-radius: 0.6rem;
    border: 2px solid var(--mvttc-gold);
    box-shadow: 0 6px 20px rgba(6, 31, 70, 0.14);
}

/* ── Topbar: subtle glow separation from body ── */
.topbar {
    box-shadow: 0 8px 30px rgba(5, 20, 80, 0.18);
}

/* ── Footer: enhanced gradient ── */
.footer {
    background:
        radial-gradient(circle at 80% 10%, rgba(232, 170, 26, 0.12), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(31, 122, 77, 0.12), transparent 30%),
        linear-gradient(135deg, #061430 0%, #0a2255 50%, #061a3b 100%);
}

.footer h4 {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--mvttc-gold);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.7rem;
}

.footer-address,
.footer-ict,
.footer-quick,
.footer-visitors {
    font-size: 0.88rem;
}

.footer-ict p,
.footer-quick p,
.footer-visitors p {
    margin: 0.32rem 0;
    line-height: 1.5;
}

.footer a {
    color: #92bfff;
    transition: color 0.15s;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}

/* ── Smooth scroll appear animation on sections ── */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.banner-slider-wrap,
.quick-access-strip,
.programme-search-section,
.hero,
.home-newsroom,
.institutional-grid,
.download-links-grid,
.quick-links-block,
.accreditation-strip,
.cards-zone {
    animation: fade-up 0.55s ease both;
}

.quick-access-strip       { animation-delay: 0.05s; }
.programme-search-section { animation-delay: 0.1s; }
.hero                     { animation-delay: 0.12s; }
.home-newsroom            { animation-delay: 0.15s; }
.institutional-grid       { animation-delay: 0.18s; }
.download-links-grid      { animation-delay: 0.2s; }
.quick-links-block        { animation-delay: 0.22s; }
.accreditation-strip      { animation-delay: 0.25s; }
.cards-zone               { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    .banner-slide {
        transition: none !important;
    }

    .banner-slider-wrap,
    .quick-access-strip,
    .programme-search-section,
    .hero,
    .home-newsroom,
    .institutional-grid,
    .download-links-grid,
    .quick-links-block,
    .accreditation-strip,
    .cards-zone {
        animation: none;
    }
}

/* ============================================================
   ANNOUNCEMENT TICKER
   ============================================================ */
.announcement-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--mvttc-blue-dark), var(--mvttc-blue));
    color: #ffe08f;
    font-size: 0.88rem;
    height: 2.4rem;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 2px solid var(--mvttc-gold);
}

.ticker-label {
    flex-shrink: 0;
    background: var(--mvttc-gold);
    color: var(--mvttc-blue-dark);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 0 0.9rem;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: ticker-scroll 38s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.ticker-item a {
    color: #ffe08f;
    text-decoration: none;
    transition: color 0.15s;
}

.ticker-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ticker-sep {
    color: rgba(255, 224, 143, 0.4);
    font-size: 0.6rem;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   PROGRAMME SEARCH SECTION
   ============================================================ */
.programme-search-section {
    background: linear-gradient(135deg, var(--mvttc-blue-dark) 0%, var(--mvttc-blue) 55%, var(--mvttc-green-deep) 100%);
    padding: 2.4rem 0;
    margin-top: 0;
}

.programme-search-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
}

.programme-search-inner h2 {
    font-family: "Merriweather", Georgia, serif;
    color: #fff;
    font-size: 1.7rem;
    margin: 0;
}

.programme-search-inner p {
    color: #c7deff;
    margin: 0;
    font-size: 1rem;
}

.programme-search-form {
    display: flex;
    width: min(640px, 100%);
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.programme-search-input {
    flex: 1;
    border: none;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: #fff;
    color: var(--mvttc-ink);
}

.programme-search-btn {
    flex-shrink: 0;
    background: var(--mvttc-gold);
    color: var(--mvttc-blue-dark);
    border: none;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
    font-family: inherit;
}

.programme-search-btn:hover {
    background: var(--mvttc-gold-deep);
    color: #fff;
}

/* ============================================================
   HOME NEWSROOM — News cards + Announcements sidebar
   ============================================================ */
.home-newsroom {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.4rem;
    margin-top: 2rem;
}

.home-news-panel,
.home-ann-panel {
    padding: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-news-card {
    background: #fff;
    border: 1px solid rgba(149, 179, 227, 0.75);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(6, 31, 70, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.home-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(6, 31, 70, 0.12);
    border-color: rgba(31, 122, 77, 0.42);
}

.home-news-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #eaf4ff, #edf9f3);
    border-bottom: 1px solid rgba(149, 179, 227, 0.7);
}

.home-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-news-card:hover .home-news-img {
    transform: scale(1.04);
}

.home-news-img-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0d3f8f22, #1f7a4d22);
    border-bottom: 1px solid var(--mvttc-border);
}

.home-news-body {
    padding: 0.95rem 0.9rem 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-news-date {
    color: var(--mvttc-green);
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-news-body h3 {
    font-size: 1.02rem;
    margin: 0.15rem 0 0;
    line-height: 1.4;
    color: var(--mvttc-blue-dark);
}

.home-news-body h3 a {
    color: inherit;
    text-decoration: none;
}

.home-news-body h3 a:hover {
    color: var(--mvttc-blue);
    text-decoration: underline;
}

.home-news-summary {
    font-size: 0.88rem;
    color: #516080;
    margin: 0;
    line-height: 1.62;
    flex: 1;
}

.home-news-body .news-card-footer {
    margin-top: 0.35rem;
    color: var(--mvttc-blue-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

/* Announcements sidebar */
.home-ann-panel .section-head h2 {
    font-size: 1.1rem;
}

.home-ann-list {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-ann-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--mvttc-border);
}

.home-ann-item:last-child {
    border-bottom: none;
}

.home-ann-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--mvttc-soft);
    border-radius: 0.4rem;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--mvttc-blue);
    border: 1px solid var(--mvttc-border);
}

.home-ann-item a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mvttc-blue-dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.home-ann-item a:hover {
    color: var(--mvttc-blue);
    text-decoration: underline;
}

.home-ann-date {
    font-size: 0.78rem;
    color: #8096b0;
    margin: 0.2rem 0 0;
}

/* ============================================================
   EVENT CALENDAR DATE BADGE
   ============================================================ */
.upcoming-event-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.upcoming-event-card:last-child {
    border-bottom: none;
}

.event-date-badge {
    flex-shrink: 0;
    width: 52px;
    background: var(--mvttc-gold);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.event-date-badge .event-month {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--mvttc-blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--mvttc-blue-dark);
    color: #fff1cc;
    width: 100%;
    text-align: center;
    padding: 0.15rem 0;
    border-radius: 0.5rem 0.5rem 0 0;
}

.event-date-badge .event-day {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--mvttc-blue-dark);
    line-height: 1.1;
    padding-top: 0.15rem;
}

.event-card-body {
    flex: 1;
    min-width: 0;
}

.event-card-body h4 {
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    line-height: 1.35;
}

.event-card-body h4 a {
    color: inherit;
    text-decoration: none;
}

.event-card-body h4 a:hover {
    text-decoration: underline;
}

.event-venue {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* ============================================================
   FOOTER — SOCIAL MEDIA LINKS
   ============================================================ */
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.soc-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0;
    text-indent: -9999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.18s, transform 0.18s;
    text-decoration: none;
    position: relative;
}

.soc-link:hover {
    background: var(--mvttc-gold);
    border-color: var(--mvttc-gold);
    transform: translateY(-2px);
}

/* Use emoji/unicode symbols as pseudo-element labels */
.soc-link::after {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.soc-f::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffe08f'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.soc-x::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffe08f'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.738l7.73-8.835L1.254 2.25H8.08l4.213 5.567zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.soc-ig::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe08f' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E"); }
.soc-in::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffe08f'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2' fill='%23ffe08f'/%3E%3C/svg%3E"); }
.soc-yt::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffe08f'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.95-1.95C18.88 4 12 4 12 4s-6.88 0-8.59.47a2.78 2.78 0 0 0-1.95 1.95C1 8.12 1 12 1 12s0 3.88.46 5.58a2.78 2.78 0 0 0 1.95 1.95C5.12 20 12 20 12 20s6.88 0 8.59-.47a2.78 2.78 0 0 0 1.95-1.95C23 15.88 23 12 23 12s0-3.88-.46-5.58z'/%3E%3Cpolygon points='9.75 15.02 15.5 12 9.75 8.98 9.75 15.02' fill='%230d3f8f'/%3E%3C/svg%3E"); }

.footer-bottom {
    background: rgba(0,0,0,0.25);
    margin-top: 1.5rem;
    padding: 0.9rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(219, 232, 255, 0.7);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom a {
    color: #ffe08f;
}

/* ============================================================
   ACCREDITATION AUTO-SCROLL CAROUSEL
   ============================================================ */
.accreditation-scroll-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.accreditation-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    width: max-content;
    animation: badge-scroll 28s linear infinite;
}

.accreditation-badges:hover {
    animation-play-state: paused;
}

@keyframes badge-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE — NEW COMPONENTS
   ============================================================ */
@media (max-width: 1100px) {
    .home-newsroom {
        grid-template-columns: 1fr;
    }

    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .announcement-ticker {
        font-size: 0.82rem;
    }

    .ticker-label {
        display: none;
    }

    .programme-search-section {
        padding: 1.6rem 0;
    }

    .programme-search-inner h2 {
        font-size: 1.25rem;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-newsroom {
        grid-template-columns: 1fr;
    }

    .upcoming-event-card {
        gap: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track,
    .accreditation-badges {
        animation: none;
    }
}

/* ============================================================
   ANNOUNCEMENTS PAGE — LISTING & DETAIL
   ============================================================ */

/* Page hero */
.ann-page-hero {
    background: linear-gradient(130deg, #05214e 0%, #0d3f8f 55%, #0e5c3a 100%);
    border-bottom: 3px solid var(--mvttc-gold);
    padding: 2rem 0 1.8rem;
    color: #dce9ff;
}

.ann-detail-hero {
    padding: 2.4rem 0 2rem;
}

.ann-page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ann-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: rgba(220, 233, 255, 0.65);
}

.ann-breadcrumb a {
    color: #a0c0f0;
    text-decoration: none;
    transition: color 0.15s;
}

.ann-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ann-hero-body {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.ann-hero-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    color: var(--mvttc-gold);
}

.ann-hero-icon--large {
    width: 68px;
    height: 68px;
}

.ann-page-hero h1 {
    margin: 0.35rem 0 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    line-height: 1.2;
}

.ann-detail-title {
    margin: 0.4rem 0 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.25rem, 2.8vw, 1.9rem);
    color: #fff;
    line-height: 1.3;
}

.ann-hero-sub {
    margin: 0.4rem 0 0;
    color: #a8c4e8;
    font-size: 0.95rem;
    max-width: 60ch;
}

.ann-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.ann-detail-date {
    color: #a8c4e8;
    font-size: 0.85rem;
}

/* Badge */
.ann-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(232, 170, 26, 0.18);
    color: var(--mvttc-gold);
    border: 1px solid rgba(232, 170, 26, 0.4);
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
}

.ann-badge--hero {
    background: rgba(232, 170, 26, 0.22);
    border-color: rgba(232, 170, 26, 0.5);
    font-size: 0.78rem;
    padding: 0.28rem 0.75rem;
}

.ann-has-file {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #7db8f0;
    background: rgba(100, 170, 255, 0.12);
    border: 1px solid rgba(100, 170, 255, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

/* Layout */
.ann-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 2rem 0 3rem;
    align-items: start;
}

.ann-detail-layout {
    grid-template-columns: 1fr 290px;
    padding-top: 2.2rem;
}

/* Year group */
.ann-year-group {
    margin-bottom: 2rem;
}

.ann-year-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8096b0;
    border-bottom: 2px solid var(--mvttc-border);
    padding-bottom: 0.45rem;
    margin-bottom: 1rem;
}

/* Announcement card */
.ann-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
    padding: 1.1rem 1.2rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(6, 31, 70, 0.05);
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.ann-card:hover {
    border-color: var(--mvttc-blue);
    box-shadow: 0 6px 20px rgba(13, 63, 143, 0.1);
    transform: translateY(-2px);
}

.ann-card-date {
    flex-shrink: 0;
    width: 50px;
    background: var(--mvttc-blue);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0;
    text-align: center;
}

.ann-day {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.ann-mon {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--mvttc-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

.ann-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ann-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ann-card-full-date {
    font-size: 0.78rem;
    color: #8096b0;
}

.ann-card-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--mvttc-blue-dark);
}

.ann-card-title a {
    color: inherit;
    text-decoration: none;
}

.ann-card-title a:hover {
    color: var(--mvttc-blue);
    text-decoration: underline;
}

.ann-card-summary {
    font-size: 0.88rem;
    color: #516080;
    margin: 0;
    line-height: 1.55;
}

.ann-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.3rem;
}

.ann-btn-read {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--mvttc-blue);
    text-decoration: none;
}

.ann-btn-read:hover {
    text-decoration: underline;
}

.ann-btn-file {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mvttc-green-deep);
    background: linear-gradient(180deg, #f0fbf5, #e5f5ec);
    border: 1px solid #a8d5bc;
    border-radius: 0.45rem;
    padding: 0.28rem 0.7rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.ann-btn-file:hover {
    background: #d4edda;
    border-color: var(--mvttc-green);
}

/* Empty state */
.ann-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
}

.ann-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.ann-empty h3 {
    color: var(--mvttc-blue-dark);
    margin: 0 0 0.4rem;
}

.ann-empty p {
    color: #8096b0;
    margin: 0;
}

/* Sidebar */
.ann-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ann-sidebar-card {
    background: #fff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
    padding: 1.2rem;
    box-shadow: 0 2px 10px rgba(6, 31, 70, 0.05);
}

.ann-sidebar-card h3 {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mvttc-blue-dark);
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--mvttc-border);
}

.ann-sidebar-card--accent {
    background: linear-gradient(135deg, #0d3f8f 0%, #072a63 100%);
    border-color: transparent;
    color: #c7deff;
}

.ann-sidebar-card--accent h3 {
    color: #fff1cc;
    border-bottom-color: rgba(255,255,255,0.15);
}

.ann-sidebar-card--accent p {
    font-size: 0.88rem;
    margin: 0 0 0.9rem;
    line-height: 1.5;
}

.ann-apply-btn {
    display: block;
    text-align: center;
    background: var(--mvttc-gold);
    color: var(--mvttc-blue-dark);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 0.62rem;
    text-decoration: none;
    transition: background 0.18s;
}

.ann-apply-btn:hover {
    background: var(--mvttc-gold-deep);
    color: #fff;
}

.ann-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ann-sidebar-links li a {
    display: block;
    padding: 0.45rem 0.1rem;
    font-size: 0.88rem;
    color: var(--mvttc-blue-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--mvttc-border);
    transition: color 0.15s, padding-left 0.15s;
}

.ann-sidebar-links li:last-child a {
    border-bottom: none;
}

.ann-sidebar-links li a:hover {
    color: var(--mvttc-blue);
    padding-left: 0.35rem;
}

/* Detail — main content */
.ann-detail-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

/* File attachment banner */
.ann-file-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #eef6f0, #f0f8ff);
    border: 1px solid #b8ddc8;
    border-left: 4px solid var(--mvttc-green);
    border-radius: 0.75rem;
    padding: 1rem 1.2rem;
}

.ann-file-banner-icon {
    flex-shrink: 0;
    color: var(--mvttc-green);
}

.ann-file-banner-body {
    flex: 1;
    min-width: 0;
}

.ann-file-banner-body strong {
    display: block;
    font-size: 0.92rem;
    color: var(--mvttc-green-deep);
}

.ann-file-banner-body span {
    font-size: 0.83rem;
    color: #516080;
}

.ann-file-banner-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mvttc-green);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 0.5rem;
    padding: 0.55rem 1rem;
    text-decoration: none;
    transition: background 0.18s;
    white-space: nowrap;
}

.ann-file-banner-btn:hover {
    background: var(--mvttc-green-deep);
}

/* Content area */
.ann-content-body {
    background: #fff;
    border: 1px solid var(--mvttc-border);
    border-radius: 0.9rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 2px 10px rgba(6, 31, 70, 0.04);
    line-height: 1.78;
    color: #2a3a52;
    font-size: 0.97rem;
}

.ann-content-body p {
    margin: 0 0 1em;
}

.ann-content-body p:last-child {
    margin-bottom: 0;
}

.ann-no-content {
    color: #8096b0;
    font-style: italic;
}

/* Detail action buttons */
.ann-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ann-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 0.6rem;
    padding: 0.65rem 1.2rem;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
}

.ann-action-btn--primary {
    background: linear-gradient(180deg, var(--mvttc-green), var(--mvttc-green-deep));
    color: #fff;
    box-shadow: 0 4px 12px rgba(18, 84, 54, 0.22);
}

.ann-action-btn--primary:hover {
    background: var(--mvttc-green-deep);
}

.ann-action-btn--ghost {
    background: #fff;
    color: var(--mvttc-blue-dark);
    border: 2px solid var(--mvttc-border);
}

.ann-action-btn--ghost:hover {
    border-color: var(--mvttc-blue);
    color: var(--mvttc-blue);
}

/* Detail notice info sidebar */
.ann-notice-info .ann-detail-dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.8rem;
    font-size: 0.88rem;
}

.ann-notice-info .ann-detail-dl dt {
    color: #8096b0;
    font-weight: 600;
    padding: 0.2rem 0;
    border-bottom: 1px solid var(--mvttc-border);
}

.ann-notice-info .ann-detail-dl dd {
    margin: 0;
    color: var(--mvttc-ink);
    padding: 0.2rem 0;
    border-bottom: 1px solid var(--mvttc-border);
}

.ann-notice-info .ann-detail-dl dd a {
    color: var(--mvttc-blue);
}

/* Responsive */
@media (max-width: 960px) {
    .ann-page-layout,
    .ann-detail-layout {
        grid-template-columns: 1fr;
    }

    .ann-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ann-sidebar-card {
        flex: 1 1 240px;
    }
}

@media (max-width: 640px) {
    .ann-hero-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .ann-hero-icon {
        width: 48px;
        height: 48px;
    }

    .ann-card {
        flex-direction: column;
        gap: 0.8rem;
    }

    .ann-card-date {
        flex-direction: row;
        width: auto;
        align-items: center;
        gap: 0.5rem;
        padding: 0.3rem 0.8rem;
        border-radius: 999px;
    }

    .ann-day {
        font-size: 1rem;
    }

    .ann-file-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .ann-content-body {
        padding: 1.1rem 1rem;
    }
}
