/* ===== Article Hero Header ===== */
.article-hero {
  position: relative;
  padding: 120px 72px 60px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,38,52,.65) 0%, rgba(7,38,52,.85) 100%);
  z-index: 1;
}

.article-hero .container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* ===== Back Button ===== */
.article-back-wrap {
  position: absolute;
  top: 100px;
  left: 72px;
  z-index: 3;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  transition: all .3s var(--ease);
}

.article-back:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  transform: translateX(-4px);
}

.article-back svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease);
}

.article-back:hover svg {
  transform: translateX(-2px);
}

/* ===== Category Badge ===== */
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 16px;
  background: var(--accent);
  border-radius: 100px;
  margin-bottom: 24px;
}

.article-category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.article-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
}

.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-hero .article-date {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  font-family: 'Space Mono', monospace;
  letter-spacing: .02em;
}

/* ===== Article Section ===== */
.article-section {
  padding: 40px 72px 88px;
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
}

.article-hero-img {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

/* ===== Article Content ===== */
.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.article-content h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 8px;
}

.article-content h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--sea);
  margin: 32px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content strong {
  color: var(--sea);
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--sea);
  font-size: 15px;
  line-height: 1.7;
}

.article-content blockquote p {
  margin-bottom: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-content thead {
  background: var(--ink);
  color: #fff;
}

.article-content th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
}

.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.article-content tbody tr:hover {
  background: var(--paper);
}

.article-content img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

.article-content hr {
  border: none;
  border-top: 1.5px solid var(--line);
  margin: 40px 0;
}

/* ===== Article CTA ===== */
.article-cta {
  position: relative;
  margin-top: 56px;
  border-radius: 24px;
  overflow: hidden;
}

.article-cta .cta-img-wrap {
  overflow: hidden;
}

.article-cta .cta-img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}

.article-cta:hover .cta-img {
  transform: scale(1.12);
}

.article-cta .cta-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,38,52,.82), rgba(7,38,52,.35));
  z-index: 1;
}

.article-cta .cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 64px;
  color: #fff;
  z-index: 2;
  text-align: center;
}

.article-cta h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

.article-cta p {
  font-size: 16px;
  color: #dceef3;
  margin: 0 0 28px;
}

.article-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .3s var(--ease);
}

.article-cta .btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .article-hero {
    padding: 110px 32px 48px;
    min-height: 240px;
  }
  .article-back-wrap {
    top: 90px;
    left: 32px;
  }
  .article-hero h1 {
    font-size: 32px;
  }
  .article-section {
    padding: 32px 32px 64px;
  }
  .article-content h2 {
    font-size: 22px;
  }
  .article-cta .cta-content {
    padding: 0 36px;
  }
  .article-cta h3 {
    font-size: 28px;
  }
  .article-cta .cta-img {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .article-hero {
    padding: 100px 20px 32px;
    min-height: 200px;
  }
  .article-back-wrap {
    top: 80px;
    left: 20px;
  }
  .article-back {
    padding: 6px 12px;
    font-size: 13px;
  }
  .article-hero h1 {
    font-size: 26px;
  }
  .article-section {
    padding: 24px 20px 48px;
  }
  .article-content {
    font-size: 15px;
  }
  .article-content h2 {
    font-size: 20px;
    margin: 36px 0 12px;
  }
  .article-content h3 {
    font-size: 18px;
  }
  .article-content table {
    font-size: 13px;
  }
  .article-content th,
  .article-content td {
    padding: 10px 12px;
  }
  .article-content blockquote {
    padding: 16px 18px;
  }
  .article-cta .cta-content {
    padding: 0 28px;
  }
  .article-cta h3 {
    font-size: 24px;
  }
  .article-cta p {
    font-size: 14px;
  }
  .article-cta .cta-img {
    height: 260px;
  }
}
