/* ============================================
   保育テックジャーナル styles.css
   カラー: 深緑(ティール) × コーラル × クリーム
   フォント: Zen Maru Gothic(見出し) + Noto Sans JP(本文)
   ============================================ */

:root {
  --primary: #1e6f6a;
  --primary-dark: #134f4b;
  --primary-light: #e3f1ef;
  --accent: #f2865e;
  --accent-dark: #d96a41;
  --bg: #fbf7f0;
  --card: #ffffff;
  --text: #2e3238;
  --muted: #6b7280;
  --line: #e5e0d5;
  --shadow: 0 4px 18px rgba(30, 60, 55, 0.1);
  --radius: 14px;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

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

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

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

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(30, 60, 55, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 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;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
}

.brand-name .brand-dot {
  color: var(--accent);
}

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

.site-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;
  max-width: 860px;
  justify-content: flex-end;
  padding: 0;
}

.nav-menu li a {
  display: block;
  font-weight: 500;
  color: var(--text);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-menu li a:hover,
.nav-menu li a.current {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* ---------- ヒーロー（TOP） ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 4rem 1.2rem;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fffdf5;
  letter-spacing: 0.06em;
  line-height: 1.4;
  -webkit-text-stroke: 1px rgba(19, 79, 75, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65), 0 6px 24px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: #fffdf5;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.55);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- ページヒーロー（下層） ---------- */
.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(19, 79, 75, 0.05) 30%, rgba(19, 79, 75, 0.62) 100%);
}

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

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 900;
  color: #fffdf5;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: #f4efe3;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.page-hero .breadcrumb a {
  color: #ffe4d1;
  text-decoration: underline;
}

/* ヒーロー背景画像（ページ別） */
.hero-top {
  background-image: url("images/hero-childcare-tech.jpg");
}

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

.hero-p02 {
  background-image: url("images/hero-ict-systems.jpg");
}

.hero-p03 {
  background-image: url("images/hero-dx-policy.jpg");
}

.hero-p04 {
  background-image: url("images/hero-safety-tech.jpg");
}

.hero-p05 {
  background-image: url("images/hero-labor-shortage.jpg");
}

.hero-p06 {
  background-image: url("images/hero-major-players.jpg");
}

.hero-p07 {
  background-image: url("images/hero-ai-childcare.jpg");
}

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

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

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

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

.page-lead {
  background: var(--primary-light);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

.content-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.9rem;
  margin-bottom: 1.8rem;
}

.content-section h2 {
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 3px solid var(--primary-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.1rem;
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 72px;
  height: 3px;
  background: var(--accent);
}

.content-section h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.4rem 0 0.6rem;
  padding-left: 0.7rem;
  border-left: 4px solid var(--accent);
}

.content-section p {
  margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
  margin: 0 0 1rem 0.4rem;
}

.content-section li {
  margin-bottom: 0.35rem;
}

/* ---------- 図解・グラフ ---------- */
.figure {
  margin: 1.4rem 0;
  padding: 1.2rem 1rem;
  background: #fdfbf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

.figure svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

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

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

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

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

.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(--primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

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

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

/* プロセス図 */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin: 1.4rem 0;
}

.process-step {
  flex: 1 1 150px;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  position: relative;
  font-size: 0.85rem;
}

.process-step strong {
  display: block;
  font-family: var(--font-head);
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.process-step .step-no {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.05rem 0.6rem;
  margin-bottom: 0.35rem;
}

/* ---------- 広告 ---------- */
.ad-inline {
  margin: 1.3rem 0;
  padding: 0.9rem;
  background: #f6f4ee;
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  overflow-x: auto;
}

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

.amazon-banner {
  display: inline-block;
}

.amazon-banner a {
  display: inline-block;
  background: linear-gradient(135deg, #232f3e, #37475a);
  color: #ffd814;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.amazon-banner a:hover {
  opacity: 0.85;
  text-decoration: none;
}

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

.side-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem;
}

.side-box h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.08em;
}

.side-ad {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  overflow: hidden;
}

.side-ad .ad-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

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

.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 0.5rem 1.2rem;
  color: var(--text);
  position: relative;
}

.toc-list a::before {
  content: "▸";
  position: absolute;
  left: 0.1rem;
  color: var(--accent);
}

.toc-list a:hover {
  color: var(--primary);
}

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

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

.related-list a {
  display: block;
  padding: 0.55rem 0.8rem;
  background: var(--primary-light);
  border-radius: 8px;
  color: var(--primary-dark);
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

.related-list a:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ---------- TOP: 概要 ---------- */
.section-block {
  padding: 3.2rem 0;
}

.section-block.alt {
  background: #f2ede2;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--primary-dark);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.2rem;
  letter-spacing: 0.08em;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.overview-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  border-top: 5px solid var(--accent);
}

.overview-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.overview-card p {
  font-size: 0.9rem;
}

.overview-lead {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.98rem;
}

.overview-lead p {
  margin-bottom: 1rem;
}

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

.news-list li {
  display: flex;
  gap: 1.2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}

.news-date {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
  margin-top: 0.15rem;
}

.news-body strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.news-body span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- TOP: トピックカード ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.topic-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(30, 60, 55, 0.18);
}

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

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

.topic-card-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

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

.topic-card-body .topic-link {
  margin-top: 0.9rem;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
}

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

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

.page-nav a {
  flex: 1;
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-dark);
  transition: background 0.25s ease, color 0.25s ease;
}

.page-nav a:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.page-nav .prev {
  text-align: left;
}

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

/* ---------- フッター ---------- */
.site-footer {
  background: var(--primary-dark);
  color: #dfe9e7;
  padding: 2.8rem 0 1.5rem;
  margin-top: 0;
}

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

.footer-col h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.6rem;
}

.footer-col p {
  font-size: 0.85rem;
}

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

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

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

.footer-col a:hover {
  color: #fff;
}

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

.footer-links a {
  color: #cfe0dd;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

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

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #9db8b4;
}

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

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

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

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 0;
    padding: 0.5rem 0 0.8rem;
  }

  .nav-menu li a {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .hero {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .content-section {
    padding: 1.3rem 1.1rem;
  }

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

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

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

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

  .page-nav {
    flex-direction: column;
  }

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

/* ===== 業界応援パートナー募集 ===== */
.partner-inline-section {
  padding: 0 0 3.5rem;
}

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

.partner-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

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

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

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

.partner-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
}

.partner-btn--primary {
  background: var(--primary);
  color: #ffffff;
}

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

.partner-btn--ghost {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

.partner-page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
}

.partner-page-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 1.2rem;
  color: #ffffff;
}

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

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

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

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

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 0 0 1rem;
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.5rem 0 0.7rem;
}

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

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

.partner-content-block ul,
.partner-content-block ol {
  margin: 0.8rem 0 0;
  padding-left: 1.4rem;
  color: var(--text);
  line-height: 1.8;
}

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

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

.partner-highlight-card {
  background: var(--primary-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

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

.partner-highlight-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}

.partner-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
}

.partner-cta-box h2,
.partner-cta-box p,
.partner-cta-box .partner-note {
  color: #ffffff;
}

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

.partner-cta-box .partner-btn--primary {
  background: var(--accent);
  color: #ffffff;
}

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

.partner-cta-box .partner-btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

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

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

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

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

  .partner-content-block {
    padding: 1.6rem;
  }
}

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