/* ==========================================================
   Inner pages — shared extras
   ========================================================== */

/* Mission / vision */
.mv-card { border-radius: var(--radius); padding: 40px; height: 100%; position: relative; overflow: hidden; }
.mv-card.primary { background: var(--primary); }
.mv-card.dark { background: var(--dark); }
.mv-card i { font-size: 42px; color: var(--accent); display: block; margin-bottom: 16px; }
.mv-card h3 { color: #fff; font-size: 28px; }
.mv-card p { color: rgba(255, 255, 255, .85); font-size: 17px; margin: 0; }
.mv-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, .07); }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; font-weight: 700; color: var(--dark); transition: all .3s; }
.value-chip i { display: block; font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.value-chip:hover { background: var(--dark); color: #fff; }
.value-chip:hover i { color: var(--accent); }
@media (max-width: 575.98px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }

/* Pill tags */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--soft); border: 1px solid var(--line); padding: 9px 18px; border-radius: 40px; font-size: 14.5px; font-weight: 600; color: var(--dark); }
.pill-list li i { color: var(--primary); margin-right: 6px; }

/* Leader cards */
.leader-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; text-align: center; transition: all .35s; }
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader-photo { aspect-ratio: 1; background: linear-gradient(135deg, var(--dark), var(--primary)); display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-size: 80px; }
.leader-body { padding: 24px; }
.leader-body h4 { font-size: 21px; margin-bottom: 4px; }
.leader-body span { color: var(--primary); font-weight: 600; font-size: 14px; }
.message-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.message-photo { background: linear-gradient(160deg, var(--dark), var(--darker)); min-height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; color: #fff; text-align: center; }
.message-photo .avatar { width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 4px solid var(--accent); display: grid; place-items: center; font-size: 70px; margin-bottom: 20px; }
.message-photo h4 { color: #fff; margin-bottom: 4px; }
.message-photo span { color: var(--accent); font-weight: 600; font-size: 14px; }
.message-text { padding: 50px; }
.message-text p { color: #3d4556; }
.message-text .sign { font-family: var(--font-head); font-style: italic; font-size: 22px; color: var(--dark); }
@media (max-width: 575.98px) { .message-text { padding: 28px; } }

/* Feature split (image + list) */
.feature-row + .feature-row { margin-top: 90px; }
.feature-row h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.feature-row .content-img img { aspect-ratio: 4/3; }
.num-tag { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: .1em; display: block; margin-bottom: 10px; }

/* Documents list */
.doc-item { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: all .3s; height: 100%; }
.doc-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.doc-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 12px; background: rgba(136, 50, 143, .08); color: var(--primary); display: grid; place-items: center; font-size: 22px; }
.doc-item h6 { margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; color: var(--dark); }
.doc-item small { color: var(--muted); font-size: 13px; }
.doc-item .doc-action { margin-left: auto; color: var(--primary); font-size: 20px; }
.doc-search { max-width: 460px; position: relative; }
.doc-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.doc-search input { padding-left: 46px; border-radius: 50px; }

/* Contact */
.contact-card { background: #fff; border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow-sm); height: 100%; border-bottom: 4px solid transparent; transition: all .35s; }
.contact-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .icon-box { margin: 0 auto 20px; }
.contact-card h5 { font-size: 20px; }
.contact-card p, .contact-card a { font-size: 15px; margin: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Careers */
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; transition: all .3s; }
.job-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.job-card h4 { font-size: 21px; margin: 0 0 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.job-meta i { color: var(--primary); margin-right: 5px; }
.job-card .btn-brand { margin-left: auto; padding: 11px 22px; font-size: 14px; }

/* Filter buttons */
.filter-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btns button { border: 1.5px solid var(--line); background: #fff; padding: 10px 24px; border-radius: 40px; font-weight: 700; color: var(--dark); transition: all .3s; }
.filter-btns button.active, .filter-btns button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-item { transition: opacity .4s, transform .4s; }
.filter-item.hidden { display: none; }

/* Age table highlight */
.age-badge { display: inline-block; background: rgba(136, 50, 143, .08); color: var(--primary); font-weight: 700; border-radius: 30px; padding: 4px 14px; font-size: 14px; }

/* Info strip */
.info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.info-strip div { background: #fff; padding: 26px; text-align: center; }
.info-strip i { font-size: 30px; color: var(--primary); }
.info-strip strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--dark); margin-top: 6px; }
.info-strip span { font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 767.98px) { .info-strip { grid-template-columns: repeat(2, 1fr); } }

/* Event detail info */
.event-info { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.event-info li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.event-info li:last-child { border: 0; }
.event-info i { color: var(--primary); font-size: 20px; }
.event-info strong { display: block; color: var(--dark); font-size: 14px; }
.event-info span { color: var(--muted); font-size: 14.5px; }


/* ==========================================================
   Inner pages v2 (content-matched layouts)
   ========================================================== */
.page-banner.tall { padding: 150px 0 130px; }
.page-banner .eyebrow.light { margin-bottom: 10px; }

/* Framed images */
.content-img.framed { overflow: visible; box-shadow: none; position: relative; }
.content-img.framed img { border-radius: var(--radius); position: relative; z-index: 1; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.content-img.framed::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 60%; background: var(--accent); border-radius: var(--radius); z-index: 0; }
.content-img.framed.alt::before { left: -16px; right: auto; background: var(--primary); }
.quote-line { margin-top: 22px; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-style: italic; font-size: 19px; color: var(--dark); }
.quote-line i { color: var(--primary); font-size: 26px; vertical-align: middle; }
.stage-tag { display: inline-flex; gap: 8px; align-items: center; background: var(--accent); color: var(--dark); font-weight: 800; font-size: 13px; letter-spacing: .08em; padding: 6px 14px; border-radius: 30px; margin-bottom: 14px; text-transform: uppercase; }

/* History */
.person-msg .big-quote { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); color: var(--dark); line-height: 1.35; font-style: italic; margin: 10px 0 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-pill { background: #fff; border-radius: var(--radius-sm); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-pill strong { font-family: var(--font-head); font-size: 34px; color: var(--primary); display: block; line-height: 1.1; }
.stat-pill span { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.stat-pill.wide { grid-column: span 2; background: var(--primary); }
.stat-pill.wide strong, .stat-pill.wide span { color: #fff; }
.map-img { max-height: 520px; filter: drop-shadow(0 20px 40px rgba(59, 20, 66, .15)); }

/* Campus */
.collage-img { border-radius: var(--radius); overflow: hidden; height: 100%; background: var(--soft); box-shadow: var(--shadow-sm); }
.collage-img img { width: 100%; height: 100%; object-fit: cover; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.split-img { background-size: cover; background-position: center; min-height: 420px; }
.split-text { padding: 56px; }
@media (max-width: 991.98px) { .split-feature { grid-template-columns: 1fr; } .split-img { min-height: 280px; } .split-text { padding: 32px; } }
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry .gallery-item { aspect-ratio: auto; margin-bottom: 16px; break-inside: avoid; }
.masonry .gallery-item img { height: auto; }
.photo-tile.tall { aspect-ratio: 3/4; }
.pill-tabs .count { background: var(--soft); color: var(--primary); border-radius: 20px; padding: 1px 8px; font-size: 12px; }
.pill-tabs button.active .count { background: rgba(255, 255, 255, .2); color: #fff; }

/* Management */
.leader-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.leader-strip a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; transition: all .3s; color: var(--muted); font-size: 13.5px; }
.leader-strip a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.leader-strip img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--accent); }
.leader-strip strong { display: block; color: var(--dark); font-size: 15.5px; }
@media (max-width: 991.98px) { .leader-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .leader-strip { grid-template-columns: 1fr; } }

/* Innovation lab */
.story-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 36px; height: 100%; position: relative; overflow: hidden; }
.story-card.alt { background: var(--dark); }
.story-card i { font-size: 34px; color: var(--accent); }
.story-card p { color: #fff; font-family: var(--font-head); font-size: 21px; font-style: italic; line-height: 1.5; margin: 14px 0 0; }
.story-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tech-chips span { background: var(--dark); color: #fff; border-radius: 40px; padding: 9px 18px; font-weight: 600; font-size: 14px; }
.tech-chips i { color: var(--accent); margin-right: 6px; }

/* Growth gears */
.pillar-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.pillar { padding: 34px 26px; background: #fff; border-right: 1px solid var(--line); transition: all .35s; }
.pillar:last-child { border-right: 0; }
.pillar i { font-size: 34px; color: var(--primary); display: block; margin-bottom: 14px; transition: color .35s; }
.pillar h5 { font-size: 19px; }
.pillar p { font-size: 14.5px; margin: 0; }
.pillar:hover { background: var(--primary); }
.pillar:hover i { color: var(--accent); }
.pillar:hover h5, .pillar:hover p { color: #fff; }
@media (max-width: 991.98px) { .pillar-strip { grid-template-columns: 1fr 1fr; } .pillar { border-bottom: 1px solid var(--line); } }
@media (max-width: 575.98px) { .pillar-strip { grid-template-columns: 1fr; } }
.unique-box { background: #fff; border-radius: var(--radius); padding: 26px; border-left: 5px solid var(--accent); box-shadow: var(--shadow-sm); margin-top: 24px; }
.unique-box h5 { color: var(--primary); font-family: var(--font-body); font-weight: 800; }
.unique-box h5 i { color: var(--accent); }
.process-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; height: 100%; position: relative; transition: all .35s; overflow: hidden; }
.process-card .step { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 48px; font-weight: 700; color: var(--soft); line-height: 1; }
.process-card > i { width: 58px; height: 58px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; position: relative; }
.process-card h4 { font-size: 20px; position: relative; }
.process-card p { margin: 0; font-size: 15px; position: relative; }
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.process-card:hover > i { background: var(--accent); color: var(--dark); }
.mini-card { background: #fff; border-radius: 14px; padding: 18px; height: 100%; box-shadow: var(--shadow-sm); }
.mini-card i { font-size: 24px; color: var(--primary); }
.mini-card h6 { font-weight: 800; color: var(--dark); margin: 8px 0 4px; }
.mini-card p { font-size: 14px; margin: 0; }

/* Right approach model */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-col { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.model-head { padding: 26px 28px; color: #fff; position: relative; }
.model-col.m0 .model-head { background: var(--primary); }
.model-col.m1 .model-head { background: var(--dark); }
.model-col.m2 .model-head { background: linear-gradient(120deg, var(--primary-dark), var(--darker)); }
.model-head i { font-size: 30px; color: var(--accent); }
.model-head h3 { color: #fff; margin: 8px 0 0; letter-spacing: .06em; }
.model-head span { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .15); padding: 4px 12px; border-radius: 20px; }
.model-col ul { list-style: none; padding: 10px 28px 24px; margin: 0; }
.model-col li { padding: 14px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.model-col li:last-child { border: 0; }
.model-col li strong { color: var(--dark); display: block; }
@media (max-width: 991.98px) { .model-grid { grid-template-columns: 1fr; } }

/* Curriculum */
.value-card { background: #fff; border-radius: var(--radius); padding: 24px 18px; text-align: center; height: 100%; transition: all .3s; border-bottom: 4px solid transparent; }
.value-card i { font-size: 30px; color: var(--primary); }
.value-card h5 { margin: 10px 0 6px; font-size: 19px; }
.value-card p { font-size: 13.5px; margin: 0; }
.value-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.side-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 36px; position: sticky; top: 110px; }
.side-card h4 { color: #fff; font-size: 22px; margin-bottom: 16px; }
.side-card p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.v-tabs.soft button { background: var(--soft); }
.v-panel.bordered { border: 1px solid var(--line); box-shadow: none; }
.award-tile { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); text-align: center; }
.award-tile img { max-height: 260px; object-fit: contain; }

/* Environment tab cards */
.tab-card { position: relative; border-radius: 24px; overflow: hidden; background-size: cover; background-position: center; min-height: 360px; display: flex; align-items: flex-end; }
.tab-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 11, 43, .3), rgba(38, 11, 43, .92)); }
.tab-card .inner { position: relative; padding: 44px; color: #fff; max-width: 900px; }
.tab-card .inner i { font-size: 36px; color: var(--accent); }
.tab-card .inner h3 { color: #fff; margin: 10px 0 12px; }
.tab-card .inner p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 16.5px; }

/* Skills */
.hobby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hobby-grid div { background: var(--soft); border-radius: 14px; padding: 16px 18px; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 12px; }
.hobby-grid i { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
@media (max-width: 575.98px) { .hobby-grid { grid-template-columns: 1fr; } }

/* Outcome */
.video-frame { padding: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 26px; box-shadow: var(--shadow-lg); }
.video-frame .ratio { border-radius: 16px; overflow: hidden; }

/* Facilities */
.intro-banner { display: flex; gap: 24px; align-items: flex-start; background: var(--soft); border-radius: 22px; padding: 34px; border-left: 6px solid var(--primary); }
.intro-banner > i { font-size: 40px; color: var(--primary); }
.intro-banner p { margin: 0; font-size: 18px; color: var(--dark); }
.sport-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-badges span { background: var(--primary); color: #fff; border-radius: 30px; padding: 7px 16px; font-size: 14px; font-weight: 600; }
.sport-badges span:nth-child(even) { background: var(--accent); color: var(--dark); }
.value-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.value-chips span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; color: var(--dark); }
.value-chips i { color: var(--primary); }
.route-card { display: flex; align-items: center; gap: 16px; background: var(--dark); color: #fff; border-radius: 16px; padding: 20px 24px; transition: background .3s; }
.route-card > i:first-child { font-size: 30px; color: var(--accent); }
.route-card strong { display: block; font-size: 18px; }
.route-card span { font-size: 14px; opacity: .8; }
.route-card:hover { background: var(--primary); color: #fff; }
.safety-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: all .35s; }
.safety-card .img { aspect-ratio: 1; overflow: hidden; }
.safety-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.safety-card .body { padding: 18px; text-align: center; position: relative; }
.safety-card .body i { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; margin: -41px auto 10px; font-size: 20px; position: relative; border: 4px solid #fff; }
.safety-card h5 { font-size: 16.5px; margin: 0; }
.safety-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.safety-card:hover img { transform: scale(1.08); }

/* Admission */
.seats-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(136, 50, 143, .1); color: var(--primary); padding: 8px 18px; border-radius: 40px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seats-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); animation: blinkDot 1.2s infinite; }
@keyframes blinkDot { 50% { opacity: .25; } }
.age-card { background: var(--dark); border-radius: 24px; padding: 36px; color: #fff; box-shadow: var(--shadow-lg); }
.age-card .eyebrow { color: var(--accent); }
.age-card h3 { color: #fff; }
.age-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: rgba(255, 255, 255, .8); }
.age-row:last-child { border: 0; }
.age-row .grade { background: var(--accent); color: var(--dark); font-weight: 800; border-radius: 10px; padding: 8px 12px; min-width: 100px; text-align: center; font-size: 13px; text-transform: uppercase; }
.age-row strong { color: #fff; }
.docs-box { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); }
.docs-box h4 { margin-bottom: 22px; }
.docs-box h4 i { color: var(--primary); }
.address-card { background: linear-gradient(160deg, var(--primary), var(--dark)); border-radius: 24px; padding: 36px; color: #fff; display: flex; flex-direction: column; }
.address-card h4 { color: #fff; margin-bottom: 18px; }
.address-card h4 i { color: var(--accent); }
.address-card .addr { color: rgba(255, 255, 255, .88); margin-bottom: 18px; line-height: 1.7; }
.address-card .line { color: #fff; font-weight: 700; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.address-card .line i { color: var(--accent); margin-right: 8px; }
.address-card a:hover { color: var(--accent); }
.address-card .btn-light-brand { align-self: flex-start; }
.qr-box { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; margin-top: 12px; }
.qr-box img { width: 90px; border-radius: 10px; background: #fff; padding: 6px; }
.qr-box span { font-size: 14px; color: rgba(255, 255, 255, .85); }

/* Careers */
.perk-icon { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary); box-shadow: 0 10px 24px rgba(136, 50, 143, .25); display: grid; place-items: center; }
.perk-icon img { max-width: 56px; max-height: 56px; }
.job-table { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.job-row { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 2fr .7fr; gap: 16px; align-items: center; padding: 16px 26px; border-bottom: 1px solid var(--line); font-size: 15px; }
.job-row.head { background: var(--dark); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.job-row:not(.head):hover { background: var(--soft); }
.job-row .title { font-weight: 700; color: var(--dark); }
.job-row .fn { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.job-row .fn.a { background: rgba(136, 50, 143, .1); color: var(--primary); }
.job-row .fn.n { background: rgba(255, 204, 1, .2); color: #8a6d00; }
.job-row.hidden { display: none; }
.btn-sm-pad { padding: 9px 18px !important; font-size: 13.5px !important; }
@media (max-width: 991.98px) {
    .job-row.head { display: none; }
    .job-row { grid-template-columns: 1fr 1fr; padding: 20px; }
    .job-row span[data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
}

/* Events / blogs */
.featured-event { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); color: inherit; }
.featured-event .img { overflow: hidden; min-height: 340px; }
.featured-event .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.featured-event:hover .img img { transform: scale(1.05); }
.featured-event .body { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-event h2 { font-size: clamp(24px, 2.6vw, 34px); }
.featured-event .meta { color: var(--muted); }
.featured-event .meta i { color: var(--primary); }
@media (max-width: 991.98px) { .featured-event { grid-template-columns: 1fr; } .featured-event .img { min-height: 240px; } .featured-event .body { padding: 28px; } }
.event-tile { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: all .35s; color: inherit; }
.event-tile .img { aspect-ratio: 16/10; overflow: hidden; }
.event-tile .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-tile .body { padding: 22px; }
.event-tile small { color: var(--muted); }
.event-tile small i { color: var(--primary); }
.event-tile h4 { font-size: 20px; margin: 8px 0 10px; }
.event-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-tile:hover img { transform: scale(1.07); }
.article-sub { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; margin-bottom: 24px; }
.article-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.article-photo img { width: 100%; display: block; }
.article-body blockquote cite { display: block; font-size: 15px; font-style: normal; color: var(--primary); font-family: var(--font-body); font-weight: 700; margin-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.tag-row span { background: var(--soft); border-radius: 20px; padding: 5px 14px; font-size: 13.5px; color: var(--primary); font-weight: 600; }
.side-help .accent-btn { background: var(--accent); color: var(--dark); }

/* Legal */
.legal-card { background: #fff; border-radius: 22px; padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.legal-body h3 { font-size: 26px; margin: 40px 0 14px; padding-top: 10px; scroll-margin-top: 120px; }
.legal-body h4 { font-size: 20px; margin: 24px 0 10px; }
.legal-body h5 { font-family: var(--font-body); font-size: 16.5px; font-weight: 800; color: var(--primary); margin: 20px 0 8px; }
.legal-body li { margin-bottom: 8px; }
.def-list { display: grid; grid-template-columns: 200px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.def-list dt, .def-list dd { padding: 12px 16px; margin: 0; border-bottom: 1px solid var(--line); }
.def-list dt { background: var(--soft); color: var(--dark); }
.def-list dd { color: #4a4458; }
@media (max-width: 767.98px) { .def-list { grid-template-columns: 1fr; } .legal-card { padding: 26px; } }
.cookie-grid { display: grid; gap: 14px; margin: 16px 0; }
.cookie-grid > div { background: var(--soft); border-radius: 14px; padding: 18px 20px; }
.cookie-grid h6 { font-weight: 800; color: var(--dark); margin-bottom: 2px; }
.cookie-grid small { color: var(--primary); font-weight: 600; }
.cookie-grid p { margin: 8px 0 0; font-size: 15px; }
.legal-toc { position: sticky; top: 110px; background: var(--soft); border-radius: 18px; padding: 24px; }
.legal-toc h6 { font-weight: 800; color: var(--dark); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; margin-bottom: 12px; }
.legal-toc a { display: block; padding: 7px 0 7px 12px; color: var(--muted); font-size: 14px; border-left: 2px solid var(--line); }
.legal-toc a:hover { color: var(--primary); border-color: var(--primary); }

.campus-map { background: #fff; border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.campus-map img { width: 100%; display: block; border-radius: 14px; }

/* Blog categories */
.blog-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; scrollbar-width: thin; }
.blog-cats a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 40px; border: 1.5px solid var(--line); background: #fff; color: var(--dark); font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .2s; }
.blog-cats a span { background: var(--soft); color: var(--primary); border-radius: 20px; padding: 0 7px; font-size: 12px; }
.blog-cats a:hover, .blog-cats a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-cats a.active span, .blog-cats a:hover span { background: rgba(255, 255, 255, .2); color: #fff; }
.blog-cat-note { color: var(--muted); margin-bottom: 18px; }
.blog-cat-note a { font-weight: 700; }
.card-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.card-cats a { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--soft); border-radius: 20px; padding: 3px 10px; }
.card-cats a:hover { background: var(--primary); color: #fff; }
.article-meta a.meta-cat { color: var(--muted); }
.article-meta a.meta-cat:hover { color: var(--primary); }

/* Tables and contents links inside blog articles */
.article-body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 24px; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 10px 14px; vertical-align: top; min-width: 130px; }
.article-body [id] { scroll-margin-top: 110px; }
