/* ==========================================================
   フードロボティクス産業レポート 共通スタイル
   デザインテーマ: ステンレス調ライトグレー × トマトレッド
   （キッチンのような清潔感とポップさ）
   ========================================================== */

:root {
  --steel-50: #f5f7f8;
  --steel-100: #eceff1;
  --steel-200: #dde3e6;
  --steel-300: #c6cfd4;
  --steel-400: #9aa7ae;
  --tomato: #e23c2e;
  --tomato-dark: #bf291d;
  --tomato-soft: #fdeae8;
  --ink: #2b3238;
  --ink-soft: #57646c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(43, 50, 56, 0.1);
  --transition: all 0.25s ease;
  --font-head: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 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(--ink);
  background-color: var(--steel-100);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0px,
    rgba(255, 255, 255, 0.35) 1px,
    transparent 1px,
    transparent 7px
  );
  line-height: 1.9;
  font-size: 16px;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #fdfefe 0%, var(--steel-100) 100%);
  border-bottom: 3px solid var(--tomato);
  box-shadow: 0 2px 10px rgba(43, 50, 56, 0.12);
}

.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;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff6a5c, var(--tomato) 70%);
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel-400);
}

/* ナビゲーション（2行レイアウト対応） */
.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 {
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-block;
}

.nav-item a:hover {
  background: var(--tomato-soft);
  color: var(--tomato-dark);
}

.nav-item a.active {
  background: var(--tomato);
  color: var(--white);
}

/* ハンバーガーボタン */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  padding: 8px 10px;
  background: var(--white);
  border: 2px solid var(--steel-300);
  border-radius: 10px;
  cursor: pointer;
}

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

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

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

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

/* ---------- ヒーロー（TOP） ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  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(30, 34, 38, 0) 40%, rgba(30, 34, 38, 0.55) 100%);
}

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

.hero-badge {
  display: inline-block;
  background: var(--tomato);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 22px rgba(0, 0, 0, 0.6);
}

.hero p {
  margin-top: 0.8rem;
  color: #f6f8f9;
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 3px 12px rgba(0, 0, 0, 0.6);
  max-width: 720px;
}

/* ---------- 共通セクション ---------- */
main {
  display: block;
}

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

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.section-title::before {
  content: '';
  width: 14px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff6a5c, var(--tomato));
  flex-shrink: 0;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 860px;
  margin-bottom: 1.5rem;
}

/* TOP: サイト概要 */
.about-panel {
  background: linear-gradient(180deg, #fdfefe, var(--steel-50));
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.about-panel p {
  margin-bottom: 1rem;
}

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

/* TOP: 最新ニュース（オーダー票風） */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-item {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 6px solid var(--tomato);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 3px 10px rgba(43, 50, 56, 0.07);
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

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

.news-body {
  flex: 1;
  min-width: 260px;
}

.news-body strong {
  display: block;
  font-size: 1.02rem;
}

.news-body span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* TOP: コンテンツカード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}

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

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(43, 50, 56, 0.16);
}

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

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

.card-no {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--tomato);
}

.card-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
}

.card-body h3 a {
  color: var(--ink);
}

.card-body h3 a:hover {
  color: var(--tomato-dark);
}

.card-body p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  flex: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- 下層ページ ---------- */
.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(30, 34, 38, 0) 30%, rgba(30, 34, 38, 0.6) 100%);
}

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

.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-hero p {
  color: #f6f8f9;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin-top: 0.5rem;
}

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

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

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

/* 2カラムレイアウト */
.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 3.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.2rem;
  align-items: start;
}

.article-content {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
  min-width: 0;
}

.article-content > p {
  margin-bottom: 1.2rem;
}

.article-content h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.5;
  margin: 2.4rem 0 1.1rem;
  padding: 0.55rem 0.9rem;
  background: linear-gradient(90deg, var(--tomato-soft), var(--steel-50));
  border-left: 7px solid var(--tomato);
  border-radius: 6px;
}

.article-content h2:first-of-type {
  margin-top: 1.6rem;
}

.article-content h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 1.7rem 0 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dashed var(--steel-300);
}

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

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

.article-eyecatch {
  margin-bottom: 1.4rem;
}

.article-eyecatch img {
  width: 100%;
  border-radius: 10px;
}

.article-lead {
  font-weight: 500;
  color: var(--ink);
}

/* 表 */
.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
}

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

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

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

.data-table tbody tr:nth-child(even) {
  background: var(--steel-50);
}

.data-table tbody th {
  background: var(--tomato-soft);
  font-weight: 700;
  white-space: nowrap;
}

/* CSSバーチャート */
.bar-chart {
  margin: 1.2rem 0 1.6rem;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
}

.bar-chart .chart-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}

.bar-track {
  background: var(--steel-200);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a75, var(--tomato));
}

.bar-fill.alt {
  background: linear-gradient(90deg, #8fa3ad, #5a707c);
}

.bar-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.chart-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* タイムライン */
.timeline {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding-left: 0.4rem;
  border-left: 4px solid var(--tomato);
}

.timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.4rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -0.78rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--tomato);
}

.timeline .tl-time {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--tomato-dark);
  display: block;
  font-size: 0.92rem;
}

/* ステップ図 / 工程図 */
.step-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 1.6rem;
  counter-reset: step;
  padding-left: 0;
  list-style: none;
}

.step-flow li {
  counter-increment: step;
  background: var(--white);
  border: 2px solid var(--steel-300);
  border-radius: 10px;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  position: relative;
  flex: 1 1 160px;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.step-flow li::before {
  content: counter(step);
  position: absolute;
  left: 0.7rem;
  top: 0.8rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--tomato);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-flow li strong {
  display: block;
  font-family: var(--font-head);
}

/* 統計ハイライト */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}

.stat-box {
  background: linear-gradient(180deg, #fdfefe, var(--steel-50));
  border: 1px solid var(--steel-200);
  border-top: 5px solid var(--tomato);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.stat-box .stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--tomato-dark);
  line-height: 1.3;
}

.stat-box .stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* 広告 */
.article-ad,
.sidebar-ad {
  margin: 1.4rem 0;
  padding: 0.9rem;
  background: var(--steel-50);
  border: 1px dashed var(--steel-300);
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
}

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

.ad-note {
  display: block;
  font-size: 0.7rem;
  color: var(--steel-400);
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.amazon-banner a {
  display: block;
  background: linear-gradient(90deg, #fff6f0, #ffe9d8);
  border: 1px solid #f0c9a8;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: #8a4b12;
  transition: var(--transition);
}

.amazon-banner a:hover {
  background: linear-gradient(90deg, #ffefe2, #ffdfc2);
}

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

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
}

.sidebar-block.sidebar-ad {
  margin: 0;
}

.sidebar-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
  border-bottom: 3px solid var(--tomato);
}

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

.toc-list li,
.related-list li {
  border-bottom: 1px dashed var(--steel-300);
}

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

.toc-list a,
.related-list a {
  display: block;
  padding: 0.55rem 0.2rem;
  color: var(--ink);
  font-size: 0.9rem;
  transition: var(--transition);
}

.toc-list a::before {
  content: '\25B8';
  color: var(--tomato);
  margin-right: 0.4rem;
}

.toc-list a:hover,
.related-list a:hover {
  color: var(--tomato-dark);
  padding-left: 0.5rem;
}

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

.pager a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--steel-50);
  border: 2px solid var(--steel-300);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  color: var(--ink);
  transition: var(--transition);
}

.pager a:hover {
  border-color: var(--tomato);
  color: var(--tomato-dark);
  background: var(--tomato-soft);
}

/* ---------- フッター ---------- */
.site-footer {
  background: #23282c;
  color: #d6dce0;
  border-top: 5px solid var(--tomato);
  margin-top: 2rem;
  padding: 2.6rem 1.2rem 1.6rem;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--tomato);
}

.footer-about {
  font-size: 0.85rem;
  color: #aab4ba;
}

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

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

.footer-grid ul a {
  color: #d6dce0;
  font-size: 0.85rem;
}

.footer-grid ul a:hover {
  color: #ff8a75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  border-top: 1px solid #3a4147;
  padding-top: 1.4rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.footer-nav,
.footer-sites {
  min-width: 0;
}

.footer-links a {
  color: #d6dce0;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
}

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

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

/* ---------- レスポンシブ ---------- */
@media (max-width: 1023px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    max-width: 640px;
  }
}

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

  .global-nav {
    display: block;
    width: 100%;
  }

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

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

  .nav-item a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--steel-200);
    font-size: 1rem;
  }
}

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

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

  .hero {
    min-height: 380px;
  }

  .bar-row {
    grid-template-columns: 92px minmax(0, 1fr) 70px;
  }

  .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: 0 1.2rem 3rem;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 4px solid var(--tomato);
  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(--tomato-soft);
  color: var(--tomato-dark);
  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(--ink);
  margin: 0 0 0.6rem;
}

.partner-inline-description {
  color: var(--ink-soft);
  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(--tomato);
  color: var(--white);
}

.partner-btn-primary:hover {
  background: var(--tomato-dark);
}

.partner-btn-secondary {
  background: var(--white);
  color: var(--tomato-dark);
  border: 1px solid var(--tomato);
}

.partner-btn-secondary:hover {
  background: var(--tomato-soft);
}

.partner-page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--tomato-dark) 100%);
  color: var(--white);
  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(255, 255, 255, 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.35;
  margin: 0 0 1rem;
  color: var(--white);
}

.partner-page-lead {
  max-width: 860px;
  color: rgba(255, 255, 255, 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(--white);
  border: 1px solid var(--steel-200);
  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(--ink);
  margin: 0 0 0.9rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--tomato);
}

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

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

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

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

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

.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(--steel-50);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

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

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

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

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

.partner-cta-box h2 {
  color: var(--white);
  border-left-color: rgba(255, 255, 255, 0.7);
}

.partner-cta-box p,
.partner-cta-box .partner-note {
  color: rgba(255, 255, 255, 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(--white);
  color: var(--tomato-dark);
}

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

.partner-cta-box .partner-btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.partner-cta-box .partner-btn-secondary:hover {
  background: rgba(255, 255, 255, 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; }
}
