/* Local alternative homepages only. One type scale and spacing rhythm. */
body .alt-home{
 --home-copy:16px;
 --home-title:28px;
 --home-card-title:20px;
 --home-section-gap:18px;
 --home-section-padding:24px;
 --home-card-padding:20px;
 font-family:'Mala Poppins',Arial,sans-serif;
 font-synthesis:none;
}

/* Retain the existing four brand tints, with a different second-row order. */
body .alt-home #advantages-secondary article:nth-child(1){background:#fff0e8}
body .alt-home #advantages-secondary article:nth-child(2){background:#eef3ed}
body .alt-home #advantages-secondary article:nth-child(3){background:#fff6de}
body .alt-home #advantages-secondary article:nth-child(4){background:#eaf4fb}

/* Hero keeps its approved compact composition and separate display scale. */
body .alt-home>section:not(#hero){margin:0 0 var(--home-section-gap)}
body .alt-home>section:not(#hero):not(.alt-benefits):not(.home-mid-visit){padding:var(--home-section-padding);border-radius:24px}
body .alt-home>section:not(#hero) p:not(.mala-eyebrow){font-size:var(--home-copy);font-weight:400;line-height:1.65;margin:0 0 16px;letter-spacing:normal}
body .alt-home>section:not(#hero) p:last-child{margin-bottom:0}
body .alt-home>section:not(#hero):not(.alt-benefits) h2{font-size:var(--home-title);font-weight:600;line-height:1.25;letter-spacing:-.035em;margin:0 0 16px}
body .alt-home>section:not(#hero) .mala-eyebrow{font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.14em;margin:0 0 12px}
body .alt-home>section:not(#hero) strong{font-weight:600}

body .alt-home .alt-benefits{gap:14px;padding:0}
body .alt-home .alt-benefits article{padding:var(--home-card-padding);border-radius:18px}
body .alt-home .alt-benefits h2{font-size:var(--home-card-title);font-weight:600;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px}
body .alt-home .alt-benefits article p{margin:0}
body .alt-home .alt-benefits .benefit-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0 0 14px;border-radius:14px;background:rgba(255,255,255,.82);color:#095da5}
body .alt-home .alt-benefits .benefit-icon svg{display:block;width:26px;height:26px;overflow:visible}
body .alt-home .alt-benefits .benefit-icon .icon-accent{fill:#ffb928;fill-opacity:.65}
body .alt-home #age-groups .mala-columns{gap:16px}
body .alt-home #age-groups .mala-age-card{padding:var(--home-card-padding);border-radius:18px}
body .alt-home #age-groups h3{font-size:var(--home-card-title);font-weight:600;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px}
body .alt-home #parent-reviews .mala-review-grid{gap:16px}
body .alt-home #parent-reviews blockquote{padding:var(--home-card-padding);border-radius:18px}
body .alt-home #parent-reviews blockquote footer{font-size:var(--home-copy);font-weight:600;line-height:1.5;margin-top:16px}
body .alt-home>section#parent-reviews>p:not(.mala-eyebrow){margin:16px 0 0}

body .alt-home>section:not(#hero) .mala-button{font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;min-height:48px;padding:12px 24px;gap:20px}
body .alt-home>section:not(#hero) a:not(.mala-button){font-size:16px;line-height:1.5;text-underline-offset:4px}
body .alt-home .home-mid-visit{padding:6px 18px}
body .alt-home #facilities.location-panel{gap:20px;margin-bottom:var(--home-section-gap)}
body .alt-home #come-and-see.cta-invitation{gap:32px}
body .alt-home #quality-programme .mala-columns{gap:32px}
body .alt-home #meals{gap:32px}

@media(max-width:700px){
 body .alt-home{
  --home-title:26px;
  --home-section-gap:14px;
  --home-section-padding:18px;
  --home-card-padding:18px;
 }
 body .alt-home>section:not(#hero):not(.alt-benefits):not(.home-mid-visit){border-radius:18px}
 body .alt-home .alt-benefits{gap:12px}
 body .alt-home #age-groups .mala-columns,body .alt-home #parent-reviews .mala-review-grid{gap:12px}
 body .alt-home #facilities.location-panel{gap:12px}
 body .alt-home #municipal-co-funding>.mala-button{margin-top:16px}
 body .alt-home #quality-programme .mala-columns,body .alt-home #meals,body .alt-home #come-and-see.cta-invitation{gap:20px}
}
