/* ========================================================================== */
/* ===== DIGITAL DOOM V3 - NEXT-GEN DESIGN SYSTEM & BENTO GRID ENGINE ===== */
/* ========================================================================== */

/* Dark Mode Tokens (Default) */
:root,
html.dark {
  --doom-bg: #070908;
  --doom-ink: #f4f7f5;
  --doom-mute: #8d9a94;
  --doom-card: #0f1311;
  --doom-card-rgb: 15, 19, 17;
  --doom-card-hover: #131b17;
  --doom-line: rgba(255, 255, 255, 0.08);
  --doom-line-hover: rgba(43, 255, 136, 0.4);
  --doom-title: #ffffff;
  --doom-desc: #94a3b8;
  --doom-nav-bg: rgba(6, 21, 18, 0.9);
  --doom-nav-border: rgba(255, 255, 255, 0.1);
  --doom-g1: #2bff88;
  --doom-g2: #19e6d6;
  --doom-purple: #8b5cf6;
  --doom-purple-hover: #7c3aed;
  --doom-red: #ff3d57;
  color-scheme: dark;
}

/* Light Mode Tokens (AppKittie Clean Light Aesthetics) */
html:not(.dark),
html[data-theme="light"] {
  --doom-bg: #f4f7f6;
  --doom-ink: #0c1411;
  --doom-mute: #52605b;
  --doom-card: #ffffff;
  --doom-card-rgb: 255, 255, 255;
  --doom-card-hover: #f8fafc;
  --doom-line: rgba(0, 0, 0, 0.08);
  --doom-line-hover: rgba(5, 150, 105, 0.45);
  --doom-title: #090d0b;
  --doom-desc: #475569;
  --doom-nav-bg: rgba(255, 255, 255, 0.92);
  --doom-nav-border: rgba(0, 0, 0, 0.08);
  --doom-g1: #059669;
  --doom-g2: #0d9488;
  --doom-purple: #7c3aed;
  --doom-purple-hover: #6d28d9;
  --doom-red: #e11d48;
  color-scheme: light;
}

:root {
  --font-primary: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

body,
body.digital-doom-theme {
  background-color: var(--doom-bg) !important;
  color: var(--doom-ink) !important;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  overflow-x: clip;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6,
.doom-headline,
.doom-section-title,
.doom-card-title,
.font-heading {
  font-family: 'Outfit', sans-serif !important;
}

/* Original HTML Brand Mark & Typography */
.doom-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
  color: var(--doom-ink) !important;
}

.doom-brand-accent {
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 800 !important;
}

/* Sticky Header Guarantees & Complete Side Transparency */
header.doom-sticky-header,
.doom-sticky-header,
html.dark header.doom-sticky-header,
html.dark .doom-sticky-header,
body.digital-doom-theme header {
  position: sticky !important;
  top: 10px !important;
  z-index: 9999 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

header.doom-sticky-header .kittie-navbar,
.doom-sticky-header .kittie-navbar,
.doom-mobile-sticky-header .kittie-navbar {
  pointer-events: auto !important;
}

.doom-mobile-sticky-header,
html.dark .doom-mobile-sticky-header {
  position: sticky !important;
  top: 6px !important;
  z-index: 9999 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Responsive Desktop vs Mobile Header Visibility Rules */
@media (min-width: 768px) {
  .doom-mobile-sticky-header {
    display: none !important;
  }
}
@media (max-width: 767.98px) {
  header.doom-sticky-header,
  .doom-sticky-header {
    display: none !important;
  }
}
body:has(#wp-style-admin-bar) header.doom-sticky-header,
body:has(#wp-style-admin-bar) .doom-sticky-header {
  top: 42px !important;
}
body:has(#wp-style-admin-bar) .doom-mobile-sticky-header {
  top: 38px !important;
}

/* Atmospheric Ambient Glow Drift */
.doom-glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 75vh;
  background: radial-gradient(40% 50% at 30% 30%, rgba(43, 255, 136, 0.12), transparent 70%),
              radial-gradient(35% 45% at 75% 20%, rgba(25, 230, 214, 0.10), transparent 70%),
              radial-gradient(30% 40% at 50% 60%, rgba(139, 92, 246, 0.08), transparent 70%);
  animation: doomDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes doomDrift {
  to {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
}

/* Brand Animated Mark */
.doom-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--doom-g1), var(--doom-g2));
  box-shadow: 0 0 24px rgba(43, 255, 136, 0.55);
  animation: doomBreathe 3s ease-in-out infinite;
  flex: none;
}

.doom-mark i {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 12px;
  border-radius: 7px;
  background: var(--doom-bg);
  animation: doomSlide 3s ease-in-out infinite;
}

.doom-mark.big {
  width: 80px;
  height: 80px;
  border-radius: 26px;
}

.doom-mark.big i {
  top: 15px;
  bottom: 15px;
  left: 15px;
  width: 22px;
  border-radius: 12px;
  animation-name: doomSlideBig;
}

@keyframes doomSlide {
  0%, 15% { transform: translateX(0); }
  50%, 65% { transform: translateX(14px); }
  100% { transform: translateX(0); }
}

@keyframes doomSlideBig {
  0%, 15% { transform: translateX(0); }
  50%, 65% { transform: translateX(26px); }
  100% { transform: translateX(0); }
}

@keyframes doomBreathe {
  50% { box-shadow: 0 0 38px rgba(25, 230, 214, 0.85); }
}

/* Hero Typography */
.doom-headline {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.doom-gradient-text {
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doom-purple-gradient {
  background: linear-gradient(90deg, #c084fc, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Primary Button Glow */
.doom-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #04130b;
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2));
  border-radius: 9999px;
  padding: 12px 24px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(43, 255, 136, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.doom-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(43, 255, 136, 0.65);
}

.doom-btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--doom-purple), var(--doom-purple-hover));
  border-radius: 9999px;
  padding: 10px 20px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.doom-btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.65);
}

.doom-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #04130b;
  background: #ffffff;
  border-radius: 9999px;
  padding: 10px 22px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}

.doom-btn-white:hover {
  transform: translateY(-2px);
  background: #f1f5f9;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

/* ========================================================================== */
/* ===== LIVE RADAR SCANNER & THREAT/TREND INDEX ===== */
/* ========================================================================== */

.doom-meter {
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 28px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.doom-scan {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 8px auto 18px;
  background: linear-gradient(rgba(43, 255, 136, 0.2), rgba(43, 255, 136, 0.2)) center/1px 100% no-repeat,
              linear-gradient(rgba(43, 255, 136, 0.2), rgba(43, 255, 136, 0.2)) center/100% 1px no-repeat;
}

.doom-scan i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(43, 255, 136, 0.25);
}

.doom-scan .r1 { inset: 0; }
.doom-scan .r2 { inset: 17%; }
.doom-scan .r3 { inset: 34%; }

.doom-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 270deg, rgba(43, 255, 136, 0.06) 270deg, rgba(43, 255, 136, 0.4) 359deg, rgba(43, 255, 136, 0.9) 360deg);
  animation: doomSpin 6s linear infinite;
  pointer-events: none;
}

@keyframes doomSpin {
  to { transform: rotate(360deg); }
}

.doom-cmark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--doom-g1), var(--doom-g2));
  box-shadow: 0 0 30px rgba(43, 255, 136, 0.55);
  animation: doomBreathe 3s ease-in-out infinite;
  z-index: 1;
}

.doom-cmark i {
  position: absolute;
  border: 0;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 16px;
  border-radius: 9px;
  background: var(--doom-bg);
  animation: doomSlide 3s ease-in-out infinite;
}

.doom-dw {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 2;
  font: inherit;
}

.doom-dw .d {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  opacity: 0.9;
}

.doom-dw .d::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--c);
  opacity: 0;
}

.doom-dw .lb {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 600 11px 'Outfit', sans-serif;
  color: var(--doom-ink);
  background: var(--doom-bg);
  border: 1px solid var(--doom-line);
  border-radius: 99px;
  padding: 2px 9px;
}

.doom-dw .bub {
  position: absolute;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 160px;
  text-align: left;
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2));
  color: #04130b;
  font: 700 11px/1.3 'Outfit', sans-serif;
  padding: 6px 10px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: 0.3s ease;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.doom-dw.l .bub { left: -8px; }
.doom-dw.r .bub { right: -8px; }
.doom-dw.on .bub { opacity: 1; transform: none; }
.doom-dw.hit .d { animation: doomPulse1 0.7s; }
.doom-dw.on .d { animation: doomPulse3 1.3s; }
.doom-dw.on .d::after { animation: doomRing 1.3s ease-out; }

@keyframes doomPulse1 {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.6); opacity: 1; }
}

@keyframes doomPulse3 {
  0%, 40%, 80% { transform: scale(1.7); opacity: 1; }
  20%, 60%, 100% { transform: scale(1); opacity: 0.4; }
}

@keyframes doomRing {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.8); }
}

/* ========================================================================== */
/* ===== INFINITE MARQUEE TICKER ===== */
/* ========================================================================== */

.doom-ticker {
  overflow: hidden;
  border-block: 1px solid var(--doom-line);
  padding: 12px 0;
  margin: 16px 0 36px;
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.doom-ticker-inner {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: doomMarquee 32s linear infinite;
  color: var(--doom-mute);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.doom-ticker-inner span {
  display: inline-flex;
  align-items: center;
}

.doom-ticker-inner span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--doom-g1);
  margin-right: 12px;
  box-shadow: 0 0 10px var(--doom-g1);
}

@keyframes doomMarquee {
  to { transform: translateX(-50%); }
}

/* ========================================================================== */
/* ===== 10 SECTIONS QUICK-JUMP CHIPS BAR ===== */
/* ========================================================================== */

.doom-chips-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 40px;
  scrollbar-width: none;
  background: transparent !important;
}

.doom-chips-bar::-webkit-scrollbar {
  display: none;
}

.doom-subnav-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Outfit', -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  padding: 0 14px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 28px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  flex: none !important;
  cursor: pointer !important;
}

.doom-subnav-pill:hover {
  color: #ffffff !important;
  border-color: rgba(43, 255, 136, 0.45) !important;
  background: rgba(43, 255, 136, 0.1) !important;
  transform: translateY(-1px);
}

/* Fallback for any bare span pill in headers */
.doom-section-header span[class*="rounded-full"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 28px !important;
  padding: 0 14px !important;
  flex: none !important;
  box-sizing: border-box !important;
}

/* ========================================================================== */
/* ===== DOOM ULTRA-PREMIUM BUTTON SYSTEM (100% RESPONSIVE) ===== */
/* ========================================================================== */

.doom-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #2bff88 0%, #19e6d6 100%) !important;
  color: #070908 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px -3px rgba(43, 255, 136, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.doom-btn-primary:hover {
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px -3px rgba(43, 255, 136, 0.65) !important;
  filter: brightness(1.08) !important;
}

.doom-btn-purple {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px -3px rgba(139, 92, 246, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.doom-btn-purple:hover {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px -3px rgba(139, 92, 246, 0.7) !important;
  filter: brightness(1.1) !important;
}

.doom-btn-cyan {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px -3px rgba(6, 182, 212, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.doom-btn-cyan:hover {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px -3px rgba(6, 182, 212, 0.65) !important;
}

.doom-btn-white {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #070908 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.doom-btn-white:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
}

.doom-btn-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.doom-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.doom-chip-btn {
  flex: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--doom-ink);
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 9999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.doom-chip-btn:hover {
  border-color: var(--doom-g1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(43, 255, 136, 0.3);
}

.doom-chip-btn.active {
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2));
  color: #04130b;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(43, 255, 136, 0.4);
}

/* ========================================================================== */
/* ===== SECTION HEADER (Title, Clapperboard/Icon, Subtitle) ===== */
/* ========================================================================== */

.doom-section-header {
  margin-bottom: 24px;
}

.doom-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.doom-section-icon {
  font-size: 28px;
  line-height: 1;
}

.doom-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

.doom-section-subtitle {
  color: var(--doom-mute);
  font-size: 15px;
  margin: 0;
}

/* ========================================================================== */
/* ===== MODERN BENTO GRID SYSTEM (IMAGE 2 DESKTOP & IMAGE 1 MOBILE) ===== */
/* ========================================================================== */

.doom-bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto auto;
  margin-bottom: 70px;
}

/* Lead Bento Card (Tall - Spans 2 Rows on Desktop) */
.doom-bento-lead {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  min-height: 480px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--doom-line);
  background: var(--doom-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Stacked Bento Cards (Right Top & Right Bottom) */
.doom-bento-stacked {
  position: relative;
  min-height: 230px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--doom-line);
  background: var(--doom-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Full-Width Wide Banner Bento Card */
.doom-bento-banner {
  grid-column: 1 / -1;
  position: relative;
  min-height: 220px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--doom-line);
  background: var(--doom-card);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Bento Hover State */
.doom-bento-lead:hover,
.doom-bento-stacked:hover,
.doom-bento-banner:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.25);
}

/* Card Background Backdrop Image */
.doom-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.doom-bento-lead:hover .doom-card-bg,
.doom-bento-stacked:hover .doom-card-bg,
.doom-bento-banner:hover .doom-card-bg {
  transform: scale(1.05);
}

/* Cinematic Dark Vignette Overlay */
.doom-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 8, 0.96) 0%, rgba(7, 9, 8, 0.65) 50%, rgba(7, 9, 8, 0.25) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.doom-bento-lead:hover .doom-card-overlay,
.doom-bento-stacked:hover .doom-card-overlay,
.doom-bento-banner:hover .doom-card-overlay {
  background: linear-gradient(to top, rgba(7, 9, 8, 0.98) 0%, rgba(7, 9, 8, 0.60) 50%, rgba(7, 9, 8, 0.15) 100%);
}

/* Card Content Layer */
.doom-card-content {
  position: relative;
  z-index: 3;
}

/* Platform Badge Pills (YouTube, Netflix, Prime, etc.) */
.doom-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 5px 12px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.doom-badge-youtube {
  background: rgba(255, 0, 0, 0.18);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #ff4d4d;
}

.doom-badge-streaming {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
}

.doom-badge-green {
  background: rgba(43, 255, 136, 0.15);
  border: 1px solid rgba(43, 255, 136, 0.35);
  color: var(--doom-g1);
}

.doom-badge-cyan {
  background: rgba(25, 230, 214, 0.15);
  border: 1px solid rgba(25, 230, 214, 0.35);
  color: var(--doom-g2);
}

/* Card Titles */
.doom-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.15;
}

.doom-card-title-lg { font-size: clamp(24px, 2.5vw, 32px); }
.doom-card-title-md { font-size: clamp(19px, 1.8vw, 24px); }
.doom-card-title-sm { font-size: 18px; }

.doom-card-desc {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 48ch;
}

/* Action Button Wrapper */
.doom-card-action {
  margin-top: 14px;
}

/* Mobile Circle Arrow Button (Image 1 Style) */
.doom-circle-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.25s ease;
}

.doom-circle-arrow-btn:hover {
  background: #ffffff;
  color: #04130b;
  transform: scale(1.08);
}

/* ========================================================================== */
/* ===== MOBILE ADAPTATION (VARIATION 1: LARGE VISUAL CARDS) ===== */
/* ========================================================================== */

@media (max-width: 900px) {
  .doom-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    margin-bottom: 50px;
  }

  .doom-bento-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
    padding: 24px;
  }

  .doom-bento-stacked {
    min-height: 240px;
    padding: 24px;
  }

  .doom-bento-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 240px;
    padding: 24px;
  }
}

/* ========================================================================== */
/* ===== SLIDE-OVER ARTICLE SHEET MODAL ===== */
/* ========================================================================== */

.doom-modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 24px 16px;
}

.doom-modal-ov.on {
  display: flex;
  align-items: center;
  justify-content: center;
}

.doom-modal-sheet {
  max-width: 720px;
  width: 100%;
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
  animation: doomUp 0.35s ease both;
  position: relative;
}

@keyframes doomUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.doom-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--doom-line);
  color: var(--doom-ink);
  border-radius: 9999px;
  padding: 6px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doom-modal-close:hover {
  background: var(--doom-red);
  color: #ffffff;
  border-color: transparent;
}

/* ========================================================================== */
/* ===== FLOATING NOTIFICATION BELL ===== */
/* ========================================================================== */

.doom-bellwrap {
  position: fixed;
  left: max(24px, env(safe-area-inset-left, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.doom-bell {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--doom-g1), var(--doom-g2));
  box-shadow: 0 0 24px rgba(43, 255, 136, 0.55);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.doom-bell:hover {
  transform: scale(1.08);
}

.doom-bell svg {
  transform-origin: 50% 8%;
  animation: doomBellRing 3.2s ease-in-out infinite;
}

@keyframes doomBellRing {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(18deg); }
  68% { transform: rotate(-16deg); }
  72% { transform: rotate(12deg); }
  76% { transform: rotate(-9deg); }
  80% { transform: rotate(5deg); }
  84% { transform: rotate(0); }
}

.doom-bell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--doom-g1);
  animation: doomBellPing 2.4s ease-out infinite;
}

@keyframes doomBellPing {
  to { transform: scale(1.7); opacity: 0; }
}

.doom-bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--doom-red);
  color: #fff;
  font: 700 11px/18px 'Outfit', sans-serif;
  text-align: center;
  animation: doomDotPulse 1.6s ease-in-out infinite;
}

@keyframes doomDotPulse {
  50% { transform: scale(1.2); }
}

.doom-bellpop {
  position: relative;
  max-width: min(240px, 75vw);
  background: var(--doom-card);
  border: 1px solid var(--doom-g1);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 30px 10px 14px;
  font: 500 13px/1.35 'Outfit', sans-serif;
  box-shadow: 0 10px 40px -8px rgba(43, 255, 136, 0.45);
  transform-origin: 0% 100%;
  opacity: 0;
  transform: scale(0.2);
  animation: doomPopIn 0.7s 1.6s cubic-bezier(0.2, 1.5, 0.3, 1) forwards;
}

@keyframes doomPopIn {
  to { opacity: 1; transform: scale(1); }
}

.doom-bellpop.off { display: none; }

.doom-bellpop-close {
  position: absolute;
  top: 6px;
  right: 9px;
  background: none;
  border: 0;
  color: var(--doom-mute);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.doom-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 20px);
  background: var(--doom-card);
  border: 1px solid var(--doom-g1);
  border-radius: 9999px;
  padding: 10px 22px;
  font: 500 14px 'Outfit', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1000;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.doom-toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========================================================================== */
/* ===== FOOTER BRAND & RESPONSIVENESS OVERRIDES ===== */
/* ========================================================================== */

.kittie-footer img,
.doom-footer-logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 200px !important;
  object-contain: contain !important;
  display: block !important;
}

.kittie-footer {
  background: linear-gradient(180deg, #070908 0%, #030806 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ========================================================================== */
/* ===== MOBILE & RESPONSIVE RULES (100% RESPONSIVE) ===== */
/* ========================================================================== */

@media (max-width: 768px) {
  /* Section Header on Mobile */
  .doom-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .doom-section-header > div:last-child {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
  }

  .doom-section-header > div:last-child::-webkit-scrollbar {
    display: none !important;
  }

  /* Subnav Pills on Mobile */
  .doom-subnav-pill,
  .doom-section-header span[class*="rounded-full"] {
    font-size: 11px !important;
    padding: 0 12px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    line-height: 26px !important;
  }

  /* Full-width responsive buttons inside cards & actions */
  .doom-card-action {
    width: 100% !important;
  }

  .doom-card-action .doom-btn-primary,
  .doom-card-action .doom-btn-purple,
  .doom-card-action .doom-btn-cyan,
  .doom-card-action .doom-btn-white,
  .doom-card-action a,
  .doom-card-action button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Hero buttons on mobile */
  .doom-btn-primary,
  .doom-btn-purple,
  .doom-btn-cyan {
    padding: 11px 18px !important;
    font-size: 13px !important;
  }

  /* Bento Grid Mobile - High impact visual cards */
  .doom-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .doom-bento-lead,
  .doom-bento-banner,
  .doom-bento-card {
    min-height: 280px !important;
    border-radius: 20px !important;
  }

  .doom-bento-lead {
    min-height: 340px !important;
  }

  .doom-card-title-lg {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .doom-card-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .doom-card-desc {
    font-size: 12px !important;
    -webkit-line-clamp: 2 !important;
  }

  /* Footer Mobile */
  .kittie-footer {
    padding: 40px 0 25px 0 !important;
    margin-top: 40px !important;
  }

  .kittie-footer form {
    flex-direction: column !important;
    width: 100% !important;
  }

  .kittie-footer form button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .doom-headline {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  .doom-meter {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .doom-scan {
    width: 240px !important;
  }
}

/* ========================================================================== */
/* ===== APPKITTIE SIGNATURE ANIMATIONS & LIGHT MODE SUITE ===== */
/* ========================================================================== */

/* 1. AppKittie Interactive Cursor Spotlight Glow on Cards */
.doom-bento-lead,
.doom-bento-card,
.doom-bento-stacked,
.doom-bento-banner,
.doom-meter {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.doom-bento-lead:hover,
.doom-bento-card:hover,
.doom-bento-stacked:hover,
.doom-bento-banner:hover {
  transform: translateY(-4px) scale(1.006) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4), 0 0 30px -5px rgba(43, 255, 136, 0.15) !important;
}

/* Mouse-tracking border spotlight */
.doom-bento-lead::after,
.doom-bento-card::after,
.doom-bento-stacked::after,
.doom-bento-banner::after,
.doom-meter::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(43, 255, 136, 0.55), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 5;
}

.doom-bento-lead:hover::after,
.doom-bento-card:hover::after,
.doom-bento-stacked:hover::after,
.doom-bento-banner:hover::after,
.doom-meter:hover::after {
  opacity: 1;
}

/* 2. Scroll Reveal Animations (fade-in-up & heroRise) */
.doom-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.doom-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Safety Guarantee: Top stories tab section must ALWAYS be visible */
#stories,
.doom-stories-section {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* 3. Glossy Sheen Sweep on Buttons */
.doom-btn-primary,
.doom-btn-purple,
.doom-btn-cyan,
.kittie-btn-primary {
  position: relative !important;
  overflow: hidden !important;
}

.doom-btn-primary::after,
.doom-btn-purple::after,
.doom-btn-cyan::after,
.kittie-btn-primary::after {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -120% !important;
  width: 60% !important;
  height: 200% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
  transform: rotate(25deg) !important;
  transition: none !important;
  pointer-events: none !important;
}

.doom-btn-primary:hover::after,
.doom-btn-purple:hover::after,
.doom-btn-cyan:hover::after,
.kittie-btn-primary:hover::after {
  left: 160% !important;
  transition: all 0.75s ease !important;
}

/* 4. Light Mode Theme Overrides (Clean, Razor-sharp, Professional) */
html:not(.dark) .doom-glow {
  opacity: 0.35;
  background: radial-gradient(40% 50% at 30% 30%, rgba(5, 150, 105, 0.12), transparent 70%),
              radial-gradient(35% 45% at 75% 20%, rgba(13, 148, 136, 0.10), transparent 70%);
}

html:not(.dark) .kittie-navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1) !important;
}

html:not(.dark) .kittie-nav-link {
  color: #334155 !important;
}

html:not(.dark) .kittie-nav-link:hover,
html:not(.dark) .kittie-nav-link.active {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
}

html:not(.dark) .kittie-navbar button,
html:not(.dark) .kittie-navbar a.rounded-full:not(.kittie-btn-primary) {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}

html:not(.dark) .kittie-navbar button:hover,
html:not(.dark) .kittie-navbar a.rounded-full:not(.kittie-btn-primary):hover {
  background: rgba(0, 0, 0, 0.09) !important;
  color: #0f172a !important;
}

html:not(.dark) #dark-mode-icon-nav-desktop,
html:not(.dark) #dark-mode-icon-mobile,
html:not(.dark) #dark-mode-icon-mobile-drawer {
  color: #334155 !important;
}

html:not(.dark) .doom-brand .text-white {
  color: #0f172a !important;
}

html:not(.dark) .doom-headline {
  color: #0f172a !important;
}

html:not(.dark) .doom-section-title {
  color: #0f172a !important;
}

html:not(.dark) .doom-card-title {
  color: #ffffff !important; /* image overlay text stays crisp white with gradient backdrop */
}

html:not(.dark) .doom-meter {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .doom-meter h2,
html:not(.dark) .doom-meter .text-white {
  color: #0f172a !important;
}

html:not(.dark) .doom-chips-bar {
  background: transparent !important;
}

html:not(.dark) .doom-chip-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

html:not(.dark) .doom-chip-btn:hover {
  background: #f1f5f9 !important;
  color: #059669 !important;
}

html:not(.dark) .doom-chip-btn.active {
  background: linear-gradient(135deg, #059669, #0d9488) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html:not(.dark) .doom-subnav-pill {
  color: #475569 !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .doom-subnav-pill:hover {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.1) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
}

html:not(.dark) .kittie-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .kittie-footer .text-white {
  color: #0f172a !important;
}

html:not(.dark) .kittie-footer .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .kittie-footer form {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .kittie-footer form input {
  color: #0f172a !important;
}

/* ========================================================================== */
/* ===== DIGITAL DOOM V3 TABBED STORIES GRID ENGINE ===== */
/* ========================================================================== */

.doom-stories-section {
  margin-top: 10px;
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.doom-stories-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.doom-stories-chips::-webkit-scrollbar {
  display: none;
}

.doom-story-chip {
  flex: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--doom-ink);
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 9999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.doom-story-chip:hover {
  border-color: var(--doom-g1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(43, 255, 136, 0.3);
}

.doom-story-chip[aria-pressed="true"],
.doom-story-chip.active {
  background: linear-gradient(90deg, var(--doom-g1), var(--doom-g2)) !important;
  color: #04130b !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 0 24px rgba(43, 255, 136, 0.5) !important;
}

.doom-stories-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  padding-bottom: 20px;
  transition: opacity 0.25s ease;
}

.doom-story-card {
  position: relative;
  text-align: left;
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 24px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.doom-story-card:hover {
  transform: translateY(-4px);
  border-color: var(--doom-g1);
  box-shadow: 0 16px 40px -12px rgba(43, 255, 136, 0.35);
}

/* AppKittie Interactive Spotlight Glow on Story Cards */
.doom-story-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(43, 255, 136, 0.55), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.doom-story-card:hover::after {
  opacity: 1;
}

/* Lead Card (First child or marked with .is-lead) */
.doom-story-card.is-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  padding: 24px;
}

@media (min-width: 900px) {
  .doom-story-card.is-lead {
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: center;
  }
}

.doom-story-card .thumb {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.doom-story-card.is-lead .thumb {
  margin-bottom: 0;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
}

@media (max-width: 899px) {
  .doom-story-card.is-lead .thumb {
    aspect-ratio: 21/9;
    min-height: 200px;
    margin-bottom: 16px;
  }
}

.doom-story-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.doom-story-card:hover .thumb img {
  transform: scale(1.05);
}

.doom-story-card .tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--doom-g1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.doom-story-card .meta {
  font-family: 'Outfit', sans-serif;
  color: var(--doom-mute);
  font-size: 13px;
  margin-left: 8px;
}

.doom-story-card h2,
.doom-story-card h3 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
  color: var(--doom-title);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.doom-story-card h3 {
  font-size: 19px;
}

.doom-story-card.is-lead h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}

.doom-story-card:hover h2,
.doom-story-card:hover h3 {
  color: var(--doom-g1);
}

.doom-story-card p {
  margin: 0 0 16px;
  color: var(--doom-mute);
  font-size: 15px;
  line-height: 1.55;
  font-family: 'Outfit', sans-serif;
}

.doom-story-card .action-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.doom-story-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--doom-g1);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.doom-story-card:hover .doom-story-read-link {
  gap: 10px;
}

/* Light mode overrides for Story Cards */
html:not(.dark) .doom-story-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

html:not(.dark) .doom-story-card:hover {
  border-color: var(--doom-g1);
  box-shadow: 0 12px 36px -8px rgba(5, 150, 105, 0.2);
}

html:not(.dark) .doom-story-chip {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

html:not(.dark) .doom-story-chip:hover {
  border-color: var(--doom-g1);
  color: #059669;
}

html:not(.dark) .doom-story-chip[aria-pressed="true"],
html:not(.dark) .doom-story-chip.active {
  background: linear-gradient(90deg, #059669, #0d9488) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.35) !important;
}

/* ========================================================================== */
/* ===== DIGITAL DOOM V3 - ARCHIVE & SINGLE PAGE STYLES ===== */
/* ========================================================================== */

/* Homepage The Wire Archive CTA */
.doom-wire-archive-cta {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0%, rgba(43, 255, 136, 0.12), transparent 45%),
              linear-gradient(135deg, rgba(15, 23, 20, 0.95), rgba(7, 12, 10, 0.98));
  border: 1px solid var(--doom-line);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.doom-wire-archive-cta:hover {
  border-color: var(--doom-g1);
  box-shadow: 0 10px 30px -10px rgba(43, 255, 136, 0.25);
}

html:not(.dark) .doom-wire-archive-cta {
  background: radial-gradient(circle at 100% 0%, rgba(5, 150, 105, 0.12), transparent 45%),
              linear-gradient(135deg, #ffffff, #f8fafc);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06);
}

html:not(.dark) .doom-wire-archive-cta:hover {
  border-color: var(--doom-g1);
  box-shadow: 0 12px 36px -8px rgba(5, 150, 105, 0.2);
}

/* Single News Responsive Container Engine */
.doom-single-container {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .doom-single-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  .doom-single-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Single News 2-Column Responsive Layout Engine */
.doom-single-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  width: 100% !important;
  align-items: stretch !important;
}

.doom-single-main {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 0% !important;
}

.doom-single-sidebar {
  display: none !important;
  width: 100% !important;
}

.doom-single-mobile-sidebar {
  display: block !important;
  width: 100% !important;
}

@media (min-width: 1024px) {
  .doom-single-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 2rem !important;
    align-items: start !important;
  }

  .doom-single-sidebar {
    display: block !important;
    width: 340px !important;
    max-width: 340px !important;
    position: sticky !important;
    top: 90px !important;
    align-self: start !important;
    z-index: 20 !important;
  }

  .doom-single-mobile-sidebar {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .doom-single-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 2.25rem !important;
  }

  .doom-single-sidebar {
    width: 360px !important;
    max-width: 360px !important;
  }
}

/* Single News Article Styling */
.doom-single-article {
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 24px;
  transition: border-color 0.3s ease;
  overflow: hidden;
}

@media (max-width: 640px) {
  .doom-single-article {
    padding: 1.25rem !important;
    border-radius: 18px !important;
  }
  .doom-single-headline {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
}

.doom-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--primary-soft, rgba(43, 255, 136, 0.12));
  border: 1px solid color-mix(in srgb, var(--primary-color) 40%, transparent);
  color: var(--primary-color);
  font-family: 'Outfit', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
}

.doom-kicker-badge span {
  white-space: normal;
  line-height: 1.4;
}

html:not(.dark) .doom-kicker-badge {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}

.doom-single-headline {
  font-family: 'Outfit', sans-serif !important;
  color: var(--doom-title);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.doom-meta-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--doom-line);
}

@media (max-width: 640px) {
  .doom-meta-toolbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .doom-meta-toolbar > div:last-child {
    width: 100% !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
  }
}

html:not(.dark) .doom-meta-toolbar {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.doom-author-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doom-author-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid var(--primary-color);
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(43, 255, 136, 0.25);
}

.doom-share-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.doom-share-pill:hover {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(43, 255, 136, 0.3);
}

html:not(.dark) .doom-share-pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #334155;
}

html:not(.dark) .doom-share-pill:hover {
  background: var(--doom-g1);
  color: #ffffff;
}

/* Single Content Typography */
.doom-article-body,
.the_content_single {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.125rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.doom-article-body p,
.the_content_single p {
  margin-bottom: 1.75rem;
  color: var(--doom-ink, #f4f7f5);
  font-size: 1.125rem;
  line-height: 1.85;
}

.doom-article-body h2,
.doom-article-body h3,
.the_content_single h2,
.the_content_single h3 {
  font-family: 'Outfit', sans-serif !important;
  color: var(--doom-title, #ffffff);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.doom-article-body h2,
.the_content_single h2 {
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doom-article-body h2::before,
.the_content_single h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--doom-g1), var(--doom-g2));
}

.doom-article-body ul,
.doom-article-body ol,
.the_content_single ul,
.the_content_single ol {
  color: var(--doom-ink, #f4f7f5);
  margin: 1.5rem 0;
  padding-left: 1.75rem;
}

.doom-article-body ul,
.the_content_single ul {
  list-style-type: disc;
}

.doom-article-body ol,
.the_content_single ol {
  list-style-type: decimal;
}

.doom-article-body li,
.the_content_single li {
  color: var(--doom-ink, #f4f7f5);
  margin-bottom: 0.65rem;
  line-height: 1.75;
}

.doom-article-body strong,
.the_content_single strong,
.doom-article-body b,
.the_content_single b {
  color: #ffffff;
  font-weight: 700;
}

.doom-article-body blockquote,
.the_content_single blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.03);
  font-style: italic;
  font-size: 1.15rem;
  color: #e2e8f0;
}

.doom-article-body pre,
.the_content_single pre {
  background: #050a08 !important;
  border: 1px solid var(--doom-line) !important;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  margin: 1.75rem 0;
}

.doom-article-body code,
.the_content_single code {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-color);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
}

.doom-article-body a,
.the_content_single a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.doom-article-body a:hover,
.the_content_single a:hover {
  color: var(--doom-g2);
}

.doom-article-body img,
.the_content_single img,
.doom-article-body iframe,
.the_content_single iframe,
.doom-article-body video,
.the_content_single video {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 16px;
  margin: 1.5rem 0;
}

.doom-article-body table,
.the_content_single table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .doom-article-body {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    text-align: left !important;
  }
  .the_content_single,
  .the_content_single p,
  .single_news_lead {
    text-align: left !important;
  }
  .doom-article-body h2 {
    font-size: 1.35rem !important;
    margin-top: 1.75rem !important;
  }
  .doom-article-body h3 {
    font-size: 1.2rem !important;
  }
  .doom-article-body blockquote {
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
    margin: 1.5rem 0 !important;
  }
}

/* Archive Grid Cards */
.doom-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

@media (min-width: 1024px) {
  .doom-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doom-archive-card {
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
}

.doom-archive-card:hover {
  transform: translateY(-4px);
  border-color: var(--doom-line-hover);
  box-shadow: 0 16px 40px -10px rgba(43, 255, 136, 0.25);
}

html:not(.dark) .doom-archive-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

html:not(.dark) .doom-archive-card:hover {
  border-color: var(--doom-g1);
  box-shadow: 0 16px 40px -10px rgba(5, 150, 105, 0.2);
}

.doom-archive-card .thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

.doom-archive-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.doom-archive-card:hover .thumb-wrap img {
  transform: scale(1.06);
}

.doom-archive-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doom-archive-card .card-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--doom-title);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.doom-archive-card:hover .card-title {
  color: var(--doom-g1);
}

.doom-archive-card .card-excerpt {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--doom-desc);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doom-archive-card .card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--doom-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: 'Outfit', monospace;
  color: var(--doom-mute);
}

/* Category Featured Lead Card */
.doom-lead-feature {
  background: var(--doom-card);
  border: 1px solid var(--doom-line);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.doom-lead-feature:hover {
  border-color: var(--doom-line-hover);
  box-shadow: 0 16px 40px -10px rgba(43, 255, 136, 0.25);
}

html:not(.dark) .doom-lead-feature {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.doom-lead-feature-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 24px !important;
  width: 100% !important;
}

.doom-lead-text-col {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

.doom-lead-img-col {
  width: 340px !important;
  max-width: 45% !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .doom-lead-feature-wrap {
    flex-direction: column !important;
  }
  .doom-lead-img-col {
    width: 100% !important;
    max-width: 100% !important;
  }
}

#cat-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 16px !important;
}

/* ========================================================================== */
/* ===== HEADER "MORE" DROPDOWN & SUBMENU HOVER CONTRAST ENGINE ===== */
/* ========================================================================== */

.header-dropdown-menu {
  background: rgba(7, 9, 8, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.8), 0 0 24px rgba(43, 255, 136, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

html:not(.dark) .header-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.12) !important;
}

.header-dropdown-item {
  color: #e2e8f0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.header-dropdown-item span {
  color: #e2e8f0 !important;
  transition: color 0.2s ease !important;
}

/* Hover in Dark Mode: Bright Green Background + DEEP BLACK TEXT (#03140f) for 100% Contrast */
.header-dropdown-item:hover,
html.dark .header-dropdown-item:hover {
  background: var(--primary-color, #2bff88) !important;
  color: #03140f !important;
}

.header-dropdown-item:hover span,
html.dark .header-dropdown-item:hover span {
  color: #03140f !important;
  font-weight: 700 !important;
}

/* Hover in Light Mode: Emerald Background + CRISP WHITE TEXT for 100% Contrast */
html:not(.dark) .header-dropdown-item {
  color: #0f172a !important;
}

html:not(.dark) .header-dropdown-item span {
  color: #0f172a !important;
}

html:not(.dark) .header-dropdown-item:hover {
  background: var(--primary-color, #059669) !important;
  color: #ffffff !important;
}

html:not(.dark) .header-dropdown-item:hover span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Universal Submenu Item Hover Fallback */
.group:hover .kittie-card a:hover,
.group:hover .kittie-card a:hover span {
  color: #03140f !important;
}

html:not(.dark) .group:hover .kittie-card a:hover,
html:not(.dark) .group:hover .kittie-card a:hover span {
  color: #ffffff !important;
}

/* ========================================================================== */
/* ===== MASTER LIGHT MODE ENGINE & COMPREHENSIVE COLOR CONTRAST SYSTEM ===== */
/* ========================================================================== */

html:not(.dark) body,
html[data-theme="light"] body {
  background-color: var(--doom-bg, #f4f7f6) !important;
  color: var(--doom-ink, #0c1411) !important;
}

/* 1. Standalone Page Headings & Section Titles in Light Mode (ONLY elements on light page backgrounds) */
html:not(.dark) .doom-headline,
html:not(.dark) .doom-section-title,
html:not(.dark) .doom-section-title a,
html:not(.dark) .doom-single-headline,
html:not(.dark) .doom-author-badge .text-white,
html:not(.dark) .doom-wire-archive-cta h3,
html:not(.dark) .kittie-footer .text-white {
  color: #0f172a !important;
}

html:not(.dark) .doom-section-title a:hover {
  color: var(--primary-color, #059669) !important;
}

/* ========================================================================== */
/* Bento Grid Cards & Cinematic Dark Overlay Cards:                           */
/* Because these cards have dark image backdrops and dark gradient overlays,  */
/* all titles and descriptions MUST REMAIN CRISP WHITE in both Light & Dark! */
/* ========================================================================== */
.doom-bento-grid .doom-card-title,
.doom-bento-grid .doom-card-title a,
.doom-bento-grid h3,
.doom-bento-grid h3 a,
.doom-card-content .doom-card-title,
.doom-card-content .doom-card-title a,
.doom-card-content h3,
.doom-card-content h3 a,
html:not(.dark) .doom-bento-grid .doom-card-title,
html:not(.dark) .doom-bento-grid .doom-card-title a,
html:not(.dark) .doom-bento-grid h3,
html:not(.dark) .doom-bento-grid h3 a,
html:not(.dark) .doom-card-content .doom-card-title,
html:not(.dark) .doom-card-content .doom-card-title a,
html:not(.dark) .doom-card-content h3,
html:not(.dark) .doom-card-content h3 a {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Bento Card Hover Transitions */
.doom-bento-grid .doom-bento-lead:hover .doom-card-title,
.doom-bento-grid .doom-bento-lead:hover .doom-card-title a,
.doom-bento-grid .doom-bento-banner:hover .doom-card-title,
.doom-bento-grid .doom-bento-banner:hover .doom-card-title a,
html:not(.dark) .doom-bento-grid .doom-bento-lead:hover .doom-card-title,
html:not(.dark) .doom-bento-grid .doom-bento-lead:hover .doom-card-title a,
html:not(.dark) .doom-bento-grid .doom-bento-banner:hover .doom-card-title,
html:not(.dark) .doom-bento-grid .doom-bento-banner:hover .doom-card-title a {
  color: #6ee7b7 !important;
}

.doom-bento-grid .doom-bento-stacked:hover .doom-card-title,
.doom-bento-grid .doom-bento-stacked:hover .doom-card-title a,
html:not(.dark) .doom-bento-grid .doom-bento-stacked:hover .doom-card-title,
html:not(.dark) .doom-bento-grid .doom-bento-stacked:hover .doom-card-title a {
  color: #c4b5fd !important;
}

/* Bento Card Descriptions on Dark Overlays */
.doom-bento-grid .doom-card-desc,
.doom-card-content .doom-card-desc,
html:not(.dark) .doom-bento-grid .doom-card-desc,
html:not(.dark) .doom-card-content .doom-card-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* 2. Hero Section, Subtitles & Ticker in Light Mode */
html:not(.dark) .lg\:col-span-7 p.text-slate-400,
html:not(.dark) .doom-hero-subtitle,
html:not(.dark) .doom-section-subtitle,
html:not(.dark) p.text-slate-400 {
  color: #334155 !important;
}

html:not(.dark) #stories a.text-white,
html:not(.dark) #stories .text-white {
  color: #0f172a !important;
}

html:not(.dark) #stories .bg-white\/5 {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .doom-ticker {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
}

html:not(.dark) .doom-ticker-inner {
  color: #1e293b !important;
  font-weight: 600 !important;
}

/* 3. Live Radar Scanner Widget in Light Mode */
html:not(.dark) .doom-meter {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .doom-meter .text-slate-300,
html:not(.dark) .doom-meter .text-slate-400 {
  color: #334155 !important;
}

html:not(.dark) .doom-meter .border-white\/5 {
  border-color: rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .doom-dw .lb {
  color: #0f172a !important;
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 700 !important;
}

html:not(.dark) .doom-cmark i,
html:not(.dark) .doom-mark i {
  background: #f4f7f6 !important;
}

/* 4. Story Cards, Filter Chips & Bento Feeds */
html:not(.dark) .doom-story-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .doom-story-card:hover {
  border-color: var(--doom-g1) !important;
  box-shadow: 0 12px 34px -8px rgba(5, 150, 105, 0.18) !important;
}

html:not(.dark) .doom-story-card h2,
html:not(.dark) .doom-story-card h3 {
  color: #0f172a !important;
}

html:not(.dark) .doom-story-card p {
  color: #475569 !important;
}

html:not(.dark) .doom-story-card .meta {
  color: #64748b !important;
}

html:not(.dark) .doom-story-card a.bg-white\/5 {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}

html:not(.dark) .doom-story-chip {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

html:not(.dark) .doom-story-chip:hover {
  border-color: var(--doom-g1) !important;
  color: #059669 !important;
}

html:not(.dark) .doom-story-chip[aria-pressed="true"],
html:not(.dark) .doom-story-chip.active {
  background: linear-gradient(90deg, #059669, #0d9488) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(5, 150, 105, 0.3) !important;
}

/* 5. Archival Intelligence CTA & Channel Jump Bar */
html:not(.dark) .doom-wire-archive-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
  border-color: rgba(0, 188, 124, 0.25) !important;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .doom-wire-archive-cta h3 {
  color: #0f172a !important;
}

html:not(.dark) .doom-wire-archive-cta p {
  color: #475569 !important;
}

html:not(.dark) .border-b.border-white\/10 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* 6. Single Article, Reading Experience & Toolbar */
html:not(.dark) .doom-single-article {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .doom-single-headline {
  color: #090d0b !important;
}

html:not(.dark) .doom-meta-toolbar {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .doom-author-badge a {
  color: #0f172a !important;
}

html:not(.dark) .doom-meta-toolbar .bg-white\/\[0\.04\] {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

html:not(.dark) .doom-share-pill {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .doom-share-pill:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: var(--primary-color) !important;
}

html:not(.dark) .the_content_single p {
  color: #1e293b !important;
}

html:not(.dark) .the_content_single h2,
html:not(.dark) .the_content_single h3,
html:not(.dark) .the_content_single h4 {
  color: #0f172a !important;
}

html:not(.dark) .the_content_single blockquote {
  background: #f8fafc !important;
  color: #334155 !important;
  border-left: 4px solid var(--primary-color) !important;
}

html:not(.dark) .single_news_lead {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  border-left-color: var(--primary-color) !important;
  color: #334155 !important;
}

html:not(.dark) .news_tags_section {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .news_tags_section a {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}

/* 7. Glassmorphism Card System (.kittie-card) in Light Mode */
html:not(.dark) .kittie-card,
html[data-theme="light"] .kittie-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .kittie-card h2,
html:not(.dark) .kittie-card h3,
html:not(.dark) .kittie-card h4,
html:not(.dark) .kittie-card a {
  color: #0f172a !important;
}

html:not(.dark) .kittie-card p {
  color: #475569 !important;
}

/* 8. Sidebar Widgets & Category More News */
html:not(.dark) .details-category-more-sidebar,
html:not(.dark) .tab-content-wrapper {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .details-category-more-sidebar h2,
html:not(.dark) .details-category-more-sidebar h3,
html:not(.dark) .tab-content-wrapper h3,
html:not(.dark) .tab-content-wrapper h4 {
  color: #0f172a !important;
}

html:not(.dark) .details-category-more-sidebar .border-white\/\[0\.08\],
html:not(.dark) .details-category-more-sidebar .border-white\/\[0\.06\],
html:not(.dark) .tab-content-wrapper .border-white\/\[0\.08\] {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .details-category-more-sidebar a.bg-white\/\[0\.02\],
html:not(.dark) .tab-content-wrapper a.group {
  background: transparent !important;
}

html:not(.dark) .details-category-more-sidebar a.bg-white\/\[0\.02\]:hover,
html:not(.dark) .tab-content-wrapper a.group:hover {
  background: #f8fafc !important;
}

html:not(.dark) .tab-content-wrapper .bg-white\/\[0\.03\] {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .tab-content-wrapper .side-tab-btn:not(.active) {
  color: #475569 !important;
}

html:not(.dark) .tab-content-wrapper .side-tab-btn.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

html:not(.dark) .tab-content-wrapper span.bg-white\/\[0\.04\] {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #0f172a !important;
}

html:not(.dark) .details-category-more-sidebar a.bg-white\/\[0\.04\] {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
}

/* 9. Sidebar Sponsor / Ad Cards Overrides in Light Mode */
html:not(.dark) .ad-spot div[style*="linear-gradient"],
html:not(.dark) .sidebar_ad_before_more div[style*="linear-gradient"],
html:not(.dark) .sidebar_ad_after_more div[style*="linear-gradient"],
html:not(.dark) .sidebar_ad_mobile div[style*="linear-gradient"] {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .ad-spot div[style*="linear-gradient"] h3,
html:not(.dark) .ad-spot div[style*="linear-gradient"] h4,
html:not(.dark) .sidebar_ad_before_more div[style*="linear-gradient"] h3,
html:not(.dark) .sidebar_ad_before_more div[style*="linear-gradient"] h4,
html:not(.dark) .sidebar_ad_after_more div[style*="linear-gradient"] h3,
html:not(.dark) .sidebar_ad_after_more div[style*="linear-gradient"] h4 {
  color: #0f172a !important;
}

html:not(.dark) .ad-spot div[style*="linear-gradient"] p,
html:not(.dark) .sidebar_ad_before_more div[style*="linear-gradient"] p,
html:not(.dark) .sidebar_ad_after_more div[style*="linear-gradient"] p {
  color: #475569 !important;
}

/* 10. Comments & Reader Discussion Section */
html:not(.dark) #news-comments-section {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) #news-comments-section h3 {
  color: #0f172a !important;
}

html:not(.dark) #news-comments-section .border-white\/\[0\.08\] {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) #news-comments-section textarea,
html:not(.dark) #news-comments-section input {
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}

html:not(.dark) #news-comments-section textarea::placeholder,
html:not(.dark) #news-comments-section input::placeholder {
  color: #94a3b8 !important;
}

html:not(.dark) #news-comments-section .text-gray-200 {
  color: #0f172a !important;
}

html:not(.dark) #news-comments-section .text-gray-300,
html:not(.dark) #news-comments-section .text-gray-400 {
  color: #475569 !important;
}

html:not(.dark) #news-comments-section .bg-white\/\[0\.02\] {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* 11. Category & Latest News Header Banners */
html:not(.dark) .kittie-card[class*="from-\[\#03140f\]"],
html:not(.dark) .kittie-card[class*="bg-gradient-to-r"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
  border-color: rgba(0, 188, 124, 0.25) !important;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .kittie-card[class*="from-\[\#03140f\]"] h1,
html:not(.dark) .kittie-card[class*="bg-gradient-to-r"] h1 {
  color: #0f172a !important;
}

html:not(.dark) .kittie-card[class*="from-\[\#03140f\]"] nav a,
html:not(.dark) .kittie-card[class*="bg-gradient-to-r"] nav a {
  color: #475569 !important;
}

html:not(.dark) .kittie-card[class*="from-\[\#03140f\]"] .text-white\/20,
html:not(.dark) .kittie-card[class*="bg-gradient-to-r"] .text-white\/20 {
  color: #cbd5e1 !important;
}

html:not(.dark) a.bg-white\/\[0\.04\] {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}

/* 12. Next-Gen Obsidian Footer in Light Mode */
html:not(.dark) .kittie-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .kittie-footer .text-white {
  color: #0f172a !important;
}

html:not(.dark) .kittie-footer p.text-slate-400 {
  color: #475569 !important;
}

html:not(.dark) .kittie-footer a.text-slate-400 {
  color: #334155 !important;
}

html:not(.dark) .kittie-footer a.text-slate-400:hover {
  color: #059669 !important;
}

html:not(.dark) .kittie-footer .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .kittie-footer #footer-newsletter-form .bg-\[\#061512\]\/90 {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .kittie-footer #footer-newsletter-email {
  color: #0f172a !important;
}

html:not(.dark) .kittie-footer #footer-newsletter-email::placeholder {
  color: #94a3b8 !important;
}

html:not(.dark) .kittie-footer .bg-white\/5 {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .kittie-footer .bg-white\/5:hover {
  color: #059669 !important;
  border-color: #059669 !important;
}



