/* Fix featured image display on blog listing - show full image */
.wp-block-post-featured-image {
	aspect-ratio: 1024 / 535 !important;
	overflow: visible !important;
}

.wp-block-post-featured-image img {
	object-fit: cover !important;
	object-position: center center !important;
}

/* ============================================================
   SBR brand — carries the homepage look onto all interior pages.
   Scoped to body:not(.home) so the bespoke homepage is untouched.
   Added 2026-07-20.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,ital,wght@8..60,0,400;8..60,0,600;8..60,0,700;8..60,1,400&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --sbr-primary:#0D1B2E; --sbr-primary-2:#13263D; --sbr-accent:#C9A227;
  --sbr-accent-dark:#8A6D1A; --sbr-text:#1B2A41; --sbr-muted:#44546A;
  --sbr-border:#E3E1DA; --sbr-panel:#F0EEE8;
  --sbr-serif:'Source Serif 4',Georgia,serif;
  --sbr-sans:'Inter',-apple-system,Segoe UI,Roboto,sans-serif;
}

/* Base sans font everywhere (footer/header); homepage .sbr-* set their own */
body{ font-family:var(--sbr-sans); }

/* Interior pages: brand body typography */
body:not(.home) .wp-block-post-content,
body:not(.home) .entry-content{ font-family:var(--sbr-sans); color:var(--sbr-text); font-size:17px; line-height:1.7; }
body:not(.home) .wp-block-post-content p,
body:not(.home) .entry-content p,
body:not(.home) .entry-content li{ color:var(--sbr-text); }

/* Page title + content headings -> serif navy */
body:not(.home) .wp-block-post-title,
body:not(.home) .entry-content h1,
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4,
body:not(.home) .entry-content h5,
body:not(.home) .entry-content h6{ font-family:var(--sbr-serif); color:var(--sbr-primary); line-height:1.25; }
body:not(.home) .wp-block-post-title{ font-size:clamp(30px,4.2vw,44px); margin-bottom:.5em; }
body:not(.home) .entry-content h2{ font-size:27px; margin-top:1.7em; }
body:not(.home) .entry-content h3{ font-size:20px; margin-top:1.4em; }

/* Content links -> gold-dark */
body:not(.home) .entry-content a{ color:var(--sbr-accent-dark); text-underline-offset:2px; }
body:not(.home) .entry-content a:hover{ color:var(--sbr-primary); }

/* Buttons -> squared navy / outline */
body:not(.home) .wp-block-button__link{ border-radius:0; background:var(--sbr-primary); color:#fff; font-family:var(--sbr-sans); font-weight:600; }
body:not(.home) .wp-block-button.is-style-outline .wp-block-button__link{ background:transparent; color:var(--sbr-primary); border:1.5px solid var(--sbr-primary); }

/* Tables -> navy header row (boards directory, scorecards) */
body:not(.home) .entry-content table{ border-collapse:collapse; width:100%; font-size:15px; }
body:not(.home) .entry-content th{ background:var(--sbr-primary); color:#fff; font-family:var(--sbr-sans); text-align:left; padding:10px 12px; }
body:not(.home) .entry-content td{ border-bottom:1px solid var(--sbr-border); padding:10px 12px; vertical-align:top; }
body:not(.home) .entry-content tr:nth-child(even) td{ background:#faf9f6; }

/* Left-align interior page titles (TT4 centers them by default) */
body:not(.home) .wp-block-post-title,
body:not(.home) .wp-block-post-title.has-text-align-center{ text-align:left !important; margin-left:0 !important; margin-right:0 !important; max-width:none !important; }