/* W4 Golden Wilds editorial interior: shared design for six public Minecraft pages.
   Deliberately scoped: never affects admin, account, Drataria Tech or other game hubs. */
body.gw-interior{
  --gwe-ink:#f0f5f2;
  --gwe-muted:#c0d0d1;
  --gwe-gold:#ecd49a;
  --gwe-teal:#95d8d1;
  --gwe-line:rgba(131,183,187,.29);
  --gwe-surface:rgba(6,24,32,.87);
  --gwe-inset:rgba(5,20,27,.8);
  color:var(--gwe-ink);
}
body.gw-interior #main-content{
  box-sizing:border-box;
  width:min(100%,1360px)!important;
  max-width:1360px!important;
  margin:0 auto!important;
  padding:clamp(17px,2.7vw,33px) clamp(12px,2.5vw,28px) 92px!important;
}
body.gw-interior #main-content:is(.features-main,.guide-main),
body.gw-interior #main-content > :is(.news-wrap,.rules-wrap,.page-wrap){
  box-sizing:border-box;
  max-width:none!important;
}
body.gw-interior #main-content > :is(.news-wrap,.rules-wrap,.page-wrap){
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

/* The overview's existing Drataria artwork is the only hero accent.
   Copy stays left, away from the right-hand illustration safe area. */
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
  box-sizing:border-box;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:100%;
  max-width:none;
  min-height:236px;
  margin:0 0 25px;
  padding:clamp(26px,4vw,49px);
  overflow:hidden;
  text-align:left;
  border:1px solid rgba(213,181,110,.36)!important;
  border-top:2px solid rgba(230,193,113,.73)!important;
  border-radius:18px!important;
  background-color:#09212b!important;
  background-image:linear-gradient(90deg,rgba(3,18,26,.97) 0%,rgba(4,22,29,.91) 47%,rgba(5,23,31,.46) 100%),url('/assets/drataria/page_header_desktop_2560x640.png');
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22)!important;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) > *{
  position:relative;
  z-index:1;
}
body.gw-interior :is(.news-kicker,.rules-kicker,.features-kicker,.guide-kicker,.gw-editorial-kicker){
  display:block;
  margin:0 0 10px;
  color:var(--gwe-gold)!important;
  font:800 .7rem/1.35 Inter,system-ui,sans-serif!important;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) h1{
  max-width:780px;
  margin:0 0 15px;
  color:#f6f5ef!important;
  font:800 clamp(2rem,3.6vw,3.65rem)/1.12 Cinzel,Georgia,serif!important;
  letter-spacing:-.018em;
  text-shadow:0 4px 26px rgba(0,0,0,.32);
  text-wrap:balance;
}
body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) p{
  width:100%;
  max-width:750px;
  margin:0;
  color:#d6e5e3!important;
  font-size:clamp(.9rem,1.1vw,1rem);
  line-height:1.75;
  text-align:left;
}
body.gw-interior .roadmap-hero .shared-note{
  margin-top:11px!important;
  color:#bbd0ca!important;
  font-size:.8rem!important;
}

/* Quiet, high-contrast information panels. Large headers carry the artwork;
   card interiors stay consistent with the rest of Drataria Gaming. */
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card,.topic-card,.submission-panel){
  box-sizing:border-box;
  border:1px solid var(--gwe-line)!important;
  border-radius:12px!important;
  background:linear-gradient(150deg,rgba(11,39,48,.94),rgba(5,22,30,.95))!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card) :is(h2,h3){
  color:#f0dfac!important;
  text-wrap:pretty;
}
body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card,.guide-card,.vote-card) p{
  color:var(--gwe-muted)!important;
  line-height:1.67;
}
body.gw-interior :is(.feature-section,.guide-app,#roadmapSection){
  border:1px solid var(--gwe-line)!important;
  border-radius:16px!important;
  background:var(--gwe-surface)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.2)!important;
}
body.gw-interior .feature-section{
  padding:clamp(17px,2.3vw,27px);
  margin-top:19px;
}
body.gw-interior #roadmapSection{
  box-sizing:border-box;
  margin:0!important;
  padding:clamp(18px,3vw,31px)!important;
  max-width:100%!important;
}
body.gw-interior :is(.group-head,.feature-section>header){
  border-bottom-color:rgba(228,197,130,.22);
}
body.gw-interior .news-group{
  margin-bottom:33px;
}
body.gw-interior .group-title h2,
body.gw-interior .group-head h2,
body.gw-interior .feature-section h2{
  color:#f0dfac!important;
  font-size:clamp(1.01rem,1.5vw,1.25rem);
}
body.gw-interior :is(.group-count,.date,.vote-meta,.total,.submission-row small){
  color:#a4bbbd;
}
body.gw-interior .news-card.pinned{
  border-color:rgba(230,194,111,.62)!important;
  background:radial-gradient(circle at 88% 14%,rgba(208,175,99,.13),transparent 37%),linear-gradient(145deg,rgba(30,42,40,.93),rgba(8,28,35,.97))!important;
}
body.gw-interior .news-card.pinned h3{
  color:#fff1c5!important;
}
body.gw-interior .news-card.pinned p{
  color:#d5d8cc!important;
}
body.gw-interior :is(.news-card,.feature-card,.guide-card) a{
  color:#efd391;
}
body.gw-interior :is(.rules-note,.guide-note,.feature-callout){
  border-color:rgba(227,191,113,.33);
  background:linear-gradient(100deg,rgba(117,96,49,.12),rgba(11,39,45,.56));
  color:#d4e1da;
}
body.gw-interior :is(.filter,.guide-tab,.option-button){
  min-height:38px;
  border:1px solid rgba(129,177,180,.36)!important;
  border-radius:9px;
  background:rgba(7,30,39,.85)!important;
  color:#d8e8e6!important;
  font-family:Inter,system-ui,sans-serif;
  font-size:.79rem;
  font-weight:750;
}
body.gw-interior :is(.filter,.guide-tab,.option-button):is(:hover,:focus-visible){
  border-color:rgba(231,199,128,.7);
  color:#fff1c7;
}
body.gw-interior :is(.filter,.guide-tab).active{
  border-color:#e8ca83!important;
  background:#e8ca83!important;
  color:#102128!important;
}
body.gw-interior .stat{
  background:rgba(5,25,34,.9)!important;
  border:1px solid var(--gwe-line)!important;
  border-radius:10px;
}
body.gw-interior .stat span{
  color:#b8cbcd;
}
body.gw-interior :is(.guide-toolbar,.gw-command-toolbar){
  background:rgba(7,26,34,.72);
}
body.gw-interior #newsModal .box{
  background:linear-gradient(145deg,#0d2a34,#071821)!important;
  border:1px solid rgba(230,194,111,.43)!important;
  color:#eaf4f3;
}
body.gw-interior #newsModal :is(.body,.date){
  color:#c3d6d6;
}
body.gw-interior #newsModal .close{
  min-height:42px;
  color:#f2e1ad;
  border:1px solid rgba(230,194,111,.46);
  background:rgba(13,48,57,.95);
}
body.gw-interior :is(button,a,input,textarea,select,summary):focus-visible{
  outline:2px solid #efd995!important;
  outline-offset:3px;
}
body.gw-interior :is(.filter,.news-card,.guide-tab) {
  transition:border-color .15s ease,background-color .15s ease,transform .15s ease;
}
@media(max-width:800px){
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
    min-height:0;
    padding:31px 25px;
    background-image:linear-gradient(90deg,rgba(4,19,27,.95),rgba(5,25,34,.77)),url('/assets/drataria/page_header_mobile_1080x720.png')!important;
  }
  body.gw-interior .feature-section>header{display:block}
  body.gw-interior .feature-section>header p{margin-top:7px}
}
@media(max-width:620px){
  body.gw-interior #main-content{
    padding:12px 11px 60px!important;
  }
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero){
    padding:28px 19px;
    margin-bottom:18px;
    border-radius:13px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.gw-interior :is(.news-hero,.roadmap-hero,.page-wrap>.page-head,.features-hero,.guide-hero,.rules-hero) h1{
    font-size:clamp(1.75rem,8vw,2.6rem)!important;
  }
  body.gw-interior :is(.news-grid,.roadmap-grid,.rules-grid,.feature-grid){
    grid-template-columns:1fr;
  }
  body.gw-interior :is(.news-card,.roadmap-card,.rule-card,.feature-card){
    min-width:0;
  }
  body.gw-interior .filters{
    justify-content:flex-start;
    gap:7px;
  }
  body.gw-interior :is(.filter,.guide-tab){font-size:.72rem;padding:9px 11px}
  body.gw-interior .news-card.pinned{padding:19px}
  body.gw-interior .page-wrap .poll-actions > *{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){
  body.gw-interior :is(.filter,.news-card,.guide-tab){transition:none!important;transform:none!important}
}
