
:root{
  --page-bg:#f7f1e8;
  --paper:#fffdf9;
  --text:#24180d;
  --muted:#70645b;
  --line:#e7d9ca;
  --shadow:0 16px 42px rgba(36,24,13,.09);
  --radius:26px;
  --radius-sm:18px;
  --container:min(1180px,calc(100% - 32px));
  --header-h:64px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.section-page{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#fcfaf7 0%,var(--page-bg) 100%);
  line-height:1.5;
}
body.section-page img{display:block;max-width:100%}
body.section-page a{text-decoration:none;color:inherit}
.section-page .container{width:var(--container);margin-inline:auto}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:12px;top:12px;z-index:999;background:#fff;padding:8px 12px;border-radius:9px}

/* One shared menu for every section page */
.section-page .site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(255,251,246,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(231,217,202,.92);
}
.section-page .header__inner{min-height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:26px}
.section-page .brand{display:flex;align-items:center;gap:12px;min-width:0}
.section-page .brand__logo{width:46px;height:46px;object-fit:contain;flex:none}
.section-page .brand strong{display:block;font-size:.96rem;letter-spacing:.02em;white-space:nowrap}
.section-page .brand small{display:block;color:var(--muted);font-size:.78rem;white-space:nowrap}
.section-page .main-nav{display:flex;align-items:center;gap:4px;font-weight:700}
.section-page .main-nav>a,.section-page .nav-dropdown__toggle{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;
  padding:9px 11px;border:0;border-radius:11px;background:transparent;
  color:#2e2117;font:inherit;font-size:.91rem;cursor:pointer;transition:.18s ease;
}
.section-page .main-nav>a:hover,.section-page .nav-dropdown__toggle:hover,.section-page .main-nav .is-active{
  background:#f3eadf;color:var(--accent-dark);
}
.section-page .nav-cta{padding-inline:17px!important;border-radius:999px!important;background:#1e140c!important;color:#fff!important}
.section-page .nav-cta:hover{background:#392619!important;color:#fff!important}
.section-page .nav-dropdown{position:relative}
.section-page .nav-dropdown::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}
.section-page .nav-dropdown__toggle{gap:9px}
.section-page .nav-dropdown__chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;transition:.18s}
.section-page .nav-dropdown.is-open .nav-dropdown__chevron{transform:rotate(225deg);margin-top:3px}
.section-page .nav-dropdown__menu{
  position:absolute;left:0;top:100%;min-width:270px;margin-top:8px;padding:9px;
  background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;
}
@media (hover:hover) and (min-width:981px){
  .section-page .nav-dropdown:hover .nav-dropdown__menu,
  .section-page .nav-dropdown:focus-within .nav-dropdown__menu{opacity:1;visibility:visible;transform:none}
}
.section-page .nav-dropdown.is-open .nav-dropdown__menu{opacity:1;visibility:visible;transform:none}
.section-page .nav-dropdown__menu a{display:flex;align-items:center;gap:11px;padding:10px;border-radius:14px}
.section-page .nav-dropdown__menu a:hover{background:var(--accent-soft)}
.section-page .nav-dropdown__icon{width:28px;text-align:center;font-size:1.25rem}
.section-page .nav-dropdown__menu strong{display:block;font-size:.92rem}
.section-page .nav-dropdown__menu small{display:block;color:var(--muted);font-size:.76rem}
.section-page .menu-toggle{display:none;border:0;background:transparent;padding:7px;cursor:pointer}
.section-page .menu-toggle span:not(.sr-only){display:block;width:24px;height:2px;background:#2a1d14;margin:5px 0;border-radius:3px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Hero: always fits in the first screen */
.section-page .page-hero{
  position:relative;
  min-height:calc(100svh - var(--header-h));
  max-height:760px;
  display:flex;align-items:center;
  overflow:hidden;color:#fff;background:#1d150f;
}
.section-page .page-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--hero-position,center 46%)}
.section-page .page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(19,12,7,.82) 0%,rgba(19,12,7,.65) 42%,rgba(19,12,7,.22) 76%,rgba(19,12,7,.10) 100%);z-index:1}
.section-page .page-hero::after{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--accent);z-index:2}
.section-page .page-hero__inner{position:relative;z-index:3;width:var(--container);margin-inline:auto;padding:34px 0}
.section-page .page-hero__content{max-width:720px}
.section-page .eyebrow{margin:0 0 10px;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:900;color:var(--accent-dark)}
.section-page .page-hero .eyebrow{color:#ffe0ca}
.section-page h1,.section-page h2,.section-page h3{font-family:Georgia,"Times New Roman",serif;line-height:1.02;margin:0}
.section-page .page-hero h1{font-size:clamp(3.6rem,8vw,6.6rem);letter-spacing:-.045em;margin-bottom:10px}
.section-page .page-hero__tagline{max-width:60ch;margin:0 0 20px;font-size:clamp(1rem,1.7vw,1.32rem);color:rgba(255,255,255,.92)}
.section-page .page-hero__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:790px;margin-bottom:18px}
.section-page .page-hero__meta>div{padding:12px 14px;border-radius:15px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px)}
.section-page .page-hero__meta span{display:block;text-transform:uppercase;letter-spacing:.11em;font-size:.66rem;color:rgba(255,231,214,.78);margin-bottom:4px}
.section-page .page-hero__meta strong{display:block;font-size:.93rem;line-height:1.3}
.section-page .hero__actions{display:flex;gap:10px;flex-wrap:wrap}
.section-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 18px;border-radius:999px;border:1px solid transparent;font-weight:800;font-size:.9rem;transition:.18s ease}
.section-page .button--light{background:#fff;color:#22170f}
.section-page .button--light:hover{transform:translateY(-2px)}
.section-page .button--outline-light{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
.section-page .button--outline-light:hover{background:rgba(255,255,255,.16)}
.section-page .button--accent{background:var(--accent);color:#fff}
.section-page .button--outline{border-color:#cdbdac;color:#2c2017;background:#fff}

/* Compact visual blocks */
.section-page .page-section{padding:54px 0}
.section-page .page-section--soft{background:linear-gradient(180deg,var(--accent-soft),#fffaf5)}
.section-page .section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.section-page .section-heading h2,.section-page .split-copy h2,.section-page .learning-intro h2,.section-page .routine-head h2,.section-page .family-copy h2,.section-page .faq-copy h2,.section-page .switcher-head h2{font-size:clamp(1.9rem,3.6vw,2.9rem);letter-spacing:-.035em}
.section-page .section-heading p:last-child,.section-page .lead{max-width:62ch;margin:0;color:var(--muted)}
.section-page .card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}

.section-page .ideas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.section-page .idea-card{position:relative;overflow:hidden;padding:22px;background:linear-gradient(180deg,#fffaf5,#fff)}
.section-page .idea-card::after{content:"";position:absolute;width:95px;height:95px;border-radius:50%;right:-34px;top:-34px;background:color-mix(in srgb,var(--accent) 12%,transparent)}
.section-page .idea-card__num{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;font-weight:900;font-size:.82rem;margin-bottom:12px}
.section-page .idea-card h3{font-size:1.27rem;margin-bottom:7px}
.section-page .idea-card p{margin:0;color:var(--muted);font-size:.92rem}

.section-page .split-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch}
.section-page .split-copy{padding:30px}
.section-page .split-copy p{color:var(--muted);margin:0 0 14px}
.section-page .split-copy blockquote{margin:18px 0 0;padding:15px 18px;border-left:4px solid var(--accent);border-radius:0 15px 15px 0;background:var(--accent-soft);font-weight:700}
.section-page .split-photo{position:relative;overflow:hidden;min-height:360px}
.section-page .split-photo img{width:100%;height:100%;object-fit:cover;object-position:var(--content-position,center 45%)}
.section-page .photo-note{position:absolute;left:14px;right:14px;bottom:14px;padding:13px 15px;border-radius:16px;background:rgba(255,253,249,.92);backdrop-filter:blur(10px)}
.section-page .photo-note strong{display:block;margin-bottom:2px}
.section-page .photo-note span{font-size:.86rem;color:var(--muted)}

.section-page .learning-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:22px;align-items:start}
.section-page .learning-intro{padding:28px;background:linear-gradient(180deg,#fffaf4,#fff)}
.section-page .learning-intro p{margin:0;color:var(--muted)}
.section-page .learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.section-page .learning-card{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:17px;align-items:start}
.section-page .learning-card__icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--accent-soft);font-size:1.18rem}
.section-page .learning-card small{display:inline-block;color:var(--accent-dark);font-weight:900;font-size:.72rem;margin-bottom:2px}
.section-page .learning-card h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:1rem;margin-bottom:4px}
.section-page .learning-card p{margin:0;color:var(--muted);font-size:.87rem}

.section-page .routine-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:22px;align-items:stretch}
.section-page .routine-card{padding:26px}
.section-page .routine-head{margin-bottom:18px}
.section-page .routine-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.section-page .routine-step{padding:14px;border-radius:16px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 15%,var(--line))}
.section-page .routine-step span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--accent);color:#fff;font-size:.72rem;font-weight:900;margin-bottom:9px}
.section-page .routine-step h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:.88rem;margin-bottom:4px}
.section-page .routine-step p{margin:0;color:var(--muted);font-size:.78rem}
.section-page .activity-photo{position:relative;overflow:hidden;min-height:100%}
.section-page .activity-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--activity-position,center 45%)}
.section-page .activity-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,13,7,.12),rgba(20,13,7,.78))}
.section-page .activity-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:24px;color:#fff}
.section-page .activity-copy .eyebrow{color:#ffd9c0}
.section-page .activity-copy h3{font-size:1.7rem;margin-bottom:10px}
.section-page .activity-tags{display:flex;flex-wrap:wrap;gap:7px}
.section-page .activity-tags span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.18);font-size:.76rem}

.section-page .family-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.section-page .family-card{padding:28px}
.section-page .family-copy p{color:var(--muted);margin:0 0 14px}
.section-page .check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}
.section-page .check-item{padding:11px 12px;border-radius:14px;background:var(--accent-soft);font-size:.84rem;font-weight:700}
.section-page .check-item::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;font-size:.7rem;margin-right:7px}
.section-page .faq-card{padding:28px}
.section-page .faq-copy p{color:var(--muted);margin:0 0 16px}
.section-page .faq-list{display:grid;gap:8px}
.section-page details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 14px}
.section-page summary{cursor:pointer;list-style:none;padding:13px 0;font-weight:800;font-size:.88rem;display:flex;justify-content:space-between;gap:12px}
.section-page summary::-webkit-details-marker{display:none}
.section-page summary::after{content:"+";color:var(--accent-dark);font-size:1.05rem}
.section-page details[open] summary::after{content:"−"}
.section-page details p{margin:0 0 13px;color:var(--muted);font-size:.84rem}

.section-page .switcher-head{text-align:center;margin-bottom:20px}
.section-page .section-switcher__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.section-page .section-switcher__item{padding:16px 12px;border-radius:18px;background:#fff;border:1px solid var(--line);text-align:center;box-shadow:0 8px 22px rgba(36,24,13,.05);transition:.18s}
.section-page .section-switcher__item:hover{transform:translateY(-3px)}
.section-page .section-switcher__item span{display:block;font-size:1.4rem;margin-bottom:5px}
.section-page .section-switcher__item strong{display:block;font-size:.9rem}
.section-page .section-switcher__item small{display:block;color:var(--muted);font-size:.74rem;margin-top:2px}

.section-page .cta-card{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;border-radius:28px;background:linear-gradient(135deg,#21150d,#3b2518);color:#fff}
.section-page .cta-card h2{font-size:clamp(1.8rem,3.5vw,2.7rem);margin-bottom:7px}
.section-page .cta-card p{margin:0;color:rgba(255,255,255,.78)}

.section-page .site-footer{padding:38px 0 20px;background:#fffaf5;border-top:1px solid var(--line)}
.section-page .footer__grid{display:grid;grid-template-columns:1.3fr .8fr .8fr .95fr;gap:24px}
.section-page .brand--footer{margin-bottom:10px}
.section-page .site-footer p{color:var(--muted)}
.section-page .site-footer h3{font-size:1rem;margin-bottom:10px}
.section-page .site-footer a:not(.brand){display:block;color:var(--muted);margin:7px 0;font-size:.87rem}
.section-page .site-footer a:hover{color:var(--accent-dark)}
.section-page .footer__bottom{display:flex;justify-content:space-between;gap:14px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}

@media (max-width:1050px){
  .section-page .main-nav{gap:1px}
  .section-page .main-nav>a,.section-page .nav-dropdown__toggle{padding-inline:8px;font-size:.84rem}
  .section-page .routine-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .section-page .section-switcher__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  :root{--header-h:60px}
  .section-page .header__inner{min-height:var(--header-h)}
  .section-page .menu-toggle{display:block}
  .section-page .main-nav{display:none;position:absolute;top:calc(100% + 8px);left:14px;right:14px;align-items:stretch;flex-direction:column;padding:13px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
  .section-page .main-nav.is-open{display:flex}
  .section-page .main-nav>a,.section-page .nav-dropdown__toggle{width:100%;justify-content:space-between;padding:11px 12px}
  .section-page .nav-dropdown__menu{position:static;display:none;min-width:0;margin:4px 0 0;padding:6px;background:#faf6f0;box-shadow:none;opacity:1;visibility:visible;transform:none}
  .section-page .nav-dropdown.is-open .nav-dropdown__menu{display:block}
  .section-page .page-hero{min-height:calc(100svh - var(--header-h));max-height:none}
  .section-page .split-grid,.section-page .learning-layout,.section-page .routine-grid,.section-page .family-faq-grid{grid-template-columns:1fr}
  .section-page .activity-photo{min-height:360px}
  .section-page .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  :root{--container:min(100% - 20px,1180px)}
  .section-page .brand strong{font-size:.8rem}
  .section-page .brand small{display:none}
  .section-page .brand__logo{width:42px;height:42px}
  .section-page .page-hero{
    min-height:calc(100svh - var(--header-h));
    text-align:center;align-items:center;
  }
  .section-page .page-hero::before{background:linear-gradient(180deg,rgba(18,11,6,.58) 0%,rgba(18,11,6,.78) 100%)}
  .section-page .page-hero__inner{padding:24px 0}
  .section-page .page-hero__content{margin-inline:auto}
  .section-page .page-hero h1{font-size:clamp(3.2rem,16vw,4.7rem)}
  .section-page .page-hero__tagline{font-size:.98rem;margin-inline:auto;margin-bottom:14px}
  .section-page .page-hero__meta{grid-template-columns:1fr;max-width:360px;margin-inline:auto;margin-bottom:14px;gap:7px}
  .section-page .page-hero__meta>div{padding:9px 11px;text-align:center}
  .section-page .hero__actions{justify-content:center}
  .section-page .page-section{padding:38px 0}
  .section-page .section-heading{display:block;text-align:center;margin-bottom:18px}
  .section-page .section-heading p:last-child{margin:10px auto 0}
  .section-page .ideas-grid,.section-page .learning-grid,.section-page .check-grid,.section-page .section-switcher__grid{grid-template-columns:1fr}
  .section-page .idea-card,.section-page .learning-card,.section-page .split-copy,.section-page .learning-intro,.section-page .routine-card,.section-page .family-card,.section-page .faq-card{text-align:center}
  .section-page .idea-card__num,.section-page .learning-card__icon{margin-inline:auto}
  .section-page .learning-card{grid-template-columns:1fr}
  .section-page .split-photo{min-height:290px}
  .section-page .photo-note{text-align:center}
  .section-page .routine-steps{grid-template-columns:1fr}
  .section-page .routine-step span{margin-inline:auto}
  .section-page .activity-photo{min-height:340px}
  .section-page .activity-copy{text-align:center}
  .section-page .activity-tags{justify-content:center}
  .section-page .check-grid{margin-top:14px}
  .section-page .switcher-head{text-align:center}
  .section-page .cta-card{flex-direction:column;text-align:center;padding:24px 20px}
  .section-page .cta-card .hero__actions{justify-content:center}
  .section-page .footer__grid{grid-template-columns:1fr;text-align:center}
  .section-page .brand--footer{justify-content:center}
  .section-page .footer__bottom{flex-direction:column;text-align:center}
}
@media (max-height:720px) and (min-width:681px){
  .section-page .page-hero h1{font-size:clamp(3.4rem,7vw,5.4rem)}
  .section-page .page-hero__tagline{font-size:1rem;margin-bottom:14px}
  .section-page .page-hero__meta{margin-bottom:14px}
  .section-page .page-hero__inner{padding:22px 0}
}


/* ===== V37 compact mobile hero and aligned learning block ===== */
/* The cover now contains only the title and tagline. Practical information sits below it. */
.section-page .page-hero{
  min-height:clamp(430px,62svh,620px);
  max-height:620px;
  align-items:center;
}
.section-page .page-hero__inner{padding:34px 0 44px}
.section-page .page-hero__content{max-width:680px}
.section-page .page-hero__tagline{margin-bottom:0}

.section-page .hero-info{
  position:relative;
  z-index:5;
  padding:18px 0 8px;
  background:linear-gradient(180deg,#fcfaf7 0%,transparent 100%);
}
.section-page .hero-info__card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:17px 19px;
  border-radius:22px;
  box-shadow:0 12px 34px rgba(36,24,13,.08);
}
.section-page .hero-info__meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
}
.section-page .hero-info__meta>div{
  min-width:0;
  padding:4px 18px;
}
.section-page .hero-info__meta>div+div{border-left:1px solid var(--line)}
.section-page .hero-info__meta span{
  display:block;
  margin-bottom:4px;
  color:var(--accent-dark);
  font-size:.67rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.section-page .hero-info__meta strong{
  display:block;
  font-size:.91rem;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.section-page .hero-info__actions{justify-content:flex-end;flex-wrap:nowrap}
.section-page .hero-info .button--light{
  background:var(--accent);
  color:#fff;
}
.section-page .hero-info .button--outline-light{
  color:var(--text);
  border-color:var(--line);
  background:#fff;
}
.section-page .hero-info .button--outline-light:hover{background:var(--accent-soft)}

/* Shorter “Com és...” block. */
.section-page .split-grid{
  grid-template-columns:.9fr 1.1fr;
  align-items:stretch;
}
.section-page .split-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:25px 27px;
}
.section-page .split-copy h2{font-size:clamp(1.8rem,3.1vw,2.55rem);margin-bottom:12px}
.section-page .split-copy p{margin:0;color:var(--muted);font-size:.96rem}
.section-page .split-copy blockquote{margin-top:16px;padding:13px 16px;font-size:.92rem}
.section-page .split-photo{min-height:300px}

/* The question card and the six learning cards now form one balanced rectangle. */
.section-page .learning-layout{
  grid-template-columns:.78fr 1.22fr;
  align-items:stretch;
}
.section-page .learning-intro{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:27px;
}
.section-page .learning-grid{
  grid-template-rows:repeat(3,minmax(0,1fr));
  grid-auto-rows:1fr;
}
.section-page .learning-card{height:100%;align-content:center}

@media (max-width:980px){
  .section-page .page-hero{
    min-height:clamp(380px,56svh,520px);
    max-height:520px;
  }
  .section-page .hero-info__card{grid-template-columns:1fr;padding:16px}
  .section-page .hero-info__actions{justify-content:center}
  .section-page .split-grid,.section-page .learning-layout{grid-template-columns:1fr}
  .section-page .learning-intro{height:auto}
  .section-page .split-photo{min-height:280px}
}

@media (max-width:680px){
  .section-page .page-hero{
    min-height:clamp(330px,47svh,430px);
    max-height:430px;
    text-align:center;
  }
  .section-page .page-hero__inner{padding:22px 0 28px}
  .section-page .page-hero__content{max-width:92%;margin-inline:auto}
  .section-page .page-hero h1{font-size:clamp(3rem,15vw,4.35rem);margin-bottom:8px}
  .section-page .page-hero__tagline{max-width:34ch;margin-inline:auto;font-size:.96rem;line-height:1.42}
  .section-page .page-hero::before{
    background:linear-gradient(180deg,rgba(18,11,6,.38) 0%,rgba(18,11,6,.72) 100%);
  }
  .section-page .page-hero__image{object-position:var(--hero-mobile-position,var(--hero-position,center 46%))}

  .section-page .hero-info{padding:12px 0 2px}
  .section-page .hero-info__card{gap:13px;padding:14px;border-radius:18px}
  .section-page .hero-info__meta{grid-template-columns:1fr;gap:0}
  .section-page .hero-info__meta>div{
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    align-items:center;
    gap:10px;
    padding:9px 4px;
    text-align:left;
  }
  .section-page .hero-info__meta>div+div{border-left:0;border-top:1px solid var(--line)}
  .section-page .hero-info__meta span{margin:0;font-size:.63rem}
  .section-page .hero-info__meta strong{font-size:.86rem}
  .section-page .hero-info__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .section-page .hero-info__actions .button{min-height:40px;padding:8px 10px;font-size:.82rem}

  .section-page .page-section{padding:34px 0}
  .section-page .split-copy{padding:22px;text-align:center}
  .section-page .split-copy h2{font-size:clamp(1.7rem,9vw,2.25rem)}
  .section-page .split-copy blockquote{font-size:.88rem}
  .section-page .split-photo{min-height:235px}

  .section-page .learning-intro{padding:22px;text-align:center}
  .section-page .learning-intro h2{font-size:clamp(1.75rem,9vw,2.3rem)}
  .section-page .learning-grid{grid-template-rows:none}
  .section-page .learning-card{height:auto;grid-template-columns:auto 1fr;text-align:left;padding:14px}
  .section-page .learning-card__icon{margin-inline:0}
}

@media (max-width:420px){
  .section-page .hero-info__actions{grid-template-columns:1fr}
}

/* ===== V38 full-screen covers and tighter content blocks ===== */
/* The cover occupies exactly the first viewport below the shared menu. */
.section-page .page-hero{
  height:calc(100svh - var(--header-h));
  min-height:calc(100svh - var(--header-h));
  max-height:none;
  align-items:center;
}
.section-page .page-hero__inner{padding:28px 0}
.section-page .page-hero__tagline{margin-bottom:0}

/* The information card starts only after scrolling beyond the cover. */
.section-page .hero-info{padding-top:18px}

/* “Com és...” keeps the photo exactly as tall as its compact text card. */
.section-page .split-grid{
  grid-template-columns:.94fr 1.06fr;
  align-items:stretch;
}
.section-page .split-copy{
  justify-content:center;
  padding:24px 26px;
}
.section-page .split-copy h2{font-size:clamp(1.72rem,2.8vw,2.35rem);margin-bottom:10px}
.section-page .split-copy p{font-size:.93rem;line-height:1.5}
.section-page .split-copy blockquote{margin-top:13px;padding:12px 15px;font-size:.88rem;line-height:1.45}
.section-page .split-photo{
  position:relative;
  min-height:0;
  height:100%;
}
.section-page .split-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* The explanatory card fills the same height as the six learning cards. */
.section-page .learning-layout{align-items:stretch}
.section-page .learning-intro{
  height:100%;
  justify-content:flex-start;
  padding:27px 28px;
}
.section-page .learning-intro h2{margin-bottom:14px}
.section-page .learning-intro>p{
  margin:0 0 12px;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.55;
}
.section-page .learning-intro__note{
  margin-top:auto;
  padding:15px 16px;
  border-left:4px solid var(--accent);
  border-radius:0 15px 15px 0;
  background:var(--accent-soft);
}
.section-page .learning-intro__note strong{display:block;margin-bottom:5px;font-size:.9rem}
.section-page .learning-intro__note p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.5}
.section-page .learning-grid{grid-template-rows:repeat(3,minmax(0,1fr))}
.section-page .learning-card{height:100%;align-content:center}

@media (max-width:980px){
  .section-page .page-hero{
    height:calc(100svh - var(--header-h));
    min-height:calc(100svh - var(--header-h));
    max-height:none;
  }
  .section-page .split-grid,.section-page .learning-layout{grid-template-columns:1fr}
  .section-page .split-photo{height:270px;min-height:270px}
  .section-page .learning-intro{height:auto}
  .section-page .learning-intro__note{margin-top:16px}
}

@media (max-width:680px){
  .section-page .page-hero{
    height:calc(100svh - var(--header-h));
    min-height:calc(100svh - var(--header-h));
    max-height:none;
    text-align:center;
  }
  .section-page .page-hero__inner{padding:22px 0}
  .section-page .page-hero__content{margin-inline:auto}
  .section-page .page-hero__tagline{margin-inline:auto}
  .section-page .split-copy{padding:20px 21px}
  .section-page .split-photo{height:220px;min-height:220px}
  .section-page .learning-intro{padding:21px;text-align:left}
  .section-page .learning-intro h2,.section-page .learning-intro>.eyebrow{text-align:center}
  .section-page .learning-intro__note{text-align:left}
}


/* ===== V42 photo gallery for section pages ===== */
.section-page .section-photo-gallery{
  display:grid;
  grid-template-columns:.9fr 1.05fr 1.05fr;
  grid-template-rows:260px 260px;
  gap:14px;
}
.section-page .section-photo-gallery__item{
  position:relative;
  overflow:hidden;
  margin:0;
  border-radius:24px;
  background:#ddd;
  box-shadow:0 12px 32px rgba(36,24,13,.08);
}
.section-page .section-photo-gallery__item--flag{grid-row:1 / span 2}
.section-page .section-photo-gallery__item--group{grid-column:2 / span 2}
.section-page .section-photo-gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
}
.section-page .section-photo-gallery__item--flag img{object-position:center 52%}
.section-page .section-photo-gallery__item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(15,10,6,0) 42%,rgba(15,10,6,.72) 100%);
}
.section-page .section-photo-gallery__item figcaption{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:16px;
  color:#fff;
}
.section-page .section-photo-gallery__item figcaption strong{
  display:block;
  margin-bottom:3px;
  font-size:1rem;
}
.section-page .section-photo-gallery__item figcaption span{
  display:block;
  font-size:.82rem;
  color:rgba(255,255,255,.84);
}
@media (max-width:900px){
  .section-page .section-photo-gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:360px 240px 240px;
  }
  .section-page .section-photo-gallery__item--flag{grid-column:1;grid-row:1 / span 2}
  .section-page .section-photo-gallery__item--group{grid-column:2;grid-row:1}
}
@media (max-width:680px){
  .section-page .section-photo-gallery{
    grid-template-columns:1fr;
    grid-template-rows:none;
    gap:12px;
  }
  .section-page .section-photo-gallery__item,
  .section-page .section-photo-gallery__item--flag,
  .section-page .section-photo-gallery__item--group{
    grid-column:auto;
    grid-row:auto;
    height:250px;
  }
  .section-page .section-photo-gallery__item--flag{height:360px}
  .section-page .section-photo-gallery__item figcaption{text-align:center}
}


/* ===== V43 Exploradors: four photos in four different blocks ===== */
.section-page .ideas-visual-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
.section-page .ideas-visual-photo{
  position:relative;
  min-height:520px;
  overflow:hidden;
}
.section-page .ideas-visual-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 46%;
}
.section-page .ideas-visual-photo .photo-note{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
}
.section-page .ideas-visual-content{
  display:flex;
  flex-direction:column;
}
.section-page .ideas-visual-content .section-heading{
  display:block;
  margin-bottom:16px;
}
.section-page .ideas-visual-content .section-heading p:last-child{
  margin-top:8px;
}
.section-page .ideas-grid--stacked{
  grid-template-columns:1fr;
  flex:1;
}
.section-page .ideas-grid--stacked .idea-card{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:15px;
  align-content:center;
  padding:18px 20px;
}
.section-page .ideas-grid--stacked .idea-card__num{
  grid-row:1 / span 2;
  margin:0;
  align-self:center;
}
.section-page .ideas-grid--stacked .idea-card h3{margin:0 0 5px}
.section-page .ideas-grid--stacked .idea-card p{margin:0}
@media(max-width:980px){
  .section-page .ideas-visual-layout{grid-template-columns:1fr}
  .section-page .ideas-visual-photo{min-height:420px}
}
@media(max-width:680px){
  .section-page .ideas-visual-photo{min-height:330px}
  .section-page .ideas-visual-content .section-heading{text-align:center}
  .section-page .ideas-visual-content .section-heading p:last-child{margin-inline:auto}
}


/* ===== V46 compact section blocks and mobile polish ===== */
.section-page .page-section{padding:44px 0}
.section-page .section-heading{margin-bottom:18px}
.section-page .section-heading h2,
.section-page .split-copy h2,
.section-page .learning-intro h2,
.section-page .routine-head h2,
.section-page .family-copy h2,
.section-page .faq-copy h2,
.section-page .switcher-head h2{font-size:clamp(1.72rem,3vw,2.55rem)}

/* First visual block: no image taller than the useful content. */
.section-page .ideas-visual-layout{grid-template-columns:.92fr 1.08fr;gap:18px;align-items:start}
.section-page .ideas-visual-photo{height:400px;min-height:0;align-self:start}
.section-page .ideas-visual-photo img{object-position:var(--ideas-position,center 48%)}
.section-page .ideas-visual-content .section-heading{margin-bottom:12px}
.section-page .ideas-grid--stacked{gap:10px}
.section-page .ideas-grid--stacked .idea-card{min-height:96px;padding:14px 16px;column-gap:12px}
.section-page .ideas-grid--stacked .idea-card__num{width:36px;height:36px}
.section-page .ideas-grid--stacked .idea-card h3{font-size:1.08rem}
.section-page .ideas-grid--stacked .idea-card p{font-size:.86rem;line-height:1.42}

/* “Com és...” blocks stay short; photographs are deliberately cropped. */
.section-page .split-grid{grid-template-columns:.94fr 1.06fr;gap:18px;align-items:center}
.section-page .split-copy{padding:21px 23px}
.section-page .split-copy h2{font-size:clamp(1.65rem,2.55vw,2.2rem);margin-bottom:9px}
.section-page .split-copy p{font-size:.9rem;line-height:1.45}
.section-page .split-copy blockquote{margin-top:11px;padding:10px 13px;font-size:.84rem}
.section-page .split-photo{height:280px;min-height:280px;align-self:center}
.section-page .photo-note{left:11px;right:11px;bottom:11px;padding:10px 12px;border-radius:13px}
.section-page .photo-note span{font-size:.8rem}

/* Learning, routine and practical blocks use less vertical space. */
.section-page .learning-layout{gap:18px}
.section-page .learning-intro{padding:22px 23px}
.section-page .learning-intro>p{font-size:.87rem;line-height:1.48;margin-bottom:9px}
.section-page .learning-intro__note{padding:12px 13px}
.section-page .learning-card{padding:13px;gap:10px}
.section-page .learning-card__icon{width:38px;height:38px;border-radius:12px;font-size:1.05rem}
.section-page .learning-card h3{font-size:.94rem}
.section-page .learning-card p{font-size:.81rem;line-height:1.4}
.section-page .routine-grid{grid-template-columns:1.2fr .8fr;gap:18px;align-items:center}
.section-page .routine-card{padding:21px}
.section-page .routine-head{margin-bottom:13px}
.section-page .routine-steps{gap:7px}
.section-page .routine-step{padding:11px;border-radius:14px}
.section-page .routine-step span{width:28px;height:28px;margin-bottom:7px}
.section-page .routine-step h3{font-size:.82rem}
.section-page .routine-step p{font-size:.72rem;line-height:1.38}
.section-page .activity-photo{height:315px;min-height:315px;align-self:center}
.section-page .activity-copy{padding:18px}
.section-page .activity-copy h3{font-size:1.48rem;margin-bottom:8px}
.section-page .activity-tags{gap:5px}
.section-page .activity-tags span{padding:5px 8px;font-size:.7rem}
.section-page .family-faq-grid{gap:18px}
.section-page .family-card,.section-page .faq-card{padding:22px}
.section-page .check-grid{gap:7px;margin-top:13px}
.section-page .check-item{padding:9px 10px;font-size:.79rem}
.section-page details{padding-inline:12px}
.section-page summary{padding:11px 0;font-size:.83rem}
.section-page details p{font-size:.8rem}
.section-page .section-switcher__item{padding:13px 10px}
.section-page .cta-card{padding:23px 27px}

@media(max-width:980px){
  .section-page .page-section{padding:40px 0}
  .section-page .ideas-visual-layout{grid-template-columns:1fr;gap:16px}
  .section-page .ideas-visual-content{order:1}
  .section-page .ideas-visual-photo{order:2;height:320px;min-height:320px;width:100%}
  .section-page .split-grid,.section-page .learning-layout,.section-page .routine-grid,.section-page .family-faq-grid{grid-template-columns:1fr}
  .section-page .split-photo{height:255px;min-height:255px}
  .section-page .activity-photo{height:300px;min-height:300px;width:100%}
  .section-page .routine-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:680px){
  .section-page .page-section{padding:30px 0}
  .section-page .section-heading{margin-bottom:14px}
  .section-page .section-heading h2,
  .section-page .split-copy h2,
  .section-page .learning-intro h2,
  .section-page .routine-head h2,
  .section-page .family-copy h2,
  .section-page .faq-copy h2,
  .section-page .switcher-head h2{font-size:clamp(1.58rem,8vw,2.05rem)}
  .section-page .ideas-visual-photo{height:235px;min-height:235px;border-radius:20px}
  .section-page .ideas-visual-photo .photo-note{left:9px;right:9px;bottom:9px}
  .section-page .ideas-grid--stacked .idea-card{grid-template-columns:36px 1fr;min-height:0;padding:12px 13px;text-align:left}
  .section-page .ideas-grid--stacked .idea-card__num{grid-row:1 / span 2;margin:0;align-self:center}
  .section-page .ideas-grid--stacked .idea-card h3{font-size:1rem}
  .section-page .ideas-grid--stacked .idea-card p{font-size:.81rem}
  .section-page .split-copy{padding:18px;text-align:center}
  .section-page .split-copy p{font-size:.86rem}
  .section-page .split-photo{height:210px;min-height:210px;border-radius:20px}
  .section-page .learning-intro{padding:18px;text-align:center}
  .section-page .learning-intro__note{text-align:left}
  .section-page .learning-grid{gap:8px}
  .section-page .learning-card{grid-template-columns:36px 1fr;padding:11px 12px;text-align:left}
  .section-page .learning-card__icon{width:36px;height:36px;margin:0}
  .section-page .routine-card{padding:17px;text-align:center}
  .section-page .routine-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .section-page .routine-step{padding:10px 8px;text-align:center}
  .section-page .routine-step span{margin-inline:auto}
  .section-page .routine-step:last-child{grid-column:1 / -1}
  .section-page .activity-photo{height:250px;min-height:250px;border-radius:20px}
  .section-page .activity-copy{padding:15px;text-align:center}
  .section-page .activity-copy h3{font-size:1.35rem}
  .section-page .activity-tags{justify-content:center}
  .section-page .family-card,.section-page .faq-card{padding:18px;text-align:center}
  .section-page .check-grid{grid-template-columns:1fr;margin-top:11px}
  .section-page .check-item{text-align:left}
  .section-page .cta-card{padding:20px 16px}
  .section-page .cta-card .hero__actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .section-page .cta-card .button{width:100%}
}

@media(max-width:420px){
  .section-page .hero-info__actions{grid-template-columns:1fr}
  .section-page .cta-card .hero__actions{grid-template-columns:1fr}
}

/* Small cards outside the photo-led layout are compact too. */
.section-page .ideas-grid:not(.ideas-grid--stacked) .idea-card{padding:18px}
@media(max-width:680px){
  .section-page .ideas-grid:not(.ideas-grid--stacked) .idea-card{padding:15px 16px}
}
