/* ICT Academy Suriname — OFFICIAL2 sitewide polish. */

/* Larger, easier-to-read desktop navigation with a compact 981–1240px fit. */
@media (min-width:981px) {
  :root { --v6-header: 5rem; --v5-header: var(--v6-header); }
  html body[data-page][data-page] > .wayfinder .route-link {
    min-height: 3rem;
    padding: .68rem clamp(.48rem,.78vw,.84rem);
  }
  html body[data-page][data-page] > .wayfinder .route-link strong {
    font-size: clamp(.82rem,.76vw,.94rem);
    font-weight: 700;
    letter-spacing: -.01em;
  }
  html body[data-page][data-page] > .wayfinder .join-link {
    min-height: 48px;
    padding: .68rem .96rem;
    font-size: .82rem;
  }
  html body[data-page][data-page] > .wayfinder .language-button {
    min-width: 48px;
    min-height: 48px;
    font-size: .8rem;
  }
}
@media (min-width:981px) and (max-width:1240px) {
  :root { --v6-header: 4.75rem; --v5-header: var(--v6-header); }
  html body[data-page][data-page] > .wayfinder .route-link {
    min-height: 2.85rem;
    padding-inline: .3rem;
  }
  html body[data-page][data-page] > .wayfinder .route-link strong { font-size: .72rem; }
  html body[data-page][data-page] > .wayfinder .join-link {
    min-height: 46px;
    padding-inline: .68rem;
    font-size: .74rem;
  }
  html body[data-page][data-page] > .wayfinder .language-button {
    min-width: 46px;
    min-height: 46px;
  }
}

/* Decorative ordinals are removed; legal and form numbering remain intact. */
html body[data-page] main .program-steps article::before,
html body[data-page] main .v5-step-group li::before,
html body[data-page] main .route-result li::before {
  display: none;
  content: none;
}
html body[data-page] main .program-steps article { padding-top: 1.35rem; }
html body[data-page] main .v5-step-group li { padding-top: 1rem; }
html body[data-page] main .route-result li { grid-template-columns: minmax(0,1fr); }
html body[data-page] main .route-steps > li {
  grid-template-columns: minmax(0,1fr) minmax(12rem,.45fr);
}
html body[data-page] main .preparation-list article,
html body[data-page] main .process-step {
  grid-template-columns: minmax(0,1fr);
  gap: 0;
}
html body[data-page] main .outcome-board article { min-height: 0; }
html body[data-page] main .outcome-board h3 { margin: 0 0 1rem; }

/* Consistent, centered text cards on every photograph. */
html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(
  .visual-caption,.preparation-label,.program-detail-hero__caption
) {
  box-sizing: border-box;
  inset: auto auto clamp(.8rem,1.6vw,1.25rem) clamp(.8rem,1.6vw,1.25rem);
  width: min(30rem,calc(100% - clamp(1.6rem,3.2vw,2.5rem)));
  max-width: none;
  margin: 0;
  padding: clamp(.75rem,1.4vw,1rem) clamp(.8rem,1.6vw,1.05rem);
  overflow-wrap: anywhere;
  color: var(--v6-ink);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: .9rem;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(0,31,72,.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}
html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(.visual-caption,.preparation-label) span {
  color: var(--v6-blue-700);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}
html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(.visual-caption,.preparation-label) strong {
  max-width: none;
  margin-top: .3rem;
  color: var(--v6-navy-900);
  font-family: var(--v6-display);
  font-size: clamp(1.02rem,1.35vw,1.38rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  text-transform: none;
  text-wrap: pretty;
}
html body[data-page]:not([data-page="home"]):not([data-page="student"]) main .program-detail-hero__caption {
  font-size: clamp(.82rem,1vw,.94rem);
  line-height: 1.5;
}

/* Premium mobile concierge: navy folio, champagne detail, editorial navigation. */
@keyframes official2-premium-menu-in {
  from { opacity: 0; transform: translate3d(1.1rem,0,0) scale(.985); }
  to { opacity: 1; transform: none; }
}
@media (max-width:980px) {
  body[data-page] .mobile-map-trigger {
    min-height: 48px;
    gap: .58rem;
    padding: .62rem .92rem .62rem .72rem;
    color: #fff;
    border: 1px solid rgba(238,195,104,.52);
    border-radius: 999px;
    background: linear-gradient(135deg,rgba(255,255,255,.1),transparent 42%),linear-gradient(135deg,#001d43,#063f73);
    box-shadow: 0 13px 32px rgba(0,25,57,.3),inset 0 1px rgba(255,255,255,.17);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .045em;
    text-transform: uppercase;
  }
  body[data-page] .mobile-map-trigger::after {
    content: "";
    position: absolute;
    inset: .38rem .38rem auto auto;
    display: block;
    width: .42rem;
    height: .42rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: #e9ba59;
    box-shadow: 0 0 0 3px rgba(233,186,89,.13);
  }
  body[data-page] .mobile-map-trigger .menu-glyph { width: 1.3rem; display: grid; gap: .24rem; }
  body[data-page] .mobile-map-trigger .menu-glyph i {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg,#fff,#efc773);
  }
  body[data-page] .mobile-map-trigger .menu-glyph i:nth-child(2) { width: .88rem; }
  body[data-page] .mobile-map-trigger:is(:hover,:focus-visible) {
    color: #fff;
    border-color: #f0cb7d;
    background: linear-gradient(135deg,#002657,#075690);
    box-shadow: 0 15px 36px rgba(0,25,57,.34),inset 0 1px rgba(255,255,255,.2);
  }
  body[data-page] .mobile-map {
    place-items: stretch end;
    padding: 0;
    background: radial-gradient(circle at 18% 18%,rgba(73,159,220,.22),transparent 24rem),rgba(0,18,42,.78);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    backdrop-filter: blur(12px) saturate(115%);
  }
  body[data-page] .mobile-map-panel {
    width: min(27rem,calc(100% - .7rem));
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0 0 max(1rem,env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 1px solid rgba(236,197,112,.3);
    border-radius: 1.7rem 0 0 1.7rem;
    background: radial-gradient(circle at 100% 20%,rgba(51,143,207,.28),transparent 19rem),linear-gradient(165deg,#001a3d 0%,#052f58 52%,#001b3f 100%);
    box-shadow: -30px 0 80px rgba(0,15,38,.48);
    animation: official2-premium-menu-in .3s cubic-bezier(.2,.75,.2,1) both;
  }
  body[data-page] .mobile-map-head {
    position: relative;
    top: auto;
    min-height: 7rem;
    margin: 0;
    padding: max(1rem,env(safe-area-inset-top)) 1rem 1rem 1.15rem;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(236,197,112,.32);
    border-radius: 1.7rem 0 0;
    background: transparent;
  }
  body[data-page] .mobile-map-head::after {
    content: "";
    position: absolute;
    inset: auto 1.1rem 0;
    display: block;
    height: 1px;
    background: linear-gradient(90deg,#e7b957,transparent);
  }
  body[data-page] .mobile-map-head img {
    width: min(10.9rem,calc(100% - 4.2rem));
    max-height: 3.35rem;
    padding: .55rem .68rem;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: .85rem;
    background: rgba(255,255,255,.97);
    box-shadow: 0 10px 25px rgba(0,12,31,.3);
    filter: none;
  }
  body[data-page] .mobile-map-close {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 1px rgba(255,255,255,.12);
  }
  body[data-page] .mobile-map-close:is(:hover,:focus-visible) {
    color: #001f46;
    border-color: #efc672;
    background: #efc672;
  }
  body[data-page] .mobile-map-panel > .wayfinder-label {
    display: block;
    margin: 1rem 1.25rem .62rem;
    color: #f1cf87;
    font-size: .65rem;
    font-weight: 780;
    letter-spacing: .15em;
  }
  body[data-page] .mobile-route-list {
    gap: 0;
    margin: 0 .72rem;
    padding: .12rem .45rem .45rem;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 1.25rem;
    background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(245,250,253,.96));
    box-shadow: 0 22px 48px rgba(0,11,29,.3),inset 0 1px #fff;
  }
  body[data-page] .mobile-route-list a:not(.mobile-join) {
    position: relative;
    min-height: 54px;
    display: grid;
    grid-template-columns: .8rem minmax(0,1fr) 1.2rem;
    gap: .55rem;
    padding: .68rem .62rem;
    color: #183a57;
    border: 0;
    border-bottom: 1px solid rgba(0,38,87,.09);
    border-radius: 0;
    background: transparent;
  }
  body[data-page] .mobile-route-list a:not(.mobile-join):nth-last-child(2) { border-bottom: 0; }
  body[data-page] .mobile-route-list a:not(.mobile-join)::before {
    content: "";
    display: block;
    width: .36rem;
    height: .36rem;
    align-self: center;
    border: 1px solid rgba(175,128,34,.45);
    border-radius: 50%;
    background: #e4b654;
    box-shadow: 0 0 0 3px rgba(228,182,84,.1);
  }
  body[data-page] .mobile-route-list a:not(.mobile-join)::after {
    content: "";
    display: block;
    width: .46rem;
    height: .46rem;
    align-self: center;
    justify-self: center;
    border-top: 1.5px solid #758b9c;
    border-right: 1.5px solid #758b9c;
    transform: rotate(45deg);
    transition: transform .18s ease,border-color .18s ease;
  }
  body[data-page] .mobile-route-list a span {
    font-family: var(--v6-display);
    font-size: .96rem;
    font-weight: 680;
    letter-spacing: -.015em;
  }
  body[data-page] .mobile-route-list a:not(.mobile-join):is(:hover,:focus-visible) {
    color: #002657;
    border-color: rgba(0,38,87,.09);
    background: linear-gradient(90deg,rgba(228,244,255,.86),rgba(255,250,240,.48));
  }
  body[data-page] .mobile-route-list a:not(.mobile-join):is(:hover,:focus-visible)::after {
    border-color: #9a742a;
    transform: translateX(.16rem) rotate(45deg);
  }
  body[data-page] .mobile-route-list a[aria-current="page"]:not(.mobile-join) {
    margin: 0;
    padding: .68rem .62rem;
    color: #002657;
    border-color: rgba(0,38,87,.09);
    background: linear-gradient(90deg,rgba(218,241,255,.98),rgba(255,247,228,.72));
    box-shadow: inset 3px 0 #d4a74a;
  }
  body[data-page] .mobile-route-list a[aria-current="page"]:not(.mobile-join)::before {
    border-color: #07548f;
    background: #07548f;
    box-shadow: 0 0 0 3px rgba(7,84,143,.12);
  }
  html body[data-page][data-page] .mobile-route-list .mobile-join,
  html body[data-page][data-page] .mobile-route-list .mobile-join[aria-current="page"] {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 1.25rem;
    margin: .74rem .12rem .16rem;
    padding: .78rem .9rem;
    color: #fff;
    border: 1px solid rgba(239,198,114,.58);
    border-radius: .9rem;
    background: linear-gradient(120deg,rgba(255,255,255,.08),transparent 40%),linear-gradient(135deg,#001f49,#07558f);
    box-shadow: 0 12px 28px rgba(0,38,87,.24),inset 0 1px rgba(255,255,255,.16);
  }
  html body[data-page][data-page] .mobile-route-list .mobile-join::before { display: none; content: none; }
  html body[data-page][data-page] .mobile-route-list .mobile-join::after {
    content: "";
    display: block;
    width: .5rem;
    height: .5rem;
    align-self: center;
    justify-self: center;
    border-top: 1.5px solid #f0ca7b;
    border-right: 1.5px solid #f0ca7b;
    transform: rotate(45deg);
  }
  html body[data-page][data-page] .mobile-route-list .mobile-join:is(:hover,:focus-visible) {
    color: #fff;
    border-color: #f0ca7b;
    background: linear-gradient(135deg,#002a5d,#0a72c1);
    box-shadow: 0 14px 32px rgba(0,38,87,.28);
  }
  body[data-page] .mobile-language-wrap {
    margin: .8rem .9rem 0;
    padding: .75rem .2rem 0;
    border-top-color: rgba(239,198,114,.3);
  }
  body[data-page] .mobile-language-wrap > .language-button {
    color: #fff;
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
  }
  body[data-page] .mobile-language-wrap > .language-button:is(:hover,:focus-visible) {
    color: #001f46;
    border-color: #efc672;
    background: #efc672;
  }
  body[data-page] .mobile-language-wrap .language-menu-mobile {
    border-color: rgba(239,198,114,.32);
    box-shadow: 0 18px 38px rgba(0,13,33,.34);
  }
}
@media (max-width:700px) {
  html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(
    .visual-caption,.preparation-label,.program-detail-hero__caption
  ) {
    left: .7rem;
    bottom: .7rem;
    width: calc(100% - 1.4rem);
    padding: .7rem .75rem;
    border-radius: .78rem;
  }
  html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(.visual-caption,.preparation-label) strong {
    font-size: clamp(.98rem,4.4vw,1.15rem);
    line-height: 1.24;
  }
}
@media (max-width:380px) {
  body[data-page] .mobile-map-panel { width: calc(100% - .25rem); border-radius: 1.3rem 0 0 1.3rem; }
  body[data-page] .mobile-map-head { min-height: 6.25rem; border-radius: 1.3rem 0 0; }
  body[data-page] .mobile-route-list { margin-inline: .45rem; padding-inline: .3rem; }
  body[data-page] .mobile-route-list a:not(.mobile-join) { grid-template-columns: .7rem minmax(0,1fr) 1rem; gap: .42rem; }
}
@media (max-height:620px) and (max-width:980px) {
  body[data-page] .mobile-map-head { min-height: 5.6rem; padding-block: max(.7rem,env(safe-area-inset-top)) .7rem; }
  body[data-page] .mobile-map-panel > .wayfinder-label { margin-block: .65rem .4rem; }
  body[data-page] .mobile-route-list a:not(.mobile-join) { min-height: 48px; padding-block: .5rem; }
  html body[data-page][data-page] .mobile-route-list .mobile-join { min-height: 48px; margin-top: .5rem; padding-block: .62rem; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-page] .mobile-map-panel { animation: none; }
  body[data-page] .mobile-route-list a::after { transition: none; }
}
@media (prefers-reduced-transparency:reduce) {
  body[data-page] .mobile-map { background: #00142f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body[data-page] .mobile-map-panel { background: #002657; }
  html body[data-page]:not([data-page="home"]):not([data-page="student"]) main :where(
    .visual-caption,.preparation-label,.program-detail-hero__caption
  ) { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast:more) {
  body[data-page] .mobile-route-list,
  body[data-page] .mobile-route-list a,
  body[data-page] .mobile-map-trigger,
  body[data-page] .mobile-map-close { border-color: currentColor; }
}
@media (forced-colors:active) {
  body[data-page] .mobile-map-panel,
  body[data-page] .mobile-map-head,
  body[data-page] .mobile-route-list,
  body[data-page] .mobile-route-list a,
  body[data-page] .mobile-map-trigger {
    color: CanvasText;
    border: 1px solid CanvasText;
    background: Canvas;
    box-shadow: none;
  }
  body[data-page] .mobile-route-list a[aria-current="page"]:not(.mobile-join) {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
  html body[data-page][data-page] .mobile-route-list .mobile-join {
    color: ButtonText;
    background: ButtonFace;
  }
}
