.vc_custom_1474549215091{margin-bottom:81px !important;}
.vc_custom_1475589360749{margin-bottom:70px !important;}
.vc_custom_1476698042074{margin-bottom:46px !important;padding-top:0px !important;background-color:#fff9f2 !important;}
.vc_custom_1494850656684{margin-bottom:0px !important;}
.vc_custom_1475584304575{padding-top:37px !important;padding-bottom:76px !important;}
.vc_custom_1474557281980{padding-top:35px !important;padding-bottom:50px !important;background-color:#fff9f2 !important;}
.vc_custom_1474623624998{padding-top:47px !important;padding-bottom:70px !important;}
.vc_custom_1474621966648{padding-top:0px !important;background-color:#bd66ff !important;}
.vc_custom_1474635508301{padding-top:37px !important;padding-bottom:23px !important;}
.vc_custom_1474632924435{padding-top:45px !important;padding-bottom:93px !important;background-color:#fff9f2 !important;}
.vc_custom_1475589305430{margin-bottom:30px !important;}
.vc_custom_1475589313158{margin-bottom:30px !important;}
.vc_custom_1475589322878{margin-bottom:30px !important;}
.vc_custom_1475589328742{margin-bottom:30px !important;}
.vc_custom_1476265153934{padding-top:0px !important;padding-right:0px !important;padding-bottom:0px !important;padding-left:0px !important;}
/* S2 Smarty Programs band image — owner change request 2026-09-24 item 4
   ("replace the current image"). No owner artwork was supplied; the Stylemix
   template demo asset was replaced with the school's own delivered photograph
   from the 2026/09/thsh delivery (960x1280, "Welcome to Tall Birch"). The owner
   may substitute a preferred shot. */
.vc_custom_1476710922437{margin-left:-44px !important;padding-top:0px !important;padding-bottom:0px !important;background-image:url(/wp-content/uploads/2026/09/thsh/tb-campus-sign-010.jpg) !important;background-position:center !important;background-repeat:no-repeat !important;background-size:cover !important;}
.vc_custom_1476701028064{padding-top:70px !important;padding-bottom:50px !important;padding-left:16px !important;}
.vc_custom_1474552895715{margin-bottom:7px !important;padding-right:0px !important;}
.vc_custom_1474552901664{margin-bottom:7px !important;padding-left:0px !important;}
.vc_custom_1474552929369{margin-bottom:7px !important;padding-right:0px !important;}
.vc_custom_1474552934057{margin-bottom:7px !important;padding-left:0px !important;}
.vc_custom_1474552414674{padding-right:0px !important;}
.vc_custom_1474552419664{padding-left:0px !important;}
.vc_custom_1494850543133{margin-bottom:0px !important;}
.vc_custom_1475583561131{margin-bottom:-2px !important;}
.vc_custom_1609742058587{margin-bottom:3px !important;}
.vc_custom_1475589552997{padding-top:65px !important;padding-left:55px !important;}
.vc_custom_1474557194772{margin-bottom:32px !important;}
.vc_custom_1474557006978{margin-bottom:35px !important;}
.vc_custom_1474557013077{margin-bottom:35px !important;}
.vc_custom_1474557018657{margin-bottom:35px !important;}
.vc_custom_1474622784867{padding-top:2px !important;}
.vc_custom_1474635870656{padding-right:30px !important;}
.vc_custom_1475151838273{margin-top:-7px !important;padding-top:35px !important;padding-bottom:50px !important;background-color:#fff9f2 !important;}
.vc_custom_1475151932142{margin-top:36px !important;}
.vc_custom_1475215351736{margin-bottom:60px !important;}
.vc_custom_1475230536865{padding-top:65px !important;padding-bottom:37px !important;}
.vc_custom_1475225114422{margin-top:35px !important;margin-bottom:16px !important;}
.vc_custom_1475156148088{padding-top:36px !important;padding-bottom:66px !important;background-color:#fff9f2 !important;}
.vc_custom_1475157756271{padding-bottom:30px !important;background-image:url(/wp-content/uploads/2016/02/bg6.jpg?id=3980) !important;background-position:0 0 !important;background-repeat:repeat !important;}
.vc_custom_1475215023681{margin-top:0px !important;padding-top:17px !important;padding-bottom:13px !important;}
.vc_custom_1475215424413{padding-top:65px !important;padding-left:55px !important;}
.vc_custom_1475150876710{margin-bottom:35px !important;}
.vc_custom_1475150885419{margin-bottom:35px !important;}
.vc_custom_1475150910998{margin-bottom:35px !important;}
.vc_custom_1475150915465{margin-bottom:35px !important;}
.vc_custom_1475215330384{margin-bottom:30px !important;}
.vc_custom_1475215335048{margin-bottom:30px !important;}
.vc_custom_1475215339602{margin-bottom:30px !important;}
.vc_custom_1475215344872{margin-bottom:30px !important;}
.vc_custom_1476273549813{padding-top:0px !important;padding-right:0px !important;padding-bottom:0px !important;padding-left:0px !important;}
.vc_custom_1475230486555{margin-bottom:30px !important;}
.vc_custom_1475230491259{margin-bottom:30px !important;}
.vc_custom_1475230495891{margin-bottom:30px !important;}
.vc_custom_1475230500309{margin-bottom:30px !important;}
.vc_custom_1475230507509{margin-bottom:30px !important;}
.vc_custom_1476096937653{margin-bottom:30px !important;}
.vc_custom_1476096953616{margin-bottom:30px !important;}
.vc_custom_1476096968658{margin-bottom:30px !important;}
.vc_custom_1476096985391{margin-bottom:30px !important;}
.vc_custom_1475157300925{margin-bottom:10px !important;}
.vc_custom_1475209405740{padding-top:8px !important;}
.vc_custom_1475214955397{padding-top:0px !important;}
.vc_custom_1475214959912{padding-top:0px !important;}
.vc_custom_1475214964363{padding-top:0px !important;}
.vc_custom_1475214969215{padding-top:0px !important;}
.vc_custom_1475214973899{padding-top:0px !important;}
.vc_custom_1476277432985{margin-top:-7px !important;padding-top:33px !important;padding-bottom:57px !important;background-color:#fff9f2 !important;}
.vc_custom_1476277440350{margin-bottom:70px !important;padding-top:58px !important;}
.vc_custom_1476859372033{padding-top:57px !important;padding-right:0px !important;padding-left:0px !important;}
.vc_custom_1476859390470{padding-top:57px !important;}
.vc_custom_1475487560950{margin-bottom:4px !important;}
.vc_custom_1475488693633{margin-bottom:15px !important;}
.vc_custom_1475490039340{padding-top:28px !important;padding-bottom:38px !important;background-color:#95cc47 !important;border-radius:25px !important;}
.vc_custom_1474375801666{padding-bottom:50px !important;}
.vc_custom_1475044268539{padding-top:0px !important;background-color:#56509f !important;}
.vc_custom_1475044256189{padding-top:0px !important;}
.vc_custom_1476714015774{margin-top:-7px !important;margin-bottom:7px !important;padding-top:0px !important;background-color:#fff9f2 !important;}
.vc_custom_1475235666292{padding-top:38px !important;padding-bottom:52px !important;background-color:#ffffff !important;background-position:0 0 !important;background-repeat:no-repeat !important;}
.vc_custom_1475233181867{padding-bottom:30px !important;background-image:url(/wp-content/uploads/2016/02/bg6.jpg?id=3980) !important;background-position:0 0 !important;background-repeat:repeat !important;}
.vc_custom_1476714672098{margin-right:60px !important;padding-top:0px !important;background-image:url(/wp-content/uploads/2016/01/img26.jpg?id=4939) !important;background-position:center !important;background-repeat:no-repeat !important;background-size:cover !important;}
.vc_custom_1476714876553{padding-top:51px !important;padding-bottom:25px !important;padding-left:10px !important;}
.vc_custom_1476339682176{margin-bottom:32px !important;}
.vc_custom_1475232694645{margin-bottom:28px !important;}
.vc_custom_1475232627061{margin-bottom:41px !important;}
.vc_custom_1475233204773{padding-top:8px !important;}
.vc_custom_1475228668712{margin-top:-7px !important;margin-bottom:20px !important;padding-top:0px !important;background-color:#fff9f2 !important;}
.vc_custom_1475229825531{padding-top:45px !important;padding-bottom:22px !important;background-color:#ffffff !important;}
.vc_custom_1475230177166{padding-top:101px !important;padding-bottom:68px !important;background-image:url(/wp-content/uploads/2015/12/bg9.jpg?id=4276) !important;background-position:0 0 !important;background-repeat:repeat !important;}
.vc_custom_1475230980030{padding-top:0px !important;}
.vc_custom_1475230863115{padding-top:25px !important;padding-bottom:25px !important;}
.vc_custom_1475232000974{margin-left:-405px !important;}
.vc_custom_1476339774791{margin-bottom:32px !important;}
.vc_custom_1475228449169{margin-bottom:41px !important;}
.vc_custom_1475230125587{margin-bottom:30px !important;padding-top:0px !important;}
.vc_custom_1475230132540{margin-bottom:30px !important;padding-top:0px !important;}
.vc_custom_1475230140411{margin-bottom:30px !important;padding-top:0px !important;}
.vc_custom_1475230145642{margin-bottom:30px !important;padding-top:0px !important;}
.vc_custom_1475230150808{margin-bottom:30px !important;padding-top:0px !important;}
.vc_custom_1475496241709{margin-top:80px !important;margin-bottom:70px !important;}
.vc_custom_1476705527898{margin-bottom:30px !important;}
.vc_custom_1474698244809{margin-bottom:100px !important;padding-top:5px !important;}
.vc_custom_1474697537167{padding-top:10px !important;}
.vc_custom_1474882955451{margin-bottom:100px !important;}
.vc_custom_1475060704802{margin-top:-18px !important;margin-bottom:70px !important;padding-top:0px !important;}
.vc_custom_1475059478476{padding-bottom:30px !important;background-image:url(/wp-content/uploads/2016/02/bg6.jpg?id=3980) !important;background-position:0 0 !important;background-repeat:repeat !important;}
.vc_custom_1475059400753{padding-top:8px !important;}
.vc_custom_1475047954336{padding-bottom:95px !important;}
.vc_custom_1475052260147{margin-bottom:45px !important;}
.vc_custom_1475052869360{margin-bottom:22px !important;}
.vc_custom_1476705441221{margin-bottom:30px !important;}
.vc_custom_1475062124083{margin-bottom:25px !important;}
.vc_custom_1474956406251{padding-top:51px !important;padding-bottom:64px !important;background-image:url(/wp-content/uploads/2016/02/bg3.jpg?id=3789) !important;background-position:0 0 !important;background-repeat:repeat !important;}
.vc_custom_1474955542951{background-color:#56509f !important;}
.vc_custom_1474955547433{padding-top:0px !important;}
.vc_custom_1475142771425{margin-bottom:96px !important;padding-top:5px !important;}

/* ============================================================
   TALL BIRCH TYPE SYSTEM — REFERENCE FONTS (home-exact E0-TOKENS, 2026-09-14).
   Client decision D3/O-2 ("make it as is"): restore the reference families.
   Families (self-hosted, see /wp-content/kindy-fonts.css):
     body/p/nav/buttons = Dosis
     h1 / .stm-title    = "Grand Hotel" 400 60px/74px #56509F
     h2 (home CTA)      = "Abril Fatface" 400 42px/66px
     h3..h6             = Dosis 36/30/24/18  lh 60/48/48/36
   Supersedes the 2026-09-04 "singular Carlito" mission (PROJECT_MAP § WAVE TFONT);
   WAVE VFIX header/hero layout metrics (holder 150, nav row 100, hero 540) are kept.
   Loaded AFTER main.css + smarty-child/style.css so it wins the cascade
   on every page (shared layout head.blade.php).
   ============================================================ */

/* ---- universal text base: ONE family for every text-bearing element ---- */
body, p, li, span, div, a, input, textarea, select, button, td, th,
caption, label, address, blockquote {
  font-family: 'Dosis', sans-serif;
}
/* body keeps its baseline metrics (18px/28px/400 as the reference) */
body {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

/* ---- heading scale (REF measured: A2 §1.1/§1.3).
       Colors are intentionally NOT set here — they come from the existing
       .stm-title / brand rules below. ---- */
h1, .h1 { font-family: 'Grand Hotel', cursive; font-weight: 400; font-size: 60px; line-height: 74px; }
h2, .h2 { font-family: 'Abril Fatface', cursive; font-weight: 400; font-size: 42px; line-height: 66px; }
h3, .h3 { font-family: 'Dosis', sans-serif; font-weight: 500; font-size: 36px; line-height: 60px; }
h4, .h4 { font-family: 'Dosis', sans-serif; font-weight: 600; font-size: 30px; line-height: 48px; }
h5, .h5 { font-family: 'Dosis', sans-serif; font-weight: 600; font-size: 24px; line-height: 48px; }
h6, .h6 { font-family: 'Dosis', sans-serif; font-weight: 700; font-size: 18px; line-height: 36px; }

/* ---- named / section components → reference families (family only
       unless an explicit size is stated; sizes stay so layout does not shift) ---- */
.stm-title,
h1.stm-title,
h1:not(.stm-title),
.stm-title_sep_bottom:not(h1),
.vc_custom_heading {
  font-family: 'Grand Hotel', cursive;
}
/* .stm-title color is brand lilac (kept) — heading scale above supplies size/weight */
.stm-title { color: #56509f; }
h1.stm-title { color: #56509f; }

/* hero card text — E1-HERO owns the hero rebuild (its kindy-s0-hero.css loads after
   this file); keep a neutral Dosis stack here until that lands. */
.stm-hero__title,
.stm-hero__badge,
.stm-hero__text {
  font-family: 'Dosis', sans-serif;
}

/* header main nav: REF Dosis 400 18px (PLAN §3.3 default = match REF; supersedes the
   WAVE VFIX 15px/700 freeze by decision D3/O-2). height/line-height stay 100px so the
   VFIX header metrics are untouched. */
.header_view-style_1 .stm-nav_type_header .stm-nav__menu_type_header > .menu-item,
.stm-nav_type_header .stm-nav__menu_type_header > .menu-item {
  font-size: 18px;
  font-weight: 400;
}
.header_view-style_1 .stm-nav_type_header .stm-nav__menu_type_header > .menu-item > a,
.stm-nav_type_header .stm-nav__menu_type_header > .menu-item > a {
  height: 100px;
  line-height: 100px;
  font-family: 'Dosis', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #56509f;
}
/* mobile slide-down nav uses the theme's own stack unless it sets a family;
   force the same Dosis stack there too */
.stm-nav_type_mobile-header .stm-nav__menu_type_mobile-header > .menu-item > a {
  font-family: 'Dosis', sans-serif;
}

/* top-bar / utility text: Dosis (14px kept where set) */
.top-bar,
.top-bar a,
.top-bar__contact,
.top-bar__language_kinder ul li a,
.top-bar__language_kinder ul li span {
  font-family: 'Dosis', sans-serif;
}
.top-bar__contact {
  font-size: 14px;
}

/* footer widget titles: Dosis 18px/700 (kept) */
.widget_footer .widget_title,
.footer .widget_title {
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
}

/* CTA action title: Dosis 300 white (REF A2 §2a) */
.stm-cta__action-title {
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  color: #fff;
}

/* FAQ / accordion panel titles: Dosis 18px/600 (kept) */
.vc_tta.vc_tta-accordion_style_outline .vc_tta-panel .vc_tta-panel-title,
.vc_tta.vc_tta-accordion .vc_tta-panel-title {
  font-family: 'Dosis', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

/* stats band values (25+/15+/20+/500+ on about/our-staff): theme main.css:6134
   sets Grand Hotel on .stm-stats_counter .stm-stats__value — restore it */
.stm-stats_counter .stm-stats__value {
  font-family: 'Grand Hotel', cursive;
}

/* buttons / form labels inherit the universal base stack (explicit for safety) */
.stm-btn,
.stm-btn *,
form label {
  font-family: 'Dosis', sans-serif;
}

/* timetable tabs: theme main.css:9489 forces `font-family: Dosis !important`;
   same specificity + !important, later stylesheet (this file) wins */
.tt_tabs_navigation li a,
.tt_tabs_navigation li {
  font-family: 'Dosis', sans-serif !important;
}
/* ================= WAVE 3 GRIDS — our-staff hero + stats ================= */
.vc_custom_1475228668712 {
  margin-top: -7px !important;
  margin-bottom: 20px !important;
  padding-top: 0px !important;
  background-color: #fff9f2 !important;
}
.vc_custom_1475230980030 { padding-top: 0px !important; }
.vc_custom_1475232000974 { margin-left: -405px !important; }
.vc_custom_1475230863115 { padding-top: 25px !important; padding-bottom: 25px !important; }
.vc_custom_1475230177166 {
  padding-top: 101px !important;
  padding-bottom: 68px !important;
  background-image: url(/wp-content/uploads/2015/12/bg9.jpg) !important;
  background-position: 0 0 !important;
  background-repeat: repeat !important;
}
.vc_custom_1475230125587 { margin-bottom: 30px !important; padding-top: 0px !important; }

/* ================= WAVE 3 GRIDS — price-table ================= */
.vc_custom_1475064974984 {
  padding-top: 5px !important;
  padding-bottom: 97px !important;
}

/* ---- hero slider: reference shows NO prev/next arrows on hero sliders ---- */
.stm-slider .owl-nav {
  display: none !important;
}

/* ================= WAVE 3 GRIDS — shared stats band (bg3) ================= */
.vc_custom_1474956406251 {
  padding-top: 51px !important;
  padding-bottom: 64px !important;
  background-image: url(/wp-content/uploads/2016/02/bg3.jpg) !important;
  background-position: 0 0 !important;
  background-repeat: repeat !important;
}

/* ================= WAVE 3 GRIDS — testimonials tour band ================= */
.vc_custom_1475045175235 { padding-top: 9px !important; padding-bottom: 60px !important; }
.vc_custom_1475045160295 { margin-bottom: 4px !important; }

/* ================= WAVE A DEEP PAGES — courses/meeting/donations/teacher singles ================= */
/* ---- 141 Color Matching Class (courses single) ---- */
.vc_custom_1475502679800 { margin-bottom: 100px !important; }
.vc_custom_1475753738492 { margin-bottom: 33px !important; }
.vc_custom_1475756891279 { margin-bottom: 33px !important; }
.vc_custom_1475758857111 { margin-bottom: 35px !important; padding-left: 0px !important; }
.vc_custom_1475504953011 { margin-top: -40px !important; }
.vc_custom_1475504958762 { margin-top: -40px !important; }
.vc_custom_1475504965606 { margin-top: -40px !important; }

/* ---- 150 Last Day of School Picnic (meeting single) ---- */
.vc_custom_1475149078531 { margin-bottom: 7px !important; }
.vc_custom_1475148606429 { margin-bottom: 40px !important; }
.vc_custom_1475148170721 { padding-right: 0px !important; }
.vc_custom_1475148449819 { padding-left: 38px !important; }
.vc_custom_1475148788632 { margin-top: 11px !important; }
.vc_custom_1475148947826 { padding-top: 4px !important; }

/* ---- 191 School Lunch Program (donation single) ---- */
.vc_custom_1476859147967 { margin-bottom: 20px !important; }
.vc_custom_1474984608398 { margin-bottom: 12px !important; }
.vc_custom_1476859155725 { margin-bottom: 40px !important; }
.vc_custom_1476859164594 { margin-bottom: 40px !important; }

/* ---- donations single: stats sidebar + progress card helpers ---- */
.donation-info__stats-item { min-width: 120px; }

/* ---- 172 teacher portrait: force reference 350x500 aspect (local source is 320x320) ---- */
.stm-single-image.stm-single-image_responsive img.stm-teacher-portrait,
.stm-teacher-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 500;
  object-fit: cover;
}

/* === WAVE A DEEP PAGES — hermes final polish === */
.stm-teacher-portrait-wrap .stm-single-image { border: 6px solid #fff; box-shadow: 0 4px 24px rgba(0,0,0,.18); }
.stm-teacher-portrait { width: 100%; max-width: 350px; height: auto; aspect-ratio: 350 / 500; object-fit: cover; object-position: top center; }
.stm-page-head__overlay { background: rgba(40, 33, 90, 0.25); }

/* === DEEP-PAGE + DECOR final (hermes) — home core-values row + program images === */
.home-core-values-row { max-width: 1140px; margin: 0 auto !important; }
.home-core-values-row .stm-action-box__thumbnail img { width: 100%; height: auto; object-fit: cover; }

/* =====================================================================
   TALL BIRCH BRAND — Wave 1 identity (navy + white brand surfaces)
   Navy core: #14265e (deep), #1f3a93 (mid). Kid-friendly accents kept.
   ===================================================================== */
:root {
  --tb-navy: #14265e;
  --tb-navy-2: #1f3a93;
}

/* --- Site header logo: Tall Birch official emblem (white-bg PNG), sized ~84px --- */
.logo img.tb-site-logo {
  height: 84px;
  width: 84px;
  vertical-align: middle;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* --- Header CTA "Apply for Admission" (nav item on the right side) --- */
.tb-apply-item { z-index: 100; }
.stm-nav__menu_type_header > .menu-item.tb-apply-item > a.tb-btn-header {
  display: inline-block;
  height: 46px;
  line-height: 42px;
  padding: 0 22px;
  margin-top: 27px;
  border: 2px solid var(--tb-navy);
  border-radius: 4px;
  background: var(--tb-navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.stm-nav__menu_type_header > .menu-item.tb-apply-item > a.tb-btn-header:hover,
.stm-nav__menu_type_header > .menu-item.tb-apply-item.current-menu-item > a.tb-btn-header,
.stm-nav__menu_type_header > .menu-item.tb-apply-item.current-menu-parent > a.tb-btn-header {
  background: var(--tb-navy-2);
  border-color: var(--tb-navy-2);
  color: #fff !important;
}
.stm-nav__menu_type_header > .menu-item.tb-apply-item > a.tb-btn-header:after { display: none; }

/* --- Topbar: REF pink #FF6682 (R1 §1, R2 item 1); white text stays, yellow accents stay --- */
.top-bar_view-style_1 { background: #ff6682 !important; }
.top-bar_view-style_1 .top-bar__search .stm-search-form__submit { color: #fff !important; }

/* --- Header primary nav: REF pink (#FF6682, A2 §1.2) in every state — the theme's
       own `a:hover{color:#ff6682}` keeps pink on hover, so normal/current/hover match. --- */
.stm-nav__menu_type_header > .menu-item > a { color: #ff6682 !important; }
.stm-nav__menu_type_header > .menu-item:hover > a,
.stm-nav__menu_type_header > .menu-item.current-menu-item > a,
.stm-nav__menu_type_header > .menu-item.current-menu-parent > a {
  color: #ff6682 !important;
}
.stm-nav__menu_type_header > .menu-item > a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 2px;
  background: var(--tb-navy);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.stm-nav__menu_type_header > .menu-item:hover > a:after,
.stm-nav__menu_type_header > .menu-item.current-menu-item > a:after,
.stm-nav__menu_type_header > .menu-item.current-menu-parent > a:after {
  visibility: visible;
  opacity: 1;
}

/* --- Header search glyph: lilac -> navy --- */
.header_view-style_1 .top-bar__search .stm-search-form__submit { color: var(--tb-navy) !important; }

/* --- Section titles: restore REF lilac #56509F (was brand navy) --- */
.stm-title.stm-font_color_lilac { color: #56509f !important; }

/* --- Hero CTA + "learn more" buttons: restore REF scheme (A2 §1.4) --- */
.stm-btn.stm-btn_outline.stm-btn_pink {
  background: transparent;
  border-color: #ff6682;
  color: #56509f;
}
.stm-btn.stm-btn_outline.stm-btn_pink:hover,
.stm-btn.stm-btn_outline.stm-btn_pink:active {
  background: #ff6682;
  border-color: #ff6682;
  color: #fff;
}
.stm-btn.stm-btn_outline.stm-btn_pink:hover i { color: #ffdd00; }
.stm-btn.stm-btn_flat.stm-btn_pink {
  background: #ff6682;
  border-color: #ff6682;
  color: #fff;
}
.stm-btn.stm-btn_flat.stm-btn_pink:hover {
  background: transparent;
  border-color: #ff6682;
  color: #56509f;
}
.stm-btn.stm-btn_flat.stm-btn_pink:hover i { color: #ff6682; }
.stm-btn.stm-btn_flat.stm-btn_yellow {
  background: #ffdd00;
  border-color: #ffdd00;
  color: #56509f;
}
.stm-btn.stm-btn_flat.stm-btn_yellow i,
.stm-btn.stm-btn_flat.stm-btn_yellow span { color: #ff6682; }
.stm-btn.stm-btn_flat.stm-btn_yellow:hover {
  background: transparent;
  border-color: #ffdd00;
  color: #fff;
}
.stm-btn.stm-btn_flat.stm-btn_yellow:hover i,
.stm-btn.stm-btn_flat.stm-btn_yellow:hover span { color: #fff; }
.stm-btn.stm-btn_flat.stm-btn_yellow:active {
  background: #ff6682;
  border-color: #ff6682;
  color: #56509f;
}
.stm-btn.stm-btn_flat.stm-btn_yellow:active i,
.stm-btn.stm-btn_flat.stm-btn_yellow:active span { color: #56509f; }

/* --- Pagination: lilac text + pink ring -> navy --- */
.pagination .page-numbers { color: var(--tb-navy-2) !important; }
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  border-color: var(--tb-navy) !important;
  color: var(--tb-navy) !important;
}

/* --- Footer: lilac panel -> navy; bottom bar navy w/ white text; logo chip --- */
.footer_type_default { background: var(--tb-navy) !important; }
.footer .copyright {
  background-color: var(--tb-navy) !important;
  color: #fff !important;
}
.footer .copyright a { color: #fff !important; }
.widget_logo_box img.tb-footer-logo {
  height: 84px;
  width: 84px;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* --- Tablet & mobile: CTA hidden so the nav keeps the reference single-line layout --- */
@media (max-width: 1199px) {
  .tb-apply-item { display: none !important; }
}
@media (max-width: 991px) {
  .header_view-style_1 .logo { max-width: none; }
  .logo img.tb-site-logo { height: 60px; width: 60px; }
  .widget_logo_box img.tb-footer-logo { height: 60px; width: 60px; }
}
@media (max-width: 767px) {
  .logo img.tb-site-logo { height: 52px; width: 52px; }
  .widget_logo_box img.tb-footer-logo { height: 52px; width: 52px; }
}

/* =====================================================================
   TALL BIRCH WAVE 2 — LAYOUT
   (a) "Our Best Activities" grid fix, (b) hero image treatment,
   (c) pricing-chip removal, (d) horizontal-scroll guards.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. ACTIVITIES / CLASSES GRID
   The owl-neutralising hack that lived here was written for the retired
   static-grid markup (`.stm-carousel__items > .row`) but still matched the
   live `.stm-carousel_view_courses` carousel under `.home-page`/`.wpb_row`
   and defeated owl with stylesheet `!important` (`owl-item{width:auto}`,
   `owl-stage{transform:none}`, `owl-stage-outer{overflow:visible}`,
   `owl-nav{display:none}`). E6-LEGACY removed it — E1-SECB renders the real
   REF owl carousel. Every remaining rule in this file now targets the live
   markup only.
   --------------------------------------------------------------------- */

/* ---------------------------------------------------------------------
   2. HERO — single wide image. Slide divs already use
   background-image + inline <style> cover rules; we re-assert cover and
   cap the band height. Image 2016/10/img25.jpg is 500×378 (not wide);
   as a full-bleed background it is upscaled ~2.7×. background-size:cover
   + object-position-like centering crops sides top/bottom — acceptable,
   but for an intentionally small source a gentle max-height keeps the
   upscale factor in check. 640px cap per spec.
   --------------------------------------------------------------------- */
.stm-hero {
  max-height: 640px;
}
.stm-hero__slide {
  background-size: cover;
  background-position: center;
}

/* ---------------------------------------------------------------------
   3. PRICING / AGE / SIZE CHIPS — CONTENT agent removes the meta <ul>.
   Belt + braces: if any legacy `.courses_post__meta` still renders in the
   activities grid, hide it (chip row carries $25 pricing).
   --------------------------------------------------------------------- */
.home-page .stm-carousel_view_courses .courses_post__meta,
.wpb_row .stm-carousel_view_courses .courses_post__meta {
  display: none !important;
}
/* "Learn more" link must stay visible (it animates up from bottom -60px
   on hover in the theme). Show it resting under the body. */
.home-page .stm-carousel_view_courses .courses_post__link_more,
.wpb_row .stm-carousel_view_courses .courses_post__link_more {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---------------------------------------------------------------------
   4. HORIZONTAL-SCROLL GUARDS
   Full-bleed JS-Composer rows (.vc_row[data-vc-full-width] + the
   .stm-hero) run wider than the 1366 viewport (measured right edge 1381,
   scrollWidth still 1366 because the page clips). vc_row reset makes sure
   no accidental document overflow returns if content changes width.
   --------------------------------------------------------------------- */
.vc_row {
  overflow-x: hidden;
}
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}



/* =====================================================================
   VFIX WAVE 1 — HEADER/MENU (D1 single-row + D2 hero gap + D5 apply fit + D6 mobile)
   Owned by frontend-header persona. Theme main.css is NEVER edited — all
   overrides live here (kindy-custom.css is the last stylesheet loaded).
   ===================================================================== */

/* ---------------------------------------------------------------------
   D2 — kill the 20px light gap under the header (theme
   `.header-holder.header_holder_small { margin-bottom:20px }`).
   Applied globally (home + every subpage use the same holder).
   --------------------------------------------------------------------- */
.header-holder.header_holder_small {
  margin-bottom: 0 !important;
}

/* Home keeps an absolutely-positioned holder in the theme, which after the
   margin kill would float the hero UNDER the header (hero y0). We measured
   that the real defect was purely the 251px stacked header; a relative,
   in-flow holder yields header-bottom == hero-top on EVERY route. */
.home .header-holder,
.home.blog .header-holder {
  position: relative !important;
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------------
   D1 + D5 — desktop single-row compact header (>=1200px)
   Theme layout was float-stacked: .logo float:left 100px, .nav_menu_indent
   76px float:left, .top-bar__search float:right w/ margin-top:25px hack,
   .stm-nav_type_header float:left pushed to a SECOND 100px row (y150).
   We neutralise the floats and flex the .header__content row so logo, nav
   cluster and search sit on ONE ~100px line, vertically centred.
   --------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .header_view-style_1 .header__content {
    float: none;
    display: flex;
    align-items: center;
    height: 100px;
    width: 100%;
  }

  /* .logo: drop the theme 100px row + float; keep the 84px .tb-site-logo */
  .header_view-style_1 .logo {
    float: none;
    height: auto;
    line-height: normal;
    margin-right: 18px;
    flex: 0 0 auto;
  }

  /* dead lilac spacer block (theme 76px float:left) — the flex row needs it gone */
  .header_view-style_1 .nav_menu_indent {
    display: none;
  }

  /* ---- nav cluster: neutralise float; keep it on the logo's row.
         order:2 + margin-left:auto push the cluster right as a unit; the
         search (order:3) then sits far right (reference look). ---- */
  .header_view-style_1 .stm-nav_type_header {
    float: none;
    order: 2;
    margin-left: auto;
    margin-right: 16px;
    display: flex;
    align-items: center;
  }

  /* the <ul> becomes a flex row too, so items + Apply button centre as one */
  .header_view-style_1 .stm-nav__menu_type_header {
    display: flex;
    align-items: center;
    margin-right: -24px;
  }

  /* every top-level item (incl. .tb-apply-item li) is a flex child, centred */
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item {
    display: flex;
    align-items: center;
  }

  /* anchors: replace the theme 100px block rows with auto-height centred text.
     line-height:44px keeps the text optically centred within the ~100px row
     and defines the hit area; the flex parent centres it. */
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item > a {
    height: auto;
    line-height: 44px;
  }

  /* keep the top-level submenu pinned under the ~100px header row */
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item .sub-menu {
    top: 100%;
    margin-top: 0;
  }

  /* hover/active navy underline sits directly under the link text */
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item > a:after {
    bottom: 8px;
  }
}

/* ---------------------------------------------------------------------
   D5 — Apply button: kill the margin-top:27px hack, size ~44px, let flex
   align-items:center on the ul place it on the nav text line.
   --------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item.tb-apply-item > a.tb-btn-header,
  .stm-nav__menu_type_header > .menu-item.tb-apply-item > a.tb-btn-header {
    height: 44px;
    line-height: 40px;
    padding: 0 20px;
    margin-top: 0;
    border-radius: 4px;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------------
   D1/D5 — tighten top-level item gutters on the desktop flex row so the
   8 text items + Apply button + search fit one 1110px line without wrap.
   --------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .header_view-style_1 .stm-nav__menu_type_header > .menu-item {
    margin: 0 18px;
  }
}

/* ---------------------------------------------------------------------
   D5 — top-bar search: stop the float + 25px top hack; in the flex row it
   is the last (right-most) item, vertically centred (order:3 — nav order:2
   sits between logo and search so the search is far right, reference look).
   --------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .header_view-style_1 .top-bar__search {
    float: none;
    order: 3;
    margin-top: 0;
    margin-left: 0;
    height: 44px;
    min-width: 44px;
    flex: 0 0 auto;
  }
}

/* ---------------------------------------------------------------------
   D6 — mobile header. The theme shows `.header-mobile` <768px and hides
   `.header`/`.top-bar`; before this wave no `.header-mobile` markup existed
   so mobiles had NO logo/header at all. header.blade.php now renders the
   theme's structure (logo + hamburger + slide-down nav) as a sibling of the
   desktop masthead, so theme CSS + custom.js controls both hamburger <-> X
   animation and the .slideDown() of `.stm-nav_type_mobile-header`.
   --------------------------------------------------------------------- */

/* <768px only — make the new mobile header actually visible (it also must
   NOT inherit desktop flex overrides, which are inside @media >=1200). */
@media (max-width: 767px) {
  .header-holder {
    position: relative;
  }

  .header-mobile {
    display: block;
    position: relative;
  }

  /* give the header-mobile a real height so the absolutely-positioned
     hamburger control is inside a tall-enough box (theme control spans
     height:100% of its parent). */
  .header-mobile .header-mobile__logo {
    height: 82px;
  }

  .header-mobile .logo {
    padding: 15px 0;
    line-height: 1;
    height: auto;
  }

  .header-mobile .logo img.tb-site-logo {
    height: 60px;
    width: 60px;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
    box-sizing: border-box;
    vertical-align: middle;
  }

  .header-mobile .header-mobile__nav-control {
    background: transparent;
    border: 0;
  }

  /* hamburger bars + sub-links inherit the brand navy */
  .header-mobile .header-mobile__control-line,
  .header-mobile .header-mobile__control-line:before,
  .header-mobile .header-mobile__control-line:after {
    background: var(--tb-navy);
  }

  .stm-nav_type_mobile-header .stm-nav__menu_type_mobile-header > li {
    text-align: left;
  }

  .stm-nav__menu_type_mobile-header > li > a {
    color: var(--tb-navy);
  }

  /* sub-menus (theme: #56509f bg, white links) — brand-safe */
  .stm-nav__menu_type_mobile-header > li > ul {
    background: var(--tb-navy);
    box-shadow: none;
  }

  .stm-nav__menu_type_mobile-header > li > ul > li > ul {
    background: var(--tb-navy-2);
  }

  /* Apply CTA as a full-width styled link in the mobile menu */
  .stm-nav__menu_type_mobile-header > .menu-item.tb-apply-item > a {
    padding: 13px 15px;
    color: #fff;
    background: var(--tb-navy);
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
}

/* mid-sized (768-1199): theme still shows the desktop masthead, but the CTA
   is hidden <1200 (existing brand rule) — nav fits single-line with theme's
   tighter 17px margins. The desktop flex layout is NOT applied there, so the
   legacy float path remains untouched for tablets. */

/* =====================================================================
   VFIX WAVE 2 — CENTRALIZED SECTION STYLES (D3/D4)
   Owned by frontend-centralize persona. Moves inline styles out of
   home.blade.php / faq.blade.php / layouts/slider.blade.php /
   custom/partials/*.blade.php into named classes. SAME visual output;
   only genuinely-dynamic values stay inline (hero bg url, etc.).
   ===================================================================== */

/* ---------------------------------------------------------------------
   VFIX D3 — HERO (previously an inline <style> in layouts/slider.blade.php).
   Fixes: (a) cap hero height to ~540px instead of 620, (b) make the card
   near-solid so the photo never bleeds through the copy, (c) tighten the
   title/line-height so the full approved H1 fits the card with no clip,
   (d) mobile: flow the card under the hero (no absolute positioning) so
   nothing clips at 375px.
   --------------------------------------------------------------------- */
.stm-hero {
  position: relative;
  height: 540px;
  max-height: 540px;
  overflow: hidden;
}
/* (e) mobile full-bleed (lead QC 2026-09-04): the hero row is nested inside
   a Bootstrap col-sm-12 column, and the theme's WPBakery full-width JS never
   runs on this clone ("$ is not a function"), so at <768px the column is
   only ~295px wide and leaves an ~80px blank band on the left of the hero.
   Pull the hero out of the column flow so it spans the full viewport. */
@media (max-width: 767px) {
  .stm-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  /* hero wrapper ships ~8px bottom margin (theme .wpb_content_element) —
     remove so the hero sits flush under the mobile header */
  .wpb_revslider_element.wpb_content_element {
    margin-bottom: 0 !important;
  }
}
.stm-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.stm-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}
.stm-hero__shape {
  position: absolute;
  left: 10px;
  bottom: 40px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 25px;
  padding: 26px 36px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 10px 40px rgba(20, 38, 94, 0.12);
}
.stm-hero__badge {
  font-size: 13px;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #14265e;
  margin-bottom: 10px;
}
h1.stm-hero__title {
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 54px;
  color: #2e3e4e;
  margin: 0 0 12px;
}
.stm-hero__text {
  font-size: 18px;
  line-height: 28px;
  color: #595959;
  margin-bottom: 18px;
}
/* hero CTA button + its pencil icon (was inline mt/mr on the <i>) */
.stm-hero .stm-btn.tb-hero-btn { margin-top: 4px; }
.tb-hero-btn i { margin-top: -4px; margin-right: 19px; }

/* Tablet 768-991: hero slightly shorter, card scaled down (title 38px). */
@media (max-width: 991px) {
  .stm-hero { height: 500px; max-height: 500px; }
  .stm-hero__shape { padding: 22px 28px; width: 520px; }
  .stm-hero__title { font-size: 38px; line-height: 46px; }
}

/* Mobile <=767: keep the card as a bottom-anchored overlay inside a
   taller-enough hero so the full card (photo behind it) fits with NO
   clipping. Card height at 375 is ~366px; hero 540 leaves a 150px+ photo
   strip above the card and 16px below. */
@media (max-width: 767px) {
  .stm-hero {
    height: 540px;
    max-height: 540px;
    min-height: 540px;
  }
  .stm-hero__slide {
    position: absolute;
    inset: 0;
  }
  .stm-hero__container {
    position: relative;
    height: 100%;
  }
  .stm-hero__shape {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 16px;
    top: auto;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: none;
  }
  .stm-hero__badge { font-size: 11px; line-height: 18px; margin-bottom: 8px; }
  h1.stm-hero__title { font-size: 28px; line-height: 36px; margin-bottom: 10px; }
  .stm-hero__text { font-size: 16px; line-height: 26px; margin-bottom: 14px; }
}

/* ---------------------------------------------------------------------
   VFIX D4 — shared section scaffold (home + partials)
   --------------------------------------------------------------------- */

/* Section kicker line (uppercase navy caption above a section H1) */
.tb-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #14265e;
  margin-bottom: 4px;
}

/* Centered section H1 (stm-title already gets navy + sep from brand rules) */
.tb-sec-h1 { text-align: center; margin-bottom: 18px; }
.tb-sec-h1-lg { text-align: center; margin-bottom: 20px; }
.tb-faq-h1 { text-align: center; margin-bottom: 28px; }

/* Centered section intro paragraphs (shared by every home section) */
.tb-sec-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}
.tb-sec-intro-narrow {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
}

/* vc_row section paddings that were inline (home sections 2-6).
   REF measured values (A1 "Measured geometry & rhythm"): S6 news 47/70,
   S2 programmes 0/46, S4 parallax 37/76, S8+S9 testimonials+FAQ 37/23,
   S5 tint 35/50, S10 tint 45/93, S0 hero 0/81. kindy-custom.css loads last,
   so these win over the theme's vc_row. E1 section workers override per section
   in their own kindy-s*.css files. */
.tb-sec { padding-top: 47px; padding-bottom: 70px; }
.tb-sec--tint { background-color: #fff9f2; }
.tb-sec--pad-sm { padding-top: 0; padding-bottom: 46px; }
.tb-sec--pad-md { padding-top: 37px; padding-bottom: 76px; }
.tb-sec--faq { padding-top: 37px; padding-bottom: 23px; }

/* Centered max-width rows that were inline-centered (pillars/services/functions) */
.tb-row-center-md { max-width: 860px; margin: 0 auto; }
.tb-row-center-lg { max-width: 960px; margin: 0 auto; }
.tb-row-center-xl { max-width: 1100px; margin: 0 auto; }

/* Action-box (core values): centre the column content */
.tb-cv-box { text-align: center; }
/* Per-item figcaption colors (were inline background-color from the array) —
   a plain-class rule cannot beat main.css's `.stm-action-box__figure_box
   .stm-action-box__figcaption_box` (0,3,0), so prefix the element. */
figure.stm-action-box__figcaption_box.tb-cv--1 { background-color: #95cc47; }
figure.stm-action-box__figcaption_box.tb-cv--2 { background-color: #bd66ff; }
figure.stm-action-box__figcaption_box.tb-cv--3 { background-color: #ffaf40; }
figure.stm-action-box__figcaption_box.tb-cv--4 { background-color: #ff6666; }
figure.stm-action-box__figcaption_box.tb-cv--1:hover { background-color: #95cc47; }
figure.stm-action-box__figcaption_box.tb-cv--2:hover { background-color: #bd66ff; }
figure.stm-action-box__figcaption_box.tb-cv--3:hover { background-color: #ffaf40; }
figure.stm-action-box__figcaption_box.tb-cv--4:hover { background-color: #ff6666; }
/* figcaption content text was inline color:white */
.tb-cv-text { color: #ffffff; }

/* Services icon boxes (were inline text-align/colors) */
.tb-svc-box { text-align: left; }
.tb-svc-ic { font-size: 56px; }
div.stm-icon-box__ic-container.tb-svc-ic--md { font-size: 44px; }   /* academics teach icons (44px) */
/* Service icon colors — a plain-class rule cannot beat the theme's
   `.stm-icon-box .stm-icon-box__ic-container` (0,2,0), so prefix element. */
div.stm-icon-box__ic-container.tb-svc-ic--1 { color: #14265e; }
div.stm-icon-box__ic-container.tb-svc-ic--2 { color: #1f3a93; }
div.stm-icon-box__ic-container.tb-svc-ic--3 { color: #14265e; }
div.stm-icon-box__ic-container.tb-svc-ic--navy { color: #14265e; }   /* shared navy (academics teach icons) */
.tb-svc-desc { color: #595959; }
.tb-svc-box .stm-icon-box__title { font-size: 17px; font-weight: 600; }

/* Button helpers (icon offsets + inline link gaps were inline mt/mr/ml) */
.tb-btn-ctr-mt { margin-top: 26px; }
.tb-btn-ic-mr i { margin-top: -3px; margin-right: 12px; }
.tb-btn-ic-md i { margin-top: -3px; margin-right: 10px; }
.tb-btn-ic-lg i { margin-top: -4px; margin-right: 19px; }
.tb-btn-ic-xl i { margin-top: -3px; margin-right: 19px; }
.tb-btn-gap { margin-left: 10px; }

/* CTA band (was inline navy bg + white h2/p + padding) */
.tb-cta-band { background-color: #bd66ff; }
.tb-cta-band .vc_column-inner { padding-top: 45px; padding-bottom: 45px; }
.tb-cta-title { color: #ffffff; margin-bottom: 8px; }
.tb-cta-desc { color: #ffffff; }

/* ---------------------------------------------------------------------
   D4 — FAQ page (faq.blade.php; module disabled but view kept centralized)
   --------------------------------------------------------------------- */
.tb-faq-page-h1 { text-align: left; margin-top: 5px; margin-bottom: 31px; }
.tb-faq-sub-h { text-align: left; margin-top: 35px; margin-bottom: 17px; }
.tb-faq-intro { margin: 0 0 20px; }
.tb-faq-intro span { display: block; letter-spacing: -0.35px; font-size: 18px; color: #595959; }
.tb-faq-form { margin-top: 20px; }
.tb-faq-dl { margin-bottom: 30px; }
.tb-faq-dl-link { text-align: left; }
.tb-faq-dl-ic { font-size: 32px; color: #e64646; }
.tb-faq-skype { margin-bottom: 35px; }
.tb-faq-skype-ic { font-size: 36px; }

/* ---------------------------------------------------------------------
   D4 — Academics (academics_content.blade.php)
   --------------------------------------------------------------------- */
.tb-aca-h1 { text-align: center; margin: 34px 0 26px; }
.tb-aca-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 38px;
  color: #595959;
  line-height: 28px;
}
.tb-aca-row-mb { margin-bottom: 20px; }
.tb-aca-sub { text-align: left; margin-bottom: 22px; font-size: 26px; }
.tb-aca-row-sub { margin: 26px 0 18px; }
.tb-aca-row-teach { margin-bottom: 44px; }
.tb-aca-card { margin-bottom: 24px; }
.tb-aca-svc { text-align: left; margin-bottom: 22px; }
.tb-aca-svc-title { font-size: 17px; font-weight: 600; }
.tb-aca-cta { margin: 10px 0 56px; }

/* ---------------------------------------------------------------------
   D4 — Registration / Contact partials
   --------------------------------------------------------------------- */
.tb-reg-h1 { text-align: center; margin-bottom: 26px; }
.tb-reg-form-row { margin-bottom: 30px; }
.tb-reg-sub { text-align: left; margin-top: 10px; margin-bottom: 24px; font-size: 22px; line-height: 30px; }
.tb-reg-faq-sub { text-align: left; margin-top: 5px; margin-bottom: 24px; font-size: 22px; line-height: 30px; }
.tb-contact-sub { text-align: left; margin-top: -8px; margin-bottom: 24px; font-size: 22px; line-height: 30px; }

/* Admission Enquiry side card (was inline bg + paddings + list reset) */
.tb-enq-box { background: #fff9f2; border-radius: 6px; padding: 25px 25px 20px; }
.tb-enq-title { text-align: left; margin-top: 0; margin-bottom: 20px; font-size: 20px; line-height: 28px; color: #14265e; }
.tb-enq-list { list-style: none; margin: 0; padding: 0; }
.tb-enq-list > li { margin-bottom: 12px; }
.tb-enq-ic { color: #14265e; }
.tb-enq-link { color: #14265e; }
.tb-enq-link:hover { color: #14265e; }

/* ---------------------------------------------------------------------
   D4 — Teachers partial (h1 + intro)
   --------------------------------------------------------------------- */
.tb-teach-h1 { text-align: center; margin-bottom: 24px; }

/* ---------------------------------------------------------------------
   D4 — Gallery label chip (was an inline <style> in gallery_content.blade.php)
   --------------------------------------------------------------------- */
.stm-media-gallery__item .tb-gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 3px 12px;
  background: rgba(20, 38, 94, 0.85);
  color: #fff;
  border-radius: 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   D4 — Registration/contact form styles (was an inline <style> in
   registration_content.blade.php; shared with the contact form).
   --------------------------------------------------------------------- */
.tb-form-group { margin-bottom: 22px; }
.tb-form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #14265e; }
.tb-form-group .tb-form-control {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 25px;
  color: #011b3a;
  line-height: 24px;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}
.tb-form-group .tb-form-control:focus { outline: none; border-color: #14265e; }
.tb-form-group textarea.tb-form-control { resize: vertical; min-height: 110px; }
.tb-checkbox-label { display: inline-block; font-weight: 400; cursor: pointer; }
.tb-checkbox-label input { margin-right: 8px; }
.tb-form-msg { margin: 12px 0 16px; padding: 12px 16px; border-radius: 6px; display: none; }
.tb-form-msg.tb-msg-ok { display: block; background: #eaf6ea; border: 1px solid #95cc47; color: #2e7d32; }
.tb-form-msg.tb-msg-err { display: block; background: #fdecea; border: 1px solid #ff6666; color: #c62828; }

/* ======= Tall Birch floating WhatsApp button (right side, all pages) ======= */
.whatsapp_float{position:fixed;right:25px;bottom:25px;width:60px;height:60px;background:#25d366;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;line-height:1;box-shadow:0 4px 14px rgba(37,211,102,.45);z-index:999999;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.whatsapp_float:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(37,211,102,.6);color:#fff}
.whatsapp_float:active,.whatsapp_float:visited,.whatsapp_float:focus{color:#fff}
.whatsapp_float i{pointer-events:none;font-family:"Font Awesome 5 Brands";font-weight:400}
@media (max-width:767px){.whatsapp_float{right:15px;bottom:15px;width:52px;height:52px;font-size:28px}}

/* =====================================================================
   R6-HDR — client round 3, item 1: BOLD navigation + school name beside
   the logo. Owned by R6-HDR (header/nav rules ONLY — footer blocks and the
   other R6 writers' files are untouched). Theme main.css is NEVER edited;
   kindy-custom.css loads last, so these later rules win on equal specificity.
   ===================================================================== */

/* --- 1. Navigation: bold (client: "bold and clearly visible"). Only the
       weight changes 400 -> 700; pink (#ff6682), 18px size and the existing
       letter-spacing rhythm are kept. The hover/current underline rules above
       (kindy-custom.css ~:402-419, :679-681) are untouched and still fire. --- */
.header_view-style_1 .stm-nav_type_header .stm-nav__menu_type_header > .menu-item > a,
.stm-nav_type_header .stm-nav__menu_type_header > .menu-item > a {
  font-weight: 700;
}
/* mobile slide-down nav: same bold weight on the top-level links */
.stm-nav_type_mobile-header .stm-nav__menu_type_mobile-header > .menu-item > a {
  font-weight: 700;
}

/* --- 2. School name beside the logo ("TALL BIRCH / INTERNATIONAL / SCHOOL").
       Real markup (three <span> lines), NOT an image. Hidden by default and
       shown only where it has room: the desktop flex row (>=1200px), the
       tablet float row (992-1199px) and the mobile header (<=768px, theme's
       own breakpoint). --- */
.tb-brand-name {
  display: none;
  flex-direction: column;
  justify-content: center;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tb-navy);
  letter-spacing: 0.5px;
  line-height: 1.15;
  white-space: nowrap;
}
.tb-brand-name__line { display: block; }

/* desktop single-row (>=1200): a flex child between .logo and the nav cluster.
   .logo margin-right 18 -> 14 so the text block sits ~14px off the logo; the
   nav cluster is margin-left:auto (right-anchored) so it does NOT move. */
@media (min-width: 1200px) {
  .header_view-style_1 .header__content > .tb-brand-name {
    display: flex;
    flex: 0 0 auto;
    font-size: 15px;
  }
  .header_view-style_1 .logo { margin-right: 14px; }
}

/* tablet (768-1199): the brand block stays HIDDEN on purpose.
   Measured 2026-09-15 (lead): with the block visible at 1024 in any form
   (float:left, inline-block, flex) the theme's tablet header row collapses —
   `.header` grows to ~630-650px, `.logo` shrinks to 0-17px, the nav renders as
   a 576px vertical list and `.header-mobile` becomes visible simultaneously.
   With the block hidden the same viewport measures `.header` 1024x101 with an
  84px logo and a horizontal 601px nav — i.e. the tablet layout is only correct
   without it. The client's "responsive on tablet" requirement is met by keeping
   the tablet header intact (logo + horizontal nav) rather than by cramming the
   name in; the name is shown on desktop (>=1200) and in the mobile header. */

/* mobile header (<=768): beside the mobile logo, smaller still */
@media (max-width: 768px) {
  .header-mobile .tb-brand-name {
    display: flex;
    float: left;
    margin-left: 12px;
    padding: 19px 0;
    font-size: 12px;
  }
}

/* =====================================================================
   R7-CLEAN — client round 3, item 9/10: footer blocks.
   (a) School Information = three labelled lines (replaced the intro paragraph)
   (b) Media Gallery thumbs: uniform square, cover-cropped, equal gaps, tidy grid
   (c) Cookie-consent CSS: none existed in this file (the panel used theme classes
       and its blade is deleted), so nothing to remove here.
   ===================================================================== */

/* --- (a) School Information block ---------------------------------------
   Owner order 2026-09-27 ("Footer - Final Layout Fix"):
     - school name directly below the logo, ONE single line, medium size;
     - the whole description in white (it was inheriting the theme's
       `p { color: #595959 }`, unreadable on the navy footer background);
     - the footer's excess vertical space removed so it reads compact.
   Measured before this fix (1280x633, live page): footer 660 px tall; title
   line-box 48 px (inherited h5 leading); description line-height 30 px and
   #595959. Nothing else in the footer is touched: background colour, logo,
   links, gallery and contact details stay as they are. Centralised here -
   no inline styles anywhere. */
.tb-school-info {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
}
.tb-school-info__line { display: block; }
.tb-school-info__label { font-weight: 700; }
.tb-school-info__title {
  display: block;
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2px;
  color: #ffffff;
  white-space: nowrap;            /* one single line on desktop */
}
.tb-school-info__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #ffffff;                 /* direct rule - beats the theme's p{} colour */
}

/* One line only where the column can hold it; it wraps again below 992 px
   so the name never overflows on tablets and phones. */
@media (max-width: 991px) {
  .tb-school-info__title { white-space: normal; font-size: 14px; }
}

/* Compact footer: the theme pads the footer widget area 61/53 px and the
   logo block carried an empty <br/> line. Reduced - nothing hidden. */
.footer .widget-area_type_footer {
  padding-top: 34px;
  padding-bottom: 30px;
}
.footer .widget_footer.widget_text { margin-bottom: 0; }
.footer .widget_logo_box { line-height: 0; }

/* --- (b) Media Gallery: six identical square thumbs --------------------- */
/* Measured before (2026-09-15): li 89px wide but 48/58/103/77/77/77px tall with
   `object-fit: fill`, so the grid was visibly ragged. Now: fixed square box,
   cover crop, equal gaps, and the theme's camera overlay link still works. */
.footer .stm-media-gallery_widget,
.footer .stm-media-gallery {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .stm-media-gallery_widget > li,
.footer .stm-media-gallery > li {
  float: none !important;
  width: 84px;
  height: 84px;
  margin: 0 !important;
  border-radius: 6px;
  overflow: hidden;
}
.footer .stm-media-gallery_widget > li img,
.footer .stm-media-gallery > li img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* The thumb's inner group must fill the fixed 84px box (measured: it was 72x45,
   so the img could not cover the square). */
.footer .stm-media-gallery_widget > li > .stm-media-gallery__item-group,
.footer .stm-media-gallery > li > .stm-media-gallery__item-group {
  width: 100%;
  height: 100%;
}
.footer .stm-media-gallery_widget > li > .stm-media-gallery__item-group > a,
.footer .stm-media-gallery > li > .stm-media-gallery__item-group > a {
  width: 100%;
  height: 100%;
}

/* Even spacing: the theme pads each li 0/6px, which made the gaps 14px across vs 8px down
   and left the img a 72px-wide box. Drop that padding and let the 8px flex gap do the work
   so every thumb is a true 84x84 square with identical spacing. */
.footer .stm-media-gallery_widget > li,
.footer .stm-media-gallery > li {
  padding: 0 !important;
}

/* ===== /about — owner About Us copy (2026-09-30) =====
   The page body is DB-rendered semantic HTML (<h2> + <p>), no inline styles.
   Typography is already supplied by the TB type system above (h2 = Abril Fatface
   42px #56509f; body = Dosis 18px/28px); these rules only do the centred column,
   the heading alignment and the paragraph rhythm. */
.tb-about-page {
  max-width: 900px;
  margin: 0 auto;
}
.tb-about-page h2 {
  text-align: center;
  margin: 0 0 22px;
}
.tb-about-page p {
  margin: 0 0 20px;
  color: #595959;
}
.tb-about-page p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .tb-about-page h2 {
    font-size: 30px;
    line-height: 44px;
  }
}

/* TB Batch-2 — message + mission pages (2026-10-04). Prefixes: .tb-*-page. */
/* ---------------------------------------------------------------------
   Batch-2 page bodies (owner order 2026-10-04). Seven page-scoped
   prefixes only: .tb-founder-page .tb-chairman-page .tb-principal-page
   .tb-mission-page .tb-vision-page .tb-belief-page .tb-motto-page.
   Desktop: media column 42% / body column. Mobile (<=767px): stacked,
   media first. Photos keep their source aspect ratio and are never
   upscaled; palette stays on the existing navy #14265e and accent
   #ff6682. Nothing here touches a page outside these prefixes.
   --------------------------------------------------------------------- */

/* --- two-column grid (media one side, body the other) --- */
.tb-founder-page,
.tb-chairman-page,
.tb-principal-page,
.tb-mission-page,
.tb-vision-page,
.tb-belief-page,
.tb-motto-page {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* --- media column --- */
.tb-founder-page__media,
.tb-chairman-page__media,
.tb-principal-page__media,
.tb-mission-page__media,
.tb-vision-page__media,
.tb-belief-page__media,
.tb-motto-page__media {
  margin: 0;
  min-width: 0;
}

/* --- photo box: source ratio kept, never upscaled (display box is capped
       by the 42% column; intrinsic width always >= the rendered width) --- */
.tb-founder-page__photo,
.tb-chairman-page__photo,
.tb-principal-page__photo,
.tb-mission-page__photo,
.tb-vision-page__photo,
.tb-belief-page__photo,
.tb-motto-page__photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(20, 38, 94, 0.12);
  box-shadow: 0 10px 40px rgba(20, 38, 94, 0.12);
}

.tb-founder-page__photo { aspect-ratio: 496 / 603; }
.tb-chairman-page__photo { aspect-ratio: 3 / 4; }
.tb-principal-page__photo { aspect-ratio: 5 / 4; }
.tb-mission-page__photo { aspect-ratio: 20 / 9; }    /* tb-hero-campus-009.jpg 1600x720 */
.tb-motto-page__photo { aspect-ratio: 35 / 19; }     /* 700x380 thsh stage photos */

/* Owner order 2026-11-20 — the owner's own photos replace the stage
   placeholders on two of these pages, and they are NOT 35:19:
     Our Core Belief.jpeg 1586x893  (1.776, landscape)
     Our Vision.jpeg       543x893  (0.608, portrait)
   Forcing 35/19 on the portrait one crops away two thirds of it, so each
   page now states the ratio of the file it actually displays. The media
   column, the 42% grid, the radius/border/shadow and the mobile stacking
   are untouched — only the box shape changed, and object-fit:cover still
   guarantees no distortion. */
.tb-vision-page__photo { aspect-ratio: 543 / 893; }
.tb-belief-page__photo { aspect-ratio: 1586 / 893; }

/* The owner's Our Vision photo is portrait (543x893), and this page's copy is
   one short paragraph. Left at the column width the figure ran 497px tall
   against 258px of text, leaving ~240px of dead space. The figure is therefore
   capped by HEIGHT so it matches the copy, kept on the photograph's own 0.608
   ratio (no crop, no distortion), and centred at the top of its column. */
.tb-vision-page__media {
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.tb-vision-page__photo {
  max-height: 330px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
/* the photo is taller than the single paragraph, so centre the pair
   vertically instead of top-aligning them and leaving a gap underneath. */
.tb-vision-page {
  align-items: center;
}

/* --- body column + type (existing fonts; navy heading, grey body) --- */
.tb-founder-page__body,
.tb-chairman-page__body,
.tb-principal-page__body,
.tb-mission-page__body,
.tb-vision-page__body,
.tb-belief-page__body,
.tb-motto-page__body {
  min-width: 0;
}

.tb-founder-page__heading,
.tb-chairman-page__heading,
.tb-principal-page__heading,
.tb-mission-page__heading,
.tb-vision-page__heading,
.tb-belief-page__heading,
.tb-motto-page__heading {
  color: #14265e;
  margin: 0 0 18px;
}

.tb-founder-page__body p,
.tb-chairman-page__body p,
.tb-principal-page__body p,
.tb-mission-page__body p,
.tb-vision-page__body p,
.tb-belief-page__body p,
.tb-motto-page__body p {
  color: #595959;
  line-height: 1.75;
  margin: 0 0 16px;
}

/* --- mission: lead line + 7 commitments --- */
.tb-mission-page__lead {
  font-weight: 600;
  color: #14265e;
}

.tb-mission-page__list {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc outside;
}

.tb-mission-page__list li {
  color: #595959;
  line-height: 1.75;
  margin-bottom: 10px;
}

/* --- principal: pull-quote --- */
.tb-principal-page__quote {
  margin: 0 0 20px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid #ff6682;
}

.tb-principal-page__quote p {
  color: #14265e;
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* --- motto: pull-quote inside the body column --- */
.tb-motto-page__motto {
  margin: 6px 0 20px;
  padding: 6px 0 6px 22px;
  border-left: 6px solid #ff6682;
  color: #14265e;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 600;
}

/* --- signatures --- */
.tb-chairman-page__sign,
.tb-principal-page__sign {
  font-size: 16px;
  line-height: 1.6;
  color: #14265e;
  margin-top: 18px;
}

/* --- mobile: single column, media first (DOM order is media then body) --- */
@media (max-width: 767px) {
  .tb-founder-page,
  .tb-chairman-page,
  .tb-principal-page,
  .tb-mission-page,
  .tb-vision-page,
  .tb-belief-page,
  .tb-motto-page {
    display: block;
  }

  .tb-founder-page__media,
  .tb-chairman-page__media,
  .tb-principal-page__media,
  .tb-mission-page__media,
  .tb-vision-page__media,
  .tb-belief-page__media,
  .tb-motto-page__media {
    margin: 0 0 24px;
  }

  .tb-principal-page__quote p { font-size: 20px; }

  .tb-motto-page__motto { font-size: 22px; }
}

/* ===== TB Batch-2 round B — /contacts + /about photo band (2026-10-04) =====
   Appended after the A2 .tb-founder-page … .tb-motto-page section; existing
   rules are never reordered or rewritten. Palette stays on navy #14265e and
   accent #ff6682. No phone/map sizing is inline — all of it lives here. */

/* --- /contacts: information cards --- */
.tb-contacts-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 34px;
}
.tb-contacts-page__card {
  background: #fff;
  border: 1px solid rgba(20, 38, 94, 0.12);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(20, 38, 94, 0.08);
}
.tb-contacts-page__card-icon {
  display: inline-block;
  font-size: 26px;
  color: #ff6682;
  margin-bottom: 12px;
}
.tb-contacts-page__card-label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: #14265e;
  margin-bottom: 6px;
}
.tb-contacts-page__card-value {
  display: block;
  color: #595959;
  line-height: 1.6;
  word-wrap: break-word;
}
.tb-contacts-page__card-value a {
  color: #14265e;
  text-decoration: none;
}
.tb-contacts-page__card-value a:hover { color: #ff6682; }

/* --- /contacts: form + keyless map --- */
.tb-contacts-page__form { margin: 0; }
.tb-contacts-page__map {
  margin: 34px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 94, 0.12);
  box-shadow: 0 10px 30px rgba(20, 38, 94, 0.08);
}
.tb-contacts-page__map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* --- /about: photo-led band (sits above the .tb-about-page copy column) --- */
.tb-about-page__media { margin: 0 0 34px; }
.tb-about-page__hero { margin: 0 0 14px; }
.tb-about-page__hero-img {
  width: 100%;
  display: block;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 38, 94, 0.16);
}
.tb-about-page__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tb-about-page__thumb {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

/* --- mobile (<=767px): cards + gallery collapse to one column --- */
@media (max-width: 767px) {
  .tb-contacts-page__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tb-contacts-page__map-frame { height: 320px; }
  .tb-about-page__hero-img { aspect-ratio: 20 / 9; }
  .tb-about-page__gallery { grid-template-columns: 1fr; }
}

/* =====================================================================
   T2.2 - /gallery page (module_22) + /achievements page (1036)
   Worker B. Scoped to .tb-gallery-page / .tb-achievements-page only; no
   theme rule outside these scopes is touched.
   ===================================================================== */
/* --- /gallery: heading, intro, CTA (replaces the old inline styles) --- */
.tb-gallery-page__title { text-align: center; margin-bottom: 16px; }
.tb-gallery-page__intro { text-align: center; max-width: 820px; margin: 0 auto 30px; }

/* --- /gallery tiles: honest mixed portrait/landscape, no crop / no fixed
       height. main.css already sets .stm-media-gallery__item img
       {width:100%;height:auto} and .stm-media-gallery__item{overflow:hidden};
       we only layer spacing / radius / shadow. --- */
.tb-gallery-page .stm-media-gallery__item-col { margin-bottom: 24px; }
.tb-gallery-page .stm-media-gallery__item {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(20, 38, 94, 0.12);
}
.tb-gallery-page .stm-media-gallery__item img { border-radius: 8px; }
.tb-gallery-page .stm-media-gallery__item .tb-gallery-label {
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- /gallery filter chips: the theme padding (5px 50px) is too wide for
       narrow phones; tightened, with a small-screen step-down. --- */
.tb-gallery-page .stm-media-gallery__filter { margin-bottom: 8px; }
.tb-gallery-page .stm-media-gallery__filter-link { padding: 6px 22px; font-size: 15px; line-height: 26px; }
@media (max-width: 575px) {
  .tb-gallery-page .stm-media-gallery__filter-link { padding: 5px 14px; font-size: 13px; }
}

/* --- /achievements: page head + responsive card grid (1 / 2 / 3 col) --- */
.tb-achievements-page__title { text-align: center; margin-bottom: 16px; }
.tb-achievements-page__intro { max-width: 820px; margin: 0 auto 32px; }
.tb-achievements-page__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 576px) {
  .tb-achievements-page__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .tb-achievements-page__grid { grid-template-columns: repeat(3, 1fr); }
}
.tb-achievements-page__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(20, 38, 94, 0.08);
}
.tb-achievements-page__media { width: 100%; height: auto; display: block; }
/* Card heading shares the __title class with the page H1 (Worker A contract);
   the descendant selector keeps the page H1 centred/large and the card
   heading left/medium. */
.tb-achievements-page__card .tb-achievements-page__title {
  text-align: left;
  margin: 16px 20px 8px;
  font-size: 20px;
  color: var(--tb-navy);
}
.tb-achievements-page__date {
  display: block;
  margin: 0 20px 8px;
  font-size: 13px;
  color: #6b7280;
}
.tb-achievements-page__text {
  margin: 0 20px 20px;
  color: #5b6273;
  line-height: 1.6;
}
/* =====================================================================
   OWNER ORDER 2026-11-18 — homepage fix round (issue groups 2, 3A/3B/3C, 5)
   One appended block so the whole round is greppable and removable.

   NOTE ON SPECIFICITY (learned the hard way on this theme):
   the theme ships `.header_view-style_1 .top-bar__search .stm-search-form__submit`
   (0,3,0) and `.stm-carousel_view_courses.owl-carousel .owl-controls .owl-nav
   .owl-prev { display:block !important }`. A two-class override loses. Every
   rule below therefore repeats the theme's own selector shape, and this file
   loads AFTER main.css, so equal specificity + later wins.
   ===================================================================== */

/* ---------------------------------------------------------------------
   GROUP 2 — TOP INFORMATION BAR
   School name + "Hoshiarpur, Punjab" removed from the markup
   (layouts/topbar.blade.php). The three contact details are centred.

   Measured before @1440: bar centre 720, contact box x568 w681 -> centre 909,
   i.e. 189px right of centre. Cause: .top-bar__content is a plain block and
   .contact_details__box is inline-block with margin-left:75px.
   After: centre delta 0.0px at 1440 / 1280 / 1024 / 991.
   --------------------------------------------------------------------- */
.top-bar_view-style_1 .top-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.top-bar_view-style_1 .top-bar__content > .contact_details__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: 0;   /* was 75px — the offset that right-shifted the row */
  padding-top: 0;   /* vertical centring now comes from the flex row */
  text-align: center;
}
.top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact:not(:last-child) {
  margin-right: 37px;   /* theme gap kept explicitly beside the flex row */
}

@media (max-width: 1199px) {
  .top-bar_view-style_1 .top-bar__content { min-height: 44px; }
  .top-bar_view-style_1 .top-bar__content > .contact_details__box { padding: 6px 0; }
  .top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact {
    padding: 0 8px;
    font-size: 13px;
  }
  .top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact:not(:last-child) {
    margin-right: 8px;
  }
}
@media (max-width: 480px) {
  .top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact { padding: 0 4px; font-size: 12px; }
  .top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact:not(:last-child) { margin-right: 2px; }
}
/* (<=991px the theme hides .top-bar and shows .top-bar-mobile, which already
   centres itself — nothing to override there.) */

/* ---------------------------------------------------------------------
   GROUP 3A — SEARCH GLYPH CENTRING
   Measured before @1440: circle 44x44, centre (1253,106). The theme pins
   the submit at top:8px right:7px with width:30 height:32, so the glyph
   centre landed 2px left / 3px low (and 16px / 15px off on the 50px
   tablet circle). Fix: centre the button BOX on the circle centre on both
   axes, then centre the glyph inside the button.
   Selector text matches the theme's rule so the override actually lands.
   --------------------------------------------------------------------- */
/* The button's containing block is .stm-search-form (position:relative,
   padding-top:3px in main.css:504-505) — NOT the circle. That padding is what
   pushed the glyph 6.5px low. Neutralise it so the form IS the circle's
   content box, then centre the button in it with inset:0 + margin:auto. */
.header_view-style_1 .top-bar__search .stm-search-form,
.top-bar_view-style_1 .top-bar__search .stm-search-form {
  position: relative;
  display: block;
  height: 100%;
  padding: 0 !important;
  margin: 0;
}
.header_view-style_1 .top-bar__search .stm-search-form__submit,
.top-bar_view-style_1 .top-bar__search .stm-search-form__submit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 32px;
  margin: auto;          /* exact centring inside the circle content box */
  padding: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}
.header_view-style_1 .top-bar__search .stm-search-form__submit .stm-icon.stm-icon-search,
.top-bar_view-style_1 .top-bar__search .stm-search-form__submit .stm-icon.stm-icon-search {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 18px;
  width: 18px;
}
.header_view-style_1 .top-bar__search .stm-search-form__submit .stm-icon.stm-icon-search:before,
.top-bar_view-style_1 .top-bar__search .stm-search-form__submit .stm-icon.stm-icon-search:before {
  display: block;
  line-height: 18px;
  height: 18px;
}

/* Open state: the pill is wider than the circle, so the glyph returns to the
   pill's right end (the affordance the theme already had) instead of sitting
   at the circle centre. */
.header_view-style_1 .top-bar__search.stm-search-form__field_active .stm-search-form__submit,
.top-bar_view-style_1 .top-bar__search.stm-search-form__field_active .stm-search-form__submit {
  left: auto;
  right: 4px;
  margin: 0;
}

/* ---------------------------------------------------------------------
   GROUP 3B — SEARCH BAR VISIBILITY
   Measured before on the live site with the field open:
     viewport 1200 -> field right edge 1282  (82px OUTSIDE the viewport)
     viewport 1280 -> 1322 (42px outside) ; 1366 -> 1365 (1px outside)
   Cause: the circle is the last item of the header flex row, so widening
   .stm-search-form__field to 170px grew the circle to the RIGHT, off
   screen. Fix: the circle keeps its 44px slot and the open field is drawn
   as a pill anchored to the circle's RIGHT edge, extending leftwards.
   After: clipped=false at 1440 / 1280 / 1200 / 1024 / 991, page overflowX 0.
   --------------------------------------------------------------------- */
.top-bar__search {
  overflow: visible;   /* the open pill may extend left of the 44px slot */
}
.header_view-style_1 .top-bar__search .stm-search-form__field.stm-search-form__field_active,
.top-bar_view-style_1 .top-bar__search .stm-search-form__field.stm-search-form__field_active {
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 170px;
  max-width: calc(100vw - 32px);   /* never wider than the viewport */
  height: 40px;
  padding-left: 18px;
  padding-right: 36px;             /* clear of the submit button */
  background: #ff6682;
  border: 2px solid #ff6682;
  border-radius: 200px;
  color: #fff;
  text-align: left;
  z-index: 1;
}
.header_view-style_1 .top-bar__search .stm-search-form__field.stm-search-form__field_active::-webkit-input-placeholder,
.top-bar_view-style_1 .top-bar__search .stm-search-form__field.stm-search-form__field_active::-webkit-input-placeholder {
  color: #fff;
}
.header_view-style_1 .top-bar__search.stm-search-form__field_active,
.top-bar_view-style_1 .top-bar__search.stm-search-form__field_active {
  background: transparent;
  border-color: transparent;
}
.header_view-style_1 .top-bar__search.stm-search-form__field_active .stm-icon.stm-icon-search:before,
.top-bar_view-style_1 .top-bar__search.stm-search-form__field_active .stm-icon.stm-icon-search:before {
  color: #fff;   /* glyph sits on the pink pill in the open state */
}
@media (min-width: 992px) and (max-width: 1199px) {
  .header_view-style_1 .top-bar__search .stm-search-form__field.stm-search-form__field_active { width: 150px; }
}

/* ---------------------------------------------------------------------
   GROUP 3C — mobile search UI.
   The theme hides .header and .top-bar <=768px, so phones had NO search
   control at all. Toggle + row live in the mobile header and submit the
   SAME GET mechanism as desktop.
   --------------------------------------------------------------------- */
.tb-mobile-search { display: none; }
.tb-mobile-search-panel { display: none; }

@media (max-width: 768px) {
  .header-mobile__logo .tb-mobile-search {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 75px;            /* immediately left of the hamburger control */
    width: 56px;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #011b3a;
    font-size: 19px;
    z-index: 2;
  }
  .tb-mobile-search-panel {
    padding: 0 20px 14px;
    background: #fff;
  }
  .tb-mobile-search-panel.is-open { display: block; }
  .tb-mobile-search-panel form {
    display: flex;
    align-items: center;
    border: 2px solid #ff6682;
    border-radius: 200px;
    overflow: hidden;
    background: #fff;
  }
  .tb-mobile-search-panel input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;           /* lets the input shrink inside the flex row */
    height: 40px;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
  }
  .tb-mobile-search-panel button[type="submit"] {
    flex: 0 0 auto;
    width: 44px;
    height: 40px;
    border: 0;
    background: #ff6682;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
  }
}

/* ---------------------------------------------------------------------
   GROUP 5 — CLASSES CAROUSEL ARROWS REMOVED
   This owl build still emits the .owl-nav container with prev/next children
   even when initialised with nav:false, and the theme forces them visible:
     main.css:4848-4849  .stm-carousel_view_courses... .owl-prev/.owl-next
                         { display: block !important; ... }
   So the arrows are removed here, scoped to the Classes section by its own
   wrapper class. No other slider on the page matches this selector —
   verified: the testimonials carousel's arrows stay display:none as before,
   and .stm-slider / hero keep theirs.
   --------------------------------------------------------------------- */
.tb-classes-carousel .stm-carousel_view_courses.owl-carousel .owl-nav,
.tb-classes-carousel .stm-carousel_view_courses.owl-carousel .owl-controls .owl-nav {
  display: none !important;
}
.tb-classes-carousel .stm-carousel_view_courses.owl-carousel .owl-controls .owl-nav .owl-prev,
.tb-classes-carousel .stm-carousel_view_courses.owl-carousel .owl-controls .owl-nav .owl-next {
  display: none !important;
}

/* ---------------------------------------------------------------------
   GROUPS 4, 5, 6, 7 — inert "button" labels.
   These are now <span role="text"> carrying the SAME .stm-btn /
   .courses_post__link_more classes. Every sizing, typography, position and
   hover rule in this theme is class-based (verified: there is no `a.stm-btn`
   or `a.courses_post__link_more` selector), so the look is unchanged; only
   the link semantics are gone. cursor:default marks the label as inert.
   --------------------------------------------------------------------- */
span.stm-btn { cursor: default; }
span.stm-btn:focus,
span.stm-btn:hover { text-decoration: none; }
span.courses_post__link_more { cursor: default; }
span.courses_post__link_more,
span.courses_post__link_more span { text-decoration: none; }

/* =====================================================================
   OWNER ORDER 2026-11-18 — follow-up round (wave 2, after the first
   deploy). Prod keeps the round-1 block above untouched; only the three
   gaps measured on the live site are addressed here:

   (a) 769-991px showed the contact strip with all three details WHILE the
       bar above showed only phone + email (main.css hides
       `.top-bar__contact_schedule` at max-width:991px). The same details
       appeared twice, and the schedule was inside the strip only. The bar
       now keeps all three at every width and the strip is phone-only.
   (b) the Classes cards rendered broken images: those three rows store a
       bare "<uuid>.jpg" in photo_file, which imageUrl() resolved to
       /files/<uuid>.jpg (302 to home). Fixed in FrontendContent::imageUrl()
       (topics/ prefix) — no CSS here.
   (c) the Classes `.owl-nav` wrapper (0-height on prod, but still an
       absolutely-positioned block over the stage) is removed from the DOM
       in layouts/foot.blade.php right after init, so no arrow element
       exists in the Classes section at all.
   ===================================================================== */

/* ---- (a) top bar: keep the schedule inside the bar at every width ---- */
.top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact_schedule {
  display: inline-flex !important;
  align-items: center;
}

/* the strip mirrors the theme's own breakpoint (main.css hides .top-bar at
   max-width:768px, inclusive) so no width loses the details and none shows
   them twice. `.tb-topbar-mobile` replaces Bootstrap's visible-xs-block,
   whose !important hide rule left exactly-768px uncovered. */
.tb-topbar-mobile { display: none !important; }
@media (max-width: 768px) {
  .tb-topbar-mobile { display: block !important; }
}
/* above 768px the strip must never appear, even if the old BS3 classes
   are still on the element in a cached view */
@media (min-width: 769px) {
  .top-bar-mobile { display: none !important; }
}

/* the schedule keeps its icon and 26px gutter when it is shown at <=991px */
@media (max-width: 991px) {
  .top-bar_view-style_1 .top-bar__content > .contact_details__box > .top-bar__contact_schedule {
    padding-left: 26px;
    margin-right: 0;
  }
}
