/* =========================================================
   藻類バイオビジネス 現況報告サイト
   Design: Emerald Green × Deep Ocean Blue / 有機的な曲線と円形モチーフ
   ========================================================= */

:root {
  --emerald: #10b981;
  --emerald-deep: #059669;
  --emerald-light: #6ee7b7;
  --ocean: #062a3a;
  --ocean-mid: #0b3d52;
  --ocean-deep: #041c27;
  --teal: #0e7490;
  --aqua: #22d3ee;
  --text-dark: #0f2f28;
  --text-body: #234b45;
  --text-muted: #5c7c76;
  --bg: #f3faf7;
  --bg-alt: #e6f6ef;
  --white: #ffffff;
  --border: #cfe9df;
  --shadow: 0 10px 30px rgba(6, 42, 58, 0.10);
  --shadow-strong: 0 18px 48px rgba(6, 42, 58, 0.18);
  --radius: 18px;
  --transition: all 0.28s ease;
  --font-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-head: "Zen Maru Gothic", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--emerald-deep); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.4; }

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(6, 42, 58, 0.06);
}

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

.nav-logo { display: flex; align-items: center; gap: 0.6rem; }

.nav-logo .logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--emerald-light), var(--emerald) 55%, var(--teal));
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .logo-text strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ocean); }
.nav-logo .logo-text span { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.08em; }

.nav-menu { display: flex; }

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  justify-content: center;
}

.nav-item a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
  display: block;
}

.nav-item a:hover, .nav-item a.active {
  background: var(--bg-alt);
  color: var(--emerald-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--emerald-deep);
  border-radius: 3px;
  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); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 28, 39, 0.78) 0%, rgba(5, 150, 105, 0.35) 60%, rgba(4, 28, 39, 0.5) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero h1 {
  color: #eafff7;
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 720px;
  color: #f0fff9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 8px 20px rgba(16,185,129,0.4); }
.btn-primary:hover { background: var(--emerald-deep); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===================== Section framework ===================== */
.section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); position: relative; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-head .kicker {
  display: inline-block;
  color: var(--emerald-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.6rem;
}
.section-head .kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--emerald-light), var(--emerald));
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--text-muted); }

/* ===================== Overview / intro ===================== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.overview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.overview-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110,231,183,0.35), transparent 70%);
}
.overview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.overview-card .num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--emerald);
  font-weight: 700;
}
.overview-card h3 { font-size: 1.15rem; margin: 0.5rem 0 0.6rem; }
.overview-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ===================== News list ===================== */
.news-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.news-item {
  display: flex;
  gap: 1.3rem;
  background: var(--white);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--emerald);
  align-items: flex-start;
  transition: var(--transition);
}
.news-item:hover { transform: translateX(4px); }
.news-item time {
  color: var(--emerald-deep);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  padding-top: 0.15rem;
}
.news-item .news-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.news-item .news-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.news-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--emerald-deep);
  font-size: 0.72rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

/* ===================== Feature link cards (topics) ===================== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.topic-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.topic-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.topic-card:hover .thumb img { transform: scale(1.06); }
.topic-card .body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.topic-card .body h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.topic-card .body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.topic-card .body .more { font-weight: 700; color: var(--emerald-deep); font-size: 0.9rem; }

/* ===================== Two-column layout (lower pages) ===================== */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}
.article { min-width: 0; }
.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--emerald-deep); }

.page-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.page-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  border-left: 5px solid var(--emerald);
  margin-bottom: 2.4rem;
}

.article h2 {
  font-size: 1.55rem;
  margin: 2.6rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  position: relative;
  padding-left: 1.4rem;
}
.article h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 0.95rem; height: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--emerald-light), var(--emerald));
}
.article h3 { font-size: 1.2rem; margin: 1.8rem 0 0.7rem; color: var(--emerald-deep); }
.article p { margin-bottom: 1.2rem; }
.article ul, .article ol { margin: 0 0 1.3rem 1.4rem; }
.article li { margin-bottom: 0.5rem; }
.article strong { color: var(--ocean-mid); }

.callout {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(14,116,144,0.08));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}
.callout h4 { color: var(--emerald-deep); margin-bottom: 0.5rem; }

/* ===================== Data viz: stat bars ===================== */
.stat-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 1.8rem 0;
}
.stat-block h4 { margin-bottom: 1.2rem; font-size: 1.05rem; }
.stat-row { margin-bottom: 1rem; }
.stat-row .stat-label { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.35rem; font-weight: 600; color: var(--text-dark); }
.stat-track { background: var(--bg-alt); border-radius: 999px; height: 14px; overflow: hidden; }
.stat-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
}
.stat-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.8rem; }

/* ===================== Data viz: comparison table ===================== */
.table-wrap { overflow-x: auto; margin: 1.8rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 520px; }
table.data-table th, table.data-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
table.data-table thead th { background: var(--ocean); color: #eafff7; font-family: var(--font-head); }
table.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }
table.data-table tbody tr:hover { background: rgba(16,185,129,0.08); }

/* ===================== Data viz: timeline ===================== */
.timeline { position: relative; margin: 1.8rem 0 1.8rem 0.5rem; padding-left: 1.8rem; border-left: 3px solid var(--emerald-light); }
.timeline-item { position: relative; margin-bottom: 1.6rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.28rem; top: 0.25rem;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}
.timeline-item .year { font-family: var(--font-head); color: var(--emerald-deep); font-weight: 700; }
.timeline-item p { margin: 0.2rem 0 0; font-size: 0.92rem; }

/* ===================== Sidebar ===================== */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 90px; }
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.sidebar-box h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--bg-alt);
  position: relative;
  padding-left: 1.2rem;
}
.sidebar-box h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--emerald);
}
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 0.5rem; }
.toc-list a { font-size: 0.88rem; color: var(--text-body); display: block; padding: 0.3rem 0.5rem; border-radius: 8px; }
.toc-list a:hover { background: var(--bg-alt); color: var(--emerald-deep); }
.related-list { list-style: none; }
.related-list li { margin-bottom: 0.6rem; padding-left: 1rem; position: relative; }
.related-list li::before { content: "›"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.related-list a { font-size: 0.88rem; }

.sidebar-ad { text-align: center; overflow: hidden; }
.sidebar-ad img { margin: 0 auto; max-width: 100%; height: auto; }
.amazon-banner a {
  display: block;
  background: linear-gradient(135deg, var(--emerald-deep), var(--teal));
  color: #fff;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.amazon-banner a:hover { color: #fff; opacity: 0.92; }

/* Inline banner in article */
.inline-ad { text-align: center; margin: 1.8rem 0; overflow: hidden; }
.inline-ad img { margin: 0 auto; max-width: 100%; height: auto; }

/* ===================== Footer ===================== */
.footer {
  background: var(--ocean-deep);
  color: #cfe9df;
  padding: 3.5rem 1.5rem 1.8rem;
  margin-top: 3rem;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.footer-brand .logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--emerald-light), var(--emerald) 55%, var(--teal));
  margin-bottom: 0.9rem;
}
.footer-brand h3 { color: #eafff7; font-size: 1.2rem; margin-bottom: 0.7rem; }
.footer-brand p { font-size: 0.86rem; color: #9fc7ba; }
.footer-col h4 { color: #eafff7; font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #9fc7ba; font-size: 0.86rem; }
.footer-col a:hover { color: var(--emerald-light); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-links a { color: #cfe9df; font-size: 0.85rem; padding: 0.3rem 0.6rem; border-radius: 6px; }
.footer-links a:hover { color: var(--emerald-light); }
.footer-copy { text-align: center; font-size: 0.8rem; color: #7ba99b; }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 64px;
    right: 0;
    width: min(300px, 82vw);
    height: calc(100vh - 64px);
    background: var(--white);
    box-shadow: -8px 0 30px rgba(6,42,58,0.15);
    transform: translateX(105%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    padding: 1.2rem;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; max-width: none; }
  .nav-item a { padding: 0.9rem 1rem; border-radius: 10px; }
  .hero { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section { padding: 3rem 1.2rem; }
}

@media (max-width: 480px) {
  .news-item { flex-direction: column; gap: 0.4rem; }
}

/* ===================== Partner（業界応援パートナー） ===================== */
.btn-secondary {
  background: var(--white);
  color: var(--emerald-deep);
  border-color: var(--emerald);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--emerald-deep);
  transform: translateY(-2px);
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-deep);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.partner-inline-section { padding: 4.5rem 1.5rem 0; }
.article .partner-inline-section { padding: 2.4rem 0 0.6rem; }

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

.partner-inline-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.article .partner-inline-title {
  border-bottom: none;
  padding: 0;
  margin: 0 0 0.6rem;
}
.article .partner-inline-title::before { display: none; }

.partner-inline-description {
  color: var(--text-body);
  font-size: 0.95rem;
  margin: 0;
}
.article .partner-inline-description { margin-bottom: 0; }

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

.partner-page-hero {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 55%, var(--teal) 100%);
  color: #f0fff9;
  padding: 4.5rem 1.5rem 3.8rem;
  position: relative;
  overflow: hidden;
}
.partner-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(110, 231, 183, 0.22), transparent 42%), radial-gradient(circle at 8% 88%, rgba(34, 211, 238, 0.16), transparent 45%);
}
.partner-page-hero .section-inner { position: relative; z-index: 1; }

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

.partner-page-title {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.partner-page-lead {
  max-width: 820px;
  font-size: 1.02rem;
  color: #d9f7ec;
}

.partner-page-content { padding: 2.6rem 1.5rem 4.5rem; }
.partner-page-content .breadcrumb {
  max-width: 1160px;
  margin: 0 auto 1.6rem;
}

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

.partner-content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
}
.partner-content-block h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.partner-content-block h3 {
  font-size: 1.1rem;
  color: var(--emerald-deep);
  margin: 1.6rem 0 0.7rem;
}
.partner-content-block p + p,
.partner-content-block ul,
.partner-content-block ol { margin-top: 0.9rem; }
.partner-content-block ul,
.partner-content-block ol { padding-left: 1.35rem; }
.partner-content-block li + li { margin-top: 0.45rem; }

.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(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
}
.partner-highlight-card h3 { margin: 0 0 0.5rem; }
.partner-highlight-card p { font-size: 0.92rem; margin: 0; }

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

.partner-cta-box {
  background: linear-gradient(135deg, var(--emerald-deep), var(--teal));
  border: none;
  color: #f0fff9;
}
.partner-cta-box h2,
.partner-cta-box p,
.partner-cta-box li,
.partner-cta-box .partner-note { color: #f0fff9; }

.partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.partner-cta-box .btn-primary {
  background: var(--white);
  color: var(--emerald-deep);
  box-shadow: 0 8px 20px rgba(4, 28, 39, 0.25);
}
.partner-cta-box .btn-primary:hover {
  background: var(--bg-alt);
  color: var(--emerald-deep);
}
.partner-cta-box .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.partner-cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

@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-inline-card,
  .partner-content-block { padding: 1.5rem 1.3rem; }
  .partner-page-hero { padding: 3.4rem 1.2rem 3rem; }
  .partner-page-content { padding: 2.2rem 1.2rem 3.4rem; }
}

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