/* ============================================================
   DINH GAME VIET - template 1203
   Felt green + emerald + warm sand. Montserrat display,
   Be Vietnam Pro body. Split nav with centered brand,
   full-screen overlay menu, split hero, ticker marquee,
   staggered category grid, tabbed topic panes, image-left FAQ.
   ============================================================ */

:root {
  --dn-felt: #0d4f3c;
  --dn-felt-deep: #062d22;
  --dn-felt-soft: #14654d;
  --dn-emerald: #10b981;
  --dn-emerald-deep: #0b8f66;
  --dn-sand: #f7f4ec;
  --dn-sand-deep: #efe9d9;
  --dn-paper: #fffdf8;
  --dn-ink: #122019;
  --dn-mute: #5d6f66;
  --dn-line: #e3ddcb;
  --dn-line-dark: rgba(255, 255, 255, .14);
  --dn-font-display: 'Montserrat', 'Be Vietnam Pro', Arial, sans-serif;
  --dn-font-body: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  --dn-shadow: 0 18px 42px rgba(6, 45, 34, .12);
  --dn-shadow-soft: 0 10px 26px rgba(6, 45, 34, .08);
  --dn-radius: 18px;
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.dn-body {
  font-family: var(--dn-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dn-ink);
  background: var(--dn-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.dn-locked { overflow: hidden; }
img {height:auto; max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
main { display: block; }
[hidden] { display: none !important; }

.dn-shell { width: min(1220px, 100% - 48px); margin-inline: auto; }

.dn-skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--dn-felt-deep); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.dn-skip:focus { left: 0; }

/* ---------- buttons ---------- */
.dn-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--dn-font-display);
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.dn-btn b { font-weight: 800; transition: transform .25s ease; }
.dn-btn:hover b { transform: translateX(4px); }
.dn-btn-em { background: var(--dn-emerald); color: #fff; box-shadow: 0 10px 22px rgba(16, 185, 129, .32); }
.dn-btn-em:hover { background: var(--dn-emerald-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 185, 129, .4); }
.dn-btn-felt { background: var(--dn-felt); color: #fff; box-shadow: 0 10px 22px rgba(13, 79, 60, .28); }
.dn-btn-felt:hover { background: var(--dn-felt-deep); transform: translateY(-2px); }
.dn-btn-ghost { background: transparent; color: var(--dn-felt); border: 2px solid var(--dn-felt); }
.dn-btn-ghost:hover { background: var(--dn-felt); color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.dn-header {
  position: relative; z-index: 120;
  background: linear-gradient(180deg, var(--dn-felt-deep), var(--dn-felt));
  color: #fff;
}
.dn-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--dn-emerald), rgba(16, 185, 129, .15) 55%, var(--dn-emerald));
}
.dn-header-in { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; }
.dn-brand { display: inline-flex; align-items: center; }
.dn-brand-img { width: auto; height: 44px; object-fit: contain; }
.dn-brand-mini { display: none; }

.dn-nav { width: 100%; }
.dn-nav-list { display: flex; align-items: center; justify-content: center; gap: 2px; }
.dn-nav-cell { display: flex; }
.dn-nav-a {
  position: relative;
  font-family: var(--dn-font-display);
  font-size: 13.5px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  padding: 34px 13px;
  transition: color .2s ease;
}
.dn-nav-a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 24px;
  height: 3px; border-radius: 2px; background: var(--dn-emerald);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.dn-nav-a:hover, .dn-nav-a.is-active { color: #fff; }
.dn-nav-a:hover::after, .dn-nav-a.is-active::after { transform: scaleX(1); }
.dn-nav-brand { padding: 0 14px; }
.dn-nav-brand .dn-brand { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dn-line-dark); transition: background .25s ease, transform .25s ease; }
.dn-nav-brand .dn-brand:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.dn-nav-brand .dn-brand-img { height: 40px; }

.dn-burger {
  display: none; position: relative; z-index: 210;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--dn-line-dark);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.dn-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.dn-burger.is-on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dn-burger.is-on span:nth-child(2) { opacity: 0; }
.dn-burger.is-on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- full-screen overlay menu ---------- */
.dn-overlay {
  position: fixed; inset: 0; z-index: 200;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(16, 185, 129, .22), transparent 60%),
    linear-gradient(160deg, var(--dn-felt-deep), #04170f 70%);
  color: #fff;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
  overflow-y: auto;
}
.dn-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.dn-overlay-in {
  min-height: 100%;
  width: min(760px, 100% - 48px); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; padding: 90px 0 60px; text-align: center;
}
.dn-brand-ov .dn-brand-img { height: 54px; }
.dn-ov-list { display: grid; gap: 4px; width: 100%; }
.dn-ov-list a {
  display: block;
  font-family: var(--dn-font-display);
  font-size: clamp(22px, 4.6vw, 32px); font-weight: 800; letter-spacing: .01em;
  padding: 10px 16px; border-radius: 14px;
  color: rgba(255, 255, 255, .9);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.dn-ov-list a:hover { color: #fff; background: rgba(16, 185, 129, .16); transform: translateX(6px); }
.dn-ov-note {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  padding-top: 18px; border-top: 1px solid var(--dn-line-dark);
}

/* ---------- hero (split) ---------- */
.dn-hero {
  position: relative;
  background:
    radial-gradient(760px 420px at 8% 0%, rgba(16, 185, 129, .12), transparent 62%),
    var(--dn-sand);
  overflow: hidden;
}
.dn-hero-in {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.dn-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--dn-font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--dn-emerald-deep); margin-bottom: 18px;
}
.dn-hero-kicker span { width: 34px; height: 2px; background: var(--dn-emerald); border-radius: 2px; }
.dn-hero-title {
  font-family: var(--dn-font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900; line-height: 1.12; letter-spacing: -.015em;
  color: var(--dn-felt-deep); margin-bottom: 20px;
}
.dn-hero-desc { font-size: 17px; color: var(--dn-mute); max-width: 52ch; margin-bottom: 30px; }
.dn-hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.dn-hero-stats { display: flex; flex-wrap: wrap; gap: 0 44px; }
.dn-hero-stats li { display: flex; flex-direction: column; padding-top: 16px; border-top: 2px solid var(--dn-line); min-width: 118px; }
.dn-hero-stats strong { font-family: var(--dn-font-display); font-size: 30px; font-weight: 900; color: var(--dn-felt); line-height: 1.1; }
.dn-hero-stats span { font-size: 13.5px; color: var(--dn-mute); margin-top: 4px; }

.dn-hero-media { position: relative; min-height: 420px; }
.dn-hero-main {
  position: absolute; top: 0; right: 0; width: 82%;
  border-radius: 24px; overflow: hidden;
  transform: rotate(2.2deg);
  box-shadow: var(--dn-shadow);
  border: 6px solid #fff;
}
.dn-hero-main img { width: 100%; height: 100%; object-fit: cover; }
.dn-hero-sub {
  position: absolute; left: 0; bottom: 0; width: 52%;
  border-radius: 20px; overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: var(--dn-shadow);
  border: 6px solid #fff;
}
.dn-hero-sub img { width: 100%; height: 100%; object-fit: cover; }
.dn-hero-badge {
  position: absolute; right: -6px; bottom: 8%;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--dn-felt-deep); color: #fff;
  border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--dn-shadow);
  max-width: 240px;
  border-left: 4px solid var(--dn-emerald);
  transition: transform .25s ease, background .25s ease;
}
.dn-hero-badge:hover { transform: translateY(-4px); background: var(--dn-felt); }
.dn-hero-badge-t { font-family: var(--dn-font-display); font-weight: 800; font-size: 15px; }
.dn-hero-badge-d { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.dn-hero-badge-d b { color: var(--dn-emerald); }

/* ---------- ticker ---------- */
.dn-ticker {
  background: var(--dn-felt-deep); color: #fff;
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--dn-line-dark);
}
.dn-ticker-track { display: inline-flex; animation: dn-ticker 30s linear infinite; }
.dn-ticker:hover .dn-ticker-track { animation-play-state: paused; }
.dn-ticker-run { display: inline-flex; align-items: center; }
.dn-ticker-run i {
  font-style: normal;
  font-family: var(--dn-font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 22px; color: rgba(255, 255, 255, .88);
}
.dn-ticker-run b { color: var(--dn-emerald); font-size: 11px; }
@keyframes dn-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections & heads ---------- */
.dn-section { padding: clamp(56px, 7vw, 96px) 0; }
.dn-section-soft { background: var(--dn-sand); }
.dn-section-band {
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(16, 185, 129, .2), transparent 60%),
    linear-gradient(150deg, var(--dn-felt), var(--dn-felt-deep));
  color: #fff;
}
.dn-section-band .dn-h2 { color: #fff; }
.dn-section-band .dn-head-desc { color: rgba(255, 255, 255, .72); }

.dn-head { margin-bottom: clamp(32px, 4vw, 52px); }
.dn-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.dn-head-center { text-align: center; max-width: 680px; margin-inline: auto; }
.dn-kicker {
  font-family: var(--dn-font-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--dn-emerald-deep); margin-bottom: 12px;
}
.dn-kicker-light { color: var(--dn-emerald); }
.dn-h2 {
  font-family: var(--dn-font-display);
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.18;
  color: var(--dn-felt-deep); letter-spacing: -.01em;
}
.dn-head-desc { color: var(--dn-mute); margin-top: 12px; max-width: 60ch; }
.dn-head-center .dn-head-desc { margin-inline: auto; }

/* ---------- staggered category grid ---------- */
.dn-catgrid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.dn-catcard { transition: transform .3s ease; }
.dn-catcard:nth-child(4n+2) { transform: translateY(26px); }
.dn-catcard:nth-child(4n+3) { transform: translateY(52px); }
.dn-catcard:nth-child(4n+4) { transform: translateY(26px); }
.dn-catgrid { padding-bottom: 52px; }
.dn-catcard-link {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--dn-radius);
  overflow: hidden;
  border: 1px solid var(--dn-line);
  box-shadow: var(--dn-shadow-soft);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.dn-catcard:hover .dn-catcard-link { border-color: var(--dn-emerald); box-shadow: var(--dn-shadow); }
.dn-catcard-media { display: block; aspect-ratio: 900 / 620; overflow: hidden; }
.dn-catcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dn-catcard:hover .dn-catcard-media img { transform: scale(1.06); }
.dn-catcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.dn-catcard-name { font-family: var(--dn-font-display); font-size: 18px; font-weight: 800; color: var(--dn-felt-deep); }
.dn-catcard-desc { font-size: 13.5px; color: var(--dn-mute); line-height: 1.6; }
.dn-catcard-more {
  margin-top: 6px;
  font-family: var(--dn-font-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dn-emerald-deep);
}
.dn-catcard-more b { display: inline-block; transition: transform .25s ease; }
.dn-catcard:hover .dn-catcard-more b { transform: translateX(5px); }

/* ---------- tabs ---------- */
.dn-tabs-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 34px;
}
.dn-tab {
  font-family: var(--dn-font-display);
  font-size: 14px; font-weight: 700; letter-spacing: .03em;
  padding: 11px 24px; border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  border: 1.5px solid rgba(255, 255, 255, .28);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.dn-tab:hover { border-color: var(--dn-emerald); color: #fff; transform: translateY(-2px); }
.dn-tab.is-on { background: var(--dn-emerald); border-color: var(--dn-emerald); color: #fff; box-shadow: 0 10px 22px rgba(16, 185, 129, .35); }
.dn-pane-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dn-pane.is-on { animation: dn-pane-in .4s ease; }
@keyframes dn-pane-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dn-pane-item {
  display: block; background: rgba(255, 255, 255, .07);
  border: 1px solid var(--dn-line-dark);
  border-radius: 16px; overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.dn-pane-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .12); border-color: var(--dn-emerald); }
.dn-pane-item img { width: 100%; aspect-ratio: 800 / 560; object-fit: cover; }
.dn-pane-text { display: block; padding: 15px 16px 17px; }
.dn-pane-text strong {
  display: block;
  font-size: 14.5px; font-weight: 600; line-height: 1.45; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dn-pane-text time { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .55); }

/* ---------- news cards ---------- */
.dn-grid { display: grid; gap: 26px; }
.dn-grid-4 { grid-template-columns: repeat(4, 1fr); }
.dn-card {
  background: #fff; border-radius: var(--dn-radius);
  border: 1px solid var(--dn-line);
  overflow: hidden;
  box-shadow: var(--dn-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.dn-card:hover { transform: translateY(-6px); box-shadow: var(--dn-shadow); border-color: var(--dn-emerald); }
.dn-card-link { display: flex; flex-direction: column; height: 100%; }
.dn-card-media { position: relative; display: block; aspect-ratio: 800 / 560; overflow: hidden; }
.dn-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dn-card:hover .dn-card-media img { transform: scale(1.06); }
.dn-card-date {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(6, 45, 34, .86); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(3px);
}
.dn-card-body { display: flex; flex-direction: column; gap: 9px; padding: 19px 20px 22px; flex: 1; }
.dn-card-cat {
  align-self: flex-start;
  font-family: var(--dn-font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dn-emerald-deep);
  background: rgba(16, 185, 129, .12);
  padding: 4px 11px; border-radius: 999px;
}
.dn-card-title {
  font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--dn-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dn-card-desc {
  font-size: 13.5px; color: var(--dn-mute); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dn-more {
  margin-top: auto;
  font-family: var(--dn-font-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dn-felt);
}
.dn-more b { display: inline-block; color: var(--dn-emerald-deep); transition: transform .25s ease; }
.dn-card:hover .dn-more b, .dn-row:hover .dn-more b { transform: translateX(5px); }

/* ---------- FAQ (image left, accordion right) ---------- */
.dn-faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.dn-faq-media {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: var(--dn-shadow);
  border: 6px solid #fff;
}
.dn-faq-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 800 / 1000; }
.dn-faq-media-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(6, 45, 34, .92) 46%);
  color: #fff;
}
.dn-faq-media-cap .dn-h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.dn-faq-note { font-size: 14px; color: rgba(255, 255, 255, .8); margin-top: 10px; }
.dn-faq-list { display: flex; flex-direction: column; gap: 14px; }
.dn-faq-item {
  background: #fff; border: 1px solid var(--dn-line); border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.dn-faq-item:hover { border-color: var(--dn-emerald); }
.dn-faq-h { font-size: inherit; font-weight: inherit; }
.dn-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  font-family: var(--dn-font-display);
  font-size: 15.5px; font-weight: 700; color: var(--dn-felt-deep);
  padding: 19px 22px;
}
.dn-faq-q i {
  position: relative; flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(16, 185, 129, .14);
  transition: background .25s ease, transform .3s ease;
}
.dn-faq-q i::before, .dn-faq-q i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: var(--dn-emerald-deep);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform .3s ease, background .25s ease;
}
.dn-faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.dn-faq-q[aria-expanded="true"] i { background: var(--dn-emerald); transform: rotate(180deg); }
.dn-faq-q[aria-expanded="true"] i::before, .dn-faq-q[aria-expanded="true"] i::after { background: #fff; }
.dn-faq-q[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0deg); }
.dn-faq-a { padding: 0 22px 20px; }
.dn-faq-a p { font-size: 14.5px; color: var(--dn-mute); line-height: 1.75; border-top: 1px dashed var(--dn-line); padding-top: 16px; }

/* ---------- about ---------- */
.dn-about-wrap { text-align: center; }
.dn-about-copy { max-width: 780px; margin-inline: auto; }
.dn-about-desc { color: var(--dn-mute); margin: 16px auto 34px; max-width: 62ch; }
.dn-about-circles { display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; margin-bottom: 38px; }
.dn-about-circles li {
  width: 152px; height: 152px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 2px solid var(--dn-emerald);
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, .14), transparent 70%), #fff;
  box-shadow: var(--dn-shadow-soft);
  padding: 18px;
}
.dn-about-circles strong { font-family: var(--dn-font-display); font-size: 26px; font-weight: 900; color: var(--dn-felt); line-height: 1.1; }
.dn-about-circles span { font-size: 12px; color: var(--dn-mute); line-height: 1.4; }
.dn-about-media {
  margin-top: 52px; border-radius: 26px; overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--dn-shadow);
}
.dn-about-media img { width: 100%; object-fit: cover; max-height: 460px; }

/* ---------- inner banner ---------- */
.dn-ibanner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 300px at 88% 0%, rgba(16, 185, 129, .24), transparent 60%),
    linear-gradient(140deg, var(--dn-felt), var(--dn-felt-deep));
  color: #fff;
  padding: clamp(44px, 6vw, 72px) 0 clamp(54px, 7vw, 84px);
}
.dn-ibanner-in { position: relative; z-index: 2; max-width: 720px; }
.dn-ibanner-kicker {
  font-family: var(--dn-font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--dn-emerald); margin-bottom: 10px;
}
.dn-ibanner-head {
  font-family: var(--dn-font-display);
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.15;
}
.dn-ibanner-desc { margin-top: 12px; color: rgba(255, 255, 255, .78); max-width: 58ch; font-size: 15px; }
.dn-ibanner-peak {
  position: absolute; right: -60px; bottom: -10px; z-index: 1;
  width: 460px; height: 300px; pointer-events: none;
  background:
    linear-gradient(135deg, transparent 50%, rgba(16, 185, 129, .2) 50.5%) 0 100% / 50% 78% no-repeat,
    linear-gradient(225deg, transparent 50%, rgba(255, 255, 255, .08) 50.5%) 100% 100% / 58% 100% no-repeat;
  opacity: .9;
}

/* ---------- breadcrumb ---------- */
.dn-crumb { background: var(--dn-sand); border-bottom: 1px solid var(--dn-line); }
.dn-crumb-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 13px 0;
  font-size: 13.5px; color: var(--dn-mute);
}
.dn-crumb-line a { color: var(--dn-felt); font-weight: 600; transition: color .2s ease; }
.dn-crumb-line a:hover { color: var(--dn-emerald-deep); }
.dn-crumb-sep { color: var(--dn-line); font-weight: 700; }
.dn-crumb-now { color: var(--dn-mute); font-weight: 600; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.dn-crumb-now { color: var(--dn-emerald-deep); }

/* ---------- page head (category) ---------- */
.dn-page { background: var(--dn-paper); }
.dn-page-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.dn-page-h1 {
  font-family: var(--dn-font-display);
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; color: var(--dn-felt-deep);
  margin-bottom: 14px;
}
.dn-page-desc { color: var(--dn-mute); font-size: 15.5px; line-height: 1.75; margin-bottom: 24px; }
.dn-page-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- other categories (category page) ---------- */
.dn-other { margin-top: clamp(40px, 5vw, 64px); }
.dn-block-h {
  font-family: var(--dn-font-display);
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--dn-felt-deep);
  padding-left: 16px; border-left: 4px solid var(--dn-emerald);
  margin-bottom: 26px;
}
.dn-other-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dn-other-list a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--dn-line); border-radius: 16px; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.dn-other-list a:hover { transform: translateY(-4px); border-color: var(--dn-emerald); box-shadow: var(--dn-shadow-soft); }
.dn-other-list img { width: 100%; aspect-ratio: 900 / 620; object-fit: cover; }
.dn-other-body { display: flex; flex-direction: column; gap: 6px; padding: 15px 16px 17px; }
.dn-other-body strong { font-family: var(--dn-font-display); font-size: 15px; font-weight: 800; color: var(--dn-felt-deep); }
.dn-other-body span { font-size: 12.5px; color: var(--dn-mute); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- list page ---------- */
.dn-list-wrap { display: grid; grid-template-columns: 1fr 330px; gap: clamp(30px, 4vw, 52px); align-items: start; }
.dn-list-main .dn-page-h1 { margin-bottom: 26px; }
.dn-rows { display: flex; flex-direction: column; gap: 20px; }
.dn-row {
  background: #fff; border: 1px solid var(--dn-line); border-radius: var(--dn-radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.dn-row:hover { transform: translateY(-3px); box-shadow: var(--dn-shadow-soft); border-color: var(--dn-emerald); }
.dn-row-link { display: flex; align-items: stretch; gap: 0; }
.dn-row-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; min-width: 0; }
.dn-row-meta { font-size: 12.5px; color: var(--dn-mute); font-weight: 600; }
.dn-row-meta i { margin: 0 8px; color: var(--dn-emerald); font-style: normal; }
.dn-row-title {
  font-size: 17.5px; font-weight: 700; line-height: 1.45; color: var(--dn-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s ease;
}
.dn-row:hover .dn-row-title { color: var(--dn-emerald-deep); }
.dn-row-desc {
  font-size: 14px; color: var(--dn-mute); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dn-row-body .dn-more { margin-top: 8px; }
.dn-row-media { flex: 0 0 236px; overflow: hidden; }
.dn-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dn-row:hover .dn-row-media img { transform: scale(1.05); }

.dn-pagi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.dn-pagi-btn {
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px;
  font-family: var(--dn-font-display); font-size: 14px; font-weight: 700;
  color: var(--dn-felt); background: #fff;
  border: 1.5px solid var(--dn-line);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.dn-pagi-btn:hover:not(:disabled):not(.is-cur) { border-color: var(--dn-emerald); color: var(--dn-emerald-deep); transform: translateY(-2px); }
.dn-pagi-btn.is-cur { background: var(--dn-felt); border-color: var(--dn-felt); color: #fff; }
.dn-pagi-btn:disabled { opacity: .42; cursor: not-allowed; }

/* ---------- sidebar ---------- */
.dn-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.dn-side-box {
  background: #fff; border: 1px solid var(--dn-line); border-radius: var(--dn-radius);
  padding: 22px 22px 24px;
  box-shadow: var(--dn-shadow-soft);
}
.dn-side-h {
  font-family: var(--dn-font-display);
  font-size: 16.5px; font-weight: 800; color: var(--dn-felt-deep);
  padding-bottom: 13px; margin-bottom: 16px;
  border-bottom: 2px solid var(--dn-sand-deep);
  position: relative;
}
.dn-side-h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 2px; background: var(--dn-emerald); }
.dn-side-hot { display: flex; flex-direction: column; gap: 14px; }
.dn-side-hot a { display: flex; gap: 12px; align-items: center; }
.dn-side-hot img { flex: 0 0 76px; width: 76px; height: 58px; object-fit: cover; border-radius: 10px; }
.dn-side-hot-body { min-width: 0; }
.dn-side-hot-body strong {
  display: block; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--dn-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s ease;
}
.dn-side-hot a:hover .dn-side-hot-body strong { color: var(--dn-emerald-deep); }
.dn-side-hot-body time { display: block; font-size: 11.5px; color: var(--dn-mute); margin-top: 4px; }
.dn-side-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--dn-font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--dn-emerald-deep);
}
.dn-side-more b { transition: transform .25s ease; }
.dn-side-more:hover b { transform: translateX(4px); }
.dn-side-list { display: flex; flex-direction: column; }
.dn-side-list a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed var(--dn-line);
  font-size: 14px; font-weight: 500; color: var(--dn-ink); line-height: 1.5;
  transition: color .2s ease;
}
.dn-side-list li:last-child a { border-bottom: 0; }
.dn-side-list a:hover { color: var(--dn-emerald-deep); }
.dn-side-num {
  flex: 0 0 26px;
  font-family: var(--dn-font-display); font-size: 15px; font-weight: 900;
  color: var(--dn-emerald);
}
.dn-side-note { background: linear-gradient(150deg, var(--dn-felt), var(--dn-felt-deep)); border-color: transparent; color: #fff; }
.dn-side-note .dn-side-h { color: #fff; border-bottom-color: var(--dn-line-dark); }
.dn-side-note p { font-size: 13.5px; color: rgba(255, 255, 255, .78); line-height: 1.7; margin-bottom: 18px; }

/* ---------- article (show) ---------- */
.dn-article-wrap { display: grid; grid-template-columns: 1fr 330px; gap: clamp(30px, 4vw, 52px); align-items: start; }
.dn-article-h1 {
  font-family: var(--dn-font-display);
  font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.25;
  color: var(--dn-felt-deep); margin-bottom: 18px; letter-spacing: -.01em;
}
.dn-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--dn-line); }
.dn-meta-chip {
  font-family: var(--dn-font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--dn-felt);
  padding: 5px 13px; border-radius: 999px;
}
.dn-meta-item { font-size: 13.5px; color: var(--dn-mute); }
.dn-meta-item b { color: var(--dn-ink); font-weight: 600; }
.dn-article-figure { margin-bottom: 28px; border-radius: var(--dn-radius); overflow: hidden; box-shadow: var(--dn-shadow-soft); }
.dn-article-figure img { width: 100%; object-fit: cover; }
.dn-article-body { font-size: 16px; line-height: 1.85; color: #2a3a32; }
.dn-article-body p { margin-bottom: 18px; }
.dn-article-body h2 {
  font-family: var(--dn-font-display);
  font-size: 23px; font-weight: 800; color: var(--dn-felt-deep);
  margin: 34px 0 16px; padding-left: 15px; border-left: 4px solid var(--dn-emerald);
  line-height: 1.35;
}
.dn-article-body h3 {
  font-family: var(--dn-font-display);
  font-size: 18.5px; font-weight: 700; color: var(--dn-felt);
  margin: 26px 0 12px; line-height: 1.4;
}
.dn-article-body ul, .dn-article-body ol { margin: 0 0 18px 22px; }
.dn-article-body ul li, .dn-article-body ol li { list-style: disc; margin-bottom: 9px; }
.dn-article-body ol li { list-style: decimal; }
.dn-article-body strong, .dn-article-body b { color: var(--dn-felt-deep); }
.dn-article-body a { color: var(--dn-emerald-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dn-article-body img { border-radius: 14px; margin: 22px auto; }
.dn-article-body blockquote {
  margin: 24px 0; padding: 18px 22px;
  background: var(--dn-sand); border-left: 4px solid var(--dn-emerald);
  border-radius: 0 14px 14px 0;
  color: var(--dn-felt); font-style: italic;
}
.dn-article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.dn-article-body th, .dn-article-body td { border: 1px solid var(--dn-line); padding: 11px 14px; text-align: left; }
.dn-article-body th { background: var(--dn-sand); color: var(--dn-felt-deep); font-weight: 700; }

.dn-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--dn-line); }
.dn-tag-label { font-size: 13px; font-weight: 600; color: var(--dn-mute); margin-right: 4px; }
.dn-tag {
  font-size: 13px; font-weight: 600; color: var(--dn-felt);
  background: var(--dn-sand); border: 1px solid var(--dn-line);
  padding: 6px 15px; border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dn-tag:hover { background: var(--dn-felt); color: #fff; border-color: var(--dn-felt); }

.dn-switcher {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 34px;
}
.dn-switcher-cell {
  background: #fff; border: 1px solid var(--dn-line); border-radius: 16px;
  padding: 18px 20px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.dn-switcher-cell:hover { border-color: var(--dn-emerald); box-shadow: var(--dn-shadow-soft); }
.dn-switcher-next { text-align: right; }
.dn-switcher-label {
  display: block;
  font-family: var(--dn-font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dn-emerald-deep);
  margin-bottom: 8px;
}
.dn-switcher-link { font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--dn-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dn-switcher-link:hover { color: var(--dn-emerald-deep); }
.dn-switcher-empty { font-size: 13.5px; color: var(--dn-mute); font-style: italic; }

.dn-related { margin-top: clamp(40px, 5vw, 60px); }
.dn-related .dn-card-body { padding-bottom: 20px; }

/* ---------- friend links ---------- */
.dn-flink { background: var(--dn-sand); border-top: 1px solid var(--dn-line); padding: clamp(40px, 5vw, 60px) 0; }
.dn-flink-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.dn-flink-title { font-family: var(--dn-font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--dn-felt-deep); }
.dn-flink-note { font-size: 13.5px; color: var(--dn-mute); margin-top: 8px; }
.dn-flink-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.dn-flink-pill {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--dn-line); border-radius: 999px;
  padding: 8px 20px 8px 8px;
  font-size: 14px; font-weight: 600; color: var(--dn-ink);
  box-shadow: var(--dn-shadow-soft);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dn-flink-pill:hover { transform: translateY(-3px); border-color: var(--dn-emerald); box-shadow: var(--dn-shadow); }
.dn-flink-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* ---------- footer ---------- */
.dn-footer {
  background:
    radial-gradient(720px 320px at 12% 0%, rgba(16, 185, 129, .12), transparent 60%),
    var(--dn-felt-deep);
  color: rgba(255, 255, 255, .82);
}
.dn-foot-top {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px);
  padding: clamp(44px, 5.5vw, 68px) 0 34px;
  border-bottom: 1px solid var(--dn-line-dark);
}
.dn-foot-brand .dn-brand-img { height: 48px; margin-bottom: 16px; }
.dn-foot-slogan { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .62); max-width: 46ch; }
.dn-foot-h {
  font-family: var(--dn-font-display);
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(16, 185, 129, .5);
  display: inline-block;
}
.dn-foot-info { display: flex; flex-direction: column; gap: 12px; }
.dn-foot-info li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 14px; }
.dn-foot-key { color: rgba(255, 255, 255, .48); font-weight: 600; }
.dn-foot-val { color: rgba(255, 255, 255, .85); }
.dn-foot-mid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  padding: 34px 0;
  border-bottom: 1px solid var(--dn-line-dark);
}
.dn-foot-list { display: flex; flex-direction: column; gap: 10px; }
.dn-foot-list a { font-size: 14px; color: rgba(255, 255, 255, .7); transition: color .2s ease, padding-left .2s ease; }
.dn-foot-list a:hover { color: var(--dn-emerald); padding-left: 6px; }
.dn-foot-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.dn-foot-base { padding: 22px 0 26px; }
.dn-foot-copy { font-size: 13px; color: rgba(255, 255, 255, .5); line-height: 1.7; margin-bottom: 12px; }
.dn-foot-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .45); }
.dn-foot-sitemap { color: var(--dn-emerald); font-weight: 600; }
.dn-foot-sitemap:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- back to top ---------- */
.dn-top-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--dn-felt); color: #fff; font-size: 19px;
  box-shadow: var(--dn-shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.dn-top-btn.is-show { opacity: 1; visibility: visible; transform: none; }
.dn-top-btn:hover { background: var(--dn-emerald-deep); }

/* ---------- 404 ---------- */
.dn-404 {
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(16, 185, 129, .14), transparent 60%),
    var(--dn-sand);
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.dn-404-code {
  font-family: var(--dn-font-display);
  font-size: clamp(90px, 16vw, 168px); font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px var(--dn-felt);
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.dn-404-title { font-family: var(--dn-font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--dn-felt-deep); margin-bottom: 14px; }
.dn-404-desc { color: var(--dn-mute); max-width: 52ch; margin: 0 auto 30px; }
.dn-404-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.dn-404-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dn-404-cats a {
  font-size: 13.5px; font-weight: 600; color: var(--dn-felt);
  background: #fff; border: 1px solid var(--dn-line); border-radius: 999px;
  padding: 8px 18px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dn-404-cats a:hover { background: var(--dn-felt); color: #fff; border-color: var(--dn-felt); }

/* ---------- reveal (JS gated) ---------- */
html.dn-js .dn-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.dn-js .dn-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .dn-nav-a { padding: 30px 9px; font-size: 12.5px; }
  .dn-nav-brand { padding: 0 8px; }
  .dn-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .dn-pane-grid { grid-template-columns: repeat(2, 1fr); }
  .dn-catgrid { grid-template-columns: repeat(3, 1fr); }
  .dn-catcard:nth-child(n) { transform: none; }
  .dn-catgrid { padding-bottom: 0; }
  .dn-other-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .dn-header-in { justify-content: space-between; min-height: 72px; }
  .dn-nav { display: none; }
  .dn-brand-mini { display: inline-flex; }
  .dn-brand-mini .dn-brand-img { height: 38px; }
  .dn-burger { display: inline-flex; }
  .dn-hero-in { grid-template-columns: 1fr; gap: 46px; }
  .dn-hero-media { min-height: 380px; max-width: 560px; }
  .dn-faq-wrap { grid-template-columns: 1fr; }
  .dn-faq-media { max-width: 460px; margin-inline: auto; }
  .dn-list-wrap, .dn-article-wrap { grid-template-columns: 1fr; }
  .dn-side { position: static; }
}

@media (max-width: 860px) {
  .dn-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dn-catgrid { grid-template-columns: repeat(2, 1fr); }
  .dn-other-list { grid-template-columns: repeat(2, 1fr); }
  .dn-foot-top { grid-template-columns: 1fr; }
  .dn-foot-mid { grid-template-columns: 1fr; }
  .dn-ibanner-peak { width: 320px; height: 210px; right: -90px; }
}

@media (max-width: 600px) {
  .dn-shell { width: calc(100% - 32px); }
  .dn-hero-stats { gap: 0 26px; }
  .dn-hero-media { min-height: 320px; }
  .dn-hero-badge { right: 0; bottom: -6px; max-width: 210px; padding: 13px 16px; }
  .dn-grid-4 { grid-template-columns: 1fr; }
  .dn-pane-grid { grid-template-columns: 1fr; }
  .dn-catgrid { grid-template-columns: 1fr; }
  .dn-other-list { grid-template-columns: 1fr; }
  .dn-row-link { flex-direction: column-reverse; }
  .dn-row-media { flex: none; }
  .dn-row-media img { height: 190px; }
  .dn-switcher { grid-template-columns: 1fr; }
  .dn-switcher-next { text-align: left; }
  .dn-about-circles li { width: 132px; height: 132px; }
  .dn-foot-cats { grid-template-columns: 1fr 1fr; }
  .dn-article-meta { gap: 8px 12px; }
  .dn-top-btn { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dn-ticker-track { animation: none; }
  .dn-pane.is-on { animation: none; }
  html.dn-js .dn-reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
