
/* Athlete Final Fix (Safe) v1.0.2 */

/* --- 1) Never allow content to render over the hero cover image --- */
.hero-banner .wp-block-cover__inner-container > * { display:none !important; }
.hero-banner .wp-block-cover__image-background { object-position:50% 0%; }
.hero-banner { min-height:200px; }

/* If theme didn't add hero-banner class, still try to guard the very first full-width cover at top */
.wp-site-blocks > .wp-block-cover.alignfull:first-child .wp-block-cover__inner-container > * { display:none !important; }

/* --- 2) Headshot row: pin left + oval + overlap --- */
.hero-banner + .wp-block-columns {
  margin-top:-85px; position:relative; z-index:2;
  max-width:1120px; margin-left:auto; margin-right:auto; padding-left:24px; padding-right:24px;
}
/* Fallback if a Group wraps the columns */
.hero-banner + .wp-block-group > .wp-block-columns:first-child {
  margin-top:-85px; position:relative; z-index:2;
  max-width:1120px; margin-left:auto; margin-right:auto; padding-left:24px; padding-right:24px;
}

.hero-banner + .wp-block-columns .wp-block-column:first-child,
.hero-banner + .wp-block-group > .wp-block-columns:first-child .wp-block-column:first-child {
  flex-basis:200px !important;
}

.hero-banner + .wp-block-columns figure img,
.hero-banner + .wp-block-group > .wp-block-columns:first-child figure img {
  width:170px; height:170px; object-fit:cover; border-radius:999px; border:4px solid #fff; box-shadow:0 8px 20px rgba(0,0,0,.18);
}

/* --- 3) Info/Video section margins + top gold rule --- */
.hero-banner + .wp-block-columns + .wp-block-group,
.hero-banner + .wp-block-columns + .wp-block-columns,
.hero-banner + .wp-block-group + .wp-block-group,
.hero-banner + .wp-block-group + .wp-block-columns {
  max-width:1120px; margin:0 auto; padding:0 24px;
  border-top:3px solid #c9a227; padding-top:16px;
}

/* --- 4) Section titles: gold underline, sane font sizing --- */
.section-title{ position:relative; padding-bottom:.4rem; }
.section-title::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:#c9a227; }
/* Tame oversized H3 in some themes */
h3, .wp-block-heading.is-style-default { font-size:clamp(1.1rem, 2.2vw, 1.4rem); line-height:1.25; }
h1 { line-height:1.1; }

/* --- 5) Player info white space + faint separators --- */
.is-style-player-info{ list-style:none; padding:0; margin:0; }
.is-style-player-info li{ padding:8px 0; border-bottom:1px solid rgba(0,0,0,.15); line-height:1.4; }
.is-style-player-info li:last-child{ border-bottom:none; }

/* --- 6) Neutralize any legacy 'contact-first' hacks so menu order wins --- */
.wp-block-navigation .wp-block-navigation-item.contact-first{ order:0 !important; }
.menu .menu-item.contact-first{ order:0 !important; }

/* --- 7) Optional: keep nav inline/flush vertically --- */
header .wp-block-navigation { align-items:center; }
header .wp-block-navigation__container { gap:1.25rem; }
