/*
Theme Name: B52CLUB Military Gold Child
Template: generatepress
Version: 1.0
*/
html, body { background: radial-gradient(circle at top, #172b1c 0%, #0b140e 52%, #060a07 100%) !important; color: #f8fafc !important; font-family: 'Be Vietnam Pro', 'Roboto', sans-serif !important; overflow-x: clip !important; margin: 0; padding: 0; }
#page, .site-content, main.b52-wrap { width: 100% !important; max-width: 1220px !important; min-width: 0 !important; box-sizing: border-box !important; margin: 0 auto; }
.site-header, .main-navigation, #masthead, .site-footer { display: none !important; }

/* 2-ROW STACKED MILITARY HEADER MATCHING b52i.io */
.b52-hd { position: sticky; top: 0; z-index: 999; background: rgba(9, 18, 12, .95); backdrop-filter: blur(10px); border-bottom: 2px solid #fbe25f; box-shadow: 0 4px 20px rgba(0,0,0,.6); }
.b52-hd-top { max-width: 1220px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.b52-logo img { height: 56px; width: auto; display: block; }
.b52-ctas { display: flex; gap: 10px; }
.b52-btn-gold { background: linear-gradient(135deg, #fbe25f, #d97706); color: #0a140c !important; font-weight: 800; font-size: 13px; padding: 9px 18px; border-radius: 6px; text-decoration: none; text-transform: uppercase; box-shadow: 0 4px 14px rgba(251,226,95,.3); white-space: nowrap; }
.b52-btn-olive { background: linear-gradient(135deg, #627D47, #3f5829); color: #ffffff !important; font-weight: 800; font-size: 13px; padding: 9px 18px; border-radius: 6px; text-decoration: none; text-transform: uppercase; border: 1px solid #fbe25f; white-space: nowrap; }
.b52-nav-bar { background: rgba(20, 38, 24, .95); border-top: 1px solid rgba(251,226,95,.25); }
.b52-nav-bar ul { max-width: 1220px; margin: 0 auto; padding: 0 12px; list-style: none; display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.b52-nav-bar li a { display: block; padding: 11px 15px; color: #ffffff !important; font-weight: 700; font-size: 13.5px; text-decoration: none; text-transform: uppercase; transition: color .15s, background .15s; white-space: nowrap; }
.b52-nav-bar li a:hover, .b52-nav-bar li.active a { color: #fbe25f !important; background: rgba(251,226,95,.12); }

/* MAIN WRAPPER & 3-COL HERO MATCHING b52i.io */
.b52-wrap { padding: 18px 16px 36px; }
.b52-bc { padding: 7px 14px; background: rgba(251,226,95,.12); border-left: 4px solid #fbe25f; border-radius: 4px; font-size: 13px; font-weight: 700; margin-bottom: 16px; color: #e2e8f0; }
.b52-bc a { color: #fbe25f; text-decoration: none; }
.b52-hero-3col { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 14px; margin-bottom: 24px; align-items: stretch; }
.b52-side-box { background: rgba(15, 28, 19, .92); border: 1.5px solid rgba(251,226,95,.55); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.b52-side-title { color: #fbe25f; font-size: 13.5px; font-weight: 800; text-transform: uppercase; text-align: center; border-bottom: 1px solid rgba(251,226,95,.25); padding-bottom: 8px; }
.b52-side-list { display: flex; flex-direction: column; gap: 8px; }
.b52-side-btn { display: block; text-align: center; background: linear-gradient(135deg, #627D47, #3e542a); color: #ffffff !important; font-weight: 700; font-size: 13px; padding: 9px 10px; border-radius: 6px; text-decoration: none; border: 1px solid rgba(251,226,95,.45); }
.b52-side-btn:hover { background: #C05530; border-color: #fbe25f; }
.b52-hero-mid { display: flex; flex-direction: column; gap: 10px; }
.b52-hero-mid img { width: 100%; height: auto; border-radius: 10px; border: 2px solid #fbe25f; box-shadow: 0 0 22px rgba(251,226,95,.22); display: block; }
.b52-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b52-hero-actions a { text-align: center; padding: 11px 12px; border-radius: 8px; font-weight: 800; font-size: 13.5px; text-decoration: none; text-transform: uppercase; }

/* 4-PILLAR GAME CARDS */
.b52-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.b52-pillar { display: block; text-decoration: none; background: rgba(15, 28, 19, .92); border: 1.5px solid rgba(251,226,95,.5); border-radius: 10px; overflow: hidden; transition: transform .18s; }
.b52-pillar:hover { transform: translateY(-3px); border-color: #fbe25f; }
.b52-pillar img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.b52-pillar span { display: block; text-align: center; padding: 9px 8px; color: #fbe25f; font-weight: 800; font-size: 13.5px; text-transform: uppercase; }

/* GLOWING GOLD EDITORIAL BOX (FULL FLOW — NO 800px SCROLL TRAP!) */
.b52-box { background: rgba(11, 20, 14, .92); border: 2px solid #fbe25f; box-shadow: 0 0 18px rgba(251,226,95,.22); border-radius: 12px; padding: 22px 26px 32px; margin-bottom: 28px; }
.b52-h1 { text-align: center; color: #fbe25f; font-size: 26px; font-weight: 800; line-height: 1.35; margin: 6px 0 18px; }
.b52-content h2 { color: #fbe25f; font-size: 20px; font-weight: 800; margin: 28px 0 12px; padding: 9px 14px; background: rgba(98,125,71,.22); border-left: 4px solid #fbe25f; border-radius: 0 8px 8px 0; }
.b52-content h3 { color: #fde047; font-size: 16.5px; font-weight: 700; margin: 18px 0 6px; }
.b52-content p, .b52-content li { font-size: 15.5px; line-height: 1.78; color: #f1f5f9; }
.b52-content p { margin: 0 0 14px; }
.b52-content ul, .b52-content ol { margin: 0 0 16px 22px; }
.b52-content a { color: #eeee22; font-weight: 600; }
.b52-content a:hover { color: #ffffff; }
.b52-content table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14.5px; background: rgba(255,255,255,.03); }
.b52-content th { background: rgba(98,125,71,.35); color: #fbe25f; padding: 10px 12px; text-align: left; border: 1px solid rgba(251,226,95,.3); }
.b52-content td { border: 1px solid rgba(251,226,95,.2); padding: 9px 12px; color: #f1f5f9; }
.b52-content figure, .b52-fig { margin: 18px auto 22px !important; text-align: center !important; max-width: 800px !important; width: 100% !important; display: block !important; }
.b52-content figure img, .b52-fig img { margin: 0 auto !important; display: block !important; max-width: 100% !important; height: auto !important; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.55); }
.b52-content figcaption, .b52-fig figcaption { text-align: center !important; font-size: 13px; color: #cbd5e1; margin-top: 6px; font-style: italic; }
.cta-box { background: rgba(98,125,71,.2); border: 2px solid #fbe25f; border-radius: 10px; padding: 18px 20px; margin: 22px 0; text-align: center; }
.cta-box a { display: inline-block; margin-top: 10px; background: linear-gradient(135deg, #fbe25f, #d97706); color: #0a140c !important; font-weight: 800; padding: 10px 26px; border-radius: 8px; text-decoration: none; }

/* 3-COLUMN LATEST POSTS GRID */
.b52-sec-h2 { color: #fbe25f; font-size: 22px; font-weight: 800; text-align: center; margin: 26px 0 16px; text-transform: uppercase; }
.b52-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.b52-card { display: flex; flex-direction: column; text-decoration: none; background: rgba(15, 28, 19, .92); border: 1px solid #fbe25f; border-radius: 10px; overflow: hidden; transition: transform .18s; }
.b52-card:hover { transform: translateY(-3px); }
.b52-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.b52-card-body { padding: 12px 14px; }
.b52-card-body h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #fbe25f; line-height: 1.4; }
.b52-card-body p { margin: 0; font-size: 13.5px; color: #cbd5e1; line-height: 1.55; }

/* 4-COLUMN DARK MILITARY FOOTER MATCHING b52i.io */
.b52-ft { background: rgba(6, 12, 8, .96); border-top: 2px solid #fbe25f; padding: 32px 16px 84px; color: #cbd5e1; }
.b52-ft-in { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.b52-ft-logo img { height: 54px; width: auto; margin-bottom: 10px; display: block; }
.b52-ft-title { color: #fbe25f; font-size: 14.5px; font-weight: 800; text-transform: uppercase; margin: 0 0 12px; border-bottom: 1px solid rgba(251,226,95,.3); padding-bottom: 6px; }
.b52-ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.b52-ft a { color: #f8fafc; font-size: 14px; text-decoration: none; }
.b52-ft a:hover { color: #fbe25f; text-decoration: underline; }
.b52-ft-copy { max-width: 1220px; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 13px; color: #94a3b8; }

/* STICKY BOTTOM GIF & DELAYED POPUP */
#b52-sticky { position: fixed; left: 0; right: 0; bottom: 8px; z-index: 9998; display: flex; justify-content: center; pointer-events: none; }
.b52-st-box { position: relative; display: flex; gap: 8px; pointer-events: auto; max-width: 96vw; }
.b52-st-box a img { height: 64px; width: auto; border-radius: 6px; display: block; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.b52-st-close { position: absolute; top: -12px; right: -8px; background: #fbe25f; color: #0a140c; border: none; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; cursor: pointer; }
#b52-pop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 99999; align-items: center; justify-content: center; padding: 16px; }
.b52-pop-in { position: relative; max-width: 460px; width: 100%; }
.b52-pop-in img { width: 100%; height: auto; border-radius: 10px; display: block; }
.b52-pop-close { position: absolute; top: -12px; right: -10px; background: #fbe25f; color: #0a140c; border: none; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; cursor: pointer; }

@media (max-width: 960px) {
  .b52-hero-3col { grid-template-columns: 1fr; }
  .b52-pillars { grid-template-columns: repeat(2, 1fr); }
  .b52-grid { grid-template-columns: repeat(2, 1fr); }
  .b52-ft-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #page, .site-content, main.b52-wrap { width: 100vw !important; max-width: 100% !important; overflow-x: hidden !important; padding-left: 10px !important; padding-right: 10px !important; }
  .b52-hd-top { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .b52-logo img { height: 46px; }
  .b52-nav-bar li a { padding: 8px 10px; font-size: 12px; }
  .b52-box { padding: 16px 14px 24px; }
  .b52-grid, .b52-ft-in { grid-template-columns: 1fr; }
  .b52-content, .b52-content * { max-width: 100% !important; box-sizing: border-box !important; }
  .b52-content table { display: block !important; width: 100% !important; max-width: calc(100vw - 48px) !important; overflow-x: auto !important; }
  .b52-st-box a:nth-of-type(2) { display: none !important; }
  .b52-st-box a img { height: auto; max-width: 94vw; }
}

/* MOBILE HERO STRICT WIDTH FIX */
@media (max-width: 768px) {
  .b52-hero-3col, .b52-hero-mid, .b52-side-box { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .b52-hero-actions { grid-template-columns: 1fr !important; }
}

