/* ==========================================================
   FUSION FRONTIER — 核融合エネルギー産業レポート
   黒基調 × プラズマパープル・オレンジのグロー / 宇宙的でドラマチック
   ========================================================== */
:root {
  --bg-deep: #08060f;
  --bg-space: #0d0a1a;
  --bg-panel: #141024;
  --bg-panel2: #1a1430;
  --plasma-purple: #a855f7;
  --plasma-violet: #7c3aed;
  --plasma-orange: #f97316;
  --plasma-amber: #fbbf24;
  --text-main: #e8e4f5;
  --text-sub: #b3abd1;
  --text-dim: #8a80ad;
  --line: rgba(168, 85, 247, 0.25);
  --glow-purple: 0 0 18px rgba(168, 85, 247, 0.45);
  --glow-orange: 0 0 18px rgba(249, 115, 22, 0.45);
  --grad-plasma: linear-gradient(90deg, #a855f7 0%, #f97316 100%);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(249, 115, 22, 0.10), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text-main);
  line-height: 1.9;
  overflow-x: hidden;
}

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

a {
  color: var(--plasma-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--plasma-orange);
}

.en-accent {
  font-family: "Orbitron", "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.08em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 6, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  white-space: nowrap;
}

.brand a {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--grad-plasma);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem 0.4rem;
  align-items: center;
  flex-wrap: wrap;           /* 2行レイアウト対応 */
  max-width: 900px;          /* ナビゲーション全体の最大幅制限 */
  justify-content: center;   /* メニュー項目を中央配置 */
}

.nav-item a {
  font-weight: 500;
  color: var(--text-sub);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.9rem;         /* 適切なフォントサイズ */
  white-space: nowrap;       /* 項目内の改行を防止 */
  display: inline-block;
}

.nav-item a:hover,
.nav-item a.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.18);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grad-plasma);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.25) 0%, rgba(8, 6, 15, 0.35) 55%, var(--bg-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: #ffd9b3;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.9), 0 2px 6px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  text-shadow:
    0 0 22px rgba(168, 85, 247, 0.9),
    0 0 44px rgba(249, 115, 22, 0.55),
    0 3px 10px rgba(0, 0, 0, 0.95);
}

.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: #f4efff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8);
}

/* 下層ページヒーロー */
.page-hero {
  min-height: 340px;
}

.page-hero .hero-content {
  padding: 3rem 1.5rem;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-dim);
}

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

/* ---------- 共通セクション ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #a855f7, #f97316) 1;
  text-shadow: var(--glow-purple);
}

.section-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

/* ---------- TOP: ニュース ---------- */
.news-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.news-list li {
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  transition: var(--transition);
}

.news-list li:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--glow-orange);
}

.news-date {
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  color: var(--plasma-amber);
  white-space: nowrap;
}

.news-text {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ---------- TOP: ページカード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.page-card {
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 10px 34px rgba(124, 58, 237, 0.35);
}

.page-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-card-body {
  padding: 1.1rem 1.2rem 1.4rem;
  flex: 1;
}

.page-card-num {
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  color: var(--plasma-orange);
  letter-spacing: 0.25em;
}

.page-card h3 {
  font-size: 1.05rem;
  margin: 0.3rem 0 0.5rem;
}

.page-card h3 a {
  color: var(--text-main);
}

.page-card h3 a:hover {
  color: var(--plasma-purple);
}

.page-card p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- 2カラムレイアウト ---------- */
.layout-2col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  align-items: start;
}

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

.article-main .lead {
  font-size: 1.02rem;
  color: var(--text-sub);
  border-left: 3px solid var(--plasma-orange);
  padding-left: 1rem;
  margin-bottom: 2.2rem;
}

.article-main h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 3rem 0 1.2rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.25) 0%, rgba(249, 115, 22, 0.08) 70%, transparent 100%);
  border-left: 4px solid var(--plasma-purple);
  border-radius: 0 8px 8px 0;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.article-main h2:first-of-type {
  margin-top: 2rem;
}

.article-main h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #d8c9ff;
  margin: 2rem 0 0.8rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--plasma-orange);
}

.article-main p {
  margin-bottom: 1.3rem;
  font-size: 0.98rem;
}

.article-main ul,
.article-main ol {
  margin: 0 0 1.4rem 1.6rem;
  color: var(--text-main);
}

.article-main li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.article-main strong {
  color: var(--plasma-amber);
  font-weight: 700;
}

/* 図表 */
.data-table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 640px;
}

.data-table th {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(249, 115, 22, 0.25));
  color: #fff;
  padding: 0.7rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  color: var(--text-main);
  vertical-align: top;
}

.data-table tr:nth-child(even) td {
  background: rgba(124, 58, 237, 0.06);
}

.chart-caption {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: -1.2rem 0 2rem;
}

/* CSSバーグラフ */
.bar-chart {
  margin: 1.6rem 0 0.6rem;
  display: grid;
  gap: 0.8rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 84px;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.bar-label {
  color: var(--text-sub);
  text-align: right;
}

.bar-track {
  background: rgba(168, 85, 247, 0.1);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-plasma);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
}

.bar-value {
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  color: var(--plasma-amber);
  white-space: nowrap;
}

/* タイムライン */
.timeline {
  list-style: none;
  margin: 1.8rem 0 2rem;
  padding-left: 1.4rem;
  border-left: 2px solid rgba(168, 85, 247, 0.4);
  display: grid;
  gap: 1.2rem;
}

.timeline li {
  position: relative;
  padding-left: 0.6rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-plasma);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.timeline-year {
  font-family: "Orbitron", sans-serif;
  color: var(--plasma-orange);
  font-size: 0.85rem;
  display: block;
}

/* ステップ図 */
.step-flow {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 2rem;
  counter-reset: step;
}

.step-flow .step {
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-panel2));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem 0.9rem 3.4rem;
  position: relative;
  font-size: 0.92rem;
}

.step-flow .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--grad-plasma);
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-purple);
}

/* 本文内バナー */
.banner-inline {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(168, 85, 247, 0.3);
  border-radius: 10px;
  text-align: center;
  overflow-x: auto;
}

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

.amazon-banner {
  margin: 0.5rem auto;
}

.amazon-banner a div {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--plasma-amber);
  font-size: 0.9rem;
  transition: var(--transition);
}

.amazon-banner a div:hover {
  box-shadow: var(--glow-orange);
}

/* ---------- サイドバー ---------- */
.sidebar {
  display: grid;
  gap: 1.6rem;
  position: sticky;
  top: 110px;
}

.sidebar-block {
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}

.sidebar-block h2,
.sidebar-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.sidebar-ad {
  text-align: center;
  overflow: hidden;
}

.sidebar-ad img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.toc-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-sub);
  padding: 0.35rem 0.5rem 0.35rem 1.1rem;
  position: relative;
  border-radius: 6px;
}

.toc-list a::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plasma-orange);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.8);
}

.toc-list a:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #fff;
}

.related-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.related-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-sub);
  padding: 0.45rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.related-list a:hover {
  border-color: var(--line);
  color: #fff;
  background: rgba(124, 58, 237, 0.12);
}

/* ---------- ページ送り ---------- */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-nav a {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-panel2));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  transition: var(--transition);
}

.page-nav a:hover {
  border-color: rgba(249, 115, 22, 0.55);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.page-nav .next {
  text-align: right;
}

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(124, 58, 237, 0.2), transparent 70%),
    var(--bg-space);
  padding: 3rem 1.2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.9rem;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--text-dim);
}

.footer-col a:hover {
  color: var(--plasma-orange);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.4rem 0 1rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.84rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 8, 20, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    padding: 0.8rem 1.2rem 1.2rem;
    gap: 0.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item a {
    display: block;
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 440px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (max-width: 560px) {
  .news-list li {
    flex-direction: column;
    gap: 0.3rem;
  }

  .bar-row {
    grid-template-columns: 92px 1fr 70px;
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.35rem;
  }
}

/* ---------- パートナー募集 ---------- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background: var(--grad-plasma);
  color: #fff;
  box-shadow: var(--glow-purple);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--glow-orange);
}

.btn-secondary {
  background: rgba(168, 85, 247, 0.12);
  color: var(--text-main);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.55);
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--plasma-amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.partner-inline-section {
  padding: 0 0 3.5rem;
}

.article-main .partner-inline-section {
  padding: 2.5rem 0;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: 0 10px 34px rgba(124, 58, 237, 0.25);
}

.partner-inline-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.partner-inline-description {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.partner-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
  flex-shrink: 0;
}

.partner-page-content {
  padding: 2.5rem 0 4rem;
}

.partner-page-grid {
  display: grid;
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}

.partner-content-block {
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 2rem;
}

.partner-content-block h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #a855f7, #f97316) 1;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.partner-content-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #d8c9ff;
  margin: 1.6rem 0 0.7rem;
  padding-left: 0.7rem;
  border-left: 3px solid var(--plasma-orange);
}

.partner-content-block p {
  font-size: 0.95rem;
  color: var(--text-main);
}

.partner-content-block p + p,
.partner-content-block ul,
.partner-content-block ol {
  margin-top: 0.8rem;
}

.partner-content-block ul,
.partner-content-block ol {
  padding-left: 1.4rem;
}

.partner-content-block li {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.partner-content-block strong {
  color: var(--plasma-amber);
  font-weight: 700;
}

.partner-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.partner-highlight-card {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.5rem;
  padding-left: 0;
  border-left: none;
  color: var(--plasma-amber);
}

.partner-highlight-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.partner-note {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: 1.2rem;
}

.partner-cta-box {
  border-color: rgba(249, 115, 22, 0.45);
  background:
    radial-gradient(ellipse 80% 90% at 85% 0%, rgba(249, 115, 22, 0.16), transparent 60%),
    linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-panel2) 100%);
}

.partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

@media (max-width: 860px) {
  .partner-inline-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-inline-actions {
    justify-content: flex-start;
  }

  .partner-content-block,
  .partner-inline-card {
    padding: 1.4rem 1.3rem;
  }
}

/* Mobile content-width baseline. Blog-specific rules live in blog/blog.css. */
@media (max-width: 768px) {
  .page-content, .two-col-layout { padding-inline: 16px; }
  .two-col-layout, .blog-main { min-width: 0; }
  .sidebar { position: static; order: 2; }
}
