/* Baseball Place design layer — B (modern sports-media) base, C (warm family) grafted into the
   parent-facing surfaces. Self-hosted fonts, both latin + latin-ext per unicode-range. */

@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../uploads/fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../uploads/fonts/anton-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../uploads/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../uploads/fonts/inter-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+A720-A7FF;
}

:root{
  --bp-navy:#0B1F3A; --bp-navysteel:#1E3A5F; --bp-crimson:#C8102E; --bp-gold:#FFB81C;
  --bp-white:#FFFFFF; --bp-ink:#141A26; --bp-steel:#D8DEE6;
  --bp-grass:#5B8C3A; --bp-grass-dark:#456b2c; --bp-cream:#F5EFDE;
}

body{ font-family:'Inter',sans-serif; color:var(--bp-ink); font-variant-numeric:tabular-nums; }
h1,h2,h3,h4,.main-title{ font-family:'Anton',sans-serif; font-weight:400; letter-spacing:.01em; }
.main-title a{ color:var(--bp-white) !important; text-decoration:none; font-size:22px; }

/* header bar */
.site-header, #masthead{ background:var(--bp-navy) !important; }
.main-navigation{ background:var(--bp-navy) !important; }
.main-navigation .main-nav ul li a{ color:var(--bp-white) !important; font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.02em; }
.main-navigation .main-nav ul li a:hover{ color:var(--bp-gold) !important; }
.main-navigation .main-nav ul ul{ background:var(--bp-navysteel); }

/* ---------- hero (front page only) ----------
   Owner liked europerealtor's large immersive header — scaled up from a ~400px band to a
   near-full-viewport hero (min(80svh,760px), same order of magnitude as europerealtor's
   min(88svh,840px)), content vertically centered via flexbox. Diagonal clip-path kept as this
   direction's own signature move rather than copying europerealtor's full-bleed rectangle. */
.bp-hero{
  position:relative; background:var(--bp-navy); color:#fff; overflow:hidden;
  clip-path:polygon(0 0,100% 0,100% 94%,0 100%);
  height:min(80svh,760px); min-height:560px; display:flex; align-items:center;
}
@supports not (height:1svh){ .bp-hero{ height:min(80vh,760px); } }
.bp-hero__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:1; }
/* Owner: "can hardly see the actual image" — the old .6 image opacity STACKED with a full-bleed
   top-to-bottom scrim, double-darkening everything. Fixed: image at full opacity, and the scrim
   is now a horizontal fade (dark only behind the left-aligned text block, clear by ~65% across)
   plus a light top wash for header legibility only — most of the image is now unobscured. */
.bp-hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(11,31,58,.80) 0%, rgba(11,31,58,.45) 38%, rgba(11,31,58,.12) 62%, rgba(11,31,58,0) 80%),
    linear-gradient(180deg, rgba(11,31,58,.30) 0%, rgba(11,31,58,0) 26%);
}
.bp-hero__inner{ position:relative; z-index:2; max-width:1160px; margin:0 auto; padding:0 24px; width:100%; }
.bp-hero__eyebrow{ font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:var(--bp-gold); font-weight:600; margin:0 0 18px; text-shadow:0 1px 3px rgba(0,0,0,.4); }
.bp-hero__title{ font-size:clamp(38px,6vw,68px); line-height:1.03; max-width:820px; margin:0; text-shadow:0 2px 6px rgba(0,0,0,.45); }
.bp-hero__sub{ font-size:19px; color:var(--bp-steel); max-width:560px; margin:22px 0 0; font-family:'Inter',sans-serif; line-height:1.6; text-shadow:0 1px 3px rgba(0,0,0,.4); }
@media (max-width:768px){
  .bp-hero{ height:min(70svh,620px); min-height:460px; }
  @supports not (height:1svh){ .bp-hero{ height:min(70vh,620px); } }
}

/* ---------- parent-start module (C graft) ----------
   Owner feedback round 1 (2026-07-25): emoji icons read as unrelated to baseball, cream/gold
   card treatment didn't match the rest of the site — restyled to the rail's flat-tile language.
   Owner feedback round 2: all three cards in one green was too monotone — cycled the site's
   3-color palette instead. Owner feedback round 3: hand-drawn icons "not good at all" — replaced
   with a sub-agent-designed SVG set. Owner feedback round 4: even THOSE didn't read clearly
   ("hardly resembles a glove... bat is not a baseball bat") — replaced entirely with real
   photography filling the tile, bottom-scrim + white text overlay, same device as the hero.
   No icon glyph at 70px beat an actual photo of the actual subject. */
.bp-parent-start{ background:#fff; }
.bp-parent-start__inner{ max-width:1160px; margin:0 auto; padding:40px 24px; }
.bp-parent-start h2{ font-size:24px; color:var(--bp-grass-dark); margin:0 0 20px; }
.bp-parent-cards{ display:grid; grid-template-columns:repeat(3, minmax(min(200px,100%),1fr)); gap:2px; background:var(--bp-steel); }
.bp-parent-card{
  position:relative; display:block; height:260px; overflow:hidden;
  text-decoration:none; color:#fff;
}
.bp-parent-card__photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .25s ease;
}
.bp-parent-card:hover .bp-parent-card__photo{ transform:scale(1.04); }
.bp-parent-card__scrim{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(11,31,58,.88) 0%, rgba(11,31,58,.25) 55%, rgba(11,31,58,0) 100%);
}
.bp-parent-card__title{
  position:absolute; left:20px; right:20px; bottom:18px; z-index:2;
  font-weight:700; font-size:15px; text-transform:uppercase; letter-spacing:.02em;
  font-family:'Inter',sans-serif; text-shadow:0 1px 3px rgba(0,0,0,.4);
}

/* ---------- topic rail ---------- */
.bp-rail{ list-style:none; display:grid; grid-template-columns:repeat(4, minmax(min(160px,100%),1fr)); gap:2px; background:var(--bp-steel); margin:0 0 40px; padding:0; }
.bp-rail__item{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  background:var(--bp-navy); color:#fff; text-align:left; padding:18px 16px;
  text-decoration:none; font-size:13px; font-weight:700; text-transform:uppercase;
}
.bp-rail li:nth-child(4n+2) .bp-rail__item:not(.bp-rail__item--warm){ background:var(--bp-crimson); }
.bp-rail__item--warm{ background:var(--bp-grass) !important; }
.bp-rail__count{ background:rgba(255,255,255,.2); border-radius:10px; padding:2px 8px; font-size:11px; }

/* ---------- hub + generic cards ---------- */
.bp-cards{ list-style:none; margin:0 0 40px; padding:0; display:grid; grid-template-columns:repeat(2, minmax(min(280px,100%),1fr)); gap:20px; }
.bp-card{ display:block; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 1px 3px rgba(11,31,58,.15); text-decoration:none; color:var(--bp-ink); border:1px solid var(--bp-steel); }
.bp-card__media img{ width:100%; height:180px; object-fit:cover; display:block; }
.bp-card__body{ padding:20px; }
.bp-card__title{ font-family:'Inter',sans-serif; font-weight:700; font-size:19px; margin:0 0 8px; color:var(--bp-navy); }
.bp-card__desc{ font-size:14px; color:#4b5566; margin:0; }

/* ---------- WP post/archive loop cards ---------- */
.entry-content ul.bp-rail, .entry-content ul.bp-cards{ padding-left:0; }
main article.type-post .post-image img{ border-radius:10px; }
.blog .inside-article, .archive .inside-article, .category .inside-article{
  border-radius:12px; overflow:hidden; border:1px solid var(--bp-steel);
}

/* ---------- footer ---------- */
.bp-footer-wrap{ background:var(--bp-navy); }
.bp-footer{ max-width:1160px; margin:0 auto; padding:44px 24px; display:grid; grid-template-columns:2fr 1fr; gap:32px; color:var(--bp-steel); font-size:14px; }
.bp-footer__brand{ font-family:'Anton',sans-serif; color:#fff; font-size:20px; margin:0 0 10px; }
.bp-footer__blurb{ line-height:1.6; margin:0; max-width:520px; }
.bp-footer__heading{ font-weight:700; color:#fff; margin:0 0 10px; text-transform:uppercase; font-size:12px; letter-spacing:.05em; }
.bp-footer__links{ list-style:none; padding:0; margin:0; }
.bp-footer__links li{ margin-bottom:8px; }
.bp-footer__links a{ color:var(--bp-steel); text-decoration:none; }
.bp-footer__links a:hover{ color:var(--bp-gold); }

/* ---------- mobile ---------- */
@media (max-width:800px){
  .bp-rail, .bp-cards, .bp-parent-cards{ grid-template-columns:1fr; }
  .bp-footer{ grid-template-columns:1fr; }
  .bp-hero__inner{ padding:0 20px; }
}
@media (prefers-reduced-motion: reduce){
  .bp-parent-card{ transition:none; }
}
