:root {
  --bg: #06111f;
  --bg-soft: #0b1728;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --blue: #2a6cff;
  --blue-soft: #9cc3ff;
  --gold: #ffe45e;
  --gold-soft: #fff0a1;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --container: 1380px;
  --mouse-x: 0px;
  --mouse-y: 0px;
  --mouse-rx: 0deg;
  --mouse-ry: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -14px, 0) scale(1.04); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes driftSlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-22px, 16px, 0) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes waveFloat {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(-1deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes waveFloatAlt {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, 20px, 0) rotate(1.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes corePulse {
  0% { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.42; }
  50% { transform: translate3d(0, 0, 0) scale(1.06); opacity: 0.7; }
  100% { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.42; }
}

@keyframes ringRotate {
  0% { transform: translate3d(-50%, -50%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-50%, -50%, 0) rotate(180deg) scale(1.03); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(360deg) scale(1); }
}

@keyframes signalDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.22; }
  50% { transform: translate3d(0, -10px, 0); opacity: 0.36; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.22; }
}

@keyframes cityLightPulse {
  0% { background-position: 0 0, 0 100%; opacity: 0.08; }
  50% { background-position: 0 -10px, 0 84%; opacity: 0.18; }
  100% { background-position: 0 0, 0 100%; opacity: 0.08; }
}

@keyframes cityLightPulseSoft {
  0% { background-position: 0 0, 0 100%; opacity: 0.05; }
  50% { background-position: 0 8px, 0 88%; opacity: 0.12; }
  100% { background-position: 0 0, 0 100%; opacity: 0.05; }
}

@keyframes dataColumnsDrift {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes dataColumnsDriftAlt {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes gridPulse {
  0% { opacity: 0.24; }
  50% { opacity: 0.42; }
  100% { opacity: 0.24; }
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes headerGlow {
  0% { box-shadow: 0 0 0 rgba(42, 108, 255, 0); }
  50% { box-shadow: 0 8px 40px rgba(42, 108, 255, 0.14); }
  100% { box-shadow: 0 0 0 rgba(42, 108, 255, 0); }
}

@keyframes brandShimmer {
  0% { opacity: 0.85; letter-spacing: 0.38em; }
  50% { opacity: 1; letter-spacing: 0.41em; }
  100% { opacity: 0.85; letter-spacing: 0.38em; }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(34, 123, 255, 0.12), transparent 28%),
    radial-gradient(circle at 50% 22%, rgba(255, 228, 94, 0.05), transparent 20%),
    radial-gradient(circle at 50% 70%, rgba(0, 102, 255, 0.06), transparent 26%),
    var(--bg);
}

.bg-effects {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.dot-wave {
  display: none;
}

.dot-wave-a,
.dot-wave-b {
  display: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}

.orb-blue,
.orb-gold {
  display: none;
}

.grid-mask {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  animation: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  background: rgba(6, 17, 31, 0.82);
  border-bottom: 1px solid var(--border);
  animation: headerGlow 8s ease-in-out infinite;
}

.header-row,
.footer-grid,
.footer-bottom,
.hero-grid,
.two-col,
.market-grid,
.insights-grid,
.network-block,
.cta-card {
  display: grid;
  gap: 24px;
}
.footer-grid h3 {
  margin: 0 !important;
  font-size: 32px !important;
  line-height: 1.3 !important;
  margin-top: 16px !important;
}
.header-row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.brand-top {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: var(--gold);
  animation: brandShimmer 6s ease-in-out infinite;
}

.brand-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.nav-shell {
  display: contents;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transition: 0.2s ease;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.ticker-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.ticker {
  display: flex;
  gap: 24px;
  overflow: hidden;
  padding: 12px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--blue-soft);
  scrollbar-width: none;
  white-space: nowrap;
}

.ticker span {
  flex: 0 0 auto;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: max-content;
}

.ticker-animated .ticker-track {
  animation: tickerSlide 28s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.section {
  position: relative;
  padding: 84px 0;
}

.hero-section {
  padding-top: 72px;
}

.clean-hero {
  overflow: hidden;
}

.hero-grid,
.market-grid,
.insights-grid,
.network-block {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-grid h1 {
  margin: 0;
  max-width: 900px;
  font-size: 60px !important;
  line-height: 0.97;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.hero-grid h1 span {
  display: block;
  background: linear-gradient(90deg, #7db2ff, #2a6cff, #ffe45e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill,
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(42, 108, 255, 0.3);
  border-radius: 999px;
  background: rgba(11, 23, 40, 0.8);
  color: var(--blue-soft);
}

.lead,
.section-title p,
.card p,
.footer-bottom,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-section .lead,
.hero-section .pill,
.hero-section .stats-grid,
.hero-section .hero-actions,
.hero-section .thesis-card,
.hero-section .hero-grid > div:first-child {
  position: relative;
  z-index: 2;
}

.lead {
  margin-top: 24px;
  max-width: 760px;
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--gold));
  color: #08101d;
  font-weight: 700;
  box-shadow: 0 0 40px rgba(42, 108, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(42, 108, 255, 0.35);
  color: var(--gold);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stats-grid,
.grid,
.mini-grid,
.topic-grid,
.tag-list,
.footer-cols,
.network-grid {
  display: grid;
  gap: 16px;
}

.feature-guide,
.seo-topics {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stats-grid {
  margin-top: 40px;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card,
.info-card,
.post-card,
.mini-card,
.note-box,
.side-panel,
.deal-card,
.feature-guide,
.seo-topics,
.featured-article,
.network-grid-wrap,
.cta-card {
  padding: 24px;
}

.post-card,
.side-panel,
.deal-card {
  padding: 28px;
}

.stat-card strong,
.mini-card strong {
  display: block;
  font-size: 28px;
  color: white;
}

.stat-card span,
.mini-card p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.thesis-card {
  padding: 24px;
}

.thesis-head,
.deal-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.thesis-head h2,
.section-title h2,
.side-panel h2,
.cta-card h2,
.site-footer h3,
.feature-guide h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.tag {
  white-space: nowrap;
  border: 1px solid rgba(255, 228, 94, 0.25);
  background: rgba(255, 228, 94, 0.1);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
}

.gold {
  color: var(--gold);
}

.mini-grid,
.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.mini-grid {
  margin-top: 24px;
}

.mini-card.full {
  grid-column: 1 / -1;
}

.editorial-top,
.cta-section {
  padding-top: 24px;
}

.two-col {
  grid-template-columns: 1.05fr 0.95fr;
}

.tag-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 20px;
}

.topic-grid {
  margin-top: 6px;
}

.tag-list span,
.topic-grid div,
.network-node {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-title p {
  max-width: 620px;
  margin: 0;
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.info-card h3,
.deal-card h3,
.post-card h3,
.side-panel h3,
.featured-article h3 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.2;
  color: white;
}

.info-card p,
.deal-card p,
.post-card p,
.side-panel p,
.featured-article p,
.feature-guide p,
.seo-topics p,
.note-box p,
.cta-card p,
.site-footer p {
  margin: 16px 0 0;
}

.feature-guide .eyebrow,
.seo-topics .eyebrow {
  margin-bottom: 2px;
}

.market-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.stack {
  display: grid;
  gap: 20px;
}

.note-box {
  margin-top: 24px;
  background: rgba(11, 23, 40, 0.8);
}

.insights-grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.featured-article {
  overflow: hidden;
  padding: 0;
}

.article-cover {
  width: 100%;
  height: 320px;        /* ← tăng lên tùy ý, ví dụ 360px hoặc 400px */
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

.article-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* ← crop ảnh cho vừa khung, không bị méo */
  object-position: center;
  display: block;
}

.article-cover-image-wrap,
.post-cover-image-wrap {
  overflow: hidden;
}

.article-cover-image,
.post-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 32px;
}

.meta {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.subscribe-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.subscribe-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 0 16px;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.network-grid {
  grid-template-columns: repeat(3, 1fr);
}

.network-node {
  text-align: center;
  font-weight: 600;
  color: white;
}

.cta-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-color: rgba(42, 108, 255, 0.2);
  background: radial-gradient(circle at top, rgba(42, 108, 255, 0.24), rgba(8, 17, 31, 1) 45%, rgba(5, 11, 21, 1) 100%);
}

.hero-dot-matrix {
  position: absolute;
  left: 50%;
  top: 120px;
  width: min(1280px, 88vw);
  max-width: 1280px;
  height: 560px;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-dot-matrix::before,
.hero-dot-matrix::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-dot-matrix::before {
  background-image:
    radial-gradient(circle, rgba(42, 108, 255, 0.82) 0 2.4px, transparent 3.4px);
  background-size: 22px 18px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.95) 48%, rgba(0,0,0,0.7) 72%, transparent 100%);
}

.hero-dot-matrix::after {
  background-image:
    radial-gradient(circle, rgba(255, 228, 94, 0.55) 0 2.2px, transparent 3.2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px);
  background-size: 110px 72px, 140px 96px;
  background-position: 8% 18%, 72% 34%;
  opacity: 0.6;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0.55) 76%, transparent 100%);
}

.hero-dot-matrix-back {
  opacity: 0.16;
  animation: dataColumnsDriftAlt 8s ease-in-out infinite;
}

.hero-dot-matrix-front {
  opacity: 0.3;
  animation: dataColumnsDrift 6s ease-in-out infinite;
}

.hero-signal-field {
  position: absolute;
  left: 50%;
  top: 170px;
  width: min(760px, 64vw);
  height: 420px;
  pointer-events: none;
  border-radius: 40px;
  opacity: 0.03;
  transform: translateX(-50%);
  background-image:
    radial-gradient(circle, rgba(156, 195, 255, 0.42) 0 1px, transparent 1.55px),
    linear-gradient(to top, rgba(42, 108, 255, 0.025), transparent 76%);
  background-size: 18px 18px, 18px 100%;
  background-position: center top, center top;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.72) 52%, transparent 100%);
  animation: none;
}

.hero-card-glow {
  position: absolute;
  left: 50%;
  top: 260px;
  width: 520px;
  height: 280px;
  border-radius: 999px;
  pointer-events: none;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(42, 108, 255, 0.08), rgba(42, 108, 255, 0.02) 55%, transparent 78%);
  filter: blur(70px);
  opacity: 0.38;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  padding: 72px 0 32px;
}

.footer-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.footer-cols {
  grid-template-columns: repeat(4, 1fr);
}

.footer-cols div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-cols a {
  color: rgba(255, 255, 255, 0.62);
}

.footer-cols a:hover {
  color: var(--gold);
}

.footer-bottom {
  grid-template-columns: 260px 1fr;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .header-row,
  .hero-grid,
  .two-col,
  .market-grid,
  .insights-grid,
  .network-block,
  .footer-grid,
  .cta-card,
  .footer-bottom,
  .stats-grid,
  .four-up {
    grid-template-columns: 1fr;
  }

  .section-title {
    flex-direction: column;
    align-items: start;
  }

  .footer-cols,
  .network-grid,
  .mini-grid,
  .two-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-row {
    gap: 16px;
  }

  .nav {
    justify-content: flex-start;
  }
}

.blog-shell .site-header,
.post-shell .site-header {
  background: rgba(6, 17, 31, 0.88);
}

.blog-hero,
.post-hero-section {
  padding-top: 72px;
}

.blog-hero-grid,
.blog-layout-grid,
.post-hero-grid,
.post-layout-grid {
  display: grid;
  gap: 24px;
}

.post-hero-header {
  grid-area: header;   /* span 2 cột */
}

.blog-hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.blog-category-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-pill {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.category-pill.active,
.category-pill:hover {
  border-color: rgba(255, 228, 94, 0.3);
  color: var(--gold);
  background: rgba(255, 228, 94, 0.08);
}


.blog-hero-open {
  padding-top: 56px;
  padding-bottom: 34px;
}

.blog-hero-grid-open {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 42px;
}

.blog-hero-grid-open .lead {
  max-width: 880px;
}

.side-note {
  align-self: end;
  padding-bottom: 8px;
}

.side-note p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.blog-category-strip-open {
  padding-top: 18px;
}

.blog-layout-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  align-items: start;
  gap: 36px;
}

.blog-layout-section .container {
  width: min(calc(100% - 48px), 1480px);
}

.compact-title {
  margin-bottom: 8px;
}

.archive-heading {
  align-items: end;
  gap: 20px;
  margin-bottom: 14px;
}

.archive-heading p {
  max-width: 560px;
  margin: 0;
}

.compact-title h2 {
  font-size: 32px;
}

.article-cover-large {
  height: 320px;
}

.article-actions {
  margin-top: 24px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
}

a.blog-list-card {
    display: flex;
    justify-content: space-between;  /* ← thêm dòng này */
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

a.blog-list-card:hover {
    opacity: 0.85;
}

.blog-list-copy {
  min-width: 0;
}

.blog-list-copy h3 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.15;
}

.blog-list-copy p {
  max-width: 820px;
}

.blog-list-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.list-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 228, 94, 0.2);
  background: rgba(255, 228, 94, 0.08);
  color: var(--gold-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap; /* Thêm dòng này để cấm rớt chữ */
}
.popular-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.popular-item {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.popular-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.popular-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-soft);
}

.author-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.author-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.post-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;          /* 2 cột đều nhau */
  grid-template-rows: auto auto;
  gap: 1.5rem 2rem;

  /* Mapping các vùng */
  grid-template-areas:
    "header  header"   /* H1 + eyebrow chiếm toàn bộ hàng 1 */
    "copy    snapshot"; /* excerpt/meta/actions | card */
}

.post-hero-copy {
  grid-area: copy;
}

.post-hero-copy h1 {
  margin: 10px 0 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

.post-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.post-info-card {
  padding: 28px;
    grid-area: snapshot;
  align-self: start; 
}

.snapshot-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.post-layout-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.post-main {
  min-width: 0;
}

.post-cover {
  height: 420px;
  background: radial-gradient(circle at top left, rgba(42, 108, 255, 0.9), rgba(9, 18, 33, 1) 52%, rgba(6, 17, 31, 1) 100%);
}

.post-cover-image-wrap {
  min-height: 420px;
}

.post-content {
  padding-top: 40px;
  max-width: 760px;
}

.post-content h2 {
  margin: 44px 0 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.post-content p,
.post-content li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.9;
}

.post-intro {
  font-size: 24px;
  line-height: 1.7;
  color: white;
}

.post-content blockquote {
  margin: 32px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 22px;
  line-height: 1.6;
  color: white;
}

.post-conclusion {
  margin-top: 36px;
  padding: 24px 26px;
  border-color: rgba(255, 228, 94, 0.18);
  background: linear-gradient(180deg, rgba(255, 228, 94, 0.08), rgba(255, 255, 255, 0.025));
}

.post-conclusion p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.post-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.toc-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.toc-links a {
  color: rgba(255, 255, 255, 0.74);
}

.toc-links a:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .header-row,
  .hero-grid,
  .two-col,
  .market-grid,
  .insights-grid,
  .network-block,
  .footer-grid,
  .cta-card,
  .footer-bottom,
  .stats-grid,
  .four-up,
  .blog-hero-grid,
  .blog-layout-grid,
  .post-hero-grid,
  .post-layout-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    flex-direction: column;
    align-items: start;
  }

  .footer-cols,
  .network-grid,
  .mini-grid,
  .two-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-row {
    gap: 16px;
  }

  .nav {
    justify-content: flex-start;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .header-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .brand {
    align-items: flex-start;
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-shell {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    gap: 12px;
    padding-top: 10px;
  }

  .nav-shell.is-open {
    display: grid;
  }

  .nav,
  .nav ul {
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .header-cta {
    width: 100%;
  }

  .footer-cols,
  .network-grid,
  .mini-grid,
  .two-up,
  .tag-list,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .thesis-head,
  .deal-card,
  .cta-card,
  .blog-list-card {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .blog-list-actions {
    justify-items: start;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .post-content p,
  .post-content li {
    font-size: 17px;
  }

  .post-intro,
  .post-content blockquote {
    font-size: 21px;
  }
}

@media (max-width: 768px) {

  /* =========================================
     CONTAINER & SECTION
  ========================================= */
  .container {
    width: calc(100% - 32px);
    margin-inline: auto;
  }

  .section {
    padding: 48px 0;
  }

  /* =========================================
     POST HERO — cấu trúc grid
  ========================================= */
  .post-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Thứ tự hiển thị */
  .post-hero-header { order: 1; }
  .post-hero-copy   { order: 2; }
  .post-info-card   { order: 3; }

  /* =========================================
     POST HERO — typography
  ========================================= */
  .post-hero-header h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
    line-height: 1.2;
  }

  .post-hero-copy .lead {
    font-size: 15px;
    line-height: 1.6;
  }

  /* =========================================
     POST HERO — meta row
  ========================================= */
  .post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
  }

  .post-meta-row span {
    font-size: 13px;
  }

  /* =========================================
     POST HERO — action buttons
  ========================================= */
  .post-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .post-hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }

  /* =========================================
     POST HERO — Article Snapshot card
  ========================================= */
  .post-info-card {
    width: 100%;
    padding: 20px;
  }

  .snapshot-list {
    padding-left: 16px;
  }

  .snapshot-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  /* =========================================
     POST LAYOUT — main + sidebar
  ========================================= */
  .post-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .post-main    { order: 1; }
  .post-sidebar { order: 2; }

  /* =========================================
     POST COVER IMAGE
  ========================================= */
.post-cover-image-wrap,
.post-cover {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  padding: 0 !important;
  line-height: 0; 
  min-height: auto;      /* ← triệt tiêu baseline gap */
}

.post-cover-image {
  width: 100%;
  height: auto;
  display: block;       /* ← quan trọng: xóa khoảng trắng dưới ảnh */
}

  /* =========================================
     POST CONTENT — bài viết
  ========================================= */
  .post-intro {
    font-size: 17px;
    line-height: 1.7;
  }

  .post-content p,
  .post-content li {
    font-size: 15px;
    line-height: 1.75;
  }

  .post-content h2 { font-size: 22px; }
  .post-content h3 { font-size: 19px; }

  .post-content blockquote {
    font-size: 16px;
    padding: 16px;
    margin-inline: 0;
  }

  .post-conclusion {
    padding: 20px;
  }

  /* =========================================
     SIDEBAR — các card
  ========================================= */
  .side-panel {
    padding: 20px;
    width: 100%;
  }

  /* TOC */
  .toc-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .toc-links a {
    font-size: 14px;
  }

  /* Author card */
  .author-card h3 {
    font-size: 18px;
  }

  .author-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Related reads */
  .popular-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .popular-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .popular-item strong {
    font-size: 14px;
    line-height: 1.4;
  }

  .popular-kicker {
    font-size: 12px;
  }

  /* Newsletter */
  .newsletter-card h3 {
    font-size: 18px;
  }

  .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .subscribe-form input[type="email"] {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .subscribe-form .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* =========================================
     CTA SECTION — cuối bài
  ========================================= */
  .cta-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px;
    text-align: center;
  }

  .cta-card h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .cta-card p {
    font-size: 14px;
  }

  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }

  /* =========================================
     BUTTONS — global mobile
  ========================================= */
  .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  /* =========================================
     CARDS — global
  ========================================= */
  .card {
    padding: 20px;
  }

}


.blog-shell .featured-article,
.blog-shell .blog-list-card,
.blog-shell .side-panel {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.blog-shell .side-panel {
  padding: 24px 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.blog-shell .side-panel + .side-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-shell .blog-layout-section {
  padding-top: 12px;
}

.blog-shell .blog-layout-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  gap: 44px;
}

.blog-shell .stack {
  gap: 24px;
}

.side-note-minimal {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.side-note-minimal p {
  max-width: 360px;
}


.blog-shell {
  background: transparent;
}

.blog-shell main {
  position: relative;
}

.blog-shell .blog-hero,
.blog-shell .blog-category-strip-section,
.blog-shell .blog-layout-section {
  background: transparent;
}

.blog-shell .blog-hero::before,
.blog-shell .blog-category-strip-section::before,
.blog-shell .blog-layout-section::before {
  display: none;
}

.blog-shell .container {
  width: min(calc(100% - 48px), 1380px);
}

.blog-shell .blog-hero {
  padding-top: 72px;
  padding-bottom: 28px;
}

.blog-shell .blog-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.blog-shell .blog-hero-side,
.blog-shell .side-note,
.blog-shell .side-note-minimal {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-shell .blog-category-strip-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.blog-shell .section-title {
  margin-bottom: 24px;
}

.blog-shell .blog-layout-section {
  padding-top: 18px;
}

.blog-shell .blog-layout-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  gap: 48px;
}

.blog-shell .featured-article {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.blog-shell .blog-list-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.blog-shell .side-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.blog-shell .side-panel + .side-panel {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.blog-shell .archive-heading {
  margin-top: 18px;
  margin-bottom: 20px;
}

.blog-shell .archive-heading h2 {
  margin-top: 8px;
}

.blog-shell .archive-heading p {
  margin-top: 8px;
  max-width: 760px;
}

.blog-shell .featured-article + .archive-heading {
  padding-top: 6px;
}

.blog-shell .blog-list {
  gap: 22px;
}

.blog-shell .blog-list-card {
  padding-top: 34px;
  padding-bottom: 34px;
}

.blog-shell .blog-list-copy h3 {
  margin-top: 10px;
  margin-bottom: 0;
}

.blog-shell .blog-list-copy p {
  margin-top: 16px;
}

.blog-shell .popular-stack {
  margin-top: 20px;
}


.blog-shell .blog-hero {
  padding-bottom: 34px;
}

.blog-shell .blog-hero-grid h1 {
  margin-bottom: 0;
}

.blog-shell .blog-hero-grid .lead {
  margin-top: 18px;
}

.blog-shell .blog-category-strip-section {
  padding-top: 22px;
  padding-bottom: 26px;
}

.blog-shell .blog-category-strip {
  gap: 14px;
}

.blog-shell .blog-layout-section {
  padding-top: 24px;
  padding-bottom: 72px;
}

.blog-shell .featured-article {
  margin-bottom: 6px;
}

.blog-shell .article-body {
  padding: 36px;
}

.blog-shell .article-body p {
  margin-top: 18px;
}

.blog-shell .meta {
  margin-top: 20px;
}

.blog-shell .article-actions {
  margin-top: 28px;
}

.blog-shell .archive-heading {
  padding-top: 4px;
  padding-bottom: 2px;
}

.blog-shell .side-panel h3 {
  margin-top: 10px;
}

.blog-shell .side-panel p {
  margin-top: 16px;
}

.blog-shell .tag-list.tall {
  gap: 12px;
  margin-top: 18px;
}

.blog-shell .tag-list.tall span {
  padding-top: 16px;
  padding-bottom: 16px;
}

.blog-shell .subscribe-form {
  margin-top: 20px;
}

.blog-shell .popular-item {
  padding-top: 16px;
  padding-bottom: 16px;
}


.site-shell .hero-grid .lead {
  margin-top: 20px;
  max-width: 860px;
}

.site-shell .hero-actions {
  margin-top: 28px;
}

.site-shell .stats-grid {
  margin-top: 30px;
}

.site-shell .thesis-card {
  padding: 30px;
}

.site-shell .thesis-head {
  margin-bottom: 20px;
}

.site-shell .editorial-top {
  padding-top: 54px;
}

.site-shell .feature-guide,
.site-shell .seo-topics {
  padding: 30px;
}

.site-shell .feature-guide h2,
.site-shell .seo-topics h2,
.site-shell .seo-topics h3 {
  margin-top: 8px;
}

.site-shell .tag-list {
  margin-top: 20px;
}

.site-shell .section-title {
  margin-bottom: 36px;
}

.site-shell .market-grid,
.site-shell .insights-grid,
.site-shell .network-block {
  gap: 30px;
}

.site-shell .deal-card {
  padding: 30px;
}

.site-shell .deal-card .tag {
  align-self: start;
}

.post-shell .post-hero-section {
  padding-top: 60px;
  padding-bottom: 30px;
}

.post-shell .post-hero-copy .lead {
  margin-top: 18px;
  max-width: 820px;
}

.post-shell .post-meta-row {
  margin-top: 20px;
}

.post-shell .post-hero-actions {
  margin-top: 24px;
}

.post-shell .post-layout-section {
  padding-top: 26px;
  padding-bottom: 76px;
}

.post-shell .post-cover,
.post-shell .post-cover-image-wrap {
  margin-bottom: 8px;
}

.post-shell .post-content {
  padding-top: 44px;
}

.post-shell .post-content > p + h2,
.post-shell .post-content > blockquote + h2,
.post-shell .post-content > p + blockquote {
  margin-top: 42px;
}

.post-shell .post-sidebar {
  gap: 24px;
}

.post-shell .toc-links {
  margin-top: 14px;
}


body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lead {
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.76);
}

.section-title h2,
.feature-guide h2,
.seo-topics h2,
.post-hero-copy h1,
.blog-hero-grid h1 {
  letter-spacing: -0.04em;
}

.section-title h2 {
  line-height: 1.08;
}

.info-card h3,
.deal-card h3,
.post-card h3,
.side-panel h3,
.featured-article h3,
.blog-list-copy h3,
.post-sidebar h3 {
  letter-spacing: -0.03em;
}

.info-card p,
.deal-card p,
.post-card p,
.side-panel p,
.featured-article p,
.feature-guide p,
.seo-topics p,
.note-box p,
.cta-card p,
.site-footer p,
.blog-list-copy p,
.post-content p,
.post-content li {
  color: rgba(255, 255, 255, 0.74);
}

.eyebrow,
.meta,
.popular-kicker,
.brand-top {
  font-weight: 600;
}

.meta {
  letter-spacing: 0.18em;
}

.post-content p,
.post-content li {
  font-size: 18px;
  line-height: 1.92;
}

.post-intro {
  font-size: 21px;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.82);
}

blockquote,
.post-content blockquote {
  letter-spacing: -0.02em;
}
