/* ==========================================================================
   TALL BIRCH — E1-SECD extra CSS
   Owner: E1-SECD. Loaded last of the section CSS (head.blade.php:36), so it
   wins over main.css / kindy-custom.css / kindy-home-sections.css.
   Scope: (1) S10 `.tb-bottom-band` band chrome; (2) X2 `.tb-svc-box`
   `_style-4` -> `_style-5` neutralisation (E1-SECD brief signature-collision
   rule: page-wide `.stm-icon-box_style-4` must be exactly 6, all from S2).
   Colour/padding literals are copied from the source, never invented:
   - band bg `#fff9f2` + pad `45/93`  (ref_probe.json section i=16;
     w1/A1_template_home_sections.md:136 "Band #FFF9F2, padding 45/93")
   - pink service title `#ff6682`     (theme main.css:6888-6892, style-4)
   - descr `#595959 / 18 / 28`        (theme main.css:6899-6903, style-4)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. S10 bottom action-box band (REF S10_bottom_actionboxes.html)
   -------------------------------------------------------------------------- */
.tb-bottom-band {
  background-color: #fff9f2;
  padding-top: 45px;
  padding-bottom: 93px;
}
/* stacked columns keep their gap on md/sm (REF shows 3-up lg, 2-up md) */
.tb-bottom-band .wpb_column {
  margin-bottom: 26px;
}
/* the theme centres .stm-action-box__figure (max-width:350px; margin:0 auto)
   already; pin the card so a narrow column never shrinks it */
.tb-bottom-band .stm-action-box {
  max-width: 350px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. X2 "Choose A Service": re-create the left-float circle + card text
      metrics that `.stm-icon-box_style-4` supplied, now that X2 emits
      `stm-icon-box_style-5` (so main.css's `_style-5` content box
      min-height/bg/padding/radius must be neutralised).
   -------------------------------------------------------------------------- */
/* circle plate: restore the float + centring from style-4
   (main.css:6907-6910). width/height/radius come from
   kindy-home-sections.css:91-101 (unchanged). */
.tb-svc-box .stm-icon-box__ic-container.tb-svc-ic {
  float: left;
  text-align: center;
  /* style-4 set 61px (main.css:6878) and beat kindy-home-sections.css:1179
     `.tb-svc-ic{font-size:56px}` (0,2,0 vs 0,1,0). Re-assert the measured
     current value so the `_style-5` swap does not shrink the glyph. */
  font-size: 61px;
}
/* content column beside the floated plate (style-4: main.css:6911-6914) */
.tb-svc-box .stm-icon-box__content {
  float: none;
  overflow: hidden;
  position: static;
  min-height: 0;
  width: auto;
  background-color: transparent;
  padding: 0 0 0 21px;
  border-radius: 0;
}
/* title: keep the current pink/17px look (style-4 main.css:6888-6894)
   — beats both kindy-custom.css:1188 (0,2,0) and _style-5 (0,3,0). */
.tb-svc-box .stm-icon-box__content .stm-icon-box__title {
  overflow: visible;
  letter-spacing: 0.20px;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: #ff6682;
}
/* descr: keep the current metrics (style-4 main.css:6899-6903) */
.tb-svc-box .stm-icon-box__content .stm-icon-box__descr {
  float: none;
  width: auto;
  margin-top: 0;
  padding-right: 20px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 28px;
  color: #595959;
}

/* --------------------------------------------------------------------------
   3. School Details page (/school-details) — owner order 2026-09-30.
      The page body is data only (topic_blocks.details_en, written by
      SchoolDetailsUpdateSeeder); every rule it needs lives HERE so the body
      carries no inline style= (owner rule: styling stays centralised).
      Colour literals are the page's own, not invented: navy #14265e and grey
      #595959 came from the body being replaced, pink #ff6682 is the theme
      accent (main.css a:hover), the panel hairline matches the theme's
      rgba(0,0,0,.08) separators. Loaded last (head.blade.php:36) so it wins
      over main.css / kindy-custom.css.
   -------------------------------------------------------------------------- */
.tb-school-details {
  max-width: 1000px;
}
.tb-school-details__group {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 26px 30px 12px;
  margin-bottom: 30px;
}
.tb-school-details__heading {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #14265e;
}
.tb-school-details__list {
  margin: 0;
}
/* label/value row: dt beside dd on lg, stacked below 992px. A rule on the row
   itself beats the theme's own `dl dd` element selector. */
.tb-school-details__row {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.tb-school-details__row:first-child {
  border-top: none;
}
.tb-school-details__label {
  flex: 0 0 320px;
  max-width: 320px;
  margin: 0;
  padding-right: 20px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: #14265e;
}
.tb-school-details__value {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: #595959;
  word-break: break-word;
}
@media (max-width: 991px) {
  .tb-school-details__row {
    display: block;
  }
  .tb-school-details__label {
    flex: none;
    max-width: none;
    padding-right: 0;
    margin-bottom: 2px;
  }
}
@media (max-width: 575px) {
  .tb-school-details__group {
    padding: 20px 18px 10px;
  }
}
