/**
 * Modular spacing — desktop bumps + WTV player rhythm.
 * Restoration/music use inline styles for the tight handoff (always visible).
 */

.ta-mod-section,
.ta-mod-section--lead {
  box-sizing: border-box !important;
}

/* Desktop: lead titled sections */
@media (min-width: 768px) {
  .ta-mod-section[data-ta-pad="lead"],
  .ta-mod-section[data-ta-pad="restoration"] {
    padding-top: 72px !important;
  }
  .ta-mod-section[data-ta-pad="lead"] {
    padding-bottom: 72px !important;
  }
  /* Keep restoration→music handoff at 32px (matches player md margin) */
  .ta-mod-section[data-ta-pad="restoration"] {
    padding-bottom: 32px !important;
  }
  .ta-mod-section[data-ta-pad="music"] {
    padding-top: 0 !important;
    padding-bottom: 32px !important;
  }
  .ta-mod-section[data-ta-pad="std"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}

/* Subtitle → H2 */
.ta-mod-section h2 {
  margin-top: 20px !important;
}

/* Hero bottom matches lead top */
section#hero > div.relative {
  padding-bottom: 56px !important;
}
@media (min-width: 768px) {
  section#hero > div.relative {
    padding-bottom: 72px !important;
  }
}

/* WTV video player: 24px / 32px above and below (reference rhythm) */
#music .plyr-feature {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
@media (min-width: 768px) {
  #music .plyr-feature {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
  }
}

/* No tail margin after last restoration paragraph */
.flagship-restoration-copy p:last-child {
  margin-bottom: 0 !important;
}

/* Footer link row — never overflow viewport */
footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  max-width: 100%;
  min-width: 0;
}
footer .footer-menu__link {
  flex: 0 1 auto;
  white-space: nowrap;
}
footer .relative.flex {
  min-width: 0;
  max-width: 100%;
}
/* Prevent whole-page horizontal scroll from footer */
footer {
  overflow-x: hidden;
  max-width: 100vw;
}


