/* ==========================================================================
   E1-SECC — kindy-s4s5s9.css
   S4 "We are going on a picnic!" parallax CTA · S5 "Smarty Kindergarten"
   icon boxes · S9 FAQ accordion.

   The band colours / paddings and the control skins are ALREADY owned by the
   theme design system + E0-TOKENS, so this file only carries what is genuinely
   new:
     - S4 : the DB background-image parallax attachment + the white REF copy
            colours (title 60/74 Grand Hotel is E0-TOKENS' type system).
     - S5 : the 35px icon-box rhythm between the 2×2 rows (REF
            vc_custom_1474557006978/13077/18657 = margin-bottom 35px).
     - S9 : the REF heading alignment (left / 41px) over kindy-custom.css:1130.

   REF band classes already mapped in kindy-custom.css:
     S4 pad 37/76 + full bleed ................ vc_custom_1475584304575 (:5)
     S5 pad 35/50 + #fff9f2 band ............... vc_custom_1474557281980 (:6)
     S5 intro margin-bottom 32 ................. vc_custom_1474557194772 (:28)
     S5 photo column pad 65/55 ................. vc_custom_1475589552997 (:27)
     S8/S9 shared row pad 37/23 ................ vc_custom_1474635508301 (:9)
   Accordion skin (yellow border, radius 15, pink plus) is main.css:6512-6554;
   icon-box_style-3 (incl. the rotate(360deg) hover) is main.css:6842-6873.
   ========================================================================== */

/* --- S4 — parallax band --------------------------------------------------
   The row carries `vc_custom_1475584304575` (pad 37/76, kindy-custom.css:5) and
   the DB `image` as an inline background-image (tb_picnic_cta.blade.php). Here
   we make it a fixed-attachment cover band (REF parallax) and force the white
   copy; the title size/face is E0-TOKENS' `h1` (Grand Hotel 60/74). */
.tb-picnic-cta {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
.tb-picnic-cta .tb-picnic-date {
    text-align: center;
    margin-bottom: 6px;
}
.tb-picnic-cta .tb-picnic-date-text {
    color: #ffffff;
}
.tb-picnic-cta .tb-picnic-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 31px;   /* REF inline */
}
/* Touch/mobile: fixed backgrounds are janky (and paint-black on iOS). */
@media (max-width: 1023px) {
    .tb-picnic-cta {
        background-attachment: scroll;
    }
}

/* --- S5 — Smarty Kindergarten -------------------------------------------
   Band + paddings come from the REF classes (see header). The icon boxes need
   the REF 35px vertical rhythm between the two 2×2 rows; the icon glyph is a
   75px image (inline font-size) sized by main.css:6767 `.…ic-container_img img
   { width: 1em }`. */
.tb-smarty-kindergarten .stm-icon-box_style-3 {
    margin-bottom: 35px;
}
@media (max-width: 767px) {
    .tb-smarty-kindergarten .stm-icon-box_style-3 {
        margin-bottom: 25px;
    }
}

/* --- S9 — FAQ accordion --------------------------------------------------
   kindy-custom.css:1130 centres `.tb-faq-h1` (28px); REF S9 heading is left
   aligned with a 41px bottom margin (ref/sections/S8_…S9_faq.html line 33). */
.tb-faq .tb-faq-h1 {
    text-align: left;
    margin-bottom: 41px;
}

/* --- S4 picnic band: the owner's photo is painted by the VC parallax layer ---
   `vc_parallax-inner` is the element that actually shows the background photo
   (the section's own background-image sits behind it). The plugin hard-codes
   `background-position: 50% 0` on that layer, and its height is 150% of the
   band — so the visible slice was the TOP 47% of the photo, i.e. only the
   building. The owner's photo puts the children at 40-60% of its height, so
   the layer is shifted down to bring them into the band. Scoped to
   .tb-picnic-cta; every other .vc_parallax section keeps the plugin default. */
/* Two things fight this layer and both need !important:
     - the plugin ships `background-position: 50% 0` inside a SHORTHAND that
       resets the longhand, so a plain longhand override is ignored;
     - js_composer writes the photo as an INLINE `background-image:url(...)`,
       which outranks any stylesheet rule. The scrim therefore has to be
       re-declared over the same photo here (inline styles lose to !important).
   Without the scrim the white copy sits on the bare photo at ~1.5:1. */
.tb-picnic-cta .vc_parallax-inner {
    background-position: 50% 65% !important;
    background-image:
        linear-gradient(rgba(20, 38, 94, 0.55), rgba(20, 38, 94, 0.55)),
        url('/wp-content/uploads/2026/11/thsh/tb-picnic.jpg') !important;
}
