/*
Theme Name: ResearchDA
Theme URI: https://researchda.xyz/
Author: ResearchDA
Description: Custom WordPress theme converted from the ResearchDA static frontend.
Version: 1.0.0
Text Domain: researchda
*/

:root {
  --ink: #0e1523;
  --ink-2: #182333;
  --muted: #687386;
  --line: #e3e8ef;
  --soft: #f7f9fc;
  --white: #ffffff;
  --cyan: #20d9f2;
  --cyan-2: #31c8e8;
  --yellow: #f5ad16;
  --green: #1eb980;
  --orange: #ff8a00;
  --red: #ef4f5f;
  --purple: #8c5cff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

@keyframes skeleton-pulse {
  0% { opacity: 0.55; }
  50% { opacity: 1; }
  100% { opacity: 0.55; }
}

.loading-skeleton {
  animation: skeleton-pulse 1.4s ease-in-out infinite;
  color: var(--muted) !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

button,
input {
  font: inherit;
}

svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  height: 64px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #020817;
  color: var(--white);
}

.logo {
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  color: #eef5ff;
}

.main-nav a:hover {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.icon-button span,
.icon-button span::after {
  position: absolute;
  display: block;
  content: "";
}

.icon-button span {
  top: 10px;
  left: 10px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-button span::after {
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.subscribe-button,
.review-button {
  border: 0;
  border-radius: 7px;
  background: var(--yellow);
  color: #151000;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.subscribe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background:
    radial-gradient(circle at 77% 45%, rgba(19, 152, 189, 0.24), transparent 23%),
    radial-gradient(circle at 22% 10%, rgba(29, 78, 216, 0.2), transparent 21%),
    linear-gradient(135deg, #020817 0%, #071527 54%, #020817 100%);
  color: var(--white);
}

.network-bg {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, rgba(32, 217, 242, 0.58) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(245, 173, 22, 0.58) 0 2px, transparent 3px),
    linear-gradient(70deg, transparent 0 49%, rgba(88, 166, 255, 0.12) 50%, transparent 51%),
    linear-gradient(120deg, transparent 0 49%, rgba(88, 166, 255, 0.1) 50%, transparent 51%);
  background-position:
    140px 72px,
    560px 172px,
    0 0,
    0 0;
  background-size:
    360px 240px,
    430px 300px,
    230px 180px,
    310px 220px;
}

.hero-inner,
.section,
.newsletter {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding: 52px 0 58px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.4vw, 67px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 32px;
  color: #c7d2e2;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 58px;
}

.primary-cta,
.outline-cta,
.read-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 178px;
  height: 52px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-cta,
.read-button {
  background: var(--cyan-2);
  color: #03131c;
}

.outline-cta {
  border: 1px solid var(--yellow);
  color: var(--yellow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-button,
.review-button,
.refresh-market-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-cta:hover,
.read-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 200, 232, 0.3);
  filter: brightness(1.1);
}

.outline-cta:hover {
  transform: translateY(-2px);
  background: rgba(245, 173, 22, 0.1);
  box-shadow: 0 8px 25px rgba(245, 173, 22, 0.2);
}

.subscribe-button:hover,
.review-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.refresh-market-button:hover {
  transform: translateY(-1px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 650px;
}

.trust-grid div {
  position: relative;
  padding-left: 22px;
}

.trust-grid div::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  content: "";
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 8px;
  font-size: 13px;
}

.trust-grid span {
  color: #aeb9c8;
  font-size: 11px;
}

.dashboard-card {
  padding: 18px;
  border: 1px solid rgba(140, 178, 215, 0.28);
  border-radius: 8px;
  background: rgba(10, 26, 42, 0.9);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.dashboard-top,
.mini-stats,
.risk-card div,
.dashboard-list li,
.section-heading.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-top {
  margin-bottom: 16px;
  text-transform: uppercase;
}

.dashboard-top strong {
  font-size: 13px;
}

.dashboard-top span {
  color: #94a3b8;
  font-size: 11px;
}

.mini-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-chart-card,
.narrative-card,
.risk-card {
  min-height: 140px;
  padding: 16px;
  border: 1px solid rgba(143, 173, 207, 0.22);
  border-radius: 8px;
  background: rgba(16, 37, 58, 0.82);
}

.mini-chart-card span,
.narrative-card span,
.risk-card span {
  color: #d6e4f5;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-chart-card strong {
  display: inline-block;
  margin: 8px 8px 0 0;
  font-size: 23px;
}

.mini-chart-card svg {
  width: 100%;
  height: 58px;
  margin: 8px 0 7px;
  color: var(--cyan);
}

.mini-stats {
  border-top: 1px solid rgba(143, 173, 207, 0.16);
  padding-top: 8px;
}

.mini-stats span,
.mini-stats b {
  display: block;
  color: #93a6bd;
  font-size: 10px;
  font-weight: 700;
}

.mini-stats b {
  margin-top: 4px;
  color: #ffffff;
}

.up {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.down {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}

.narrative-card strong,
.risk-card strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.narrative-card p,
.risk-card p {
  margin: 8px 0;
  color: #b8c6d7;
  font-size: 12px;
  line-height: 1.45;
}

.narrative-card a,
.risk-card strong,
.risk-card b {
  color: var(--yellow);
}

.risk-card progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.risk-card progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.12);
}

.risk-card progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--yellow), var(--cyan));
}

.dashboard-list {
  margin-top: 12px;
  padding: 14px 16px 8px;
  border: 1px solid rgba(143, 173, 207, 0.18);
  border-radius: 8px;
  background: rgba(16, 37, 58, 0.66);
}

.dashboard-list > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard-list ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.dashboard-list li {
  color: #ffffff;
  font-size: 12px;
}

.dashboard-list time {
  color: #8ca3bb;
  font-size: 11px;
}

.section {
  padding: 44px 0 0;
}

.section h2 {
  position: relative;
  margin-bottom: 18px;
  padding-left: 34px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--cyan);
  content: "";
  transform: translateY(-50%);
}

.section-heading a,
.project-card a,
.topic-list a,
.airdrop-panel a,
.snapshot-card a {
  color: #178fe8;
  font-size: 13px;
  font-weight: 800;
}

.refresh-market-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.refresh-market-button:hover {
  border-color: var(--cyan);
  color: #0785a0;
}

.refresh-market-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.snapshot-card,
.project-card,
.exchange-table,
.guide-grid article,
.airdrop-panel,
.topic-panel,
.article-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.snapshot-card,
.project-card,
.article-row {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.snapshot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 217, 242, 0.4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 217, 242, 0.4);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.16);
}

.article-row:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 217, 242, 0.4);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.snapshot-card {
  min-height: 126px;
  padding: 18px;
}

.snapshot-card span,
.snapshot-card em,
.snapshot-card a {
  display: block;
}

.snapshot-card span {
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-card strong {
  display: block;
  font-size: 21px;
}

.snapshot-card svg {
  width: 100%;
  height: 28px;
  margin-top: 8px;
  color: var(--green);
}

.coin-icon,
.project-logo {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.coin-icon {
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.orange {
  background: #f7931a;
}

.black,
.dark {
  background: #111827;
}

.line {
  border: 2px solid #111827;
  background: #ffffff;
  color: #111827;
}

.fire {
  background: var(--orange);
}

.gauge {
  position: relative;
  width: 74px;
  height: 42px;
  margin: 0 auto 4px;
  overflow: hidden;
}

.gauge::before {
  position: absolute;
  inset: 0;
  border: 7px solid;
  border-color: var(--red) var(--green) transparent var(--yellow);
  border-radius: 100px 100px 0 0;
  content: "";
}

.gauge span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-size: 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 352px;
  overflow: hidden;
  border-radius: 8px;
  background: #061221;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.feature-image,
.thumb,
.tiny-thumb {
  background:
    linear-gradient(135deg, rgba(3, 13, 24, 0.16), rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 78% 28%, rgba(32, 217, 242, 0.8), transparent 15%),
    linear-gradient(135deg, #0a1f35, #0b3854 46%, #111827);
  background-position: center;
  background-size: cover;
}

.feature-image {
  position: absolute;
  inset: 0;
}

.feature-image::after {
  position: absolute;
  right: 42px;
  bottom: 0;
  width: 210px;
  height: 260px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 19% 21%, transparent 22% 38%, rgba(255, 255, 255, 0.1) 39% 42%, transparent 43%),
    linear-gradient(0deg, rgba(32, 217, 242, 0.28), rgba(255, 255, 255, 0.04));
  clip-path: polygon(20% 100%, 32% 8%, 70% 0, 90% 100%);
  content: "";
}

.feature-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 352px;
  padding: 34px 28px 28px;
}

.feature-content h3 {
  max-width: 470px;
  margin: 22px 0 20px;
  font-size: 26px;
  line-height: 1.2;
}

.feature-content p {
  max-width: 450px;
  color: #d7e3f3;
  font-size: 15px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: 24px;
  margin-top: auto;
  color: #c8d6e8;
  font-size: 12px;
}

.read-button {
  align-self: flex-end;
  min-width: 126px;
  height: 42px;
  margin-top: -8px;
  font-size: 12px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.blue {
  background: #3088ff;
}

.green {
  background: #1fbf70;
}

.orange-pill {
  background: var(--orange);
}

.purple {
  background: var(--purple);
}

.article-stack {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 108px;
  padding: 12px;
}

.article-row h3 {
  margin: 9px 0 6px;
  font-size: 16px;
}

.article-row p,
.article-row small {
  color: var(--muted);
  font-size: 12px;
}

.article-row p {
  margin-bottom: 10px;
}

.thumb {
  height: 86px;
  border-radius: 4px;
}

.sol {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.74)),
    linear-gradient(145deg, #28e0b9, #9147ff 50%, #111827);
}

.chain {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 16%, #25d7f2 17% 19%, transparent 20%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(255, 255, 255, 0.2) 31% 32%, transparent 33%),
    #071827;
}

.ai {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 18%),
    linear-gradient(135deg, #09152b, #0ca5e9 44%, #7e22ce);
}

.rwa {
  background: linear-gradient(135deg, #08223a, #0ea5e9);
}

.wallet {
  background: linear-gradient(135deg, #e7f3ff, #2dd4bf);
}

.exchange {
  background: linear-gradient(135deg, #0f172a, #f59e0b);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  padding: 22px;
}

.project-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 22px;
}

.blue-logo {
  background: #3867ee;
}

.arbitrum {
  background: #112b46;
}

.ondo {
  background: #111111;
}

.render {
  background: #080808;
  color: var(--orange);
}

.project-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.project-card > span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
}

.score-row + .score-row {
  margin-bottom: 20px;
  border-top: 0;
  padding-top: 5px;
}

.good {
  color: var(--green);
}

.moderate {
  color: var(--yellow);
}

.risk {
  color: var(--red);
}

.project-card p {
  min-height: 72px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.exchange-table {
  overflow-x: auto;
  padding: 0 16px 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-orange {
  color: var(--orange);
}

.review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 30px;
}

.exchange-table p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 0.95fr;
  gap: 18px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide-grid article {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.airdrop-panel,
.topic-panel {
  padding: 0 16px 16px;
  box-shadow: none;
}

.airdrop-panel .section-heading,
.topic-panel h2 {
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}

.confirmed {
  background: #dbf7e8;
  color: #118553;
}

.testnet {
  background: #e5efff;
  color: #2364d2;
}

.rumored {
  background: #fff0dc;
  color: #b06000;
}

.potential {
  background: #fff8cc;
  color: #8a6c00;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.topic-list a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.newsletter {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
  margin-top: 48px;
  padding: 48px 74px;
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 48%, rgba(32, 217, 242, 0.24), transparent 18%),
    linear-gradient(135deg, #03101f, #071527 56%, #020817);
  color: #ffffff;
}

.newsletter h2 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.15;
}

.newsletter p {
  margin-bottom: 0;
  color: #c7d2e2;
  line-height: 1.6;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.newsletter-form input,
.newsletter-form button {
  height: 52px;
  border: 0;
}

.newsletter-form input {
  min-width: 0;
  padding: 0 18px;
  border-radius: 7px 0 0 7px;
}

.newsletter-form button {
  padding: 0 28px;
  border-radius: 0 7px 7px 0;
  background: var(--cyan-2);
  color: #03131c;
  font-weight: 900;
}

.newsletter-form small {
  grid-column: 1 / -1;
  margin-top: 14px;
  color: #b8c6d7;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.article-list article {
  display: grid;
  grid-template-columns: 24px 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.article-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-list p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.tiny-thumb {
  width: 58px;
  height: 42px;
  border-radius: 4px;
}

.site-footer {
  margin-top: 52px;
  padding: 42px;
  background: linear-gradient(135deg, #03101f, #071527);
  color: #c7d2e2;
  text-align: center;
  font-size: 13px;
}

.content-page {
  min-height: 70vh;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 82px max(32px, calc((100vw - 1240px) / 2));
  background:
    radial-gradient(circle at 82% 40%, rgba(32, 217, 242, 0.24), transparent 20%),
    linear-gradient(135deg, #020817, #071527 58%, #020817);
  color: #ffffff;
}

.category-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
}

.category-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #c7d2e2;
  font-size: 18px;
  line-height: 1.7;
}

.category-grid,
.content-page > .project-grid,
.content-page > .exchange-table,
.content-page > .guide-page-grid,
.content-page > .full-panel {
  width: min(1240px, calc(100% - 64px));
  margin: 42px auto 0;
}

.category-grid {
  display: grid;
  gap: 16px;
}

.guide-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full-panel {
  padding: 18px;
}

.page-newsletter {
  width: min(1240px, calc(100% - 64px));
  margin: 42px auto 0;
}

.article-page {
  background: #ffffff;
}

.article-hero {
  padding: 70px max(32px, calc((100vw - 980px) / 2)) 56px;
  background:
    radial-gradient(circle at 86% 30%, rgba(32, 217, 242, 0.22), transparent 20%),
    linear-gradient(135deg, #020817, #071527 58%, #020817);
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: #b7c6d9;
  font-size: 13px;
  font-weight: 700;
}

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

.article-hero h1 {
  max-width: 940px;
  margin: 18px 0 22px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
}

.article-hero p {
  max-width: 820px;
  color: #c7d2e2;
  font-size: 18px;
  line-height: 1.7;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #d8e4f2;
  font-size: 13px;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px) 300px;
  gap: 36px;
  width: min(1340px, calc(100% - 64px));
  margin: 46px auto 0;
  align-items: start;
}

.article-sidebar,
.related-sidebar {
  position: sticky;
  top: 88px;
}

.article-sidebar {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.article-sidebar strong {
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
}

.article-sidebar a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-sidebar a:hover {
  color: #0785a0;
}

.article-body {
  min-width: 0;
}

.article-cover {
  height: 360px;
  margin-bottom: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body h2 {
  margin: 34px 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.article-body p,
.article-body li {
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}

.article-body ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-callout {
  margin-top: 34px;
  padding: 22px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: #eefaff;
}

.article-callout strong {
  display: block;
  margin-bottom: 10px;
}

.article-callout p {
  margin-bottom: 0;
}

.related-sidebar {
  display: grid;
  gap: 16px;
}

.related-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.related-header strong {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-header a {
  color: #178fe8;
  font-size: 12px;
  font-weight: 900;
}

.related-post {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.related-post h3 {
  margin: 10px 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.related-post small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.wp-page-content {
  width: min(1240px, calc(100% - 64px));
  margin: 46px auto 0;
}

.wp-page-content > * {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.wp-page-content > .alignwide {
  max-width: 1240px;
}

.wp-page-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.wp-page-content h1,
.wp-page-content h2,
.wp-page-content h3 {
  line-height: 1.2;
}

.wp-page-content p,
.wp-page-content li {
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}

.wp-page-content .wp-block-button__link {
  border-radius: 7px;
  background: var(--cyan-2);
  color: #03131c;
  font-weight: 900;
}

.article-body .wp-block-image img,
.wp-page-content .wp-block-image img {
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    max-width: 720px;
  }

  .snapshot-grid,
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-grid,
  .lower-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .content-page > .project-grid,
  .guide-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar,
  .related-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    padding: 16px 20px;
  }

  .logo {
    font-size: 24px;
  }

  .header-actions {
    gap: 8px;
  }

  .subscribe-button {
    padding: 0 12px;
  }

  .hero-inner,
  .section,
  .newsletter {
    width: min(100% - 32px, 1240px);
  }

  .hero-inner {
    padding: 42px 0;
  }

  h1 {
    font-size: 39px;
    letter-spacing: 0;
  }

  .hero-text {
    font-size: 16px;
  }

  .trust-grid,
  .mini-market-grid,
  .snapshot-grid,
  .project-grid,
  .guide-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 150px;
  }

  .lower-grid {
    display: block;
  }

  .guide-panel,
  .airdrop-panel,
  .topic-panel {
    margin-bottom: 18px;
  }

  .newsletter {
    padding: 34px 24px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 7px;
  }

  .category-hero {
    padding: 54px 16px;
  }

  .category-grid,
  .content-page > .project-grid,
  .content-page > .exchange-table,
  .content-page > .guide-page-grid,
  .content-page > .full-panel,
  .page-newsletter {
    width: min(100% - 32px, 1240px);
  }

  .content-page > .project-grid,
  .guide-page-grid {
    grid-template-columns: 1fr;
  }

  .article-hero {
    padding: 50px 16px;
  }

  .article-layout {
    width: min(100% - 32px, 1340px);
  }

  .article-cover {
    height: 240px;
  }
}
