/*
Theme Name: IviBet Atlas Local Candidate
Template: brand-stadium-v1
Version: 0.1.0
Description: Local-only deep-green editorial child theme for ivibet2027.com.
*/
:root{--atlas-bg:#173e32;--atlas-deep:#073526;--atlas-ink:#f1ebd9;--atlas-muted:#c7d1c5;--atlas-accent:#beae82;--atlas-link:#e4d9bc;--atlas-navy:#06182e;--mb-bg:#173e32;--mb-surface:#103b2e;--mb-raised:#205241;--mb-line:#91a395;--mb-text:#f1ebd9;--mb-muted:#c7d1c5;--mb-accent:#beae82;--mb-link:#e4d9bc;--mb-dark:#06182e;--mb-button-text:#07172a;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--atlas-bg);color:var(--atlas-ink);font-family:Georgia,'Times New Roman',serif;line-height:1.43}img{max-width:100%;height:auto}a{color:var(--atlas-link);text-underline-offset:3px}a:hover{color:white}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #f8e3a6;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2{font-weight:400;line-height:1.07}h2{font-size:clamp(27px,3.3vw,39px);margin-bottom:.25em}p{margin-bottom:.55em}#main{display:block}.skip-link{position:absolute;left:-9999px;top:0;z-index:40;background:#fff;color:#111;padding:10px}.skip-link:focus{left:10px}.site-header,.site-footer{background:var(--atlas-navy);font-family:Arial,sans-serif}.header-shell{max-width:1560px;min-height:54px;margin:auto;padding:6px clamp(18px,3.3vw,52px);display:flex;align-items:center;gap:clamp(18px,3vw,48px)}.brand{display:block;flex:0 0 auto}.brand-logo{display:block;width:116px;height:auto}.desktop-nav{display:flex;align-items:center;justify-content:center;gap:clamp(11px,1.55vw,24px);flex:1}.desktop-nav a,.account-actions button{font:600 11px Arial,sans-serif;text-decoration:none;color:#fff;white-space:nowrap}.account-actions{display:flex;align-items:center;gap:12px}.button{border:0;padding:10px 14px;border-radius:2px}.button-quiet{background:transparent;color:#fff}.button-primary{background:var(--atlas-accent);color:#09192b!important}.mobile-nav{display:none;position:relative}.mobile-nav summary{list-style:none;cursor:pointer;padding:8px;font-size:22px}.mobile-nav nav{position:absolute;z-index:9;right:0;top:100%;width:220px;padding:14px;background:var(--atlas-navy);box-shadow:0 8px 18px #0006}.mobile-nav nav a{display:block;padding:8px;color:#fff;text-decoration:none}.atlas-hero{height:clamp(340px,49vw,760px);position:relative;overflow:hidden;background:#062c20}.atlas-hero-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.atlas-hero-brand{position:absolute;top:5%;right:4%;width:min(38%,510px);text-align:center}.atlas-hero-brand h1{margin:0}.atlas-hero-brand img{display:block;width:100%;height:auto}.atlas-hero-brand p{font-size:clamp(14px,1.6vw,24px);line-height:1.15;margin:0}.atlas-home{background:var(--atlas-deep)}.atlas-explore,.atlas-more{padding:clamp(14px,2vw,28px) clamp(22px,3.2vw,48px)}.atlas-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.atlas-filters{display:flex;gap:clamp(12px,2.7vw,36px);flex-wrap:wrap}.atlas-filters button{padding:6px 0;background:none;color:var(--atlas-ink);border:0;border-bottom:1px solid transparent;font-size:15px}.atlas-filters button[aria-pressed=true]{border-color:currentColor}.atlas-intro{font-size:15px;margin:4px 0 12px;color:var(--atlas-muted)}.atlas-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.atlas-five,.atlas-three{display:grid;gap:clamp(9px,1.2vw,18px)}.atlas-five{grid-template-columns:repeat(5,minmax(0,1fr))}.atlas-three{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-game{display:block;min-width:0;text-decoration:none;color:var(--atlas-ink)}.atlas-game[hidden]{display:none}.atlas-game img{display:block;width:100%;height:auto;aspect-ratio:1.52;object-fit:contain;background:#061e18}.atlas-game-name{display:block;margin-top:6px;font-size:clamp(13px,1.25vw,19px)}.atlas-double{display:grid;grid-template-columns:2fr 1fr;gap:8px}.atlas-double article{min-width:0}.atlas-double img{display:block;width:100%;height:clamp(200px,27vw,410px);object-fit:cover}.atlas-double article:nth-child(2) img{object-position:center 46%}.atlas-copy{padding:12px clamp(22px,3.2vw,48px) 18px}.atlas-copy p,.atlas-story-copy p{font-size:clamp(15px,1.25vw,19px);line-height:1.2}.atlas-reels{display:grid;grid-template-columns:36% 1fr;gap:clamp(12px,2vw,30px);padding:0 clamp(22px,3.2vw,48px) 15px}.atlas-reels .atlas-copy{padding:12px 0}.atlas-single-game{max-width:420px}.atlas-reel-photo{display:block;width:100%;height:100%;min-height:220px;max-height:390px;object-fit:cover}.atlas-stories{display:grid;grid-template-columns:59% 41%;background:#073526}.atlas-stories>img{width:100%;height:100%;min-height:300px;max-height:450px;object-fit:cover}.atlas-story-copy{padding:clamp(18px,2.5vw,38px)}.atlas-story-copy h2:not(:first-child){margin-top:18px}.atlas-more h2{margin-bottom:12px}.atlas-source-note{margin-top:18px;color:var(--atlas-muted);font:13px/1.5 Arial,sans-serif}.atlas-faq{display:grid;grid-template-columns:56% 44%;gap:24px;padding-right:clamp(22px,3.2vw,48px)}.atlas-faq>img{width:100%;height:100%;min-height:240px;max-height:360px;object-fit:cover}.atlas-faq>div{padding-top:14px}.atlas-faq details{border-top:1px solid #9ba99c;padding:8px 4px}.atlas-faq details:last-child{border-bottom:1px solid #9ba99c}.atlas-faq summary{cursor:pointer;list-style:none}.atlas-faq summary:after{content:'+';float:right;font-size:24px;line-height:1}.atlas-faq details[open] summary:after{content:'−'}.atlas-faq details p{padding:12px 0;color:var(--atlas-muted);font-size:15px}.atlas-care{padding:15px clamp(22px,3.2vw,48px);font:13px Arial,sans-serif}.footer-top,.footer-bottom{max-width:1500px;margin:auto;padding:28px clamp(22px,4vw,60px);display:flex;gap:45px;justify-content:space-between}.footer-brand{max-width:260px;flex:1}.footer-brand p{margin-top:12px;font-size:12px;line-height:1.55;color:#d0d4df}.footer-columns{flex:2;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.footer-columns nav,.footer-bottom nav{display:flex;flex-direction:column;gap:8px}.footer-columns h2{font:700 14px Arial,sans-serif}.footer-columns a,.footer-bottom a,.footer-bottom p{font:12px/1.5 Arial,sans-serif;color:#d0d4df;text-decoration:none}.footer-bottom{border-top:1px solid #ffffff30;padding-top:18px}.footer-bottom nav{flex-direction:row;gap:20px}.atlas-archive,.atlas-article,.article-shell,.collection-shell{max-width:1100px;margin:0 auto;padding:clamp(35px,6vw,80px) 24px}.atlas-archive h1,.atlas-article h1{font-size:clamp(36px,5vw,64px)}.atlas-archive-entry{border-top:1px solid #9ba99c;padding:24px 0;max-width:800px}.atlas-archive-entry h2{font-size:30px}.atlas-deck{color:var(--atlas-muted);font-size:21px;max-width:680px}.atlas-article-body{max-width:770px;font-size:19px;line-height:1.72}.atlas-article-body h2{margin:1.4em 0 .5em;font-size:32px}.atlas-article-body figure{margin:2em 0}.atlas-article-body figure img{display:block;width:100%}.atlas-article-body figcaption{font:13px/1.4 Arial,sans-serif;color:var(--atlas-muted);margin-top:6px}.legacy-content-anchor{position:relative;top:-15px}.atlas-game-reference img{display:block;max-width:580px;margin:25px 0}.account-dialog{max-width:450px;width:calc(100% - 30px);padding:26px;border:1px solid #8d9d8c;background:#0b2e24;color:var(--atlas-ink)}.account-dialog::backdrop{background:#000a}.dialog-close{float:right;background:transparent;border:0;color:white;font-size:28px}.dialog-logo{width:150px}.account-tabs{display:flex;gap:8px;margin:16px 0}.account-tabs button{padding:8px 14px}.account-dialog label{display:block;margin:12px 0 4px}.account-dialog input:not([type=checkbox]){display:block;width:100%;padding:10px;background:#fff;color:#111;border:0}.account-submit{margin-top:16px}.form-status,.dialog-foot{font:14px/1.5 Arial,sans-serif}
@media(max-width:1000px){.desktop-nav{gap:10px}.header-shell{gap:12px}.desktop-nav a,.account-actions button{font-size:10px}}
@media(max-width:700px){.desktop-nav{display:none}.header-shell{justify-content:space-between}.mobile-nav{display:block;margin-left:auto}.account-actions{margin-left:auto}.atlas-five{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-hero-brand{width:42%;top:7%}}
@media(max-width:580px){.header-shell{padding:6px 16px}.brand-logo{width:100px}.account-actions{gap:2px}.account-actions .button{padding:8px}.atlas-hero{height:390px}.atlas-hero-photo{object-position:36% center}.atlas-hero-brand{top:4%;right:4%;width:49%}.atlas-hero-brand p{font-size:13px}.atlas-section-heading{display:block}.atlas-filters{gap:14px;margin:8px 0}.atlas-filters button{font-size:14px}.atlas-five{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-double{grid-template-columns:1fr 1fr}.atlas-double img{height:175px}.atlas-double .atlas-copy{padding:10px 15px 18px}.atlas-double h2{font-size:23px}.atlas-reels{grid-template-columns:1fr 1.1fr;gap:12px}.atlas-reel-photo{min-height:190px}.atlas-reels h2{font-size:25px}.atlas-stories{grid-template-columns:1fr}.atlas-stories>img{min-height:210px;max-height:240px}.atlas-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.atlas-game-name{font-size:12px;overflow-wrap:anywhere}.atlas-faq{grid-template-columns:1fr;padding:0 22px}.atlas-faq>img{min-height:190px;max-height:230px}.footer-top{display:block}.footer-columns{margin-top:26px;gap:16px}.footer-bottom{display:block}.footer-bottom nav{margin-top:12px}.atlas-article-body{font-size:17px}}
@media(max-width:360px){.account-actions .button{padding:6px;font-size:9px}.atlas-double{grid-template-columns:1fr}.atlas-double img{height:195px}.atlas-reels{grid-template-columns:1fr}.atlas-reel-photo{max-height:210px}.footer-columns{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Match the reference serif captions; the parent theme specifies a condensed display face. */
.atlas-home h2,.atlas-archive h1,.atlas-archive h2,.atlas-article h1,.atlas-article h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}
/* Final live comparison: retain compact reference proportions without cropping game art. */
.atlas-single-game .atlas-game img,.atlas-three .atlas-game img{aspect-ratio:1.91}
@media (min-width:701px){
  .site-header .header-shell{width:100%;margin:0 auto;min-height:50px;padding:6px clamp(18px,3.2vw,48px)}
  .site-header .desktop-nav a{min-height:0;height:auto;padding:0}
  .site-header .account-actions .button{min-height:0;height:auto;padding:8px 12px;line-height:1.2}
  .atlas-double .atlas-copy{padding-top:8px;padding-bottom:12px}
  .atlas-copy a,.atlas-story-copy a{display:block;font-size:14px;line-height:1.25}
  .atlas-reel-photo{height:clamp(210px,31.5vw,300px);min-height:0;align-self:start}
  .atlas-story-copy{padding:12px 20px}
  .atlas-story-copy h2{font-size:clamp(23px,3.1vw,31px)}
  .atlas-story-copy h2:not(:first-child){margin-top:10px}
  .atlas-story-copy p{font-size:14px;line-height:1.22}
  .atlas-stories>img{min-height:0;max-height:270px}
  .atlas-faq{grid-template-columns:minmax(0,56fr) minmax(0,44fr)}
  .atlas-faq>img{height:190px;min-height:0}
  .footer-top{padding-top:20px;padding-bottom:20px}
  .footer-columns nav{gap:5px}
  .footer-columns nav a{padding:0;font-size:11px;line-height:1.4}
  .footer-bottom{flex-direction:row;align-items:center;gap:16px;padding-top:14px;padding-bottom:14px}
}

/* Show the full reel artwork on narrow screens without changing the desktop layout. */
@media (max-width: 580px) {
  .atlas-reels { grid-template-columns: 1fr; }
  .atlas-reel-photo { height: auto; min-height: 0; max-height: none; }
}
