/* ==========================================================================
   Inner pages (loaded after site.css only on non-home pages)
   Reuses the tokens, buttons, .demo-pill, .gallery-tile, .cta, etc. from site.css
   ========================================================================== */

/* Page banner + breadcrumbs ------------------------------------------------- */
.page-banner { position: relative; background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; padding: 1.5rem 0 1.75rem; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgba(255, 212, 0, .12); pointer-events: none; }
.page-banner .container-xl { position: relative; z-index: 1; }
.crumbs ol { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .15rem; font-size: .8rem; color: #C9D5F2; }
.crumbs li + li::before { content: "›"; margin: 0 .45rem 0 .25rem; color: var(--yellow); }
.crumbs a { color: #fff; text-decoration: none; padding: .25rem 0; display: inline-block; }
.crumbs a:hover { color: var(--yellow); text-decoration: underline; }
.crumbs li[aria-current] { color: #E5EBFF; }
.page-banner__title { color: #fff; text-transform: none; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.15; margin: 0; }
.page-banner__lead { max-width: 44rem; color: #E5EBFF; margin: .7rem 0 0; font-size: 1.02rem; }

/* Page body ---------------------------------------------------------------- */
.page-section { padding: 2rem 0; }
.page-section--soft { background: var(--bg-soft); }
.page-section + .page-section:not(.page-section--soft) { padding-top: 0; }
.page-section--soft + .page-section:not(.page-section--soft) { padding-top: 2rem; }
.page-h2 { font-size: clamp(1.4rem, 3.6vw, 1.85rem); text-transform: none; margin: 0 0 .8rem; }
.page-h2 small { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 400; text-transform: none; color: var(--muted); letter-spacing: 0; margin-top: .3rem; }
.page-h3 { font-size: 1.15rem; text-transform: none; margin: 0 0 .5rem; }
.page-section p { max-width: 62rem; }
.page-section .lead-text { font-size: 1.08rem; color: var(--text); }

.layout-aside { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; } .layout-aside__side { position: sticky; top: 100px; } }

/* Demonstration / pending markers ------------------------------------------ */
.demo-banner { display: flex; gap: .6rem; align-items: flex-start; background: #FFF8D6; border: 1px dashed #D9A800; color: #5C4600; border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; margin: 0 0 1.25rem; max-width: none !important; }
.demo-banner .icon { margin-top: .2em; color: #A67C00; }
.status-pill { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7A5B00; background: #FFF3BF; border: 1px dashed #D9A800; white-space: nowrap; }
.status-pill--ok { color: #0F5132; background: #D1E7DD; border: 1px solid #A3CFBB; }

/* Cards --------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 576px) and (max-width: 991.98px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.info-card h3 { font-size: 1.12rem; margin: 0; text-transform: none; }
.info-card p { margin: 0; font-size: .92rem; }
.info-card__ico { width: 46px; height: 46px; border-radius: 50%; background: #E7ECFF; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.info-card__ico .icon { width: 22px; height: 22px; }
.info-card .btn { margin-top: auto; align-self: flex-start; }
.about-principal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; gap: 1.25rem; font-size: .95rem; align-items: center; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); }
.about-principal p { max-width: none; }
@media (max-width: 575.98px) { .about-principal { flex-direction: column; align-items: flex-start; } }
@media (min-width: 1200px) { .course-grid--page { grid-template-columns: repeat(2, 1fr); } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.side-card__head { background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1.15rem; text-transform: none; letter-spacing: .5px; font-weight: 700; padding: .6rem 1rem; margin: 0; }
.side-card__body { padding: 1rem; display: grid; gap: .6rem; font-size: .92rem; }
.side-card__body a.line { display: flex; gap: .55rem; align-items: center; color: var(--navy-deep); text-decoration: none; font-weight: 600; min-height: 36px; }
.side-card__body a.line:hover { color: var(--red); }
.side-card__body .icon { color: var(--navy); }
.side-card__body .btn { width: 100%; }

/* Spec list (course facts; stacks nicely on phones) -------------------------- */
.spec-list { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-list > div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.spec-list > div:first-child { border-top: 0; }
.spec-list dt { font-weight: 700; color: var(--navy-deep); font-size: .9rem; }
.spec-list dd { margin: 0; font-size: .92rem; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
@media (min-width: 576px) { .spec-list > div { grid-template-columns: 220px 1fr; align-items: center; gap: 1rem; } }

.bullet-list { margin: 0; padding-left: 1.15rem; display: grid; gap: .35rem; }
.bullet-list li::marker { color: var(--yellow); }
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-note { font-size: .76rem; color: var(--muted); margin: .4rem 0 0; }

/* Notices / events lists ------------------------------------------------------ */
.list-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.list-card { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; transition: box-shadow .15s ease, transform .15s ease; }
.list-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.list-card h2, .list-card h3 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; margin: 0 0 .25rem; line-height: 1.2; }
.list-card h2 a, .list-card h3 a { color: var(--navy-deep); text-decoration: none; }
.list-card h2 a:hover, .list-card h3 a:hover { color: var(--red); text-decoration: underline; }
.list-card p { margin: 0 0 .35rem; font-size: .9rem; color: var(--text); }
.list-card__meta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: center; }
.list-card__more { font-size: .85rem; font-weight: 700; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; padding: .25rem 0; }
.date-box { width: 58px; text-align: center; background: var(--navy); color: #fff; border-radius: 10px; padding: .4rem 0; line-height: 1.1; text-transform: uppercase; font-size: .72rem; display: flex; flex-direction: column; }
.date-box strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.date-box--red { background: var(--red); }

.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; color: var(--muted); font-size: .85rem; margin: 0 0 1rem; max-width: none !important; }
.article p { margin-bottom: 1rem; }
.article__back { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; text-decoration: none; margin-top: .5rem; padding: .4rem 0; }
.article__back .icon { transform: scaleX(-1); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: block; padding: .6rem 0; color: var(--navy-deep); text-decoration: none; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.side-list a:hover { color: var(--red); }
.side-list time { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }

/* Gallery -------------------------------------------------------------------- */
.album-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; height: 100%; transition: box-shadow .15s ease, transform .15s ease; }
.album-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.album-card__cover { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.album-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.album-card:hover .album-card__cover img { transform: scale(1.05); }
.album-card__cover .ph { inset: 0; }
.album-card__body { padding: .8rem 1rem 1rem; display: grid; gap: .2rem; }
.album-card__body h2, .album-card__body h3 { font-size: 1.3rem; text-transform: none; letter-spacing: 0; margin: 0; color: var(--navy-deep); }
.album-card__body span { font-size: .82rem; color: var(--muted); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.photo-grid .photo-frame { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.photo-grid figcaption { padding: .55rem .8rem; font-size: .85rem; font-weight: 600; color: var(--navy-deep); }
.empty-state { text-align: center; background: repeating-linear-gradient(135deg, #F4F7FF 0 10px, #EAF0FF 10px 20px); border: 2px dashed #B8C5EA; border-radius: var(--radius); padding: 2.5rem 1rem; color: var(--muted); }
.empty-state .icon { width: 2.2rem; height: 2.2rem; color: var(--navy); margin-bottom: .4rem; }
.empty-state p { margin: 0 auto; }
.empty-state strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }

/* Videos --------------------------------------------------------------------- */
.video-ph { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.video-ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px); }
.video-ph > span { position: relative; display: grid; justify-items: center; gap: .4rem; font-size: .85rem; color: #DCE4F7; }
.video-ph .icon { width: 2.4rem; height: 2.4rem; color: var(--yellow); }

/* Downloads / public disclosure ---------------------------------------------- */
.doc-group + .doc-group { margin-top: 1.75rem; }
.doc-group__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-size: 1.4rem; text-transform: none; }
.doc-group__title .round-ico { width: 38px; height: 38px; }
.doc-group__title .round-ico .icon { width: 18px; height: 18px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.doc-row { display: grid; gap: .5rem; padding: .85rem 1rem; align-items: center; grid-template-columns: 1fr; }
.doc-row + .doc-row { border-top: 1px solid var(--line); }
.doc-row__title { margin: 0; font-weight: 700; color: var(--navy-deep); }
.doc-row__desc { margin: .1rem 0 0; font-size: .85rem; color: var(--muted); }
.doc-row .btn { padding: .4rem 1rem; font-size: .85rem; min-height: 40px; justify-self: start; }
@media (min-width: 640px) { .doc-row { grid-template-columns: 1fr auto; gap: 1rem; } .doc-row .btn, .doc-row .status-pill { justify-self: end; } }
.jump-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; }
.jump-links a { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-deep); font-weight: 600; font-size: .85rem; text-decoration: none; min-height: 36px; }
.jump-links a:hover { background: var(--navy); color: #fff; }

/* Contact & forms -------------------------------------------------------------- */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); }
.contact-card h2, .contact-card h3 { font-size: 1.2rem; text-transform: none; margin: 0; }
.contact-card address { margin: 0; font-style: normal; font-size: .95rem; }
.contact-card a.line { display: flex; gap: .5rem; align-items: center; font-weight: 700; color: var(--navy-deep); text-decoration: none; min-height: 38px; }
.contact-card a.line:hover { color: var(--red); }
.contact-card .round-ico { width: 40px; height: 40px; }
.contact-card .round-ico .icon { width: 19px; height: 19px; }
.demo-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); }
.demo-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.demo-form .form-label { font-weight: 700; font-size: .88rem; color: var(--navy-deep); }
.demo-form .form-control, .demo-form .form-select { border-radius: 8px; border-color: #BFCAE6; min-height: 44px; }
.demo-form .form-control:disabled, .demo-form .form-select:disabled { background: #F1F4FC; }
.demo-form .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: .9rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: .8rem; align-items: start; }
.steps li::before { content: counter(step); width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.steps strong { display: block; color: var(--navy-deep); }
.steps p { margin: 0; font-size: .92rem; }

/* Legal text ------------------------------------------------------------------ */
.prose { max-width: 52rem; }
.prose h2 { font-size: 1.5rem; text-transform: none; margin: 1.75rem 0 .5rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { font-size: .98rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .3rem; }

/* 404 --------------------------------------------------------------------------- */
.notfound { text-align: center; padding: 3rem 0 3.5rem; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 22vw, 9rem); line-height: .9; color: var(--navy); margin: 0; }
.notfound__code span { color: var(--yellow); -webkit-text-stroke: 2px var(--navy); }
.notfound h1 { text-transform: uppercase; font-size: clamp(1.8rem, 6vw, 2.5rem); margin: .5rem 0; }
.notfound p { margin: 0 auto 1.25rem; max-width: 34rem; }
.notfound__links { list-style: none; margin: 1.5rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.notfound__links a { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; text-decoration: none; min-height: 40px; }
.notfound__links a:hover { background: var(--navy); color: #fff; }


/* ==========================================================================
   Visual enhancement layer for inner pages (motion tokens/keyframes live in site.css)
   ========================================================================== */

/* Page banner: dotted texture, slanted edge, staged entrance ------------------------------------ */
.page-banner {
  background: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.7px) 0 0 / 22px 22px, linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 1.75rem 0 2.6rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}
@media (min-width: 992px) { .page-banner { padding: 2.4rem 0 3.4rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); } }
.crumbs { animation: rise .55s var(--ease) both; }
.page-banner__title { animation: rise .75s .08s var(--ease) both; }
.page-banner__title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--yellow); margin-top: .8rem; }
.page-banner__lead { animation: rise .75s .2s var(--ease) both; }
.crumbs li:last-child { color: var(--yellow); font-weight: 600; }
.crumbs a { padding: .45rem 0; }
.page-section { padding: 2.5rem 0; }
@media (min-width: 992px) { .page-section { padding: 3.25rem 0; } }
.page-section + .page-section:not(.page-section--soft) { padding-top: 0; }
.page-section--soft + .page-section:not(.page-section--soft) { padding-top: 2.5rem; }
@media (min-width: 992px) { .page-section--soft + .page-section:not(.page-section--soft) { padding-top: 3.25rem; } }
.page-section--soft { background: linear-gradient(180deg, var(--bg-soft), #EEF3FF); }

/* Cards: depth, accent line, hover lift ----------------------------------------------------------- */
.info-card, .list-card, .album-card, .contact-card, .doc-row { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s ease; }
.info-card, .contact-card { position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.info-card::before, .contact-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--yellow) 0 40%, var(--navy) 40% 100%); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.info-card__ico { background: linear-gradient(135deg, #E7ECFF, #D5DFFF); box-shadow: inset 0 0 0 1px rgba(11, 33, 93, .08); transition: background .3s ease, color .3s ease, transform .3s var(--ease); }
.list-card { box-shadow: var(--shadow-sm); position: relative; }
.list-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--yellow); transform: scaleY(.3); transition: transform .4s var(--ease); }
.date-box { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); border-top: 3px solid var(--yellow); box-shadow: 0 4px 10px rgba(6, 22, 67, .2); }
.date-box--red { background: linear-gradient(180deg, var(--red), var(--red-deep)); border-top-color: var(--yellow); }
.album-card { box-shadow: var(--shadow-sm); }
.album-card__cover img { transition: transform .8s var(--ease); }
.album-card__body h2, .album-card__body h3 { position: relative; padding-left: .7rem; }
.album-card__body h2::before, .album-card__body h3::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 3px; border-radius: 2px; background: var(--yellow); }
.photo-frame img, .photo-grid img { transition: transform .8s var(--ease); }
.spec-list > div { transition: background-color .2s ease; }
.spec-list > div:hover { background: var(--bg-soft); }
.doc-row:hover { background: var(--bg-soft); }
.side-card { transition: box-shadow .35s var(--ease); }
.demo-banner { border-left: 4px solid #D9A800; }
.article { box-shadow: var(--shadow-sm); }

/* In-page jump links with scroll-spy state */
.jump-links a { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.jump-links a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Refined empty / placeholder states */
.empty-state .icon { width: 3.4rem; height: 3.4rem; padding: .85rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: .6rem; }
.video-ph .icon { transition: transform .35s var(--ease); }

/* Back arrow keeps its flip while nudging on hover */
.article__back .icon-arrow { transform: scaleX(-1); }

@media (hover: hover) {
  .info-card:hover, .contact-card:hover, .list-card:hover, .album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .info-card:hover::before, .contact-card:hover::before { transform: scaleX(1); }
  .info-card:hover .info-card__ico { background: var(--navy); color: var(--yellow); transform: scale(1.08); }
  .list-card:hover::before { transform: scaleY(1); }
  .album-card:hover .album-card__cover img, .photo-grid figure:hover img, .photo-frame:hover img { transform: scale(1.06); }
  .jump-links a:hover { transform: translateY(-2px); }
  .article__back:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }
  .video-ph:hover .icon { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .page-banner { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%); } }


/* ==========================================================================
   Phase 2 additions (database-driven content)
   ========================================================================== */
.rich p, .rich ul { max-width: 62rem; margin-bottom: 1rem; }
.rich ul { padding-left: 1.2rem; display: grid; gap: .3rem; }
.rich li::marker { color: var(--yellow); }
.pdf-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .55rem; border-radius: 999px; background: #E7ECFF; color: var(--navy); font-size: .72rem; font-weight: 700; }
.date-box--muted { background: linear-gradient(180deg, #5B6885, #44516E); border-top-color: #9FADCE; }
.list-card--past { opacity: .92; }
.notice-ended { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: #EDF1F7; color: #525F7A; font-weight: 700; font-size: .85rem; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 1.5rem 0 0; padding: 0; }
.pager a, .pager span { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.pager a:hover { background: var(--navy); color: #fff; }
.pager .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .is-disabled { opacity: .5; }

/* Lightbox, video embeds, enquiry form, document empty states */
.photo-link { display: block; cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(2, 20, 71, .93); }
.lightbox__inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 3.5rem 1.25rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox__cap { color: #fff; text-align: center; margin: .75rem 0 0; font-size: .95rem; min-height: 1.4em; }
.lightbox__count { color: #C9D5F2; font-size: .8rem; margin: .25rem 0 0; }
.lightbox__btn { position: absolute; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(11, 33, 93, .7); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.lightbox__btn:hover { background: var(--yellow); color: var(--navy-deep); }
.lightbox__btn--close { top: .8rem; right: .8rem; }
.lightbox__btn--prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: .6rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev .icon { transform: scaleX(-1); }
@media (max-width: 575.98px) { .lightbox__inner { padding: 3.5rem .5rem 1rem; } .lightbox__btn--prev { left: .2rem; } .lightbox__btn--next { right: .2rem; } }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.video-embed > picture img, .video-embed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-embed__btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: #fff; text-decoration: none; background: linear-gradient(180deg, rgba(6, 22, 67, .1), rgba(6, 22, 67, .55)); }
.video-embed__play { width: 64px; height: 64px; border-radius: 50%; background: rgba(11, 33, 93, .9); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease), background-color .2s ease; }
.video-embed__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video-embed__hint { font-weight: 700; font-size: .85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (hover: hover) { .video-embed__btn:hover .video-embed__play { transform: scale(1.1); background: var(--red); } }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.enq-wrap { max-width: 56rem; }
.enq-alert { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 10px; font-weight: 600; border: 1px solid; }
.enq-alert--success { background: #E4F6EA; border-color: #A9DDBD; color: #0F5132; }
.enq-alert--danger { background: #FFE9E9; border-color: #F2B5B5; color: #8E0F23; }
.enq-alert--info { background: #E3ECFF; border-color: #B7C9F5; color: #0B43B8; }
.enq-privacy { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }
.doc-empty { margin: 0; padding: .9rem 1rem; border: 1px dashed #B8C5EA; border-radius: 12px; background: #fff; color: var(--muted); }
.steps--rich { list-style: none; counter-reset: step; padding: 0; display: grid; gap: .8rem; margin: 0; }

/* About page copy blocks */
.about-prose:not(.container-xl) { max-width: 52rem; }
.container-xl.about-prose > p { max-width: 52rem; }
.about-prose p { color: var(--text); }
.about-note { margin: 1.25rem 0 0; padding: .6rem .9rem; max-width: 52rem; background: #F3F6FF; border-left: 4px solid var(--yellow); border-radius: 8px; color: var(--text); font-size: .92rem; }
.about-contact { display: grid; gap: .5rem; font-style: normal; max-width: 42rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.about-contact > span { display: flex; align-items: flex-start; gap: .55rem; }
.about-contact .icon { color: var(--navy); margin-top: .2em; }
/* Course page: action buttons and FAQ accordion (no JavaScript needed) */
.page-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem !important; }
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; min-height: 48px; font-weight: 700; color: var(--navy-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 1.6rem; height: 1.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #E8EDFF; color: var(--navy); font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { content: "–"; background: var(--yellow); }
.faq__item[open] summary { border-bottom: 1px solid var(--line); }
.faq__item p { margin: 0; padding: .8rem 1.1rem 1rem; color: var(--text); }
.page-h3 + .spec-list { margin-top: .5rem; }
.about-prose + .page-h3, .about-prose ~ .page-h3 { margin-top: 1.5rem; }
/* B.Sc. course page: compact at-a-glance grid, subject chips, mini lists */
.glance { margin: .5rem 0 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.glance > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .85rem; border-left: 4px solid var(--yellow); }
.glance dt { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: .1rem 0 0; font-weight: 700; color: var(--navy-deep); display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; }
@media (min-width: 576px) { .glance { grid-template-columns: repeat(3, 1fr); } }
.glance-note { margin: .75rem 0 0; font-size: .85rem; color: var(--muted); }
.chip-grid { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem .5rem .55rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy-deep); box-shadow: 0 2px 8px rgba(11, 33, 93, .05); }
.chip__ico { width: 30px; height: 30px; border-radius: 50%; background: #E8EDFF; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chip__ico .icon { width: 16px; height: 16px; }
.mini-list { margin: 0; padding-left: 1.1rem; font-size: .9rem; display: grid; gap: .25rem; }
.info-card__note { margin-top: auto !important; padding-top: .5rem; font-size: .8rem !important; color: var(--muted); border-top: 1px dashed var(--line); }
@media (min-width: 992px) { #faq .faq { max-width: none; grid-template-columns: repeat(2, 1fr); align-items: start; } }
.glance--2 { grid-template-columns: repeat(2, 1fr); margin: 0 0 1rem; max-width: 34rem; }

.chip--plain { box-shadow: none; background: #F7F9FF; }

/* Public Disclosure: category tabs, search bar and document table */
.pd-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1rem; }
.pd-tab { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy-deep); font-weight: 700; font-size: .9rem; box-shadow: 0 2px 8px rgba(11, 33, 93, .05); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.pd-tab:hover { border-color: var(--navy); }
.pd-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pd-tab .icon { width: 1.05em; height: 1.05em; }
.pd-search { display: grid; gap: .6rem; grid-template-columns: 1fr; margin: 0 0 1.1rem; }
.pd-search__field { position: relative; }
.pd-search__field .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pd-search .form-control, .pd-search .form-select { min-height: 48px; border-radius: 10px; border-color: #C9D2EC; background-color: #F7F9FF; }
.pd-search .form-control { padding-left: 2.6rem; }
@media (min-width: 768px) { .pd-search { grid-template-columns: 1fr 210px auto; } }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 40px; padding: .35rem .95rem; border-radius: 8px; border: 1px solid var(--navy); font-weight: 700; font-size: .86rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pd-btn--primary { background: var(--navy); color: #fff; }
.pd-btn--primary:hover { background: var(--navy-deep); color: #fff; }
.pd-btn--outline { background: #fff; color: var(--navy); }
.pd-btn--outline:hover { background: #EAF0FF; color: var(--navy-deep); }
#pd-go { min-height: 48px; padding: .5rem 1.4rem; }
.pd-wrap { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.pd-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pd-table thead th { background: #0F368F; color: #fff; text-align: left; font-weight: 700; padding: .8rem .9rem; border-left: 1px solid rgba(255, 255, 255, .18); white-space: nowrap; }
.pd-table thead th:first-child { border-left: 0; }
.pd-table td { padding: .75rem .9rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.pd-table td:first-child { border-left: 0; }
.pd-table tbody tr:hover > td { background: #F8FAFF; }
.pd-table td strong { color: var(--navy-deep); }
.pd-col-no { width: 4.5rem; text-align: center !important; }
.pd-badge { display: inline-block; padding: .22rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid transparent; }
.pd-badge--0 { background: #DCE8FF; color: #0B43B8; border-color: #B9D1FF; } .pd-badge--1 { background: #FFF1C6; color: #7A5200; border-color: #F2DA8C; }
.pd-badge--2 { background: #DDF5E6; color: #146B39; border-color: #B5E3C6; } .pd-badge--3 { background: #ECE2FF; color: #5A2CA8; border-color: #D3BFFA; }
.pd-badge--4 { background: #FFE1E1; color: #6E0B25; border-color: #F5B8B8; } .pd-badge--5 { background: #D9F5F1; color: #0E6F64; border-color: #A9E3DA; }
.pd-file { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.pd-file__ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 36px; border-radius: 4px; background: #E5322D; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .02em; }
.pd-empty td { text-align: center; padding: 1.6rem 1rem; color: var(--muted); border-left: 0; }
.pd-row[hidden], .pd-empty[hidden] { display: none; }
@media (max-width: 767.98px) {
  .pd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pd-table, .pd-table tbody { display: block; }
  .pd-row { display: grid; gap: .35rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
  .pd-row:first-child { border-top: 0; }
  .pd-row > td { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; padding: 0; border: 0; align-items: center; }
  .pd-row > td::before { content: attr(data-label); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .pd-row > td.pd-col-no { width: auto; text-align: left !important; }
  .pd-row > td .pd-btn { justify-self: start; }
  .pd-empty { display: block; }
  .pd-empty td { display: block; }
}
/* Messages page: Director and Principal */
.leader { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.leader__photo { margin: 0; max-width: 360px; }
.leader__photo picture, .leader__photo img { display: block; width: 100%; }
.leader__photo img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px 16px 0 0; box-shadow: var(--shadow); }
.leader__id { display: grid; gap: .1rem; padding: .8rem 1rem; background: var(--navy); color: #fff; border-radius: 0 0 16px 16px; border-bottom: 4px solid var(--yellow); }
.leader__id strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .3px; text-transform: none; }
.leader__id span { font-size: .85rem; color: #D5DFF7; }
.leader__text { max-width: 46rem; }
.leader__text p { color: var(--text); }
.leader__quote { margin: 0 0 1.1rem; padding: .7rem 1rem; border-left: 4px solid var(--yellow); background: #F3F6FF; border-radius: 0 10px 10px 0; font-size: 1.1rem; font-style: italic; color: var(--navy-deep); }
.leader__sign { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--line); }
@media (min-width: 992px) {
  .leader { grid-template-columns: 360px 1fr; gap: 3rem; }
  .leader--reverse { grid-template-columns: 1fr 360px; }
  .leader--reverse .leader__photo { order: 2; }
  .leader__photo { position: sticky; top: 7rem; }
}
.leader-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .leader-cards { grid-template-columns: repeat(2, 1fr); } }
.leader-card { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.leader-card__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.leader-card__photo picture, .leader-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { margin: 0; font-size: 1.25rem; text-transform: none; }
.leader-card__role { margin: 0 0 .4rem; font-size: .84rem; color: var(--muted); }
.leader-card p { margin: 0 0 .6rem; font-size: .92rem; }
.video-link { margin: auto 0 0 !important; padding-top: .5rem; font-size: .88rem; font-weight: 700; }
.video-link a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.video-link a:hover { text-decoration: underline; }
.video-link .icon { color: #E5322D; }

/* =====================================================================================
   INNER PAGES – premium layer (photo banner, cards, tables, FAQ, forms)
   ===================================================================================== */
.page-banner--photo { position: relative; isolation: isolate; overflow: hidden; padding: 3rem 0 3.6rem; min-height: 260px; display: flex; align-items: flex-end; clip-path: none; border-radius: 0 0 28px 28px; background: var(--navy-deep); }
@media (min-width: 992px) { .page-banner--photo { padding: 4.75rem 0 4.5rem; min-height: 360px; border-radius: 0 0 44px 44px; clip-path: none; } }
.page-banner--photo .container-xl { width: 100%; }
.page-banner__bg { position: absolute; inset: 0; z-index: -2; }
.page-banner__bg picture, .page-banner__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.page-banner__bg img { animation: pbZoom 14s ease-out both; }
@keyframes pbZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-banner--photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2, 14, 60, .94) 0%, rgba(11, 33, 93, .82) 45%, rgba(11, 33, 93, .35) 100%), linear-gradient(0deg, rgba(2, 14, 60, .55), transparent 55%); }
.page-banner--photo::after { border-color: rgba(255, 212, 0, .16); z-index: -1; }
.page-banner--photo .crumbs ol { display: inline-flex; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); margin-bottom: 1rem; }
.page-banner--photo .page-banner__title { font-size: clamp(2rem, 6vw, 3.4rem); text-shadow: 0 4px 18px rgba(0, 0, 0, .35); max-width: 52rem; }
.page-banner--photo .page-banner__title::after { width: 72px; background: linear-gradient(90deg, var(--yellow), var(--red)); }
.page-banner--photo .page-banner__lead { font-size: 1.08rem; line-height: 1.6; max-width: 46rem; color: #EEF2FF; }

main:not(.home-modern) { --ring: 0 0 0 1px rgba(11, 33, 93, .08); }
main:not(.home-modern) .page-section { padding: 3rem 0; }
@media (min-width: 992px) { main:not(.home-modern) .page-section { padding: 4rem 0; } }
main:not(.home-modern) .page-section + .page-section:not(.page-section--soft) { padding-top: 3rem; }
main:not(.home-modern) .page-section--soft { background: radial-gradient(800px 400px at 0% 0%, rgba(255, 212, 0, .09), transparent 60%), linear-gradient(180deg, #F3F6FF, #EAF0FF); }
main:not(.home-modern) .page-h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); color: #0A1966; position: relative; padding-bottom: .7rem; margin-bottom: 1.1rem; }
main:not(.home-modern) .page-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--red)); }
main:not(.home-modern) .lead-text { font-size: 1.1rem; line-height: 1.75; color: #33405E; }
main:not(.home-modern) .page-section p { line-height: 1.75; }

/* photos */
main:not(.home-modern) .photo-frame { border-radius: 24px; box-shadow: 0 24px 48px rgba(6, 22, 67, .2); position: relative; }
main:not(.home-modern) .layout-aside__side .photo-frame { outline: 6px solid #fff; outline-offset: -1px; }
main:not(.home-modern) .photo-frame img { transition: transform 1s var(--ease); }
main:not(.home-modern) .photo-frame:hover img { transform: scale(1.06); }
main:not(.home-modern) .gnm-banner { border-radius: 26px; box-shadow: 0 28px 56px rgba(6, 22, 67, .22); }

/* cards */
main:not(.home-modern) .info-card { border: 0; border-radius: 22px; padding: 1.6rem 1.4rem; background: #fff; box-shadow: 0 12px 30px rgba(6, 22, 67, .08), var(--ring); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
main:not(.home-modern) .info-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--yellow), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
main:not(.home-modern) .info-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(6, 22, 67, .15); }
main:not(.home-modern) .info-card:hover::before { transform: scaleX(1); }
main:not(.home-modern) .info-card__ico { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); box-shadow: 0 10px 22px rgba(11, 33, 93, .28); transition: transform .4s var(--ease), background .4s; }
main:not(.home-modern) .info-card:hover .info-card__ico { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
main:not(.home-modern) .info-card h3 { color: #0A1966; }
main:not(.home-modern) .facility-card .photo-frame { box-shadow: none; border-radius: 16px; margin: -.4rem -.2rem 1rem; outline: 0; }
main:not(.home-modern) .side-card, main:not(.home-modern) .contact-card { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 36px rgba(6, 22, 67, .12), var(--ring); }
main:not(.home-modern) .side-card__head { background: linear-gradient(120deg, var(--navy), #0A309C); }
main:not(.home-modern) .contact-card { transition: transform .35s var(--ease); }
main:not(.home-modern) .contact-card:hover { transform: translateY(-5px); }

/* chips, steps, glance, table, FAQ */
main:not(.home-modern) .chip { border-radius: 999px; background: #fff; border: 0; box-shadow: 0 8px 20px rgba(6, 22, 67, .08), var(--ring); transition: transform .3s var(--ease), background .3s, color .3s; font-weight: 600; }
main:not(.home-modern) .chip:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }
main:not(.home-modern) .glance > div { border-radius: 16px; box-shadow: 0 8px 20px rgba(6, 22, 67, .07); }
main:not(.home-modern) .table-wrap { border-radius: 22px; border: 0; box-shadow: 0 18px 40px rgba(6, 22, 67, .12), var(--ring); }
main:not(.home-modern) .spec-table thead th { background: linear-gradient(120deg, var(--navy), #0A309C); }
main:not(.home-modern) .spec-table tbody tr { transition: background .2s; }
main:not(.home-modern) .spec-table tbody tr:hover td, main:not(.home-modern) .spec-table tbody tr:hover th { background: #FFF7D6; }
main:not(.home-modern) .faq__item { border: 0; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(6, 22, 67, .07), var(--ring); }
main:not(.home-modern) .faq__item[open] { box-shadow: 0 18px 36px rgba(6, 22, 67, .14), inset 4px 0 0 var(--yellow); }

/* lists (notices / events / albums) and forms */
main:not(.home-modern) .list-card { border: 0; border-radius: 20px; box-shadow: 0 10px 26px rgba(6, 22, 67, .08), var(--ring); transition: transform .3s var(--ease), box-shadow .3s; }
main:not(.home-modern) .list-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(6, 22, 67, .14); }
main:not(.home-modern) .album-card { border-radius: 22px; overflow: hidden; box-shadow: 0 14px 32px rgba(6, 22, 67, .12); }
main:not(.home-modern) .enq-form { border: 0; border-radius: 24px; box-shadow: 0 20px 44px rgba(6, 22, 67, .12), var(--ring); }
main:not(.home-modern) .enq-form .form-control, main:not(.home-modern) .enq-form .form-select { border-radius: 12px; min-height: 48px; border-color: #D4DDF2; transition: border-color .2s, box-shadow .2s; }
main:not(.home-modern) .enq-form .form-control:focus, main:not(.home-modern) .enq-form .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 212, 0, .35); }
main:not(.home-modern) .btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s; }
main:not(.home-modern) .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6, 22, 67, .18); }

@media (prefers-reduced-motion: reduce) {
  .page-banner__bg img { animation: none; }
  main:not(.home-modern) .info-card:hover, main:not(.home-modern) .btn:hover, main:not(.home-modern) .chip:hover, main:not(.home-modern) .list-card:hover, main:not(.home-modern) .contact-card:hover { transform: none; }
}

/* ===== About page (premium) ===== */
.about-x .ax-center { display: block; text-align: center; }
.about-x .ax-center::after { left: 50%; transform: translateX(-50%); }
.about-x .ax-center-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.ax-intro__grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .ax-intro__grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.ax-collage { position: relative; padding: 0 0 70px 0; max-width: 560px; margin: 0 auto; width: 100%; }
.ax-collage::before { content: ""; position: absolute; left: -16px; top: -16px; width: 130px; height: 130px; opacity: .45; background-image: radial-gradient(var(--navy) 2px, transparent 2.5px); background-size: 14px 14px; }
.ax-collage__main { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(6, 22, 67, .25); aspect-ratio: 4 / 3.4; }
.ax-collage__main picture, .ax-collage__main img, .ax-collage__small picture, .ax-collage__small img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ax-collage__small { position: absolute; right: -6px; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 24px 48px rgba(6, 22, 67, .28); }
.ax-collage img { transition: transform 1s var(--ease); }
.ax-collage figure:hover img { transform: scale(1.07); }
.ax-collage__badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #A8183A, var(--red-deep)); box-shadow: 0 18px 36px rgba(200, 16, 46, .4); animation: hmFloat 4.5s ease-in-out infinite; }
.ax-collage__badge strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--yellow); line-height: 1; }
.ax-collage__badge span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.15; }
.ax-stats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 576px) { .ax-stats { grid-template-columns: repeat(4, 1fr); } }
.ax-stats li { background: #fff; border-radius: 18px; padding: .9rem .8rem; text-align: center; box-shadow: 0 10px 26px rgba(6, 22, 67, .09), 0 0 0 1px rgba(11, 33, 93, .07); transition: transform .35s var(--ease); }
.ax-stats li:hover { transform: translateY(-5px); }
.ax-stats__ico { width: 42px; height: 42px; margin: 0 auto .45rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); }
.ax-stats strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #0A1966; line-height: 1.1; }
.ax-stats small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

.ax-mv { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 768px) { .ax-mv { grid-template-columns: 1fr 1fr; } }
.ax-mv__card { position: relative; overflow: hidden; border-radius: 26px; padding: 2rem 1.75rem; color: #fff; box-shadow: 0 26px 52px rgba(6, 22, 67, .25); transition: transform .4s var(--ease); }
.ax-mv__card:hover { transform: translateY(-6px); }
.ax-mv__card--mission { background: radial-gradient(400px 220px at 100% 0%, rgba(255, 212, 0, .22), transparent 60%), linear-gradient(135deg, #021147, var(--navy) 60%, #0A309C); }
.ax-mv__card--vision { background: radial-gradient(400px 220px at 100% 0%, rgba(255, 212, 0, .25), transparent 60%), linear-gradient(135deg, #8E0B20, var(--red) 65%, #A8183A); }
.ax-mv__card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .07); }
.ax-mv__ico { width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy-deep); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.ax-mv__ico .icon { width: 26px; height: 26px; }
.ax-mv__card h3 { margin: 1rem 0 .5rem; font-size: 1.35rem; text-transform: none; color: #fff; }
.ax-mv__card p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: #EAEFFF; max-width: none; }

.ax-why { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .ax-why { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.ax-checks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .65rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .ax-checks { grid-template-columns: 1fr 1fr; } }
.ax-checks li { display: flex; align-items: flex-start; gap: .6rem; background: #fff; border-radius: 14px; padding: .7rem .85rem; font-weight: 600; color: #0A1966; font-size: .93rem; box-shadow: 0 8px 20px rgba(6, 22, 67, .07), 0 0 0 1px rgba(11, 33, 93, .07); }
.ax-checks .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); stroke-width: 3; }
.ax-why__photo { position: relative; border-radius: 28px; overflow: visible; }
.ax-why__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: linear-gradient(135deg, var(--yellow), #FFB400); }
.ax-why__photo picture, .ax-why__photo img { position: relative; display: block; width: 100%; border-radius: 28px; box-shadow: 0 26px 50px rgba(6, 22, 67, .25); }
@media (max-width: 991.98px) { .ax-why__photo { margin-right: 18px; margin-bottom: 18px; } }

.ax-quote { padding: 1rem 0 3rem; }
.ax-quote__card { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 2.75rem 1.5rem; color: #fff; background: radial-gradient(500px 260px at 50% 0%, rgba(255, 212, 0, .18), transparent 60%), linear-gradient(120deg, #021147, var(--navy) 60%, #0A309C); box-shadow: 0 26px 52px rgba(6, 22, 67, .28); }
.ax-quote__card::before { content: "“"; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-family: Georgia, serif; font-size: 12rem; line-height: 1; color: rgba(255, 212, 0, .14); }
.ax-quote__text { position: relative; max-width: 52rem; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.4rem, 3.8vw, 2.2rem); line-height: 1.25; font-weight: 700; }
.ax-quote__by { position: relative; margin: 1rem 0 0; color: var(--yellow); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; max-width: none; }

.ax-campus { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .ax-campus { grid-template-columns: repeat(4, 1fr); } }
.ax-campus__item { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 16px 34px rgba(6, 22, 67, .18); }
.ax-campus__item picture, .ax-campus__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ax-campus__item:hover img { transform: scale(1.1); }
.ax-campus__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(2, 14, 60, .85)); }
.ax-campus__label { position: absolute; left: 1rem; bottom: .9rem; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ax-campus__label::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--yellow); margin-bottom: .35rem; }
@media (prefers-reduced-motion: reduce) { .ax-collage__badge { animation: none; } .ax-mv__card:hover, .ax-stats li:hover { transform: none; } }
main.about-x .page-h2.ax-center::after { left: 50%; transform: translateX(-50%); }

/* ===== Director's Desk ===== */
.dd { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .dd { grid-template-columns: 380px 1fr; gap: 3.5rem; } .dd__profile { position: sticky; top: 140px; } }
.dd__profile { max-width: 400px; margin: 0 auto; width: 100%; }
.dd__photo { position: relative; border-radius: 28px; overflow: visible; }
.dd__photo::before { content: ""; position: absolute; inset: 18px -16px -16px 18px; border-radius: 28px; background: linear-gradient(135deg, var(--yellow), #FFB400); }
.dd__photo picture, .dd__photo img { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: 28px; box-shadow: 0 28px 56px rgba(6, 22, 67, .28); }
.dd__card { position: relative; margin: -46px 18px 0; padding: 1.2rem 1.3rem; border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(135deg, #021147, var(--navy) 60%, #0A309C); box-shadow: 0 20px 40px rgba(6, 22, 67, .3); }
.dd__card p { margin: 0; max-width: none; }
.dd__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: none; letter-spacing: .02em; }
.dd__role { display: inline-block; margin-top: .35rem !important; padding: .2rem .8rem; border-radius: 999px; background: var(--yellow); color: var(--navy-deep); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.dd__org { margin-top: .6rem !important; font-size: .85rem; color: #C9D5F2; line-height: 1.45; }
.dd__msg { background: #fff; border-radius: 26px; padding: 1.75rem 1.4rem; box-shadow: 0 20px 44px rgba(6, 22, 67, .1), 0 0 0 1px rgba(11, 33, 93, .07); }
@media (min-width: 992px) { .dd__msg { padding: 2.5rem 2.75rem; } }
.dd__msg p { font-size: 1.02rem; line-height: 1.85; color: #33405E; }
.dd__quote { position: relative; margin: 0 0 1.5rem; padding: 1.2rem 1.3rem 1.2rem 3.4rem; border-radius: 18px; background: linear-gradient(135deg, #FFF8DA, #FFFDF3); border-left: 5px solid var(--yellow); font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 700; line-height: 1.3; color: #0A1966; }
.dd__quote::before { content: "“"; position: absolute; left: .9rem; top: -.2rem; font-family: Georgia, serif; font-size: 4rem; color: var(--red); line-height: 1; }
.dd__wishes { margin-bottom: .2rem !important; font-style: italic; }
.dd__sign { display: flex; flex-direction: column; border-top: 2px dashed var(--line); padding-top: .8rem; margin-top: .4rem; }
.dd__sign strong { font-family: var(--font-display); font-size: 1.5rem; color: #0A1966; text-transform: none; }
.dd__sign span { font-size: .9rem; color: var(--red); font-weight: 700; }
.page-banner--photo .crumbs ol { align-items: center; line-height: 1.2; }
.page-banner--photo .crumbs li { display: inline-flex; align-items: center; }
.page-banner--photo .crumbs a, .page-banner--photo .crumbs li[aria-current] { padding: .15rem 0; }
@media (max-width: 767.98px) {
  .ax-collage__small { right: 0; border-width: 5px; }
  .ax-collage { padding-bottom: 56px; }
  .page-banner--photo { min-height: 220px; padding: 2.25rem 0 2.5rem; }
  .page-banner--photo .page-banner__title { font-size: 1.8rem; }
  .page-banner--photo .page-banner__lead { font-size: .95rem; }
}
.dd__card .dd__name { font-size: 1.6rem !important; line-height: 1.1; color: #fff; } @media (max-width: 767.98px) { .dd__msg { padding: 1.4rem 1.1rem; } .dd__msg p { font-size: .95rem; line-height: 1.75; } }

/* ===== Photo layer: framed photos, mosaic, strips, fact bar (bx-*) ===== */
.bx-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 24px 48px rgba(6, 22, 67, .2); isolation: isolate; }
.bx-photo picture, .bx-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bx-photo img { transition: transform 1.1s var(--ease); }
.bx-photo:hover img { transform: scale(1.05); }
.bx-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem .9rem; font-size: .86rem; font-weight: 600; line-height: 1.3; color: #fff; background: linear-gradient(0deg, rgba(2, 14, 60, .88), rgba(2, 14, 60, 0)); }
.bx-photo--43 { aspect-ratio: 4 / 3; }
.bx-photo--tall { aspect-ratio: 4 / 5; }
.bx-photo--tall img { object-position: 50% 18%; }
.bx-photo--ring::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; }

/* offset-colour frame behind a photo */
.bx-frame { position: relative; margin: 0 18px 18px 0; }
.bx-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px; background: linear-gradient(135deg, var(--yellow), #FFB400); z-index: 0; }
.bx-frame--navy::before { background: linear-gradient(135deg, var(--navy), #0A309C); }
.bx-frame > .bx-photo { z-index: 1; }

/* photo + text split section */
.bx-split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .bx-split { grid-template-columns: 1fr 1fr; gap: 4rem; } .bx-split--flip > :first-child { order: 2; } }
.bx-split h2 { margin-top: 0; }

/* fact bar (course pages) */
.bx-facts { position: relative; z-index: 3; margin-top: -2.4rem; }
.bx-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 22px 50px rgba(6, 22, 67, .18), 0 0 0 1px rgba(11, 33, 93, .06); overflow: hidden; }
@media (min-width: 768px) { .bx-facts ul { grid-template-columns: repeat(4, 1fr); } }
.bx-facts li { display: flex; align-items: center; gap: .8rem; padding: 1.15rem 1.25rem; border-right: 1px solid rgba(11, 33, 93, .08); border-bottom: 1px solid rgba(11, 33, 93, .08); }
.bx-facts li:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) { .bx-facts li { border-bottom: 0; } .bx-facts li:nth-child(2n) { border-right: 1px solid rgba(11, 33, 93, .08); } .bx-facts li:last-child { border-right: 0; } }
.bx-facts__ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy-deep); }
.bx-facts__ico .icon { width: 22px; height: 22px; }
.bx-facts strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; color: var(--navy-deep); }
.bx-facts small { display: block; font-size: .76rem; font-weight: 600; color: #5A6788; margin-top: .15rem; }
@media (max-width: 575.98px) { .bx-facts li { padding: .9rem .85rem; gap: .6rem; } .bx-facts__ico { width: 38px; height: 38px; } .bx-facts strong { font-size: .92rem; } }

/* mosaic (home "learning at Biraja", about strip) */
.bx-mosaic { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; margin-top: 2rem; }
.bx-mosaic .bx-photo { border-radius: 20px; height: 100%; box-shadow: 0 14px 30px rgba(6, 22, 67, .16); }
.bx-mosaic__a { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 768px) {
  .bx-mosaic { grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: 240px; gap: 1.1rem; }
  .bx-mosaic__a { grid-column: 1; grid-row: 1 / span 2; }
  .bx-mosaic__d { grid-column: 2 / span 2; }
}
.bx-strip { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
@media (min-width: 768px) { .bx-strip { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.bx-strip .bx-photo { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 14px 30px rgba(6, 22, 67, .16); }

/* admission step list beside the photo on the home page */
.adm2__photo--student img { object-position: 50% 12%; }

/* contact: photo card under the details */
.bx-visit { margin-top: 1.4rem; }
.bx-visit .bx-photo { aspect-ratio: 16 / 9; border-radius: 20px; }

/* section heading helper */
.bx-head { max-width: 44rem; margin: 0 auto 1.6rem; text-align: center; }
.bx-head p { color: #44506E; }

/* page-banner photo nuance: keep the overlay slightly stronger on bright classroom photos */
.page-banner--photo .page-banner__bg img { object-position: 50% 35%; }
@media (prefers-reduced-motion: reduce) { .bx-photo img { transition: none; } .bx-photo:hover img { transform: none; } }

/* blog cards with photo thumbnails */
.bx-post { overflow: hidden; padding-top: 0 !important; }
.bx-post__thumb { display: block; margin: 0 -1.4rem 1.1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.bx-post__thumb picture, .bx-post__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bx-post__thumb img { transition: transform .9s var(--ease); }
.bx-post:hover .bx-post__thumb img { transform: scale(1.06); }
.adm2__step h3 { text-transform: none; }
.bx-post.info-card { display: flex !important; flex-direction: column; gap: .5rem; }
.bx-post .bx-post__thumb { grid-column: auto; }
.bx-post.info-card { padding: 0 1.4rem 1.5rem !important; }

/* home gallery: large album tiles (few albums) */
.home-modern .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.home-modern .gallery-tile { aspect-ratio: 4 / 3; }
.home-modern .gallery-tile__label { font-size: .95rem; padding: .8rem 1rem; }
/* article-card titles: navy, no underline */
.info-card h3 a { color: var(--navy-deep); text-decoration: none; }
.info-card h3 a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* centred section heads on inner pages */
.bx-head .section-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--red); letter-spacing: .2em; margin-bottom: .35rem; }
.bx-head .section-kicker::before, .bx-head .section-kicker::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
main:not(.home-modern) .bx-head .page-h2::after { left: 50%; transform: translateX(-50%); }
main:not(.home-modern) .bx-split .page-h2 { margin-top: 0; }
/* photo title banners: let the photograph show through on the right */
.page-banner--photo::before { background: linear-gradient(90deg, rgba(2, 14, 60, .92) 0%, rgba(11, 33, 93, .66) 48%, rgba(11, 33, 93, .12) 100%), linear-gradient(0deg, rgba(2, 14, 60, .5), transparent 50%); }
.bx-split .bx-photo--tall { max-width: 420px; margin-inline: auto; }
.contact-card .line { overflow-wrap: anywhere; word-break: break-word; font-size: .92rem; }

/* mobile fixes */
.bx-mosaic__d { grid-column: 1 / -1; }
@media (min-width: 768px) { .bx-mosaic__d { grid-column: 2 / span 2; } }
@media (max-width: 575.98px) {
  .home-modern .info-card .btn, main:not(.home-modern) .info-card .btn { grid-column: 1 / -1; justify-self: start; margin-top: .4rem; }
  .home-modern .info-card .check-list, .home-modern .info-card > p { grid-column: 1 / -1; }
}

/* ===== Leadership: message pages + home highlight (ld-*) ===== */
.ld-mono { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(145deg, var(--navy-deep), var(--navy) 55%, #0A309C); position: relative; overflow: hidden; }
.ld-mono::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 22px solid rgba(255, 212, 0, .14); right: -18%; top: -14%; }
.ld-mono span { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 9vw, 4.6rem); letter-spacing: .04em; color: var(--yellow); }

/* message page */
.ld-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .ld-layout { grid-template-columns: 360px 1fr; gap: 4rem; } .ld-profile { position: sticky; top: 110px; } }
.ld-profile .bx-frame { max-width: 360px; margin-inline: auto; }
.ld-profile__photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 26px 50px rgba(6, 22, 67, .25); }
.ld-profile__photo picture, .ld-profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ld-profile__card { max-width: 360px; margin: 1.6rem auto 0; background: #fff; border-radius: 22px; padding: 1.3rem 1.3rem 1.1rem; box-shadow: 0 14px 34px rgba(6, 22, 67, .1), 0 0 0 1px rgba(11, 33, 93, .07); border-top: 4px solid var(--yellow); }
.ld-profile__name { margin: 0; font-size: 1.3rem; color: var(--navy-deep); text-transform: none; }
.ld-profile__role { margin: .15rem 0 .9rem; font-weight: 700; font-size: .88rem; color: var(--red); }
.ld-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ld-facts li { display: flex; align-items: center; gap: .7rem; }
.ld-facts__ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #E7ECFF; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.ld-facts small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5A6788; }
.ld-facts strong { display: block; font-size: .95rem; color: var(--navy-deep); line-height: 1.3; }
.ld-message__body { position: relative; margin-top: 1.4rem; padding-left: 1.5rem; border-left: 4px solid var(--yellow); }
.ld-message__body p { font-size: 1.04rem; line-height: 1.85; color: #2F3A58; margin: 0 0 1.15rem; }
.ld-message__body .lead-text { font-size: 1.12rem; font-weight: 500; color: #1B2750; }
.ld-quote { position: absolute; left: -2px; top: -1.9rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(142, 18, 48, .16); pointer-events: none; }
.ld-sign { margin: 1.8rem 0 1.6rem; }
.ld-sign__line { display: block; width: 64px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--red)); margin-bottom: .8rem; }
.ld-sign__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy-deep); }
.ld-sign__role { margin: .2rem 0 0; font-size: .9rem; line-height: 1.5; color: #4A5775; }
.ld-other { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; background: #fff; border-radius: 22px; text-decoration: none; color: inherit; box-shadow: 0 14px 34px rgba(6, 22, 67, .09), 0 0 0 1px rgba(11, 33, 93, .07); transition: transform .35s var(--ease), box-shadow .35s var(--ease); max-width: 52rem; margin: 0 auto; }
.ld-other:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(6, 22, 67, .16), 0 0 0 1px rgba(11, 33, 93, .1); }
.ld-other__photo { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 3px solid var(--yellow); }
.ld-other__photo picture, .ld-other__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ld-other__photo .ld-mono span { font-size: 1.5rem; }
.ld-other__txt { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.ld-other__txt small { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ld-other__txt strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-deep); }
.ld-other__txt em { font-style: normal; font-size: .9rem; color: #4A5775; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld-other__go { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575.98px) { .ld-other__txt em { display: none; } .ld-message__body { padding-left: 1rem; } .ld-message__body p { font-size: .98rem; } }

/* home highlight */
.ld-home { position: relative; background: linear-gradient(135deg, #021147 0%, var(--navy-deep) 45%, var(--navy) 100%); color: #fff; overflow: hidden; }
.ld-home::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 54px solid rgba(255, 212, 0, .08); pointer-events: none; }
.ld-home .container-xl { position: relative; }
.ld-home .section-title { color: #fff; }
.ld-home .section-kicker { color: var(--yellow); }
.ld-home .section-head p:last-child { color: #CFDAFF; }
.ld-home__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ld-home__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.ld-card { display: grid; grid-template-columns: 38% 1fr; background: #fff; color: #2F3A58; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.ld-card__photo { display: block; position: relative; min-height: 100%; background: var(--navy-deep); }
.ld-card__photo picture, .ld-card__photo img, .ld-card__photo .ld-mono { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; position: absolute; inset: 0; }
.ld-card__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset -5px 0 0 var(--yellow); pointer-events: none; }
.ld-card__body { padding: 1.5rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.ld-card__role { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.ld-card__name { margin: 0; font-size: 1.3rem; line-height: 1.2; color: var(--navy-deep); text-transform: none; }
.ld-card__cred { margin: 0; font-size: .8rem; font-weight: 600; color: #5A6788; }
.ld-card__quote { margin: .6rem 0 .4rem; padding: 0 0 0 .9rem; border-left: 3px solid var(--yellow); font-size: .93rem; line-height: 1.65; color: #33405E; font-style: italic; }
.ld-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; color: var(--navy); text-decoration: none; padding: .35rem 0; }
.ld-card__link:hover { color: var(--red); }
.ld-card__link .icon { transition: transform .3s var(--ease); }
.ld-card__link:hover .icon { transform: translateX(4px); }
@media (max-width: 575.98px) {
  .ld-card { grid-template-columns: 1fr; }
  .ld-card__photo { aspect-ratio: 4 / 3; min-height: 0; }
  .ld-card__photo::after { box-shadow: inset 0 -5px 0 var(--yellow); }
  .ld-card__body { padding: 1.2rem; }
}
.ld-message__body { margin-top: 2.4rem; }
.ld-quote { top: -2.2rem; left: 1rem; }
.ld-card__photo .ld-mono { display: flex; }
.ld-card__photo img { object-position: 50% 6%; }
@media (max-width: 575.98px) { .ld-card__photo { aspect-ratio: 16 / 11; } }

/* ===== Blog article (post-*) ===== */
.post-meta { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.post-meta li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; font-weight: 600; }
.post-meta .icon { width: 15px; height: 15px; color: var(--yellow); }

.post-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; } .post-aside { position: sticky; top: 110px; display: grid; gap: 1.4rem; } }
.post-aside { display: grid; gap: 1.4rem; }
.post { min-width: 0; max-width: 780px; }

.post-summary { background: linear-gradient(135deg, #021147, var(--navy) 70%, #0A309C); color: #fff; border-radius: 24px; padding: 1.5rem 1.6rem 1.3rem; margin: 0 0 1.6rem; box-shadow: 0 22px 44px rgba(6, 22, 67, .22); position: relative; overflow: hidden; }
.post-summary::after { content: ""; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid rgba(255, 212, 0, .12); pointer-events: none; }
.post-summary__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }
.post-summary__title .icon { width: 20px; height: 20px; }
.post-summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .65rem; position: relative; }
.post-summary li { position: relative; padding-left: 1.5rem; font-size: .95rem; line-height: 1.6; color: #E5EBFF; }
.post-summary li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }

.post-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: .6rem; padding: .45rem 0; font-size: .9rem; font-weight: 600; line-height: 1.35; color: #33405E; text-decoration: none; border-bottom: 1px dashed rgba(11, 33, 93, .12); }
.post-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--red); padding-top: .1rem; }
.post-toc a:hover { color: var(--navy); }
.post-toc--side { background: #fff; border-radius: 22px; padding: 1.2rem 1.3rem; box-shadow: 0 14px 34px rgba(6, 22, 67, .09), 0 0 0 1px rgba(11, 33, 93, .07); border-top: 4px solid var(--yellow); }
.post-toc__title { margin: 0 0 .5rem; font-size: 1rem; color: var(--navy-deep); text-transform: none; }
.post-toc--inline { background: #fff; border-radius: 18px; padding: .2rem 1.1rem; margin: 0 0 1.6rem; box-shadow: 0 8px 22px rgba(6, 22, 67, .07), 0 0 0 1px rgba(11, 33, 93, .07); }
.post-toc--inline summary { cursor: pointer; font-weight: 800; padding: .85rem 0; color: var(--navy-deep); }
.post-toc--inline ol { padding-bottom: .7rem; }
.post-toc--side { display: none; }
@media (min-width: 992px) { .post-toc--side { display: block; } .post-toc--inline { display: none; } }

.post-body { font-size: 1.05rem; line-height: 1.85; color: #2F3A58; }
.post-body > p:first-child { font-size: 1.15rem; line-height: 1.8; font-weight: 500; color: #1B2750; }
.post-body p { margin: 0 0 1.2rem; }
.post-body h2.page-h2 { margin-top: 2.6rem !important; scroll-margin-top: 110px; }
.post-body h3.page-h3 { margin: 1.8rem 0 .5rem; color: var(--navy); }
.post-body .check-list { margin: 0 0 1.4rem; }
.post-body .table-wrap { margin: 1.2rem 0 1.6rem; }
.post-body .spec-table { font-size: .9rem; line-height: 1.55; }
.post-body .spec-table td, .post-body .spec-table th { vertical-align: top; }
.post-body .page-actions { margin: 1.2rem 0 1.6rem; }

.post-fig { margin: 2rem 0; }
.post-fig picture, .post-fig img { display: block; width: 100%; border-radius: 22px; }
.post-fig img { aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 24px 48px rgba(6, 22, 67, .2); }
.post-fig figcaption { margin-top: .7rem; padding-left: .9rem; border-left: 3px solid var(--yellow); font-size: .85rem; line-height: 1.5; font-weight: 600; color: #5A6788; }

.post-callout { display: flex; gap: 1rem; align-items: flex-start; margin: 1.8rem 0; padding: 1.2rem 1.3rem; border-radius: 20px; background: #FFF9DB; border: 1px solid #F2DE7A; border-left: 6px solid var(--yellow); }
.post-callout__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.post-callout strong { display: block; font-family: var(--font-display); color: var(--navy-deep); margin-bottom: .2rem; }
.post-callout p { margin: 0 !important; font-size: .96rem; line-height: 1.65; color: #4A4320; }

.post-steps { list-style: none; counter-reset: ps; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .9rem; position: relative; }
.post-steps li { counter-increment: ps; position: relative; display: grid; gap: .15rem; padding: 1rem 1.1rem 1rem 4rem; background: #fff; border-radius: 18px; box-shadow: 0 8px 22px rgba(6, 22, 67, .07), 0 0 0 1px rgba(11, 33, 93, .07); }
.post-steps li::before { content: counter(ps); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--font-display); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.post-steps strong { color: var(--navy-deep); font-size: 1rem; }
.post-steps span { font-size: .93rem; line-height: 1.55; color: #4A5775; }

.post-faq { margin-top: 2.6rem; }
.post-end { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(11, 33, 93, .12); }
.post-author { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 20px; background: #F4F7FF; margin-bottom: 1rem; }
.post-author__crest { flex: none; width: 60px; height: 60px; }
.post-author__crest img { width: 100%; height: auto; display: block; }
.post-author strong { font-family: var(--font-display); color: var(--navy-deep); }
.post-author p { margin: .15rem 0 0; font-size: .88rem; line-height: 1.55; color: #4A5775; }
@media (max-width: 575.98px) { .post-body { font-size: 1rem; } .post-summary { padding: 1.2rem 1.1rem; } .post-callout { flex-direction: column; } }
main.post-page .post-body p { font-size: 1.04rem; line-height: 1.85; }
main.post-page .post-body > p:first-child { font-size: 1.14rem; }
main.post-page .post-body .check-list li { font-size: 1.02rem; line-height: 1.7; }
main.post-page .post-body h3.page-h3 { margin-top: 2rem; font-size: 1.25rem; }
main.post-page .post-body .page-actions { margin-top: 1.4rem; }

/* ===== Home intro + latest notices (ix-*, ixn-*) ===== */
.ix { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(2.6rem, 5vw, 4.5rem); background: linear-gradient(180deg, #fff 0%, #F3F6FF 100%); }
.ix::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255, 212, 0, .12); pointer-events: none; }
.ix::after { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 58, 130, .09), transparent 70%); pointer-events: none; }
.ix__grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .ix__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; } }
.ix__pill { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; padding: .4rem 1rem .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(142, 18, 48, .2); box-shadow: 0 6px 18px rgba(6, 22, 67, .08); font-size: .84rem; font-weight: 700; color: var(--red); }
.ix__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: introPulse 2s infinite; }
.ix__title { margin: 0 0 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); max-width: 22ch; }
@media (min-width: 1100px) { .ix__title { max-width: 18ch; } }
.ix__lead { margin: 0 0 .9rem; max-width: 40rem; font-size: 1.16rem; line-height: 1.7; font-weight: 500; color: var(--hx-ink, #1B2750); }
.ix__copy { margin: 0; max-width: 40rem; font-size: 1rem; line-height: 1.75; color: #44506E; }
.ix__facts { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 16px 38px rgba(6, 22, 67, .1), 0 0 0 1px rgba(11, 33, 93, .07); overflow: hidden; max-width: 42rem; }
@media (min-width: 640px) { .ix__facts { grid-template-columns: repeat(4, 1fr); } }
.ix__facts li { display: flex; align-items: center; gap: .65rem; padding: .95rem 1rem; border-right: 1px solid rgba(11, 33, 93, .08); border-bottom: 1px solid rgba(11, 33, 93, .08); }
.ix__facts li:nth-child(2n) { border-right: 0; }
.ix__facts li:nth-child(n+3) { border-bottom: 0; }
@media (min-width: 640px) { .ix__facts li { border-bottom: 0; } .ix__facts li:nth-child(2n) { border-right: 1px solid rgba(11, 33, 93, .08); } .ix__facts li:last-child { border-right: 0; } }
.ix__fico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--yellow); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.ix__fico .icon { width: 19px; height: 19px; }
.ix__facts strong { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.15; color: var(--navy-deep); }
.ix__facts small { display: block; margin-top: .15rem; font-size: .72rem; font-weight: 600; line-height: 1.3; color: #5A6788; }
.ix__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.8rem 0 0; }

/* notices card */
.ixn { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 28px 60px rgba(6, 22, 67, .16), 0 0 0 1px rgba(11, 33, 93, .07); }
@media (min-width: 1100px) { .ixn { position: sticky; top: 110px; } }
.ixn__head { display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.4rem; color: #fff; background: linear-gradient(135deg, #021147 0%, var(--navy-deep) 45%, var(--red-deep) 130%); position: relative; overflow: hidden; }
.ixn__head::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(255, 212, 0, .14); }
.ixn__bell { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--yellow); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.ixn__bell .icon { width: 22px; height: 22px; }
.ixn__title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: #fff; text-transform: none; }
.ixn__sub { margin: .1rem 0 0; font-size: .82rem; color: #CFDAFF; }
.ixn__list { list-style: none; margin: 0; padding: .4rem .6rem; }
.ixn__item { display: flex; align-items: center; gap: .9rem; padding: .8rem .7rem; border-radius: 16px; text-decoration: none; color: var(--navy-deep); transition: background .2s; }
.ixn__item:hover { background: #F3F6FF; color: var(--navy-deep); }
.ixn__item > .icon { flex: none; width: 18px; height: 18px; color: var(--red); opacity: .6; transition: transform .25s var(--ease), opacity .2s; }
.ixn__item:hover > .icon { opacity: 1; transform: translateX(3px); }
.ixn__list li + li .ixn__item { box-shadow: 0 -1px 0 rgba(11, 33, 93, .07); border-radius: 0 0 16px 16px; }
.ixn__date { flex: none; width: 54px; padding: .45rem 0 .4rem; border-radius: 14px; text-align: center; background: #FFF9DB; border: 1px solid #F2DE7A; }
.ixn__date b { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--navy-deep); }
.ixn__date span { display: block; margin-top: .15rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ixn__body { flex: 1; min-width: 0; }
.ixn__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .94rem; font-weight: 600; line-height: 1.4; }
.ixn__new { display: inline-block; margin-top: .25rem; padding: .1rem .55rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ixn__empty { margin: 0; padding: 1.4rem; color: #5A6788; font-size: .95rem; }
.ixn__foot { padding: .9rem 1.4rem 1.2rem; border-top: 1px solid rgba(11, 33, 93, .08); }
.ixn__foot a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; transition: background .2s; }
.ixn__foot a:hover { background: var(--red); color: #fff; }
@media (max-width: 575.98px) { .ix__actions .btn { flex: 1 1 100%; justify-content: center; } .ixn__head { padding: 1rem; } }

/* intro heading: smaller, balanced lines */
.ix__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; letter-spacing: -.01em; max-width: 30ch; text-wrap: balance; }
@media (min-width: 1100px) { .ix__title { max-width: 30ch; } }

/* intro heading: brand name big on one line, tagline small below */
.ix__title { display: flex; flex-direction: column; gap: .55rem; margin: 0 0 1.2rem; max-width: none; font-size: 1rem; line-height: 1.2; letter-spacing: 0; text-wrap: initial; }
.ix__brand { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.7vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.ix__b1 { color: #1F3A82; }
.ix__b2 { color: #8E1230; }
.ix__b3 { color: #D08A00; }
.ix__sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(.98rem, 1.35vw, 1.15rem); line-height: 1.45; letter-spacing: 0; color: #44506E; max-width: 34rem; }
@media (max-width: 399.98px) { .ix__brand { white-space: normal; } }

/* intro brand name: refined (logo navy to maroon gradient, lighter weight, yellow underline) */
.ix__brand { font-weight: 700; font-size: clamp(2rem, 3.8vw, 3.3rem); letter-spacing: -.015em; padding-bottom: .55rem; position: relative; color: transparent; background: linear-gradient(90deg, #1F3A82 0%, #1F3A82 30%, #8E1230 85%); -webkit-background-clip: text; background-clip: text; width: fit-content; }
.ix__brand .ix__b1, .ix__brand .ix__b2, .ix__brand .ix__b3 { color: transparent; background: none; }
.ix__brand::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); }
.ix__sub { font-weight: 500; font-size: clamp(.95rem, 1.2vw, 1.08rem); color: #4A5775; margin-top: .3rem; }
.ix__sub { font-weight: 700; color: #33405E; }
.ix__sub { font-weight: 800; color: #0B1230; }
.ix__sub { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; max-width: 40rem; }
.ix__sub { text-wrap: balance; max-width: 36rem; }
.ix__sub { max-width: none; text-wrap: wrap; font-size: clamp(1rem, 1.9vw, 1.2rem); }
@media (min-width: 768px) { .ix__sub { white-space: nowrap; font-size: clamp(.95rem, 1.28vw, 1.2rem); } }
@media (min-width: 768px) and (max-width: 1099.98px) { .ix__sub { font-size: clamp(1rem, 2.2vw, 1.2rem); } }

/* ===== Home About (ab-*) ===== */
.ab { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0; background: #fff; }
.ab::before { content: ""; position: absolute; left: -200px; top: 10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .14), transparent 68%); pointer-events: none; }
.ab__grid { position: relative; display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .ab__grid { grid-template-columns: 1fr 1.02fr; gap: 5rem; } }

.ab__media { position: relative; padding: 0 0 4.5rem 0; max-width: 620px; width: 100%; margin: 0 auto; }
.ab__media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 62%; height: 62%; border-radius: 32px; background: linear-gradient(135deg, var(--navy), #0A309C); z-index: 0; }
.ab__main { position: relative; z-index: 1; aspect-ratio: 4 / 3.3; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(6, 22, 67, .25); background: var(--navy-deep); }
.ab__main picture, .ab__main img, .ab__small picture, .ab__small img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab__small { position: absolute; z-index: 2; right: -14px; bottom: 0; width: 44%; aspect-ratio: 1 / 1.05; border-radius: 24px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 24px 48px rgba(6, 22, 67, .28); background: var(--navy-deep); }
.ab__badge { position: absolute; z-index: 3; left: 22px; bottom: 1.6rem; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem .8rem .85rem; border-radius: 18px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 16px 36px rgba(6, 22, 67, .22); border-left: 5px solid var(--yellow); }
.ab__badge-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ab__badge-ico .icon { width: 21px; height: 21px; }
.ab__badge strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; color: var(--navy-deep); }
.ab__badge small { display: block; font-size: .78rem; font-weight: 600; color: #5A6788; margin-top: .1rem; }

.ab__title { margin: 0 0 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); }
.ab__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin-top: .9rem; }
.ab__lead { margin: 0 0 1.4rem; max-width: 40rem; font-size: 1.1rem; line-height: 1.75; font-weight: 500; color: #1B2750; }
.ab__aim { margin: 0 0 .7rem; font-weight: 800; font-size: .95rem; color: var(--red); }
.ab__points { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; grid-template-columns: 1fr; max-width: 40rem; }
@media (min-width: 576px) { .ab__points { grid-template-columns: 1fr 1fr; } }
.ab__points li { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 16px; background: #F3F6FF; border: 1px solid rgba(11, 33, 93, .07); font-weight: 700; font-size: .95rem; color: var(--navy-deep); transition: background .2s, transform .25s var(--ease), box-shadow .25s; }
.ab__points li:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6, 22, 67, .1); }
.ab__pico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
.ab__pico .icon { width: 19px; height: 19px; }
.ab__copy { margin: 0; max-width: 40rem; font-size: .98rem; line-height: 1.75; color: #44506E; }
.ab__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }
@media (max-width: 575.98px) { .ab__media { padding-bottom: 3.2rem; } .ab__small { right: -6px; } .ab__badge { left: 10px; bottom: 1rem; } .ab__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ===== Home: courses + leadership messages combined (cm-*) ===== */
.cm { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0; background: linear-gradient(180deg, #F3F6FF 0%, #fff 70%); }
.cm__head { text-align: center; max-width: 46rem; margin: 0 auto 2.4rem; }
.cm__title { margin: .4rem 0 .9rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); }
.cm__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin: .9rem auto 0; }
.cm__head > p:last-child { margin: 0; color: #4A5774; line-height: 1.7; }

.cm__courses { display: grid; gap: 1.5rem; grid-template-columns: 1fr; position: relative; z-index: 2; }
@media (min-width: 768px) { .cm__courses { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.cm-course { display: flex; flex-direction: column; padding: 1.8rem 1.8rem 1.7rem; background: #fff; border-radius: 28px; border: 1px solid rgba(11, 33, 93, .08); box-shadow: 0 22px 50px rgba(6, 22, 67, .1); border-top: 5px solid var(--yellow); transition: transform .3s var(--ease), box-shadow .3s; }
.cm-course:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(6, 22, 67, .16); }
.cm-course__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.cm-course__ico { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(11, 33, 93, .25); }
.cm-course__ico .icon { width: 27px; height: 27px; }
.cm-course__dur { padding: .4rem .95rem; border-radius: 999px; background: var(--navy-deep); color: #fff; font-weight: 800; font-size: .82rem; }
.cm-course h3 { margin: 0 0 .55rem; font-size: 1.5rem; line-height: 1.2; color: var(--navy-deep); text-transform: none; }
.cm-course p { margin: 0 0 1rem; font-size: .96rem; line-height: 1.7; color: #44506E; }
.cm-list { list-style: none; margin: 0 0 1.4rem; padding: 1rem 0 0; border-top: 1px dashed rgba(11, 33, 93, .18); display: grid; gap: .55rem; }
.cm-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; font-weight: 600; color: #26335A; }
.cm-list .icon { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--navy); color: #fff; margin-top: 2px; }
.cm-course .btn { margin-top: auto; align-self: flex-start; }

.cm__band { position: relative; z-index: 1; margin-top: 2.2rem; padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem); border-radius: 32px; color: #fff; background: linear-gradient(135deg, #021147 0%, var(--navy-deep) 50%, var(--navy) 100%); box-shadow: 0 30px 60px rgba(6, 22, 67, .3); overflow: hidden; }
.cm__band::before { content: ""; position: absolute; right: -100px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; border: 46px solid rgba(255, 212, 0, .08); pointer-events: none; }
.cm__band > * { position: relative; }
.cm__band-head { text-align: center; margin-bottom: 1.8rem; }
.cm__band-kicker { margin: 0 0 .4rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.cm__band-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; color: #fff; text-transform: none; }
.cm__band-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .cm__band-grid { grid-template-columns: 1fr 1fr; gap: 0; } .cm-lead:first-child { padding-right: 2.4rem; border-right: 1px solid rgba(255, 255, 255, .16); } .cm-lead:last-child { padding-left: 2.4rem; } }
.cm-lead { display: grid; grid-template-columns: 108px 1fr; gap: 1.2rem; align-items: start; }
.cm-lead__photo { position: relative; display: block; width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 4px solid var(--yellow); background: var(--navy-deep); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.cm-lead__photo picture, .cm-lead__photo img, .cm-lead__photo .ld-mono { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.cm-lead__photo .ld-mono { display: flex; }
.cm-lead h3 { margin: 0 0 .2rem; font-size: 1.2rem; line-height: 1.25; color: #fff; text-transform: none; }
.cm-lead__role { margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.cm-lead__role span { display: block; margin-top: .15rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #BFCBF0; }
.cm-lead blockquote { margin: 0 0 .6rem; font-size: .93rem; line-height: 1.65; font-style: italic; color: #E4EAFF; }
.cm-lead__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; color: #fff; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.cm-lead__link:hover { color: var(--yellow); }
.cm-lead__link .icon { transition: transform .3s var(--ease); }
.cm-lead__link:hover .icon { transform: translateX(4px); }
@media (max-width: 575.98px) { .cm-lead { grid-template-columns: 84px 1fr; gap: .9rem; } .cm-lead__photo { width: 84px; height: 84px; } .cm-course .btn { align-self: stretch; justify-content: center; } }

/* ===== Home: campus photos + why choose us combined (wc-*) ===== */
.wc { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0; background: #F3F6FF; }
.wc::before { content: ""; position: absolute; right: -130px; top: -150px; width: 400px; height: 400px; border-radius: 50%; border: 46px solid rgba(11, 33, 93, .045); pointer-events: none; }
.wc .container-xl { position: relative; }
.wc__head { text-align: center; max-width: 46rem; margin: 0 auto 2.4rem; }
.wc__title { margin: .4rem 0 .9rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); }
.wc__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin: .9rem auto 0; }
.wc__head > p:last-child { margin: 0; color: #4A5774; line-height: 1.7; }
.wc__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 992px) { .wc__grid { grid-template-columns: 1.1fr 1fr; gap: 2.8rem; } }

.wc__photos { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; }
.wc__photos .bx-photo { border-radius: 22px; box-shadow: 0 18px 40px rgba(6, 22, 67, .16); }
.wc__photos .wc__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.wc__photos .bx-photo:not(.wc__main) { aspect-ratio: 4 / 3; }
.wc__photos .wc__main img { object-position: 50% 40%; }
.wc__more { grid-column: 1 / -1; margin: .5rem 0 0; }

.wc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-rows: repeat(6, 1fr); }
.wc-item { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.2rem; background: #fff; border-radius: 20px; border: 1px solid rgba(11, 33, 93, .07); box-shadow: 0 10px 24px rgba(6, 22, 67, .06); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.wc-item:hover { transform: translateX(4px); box-shadow: 0 16px 34px rgba(6, 22, 67, .12); border-color: rgba(255, 212, 0, .7); }
.wc-item__ico { flex: none; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(11, 33, 93, .22); }
.wc-item__ico .icon { width: 24px; height: 24px; }
.wc-item h3 { margin: 0 0 .15rem; font-size: 1.06rem; line-height: 1.25; color: var(--navy-deep); text-transform: none; }
.wc-item p { margin: 0; font-size: .92rem; line-height: 1.5; color: #4A5774; }
@media (max-width: 575.98px) { .wc__photos .bx-photo figcaption { font-size: .76rem; padding: 1.6rem .7rem .6rem; } }

/* ===== Home testimonials: premium dark band ===== */
.section--testimonials { position: relative; overflow: hidden; padding: clamp(3.5rem, 6vw, 5.5rem) 0; border-top: 0; color: #fff; background: linear-gradient(135deg, #021147 0%, var(--navy-deep) 50%, var(--navy) 100%); }
.section--testimonials::before { content: ""; position: absolute; left: -140px; bottom: -180px; width: 440px; height: 440px; border-radius: 50%; border: 54px solid rgba(255, 212, 0, .07); pointer-events: none; }
.section--testimonials::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .16), transparent 68%); pointer-events: none; }
.section--testimonials .testi { position: relative; z-index: 1; gap: 2.2rem; }
@media (min-width: 1200px) { .section--testimonials .testi { grid-template-columns: .72fr 3fr; gap: 3rem; } }
.section--testimonials .eyebrow-title { color: var(--yellow); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 800; margin: 0 0 .7rem; }
.section--testimonials .testi__intro .section-title { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.15; text-transform: none; margin: 0 0 1rem; }
.section--testimonials .testi__intro .section-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin-top: .9rem; }
.testi__lead { margin: 0; color: #CFDAFF; line-height: 1.7; font-size: .98rem; max-width: 22rem; }

.section--testimonials .testi-slider .testi__list { gap: 1.3rem; padding: .8rem .6rem 2.4rem; margin: -.8rem -.6rem -1.2rem; scroll-padding-inline: .6rem; }
.section--testimonials .testi-card { display: flex; flex-direction: column; gap: 0; position: relative; overflow: hidden; padding: 2rem 1.8rem 1.6rem; border: 0; border-radius: 26px; background: #fff; color: #2F3A58; box-shadow: 0 14px 30px rgba(0, 0, 0, .24); border-top: 5px solid var(--yellow); }
.section--testimonials .testi-card::after { display: none; }
.testi-card__mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--navy); color: var(--yellow); font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; line-height: 1; padding-top: .55rem; box-sizing: border-box; box-shadow: 0 10px 20px rgba(11, 33, 93, .25); }
.section--testimonials .testi-card blockquote { margin: 0 0 1.5rem; font-size: .98rem; line-height: 1.75; color: #33405E; flex: 1; }
.section--testimonials .testi-card blockquote p { margin: 0; font-style: normal; }
.testi-card__who { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px dashed rgba(11, 33, 93, .18); }
.section--testimonials .testi-card .avatar { width: 58px; height: 58px; border: 3px solid var(--yellow); box-shadow: 0 6px 14px rgba(11, 33, 93, .2); }
.testi-card__id { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.testi-card__id strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; color: var(--navy-deep); }
.testi-card__id span { font-size: .8rem; font-weight: 700; color: var(--red); }
@media (hover: hover) { .section--testimonials .testi-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(0, 0, 0, .3); } }

.section--testimonials .testi-nav { background: var(--yellow); color: var(--navy-deep); border: 0; width: 46px; height: 46px; margin-top: -30px; box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }
.section--testimonials .testi-nav:hover:not(:disabled) { background: #fff; color: var(--navy); }
.section--testimonials .testi-nav--prev { left: -18px; }
.section--testimonials .testi-nav--next { right: -18px; }
@media (max-width: 575.98px) { .section--testimonials .testi-nav--prev { left: -8px; } .section--testimonials .testi-nav--next { right: -8px; } .section--testimonials .testi-card { padding: 1.6rem 1.3rem 1.3rem; } }

/* ===== Home: Study in Jajpur (sj-*) ===== */
.sj { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: #fff; }
.sj__panel { position: relative; overflow: hidden; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 36px; background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFF 55%, #FFF9DB 100%); border: 1px solid rgba(11, 33, 93, .08); box-shadow: 0 26px 60px rgba(6, 22, 67, .08); }
.sj__panel::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 48px solid rgba(11, 33, 93, .04); pointer-events: none; }
.sj__panel > * { position: relative; }
@media (min-width: 992px) { .sj__panel { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; } }
.sj__title { margin: .4rem 0 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); }
.sj__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin-top: .9rem; }
.sj__lead { margin: 0 0 1.2rem; font-size: 1.08rem; line-height: 1.75; font-weight: 500; color: #1B2750; max-width: 40rem; }
.sj__chips { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.sj__chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .6rem; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 33, 93, .1); box-shadow: 0 6px 14px rgba(6, 22, 67, .06); font-size: .86rem; font-weight: 700; color: var(--navy-deep); }
.sj__chips .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--navy); color: var(--yellow); flex: none; box-sizing: border-box; }
.sj__copy { margin: 0; font-size: .96rem; line-height: 1.8; color: #4A5774; max-width: 40rem; }
.sj__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }

.sj__media { position: relative; padding: 0 1.4rem 2.2rem 0; max-width: 560px; width: 100%; margin: 0 auto; }
.sj__media::before { content: ""; position: absolute; right: 0; top: 1.6rem; bottom: .6rem; width: 62%; border-radius: 30px; background: linear-gradient(135deg, var(--navy), #0A309C); }
.sj__media::after { content: ""; position: absolute; left: -16px; top: -16px; width: 96px; height: 96px; border-radius: 24px; background: var(--yellow); opacity: .9; z-index: 0; }
.sj__photo { position: relative; z-index: 1; aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(6, 22, 67, .28); background: var(--navy-deep); }
.sj__photo picture, .sj__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sj__card { position: absolute; z-index: 2; left: -10px; bottom: 0; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.15rem .85rem .85rem; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 38px rgba(6, 22, 67, .24); border-left: 5px solid var(--yellow); }
.sj__card-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.sj__card-ico .icon { width: 21px; height: 21px; }
.sj__card strong { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.2; color: var(--navy-deep); }
.sj__card small { display: block; margin-top: .1rem; font-size: .76rem; font-weight: 600; color: #5A6788; }
@media (max-width: 575.98px) { .sj__panel { border-radius: 26px; } .sj__media { padding-right: .8rem; } .sj__card { left: 0; } .sj__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ===== Home FAQ: photo + accordion (fq-*) ===== */
.fq { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0; background: linear-gradient(180deg, #F3F6FF 0%, #fff 100%); }
.fq::before { content: ""; position: absolute; right: -140px; top: -120px; width: 400px; height: 400px; border-radius: 50%; border: 46px solid rgba(11, 33, 93, .04); pointer-events: none; }
.fq__grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .fq__grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } .fq__side { position: sticky; top: 96px; } }
.fq__title { margin: .4rem 0 1.6rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.18; letter-spacing: -.015em; text-transform: none; color: var(--navy-deep); }
.fq__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; background: var(--yellow); margin-top: .9rem; }
.fq__media { position: relative; padding: 0 0 2.4rem; max-width: 520px; }
.fq__media::before { content: ""; position: absolute; left: -14px; top: 18px; bottom: 1.2rem; width: 60%; border-radius: 28px; background: linear-gradient(135deg, var(--navy), #0A309C); }
.fq__photo { position: relative; aspect-ratio: 4 / 3.3; border-radius: 26px; overflow: hidden; box-shadow: 0 26px 52px rgba(6, 22, 67, .25); background: var(--navy-deep); }
.fq__photo picture, .fq__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fq__help { position: absolute; right: -8px; bottom: 0; display: flex; align-items: center; gap: .75rem; max-width: 92%; padding: .85rem 1.1rem .85rem .85rem; border-radius: 18px; background: #fff; box-shadow: 0 18px 38px rgba(6, 22, 67, .22); border-left: 5px solid var(--yellow); }
.fq__help-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fq__help-ico .icon { width: 20px; height: 20px; }
.fq__help strong { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.2; color: var(--navy-deep); }
.fq__help small { display: block; margin-top: .15rem; font-size: .8rem; font-weight: 600; color: #5A6788; line-height: 1.45; }
.fq__help small a { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

.fq__list { display: grid; gap: .8rem; }
.fq__item { background: #fff; border-radius: 20px; border: 1px solid rgba(11, 33, 93, .08); box-shadow: 0 10px 24px rgba(6, 22, 67, .06); transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.fq__item:hover { border-color: rgba(11, 33, 93, .18); }
.fq__item[open] { box-shadow: 0 18px 38px rgba(6, 22, 67, .13), inset 5px 0 0 var(--yellow); border-color: rgba(255, 212, 0, .6); }
.fq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; min-height: 60px; font-weight: 700; font-size: 1.02rem; line-height: 1.4; color: var(--navy-deep); }
.fq__item summary::-webkit-details-marker { display: none; }
.fq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #EEF2FF; color: var(--navy); font-size: 1.3rem; font-weight: 600; line-height: 1; transition: background .25s, transform .3s var(--ease); }
.fq__item[open] summary::after { content: "–"; background: var(--yellow); color: var(--navy-deep); transform: rotate(180deg); }
.fq__item summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; border-radius: 20px; }
.fq__item p { margin: 0; padding: 0 1.3rem 1.3rem; font-size: .96rem; line-height: 1.75; color: #44506E; }
@media (max-width: 575.98px) { .fq__help { right: 0; } .fq__item summary { padding: 1rem 1.05rem; font-size: .98rem; } .fq__item p { padding: 0 1.05rem 1.1rem; } }

/* ===== Home: smooth scroll effects ===== */
html { scroll-behavior: smooth; }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 2000; width: 100%; height: 4px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--yellow), var(--red)); pointer-events: none; }
.par { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }

/* Reveal variants — doubled selector so they win over each component's own transitions and clip-path */
.reveal.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.reveal:not(.reveal--img) { clip-path: none; }
.reveal.reveal--left { transform: translateX(-48px); }
.reveal.reveal--right { transform: translateX(48px); }
.reveal.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 767.98px) { .reveal.reveal--left, .reveal.reveal--right { transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } .par { transform: none; } }

/* ===== Mobile polish: bigger header logo, grid tracks that can shrink (no sideways overflow) ===== */
.ab__grid, .cm__courses, .cm__band-grid, .wc__grid, .sj__panel, .fq__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .cm__courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .ab__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
  .cm__band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .sj__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .fq__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.ab__grid > *, .wc__grid > *, .sj__panel > *, .fq__grid > *, .cm-lead > *, .cm-course > * { min-width: 0; }
.ab__title, .ab__lead, .ab__copy, .sj__title, .sj__lead, .sj__copy, .fq__title, .cm__title, .wc__title { overflow-wrap: anywhere; }

@media (max-width: 575.98px) {
  .mainbar .brand .brand__logo { height: 66px; }
  .mainbar > .container-xl { padding-top: .35rem; padding-bottom: .35rem; }
  /* every button row: full width, centred text, same gap */
  .ab__actions, .sj__actions, .intro__actions, .ix__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .ab__actions .btn, .sj__actions .btn, .intro__actions .btn, .ix__actions .btn, .cm-course .btn { width: 100%; justify-content: center; text-align: center; margin: 0; }
}
/* small phones: WhatsApp already has its floating button, so the header gives that room to the logo */
@media (max-width: 419.98px) { .mainbar .brand .brand__logo { height: 62px; } .mainbar__quick .quick-btn--wa { display: none; } }
@media (max-width: 359.98px) { .mainbar .brand .brand__logo { height: 54px; } }
@media (max-width: 575.98px) { .wc__more .btn, .section-more .btn { width: 100%; justify-content: center; } }
@media (max-width: 1199.98px) { .section--testimonials .testi-nav--prev { left: -10px; } .section--testimonials .testi-nav--next { right: -10px; } }

/* Intro heading: "Biraja Nursing College" stays on one line on every phone — the size follows the screen width */
@media (max-width: 767.98px) { .ix__brand { font-size: clamp(1.25rem, 7.4vw, 2.6rem); white-space: nowrap; } }
@media (max-width: 389.98px) { .mainbar .brand .brand__logo { height: 56px; } }

/* ===== Mobile: tracks that can shrink, decorative offsets that stay inside the screen ===== */
.layout-aside { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; } }
.layout-aside > *, .bx-split > *, .ld-layout > * { min-width: 0; }
.page-h2, .page-h3, .lead-text, .about-prose, .side-card__head { overflow-wrap: anywhere; }
.ld-profile .bx-frame { max-width: min(360px, calc(100% - 18px)); }
@media (max-width: 575.98px) {
  .bx-frame { margin: 0 12px 12px 0; }
  .bx-frame::before { inset: 12px -12px -12px 12px; }
  .ld-profile .bx-frame { max-width: calc(100% - 12px); margin-inline: 0 12px; }
}
.phone-row__num { min-width: 0; }
@media (max-width: 399.98px) { .phone-row--card .phone-row__num { font-size: 1.1rem; } .phone-row { gap: .5rem; } .side-card__body { padding-inline: 1rem; } }
.side-card__body { grid-template-columns: minmax(0, 1fr); }
.side-card__body a.line, .side-card__body p { overflow-wrap: anywhere; min-width: 0; }
.ix__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .ix__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.ix__text, .ixn { min-width: 0; }
.ix__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ix__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ix__facts li { min-width: 0; }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 339.98px) { .mainbar .brand .brand__logo { height: 46px; } .mainbar__quick { gap: .25rem; } }
.bx-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .bx-facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bx-facts li { min-width: 0; }
@media (max-width: 359.98px) { .bx-facts li, .ix__facts li { padding: .8rem .7rem; gap: .5rem; } .bx-facts li > span:first-child, .ix__facts li > span:first-child { display: none; } }
.footer-contact, .footer-contact * { overflow-wrap: anywhere; min-width: 0; }

/* Blog tables on phones: each row becomes a small card, so nothing needs sideways scrolling */
@media (max-width: 575.98px) {
  .post-body .table-wrap { overflow: visible; box-shadow: none; background: none; border-radius: 0; }
  .post-body .spec-table, .post-body .spec-table tbody, .post-body .spec-table tr, .post-body .spec-table th, .post-body .spec-table td { display: block; width: 100%; }
  .post-body .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .post-body .spec-table tbody tr { margin-bottom: .9rem; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 26px rgba(6, 22, 67, .1), 0 0 0 1px rgba(11, 33, 93, .08); }
  .post-body .spec-table tbody th[scope="row"] { padding: .8rem 1rem; background: linear-gradient(120deg, var(--navy), #0A309C); color: #fff; font-size: .95rem; text-align: left; }
  .post-body .spec-table tbody td { padding: .65rem 1rem; border-top: 1px solid rgba(11, 33, 93, .08); }
  .post-body .spec-table tbody td::before { content: attr(data-label); display: block; margin-bottom: .1rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
}
.rich, .prose, .article, .empty-state, .empty-state p, .ld-other__txt, .notice-body { overflow-wrap: anywhere; }
.post-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.post-layout > *, .post-body > * { min-width: 0; }
.post-body, .post-body a { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .post-body .spec-table thead { display: block; } .post-body .spec-table thead tr, .post-body .spec-table thead th { display: block; width: auto; white-space: nowrap; } }
@media (max-width: 575.98px) { .post-body .spec-table { min-width: 0; } }

/* Google Map is shown straight away (no click-to-load) */
.map-box--live { max-width: none; aspect-ratio: 16 / 11; border-radius: 16px; box-shadow: 0 14px 34px rgba(6, 22, 67, .18); }
.footer-map-col .map-box--live { max-width: 100%; aspect-ratio: 4 / 3; }
.map-box--live iframe { filter: none; }

/* ===== Contact cards (cx-*) – 3 premium cards ===== */
.cx-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .cx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } .cx-card--feature { grid-column: auto; } }
.cx-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: .8rem; padding: 1.75rem 1.6rem 1.6rem; background: linear-gradient(180deg, #fff 0%, #F6F8FD 100%); border-radius: 24px; box-shadow: 0 18px 40px rgba(6, 22, 67, .11), 0 0 0 1px rgba(31, 58, 130, .08); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cx-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--yellow) 0 28%, var(--navy) 28% 100%); }
.cx-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .16), transparent 70%); pointer-events: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .cx-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(6, 22, 67, .17), 0 0 0 1px rgba(31, 58, 130, .12); } }
.cx-ico { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--navy), #2D54B8); box-shadow: 0 10px 20px rgba(31, 58, 130, .28); position: relative; z-index: 1; }
.cx-ico .icon { width: 24px; height: 24px; }
.cx-title { font-size: 1.3rem; margin: .35rem 0 0; color: var(--navy-deep, #0B215D); text-transform: none; position: relative; z-index: 1; }
.cx-sub { margin: 0; color: #55607A; font-size: .94rem; line-height: 1.55; }
.cx-phones { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .55rem; }
.cx-phones a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .6rem .6rem 1rem; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(31, 58, 130, .1); text-decoration: none; color: var(--navy-deep, #0B215D); transition: box-shadow .25s ease, transform .25s ease; }
.cx-phones a:hover { box-shadow: 0 0 0 2px var(--maroon, #8E1230), 0 8px 18px rgba(142, 18, 48, .12); }
.cx-phones__num { font-family: var(--font-head, 'Poppins', sans-serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; white-space: nowrap; }
.cx-phones__go { width: 36px; height: 36px; border-radius: 50%; background: var(--maroon, #8E1230); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cx-phones__go .icon { width: 17px; height: 17px; }
.cx-wa { margin-top: .15rem; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 14px; background: #25D366; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 22px rgba(37, 211, 102, .32); transition: filter .2s ease; }
.cx-wa:hover { filter: brightness(.95); color: #fff; }
.cx-wa > .icon, .cx-wa > svg { width: 28px; height: 28px; flex: none; }
.cx-wa span { display: flex; flex-direction: column; line-height: 1.25; }
.cx-wa small { font-weight: 500; font-size: .84rem; opacity: .95; }
.cx-addr { margin: .35rem 0 0; font-style: normal; font-size: .98rem; line-height: 1.6; color: #2B3550; display: flex; flex-direction: column; }
.cx-addr strong { font-family: var(--font-head, 'Poppins', sans-serif); color: var(--navy-deep, #0B215D); font-size: 1.02rem; }
.cx-mail { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(31, 58, 130, .1); text-decoration: none; color: var(--navy-deep, #0B215D); font-weight: 600; font-size: .95rem; min-width: 0; transition: box-shadow .25s ease; }
.cx-mail:hover { box-shadow: 0 0 0 2px var(--navy), 0 8px 18px rgba(31, 58, 130, .12); }
.cx-mail__ico { width: 36px; height: 36px; border-radius: 50%; background: rgba(31, 58, 130, .1); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cx-mail__ico .icon { width: 17px; height: 17px; }
.cx-mail__txt { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.cx-mail__txt small { font-weight: 500; font-size: .78rem; color: #6A7490; }
.cx-link { margin-top: auto; padding-top: .3rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--maroon, #8E1230); text-decoration: none; }
.cx-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cx-link .icon { width: 16px; height: 16px; }
.cx-card--feature { background: linear-gradient(155deg, #16306F 0%, #1F3A82 55%, #2D2A6E 100%); color: #fff; box-shadow: 0 22px 48px rgba(11, 33, 93, .34); }
.cx-card--feature::after { background: radial-gradient(circle, rgba(255, 212, 0, .28), transparent 70%); }
.cx-card--feature .cx-ico { background: var(--yellow); color: var(--navy-deep, #0B215D); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.cx-card--feature .cx-title { color: #fff; }
.cx-card--feature .cx-sub { color: rgba(255, 255, 255, .82); }
.cx-courses { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.cx-courses li { padding: .65rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-weight: 600; display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.cx-courses small { color: var(--yellow); font-weight: 700; font-size: .85rem; }
.cx-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; background: var(--yellow); color: var(--navy-deep, #0B215D); font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px rgba(0, 0, 0, .25); transition: transform .2s ease, filter .2s ease; }
.cx-btn:hover { filter: brightness(1.05); transform: translateY(-2px); color: var(--navy-deep, #0B215D); }
.cx-btn .icon { width: 17px; height: 17px; }
@media (max-width: 575.98px) { .cx-card { padding: 1.5rem 1.2rem 1.3rem; border-radius: 20px; } .cx-btn { align-self: stretch; justify-content: center; } .cx-phones__num { font-size: 1.05rem; } }
.cx-wa svg.icon.wa-icon { fill: #fff; color: #fff; width: 30px; height: 30px; vertical-align: middle; }
.cx-mail { font-size: .88rem; letter-spacing: -.005em; }
.cx-mail__txt { overflow-wrap: break-word; }
@media (min-width: 1100px) and (max-width: 1399.98px) { .cx-mail { font-size: .82rem; } .cx-card { padding-inline: 1.3rem; } }
.cx-phones a { justify-content: flex-start; gap: .9rem; padding: .55rem 1rem .55rem .6rem; }
