/* Von Fredslund - fælles afstande for offentlige undersider.
   En visuel rolle bruger samme rytme uanset underside.
   Den godkendte, anderledes opbygning af Om os (foto + tekst) bevares.
   Forsidens særskilte design ændres ikke. */
:root {
  --vf-intro-pad-top: 54px;
  --vf-intro-pad-bottom: 54px;
  --vf-section-pad-top: 64px;
  --vf-section-pad-bottom: 64px;
  --vf-heading-copy-gap: 14px;
}
/* Samme vandrette indholdskant på hver underside (samme .shell som før). */
main .shell,
main .boar-intro .boar-intro-inner {
  width: min(var(--max), calc(100% - 76px));
  margin-inline: auto;
}
/* De fælles introduktioner har nu samme top- og bundluft. */
main :is(.boar-intro, .breeding-intro, .sale-hero, .blog-hero, .guide-hero, .about-intro) {
  padding-block: var(--vf-intro-pad-top) var(--vf-intro-pad-bottom);
}
/* Billede og overskrift på Om os følger fortsat den godkendte todelte opsætning. */
main :is(.boar-intro, .breeding-intro, .sale-hero, .blog-hero, .guide-hero) h1 {
  margin-bottom: var(--vf-heading-copy-gap);
}
main :is(.blog-hero, .guide-hero) p {
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: var(--vf-heading-copy-gap);
}
main :is(.blog-hero, .guide-hero) p:last-of-type { margin-bottom: 0; }
/* Ens rytme omkring indholdssektioner; ingen ændringer af illustrationer/kort. */
main :is(.boar-list, .breeding-list, .sale-shell, .blog-flow,
         .guide-section, .guide-tint, .guide-vendors-bg, .about-story,
         .about-home, .about-club) {
  padding-top: var(--vf-section-pad-top);
  padding-bottom: var(--vf-section-pad-bottom);
}
@media (max-width: 780px) {
  :root {
    --vf-intro-pad-top: 40px;
    --vf-intro-pad-bottom: 40px;
    --vf-section-pad-top: 46px;
    --vf-section-pad-bottom: 46px;
  }
  main .shell,
  main .boar-intro .boar-intro-inner {
    width: calc(100% - 40px);
  }
}

/* Fælles typografisk hierarki: samme niveau, samme skriftstørrelse.
   Forsidens særskilte hero/kort typografi røres ikke. */
main :is(.about-intro, .boar-intro, .breeding-intro, .sale-hero, .blog-hero, .guide-hero) h1 {
  font-size: var(--vf-title-full, 50px);
  line-height: 1.17;
}
main :is(.guide-section-head, .sale-section-head, .sale-status-heading, .sale-rule-heading) h2,
main .guide-strøelse > h2,
main :is(.about-story, .about-home, .about-club) h2 {
  font-size: var(--vf-section-title, 36px);
  line-height: 1.2;
}
@media (max-width: 780px) {
  main :is(.about-intro, .boar-intro, .breeding-intro, .sale-hero, .blog-hero, .guide-hero) h1 {
    font-size: 36px;
  }
  main :is(.guide-section-head, .sale-section-head, .sale-status-heading, .sale-rule-heading) h2,
  main .guide-strøelse > h2,
  main :is(.about-story, .about-home, .about-club) h2 {
    font-size: 28px;
  }
}
