/* ==========================================================================
   VMS JOKA — Branch landing-page layer
   Loaded after ../shared/assets/css/style.css (the common VMS theme layer).
   Contains only the components unique to the /Joka/ landing page.
   ========================================================================== */

/* Breadcrumb */
.vms-breadcrumb {
  background: var(--vms-cream);
  border-bottom: 1px solid var(--vms-line);
  font-size: .85rem;
}
.vms-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.vms-breadcrumb li { display: flex; align-items: center; gap: .4rem; color: var(--vms-ink-soft); }
.vms-breadcrumb a { color: var(--vms-ink-soft); text-decoration: none; font-weight: 500; }
.vms-breadcrumb a:hover { color: var(--vms-maroon); }
.vms-breadcrumb li[aria-current] { color: var(--vms-maroon); font-weight: 600; }

/* Branch hero (image background, not solid maroon) */
.vms-branch-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.vms-branch-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(35,15,20,.94) 0%, rgba(71,22,31,.88) 45%, rgba(71,22,31,.55) 100%);
  z-index: -1;
}
.vms-branch-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.vms-branch-hero .lead { color: rgba(255,255,255,.85); max-width: 60ch; }
.vms-branch-hero .vms-eyebrow { color: var(--vms-gold-light); }
.vms-branch-hero .vms-eyebrow::before { background: var(--vms-gold-light); }
.vms-branch-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .8rem; font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 999px;
}

/* Quick facts bar */
.vms-quickfacts {
  background: var(--vms-white);
  border-bottom: 1px solid var(--vms-line);
}
.vms-quickfacts .fact { display: flex; align-items: flex-start; gap: .75rem; padding: 1.1rem 0; }
.vms-quickfacts .fact i { color: var(--vms-gold); font-size: 1.25rem; margin-top: .1rem; }
.vms-quickfacts .fact strong { display: block; font-size: .88rem; color: var(--vms-ink); }
.vms-quickfacts .fact span { font-size: .82rem; color: var(--vms-ink-soft); }

/* Sticky in-page section tabs */
.vms-subnav {
  position: sticky;
  top: 110px;
  z-index: 1020;
  background: rgba(251, 246, 238, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--vms-line);
}
.vms-subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; white-space: nowrap; }
.vms-subnav a {
  display: inline-block;
  padding: .85rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--vms-ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.vms-subnav a:hover { color: var(--vms-maroon); }
.vms-subnav a.active { color: var(--vms-maroon); border-bottom-color: var(--vms-gold); }

/* Quick-link icon row */
.vms-iconlink { text-align: center; text-decoration: none; display: block; padding: 1rem .5rem; border-radius: var(--vms-radius); transition: all .2s ease; }
.vms-iconlink:hover { background: var(--vms-cream-deep); }
.vms-iconlink .ic {
  width: 60px; height: 60px; margin: 0 auto .75rem;
  border-radius: 50%;
  background: var(--vms-maroon-tint);
  color: var(--vms-maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.vms-iconlink span { display: block; font-weight: 600; font-size: .88rem; color: var(--vms-ink); }

/* Achievement badges */
.vms-achieve {
  background: var(--vms-white);
  border: 1px solid var(--vms-line);
  border-left: 3px solid var(--vms-gold);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  height: 100%;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.vms-achieve i { color: var(--vms-gold); font-size: 1.15rem; margin-top: .15rem; }
.vms-achieve p { margin: 0; font-size: .92rem; font-weight: 600; color: var(--vms-ink); line-height: 1.4; }

/* Club cards */
.vms-club-card { border-radius: var(--vms-radius); overflow: hidden; background: #fff; border: 1px solid var(--vms-line); height: 100%; transition: all .2s ease; }
.vms-club-card:hover { box-shadow: var(--vms-shadow); transform: translateY(-4px); }
.vms-club-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.vms-club-card .body { padding: 1rem 1.1rem; }
.vms-club-card h5 { font-size: .95rem; margin: 0; }

/* Notice list */
.vms-notice { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--vms-line); }
.vms-notice:last-child { border-bottom: none; }
.vms-notice .d { flex-shrink: 0; width: 62px; text-align: center; background: var(--vms-maroon-tint); color: var(--vms-maroon-dark); border-radius: 10px; padding: .5rem .25rem; }
.vms-notice .d strong { display: block; font-family: var(--vms-font-display); font-size: 1.15rem; line-height: 1; }
.vms-notice .d span { font-size: .68rem; text-transform: uppercase; }
.vms-notice a { color: var(--vms-ink); font-weight: 600; font-size: .93rem; text-decoration: none; line-height: 1.4; }
.vms-notice a:hover { color: var(--vms-maroon); }

/* Admission snapshot card */
.vms-admit-card {
  background: var(--vms-maroon-dark);
  color: rgba(255,255,255,.9);
  border-radius: 20px;
  padding: 2.25rem;
}
.vms-admit-card h3 { color: #fff; }
.vms-admit-card .row-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: .92rem;
}
.vms-admit-card .row-item span:first-child { color: rgba(255,255,255,.65); }
.vms-admit-card .row-item span:last-child { font-weight: 700; color: var(--vms-gold-light); text-align: right; }

.vms-whatsapp-fab {
  position: fixed; right: 1.4rem; bottom: 5rem;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
  z-index: 1040;
}
.vms-whatsapp-fab:hover { color: #fff; transform: scale(1.06); }

@media (max-width: 991.98px) {
  .vms-subnav { top: 0; }
  .vms-admit-card { padding: 1.5rem; }
}

#overview, #achievements, #beyond-classroom, #notices, #admissions, #gallery, #contact {
  scroll-margin-top: 172px;
}
@media (max-width: 767.98px) {
  #overview, #achievements, #beyond-classroom, #notices, #admissions, #gallery, #contact {
    scroll-margin-top: 100px;
  }
}
