/* Transparent, overlaid site header on stallion pages (matches builder pages) */
html body.ossh-stallion-page #header-outer,
html body.ossh-stallion-page #header-outer .inner-wrap,
html body.ossh-stallion-page #header-outer #top,
html body.ossh-stallion-page #header-outer header{
  background:transparent !important; background-color:transparent !important; background-image:none !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  box-shadow:none !important; border-bottom:none !important;}
html body.ossh-stallion-page #header-outer{position:absolute !important; top:0; left:0; right:0;}
html body.ossh-stallion-page #header-outer::before,
html body.ossh-stallion-page #header-outer::after,
html body.ossh-stallion-page #header-outer .inner-wrap::before,
html body.ossh-stallion-page #header-outer .inner-wrap::after{
  display:none !important; content:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important;}
html body.ossh-stallion-page #header-space{display:none !important; height:0 !important;}
html body.ossh-stallion-page .container-wrap{padding-top:0 !important;}

/* ============================================================
   OSS Herd v2.0.0 - single stallion template
   (c) 2026 Horse Alley. Namespace: .ossh
   Self-contained CSS measured from the live stallion pages:
   page #f8f5f3, white cards r~22px, Heatwood script #5b924b,
   ICSI pill #0a551d r30 pad 15/50, sire band #050705->#192218.
   Theme fonts inherit via h1/h2/h3/a (no font-family here).
============================================================ */
.ossh{
  --ossh-green:#0a551d;
  --ossh-green-lt:#5b924b;
  --ossh-ink:#2b2b2b;
  --ossh-gray:#7a7a76;
  --ossh-line:#e7e5e2;
  --ossh-page:#f8f5f3;
  --ossh-r:22px;
  margin:0; padding:0 0 0; background:var(--ossh-page); color:var(--ossh-ink); overflow-x:clip;
} /* footer Global Section now follows; its 30px pre-gap comes from the last section margin */
html body .ossh *, html body .ossh *::before, html body .ossh *::after{box-sizing:border-box;}
html body .ossh img{max-width:100%; display:block;}
html body .ossh a{text-decoration:none !important; box-shadow:none !important; border-bottom:none !important;}
html body .ossh a:focus-visible{outline:3px solid var(--ossh-green-lt) !important; outline-offset:3px;}
.ossh .ossh-shell{max-width:1441px; margin:0 auto; padding:0 48px;} /* 48px side gutters; 1345px content column, matching the live 1425px row minus its padding */
.ossh .ossh-card{background:#fff; border-radius:var(--ossh-r); border:1px solid #E8DDD6; box-shadow:none; overflow:hidden;}

/* Script headings (Heatwood via theme h2 rule) */
html body .ossh .ossh-script{color:var(--ossh-green-lt) !important; font-weight:500 !important; font-style:italic !important; font-size:1vw; line-height:.9 !important; margin:0 0 16px !important; text-transform:none !important;}

/* ---------------- Hero ---------------- */
.ossh .ossh-hero{position:relative; padding:140px 48px 0; background-size:cover; background-position:center top; background-repeat:no-repeat;}
.ossh .ossh-hero::after{content:""; position:absolute; left:0; right:0; bottom:0; height:42%; pointer-events:none;
  background:linear-gradient(180deg, rgba(248,245,243,0) 0%, var(--ossh-page) 100%);}
.ossh .ossh-hero-media{max-width:1329px; margin-left:auto; margin-right:auto;} /* 1425 minus side padding */
.ossh .ossh-hero-media{
  position:relative; z-index:1; aspect-ratio:16/9; border-radius:var(--ossh-r);
  overflow:hidden; background:#dcdcda; box-shadow:0 10px 34px rgba(30,30,25,.16);}
.ossh .ossh-hero-media video,
.ossh .ossh-hero-media > img:first-child{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.ossh .ossh-hero-fade{position:absolute; inset:auto 0 0 0; height:34%;
  background:linear-gradient(180deg, rgba(20,20,18,0) 0%, rgba(20,20,18,.55) 100%);}
.ossh .ossh-hero-oss{position:absolute; left:52px; bottom:30px; max-width:120px; max-height:64px; width:auto; height:auto; z-index:2;}
.ossh .ossh-hero-logo{position:absolute; right:56px; bottom:26px; max-width:150px; max-height:90px; width:auto; height:auto; z-index:2;}

/* ---------------- Breeding Contracts band ---------------- */
/* No contracts section: keep the same breathing room between hero and main card. */
.ossh .ossh-hero + .ossh-shell{margin-top:30px;}
.ossh .ossh-contracts{
  max-width:1329px; margin:26px auto 30px; padding:44px 46px 52px; text-align:center;
  border-radius:var(--ossh-r);
  background:linear-gradient(180deg, #fafaf9 0%, #e5e6e4 100%);}
html body .ossh .ossh-contracts-head{font-size:1.7vw !important; color:var(--ossh-green) !important; line-height:1.3 !important; margin-bottom:26px !important;}
.ossh .ossh-contracts-btns{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
html body .ossh .ossh-pill{
  display:inline-flex; align-items:center; gap:9px;
  background:var(--ossh-green) !important; color:#fff !important;
  border-radius:30px; padding:15px 50px; font-size:13px; line-height:1;
  transition:background .2s ease;}
html body .ossh .ossh-pill:hover{background:var(--ossh-green-lt) !important;}
html body .ossh .ossh-pill svg{flex:none;}

/* ---------------- Main card ---------------- */
.ossh .ossh-main{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); margin-bottom:30px;}
.ossh .ossh-main-photo{margin:0; min-height:520px;}
.ossh .ossh-main-photo img{width:100%; height:100%; object-fit:cover;}
.ossh .ossh-main-body{padding:56px 60px 48px; align-self:center;}
html body .ossh .ossh-name{color:var(--ossh-green) !important; margin:0 0 10px !important; font-size:2.2vw; line-height:.9 !important; letter-spacing:-.04em !important; white-space:nowrap;}
/* Salient adds padding-bottom to p; kill it wholesale inside the plugin
   wrapper so per-class margins below are the single source of spacing. */
html body .ossh p{padding:0 !important;}
html body .ossh .ossh-detail{font-size:15px; font-weight:600; line-height:26px; color:#333 !important; margin:0 !important;}
html body .ossh .ossh-ped{font-size:15px; font-weight:300; line-height:26px; color:#333 !important; margin:0 !important;}
html body .ossh .ossh-owned{font-size:.85vw; font-weight:500 !important; line-height:26px !important; margin:26px 0 12px !important; white-space:nowrap;}
.ossh .ossh-social{display:flex; gap:14px; margin-top:16px;}
html body .ossh .ossh-social a{color:#1c1c1c !important; display:inline-flex;}
html body .ossh .ossh-social a:hover{color:var(--ossh-green) !important;}
.ossh .ossh-rule{border:0; border-top:1px solid var(--ossh-line); margin:22px 0;}
html body .ossh .ossh-gen{font-size:15px; font-weight:300; line-height:26px; color:#333 !important; margin:0 !important;}
html body .ossh .ossh-gen strong{font-weight:600;}
html body .ossh .ossh-height{font-size:15px; font-weight:300; line-height:26px; color:#333 !important; margin:16px 0 0 !important;}
html body .ossh .ossh-standing{font-size:12px; font-weight:300; color:#333 !important; margin:20px 0 0 !important;}

/* ---------------- Sire earnings band ---------------- */
.ossh .ossh-sire-band{
  border-radius:var(--ossh-r); margin-bottom:30px; padding:44px 30px; text-align:center;
  background:linear-gradient(180deg, #050705 0%, #192218 100%);}
html body .ossh .ossh-sire-band h3{color:var(--ossh-green-lt) !important; margin:0 !important; font-weight:500 !important; font-synthesis:none; font-size:2.4vw; line-height:26px !important; letter-spacing:-.04em !important; text-transform:uppercase !important;}

/* ---------------- Three-card row ---------------- */
.ossh .ossh-trio{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:27px; margin-bottom:30px; align-items:stretch;}
.ossh .ossh-tcard{display:flex; flex-direction:column;}
.ossh .ossh-tphoto{margin:0; aspect-ratio:10/7;}
.ossh .ossh-tphoto img{width:100%; height:100%; object-fit:cover;}
.ossh .ossh-tbody{padding:46px 28px 32px; flex:1 1 auto;}
html body .ossh .ossh-fee-line--extra{font-size:15px !important; font-weight:600 !important; font-style:normal !important; line-height:26px !important; color:#000 !important; text-transform:none !important; margin:28px 0 0 !important;}
html body .ossh h3.ossh-fee-line--fee{margin-top:27px !important;}
html body .ossh .ossh-fee-line{font-weight:500 !important; font-synthesis:none; font-style:italic !important; color:var(--ossh-green) !important; margin:39px 0 0 !important; font-size:1.1vw; line-height:.9 !important; text-transform:uppercase !important; letter-spacing:-.04em !important;}
html body .ossh .ossh-chute{font-size:13px; font-weight:300; line-height:26px; color:#808080 !important; margin:4px 0 0 !important;}
html body .ossh .ossh-notes{font-size:12px; font-weight:300; line-height:26px; color:#2e2e2e !important; margin:42px 0 0 !important;}
html body .ossh .ossh-notes--star{font-size:13px; font-weight:300 !important; font-style:italic; line-height:16px; color:#000 !important; margin:46px 0 0 !important;}
html body .ossh .ossh-dl{display:inline-flex; align-items:center; gap:12px; color:var(--ossh-green) !important; font-family:'TT Supermolot Neue Trl',sans-serif !important; font-style:italic !important; font-size:.95vw; letter-spacing:.02em; text-transform:uppercase;}
.ossh .ossh-dl-dash{display:inline-block; width:22px; height:2px; background:var(--ossh-green);}
html body .ossh .ossh-lte{font-size:1.15vw; font-weight:600; line-height:.9; color:#000 !important; margin:34px 0 8px !important;}
html body .ossh .ossh-hl{list-style:none !important; margin:0 !important; padding:0 !important;}
html body .ossh .ossh-hl li{list-style:none !important;}
html body .ossh .ossh-hl li::marker{content:none;}
html body .ossh .ossh-hl li{font-size:14px; font-weight:300; line-height:1.3; color:#000; padding:15px 0; border-bottom:1px solid var(--ossh-line);}
html body .ossh .ossh-hl li:last-child{border-bottom:0;}
html body .ossh .ossh-sub{font-size:.85vw; font-weight:600; line-height:.9; color:#000 !important; margin:35px 0 0 !important;}
html body .ossh .ossh-inc{list-style:none !important; margin:21px 0 0 !important; padding:0 !important;}
html body .ossh .ossh-inc li{list-style:none !important;}
html body .ossh .ossh-inc li::marker{content:none;}
html body .ossh .ossh-inc li{display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid var(--ossh-line); font-size:13px; font-weight:300; color:#000;}
html body .ossh .ossh-inc li:last-child{border-bottom:0;}
.ossh .ossh-inc img{max-height:24px; width:auto; flex:none;}

/* ---------- Pedigree PDF + vertical reel (side by side; PDF full width when no reel) ---------- */
.ossh .ossh-pdfreel{display:grid; grid-template-columns:minmax(0,773fr) minmax(0,544px); gap:27px; margin-bottom:30px; align-items:start;}
.ossh .ossh-pdfreel--single{grid-template-columns:minmax(0,1fr);}
.ossh .ossh-card.ossh-pdf{padding:37px; border:0; background:#fff; border-radius:20px; overflow:hidden; box-shadow:none;}
.ossh .ossh-pdf iframe{width:100%; height:937px; border:0; display:block; background:#fff;}
.ossh .ossh-pdf .pdfemb-viewer{margin:0 auto;}
html body .ossh .ossh-pdf-fallback{margin:12px 2px 0 !important; font-size:13px;}
html body .ossh .ossh-pdf-fallback a{color:var(--ossh-green) !important;}
.ossh .ossh-reelcol{position:relative;}
.ossh .ossh-reel-video{width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:var(--ossh-r); display:block; background:#000; box-shadow:0 6px 24px rgba(40,40,35,.08);}

/* ---------------- Responsive ---------------- */
@media (max-width:1000px){
  .ossh .ossh-trio{grid-template-columns:minmax(0,1fr); gap:24px;}
  .ossh .ossh-main{grid-template-columns:minmax(0,1fr);}
  .ossh .ossh-main-photo{min-height:0; aspect-ratio:10/9;}
  .ossh .ossh-pdfreel{grid-template-columns:minmax(0,1fr); gap:28px;}
  .ossh .ossh-card.ossh-pdf{padding:16px;}
  .ossh .ossh-reelcol{max-width:420px; margin:0 auto; width:100%;}
}
@media (max-width:900px){
  html body .ossh .ossh-name{font-size:clamp(22px,5.6vw,30px);}
  html body .ossh .ossh-owned{font-size:12px;}
  html body .ossh .ossh-sire-band h3{font-size:clamp(20px,4.6vw,30px);}
  html body .ossh .ossh-script{font-size:14.2px;}
  html body .ossh .ossh-contracts-head{font-size:22px !important;}
  html body .ossh .ossh-fee-line{font-size:4.25vw;}
  html body .ossh .ossh-lte{font-size:16px;}
  html body .ossh .ossh-sub{font-size:12px;}
  html body .ossh .ossh-dl{font-size:13.4px;}
}
@media (max-width:640px){
  .ossh .ossh-shell{padding-left:18px; padding-right:18px;}
  .ossh .ossh-hero{padding:50px 18px 0;}
  /* No contracts section: keep the same breathing room between hero and main card. */
.ossh .ossh-hero + .ossh-shell{margin-top:30px;}
.ossh .ossh-contracts{margin-left:18px; margin-right:18px; padding:34px 22px 40px;}

  .ossh .ossh-pdf iframe{height:620px;}
  .ossh .ossh-hero-oss{left:22px; bottom:20px; width:92px;}
  .ossh .ossh-hero-logo{right:22px; bottom:16px; max-width:110px;}
  .ossh .ossh-main-body{padding:34px 26px 32px;}
  .ossh .ossh-pdf iframe{height:640px;}
}

/* Footer Global Section on stallion pages: the section's first row carries its
   own large top padding, which stacked on the template's 30px trailing margin
   (manual pages absorb it differently). Zero it so the pre-footer gap matches
   the hand-built pages' 30px. */
.ossh-gs-wrap{margin-left:auto; margin-right:auto;}
.ossh-gs-wrap .nectar-global-section > .wpb_row:first-of-type,
.ossh-gs-wrap .nectar-global-section > div > .wpb_row:first-of-type{padding-top:0 !important; margin-top:0 !important;}

/* No pedigree PDF: hold the two-column layout with a blank white rounded card
   beside the reel, same width and radius as the PDF card would occupy. */
.ossh .ossh-card.ossh-pdf--empty{align-self:stretch; min-height:400px;}
