/*
Theme Name: DhimanHub
Version: 6.5 - Professional Optimized Sync
*/

/* =========================================================
   RESET + ROOT
========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #151515;
  --bg4: #1a1a1a;

  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted2: #94a3b8;

  --border: rgba(255,255,255,0.09);
  --border2: rgba(255,255,255,0.15);
  --border3: rgba(0,217,255,0.35);

  --accent: #00d9ff;
  --accent2: rgba(0,217,255,0.16);
  --accent3: rgba(0,217,255,0.08);

  --white: #ffffff;
  --dark: #020617;

  --site-max: 1240px;

  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
  --tech: 'Orbitron', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

body.light {
  --bg: #f6f8fc;
  --bg2: #ffffff;
  --bg3: #eef3fb;
  --bg4: #e5edf7;

  --text: #0f172a;
  --muted: #475569;
  --muted2: #64748b;

  --border: rgba(15,23,42,0.10);
  --border2: rgba(15,23,42,0.16);
  --border3: rgba(0,119,255,0.32);

  --accent: #0077ff;
  --accent2: rgba(0,119,255,0.15);
  --accent3: rgba(0,119,255,0.07);

  --white: #0f172a;
  --dark: #ffffff;

  background: var(--bg);
  color: var(--text);
}

body.light::before {
  opacity: 0.18;
}

body.light::after {
  background-image:
    linear-gradient(rgba(0,119,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,119,255,0.045) 1px, transparent 1px);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  position: relative;
  z-index: 3;
}

/* =========================================================
   REVEAL
========================================================= */

.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   TICKER
========================================================= */

.ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: #0b1220;
  border-bottom: 1px solid rgba(0,217,255,0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  z-index: 9991;
  transition: transform 0.3s ease;
}

.ticker-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #020617;
  background: var(--accent);
  padding: 0 0.9rem 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 4px 0 20px rgba(0,217,255,0.35);
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 0;
  bottom: 0;
  width: 18px;
  background: var(--accent);
  clip-path: polygon(0 0,100% 50%,0 100%);
}

.ticker-marquee {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  min-width: max-content;
  white-space: nowrap;
  padding-left: 1.25rem;
  animation: ticker 50s linear infinite;
}

.ticker-track span {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 650;
  color: #dbeafe;
  padding: 0 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.05em;
}

.ticker-track span::before {
  content: '//';
  color: var(--accent);
  font-weight: 900;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.light .ticker-wrap {
  background: #eaf6ff;
  border-bottom-color: rgba(0,119,255,0.22);
}

body.light .ticker-track span {
  color: #334155;
}

/* =========================================================
   NAVBAR
========================================================= */

.dh-nav {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 9990;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(2, 6, 16, 0.97);
  border-bottom: 1px solid rgba(0,217,255,0.25);
  transition: top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dh-nav.scrolled {
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  border-color: rgba(0,217,255,0.38);
}

.nav-logo {
  color: #ffffff;
  font-family: var(--tech);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--accent);
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0,217,255,0.65);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(0,217,255,0.65);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 6px rgba(0,217,255,0.35);
  }
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #f8fafc;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
  opacity: 1;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle,
.mobile-toggle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0,217,255,0.65);
  background: rgba(0,217,255,0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(0,217,255,0.18);
}

.theme-toggle:hover,
.mobile-toggle:hover {
  background: var(--accent);
  color: #041018;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,217,255,0.35);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #03111a;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #ffffff;
  color: #03111a;
  border-color: #ffffff;
}

.mobile-toggle {
  display: none;
}

body.light .dh-nav {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(15,23,42,0.10);
}

body.light .dh-nav.scrolled {
  box-shadow: 0 8px 28px rgba(15,23,42,0.10);
}

body.light .nav-logo,
body.light .nav-links a {
  color: #0f172a;
}

body.light .theme-toggle,
body.light .mobile-toggle {
  color: var(--accent);
  border-color: rgba(0,119,255,0.35);
  background: rgba(0,119,255,0.08);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  display: grid;
  grid-template-columns: 58% 42%;
  height: 68vh;
  max-height: 540px;
  min-height: 430px;
  margin-top: 94px;
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0,217,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  top: 8%;
  left: 5%;
}

.slider-wrap {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
  z-index: 1;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.9s cubic-bezier(.77,0,.18,1);
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 3rem 4rem;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background: var(--bg2);
  overflow: hidden;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(35%) contrast(1.1);
}

.slide-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,rgba(8,8,8,0) 0%,rgba(8,8,8,0.35) 40%,rgba(8,8,8,0.86) 72%,rgba(8,8,8,0.98) 100%);
}

.slide-corner {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-top: 1px solid var(--border3);
  border-right: 1px solid var(--border3);
  opacity: 0.5;
}

.slide-content {
  position: relative;
  z-index: 2;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border3);
  background: var(--accent3);
  padding: 0.34rem 0.78rem;
  margin-bottom: 1.1rem;
}

.slide-tag::before {
  content: '▶';
  font-size: 0.42rem;
}

.slide-num {
  position: absolute;
  top: 2.5rem;
  left: 3rem;
  font-family: var(--tech);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.045);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

.slide-h {
  font-family: var(--tech);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #dbeafe;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.slide-meta-dot {
  width: 4px;
  height: 4px;
  background: var(--muted2);
  border-radius: 50%;
}

.slide-excerpt {
  font-size: 0.88rem;
  color: #d3deec;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.45rem;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(0,217,255,0.5);
  padding-bottom: 0.2rem;
  width: fit-content;
}

.slide-cta:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.s-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.s-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border2);
  background: rgba(8,8,8,0.65);
  backdrop-filter: blur(12px);
  color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
}

.s-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent3);
}

.s-dots {
  position: absolute;
  bottom: 2.4rem;
  left: 3rem;
  z-index: 10;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.s-dot {
  width: 18px;
  height: 3px;
  background: var(--muted2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s,width 0.35s;
}

.s-dot.on {
  background: var(--accent);
  width: 38px;
}

.s-prog {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 10;
  box-shadow: 0 0 8px var(--accent);
}

/* =========================================================
   RIGHT PANEL
========================================================= */

.panel {
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0,217,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.panel-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,217,255,0.01) 3px,rgba(0,217,255,0.01) 4px);
  pointer-events: none;
}

.panel-top {
  padding: 2.3rem 2.2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.p-sys {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.35rem;
}

.p-sys-bar {
  display: flex;
  gap: 3px;
}

.p-sys-bar span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  opacity: 0.45;
}

.p-sys-bar span:first-child {
  opacity: 1;
}

.p-title {
  font-family: var(--tech);
  font-size: clamp(1.85rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.p-title .accent {
  color: var(--accent);
}

.p-title .dim {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.55em;
  display: block;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
  font-family: var(--mono);
}

.p-bio {
  font-size: 0.86rem;
  color: #d3deec;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  border-left: 2px solid var(--border3);
  padding-left: 1rem;
}

.p-bio strong {
  color: var(--accent);
  font-weight: 800;
}

.p-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1.4rem;
}

.ps {
  background: var(--bg2);
  padding: 0.85rem 1rem;
  position: relative;
  overflow: hidden;
}

.ps-n {
  font-family: var(--tech);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.ps-n .unit {
  font-size: 0.7em;
  color: var(--accent);
}

.ps-l {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dbeafe;
  margin-top: 0.3rem;
}

.p-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: #03111a;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.72rem 1.35rem;
  align-self: flex-start;
}

.p-cta:hover {
  background: #ffffff;
  box-shadow: 0 0 24px rgba(0,217,255,0.45);
}

.panel-bot {
  border-top: 1px solid var(--border);
  padding: 1.1rem 2.2rem;
  position: relative;
  z-index: 2;
}

.pb-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pb-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pb-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  transition: padding-left 0.2s;
}

.pb-item:last-child {
  border-bottom: none;
}

.pb-item:hover {
  padding-left: 0.4rem;
}

.pb-num {
  font-family: var(--tech);
  font-size: 0.72rem;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  min-width: 22px;
  line-height: 1.6;
}

.pb-cat {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.pb-t {
  font-size: 0.78rem;
  color: #d3deec;
  line-height: 1.45;
}

.pb-item:hover .pb-t {
  color: #ffffff;
}

body.light .slide-h,
body.light .p-title,
body.light .ps-n {
  color: #ffffff;
}

body.light .panel {
  background: #0f172a;
}

/* =========================================================
   QUICK HUBS
========================================================= */

.quick-hubs {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  z-index: 3;
}

.quick-hubs::-webkit-scrollbar {
  display: none;
}

.quick-hub-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #03111a;
  background: var(--accent);
  padding: 0 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-hub-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-hub-item:hover {
  background: var(--bg3);
  color: var(--text);
}

.qh-soon {
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
  border: 1px solid var(--border2);
  padding: 0.1rem 0.35rem;
  margin-left: 0.3rem;
}

/* =========================================================
   ADS
========================================================= */

.ad-slot,
.ad-mid,
.footer-ad {
  background: var(--bg2);
  border: 1px dashed var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.ad-slot {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
  min-height: 76px;
}

.ad-mid {
  margin-top: 2rem;
  margin-bottom: 2rem;
  min-height: 210px;
}

.footer-ad {
  margin-top: 0;
  margin-bottom: 1.8rem;
  min-height: 76px;
}

.ad-slot::before,
.ad-mid::before,
.footer-ad::before {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  color: var(--muted2);
}

.ad-slot::before {
  content: 'ADVERTISEMENT — 728×90';
}

.ad-mid::before {
  content: 'ADVERTISEMENT — 300×250';
}

.footer-ad::before {
  content: 'ADVERTISEMENT — 728×90 LEADERBOARD';
}

/* =========================================================
   SECTION DIVIDER
========================================================= */

.section-div {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.6rem 2.4rem 1.5rem;
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.sdiv-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sdiv-text {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.sdiv-icon {
  color: var(--accent);
  font-size: 0.74rem;
}

/* =========================================================
   HUBS / CARDS
========================================================= */

.hubs-section {
  padding: 0 2.4rem 0.8rem;
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.hubs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.8rem;
}

.hubs-title {
  font-family: var(--tech);
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.hubs-title em {
  color: var(--accent);
  font-style: normal;
}

.hubs-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  max-width: 300px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.hub-card {
  background: var(--bg);
  padding: 1.45rem 1.35rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,217,255,0.13), transparent 25%),
    linear-gradient(135deg,var(--hub-color,var(--accent)) 0%,transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.hub-card:hover {
  background: var(--bg3);
  transform: translateY(-7px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.24);
}

.hub-card:hover::before {
  opacity: 0.08;
}

.hub-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hub-color,var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.hub-card:hover::after {
  transform: scaleX(1);
}

.hub-icon {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.3s,color 0.3s;
}

.hub-card:hover .hub-icon {
  transform: scale(1.1);
  color: var(--hub-color,var(--accent));
}

.hub-icon.image-icon {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  margin-bottom: 0.35rem;
}

.hub-icon.image-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-name {
  font-family: var(--tech);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.2;
}

.hub-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.hub-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  gap: 10px;
}

.hub-badge {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.23rem 0.58rem;
  border: 1px solid var(--hub-color,var(--border2));
  color: var(--hub-color,var(--muted));
  white-space: nowrap;
}

.soon-badge {
  border-color: var(--border);
  color: var(--muted2);
}

.hub-arrow {
  color: var(--hub-color,var(--accent));
  font-size: 0.78rem;
  opacity: 0.85;
  transition: opacity 0.3s,transform 0.3s;
  white-space: nowrap;
}

.hub-card:hover .hub-arrow {
  opacity: 1;
  transform: translate(3px,-3px);
}

.hub-blog { --hub-color:#00C2FF; }
.hub-finance { --hub-color:#10B981; }
.hub-utility { --hub-color:#F59E0B; }
.hub-software { --hub-color:#8B5CF6; }
.hub-games { --hub-color:#EF4444; }
.hub-news { --hub-color:#F97316; }
.hub-entertain { --hub-color:#EC4899; }
.hub-travel { --hub-color:#14B8A6; }
.hub-edu { --hub-color:#6366F1; }
.hub-learn { --hub-color:#84CC16; }
.hub-shopping { --hub-color:#FB923C; }
.hub-more { --hub-color:#94A3B8; }

.topic-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.topic-grid .hub-card {
  min-height: 185px;
  padding: 16px 14px;
}

.topic-grid .hub-icon {
  font-size: 1.25rem;
}

.topic-grid .hub-name {
  font-size: 0.82rem;
}

.topic-grid .hub-desc {
  font-size: 0.7rem;
  line-height: 1.5;
}

.topic-grid .hub-badge {
  font-size: 0.52rem;
  padding: 0.2rem 0.48rem;
}

.resource-grid {
  grid-template-columns: repeat(3, 1fr);
}

.network-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   TRUST + ABOUT + FREE TOOLS
========================================================= */

.trust-section {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0 auto 2.4rem;
  position: relative;
  z-index: 3;
  width: calc(100% - 4.8rem);
  max-width: 1360px;
}

.trust-card {
  background: var(--bg);
  padding: 1.55rem 1.45rem;
  position: relative;
  overflow: hidden;
  color: inherit;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.trust-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,229,255,0.18), transparent 28%),
    linear-gradient(135deg, rgba(0,229,255,0.08), transparent 40%, rgba(255,101,44,0.06));
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.trust-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.trust-card:hover {
  transform: translateY(-8px);
  background: var(--bg3);
  box-shadow: 0 20px 45px rgba(0,0,0,0.26);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-icon {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  transition: transform .28s ease, filter .28s ease;
}

.trust-card:hover .trust-icon {
  transform: scale(1.12) rotate(-5deg);
  filter: drop-shadow(0 0 14px rgba(0,229,255,0.45));
}

.trust-name {
  font-family: var(--tech);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.trust-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-strip {
  width: calc(100% - 4.8rem);
  max-width: 1360px;
  margin: 0 auto 2.4rem;
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 1.55rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.about-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.about-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border3);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tech);
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
}

.about-info {
  flex: 1;
}

.about-name {
  font-family: var(--tech);
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.about-role {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-socials {
  display: flex;
  gap: 0.6rem;
}

.soc-btn {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border2);
  padding: 0.36rem 0.72rem;
}

.soc-btn:hover {
  color: var(--accent);
  border-color: var(--border3);
}

.tools-strip {
  border-color: rgba(0,229,255,0.22);
  background:
    linear-gradient(135deg, rgba(0,229,255,0.08), rgba(255,255,255,0.02)),
    var(--bg2);
  box-shadow: 0 22px 70px rgba(0,0,0,0.24);
}

.tools-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, transparent 38%, rgba(255,255,255,0.08) 48%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  animation: dh-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dh-shine {
  0%, 58% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

.tools-strip .about-avatar {
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 28%),
    linear-gradient(135deg, #00e5ff, #7c4dff 55%, #ff652c);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 34px rgba(0,229,255,0.32);
  animation: dh-tool-float 3.8s ease-in-out infinite;
}

.tools-strip .about-avatar::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(0,229,255,0.35);
  animation: dh-tool-ring 2.4s ease-in-out infinite;
}

@keyframes dh-tool-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}

@keyframes dh-tool-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* =========================================================
   GROWTH SYSTEM
========================================================= */

.dh-growth-system {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  isolation: isolate;
}

.dh-growth-system::before {
  content: "";
  position: absolute;
  inset: 70px 18px auto 18px;
  height: 420px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 35%, rgba(255, 101, 44, 0.14), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(124, 77, 255, 0.12), transparent 40%);
  filter: blur(8px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.dh-growth-wrap {
  width: calc(100% - 4.8rem);
  max-width: 1360px;
  margin: 0 auto 2.4rem;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 18px;
  align-items: stretch;
}

.dh-growth-main,
.dh-step-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(0,229,255,0.18);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,229,255,0.11), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.035);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.24),
    inset 0 0 0 1px rgba(255,255,255,0.045);
}

.dh-growth-main {
  padding: clamp(24px, 3vw, 36px);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dh-growth-main::after,
.dh-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, transparent 38%, rgba(255,255,255,0.08) 48%, transparent 58%, transparent 100%);
  transform: translateX(-130%);
  transition: transform .75s ease;
  pointer-events: none;
}

.dh-growth-main:hover::after,
.dh-step-card:hover::after {
  transform: translateX(130%);
}

.dh-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,0.28);
  background: rgba(0,229,255,0.08);
}

.dh-growth-main h2 {
  margin: 0;
  font-family: var(--tech);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.dh-growth-main h2 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.dh-growth-main p {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.dh-growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.dh-growth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border2);
  background: rgba(255,255,255,0.06);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.dh-growth-btn.primary {
  color: #061018;
  border-color: transparent;
  background: linear-gradient(135deg, #00e5ff, #ff652c);
  box-shadow: 0 12px 35px rgba(0,229,255,0.18);
}

.dh-growth-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.36);
}

.dh-growth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dh-step-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.dh-step-card:hover {
  transform: translateY(-9px);
  border-color: rgba(0,229,255,0.42);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.30),
    0 0 35px rgba(0,229,255,0.13);
}

.dh-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 42px;
  line-height: 1;
  font-family: var(--tech);
  font-weight: 900;
  letter-spacing: -0.08em;
  opacity: 0.12;
}

.dh-step-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 20px;
  font-size: 28px;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.22), transparent 35%),
    linear-gradient(135deg, rgba(0,229,255,0.18), rgba(255,101,44,0.13));
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .28s ease, filter .28s ease;
}

.dh-step-card:hover .dh-step-icon {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 0 18px rgba(0,229,255,0.35));
}

.dh-step-card h3 {
  margin: 26px 0 10px;
  font-family: var(--tech);
  font-size: 26px;
  line-height: 1.1;
}

.dh-step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.dh-step-card span {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  position: relative;
  background: #040916;
  color: #ffffff;
  border-top: 1px solid rgba(0,217,255,0.18);
  padding: 46px 28px 20px;
  overflow: hidden;
  z-index: 3;
}

.f-bg-text {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  font-family: var(--tech);
  font-size: clamp(4rem,12vw,11rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.f-top {
  position: relative;
  z-index: 2;
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 42px;
  align-items: flex-start;
}

.f-logo {
  color: #ffffff;
  font-family: var(--tech);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.f-logo span {
  color: var(--accent);
}

.f-tagline {
  color: #dbeafe;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.75;
  max-width: 300px;
}

.f-col-title {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.f-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.f-col-links li {
  margin: 0 0 9px;
}

.f-col-links a {
  color: #e8eef9;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.55;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.f-col-links a::before {
  content: "→";
  color: var(--accent);
  font-weight: 900;
}

.f-col-links a:hover {
  color: var(--accent);
}

.f-bot {
  position: relative;
  z-index: 2;
  max-width: var(--site-max);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.f-copy,
.f-copy a,
.f-status {
  color: #d6deeb;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.7;
}

.f-copy a:hover {
  color: var(--accent);
}

.f-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e0b8;
  box-shadow: 0 0 12px rgba(0,224,184,0.65);
  flex-shrink: 0;
}

body.light footer {
  background: #ffffff;
  border-top-color: rgba(15,23,42,0.10);
  color: #0f172a;
}

body.light .f-logo,
body.light .f-col-title {
  color: #0f172a;
}

body.light .f-tagline,
body.light .f-col-links a,
body.light .f-copy,
body.light .f-copy a,
body.light .f-status {
  color: #334155;
}

body.light .f-bg-text {
  color: rgba(15,23,42,0.045);
}

/* =========================================================
   ARCHIVE + SINGLE COMMON
========================================================= */

.archive-shell {
  position: relative;
  z-index: 3;
  width: min(1180px,92%);
  margin: 130px auto 3rem;
}

.archive-title {
  font-family: var(--tech);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.meta {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1.3rem;
}

.content {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.95rem;
}

.content p {
  margin-bottom: 1rem;
}

.content a {
  color: var(--accent);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.post-card {
  background: var(--bg);
  padding: 1rem;
  color: inherit;
}

.post-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  margin-bottom: 0.9rem;
  opacity: 0.88;
}

.post-card h3 {
  font-family: var(--tech);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.35;
}

.post-card p {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.45rem;
}

.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  border: 1px solid var(--border);
  padding: 0.45rem 0.75rem;
  color: var(--muted);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .slider-wrap {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .panel {
    min-height: auto;
  }

  .hub-grid,
  .featured-grid,
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dh-growth-wrap {
    grid-template-columns: 1fr;
  }

  .dh-growth-main {
    min-height: auto;
  }

  .dh-step-card {
    min-height: 330px;
  }
}

@media (max-width: 900px) {
  .dh-nav {
    padding: 0 16px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 94px;
    left: 0;
    right: 0;
    background: rgba(2,6,16,0.98);
    border-bottom: 1px solid var(--border3);
    padding: 18px;
    display: none;
  }

  body.light .nav-menu {
    background: rgba(255,255,255,0.98);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .nav-cta {
    display: none;
  }

  .hubs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hubs-sub {
    text-align: left;
    max-width: 100%;
  }

  .trust-section,
  .about-strip,
  .dh-growth-wrap {
    width: calc(100% - 2rem);
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .about-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-socials {
    flex-wrap: wrap;
  }

  .f-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .hero {
    margin-top: 94px;
  }

  .slider-wrap {
    min-height: 470px;
  }

  .slide {
    padding: 2rem 1.2rem 4.2rem;
  }

  .slide-num {
    left: 1.2rem;
    top: 1.8rem;
    font-size: 3rem;
  }

  .s-dots {
    left: 1.2rem;
  }

  .s-controls {
    right: 1.2rem;
  }

  .panel-top,
  .panel-bot {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section-div {
    padding: 2.2rem 1rem 1.1rem;
    gap: 0.8rem;
  }

  .hubs-section {
    padding: 0 1rem 0.8rem;
  }

  .hub-grid,
  .featured-grid,
  .topic-grid,
  .resource-grid,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .hub-icon.image-icon {
    height: 180px;
  }

  .dh-growth-steps {
    grid-template-columns: 1fr;
  }

  .dh-step-card {
    min-height: 260px;
  }

  .dh-growth-actions {
    flex-direction: column;
  }

  .dh-growth-btn {
    width: 100%;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .f-top {
    grid-template-columns: 1fr;
  }

  .f-bot {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   SINGLE POST FABULA-STYLE PREMIUM LAYOUT
========================================================= */

.dh-single-post {
  position: relative;
  z-index: 3;
}

.dh-post-hero {
  position: relative;
  min-height: 590px;
  margin-top: 94px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.dh-post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1.08);
  z-index: -3;
}

.dh-post-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.55) 42%, rgba(8,8,8,0.96) 100%),
    radial-gradient(circle at 50% 35%, rgba(0,217,255,0.16), transparent 40%);
  z-index: -2;
}

.dh-post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  z-index: -1;
}

.dh-post-hero-inner {
  width: min(980px, 92%);
  text-align: center;
  padding: 0 0 52px;
  animation: dh-post-rise .7s ease both;
}

@keyframes dh-post-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dh-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
}

.dh-breadcrumb a {
  color: rgba(255,255,255,0.88);
}

.dh-breadcrumb a:hover {
  color: var(--accent);
}

.dh-cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0,217,255,0.14);
  border: 1px solid rgba(0,217,255,0.34);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dh-post-title {
  max-width: 950px;
  margin: 0 auto;
  color: #ffffff;
  font-family: var(--tech);
  font-size: clamp(2.2rem, 4.9vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-shadow: 0 14px 40px rgba(0,0,0,0.62);
}

.dh-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: rgba(255,255,255,0.84);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 650;
}

.dh-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #03111a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tech);
  font-weight: 900;
}

.dh-meta-dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
}

.dh-post-shell {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 54px 0 70px;
}

.dh-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 330px;
  gap: 42px;
  align-items: start;
  justify-content: center;
}

.dh-post-main {
  min-width: 0;
}

.dh-featured-image {
  overflow: hidden;
  border-radius: 26px;
  background: var(--bg2);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  margin-bottom: 28px;
}

.dh-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.dh-entry-content {
  background: var(--bg2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
  font-size: 1.02rem;
  line-height: 1.92;
}

.dh-entry-content > *:first-child {
  margin-top: 0;
}

.dh-entry-content p {
  margin: 0 0 1.25rem;
}

.dh-entry-content h1,
.dh-entry-content h2,
.dh-entry-content h3,
.dh-entry-content h4,
.dh-entry-content h5,
.dh-entry-content h6 {
  color: var(--text);
  font-family: var(--tech);
  line-height: 1.22;
  margin: 2.1rem 0 1rem;
  letter-spacing: -0.025em;
}

.dh-entry-content h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.dh-entry-content h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.dh-entry-content h4 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.dh-entry-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(0,217,255,0.35);
}

.dh-entry-content ul,
.dh-entry-content ol {
  margin: 1rem 0 1.4rem 1.4rem;
}

.dh-entry-content li {
  margin-bottom: 0.55rem;
}

.dh-entry-content img {
  width: 100%;
  border-radius: 20px;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.dh-entry-content blockquote {
  margin: 1.8rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg3);
  color: var(--text);
  border-radius: 18px;
  font-size: 1.18rem;
  line-height: 1.7;
}

.dh-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 16px;
  font-size: 0.92rem;
}

.dh-entry-content th,
.dh-entry-content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
}

.dh-entry-content th {
  background: var(--accent2);
  color: var(--text);
}

.dh-ad-line,
.dh-ad-box {
  border: 1px dashed var(--border2);
  background: var(--bg2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dh-ad-line {
  min-height: 86px;
  margin-bottom: 28px;
}

.dh-ad-line::before {
  content: "Advertisement";
}

.dh-ad-box {
  min-height: 230px;
  margin: 32px 0;
}

.dh-ad-box::before {
  content: "Advertisement";
}

.dh-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.dh-post-tags span {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dh-post-tags a,
.dh-post-tags em {
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-style: normal;
}

.dh-post-tags a:hover {
  color: var(--accent);
  border-color: var(--border3);
}

.dh-author-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  margin: 28px 0;
}

.dh-author-avatar-big {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #03111a;
  font-family: var(--tech);
  font-size: 1.25rem;
  font-weight: 900;
}

.dh-author-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dh-author-card h3 {
  color: var(--text);
  font-family: var(--tech);
  font-size: 1.1rem;
  margin-bottom: 7px;
}

.dh-author-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.dh-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.dh-prev-post,
.dh-next-post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  min-height: 120px;
}

.dh-next-post {
  text-align: right;
}

.dh-prev-post span,
.dh-next-post span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dh-prev-post a,
.dh-next-post a {
  color: var(--text);
  font-family: var(--tech);
  font-weight: 850;
  line-height: 1.35;
}

.dh-prev-post a:hover,
.dh-next-post a:hover {
  color: var(--accent);
}

.dh-section-mini-title {
  color: var(--text);
  font-family: var(--tech);
  font-size: 1.15rem;
  font-weight: 900;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.dh-related {
  margin: 34px 0;
}

.dh-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dh-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dh-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border3);
}

.dh-related-card img {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 82px;
}

.dh-related-card span {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.dh-related-card h4 {
  color: var(--text);
  font-family: var(--tech);
  font-size: 0.95rem;
  line-height: 1.35;
}

.dh-related-empty {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.dh-related-empty h4 {
  color: var(--text);
  font-family: var(--tech);
}

.dh-related-empty p {
  color: var(--muted);
  margin-top: 6px;
}

/* Sidebar */

.dh-post-sidebar {
  min-width: 0;
}

.dh-sticky-sidebar {
  position: sticky;
  top: 92px;
}

.dh-side-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.14);
}

.dh-side-widget h3 {
  color: var(--text);
  font-family: var(--tech);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 15px;
}

.dh-activity {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dh-activity div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}

.dh-activity span {
  color: var(--accent);
}

.dh-activity strong {
  color: var(--text);
  font-family: var(--tech);
  font-size: 1rem;
}

.dh-activity small {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.dh-side-posts {
  display: grid;
  gap: 13px;
}

.dh-side-post {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  color: inherit;
}

.dh-side-post img {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  object-fit: cover;
}

.dh-side-post h4 {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
  margin-bottom: 5px;
}

.dh-side-post span {
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.dh-side-post:hover h4 {
  color: var(--accent);
}

.dh-cat-list {
  display: grid;
  gap: 10px;
}

.dh-cat-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: inherit;
}

.dh-cat-list span {
  color: var(--text);
  font-weight: 800;
}

.dh-cat-list small {
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.dh-cat-list a:hover {
  border-color: var(--border3);
}

.dh-newsletter-widget {
  background:
    radial-gradient(circle at 0 0, rgba(0,217,255,0.16), transparent 35%),
    var(--bg2);
}

.dh-news-icon {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.dh-newsletter-widget p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.dh-newsletter-widget a {
  display: inline-flex;
  background: var(--accent);
  color: #03111a;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
}

.dh-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dh-socials a {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 900;
}

.dh-socials a:hover {
  color: #03111a;
  background: var(--accent);
  border-color: var(--accent);
}

/* Comments basic sync */

.comments-area,
#comments {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  margin-top: 34px;
  color: var(--muted);
}

.comments-area h2,
.comments-area h3,
#reply-title {
  color: var(--text);
  font-family: var(--tech);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
}

.comment-form input[type="submit"] {
  background: var(--accent);
  color: #03111a;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-weight: 900;
  cursor: pointer;
}

/* Light mode sync */

body.light .dh-post-hero-overlay {
  background:
    linear-gradient(180deg, rgba(15,23,42,0.18) 0%, rgba(15,23,42,0.48) 42%, rgba(246,248,252,0.98) 100%),
    radial-gradient(circle at 50% 35%, rgba(0,119,255,0.18), transparent 40%);
}

body.light .dh-entry-content,
body.light .dh-side-widget,
body.light .dh-featured-image,
body.light .dh-author-card,
body.light .dh-post-tags,
body.light .dh-prev-post,
body.light .dh-next-post,
body.light .dh-related-card,
body.light .comments-area,
body.light #comments {
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

/* Responsive */

@media (max-width: 1100px) {
  .dh-post-layout {
    grid-template-columns: 1fr;
  }

  .dh-sticky-sidebar {
    position: static;
  }

  .dh-post-sidebar {
    order: 2;
  }

  .dh-post-main {
    order: 1;
  }
}

@media (max-width: 720px) {
  .dh-post-hero {
    min-height: 520px;
  }

  .dh-post-title {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .dh-post-meta {
    font-size: 0.7rem;
  }

  .dh-post-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 28px;
  }

  .dh-entry-content {
    padding: 22px;
    border-radius: 22px;
    font-size: 0.96rem;
  }

  .dh-post-navigation {
    grid-template-columns: 1fr;
  }

  .dh-next-post {
    text-align: left;
  }

  .dh-author-card {
    flex-direction: column;
  }

  .dh-related-card {
    align-items: flex-start;
  }
}

/* =========================================================
   DHIMANHUB LIGHT MODE PREMIUM COLOR FIX
   Paste this at the very bottom of style.css
========================================================= */

body.light,
body.light-mode,
html[data-theme="light"] body {
  --bg: #f6f8ff;
  --bg2: #ffffff;
  --bg3: #eef3ff;
  --bg4: #e8eeff;

  --text: #0b1220;
  --muted: #344054;
  --muted2: #667085;

  --accent: #0066ff;
  --accent2: #7c3aed;
  --accent3: #00a7b5;
  --gold: #f59e0b;
  --pink: #e11d48;
  --green: #059669;

  --border: rgba(15, 23, 42, 0.12);
  --border2: rgba(0, 102, 255, 0.22);
  --border3: rgba(124, 58, 237, 0.26);

  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 102, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(124, 58, 237, 0.13), transparent 30%),
    radial-gradient(circle at 50% 95%, rgba(0, 167, 181, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6ff 42%, #eef3ff 100%) !important;
}

/* Global readability */
body.light *,
body.light-mode *,
html[data-theme="light"] body * {
  text-shadow: none;
}

body.light p,
body.light li,
body.light .hub-desc,
body.light .hubs-sub,
body.light .about-text,
body.light .slide-excerpt,
body.light .hero-sub,
body.light .portal-sub,
body.light .f-tagline {
  color: #344054 !important;
}

body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6,
body.light .hub-name,
body.light .hubs-title,
body.light .section-title,
body.light .archive-title,
body.light .slide-h,
body.light .hero-title,
body.light .portal-title {
  color: #07111f !important;
}

/* Ticker */
body.light .ticker-wrap {
  background: linear-gradient(90deg, #ffffff, #eef4ff, #ffffff) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

body.light .ticker-label {
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  color: #ffffff !important;
}

body.light .ticker-track span {
  color: #182230 !important;
}

/* Navbar */
body.light .dh-nav {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(18px);
}

body.light .nav-logo {
  color: #07111f !important;
}

body.light .nav-logo span {
  color: #0066ff !important;
}

body.light .nav-logo-dot {
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.35) !important;
}

body.light .nav-links a,
body.light .nav-menu a {
  color: #182230 !important;
  font-weight: 800 !important;
}

body.light .nav-links a:hover,
body.light .nav-menu a:hover,
body.light .nav-links .current-menu-item > a {
  color: #0066ff !important;
  background: rgba(0, 102, 255, 0.08) !important;
}

body.light .nav-cta {
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 102, 255, 0.18) !important;
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.22) !important;
}

body.light .theme-toggle,
body.light .mobile-toggle {
  background: #ffffff !important;
  color: #07111f !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* Mobile menu */
@media (max-width: 860px) {
  body.light .nav-menu {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.14) !important;
  }

  body.light .nav-menu a {
    color: #07111f !important;
  }
}

/* Hero / Slider visibility */
body.light .hero,
body.light .portal-hero,
body.light .hero-shell,
body.light .slider-shell,
body.light .featured-slider,
body.light .hero-slider {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 102, 255, 0.13), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(124, 58, 237, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff, #eef4ff) !important;
}

body.light .slide-card,
body.light .hero-card,
body.light .portal-card,
body.light .pb-panel,
body.light .pb-item {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10) !important;
}

body.light .slide-card::before,
body.light .hero-card::before {
  opacity: 0.25 !important;
}

body.light .slide-kicker,
body.light .hero-kicker,
body.light .portal-kicker,
body.light .pb-cat,
body.light .hub-kicker,
body.light .hub-badge,
body.light .sdiv-text {
  color: #0057d9 !important;
}

body.light .pb-num {
  color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.09) !important;
  border-color: rgba(124, 58, 237, 0.20) !important;
}

body.light .pb-t {
  color: #0b1220 !important;
}

/* Section divider */
body.light .section-div .sdiv-line,
body.light .sdiv-line {
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.35), transparent) !important;
}

body.light .sdiv-icon {
  color: #7c3aed !important;
  text-shadow: 0 0 16px rgba(124, 58, 237, 0.22) !important;
}

/* Cards */
body.light .hub-card,
body.light .tool-card,
body.light .post-card,
body.light .about-card,
body.light .feature-card,
body.light .network-card,
body.light .use-card,
body.light .growth-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.96)) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow:
    0 20px 55px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  color: #0b1220 !important;
}

body.light .hub-card:hover,
body.light .tool-card:hover,
body.light .post-card:hover,
body.light .about-card:hover,
body.light .feature-card:hover,
body.light .network-card:hover,
body.light .use-card:hover,
body.light .growth-card:hover {
  border-color: rgba(0, 102, 255, 0.28) !important;
  box-shadow:
    0 26px 70px rgba(0, 102, 255, 0.13),
    0 10px 26px rgba(124, 58, 237, 0.08) !important;
}

body.light .hub-card::after,
body.light .tool-card::after,
body.light .post-card::after,
body.light .feature-card::after {
  background: linear-gradient(90deg, #0066ff, #7c3aed, #00a7b5) !important;
  opacity: 0.75 !important;
}

body.light .hub-foot,
body.light .card-foot,
body.light .post-card-meta {
  border-top: 1px solid rgba(15, 23, 42, 0.09) !important;
}

body.light .hub-arrow,
body.light .card-arrow {
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  color: #ffffff !important;
}

/* Buttons and chips */
body.light .btn,
body.light .hero-btn,
body.light .learn-btn,
body.light .tool-btn,
body.light .hub-btn,
body.light .cta-btn,
body.light .pill,
body.light .tag-pill {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  border: 1px solid rgba(0, 102, 255, 0.20) !important;
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.20) !important;
}

body.light .btn.secondary,
body.light .hero-btn.secondary,
body.light .learn-btn.secondary,
body.light .ghost-btn {
  color: #07111f !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07) !important;
}

/* Free Tools / Learn Use Grow buttons row readability */
body.light .learn-actions a,
body.light .tool-actions a,
body.light .hub-actions a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
}

body.light .learn-actions a:nth-child(even),
body.light .tool-actions a:nth-child(even),
body.light .hub-actions a:nth-child(even) {
  color: #07111f !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.13) !important;
}

/* Images */
body.light img {
  filter: saturate(1.03) contrast(1.02);
}

body.light .hub-card img,
body.light .post-card img,
body.light .tool-card img {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
}

/* Forms / newsletter */
body.light input,
body.light textarea,
body.light select {
  background: #ffffff !important;
  color: #07111f !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.light input::placeholder,
body.light textarea::placeholder {
  color: #667085 !important;
}

body.light .newsletter,
body.light .newsletter-card,
body.light .subscribe-card {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 102, 255, 0.13), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.13), transparent 34%),
    #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10) !important;
}

/* Footer */
body.light footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 102, 255, 0.12), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff, #eef4ff) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #344054 !important;
}

body.light .f-logo,
body.light .f-col-title,
body.light .f-copy,
body.light footer h3,
body.light footer h4,
body.light footer h5,
body.light footer h6 {
  color: #07111f !important;
}

body.light .f-logo span {
  color: #0066ff !important;
}

body.light .f-col-links a,
body.light footer a {
  color: #344054 !important;
  font-weight: 700;
}

body.light .f-col-links a:hover,
body.light footer a:hover {
  color: #0066ff !important;
}

body.light .f-bot {
  border-top: 1px solid rgba(15, 23, 42, 0.10) !important;
}

body.light .f-status {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  border: 1px solid rgba(5, 150, 105, 0.18) !important;
}

body.light .f-status-dot {
  background: #059669 !important;
  box-shadow: 0 0 14px rgba(5, 150, 105, 0.40) !important;
}

body.light .f-bg-text {
  color: rgba(0, 102, 255, 0.045) !important;
}

/* Archive / fallback pages */
body.light .archive-shell,
body.light .single-post,
body.light .content,
body.light article {
  color: #344054 !important;
}

body.light .pagination a,
body.light .pagination span {
  background: #ffffff !important;
  color: #07111f !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.light .pagination .current {
  background: linear-gradient(135deg, #0066ff, #7c3aed) !important;
  color: #ffffff !important;
}

/* Remote blog post cards text fix */
body.light .post-card h3,
body.light .post-card .hub-name,
body.light .post-card-title {
  color: #07111f !important;
}

body.light .post-card p,
body.light .post-card .hub-desc {
  color: #475467 !important;
}

body.light .post-card-meta span,
body.light .post-date,
body.light .post-cat {
  color: #0057d9 !important;
}

/* Fix invisible white text on light cards */
body.light .wh-col,
body.light .white-text,
body.light .text-white,
body.light [class*="white"] {
  color: #07111f;
}

/* But keep white text on real gradient buttons */
body.light .nav-cta,
body.light .btn,
body.light .cta-btn,
body.light .hub-arrow,
body.light .card-arrow,
body.light .ticker-label {
  color: #ffffff !important;
}

/* Smooth theme transition */
body,
.dh-nav,
footer,
.hub-card,
.post-card,
.tool-card,
.about-card,
.feature-card,
.network-card,
.use-card,
.growth-card,
.nav-links a,
.f-col-links a {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}




/* FINAL FIX: keep LIVE badge flush left and hide ticker bleed */
.ticker-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ticker-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  min-width: max-content;
}
