@charset "UTF-8";
/**
 * SWELL CHILD - Stemcells
 * front-page.css
 *
 * トップページ（front-page.php）専用スタイル。
 * functions.php で is_front_page() の条件で読み込まれます。
 *
 * 構成：
 *   1. CSS変数（カラー・余白）
 *   2. ベース・ユーティリティ
 *   3. HEROセクション（動画背景）
 *   4. セクション共通
 *   5. カテゴリーセクション（病気・怪我／美容医療／アンチエイジング）
 *   6. 最重要バナー
 *   7. NEWSセクション
 *   8. 基礎知識（コンパクト）
 *   9. レスポンシブ
 */

/* CSS変数 — トップページ & アーカイブ系ページで共通利用
   front-page.css は is_front_page() またはアーカイブ系（is_archive()）で読み込まれるので、
   body.home に限定せず :root に置くことで、カテゴリ・タグアーカイブでも
   .article-card などのカード類が正しく着色される。 */
:root {
  --bg: #F7F8FB;
  --paper: #FFFFFF;
  --navy: #002063;
  --cyan: #2FBEDD;
  --ink: #1E2B3B;
  --ink-2: #5A6B7C;
  --ink-3: #8A99A8;
  --rule: #DCE3EB;
  --blue: #6C9BBF;
  --blue-soft: #E3EDF4;
  --blue-softer: #F0F5F9;
  --accent: #E88B6B;
  --accent-soft: #FAE8E0;
}

/* フロントページ専用ベース調整
   SWELLのbody設定を上書きしすぎないよう、スコープを絞っている */
body.home {
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* フロントページ内のセクション要素のリセット
   SWELLの.l-mainContent等と衝突しないよう、フロントページの主要セクションのみに適用 */
.hero,
.cat-section,
.important-section,
.news-section,
.basics-compact {
  box-sizing: border-box;
}
.hero *,
.cat-section *,
.important-section *,
.news-section *,
.basics-compact * {
  box-sizing: border-box;
}

.serif { font-family: "Shippori Mincho B1", serif; }
.mono { font-family: "DM Mono", monospace; }


/* ============ HERO — VIDEO BACKGROUND ============ */
.hero {
  position: relative; overflow: hidden;
  height: 760px; min-height: 640px; max-height: 100vh;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, #0F2B5E 0%, #0A1F47 50%, #050F2A 100%);
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%; width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay for text readability */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 15, 42, 0.7) 0%, rgba(5, 15, 42, 0.35) 50%, rgba(5, 15, 42, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 15, 42, 0.15) 0%, transparent 30%, transparent 70%, rgba(5, 15, 42, 0.4) 100%);
  pointer-events: none;
}

/* Content */
.hero-inner {
  position: relative; z-index: 4;
  max-width: 1280px; margin: 0 auto;
  height: 100%; padding: 40px;
  display: flex; align-items: center;
}
.hero-content { max-width: 660px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
  font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
.hero-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 72px; font-weight: 500; line-height: 1.3;
  letter-spacing: -0.01em; color: #fff; margin-bottom: 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero-title .comma { color: var(--accent); }
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.88); line-height: 2.05;
  max-width: 500px; margin-bottom: 44px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy);
  padding: 18px 32px; font-size: 14px; border-radius: 2px;
  letter-spacing: 0.05em; font-weight: 500;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateX(4px); }
.btn-primary .arrow { font-size: 16px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.7); padding-bottom: 4px;
  letter-spacing: 0.05em; transition: all 0.2s;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 40px; right: 40px;
  font-family: "DM Mono", monospace; font-size: 10px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.2em;
  text-transform: uppercase; z-index: 5;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 32px; background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after { animation: none; }
}

/* ============ SECTION BASE ============ */
.section { padding: 120px 40px; position: relative; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: end; margin-bottom: 64px;
}
.sec-label {
  font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: 0.2em; color: var(--navy); text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; gap: 14px;
}
.sec-label::before { content: ""; width: 28px; height: 1px; background: var(--navy); }
.sec-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 48px; font-weight: 500; line-height: 1.3;
  color: var(--navy); letter-spacing: -0.005em;
}
.sec-sub { font-size: 15px; color: var(--ink-2); line-height: 2; max-width: 480px; margin-top: 18px; }
.sec-head-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--navy); padding-bottom: 4px;
  letter-spacing: 0.05em; transition: all 0.2s; flex-shrink: 0;
}
.sec-head-link:hover { color: var(--accent); border-color: var(--accent); }

/* News disclaimer (一般ニュースである旨の注記) */
.news-disclaimer {
  display: block; font-size: 12px; color: var(--ink-3);
  line-height: 1.7; margin-top: 8px;
}

/* ============ FEATURED — 注目の記事（FV直下） ============ */
.featured-section {
  background: var(--navy);
  padding: 64px 40px;
}
.featured-head {
  max-width: 1280px; margin: 0 auto 32px;
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.featured-label {
  font-family: "DM Mono", monospace; font-size: 12px;
  letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.featured-label::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
.featured-note {
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.featured-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.featured-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; overflow: hidden;
  transition: all 0.25s;
}
.featured-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.featured-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a3a6b 0%, #0f2b5e 100%);
  position: relative;
}
.featured-pin {
  position: absolute; top: 8px; left: 8px;
  font-size: 12px; color: var(--accent);
  background: rgba(10,22,48,0.7); width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.featured-card-body {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.featured-card-body .article-meta { color: rgba(255,255,255,0.5); }
.featured-card-title {
  font-family: "Shippori Mincho B1", serif; font-size: 14px;
  font-weight: 500; line-height: 1.55; color: #fff;
  letter-spacing: -0.005em;
}
.featured-card:hover .featured-card-title { color: var(--cyan); }

/* ============ CATEGORY SECTIONS (shared) ============ */
.cat-section { padding: 120px 40px; }
.cat-medical { background: var(--paper); }
.cat-cosmetic { background: var(--bg); }
.cat-antiaging { background: var(--paper); }

.cat-intro {
  max-width: 720px; margin-bottom: 56px;
}
.cat-intro p {
  font-family: "Shippori Mincho B1", serif;
  font-size: 19px; line-height: 2.1; color: var(--ink);
  letter-spacing: 0.005em;
}

/* Appeal points grid (情報パネル — non-clickable) */
.appeal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 64px;
}

.appeal-card {
  background: linear-gradient(160deg, var(--blue-softer) 0%, var(--paper) 100%);
  border: 1px solid var(--rule);
  border-radius: 4px; padding: 32px 28px 30px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.cat-cosmetic .appeal-card {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--blue-softer) 100%);
}
.appeal-card::before {
  content: ""; position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%; background: rgba(108, 155, 191, 0.07);
  top: -70px; right: -70px;
}
.appeal-card-num {
  font-family: "DM Mono", monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.18em;
  font-weight: 500; position: relative; z-index: 1;
}
.appeal-card-target {
  font-family: "Shippori Mincho B1", serif; font-size: 19px;
  font-weight: 500; color: var(--navy);
  line-height: 1.5; letter-spacing: -0.005em;
  position: relative; z-index: 1;
  margin-bottom: 4px;
}
.appeal-card-desc {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.95;
  position: relative; z-index: 1; flex: 1;
}

/* Disease area grid (疾患領域別 / お悩み別 — 3行カード) */
.disease-area-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 64px;
}
.disease-area-grid.cosmetic-areas,
.disease-area-grid.antiaging-areas {
  grid-template-columns: repeat(4, 1fr);
}
.disease-area-grid.antiaging-areas {
  grid-template-columns: repeat(5, 1fr);
}
.disease-area-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px;
  transition: all 0.2s; position: relative;
}
.cat-cosmetic .disease-area-link { background: var(--paper); }
.disease-area-link:hover {
  background: var(--navy); border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 32, 99, 0.1);
}
.disease-area-link:hover .da-name { color: #fff; }
.disease-area-link:hover .da-en { color: var(--cyan); }
.disease-area-link:hover .da-arrow { color: var(--accent); transform: translateX(4px); }
.da-name {
  font-family: "Shippori Mincho B1", serif; font-size: 16px;
  font-weight: 500; letter-spacing: -0.005em; color: var(--ink);
  transition: color 0.2s;
}
.da-en {
  font-family: "DM Mono", monospace; font-size: 9px;
  letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase;
  transition: color 0.2s;
}
.da-arrow {
  position: absolute; top: 18px; right: 18px;
  font-size: 13px; color: var(--ink-3);
  transition: all 0.2s;
}

/* Articles strip (3 cards) */
.cat-articles-label {
  font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.cat-articles-label::before {
  content: ""; width: 24px; height: 1px; background: var(--ink-3);
}
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 32px;
}
.article-card {
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer; transition: all 0.25s;
}
.article-card:hover { transform: translateY(-2px); }
.article-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #D4E2ED 100%);
  border-radius: 2px; position: relative; overflow: hidden;
}
.article-thumb-tag {
  position: absolute; bottom: 10px; left: 10px;
  font-family: "DM Mono", monospace; font-size: 9px;
  color: var(--navy); letter-spacing: 0.1em;
  background: var(--paper); padding: 3px 9px; border-radius: 2px;
}
/* 治療実績バッジ（実例記事） */
.article-badge-case {
  position: absolute; top: 10px; right: 10px;
  font-family: "Noto Sans JP", sans-serif; font-size: 10px;
  font-weight: 600; color: #fff; letter-spacing: 0.05em;
  background: var(--accent); padding: 4px 10px; border-radius: 2px;
  box-shadow: 0 2px 8px rgba(232, 139, 107, 0.4);
}
.article-meta {
  display: flex; gap: 12px; align-items: center;
  font-family: "DM Mono", monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.06em;
}
.article-cat {
  background: var(--blue-soft); color: var(--navy);
  padding: 2px 8px; border-radius: 2px;
}
.article-title {
  font-family: "Shippori Mincho B1", serif; font-size: 16px;
  font-weight: 500; line-height: 1.6; color: var(--ink);
  letter-spacing: -0.005em;
}
.article-card:hover .article-title { color: var(--navy); }

.cat-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--navy); padding-bottom: 4px;
  letter-spacing: 0.05em; transition: all 0.2s;
}
.cat-more:hover { color: var(--accent); border-color: var(--accent); }

/* ============ IMPORTANT BANNER ============ */
.important-section { padding: 80px 40px; background: var(--bg); }
.important-banner {
  max-width: 1280px; margin: 0 auto;
  background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: 4px; padding: 40px 48px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.imp-icon-wrap {
  width: 56px; height: 56px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.imp-icon-wrap svg { width: 28px; height: 28px; fill: var(--paper); }
.imp-title { font-family: "Shippori Mincho B1", serif; font-size: 20px; font-weight: 500; color: #7A3B22; margin-bottom: 4px; letter-spacing: -0.005em; }
.imp-sub { font-size: 13px; color: #8F4A2F; line-height: 1.7; }
.imp-cta {
  background: var(--accent); color: var(--paper);
  padding: 14px 28px; border-radius: 2px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 10px; transition: background 0.2s;
}
.imp-cta:hover { background: #D47555; }

/* ============ NEWS SECTION ============ */
.news-section { padding: 120px 40px; background: var(--paper); }
.news-section .section-inner { max-width: 1280px; margin: 0 auto; }
.news-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 32px;
}

/* ============ BASICS COMPACT (bottom) ============ */
.basics-compact {
  padding: 80px 40px 120px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--blue-softer) 100%);
}
.basics-compact-inner {
  max-width: 1280px; margin: 0 auto;
}
.basics-compact-head {
  text-align: center; margin-bottom: 48px;
}
.basics-compact-eyebrow {
  font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: 0.2em; color: var(--navy); text-transform: uppercase;
  margin-bottom: 14px; display: inline-flex; align-items: center; gap: 14px;
}
.basics-compact-eyebrow::before, .basics-compact-eyebrow::after {
  content: ""; width: 24px; height: 1px; background: var(--navy);
}
.basics-compact-title {
  font-family: "Shippori Mincho B1", serif; font-size: 36px;
  font-weight: 500; color: var(--navy); line-height: 1.4;
  margin-bottom: 14px; letter-spacing: -0.005em;
}
.basics-compact-sub {
  font-size: 14px; color: var(--ink-2); line-height: 1.95;
}
.basics-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-bottom: 32px;
}
.basics-strip-item {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 3px; padding: 18px 16px;
  transition: all 0.25s;
}
.basics-strip-item:hover {
  border-color: var(--navy); transform: translateY(-2px);
}
.basics-strip-num {
  font-family: "DM Mono", monospace; font-size: 10px;
  color: var(--blue); letter-spacing: 0.1em; margin-bottom: 8px;
}
.basics-strip-title {
  font-family: "Shippori Mincho B1", serif; font-size: 13px;
  font-weight: 500; color: var(--ink); line-height: 1.55;
  letter-spacing: -0.005em;
}
.basics-compact-cta { text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-title { font-size: 60px; }
  .sec-title { font-size: 40px; }
  .appeal-grid { grid-template-columns: repeat(2, 1fr); }
  .disease-area-grid,
  .disease-area-grid.cosmetic-areas,
  .disease-area-grid.antiaging-areas { grid-template-columns: repeat(3, 1fr); }
  /* Featured → 3 cols on tablet */
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  /* Articles & news → 1 col on tablet (per spec) */
  .articles-grid { grid-template-columns: 1fr; gap: 28px; max-width: 720px; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; max-width: 720px; }
  .basics-strip { grid-template-columns: repeat(3, 1fr); }

  /* Articles vertical layout — make thumb bigger */
  .article-card { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
  .article-thumb { aspect-ratio: 16/10; }
}

@media (max-width: 768px) {
  /* Hero mobile */
  .hero { height: 580px; min-height: 520px; }
  .hero-inner { padding: 20px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 14px; }
  .hero-scroll { display: none; }

  /* Featured mobile */
  .featured-section { padding: 48px 24px; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .featured-head { margin-bottom: 24px; }

  /* Sections mobile */
  .cat-section, .news-section { padding: 72px 24px; }
  .basics-compact { padding: 56px 24px 80px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .sec-title { font-size: 28px; }
  .cat-intro p { font-size: 16px; }
  .basics-compact-title { font-size: 24px; }

  .appeal-grid { grid-template-columns: 1fr; }
  .disease-area-grid,
  .disease-area-grid.cosmetic-areas,
  .disease-area-grid.antiaging-areas { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* Articles full mobile-vertical with thumb on top */
  .article-card { display: flex; flex-direction: column; gap: 14px; }
  .articles-grid, .news-grid { max-width: none; }
  .basics-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .important-section { padding: 56px 24px; }
  .important-banner { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 20px; }
  .imp-icon-wrap { margin: 0 auto; }
  .imp-title { font-size: 18px; }
}


/* ============================================================
   ARCHIVE（カテゴリ／投稿タイプアーカイブ）用スタイル
   front-page.css の末尾に統合（archive.php を別配置できないため）
   トップページと同じカードUI（.article-card / .articles-grid）を使う。
   ============================================================ */

.category-archive-main {
  padding: 72px 40px 96px;
  background: var(--paper);
  min-height: 60vh;
}
.category-archive-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.category-archive-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.category-archive-head-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.category-archive-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.category-archive-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--navy);
}
.category-archive-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.category-archive-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 820px;
}
.category-archive-description p { margin: 0 0 0.6em; }

.category-section { padding: 0; }
.category-articles-grid { margin-bottom: 56px !important; }

.category-no-posts {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-3);
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.category-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.category-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.category-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 14px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--navy);
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  transition: all 0.2s;
}
.category-pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--blue-softer);
}
.category-pagination .page-numbers.current {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.category-pagination .page-numbers.dots {
  border-color: transparent;
  color: var(--ink-3);
}
.category-pagination .page-numbers.prev,
.category-pagination .page-numbers.next { padding: 10px 18px; }

@media (max-width: 960px) {
  .category-archive-main { padding: 56px 32px 80px; }
  .category-archive-title { font-size: 32px; }
  .category-archive-header { margin-bottom: 40px; }
}
@media (max-width: 768px) {
  .category-archive-main { padding: 40px 20px 64px; }
  .category-archive-title { font-size: 26px; }
  .category-archive-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .category-archive-description { font-size: 13px; line-height: 1.8; }
  .category-archive-header { margin-bottom: 32px; padding-bottom: 24px; }
  .category-articles-grid { margin-bottom: 40px !important; }
  .category-pagination { margin-top: 40px; }
  .category-pagination .page-numbers { min-width: 36px; padding: 8px 10px; font-size: 11px; }
}
