/*
Theme Name: 888NEWVN Child
Template: generatepress
Version: 1.0
*/
:root {
  --bg-dark: #121826;
  --nav-bg: #263248;
  --accent-gold: #f59e0b;
  --accent-copper: #ea580c;
  --accent-emerald: #10b981;
  --text-main: #1e293b;
}
html, body { background: var(--bg-dark) !important; color: var(--text-main); font-family: 'Be Vietnam Pro', sans-serif !important; overflow-x: clip !important; margin: 0; padding: 0; }
.site-header, .main-navigation, #masthead, .site-footer { display: none !important; }
.w8n-header { background: linear-gradient(180deg, #0f172a 0%, #162033 100%); border-bottom: 1px solid rgba(245,158,11,.22); }
.w8n-top { max-width: 1170px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w8n-logo img { height: 50px; width: auto; display: block; }
.w8n-ctas { display: flex; gap: 10px; align-items: center; }
.w8n-btn-login { background: linear-gradient(135deg, #059669, #10b981); color: #fff !important; font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 14px rgba(16,185,129,.35); transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap; }
.w8n-btn-reg { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff !important; font-weight: 800; font-size: 13px; padding: 9px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 16px rgba(234,88,12,.45); transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap; }
.w8n-btn-login:hover, .w8n-btn-reg:hover { transform: translateY(-2px); filter: brightness(1.08); }
.w8n-nav { background: var(--nav-bg); border-bottom: 3px solid var(--accent-gold); }
.w8n-nav ul { max-width: 1170px; margin: 0 auto; padding: 0 12px; list-style: none; display: flex; align-items: center; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.w8n-nav ul::-webkit-scrollbar { display: none; }
.w8n-nav li a { display: block; padding: 11px 16px; color: #f8fafc !important; font-weight: 700; font-size: 14px; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: color .15s, background .15s; border-radius: 6px 6px 0 0; }
.w8n-nav li a:hover { color: #fbbf24 !important; background: rgba(255,255,255,.06); }
.w8n-canvas { max-width: 1170px; margin: 0 auto 24px; background: #ffffff; box-shadow: 0 12px 34px rgba(0,0,0,.35); padding: 16px 24px 32px; border-radius: 0 0 10px 10px; }
.w8n-hero { margin: 0 -24px 16px; overflow: hidden; }
.w8n-hero img { width: 100%; height: auto; display: block; }
.w8n-h1-bar { background: var(--bg-dark); padding: 14px 18px; border-radius: 8px; border-left: 5px solid var(--accent-gold); margin: 10px 0 18px; }
.w8n-h1-bar h1 { color: #fbbf24 !important; font-size: 23px; line-height: 1.35; margin: 0; font-weight: 800; }
.w8n-content h2 { color: #0f172a; font-size: 20px; font-weight: 800; margin: 26px 0 12px; padding: 8px 14px; background: #fff7ed; border-left: 4px solid var(--accent-copper); border-radius: 0 6px 6px 0; }
.w8n-content h3 { color: #9a3412; font-size: 16px; font-weight: 700; margin: 16px 0 6px; }
.w8n-content p { font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; color: #1e293b; }
.w8n-content a { color: #c2410c; font-weight: 600; }
.w8n-content table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14.5px; }
.w8n-content th { background: #121826; color: #fbbf24; padding: 10px 12px; text-align: left; }
.w8n-content td { border: 1px solid #e2e8f0; padding: 9px 12px; }
.w8n-content tr:nth-child(even) td { background: #f8fafc; }
.w8n-fig { margin: 16px auto 20px; text-align: center; max-width: 820px; }
.w8n-fig img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(15,23,42,.14); display: block; margin: 0 auto; }
.w8n-fig figcaption { font-size: 13px; color: #64748b; margin-top: 6px; font-style: italic; }
.cta-box { background: linear-gradient(135deg, #121826, #1e293b); color: #f8fafc; padding: 18px 20px; border-radius: 10px; border: 1px solid #f59e0b; margin: 24px 0; text-align: center; }
.cta-box p { color: #f8fafc !important; }
.btn-cta { display: inline-block; background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff !important; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; margin: 4px 6px; }
.btn-cta-alt { display: inline-block; background: linear-gradient(135deg, #059669, #10b981); color: #fff !important; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; margin: 4px 6px; }
.rel-links a { color: #fbbf24 !important; }
.disclaimer { font-size: 13px !important; color: #64748b !important; background: #f1f5f9; padding: 10px 14px; border-radius: 6px; }
.w8n-news-sec { margin-top: 30px; padding-top: 20px; border-top: 2px solid #e2e8f0; }
.w8n-news-title { font-size: 19px; font-weight: 800; color: #0f172a; margin: 0 0 16px; border-left: 4px solid var(--accent-gold); padding-left: 12px; }
.w8n-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.w8n-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.w8n-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.w8n-card img { width: 100%; height: 135px; object-fit: cover; display: block; }
.w8n-card-body { padding: 10px 12px; }
.w8n-card-body h3 { font-size: 14px; line-height: 1.4; margin: 0 0 6px; color: #0f172a; }
.w8n-card-body p { font-size: 12.5px; color: #64748b; margin: 0; line-height: 1.45; }
.w8n-footer { background: #0b1120; color: #cbd5e1; border-top: 3px solid var(--accent-gold); padding: 30px 16px 86px; }
.w8n-ft-in { max-width: 1170px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.w8n-ft-in h4 { color: #fbbf24; font-size: 15px; margin: 0 0 10px; text-transform: uppercase; }
.w8n-ft-in a { color: #e2e8f0; text-decoration: none; display: block; margin-bottom: 6px; font-size: 13.5px; }
.w8n-ft-in a:hover { color: #fbbf24; }
.w8n-copy { max-width: 1170px; margin: 20px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 12.5px; color: #94a3b8; }
#w8n-sticky { position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 6px); z-index: 9998; display: flex; justify-content: center; pointer-events: none; padding: 0 8px; }
#w8n-sticky .st-wrap { position: relative; display: flex; gap: 10px; pointer-events: auto; max-width: 960px; }
#w8n-sticky .st-wrap a { display: block; }
#w8n-sticky .st-wrap img { height: 64px; width: auto; max-width: 468px; border-radius: 6px; display: block; box-shadow: 0 4px 16px rgba(0,0,0,.45); }
#w8n-sticky .st-close { position: absolute; top: -24px; right: 0; background: #f59e0b; color: #0f172a; border: none; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 4px 4px 0 0; cursor: pointer; }
#w8n-popup { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; }
#w8n-popup .pp-box { position: relative; max-width: 460px; width: 100%; }
#w8n-popup .pp-box img { width: 100%; height: auto; border-radius: 10px; display: block; }
#w8n-popup .pp-close { position: absolute; top: -14px; right: -10px; background: #ea580c; color: #fff; border: 2px solid #fff; font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.home .featured-image, .featured-image { display: none !important; }
@media (max-width: 768px) {
  .w8n-top { padding: 8px 12px; }
  .w8n-logo img { height: 38px; }
  .w8n-btn-login, .w8n-btn-reg { padding: 7px 11px; font-size: 11.5px; }
  .w8n-nav ul { justify-content: flex-start !important; padding: 0 10px; }
  .w8n-canvas { padding: 12px 14px 24px; }
  .w8n-hero { margin: 0 -14px 12px; }
  .w8n-h1-bar h1 { font-size: 18px; }
  .w8n-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .w8n-ft-in { grid-template-columns: 1fr; }
  .w8n-content table { display: block; overflow-x: auto; white-space: nowrap; }
  #w8n-sticky .st-wrap a:nth-of-type(2) { display: none !important; }
  #w8n-sticky .st-wrap img { height: auto; width: 92vw; max-width: 370px; }
}

/* Fix mobile <main> right-side clipping inside GeneratePress flex wrapper */
#page, .site-content, .w8n-canvas, .w8n-content { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
.w8n-canvas { width: 100% !important; max-width: 1170px !important; }
.w8n-content table { max-width: 100% !important; }
