/* ==========================================================
   空き家再生・活用ビジネス総覧 styles.css
   カラー: 深緑（再生）× 木の琥珀色（古民家）× 生成り（和紙）
   ========================================================== */
:root {
  --moss: #33513f;
  --moss-dark: #24392c;
  --moss-soft: #e6ede6;
  --wood: #b3773c;
  --wood-dark: #8f5a26;
  --wood-light: #f0e2c8;
  --paper: #f7f3ea;
  --white: #ffffff;
  --ink: #2a2620;
  --muted: #6e6558;
  --line: #e0d8c8;
  --shadow: 0 6px 20px rgba(42, 38, 32, 0.09);
  --radius: 10px;
  --font-head: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
}

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

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

a:hover {
  color: var(--wood-dark);
}

ul, ol {
  padding-left: 1.4em;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--moss);
}

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

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

.brand a {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--moss-dark);
  letter-spacing: 0.06em;
}

.brand a:hover {
  color: var(--wood-dark);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--moss);
  border-radius: 8px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  padding: 8px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--moss);
  transition: var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.3rem 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 780px;
  justify-content: flex-end;
  padding: 0;
}

.nav-menu li a {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu li a:hover {
  background: var(--moss-soft);
  color: var(--moss-dark);
}

.nav-menu li a.current {
  background: var(--moss);
  color: var(--white);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 22, 0.18) 0%, rgba(20, 28, 22, 0.42) 100%);
}

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

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fffdf5;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 1px rgba(30, 40, 30, 0.45);
  text-shadow: 0 2px 6px rgba(10, 15, 10, 0.85), 0 0 28px rgba(10, 15, 10, 0.55);
}

.hero-subtitle {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff6de;
  text-shadow: 0 2px 5px rgba(10, 15, 10, 0.9), 0 0 18px rgba(10, 15, 10, 0.6);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 1.1rem;
  border: 2px solid #fff6de;
  border-radius: 999px;
  color: #fff6de;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 4px rgba(10, 15, 10, 0.9);
  background: rgba(20, 28, 22, 0.35);
}

.page-hero {
  min-height: 340px;
}

.hero-top {
  background-image: url('images/hero-akiya-top.jpg');
}

.hero-market {
  background-image: url('images/hero-market-overview.jpg');
}

.hero-legal {
  background-image: url('images/hero-legal-system.jpg');
}

.hero-bank {
  background-image: url('images/hero-akiya-bank.jpg');
}

.hero-renovation {
  background-image: url('images/hero-renovation-business.jpg');
}

.hero-investment {
  background-image: url('images/hero-akiya-investment.jpg');
}

.hero-regional {
  background-image: url('images/hero-regional-revitalization.jpg');
}

.hero-tech {
  background-image: url('images/hero-akiya-tech.jpg');
}

.hero-future {
  background-image: url('images/hero-future-outlook.jpg');
}

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

/* ---------------- Layout ---------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--moss-dark);
  letter-spacing: 0.08em;
}

.section-head .section-lead {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 0.7rem auto 0;
  background: linear-gradient(90deg, var(--moss), var(--wood));
  border-radius: 2px;
}

/* ---------------- Index: overview ---------------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.overview-text p {
  margin-bottom: 1.1rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
  text-align: center;
}

.stat-card .stat-value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--moss-dark);
  line-height: 1.2;
}

.stat-card .stat-label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------------- Index: news ---------------- */
.news-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.news-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.1rem 0.4rem;
  border-bottom: 1px dashed var(--line);
}

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

.news-date {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--wood-dark);
  font-size: 0.92rem;
  padding-top: 0.15rem;
  white-space: nowrap;
}

.news-body strong {
  display: block;
  color: var(--moss-dark);
  font-size: 1rem;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---------------- Index: topic cards ---------------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(42, 38, 32, 0.16);
}

.topic-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.topic-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.topic-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--moss-dark);
  line-height: 1.5;
}

.topic-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
}

.topic-card-body .card-more {
  align-self: flex-end;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wood-dark);
}

.topic-card-body .card-more::after {
  content: " →";
}

/* ---------------- 2カラム記事レイアウト ---------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  padding: 3rem 0 4rem;
}

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

.lead-box {
  background: var(--moss-soft);
  border-left: 5px solid var(--moss);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.2rem;
  font-size: 0.98rem;
}

.article-main section {
  margin-bottom: 2.8rem;
}

.article-main h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: var(--moss-dark);
  line-height: 1.5;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 6px solid var(--wood);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.3rem;
  letter-spacing: 0.04em;
}

.article-main h3 {
  font-family: var(--font-head);
  font-size: 1.18rem;
  color: var(--moss);
  margin: 1.8rem 0 0.9rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dotted var(--wood-light);
}

.article-main p {
  margin-bottom: 1.15rem;
}

.article-main ul,
.article-main ol {
  margin: 0 0 1.2rem 0.4rem;
}

.article-main li {
  margin-bottom: 0.35rem;
}

/* ---------------- 図表 ---------------- */
.figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.2rem 1rem;
  margin: 1.6rem 0 2rem;
}

.figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.figure-caption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.table-scroll {
  overflow-x: auto;
}

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

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

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

.data-table tbody tr:nth-child(even) {
  background: #fbf8f1;
}

.data-table tbody th {
  background: var(--wood-light);
  color: var(--ink);
  white-space: nowrap;
}

/* プロセス図（CSS製） */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: stretch;
  counter-reset: step;
  margin: 0.4rem 0 0.6rem;
}

.process-step {
  flex: 1 1 150px;
  position: relative;
  background: var(--moss-soft);
  border: 1px solid var(--moss);
  border-radius: 8px;
  padding: 0.8rem 0.8rem 0.8rem 0.9rem;
  font-size: 0.83rem;
  line-height: 1.6;
}

.process-step::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--wood-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.process-step strong {
  display: block;
  color: var(--moss-dark);
  margin-bottom: 0.2rem;
}

.note-box {
  background: var(--wood-light);
  border-left: 5px solid var(--wood);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.92rem;
}

.note-box strong {
  color: var(--wood-dark);
}

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

.side-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.1rem 1.2rem;
}

.side-widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--moss-dark);
  border-bottom: 2px solid var(--wood);
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}

.toc-list {
  list-style: none;
  padding: 0;
  font-size: 0.88rem;
}

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

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

.toc-list a {
  display: block;
  padding: 0.5rem 0.2rem;
}

.toc-list a::before {
  content: "▸ ";
  color: var(--wood);
}

.related-list {
  list-style: none;
  padding: 0;
  font-size: 0.88rem;
}

.related-list li {
  border-bottom: 1px dashed var(--line);
}

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

.related-list a {
  display: block;
  padding: 0.5rem 0.2rem;
}

.related-list a::before {
  content: "→ ";
  color: var(--moss);
}

/* ---------------- 広告 ---------------- */
.ad-label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  text-align: center;
}

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

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

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

.amazon-banner a {
  display: block;
  background: linear-gradient(90deg, #fdf6e3, var(--wood-light));
  border: 1px solid var(--wood);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wood-dark);
  text-align: center;
}

.amazon-banner a:hover {
  background: var(--wood-light);
  transform: translateY(-1px);
}

.inline-ad {
  margin: 1.6rem 0;
  text-align: center;
  overflow-x: auto;
}

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

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

.pager a {
  flex: 1 1 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}

.pager a:hover {
  border-color: var(--wood);
}

.pager .pager-prev {
  text-align: left;
}

.pager .pager-next {
  text-align: right;
}

.pager span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------------- フッター ---------------- */
.site-footer {
  background: var(--moss-dark);
  color: #e9e4d8;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-note {
  font-size: 0.82rem;
  color: #c4bda9;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--wood-light);
  margin-bottom: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  font-size: 0.84rem;
}

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

.footer-col a {
  color: #e9e4d8;
}

.footer-col a:hover {
  color: var(--wood-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: center;
  border-top: 1px solid rgba(233, 228, 216, 0.25);
  padding-top: 1.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #e9e4d8;
  padding: 0.2rem 0.4rem;
}

.footer-links a:hover {
  color: var(--wood-light);
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: #c4bda9;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.8rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 90px;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--moss);
    box-shadow: 0 14px 24px rgba(42, 38, 32, 0.18);
    padding: 0.6rem 1rem 1rem;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li a {
    padding: 0.75rem 0.6rem;
    border-bottom: 1px dashed var(--line);
    font-size: 0.95rem;
    white-space: normal;
  }

  .hero {
    min-height: 400px;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .page-hero {
    min-height: 280px;
  }

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

  .section {
    padding: 2.4rem 0;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }

  .news-list li {
    flex-direction: column;
    gap: 0.2rem;
  }

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

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

  .article-main h2 {
    font-size: 1.3rem;
  }

  .article-main h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 420px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------------- パートナー募集（Partner） ---------------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--wood);
  color: var(--white);
  border: 1px solid var(--wood-dark);
}

.btn-primary:hover {
  background: var(--wood-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--moss-soft);
  color: var(--moss-dark);
  border: 1px solid var(--moss);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--moss-dark);
  transform: translateY(-1px);
}

.partner-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--moss-soft);
  color: var(--moss-dark);
  border: 1px solid var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

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

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--moss-dark);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

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

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

.article-main .partner-inline-section {
  padding: 0;
  margin: 2.4rem 0 2.8rem;
}

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

.partner-page-hero {
  background: linear-gradient(135deg, var(--moss-dark) 0%, var(--moss) 55%, var(--wood-dark) 100%);
  color: #fffdf5;
  padding: 3.8rem 0 3.4rem;
}

.partner-page-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 1.1rem;
  border: 2px solid #fff6de;
  border-radius: 999px;
  color: #fff6de;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(20, 28, 22, 0.25);
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.4;
  color: #fffdf5;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.partner-page-lead {
  max-width: 860px;
  font-size: 1rem;
  color: rgba(255, 253, 245, 0.94);
}

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

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

.partner-content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2rem 1.9rem;
}

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--moss-dark);
  line-height: 1.5;
  padding: 0.3rem 0 0.3rem 0.9rem;
  border-left: 6px solid var(--wood);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--moss);
  margin: 1.6rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dotted var(--wood-light);
}

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

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

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

.partner-highlight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--wood);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
}

.partner-highlight-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--moss-dark);
  margin: 0 0 0.4rem;
  padding: 0;
  border-bottom: none;
}

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

.partner-cta-box {
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-dark) 100%);
  border: 1px solid var(--moss-dark);
  color: #fffdf5;
}

.partner-cta-box h2 {
  color: #fffdf5;
  border-left-color: var(--wood-light);
  border-bottom-color: rgba(255, 253, 245, 0.3);
}

.partner-cta-box p,
.partner-cta-box li,
.partner-cta-box .partner-note {
  color: rgba(255, 253, 245, 0.94);
}

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

.partner-cta-box .btn-secondary {
  background: rgba(255, 253, 245, 0.14);
  color: #fffdf5;
  border-color: rgba(255, 253, 245, 0.4);
}

.partner-cta-box .btn-secondary:hover {
  background: rgba(255, 253, 245, 0.24);
  color: #fffdf5;
}

.partner-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

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

@media (max-width: 640px) {
  .partner-content-block,
  .partner-inline-card {
    padding: 1.4rem 1.2rem;
  }

  .partner-page-hero {
    padding: 2.8rem 0 2.6rem;
  }

  .partner-cta-actions .btn,
  .partner-inline-actions .btn {
    width: 100%;
  }
}

/* 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; }
}
