/* ==========================================================
   リペアエコノミー・レポート 共通スタイル
   クラフト紙色 × ネイビー / 工具・ステッチモチーフ
   ========================================================== */
:root {
  --kraft: #efe6d3;
  --kraft-light: #f7f1e3;
  --kraft-dark: #e2d4b8;
  --navy: #1e3a5f;
  --navy-deep: #14273f;
  --copper: #b25e2a;
  --copper-light: #d78a4f;
  --ink: #2b2b26;
  --text-dark: #33322c;
  --stitch: rgba(30, 58, 95, 0.45);
  --stitch-light: rgba(247, 241, 227, 0.55);
  --transition: all 0.25s ease;
  --shadow: 0 4px 14px rgba(20, 39, 63, 0.14);
  --radius: 10px;
  --font-head: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--kraft);
  background-image:
    repeating-linear-gradient(45deg, rgba(178, 94, 42, 0.02) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, rgba(226, 212, 184, 0.5), rgba(239, 230, 211, 0.9));
  line-height: 1.9;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--copper);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--copper);
  box-shadow: 0 2px 10px rgba(20, 39, 63, 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px dashed var(--stitch-light);
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-title {
  color: var(--kraft-light);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sub {
  color: rgba(247, 241, 227, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.global-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.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 {
  display: inline-block;
  font-weight: 500;
  color: var(--kraft-light);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.86rem;
  white-space: nowrap;
}

.nav-item a:hover {
  background: rgba(178, 94, 42, 0.35);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 2px dashed var(--stitch-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 8px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--kraft-light);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---------- ヒーロー（TOP） ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/hero-main.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 63, 0.25) 0%, rgba(20, 39, 63, 0.45) 100%);
}

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

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1.4;
  color: #fff8ec;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #fdf6e6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 22px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.35rem 1.2rem;
  border: 2px dashed rgba(255, 248, 236, 0.85);
  border-radius: 999px;
  color: #fff8ec;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  background: rgba(20, 39, 63, 0.45);
}

/* ---------- ページヒーロー（下層） ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 63, 0.15) 30%, rgba(20, 39, 63, 0.72) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 2.2rem 1.2rem 1.8rem;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.45;
  color: #fff8ec;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), 0 0 26px rgba(0, 0, 0, 0.6);
}

.page-hero .page-lead {
  color: #fdf6e6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  font-size: 0.98rem;
  margin-top: 0.4rem;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  color: #f3e9d2;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.6rem;
}

.breadcrumb a {
  color: #f3e9d2;
  text-decoration: underline;
}

/* ---------- レイアウト ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.2rem;
  padding: 2.5rem 0 3.5rem;
}

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

/* ---------- 本文 ---------- */
.article-section {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.2rem;
  margin-bottom: 2rem;
  position: relative;
}

.article-section::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(30, 58, 95, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.article-section h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.5;
  padding-left: 0.9rem;
  border-left: 6px solid var(--copper);
  margin-bottom: 1.2rem;
}

.article-section h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin: 1.6rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dashed var(--stitch);
}

.article-section p {
  margin-bottom: 1.1rem;
  text-align: justify;
}

.article-section ul,
.article-section ol {
  margin: 0 0 1.2rem 1.5rem;
}

.article-section li {
  margin-bottom: 0.4rem;
}

.lead-note {
  background: rgba(178, 94, 42, 0.08);
  border: 2px dashed rgba(178, 94, 42, 0.4);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

/* ---------- 図解: 統計バー ---------- */
.chart-box {
  background: #fffdf7;
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.4rem 0;
}

.chart-box .chart-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.bar-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: right;
  line-height: 1.4;
}

.bar-track {
  background: var(--kraft-dark);
  border-radius: 6px;
  overflow: hidden;
  height: 30px;
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--navy), #35608f);
  border-radius: 6px;
}

.bar-fill.copper {
  background: linear-gradient(90deg, #9a4f20, var(--copper-light));
}

.chart-note {
  font-size: 0.75rem;
  color: #6c675c;
  margin-top: 0.6rem;
  text-align: right;
}

/* ---------- 図解: タイムライン ---------- */
.timeline {
  list-style: none;
  margin: 1.4rem 0;
  padding-left: 0;
  border-left: 3px dashed var(--stitch);
}

.timeline li {
  position: relative;
  padding: 0 0 1.2rem 1.6rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 15px;
  height: 15px;
  background: var(--copper);
  border: 3px solid var(--kraft-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--copper);
}

.timeline .tl-year {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  padding: 0.05rem 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.timeline .tl-body {
  font-size: 0.92rem;
}

/* ---------- 図解: 比較表 ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffdf7;
  font-size: 0.9rem;
  min-width: 560px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--kraft-dark);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--navy);
  color: var(--kraft-light);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody th {
  background: rgba(178, 94, 42, 0.1);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 図解: フロー ---------- */
.flow-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
  margin: 1.4rem 0;
}

.flow-step {
  flex: 1 1 130px;
  background: var(--navy);
  color: var(--kraft-light);
  border-radius: 8px;
  padding: 0.8rem 0.7rem;
  text-align: center;
  position: relative;
  border: 2px dashed rgba(247, 241, 227, 0.35);
}

.flow-step strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.flow-step span {
  font-size: 0.75rem;
  line-height: 1.5;
  display: block;
}

.flow-arrow {
  align-self: center;
  color: var(--copper);
  font-size: 1.4rem;
  font-weight: 700;
}

/* ---------- 広告 ---------- */
.ad-inline {
  margin: 1.2rem 0;
  padding: 0.8rem;
  text-align: center;
  background: #fffdf7;
  border: 1px dashed var(--kraft-dark);
  border-radius: 8px;
  overflow: hidden;
}

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

.amazon-banner {
  margin: 0.4rem 0;
}

.amazon-banner a {
  display: block;
  background: var(--copper);
  color: #fff;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px dashed rgba(255, 255, 255, 0.5);
}

.amazon-banner a:hover {
  background: #9a4f20;
  color: #fff;
}

/* ---------- サイドバー ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.side-block {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
}

.side-block h2 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--kraft-light);
  background: var(--navy);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  margin: -0.2rem 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-block h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--copper);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

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

.side-ad img {
  max-width: 100%;
  height: auto;
}

.toc-list {
  list-style: none;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  border-bottom: 1px dashed var(--stitch);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  display: flex;
  gap: 0.55rem;
  padding: 0.5rem 0.2rem;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: var(--transition);
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head);
  color: var(--copper);
  font-weight: 700;
  flex-shrink: 0;
}

.toc-list a:hover {
  background: rgba(178, 94, 42, 0.08);
}

.related-list {
  list-style: none;
}

.related-list li {
  margin-bottom: 0.45rem;
}

.related-list a {
  display: block;
  padding: 0.55rem 0.8rem;
  background: #fffdf7;
  border: 1px solid var(--kraft-dark);
  border-left: 4px solid var(--copper);
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  transition: var(--transition);
}

.related-list a:hover {
  background: rgba(30, 58, 95, 0.06);
  transform: translateX(3px);
}

/* ---------- TOP: セクション ---------- */
.section {
  padding: 3rem 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-sub {
  text-align: center;
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-box {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.2rem;
  position: relative;
}

.about-box::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(30, 58, 95, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.about-box p {
  margin-bottom: 1rem;
  text-align: justify;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/* ---------- TOP: ニュース ---------- */
.news-list {
  list-style: none;
  max-width: 940px;
  margin: 0 auto;
}

.news-list li {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-left: 6px solid var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.news-date {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--copper);
  font-size: 0.9rem;
  white-space: nowrap;
}

.news-body strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 0.2rem;
}

.news-body span {
  font-size: 0.9rem;
}

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

.page-card {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(20, 39, 63, 0.22);
}

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

.page-card .card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.page-card .card-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--copper);
  border-radius: 999px;
  padding: 0.12rem 0.7rem;
}

.page-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.5;
}

.page-card p {
  font-size: 0.86rem;
  line-height: 1.7;
  flex: 1;
}

.page-card .card-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--copper);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 241, 227, 0.88);
  margin-top: 2rem;
  border-top: 4px solid var(--copper);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 2px dashed rgba(247, 241, 227, 0.3);
}

.footer-grid h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--kraft-light);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px dashed rgba(247, 241, 227, 0.3);
}

.footer-about p {
  font-size: 0.86rem;
  line-height: 1.8;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.35rem;
}

.footer-grid a {
  color: rgba(247, 241, 227, 0.85);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: var(--copper-light);
}

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

.footer-links a {
  color: rgba(247, 241, 227, 0.9);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1px dashed rgba(247, 241, 227, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 241, 227, 0.6);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.6rem;
  }
}

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

  .global-nav {
    position: fixed;
    top: 0;
    right: -290px;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease;
    padding: 5rem 1.2rem 2rem;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .global-nav.open {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px dashed rgba(247, 241, 227, 0.25);
  }

  .nav-item a {
    display: block;
    padding: 0.85rem 0.6rem;
    font-size: 0.95rem;
    white-space: normal;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 1.45rem;
  }

  .article-section {
    padding: 1.4rem 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .bar-row {
    grid-template-columns: 105px 1fr;
  }

  .bar-label {
    font-size: 0.72rem;
  }

  .flow-chart {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ---------- パートナー募集 ---------- */
.partner-inline-section {
  padding: 2.2rem 0 0.6rem;
}

main > .partner-inline-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.2rem 1rem;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}

.partner-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--kraft-dark);
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy-deep);
  margin: 0 0 0.6rem;
}

.partner-inline-description {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.8;
}

.partner-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

.partner-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.partner-btn-primary {
  background: var(--copper);
  color: var(--kraft-light);
}

.partner-btn-primary:hover {
  background: var(--copper-light);
}

.partner-btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.partner-btn-secondary:hover {
  background: var(--kraft-dark);
}

.partner-page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--kraft-light);
  padding: 3.2rem 1.2rem 2.8rem;
}

.partner-page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.partner-page-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(247, 241, 227, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--kraft-light);
}

.partner-page-lead {
  max-width: 860px;
  color: rgba(247, 241, 227, 0.92);
  line-height: 1.9;
  margin: 0;
}

.partner-page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.6rem 1.2rem 3.5rem;
}

.partner-page-grid {
  display: grid;
  gap: 1.5rem;
}

.partner-content-block {
  background: var(--kraft-light);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin: 0 0 0.9rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--copper);
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--navy-deep);
  margin: 1.4rem 0 0.6rem;
}

.partner-content-block p {
  color: var(--text-dark);
  line-height: 1.9;
}

.partner-content-block ul,
.partner-content-block ol {
  margin: 0.6rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-dark);
  line-height: 1.9;
}

.partner-content-block li + li {
  margin-top: 0.4rem;
}

.partner-content-block a {
  color: var(--copper);
}

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

.partner-highlight-card {
  background: var(--kraft);
  border: 1px solid var(--kraft-dark);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.5rem;
  color: var(--copper);
}

.partner-highlight-card p {
  font-size: 0.92rem;
  margin: 0;
}

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

.partner-cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border: none;
  color: var(--kraft-light);
}

.partner-cta-box h2 {
  color: var(--kraft-light);
  border-left-color: var(--copper-light);
}

.partner-cta-box p,
.partner-cta-box .partner-note {
  color: rgba(247, 241, 227, 0.94);
}

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

.partner-cta-box .partner-btn-primary {
  background: var(--copper);
  color: var(--kraft-light);
}

.partner-cta-box .partner-btn-primary:hover {
  background: var(--copper-light);
}

.partner-cta-box .partner-btn-secondary {
  background: transparent;
  color: var(--kraft-light);
  border-color: rgba(247, 241, 227, 0.7);
}

.partner-cta-box .partner-btn-secondary:hover {
  background: rgba(247, 241, 227, 0.15);
}

@media (max-width: 760px) {
  .partner-inline-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.3rem;
  }

  .partner-content-block {
    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; }
}
