:root {
    --navy: #0d1f3c;
    --navy-mid: #1a3560;
    --blue: #1e4fa8;
    --accent: #e8a020;
    --accent-light: #fdf3e0;
    --text: #1a1a2e;
    --muted: #5c6b8a;
    --surface: #f4f6fb;
    --white: #ffffff;
    --border: #dde3f0;
    --tag-bg: #e8eef9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo {
    max-height: 62px;
    width: auto;
    display: block;
}
.nav-back {
    position: relative;
    overflow: hidden;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--navy);
    border: 1px solid var(--navy);
    transition: color 0.25s ease, border-color 0.25s ease;
}
.nav-back::before {
    content: '';
    position: absolute;
    top: -20%; bottom: -20%;
    left: -55%;
    width: 42%;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(226,232,244,0.25) 35%,
        rgba(255,255,255,0.85) 50%,
        rgba(226,232,244,0.25) 65%,
        rgba(255,255,255,0) 100%);
    transform: translateX(0) skewX(-22deg);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-back span,
.nav-back svg { position: relative; z-index: 1; }
.nav-back:hover { border-color: rgba(255,255,255,0.35); }
.nav-back:hover::before { transform: translateX(320%) skewX(-22deg); }
.nav-back svg {
    width: 16px; height: 16px;
    stroke-width: 2.5;
    transition: transform 0.25s ease;
}
.nav-back:hover svg { transform: translateX(-3px); }

.hero {
    margin-top: 64px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 80px 40px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(30,79,168,0.5) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 60px; left: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(232,160,32,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(232,160,32,0.15);
    border: 1px solid rgba(232,160,32,0.4);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.16;
    margin-bottom: 28px;
    animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em {
    font-style: normal;
    color: var(--accent);
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    margin-bottom: 48px;
    animation: fadeUp 0.6s 0.2s ease both;
}
.meta-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 50%; }
.meta-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.hero-image-strip {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    border: 8px solid var(--white);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    animation: fadeUp 0.6s 0.3s ease both;
    background-image: url('../img/scope-of-btech-electrical-and-electronics-engineering.jpg?v=20260909');
    background-color: var(--navy-mid);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-clip: padding-box;
}

.page-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 40px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
}

.article { min-width: 0; }

.article p {
    font-size: 1.08rem;
    color: #3a4460;
    margin-bottom: 24px;
    font-weight: 400;
}

.article p a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(30,79,168,0.35);
    transition: color 0.2s, border-color 0.2s;
}
.article p a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.95rem;
    font-weight: 900;
    color: var(--navy);
    margin: 56px 0 20px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 16px;
    scroll-margin-top: 92px;
}
.article h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.article h3 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--navy-mid);
    line-height: 1.45;
    margin: 32px 0 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    scroll-margin-top: 92px;
}
.article h3::before {
    content: '';
    width: 10px; height: 10px;
    margin-top: calc((1.45em - 10px) / 2);
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.article-intro {
    position: relative;
    padding: 0 0 30px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.article-intro p { font-size: 1.1rem; color: #33405c; }
.article-intro p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.34rem !important;
    color: var(--navy-mid) !important;
    font-weight: 500 !important;
    line-height: 1.62 !important;
    margin-bottom: 26px !important;
}
.lead::after { content: ''; display: block; clear: both; }

.dropcap {
    float: left;
    width: 68px; height: 68px;
    margin: 8px 20px 6px 0;
    background: linear-gradient(150deg, #fdf3e0 0%, #f6e0b6 100%);
    border: 1px solid rgba(232,160,32,0.5);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(232,160,32,0.18);
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Sub-label above a chip list or grouped block ---------------------- */
.sub-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 30px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sub-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* --- Article roadmap: 5 numbered cards linking to each section --------- */
.check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 26px 0 40px;
}
.check-card {
    --chip: #0d1f3c;
    --chip-soft: rgba(13,31,60,0.07);
    position: relative;
    display: block;
    overflow: hidden;
    padding: 22px 24px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 3px 14px rgba(13,31,60,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;

    /* The whole card is a link, but its text still has to be selectable.
       Killing the native link-drag makes a press-and-drag select text
       instead of picking up the anchor. */
    -webkit-user-drag: none;
    -webkit-user-select: text;
    user-select: text;
}
/* Colours cycle every 5 cards, so the grid takes any number of sections */
.check-card:nth-child(5n+2) { --chip: #1a3560; --chip-soft: rgba(26,53,96,0.08); }
.check-card:nth-child(5n+3) { --chip: #1e4fa8; --chip-soft: rgba(30,79,168,0.09); }
.check-card:nth-child(5n+4) { --chip: #b97d0c; --chip-soft: rgba(185,125,12,0.10); }
.check-card:nth-child(5n+5) { --chip: #e8a020; --chip-soft: rgba(232,160,32,0.12); }
.check-card:nth-child(5n+5) .check-num { color: var(--navy); }
.check-card::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    width: 36px; height: 3px;
    background: var(--chip);
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
    z-index: 2;
}
.check-card::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 112px; height: 112px;
    border-radius: 50%;
    background: var(--chip-soft);
    transform-origin: top right;
    transition: transform 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.check-card:hover {
    transform: translateY(-3px);
    border-color: var(--chip);
    box-shadow: 0 16px 34px rgba(13,31,60,0.12);
}
.check-card:hover::before { width: calc(100% - 48px); }
.check-card:hover::after { transform: scale(1.05); }

.check-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--chip);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
}
.check-card h4 {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}
.check-card p {
    position: relative;
    z-index: 1;
    font-size: 0.9rem !important;
    color: var(--muted) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
.check-card:nth-child(odd):last-child { grid-column: 1 / -1; }

/* --- Stream option cards (Science / Commerce / Arts) ------------------- */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0 40px;
}
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30,79,168,0.1);
    border-color: var(--blue);
}
.benefit-card .icon {
    width: 50px; height: 50px;
    background: radial-gradient(circle at 50% 42%, #fffaf0 0%, var(--accent-light) 55%, #f7e2b9 100%);
    border: 1px solid rgba(232,160,32,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 16px;

    box-shadow: 0 0 0 5px rgba(232,160,32,0.12),
                0 6px 18px rgba(232,160,32,0.40);
    transition: box-shadow 0.25s, transform 0.25s;
}
.benefit-card:hover .icon {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 0 0 7px rgba(232,160,32,0.18),
                0 8px 24px rgba(232,160,32,0.55);
}
.benefit-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 0.88rem !important;
    color: var(--muted) !important;
    margin: 0 !important;
}

/* --- Engineering programme table -------------------------------------- */
.course-table-wrap {
    margin: 30px 0 26px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(13,31,60,0.06);
    background: var(--white);
}
.course-table-scroll { overflow-x: auto; }

.course-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.course-table thead th {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3560 100%);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    padding: 16px 22px;
    white-space: nowrap;
}
.course-table thead th:nth-child(2),
.course-table thead th:nth-child(3) { text-align: center; }

.course-table tbody tr {
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}
.course-table tbody tr:nth-child(even) { background: #fafbfe; }
.course-table tbody tr:hover { background: var(--tag-bg); }

.course-table td {
    padding: 18px 22px;
    vertical-align: middle;
    font-size: 0.95rem;
    color: var(--muted);
}
.course-table td:nth-child(2),
.course-table td:nth-child(3) { text-align: center; white-space: nowrap; }

/* Shrink the two short columns so the course column keeps the chip row wide */
@media (min-width: 761px) {
    .course-table th:nth-child(2), .course-table td:nth-child(2),
    .course-table th:nth-child(3), .course-table td:nth-child(3) { width: 1%; }
}

.ct-course {
    display: inline-block;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.ct-course:hover {
    color: var(--blue);
    border-bottom-color: rgba(30,79,168,0.4);
}

.ct-spl {
    display: block;
    margin-top: 12px;
}
.ct-spl-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px;
}

/* One chip per line, each sized to its own text */
.spl-chips {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.spl-chip {
    max-width: 100%;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy-mid);
    background: var(--tag-bg);
    border: 1px solid rgba(30,79,168,0.16);
    border-radius: 999px;
    padding: 3px 11px;
}

.ct-elig {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-mid);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 14px;
    white-space: nowrap;
}
.ct-dur {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--accent);
    white-space: nowrap;
}

/* Two-column variant: second column carries a wrapping chip row, not a
   short centred value, so it keeps the full width and reads left-aligned. */
.course-table.is-two-col { min-width: 520px; }
.course-table.is-two-col thead th:nth-child(2),
.course-table.is-two-col td:nth-child(2) {
    width: auto;
    text-align: left;
    white-space: normal;
}
.course-table.is-two-col .spl-chips {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.course-table.is-two-col .spl-chip { font-size: 0.8rem; padding: 4px 13px; }
.course-table.is-two-col .ct-course { cursor: default; }

/* --- Chip list for B.Sc. / B.Com programmes --------------------------- */
.course-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    margin: 0 0 26px;
}
.course-chips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.45;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.course-chips li:hover {
    transform: translateY(-2px);
    border-color: rgba(232,160,32,0.55);
    box-shadow: 0 10px 24px rgba(13,31,60,0.08);
}
.course-chips li::before {
    content: '';
    width: 7px; height: 7px;
    flex-shrink: 0;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}

/* --- College vs University comparison --------------------------------- */
.vs-grid {
    display: grid;
    grid-template-columns: 1fr 54px 1fr;
    align-items: stretch;
    gap: 0;
    margin: 30px 0 28px;
}
.vs-card {
    padding: 26px 26px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.vs-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: 0 14px 32px rgba(30,79,168,0.12);
}
.vs-card.is-university {
    background: linear-gradient(155deg, #0d1f3c 0%, #17305a 55%, #1e3f76 100%);
    border-color: rgba(255,255,255,0.09);
    box-shadow: 0 14px 36px rgba(13,31,60,0.2);
}
.vs-card.is-university:hover {
    border-color: rgba(232,160,32,0.55);
    box-shadow: 0 20px 44px rgba(13,31,60,0.28);
}
.vs-icon {
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    border-radius: 50%;
    margin-bottom: 14px;
    background: radial-gradient(circle at 50% 42%, #fffaf0 0%, var(--accent-light) 55%, #f7e2b9 100%);
    border: 1px solid rgba(232,160,32,0.5);
    box-shadow: 0 0 0 5px rgba(232,160,32,0.12);
}
.vs-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 10px;
}
.vs-card p {
    font-size: 0.95rem !important;
    color: var(--muted) !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}
.vs-card.is-university h4 { color: var(--accent); }
.vs-card.is-university p { color: rgba(255,255,255,0.78) !important; }

.vs-or {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vs-or span {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(232,160,32,0.28);
}

.recruiter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.recruiter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
}
.recruiter-item .check {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    line-height: 1;
    background: var(--accent-light);
    border: 1px solid rgba(232,160,32,0.35);
}
.recruiter-item .check img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.timeline {
    position: relative;
    margin: 32px 0 44px;
    padding: 6px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        rgba(232,160,32,0) 0%,
        var(--accent) 10%,
        var(--accent) 90%,
        rgba(232,160,32,0) 100%);
}
.tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 24px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-marker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.tl-card {
    grid-row: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 22px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30,79,168,0.1);
    border-color: var(--blue);
}
.tl-item:nth-child(odd) .tl-card  { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; text-align: left; }

.tl-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.32rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 4px;
}
.tl-card p {
    font-size: 0.92rem !important;
    color: var(--muted) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.tl-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px; height: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    transform: translateY(-50%) rotate(45deg);
}
.tl-item:nth-child(odd) .tl-card::before {
    right: -6px;
    border-left: 0; border-bottom: 0;
}
.tl-item:nth-child(even) .tl-card::before {
    left: -6px;
    border-right: 0; border-top: 0;
}
.tl-card:hover::before { border-color: var(--blue); }

.highlight {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3560 100%);
    border-radius: 16px;
    padding: 36px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.highlight::before {
    content: '"';
    position: absolute;
    top: -10px; right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(232,160,32,0.12);
    line-height: 1;
    pointer-events: none;
}
.highlight-label {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.highlight-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(232,160,32,0.3);
}
.highlight p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.05rem !important;
    margin: 0 !important;
}

.conclusion-cta {
    background: var(--accent-light);
    border: 1px solid rgba(232,160,32,0.3);
    border-radius: 16px;
    padding: 36px;
    margin: 48px 0 0;
    text-align: center;
}
.conclusion-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
    display: block;
}
.conclusion-cta h3::before { display: none; }
.conclusion-cta p {
    color: var(--muted) !important;
    margin-bottom: 24px !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}
.sidebar-card h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list li a {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}
.toc-list li a:hover {
    background: var(--tag-bg);
    color: var(--blue);
}
.toc-list li.toc-sub a {
    padding-left: 22px;
    font-size: 0.83rem;
    position: relative;
}
.toc-list li.toc-sub a::before {
    content: '';
    position: absolute;
    left: 10px; top: 50%;
    width: 6px; height: 1px;
    background: var(--border);
}

.share-row {
    display: flex;
    gap: 10px;
}
.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    gap: 6px;
    transition: opacity 0.2s, transform 0.2s;
}
.share-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.share-btn.li { background: #0077b5; }
.share-btn.fb { background: #1877f2; }
.share-btn.wa { background: #25d366; }

.tags-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag {
    background: var(--tag-bg);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none;
}

.about-univ {
    background: var(--navy);
    border-radius: 14px;
    padding: 24px;
    color: var(--white);
}
.about-univ .univ-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}
.about-univ p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 16px;
}
.about-link {
    display: inline-block;
    border: 1px solid rgba(232,160,32,0.5);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}
.about-link:hover { background: rgba(232,160,32,0.12); }

.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 32px 20px;
    font-size: 0.85rem;
}
.footer strong { color: rgba(255,255,255,0.8); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reading-progress {
    position: fixed;
    top: 64px; left: 0; right: 0;
    height: 3px;
    background: transparent;
    z-index: 99;
}
.reading-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

@media (max-width: 1024px) {
    .page-body { grid-template-columns: 1fr; gap: 40px; }
    .sidebar { position: static; }
}

@media (max-width: 900px) {
    .stream-grid { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: 1fr; gap: 0; }
    .vs-or { padding: 12px 0; }
    .vs-or::before {
        content: '';
        position: absolute;
        top: 0; bottom: 0; left: 50%;
        width: 2px;
        transform: translateX(-50%);
        background: var(--border);
    }
}

@media (max-width: 760px) {
    .timeline::before { left: 22px; }
    .tl-item { grid-template-columns: 44px 1fr; gap: 16px; margin-bottom: 18px; }
    .tl-marker { grid-column: 1; justify-self: start; }
    .tl-item:nth-child(odd) .tl-card,
    .tl-item:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
    .tl-item:nth-child(odd) .tl-card::before {
        right: auto; left: -6px;
        border: 1px solid var(--border);
        border-right: 0; border-top: 0;
    }

    /* Programme table collapses into one card per programme */
    .course-table-wrap {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }
    .course-table-scroll { overflow-x: visible; }
    .course-table { min-width: 0; display: block; }
    .course-table thead { display: none; }
    .course-table tbody, .course-table tr, .course-table td { display: block; width: 100%; }
    .course-table tbody tr {
        background: var(--white) !important;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 3px 14px rgba(13,31,60,0.05);
        padding: 18px 20px 8px;
        margin-bottom: 12px;
    }
    .course-table td {
        padding: 0 0 12px;
        text-align: left !important;
        white-space: normal !important;
    }
    .course-table td[data-label]:not(:first-child) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 0;
        border-top: 1px dashed var(--border);
    }
    .course-table td[data-label]:not(:first-child)::before {
        content: attr(data-label);
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
    }

    /* Chip rows need the full card width, so stack the label above them */
    .course-table.is-two-col td[data-label]:not(:first-child) { display: block; }
    .course-table.is-two-col td[data-label]:not(:first-child)::before {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 640px) {
    .hero { padding: 48px 20px 0; }
    .hero-image-strip {
        border-width: 6px 6px 0;
        border-radius: 12px 12px 0 0;
    }
    .page-body { padding: 40px 20px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .recruiter-grid { grid-template-columns: 1fr; }
    .course-chips { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }
    .check-card { padding: 20px 20px 22px; }
    .check-card::before { left: 20px; }
    .check-card:hover::before { width: calc(100% - 40px); }
    .check-card::after { width: 96px; height: 96px; top: -44px; right: -44px; }
    .highlight { padding: 28px 24px; }
    .vs-card { padding: 22px 20px 24px; }
    .nav { padding: 0 20px; }
    .article-intro { padding: 0 0 24px; }
    .article-intro p { font-size: 1.02rem; }
    .lead { font-size: 1.16rem !important; }
    .dropcap {
        width: 54px; height: 54px;
        font-size: 2.1rem;
        margin: 5px 15px 4px 0;
    }
}
