/* ============================================================
   事業承継・スモールM&A 業界レポート
   オリジナルデザイン: 深藍 × 金茶 「継ぐ」をテーマにした知的基調
   ============================================================ */

:root {
  --navy: #16233e;
  --navy-deep: #0e1729;
  --navy-soft: #26385c;
  --gold: #b07d2b;
  --gold-bright: #d9a441;
  --gold-pale: #f3e8d2;
  --ink: #262a31;
  --ink-soft: #4c5460;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #ddd6c8;
  --shadow: 0 10px 30px rgba(14, 23, 41, 0.12);
  --radius: 10px;
  --transition: all 0.25s ease;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", 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(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
}

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

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

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

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

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 12px rgba(14, 23, 41, 0.08);
}

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

.logo {
  display: block;
  line-height: 1.3;
}

.logo-main {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.logo-main .logo-accent {
  color: var(--gold);
}

.logo-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
}

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

.nav-toggle .hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

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

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

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

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

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

.nav-menu li a:hover {
  background: var(--gold-pale);
  color: var(--navy);
}

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

/* ---------------- Hero (TOP) ---------------- */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: url("images/hero-business-succession.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 23, 41, 0.55) 0%, rgba(14, 23, 41, 0.15) 55%, rgba(14, 23, 41, 0.05) 100%);
}

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

.hero-label {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 1.1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.4;
  color: #fff8ec;
  -webkit-text-stroke: 1px rgba(14, 23, 41, 0.65);
  paint-order: stroke fill;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 24px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.1rem;
}

.hero-lead {
  max-width: 640px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 3px 12px rgba(0, 0, 0, 0.6);
}

/* ---------------- Page hero (sub pages) ---------------- */

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

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

.page-hero-types {
  background-image: url("images/hero-succession-types.jpg");
}

.page-hero-process {
  background-image: url("images/hero-small-ma-process.jpg");
}

.page-hero-valuation {
  background-image: url("images/hero-valuation.jpg");
}

.page-hero-matching {
  background-image: url("images/hero-matching-platforms.jpg");
}

.page-hero-subsidies {
  background-image: url("images/hero-subsidies-support.jpg");
}

.page-hero-pmi {
  background-image: url("images/hero-pmi-integration.jpg");
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 23, 41, 0.1) 30%, rgba(14, 23, 41, 0.62) 100%);
}

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

.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.45;
  color: #fff8ec;
  -webkit-text-stroke: 1px rgba(14, 23, 41, 0.6);
  paint-order: stroke fill;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 20px rgba(0, 0, 0, 0.55);
}

.page-lead {
  color: #ffffff;
  font-size: 0.96rem;
  max-width: 720px;
  margin-top: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: underline;
}

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

/* ---------------- 2-column layout ---------------- */

.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.4rem;
  align-items: start;
}

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

.side-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 110px;
}

/* ---------------- Article ---------------- */

.article-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 3px 14px rgba(14, 23, 41, 0.05);
}

.main-col h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  padding-left: 0.9rem;
  border-left: 5px solid var(--gold);
  margin-bottom: 1.1rem;
}

.main-col h3 {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-soft);
  margin: 1.6rem 0 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px dotted var(--line);
}

.main-col p {
  margin-bottom: 1rem;
}

.main-col ul,
.main-col ol {
  margin: 0 0 1.1rem;
}

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

.lead-paragraph {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 500;
}

.note-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.93rem;
}

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

/* ---------------- Figures / charts / tables ---------------- */

.chart-figure {
  margin: 1.5rem 0;
  background: #fcfaf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 0.9rem;
}

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

.fig-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}

.data-table caption {
  caption-side: bottom;
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
  text-align: center;
}

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

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

.data-table tbody th {
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}

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

/* ---------------- Process diagram (CSS) ---------------- */

.process-flow {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  display: grid;
  gap: 0.6rem;
}

.process-flow li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  padding: 0.75rem 1rem 0.75rem 3.3rem;
  font-size: 0.93rem;
}

.process-flow li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.process-flow li strong {
  color: var(--navy);
}

/* ---------------- Ads ---------------- */

.ad-box {
  text-align: center;
  margin: 1.3rem 0;
}

.ad-box .ad-note {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

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

.amazon-banner {
  margin: 0 auto;
  max-width: 480px;
}

.amazon-banner a {
  display: block;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #ffe9c2;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
}

.amazon-banner a:hover {
  opacity: 0.88;
  color: var(--white);
}

/* ---------------- Sidebar ---------------- */

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

.side-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
}

.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.45rem 0.2rem;
  color: var(--ink);
}

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

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

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

.side-links li:last-child {
  border-bottom: none;
}

.side-links a {
  display: block;
  padding: 0.45rem 0.2rem;
  color: var(--ink);
}

.side-links a:hover {
  color: var(--gold);
}

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

.side-ad .ad-note {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

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

/* ---------------- TOP: sections ---------------- */

.section {
  padding: 3.2rem 0;
}

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

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

.section-title-en {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-text {
  max-width: 860px;
  margin: 0 auto 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 3px 14px rgba(14, 23, 41, 0.05);
}

.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.stat-value small {
  font-size: 1rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* TOP: news */

.news-section {
  background: var(--navy-deep);
}

.news-section .section-title {
  color: #fff8ec;
}

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

.news-item {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #e9e4d8;
  font-size: 0.94rem;
}

.news-date {
  flex-shrink: 0;
  font-family: var(--font-head);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 7em;
}

.news-text strong {
  color: #ffffff;
}

/* TOP: topic cards */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(14, 23, 41, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

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

.topic-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.topic-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.5;
}

.topic-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-grow: 1;
}

.topic-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.topic-link::after {
  content: " →";
  color: var(--gold);
}

/* ---------------- Pager ---------------- */

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.4rem 0 0;
}

.pager a {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--navy);
}

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

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

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

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-deep);
  color: #cfd6e2;
  margin-top: 0;
  padding: 2.8rem 0 1.6rem;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.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;
  font-weight: 700;
  color: #fff8ec;
  margin-bottom: 0.6rem;
}

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

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.7rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  columns: 2;
  column-gap: 1.2rem;
}

.footer-nav li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.footer-nav a {
  color: #cfd6e2;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.partner-links {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
}

.partner-links li {
  margin-bottom: 0.4rem;
}

.partner-links a {
  color: #cfd6e2;
}

.partner-links a:hover {
  color: var(--gold-bright);
}

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

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

.footer-links a:hover {
  color: var(--gold-bright);
}

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

/* ---------------- Responsive ---------------- */

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

  .side-col {
    position: static;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    box-shadow: 0 12px 24px rgba(14, 23, 41, 0.18);
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 0;
    padding: 0.4rem 0;
  }

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

  .nav-menu li a {
    padding: 0.75rem 1.4rem;
    border-radius: 0;
    font-size: 0.95rem;
    white-space: normal;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    min-height: 420px;
  }

  .hero-inner {
    padding: 3rem 1.2rem;
  }

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

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

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

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

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

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

  .news-item {
    flex-direction: column;
    gap: 0.15rem;
  }

  .pager {
    flex-direction: column;
  }

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

/* ===== 業界応援パートナー募集 ===== */
.partner-page-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.partner-page-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
}

.partner-page-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.35;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.partner-page-lead {
  max-width: 800px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.partner-page-content {
  padding: 3.5rem 0 4.5rem;
  background: var(--paper);
}

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

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

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.partner-content-block h3 {
  font-size: 1.05rem;
  color: var(--navy-soft);
  margin: 1.5rem 0 0.75rem;
}

.partner-content-block p {
  line-height: 1.9;
}

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

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

.partner-content-block li {
  margin-top: 0.5rem;
  line-height: 1.8;
}

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

.partner-highlight-card {
  background: var(--gold-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.5rem;
}

.partner-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.partner-note a {
  color: var(--gold);
}

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

.partner-cta-box h2,
.partner-cta-box p,
.partner-cta-box .partner-note {
  color: var(--white);
}

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

.partner-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.partner-btn-primary {
  background: var(--gold);
  color: var(--white);
}

.partner-btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

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

.partner-btn-ghost:hover {
  background: rgba(22, 35, 62, 0.08);
}

.partner-cta-box .partner-btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.partner-cta-box .partner-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.partner-inline-section {
  padding: 3rem 1.5rem;
  background: var(--paper);
}

.partner-inline-card {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.partner-inline-description {
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

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

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

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

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