/*
Theme Name: Boyd Polhamus Western
Author: Boyd Polhamus Enterprises
Description: Cinematic responsive homepage for Boyd Polhamus with sponsor links and media kit.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: boyd-polhamus
*/
:root{--navy:#031c39;--gold:#d6a55a;--cream:#fff7e9}*{box-sizing:border-box}html,body{margin:0}body{background:var(--navy);color:white;font-family:Georgia,serif}.site-wrap{max-width:1920px;margin:auto;box-shadow:0 0 50px #0006}.topbar{min-height:78px;display:flex;align-items:center;justify-content:flex-end;padding:14px 3%;background:repeating-linear-gradient(130deg,#061d38,#092749 3px,#061d38 7px);border-bottom:1px solid #1c547d}.media-link{display:inline-flex;align-items:center;gap:18px;color:#fff;text-decoration:none;font-size:clamp(17px,2vw,29px);font-style:italic}.media-link span{border-bottom:2px solid white;padding-bottom:5px}.media-link svg{width:40px;height:40px;flex-shrink:0}.media-link:hover,.media-link:focus-visible{color:#ffd898}.hero{display:block;width:100%;height:auto}.awards{display:flex;align-items:center;justify-content:space-evenly;gap:15px;padding:12px 3%;background:linear-gradient(145deg,#041b38,#002b52,#061a32);border-top:2px solid var(--gold);border-bottom:2px solid var(--gold);font-family:Georgia,serif}.award{display:flex;align-items:center;gap:12px;white-space:nowrap}.award strong{font-family:Georgia,serif;font-size:clamp(28px,4.5vw,64px);font-weight:900;color:var(--cream);line-height:1}.award span{font-size:clamp(11px,1.45vw,24px);font-weight:bold;letter-spacing:1px;text-transform:uppercase}.award-divider{width:1px;background:#f3e6d5;align-self:stretch}.quote{background:repeating-linear-gradient(35deg,#051d3a,#0b2a50 4px,#051d3a 9px);text-align:center;padding:12px 3%;border-bottom:3px solid var(--gold);font-size:clamp(17px,2.25vw,36px);line-height:1.35}.sponsors{display:grid;grid-template-columns:repeat(4,1fr);background:#f9f2e8;padding:14px 1.5%;align-items:center}.sponsor{min-height:96px;display:flex;justify-content:center;align-items:center;padding:8px 18px;border-right:1px solid #bda78b}.sponsor:last-child{border-right:0}.sponsor img{width:100%;max-width:310px;max-height:100px;object-fit:contain}.sponsor:hover img,.sponsor:focus-visible img{transform:scale(1.045)}.sponsor img{transition:transform .2s}.footer{background:repeating-linear-gradient(145deg,#04172e,#092847 4px,#04172e 8px);padding:12px 2%;text-align:right;font-size:13px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}@media(max-width:750px){.topbar{min-height:60px}.media-link svg{width:30px;height:30px}.awards{gap:8px;padding:12px 2%}.award{gap:5px}.award span{font-size:clamp(8px,2.2vw,13px);letter-spacing:0}.award strong{font-size:clamp(23px,6vw,40px)}.sponsors{grid-template-columns:repeat(2,1fr)}.sponsor:nth-child(2){border-right:0}.sponsor:nth-child(-n+2){border-bottom:1px solid #bda78b}.footer{text-align:center}}

/* Version 1.1: 30% more compact desktop presentation. Mobile styling remains unchanged. */
@media (min-width: 751px) {
  .site-wrap { max-width: 1344px; }
  .topbar { min-height: 55px; padding: 10px 3%; }
  .media-link { font-size: clamp(15px, 1.4vw, 21px); gap: 13px; }
  .media-link svg { width: 28px; height: 28px; }
  .awards { padding: 8px 3%; gap: 11px; }
  .award { gap: 8px; }
  .award strong { font-size: clamp(25px, 3.15vw, 45px); }
  .award span { font-size: clamp(10px, 1.02vw, 17px); }
  .quote { padding: 8px 3%; font-size: clamp(16px, 1.58vw, 25px); }
  .sponsors { padding: 10px 1.5%; }
  .sponsor { min-height: 67px; padding: 6px 13px; }
  .sponsor img { max-width: 217px; max-height: 70px; }
  .footer { padding: 9px 2%; font-size: 11px; }
}

/* Version 1.2: viewport-aware desktop fitting; no visual restyling. */
.viewport-stage { width: 100%; display: flex; justify-content: center; align-items: flex-start; }
@media (min-width: 751px) {
  .viewport-stage > .site-wrap { flex: none; transform-origin: top center; }
}
@media (max-width: 750px) {
  .viewport-stage { display: block; height: auto !important; }
  .viewport-stage > .site-wrap { width: 100% !important; transform: none !important; }
}

/* Version 1.3: Restore original cream-and-gold sponsor presentation.
   Individual transparent logos remain separate accessible outbound links. */
.sponsors {
  background-color:#f8f0e2;
  background-image:repeating-linear-gradient(45deg,rgba(190,151,93,.055) 0,rgba(190,151,93,.055) 1px,transparent 1px,transparent 13px),repeating-linear-gradient(-45deg,rgba(190,151,93,.045) 0,rgba(190,151,93,.045) 1px,transparent 1px,transparent 13px);
  border-top:3px double #b58a46;
  border-bottom:3px double #b58a46;
}
.sponsor { background:transparent; border-right:1px solid #b99a6d; }
.sponsor img { background:transparent; }
.sponsor:focus-visible { outline:3px solid #b48a43; outline-offset:-3px; }
