/* ============================================================
   NomadShield Japanese Edition - Typography Overrides
   日本語版固有のタイポグラフィ調整
   ============================================================ */
:root {
  --jp-font-sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Meiryo', 'MS PGothic', sans-serif;
  --jp-font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;
}

body {
  font-family: var(--jp-font-sans);
  font-feature-settings: "palt" 1; /* Japanese proportional kerning */
  line-height: 1.75; /* Japanese needs more line height */
}

/* Slightly looser tracking for Japanese */
h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

p, li {
  letter-spacing: 0.03em;
}

/* Override base font in hero */
.article-hero h1, .article-hero .article-lead,
.hero-title, .hero-subtitle {
  font-family: var(--jp-font-sans);
}

/* Quick Answer box - Japanese style */
.quick-answer-jp {
  background: #f0fdfa;
  border-left: 4px solid #0d9488;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.quick-answer-jp .qa-label {
  font-size: 11px;
  font-weight: 700;
  color: #0d9488;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.quick-answer-jp p {
  font-size: 15px;
  color: #0f172a;
  line-height: 1.85;
  margin: 0;
  font-weight: 500;
}

/* Japanese-specific: yen pricing emphasis */
.price-yen {
  font-weight: 700;
  color: #0d9488;
}
.price-usd-equivalent {
  font-size: 0.85em;
  color: #64748b;
  margin-left: 4px;
}

/* Language switcher (top-right) */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 4px 10px;
  background: rgba(13,148,136,0.08);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  border: 1px solid rgba(13,148,136,0.2);
  transition: all 0.15s;
}
.lang-switcher:hover {
  background: rgba(13,148,136,0.15);
  border-color: rgba(13,148,136,0.4);
}
.lang-switcher svg {
  width: 12px;
  height: 12px;
}

/* Hero modifications */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: #ffffff;
  color: #1e3a5f;
  line-height: 1.625;
  overflow-x: hidden;
  font-size: 16px;
}

/* ── TOKENS ── */
:root {
  --primary: #1e3a5f;
  --primary-fg: #ffffff;
  --secondary: #2d9b83;
  --accent: #f5872a;
  --muted: #f3f5f8;
  --muted-fg: #6b7a90;
  --border: #e2e8f0;
  --card: #ffffff;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --green-border: #bbf7d0;
  --blue: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --orange: #ea580c;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  --red-light: #fef2f2;
  --red-border: #fecaca;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.container-article { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }

/* ── HEADER ── */
.site-header {
  background: var(--primary); color: var(--primary-fg);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.header-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; }
.header-logo svg { width: 24px; height: 24px; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  color: rgba(255,255,255,.8); text-decoration: none; padding: 6px 12px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: color .15s, background .15s;
}
.header-nav a:hover, .header-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.header-nav a.affiliate { color: rgba(255,255,255,.6); font-size: 13px; }
.hamburger { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 6px; }
.mobile-menu { display: none; background: var(--primary); padding: 8px 16px 16px; }
.mobile-menu a { display: block; color: rgba(255,255,255,.85); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); font-size: 15px; }
.mobile-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 767px) {
  .header-nav { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open { display: block; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; padding: 80px 0 72px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; letter-spacing: -.02em; }
.hero p { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600; padding: 14px 32px;
  border-radius: var(--radius-lg); border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 14px rgba(245,135,42,.4); transition: all .15s;
}
.btn-hero:hover { background: #e0781e; transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: all .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #15803d; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1e40af; }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ── CARDS ── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-body { padding: 1.25rem 1.5rem; }
.card-hover { transition: box-shadow .2s, transform .2s; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── BADGE ── */
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.badge-green { background: var(--green-light); color: var(--green); border: 1px solid var(--green-border); }
.badge-blue { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.badge-orange { background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange-border); }
.badge-muted { background: var(--muted); color: var(--muted-fg); border: 1px solid var(--border); }
.badge-accent { background: #fff7ed; color: var(--accent); border: 1px solid #fed7aa; }
.badge-purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-gray { background: #f9fafb; color: #374151; border: 1px solid #e5e7eb; }

/* ── SECTION ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-muted { background: var(--muted); }
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.section-sub { font-size: 16px; color: var(--muted-fg); max-width: 560px; line-height: 1.65; }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .grid-2-sm { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ── ARTICLE STYLES ── */
.article-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: #fff; padding: 56px 0 48px; }
.article-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.article-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.article-breadcrumb a:hover { color: #fff; }
.article-hero h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; }
.article-hero p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 640px; line-height: 1.65; }
.article-cta-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.article-content { padding: 48px 0 72px; }
.article-content h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; margin: 48px 0 16px; padding-top: 8px; letter-spacing: -.01em; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.article-content p { color: #374151; line-height: 1.75; margin-bottom: 16px; max-width: 65ch; }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 16px; }
.article-content li { color: #374151; line-height: 1.7; margin-bottom: 6px; font-size: 15px; }
.article-content strong { color: var(--primary); }
.article-content em { font-style: italic; }

/* verdict box */
.verdict-box { border: 2px solid var(--green); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 40px; }
.verdict-box-header { background: var(--green); padding: 10px 20px; }
.verdict-box-header p { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.verdict-box-body { padding: 20px; }
.verdict-box-title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.4; }

/* alert boxes */
.alert { display: flex; gap: 12px; border-radius: var(--radius-lg); padding: 14px 16px; margin: 24px 0; }
.alert svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.alert-title { font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.alert-body { font-size: 13px; line-height: 1.55; }
.alert-orange { background: var(--orange-light); border: 1px solid var(--orange-border); }
.alert-orange svg, .alert-orange .alert-title { color: var(--orange); }
.alert-orange .alert-body { color: #7c2d12; }
.alert-red { background: var(--red-light); border: 1px solid var(--red-border); }
.alert-red svg, .alert-red .alert-title { color: #dc2626; }
.alert-red .alert-body { color: #7f1d1d; }

/* comparison table */
.comp-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); margin: 24px 0; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.comp-table thead tr { background: var(--primary); color: #fff; }
.comp-table th { padding: 12px 14px; text-align: left; font-weight: 600; }
.comp-table th:not(:first-child) { text-align: center; }
.comp-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; color: #374151; }
.comp-table td:not(:first-child) { text-align: center; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) { background: var(--muted); }
.comp-table .td-win { color: var(--green); font-weight: 600; background: var(--green-light); }
.comp-table .td-lose { color: var(--muted-fg); }

/* scenario cards */
.scenario { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 10px; }
.scenario-title { background: var(--primary); padding: 10px 16px; font-size: 13px; font-weight: 600; color: #fff; }
.scenario-body { padding: 12px 16px; display: flex; align-items: flex-start; gap: 10px; }
.scenario-body p { font-size: 13px; color: var(--muted-fg); line-height: 1.55; margin: 0; }

/* pricing cards */
.price-card { border-radius: var(--radius-lg); padding: 18px; }
.price-card-green { background: var(--green-light); border: 1px solid var(--green-border); }
.price-card-blue { background: var(--blue-light); border: 1px solid var(--blue-border); }
.price-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.price-row span:first-child { color: var(--muted-fg); }
.price-row span:last-child { font-weight: 500; }

/* claims cards */
.claim-stat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; margin-bottom: 6px; }
.claim-stat svg { width: 15px; height: 15px; color: var(--muted-fg); flex-shrink: 0; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 8px; overflow: hidden; }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-size: 14px; font-weight: 600; color: var(--primary); background: #fff; border: none; cursor: pointer; text-align: left; transition: background .15s; gap: 12px; }
.faq-trigger:hover { background: var(--muted); }
.faq-trigger svg { flex-shrink: 0; transition: transform .2s; }
.faq-trigger.open svg { transform: rotate(90deg); }
.faq-body { display: none; padding: 0 18px 16px; font-size: 14px; color: var(--muted-fg); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-body.open { display: block; }

/* related links */
.related-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--primary); transition: all .15s; margin-bottom: 8px; }
.related-link:hover { border-color: var(--primary); background: var(--muted); }
.related-link svg { width: 16px; height: 16px; color: var(--muted-fg); flex-shrink: 0; }

/* toc */
.toc { background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; margin: 32px 0; }
.toc-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.toc ol { padding-left: 18px; margin: 0; }
.toc li { font-size: 13px; margin-bottom: 6px; }
.toc a { color: var(--blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* coverage item */
.coverage-item { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 12px; }
.coverage-item-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.coverage-item h3 { font-size: 15px; font-weight: 600; margin: 0; }

/* footer */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.65; margin-bottom: 10px; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,.5); }
.footer-heading { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; display: block; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-email-form { display: flex; gap: 8px; }
.footer-email-input { flex: 1; padding: 9px 12px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13px; font-family: inherit; outline: none; }
.footer-email-input::placeholder { color: rgba(255,255,255,.45); }
.footer-email-btn { padding: 9px 12px; background: var(--secondary); border: none; border-radius: var(--radius); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* compare page list */
.article-card { text-decoration: none; display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 12px; transition: all .2s; background: #fff; }
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.article-card.disabled { opacity: .55; pointer-events: none; }
.article-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.article-card h2 { font-size: 17px; font-weight: 700; color: var(--primary); margin: 8px 0 6px; line-height: 1.3; }
.article-card p { font-size: 14px; color: var(--muted-fg); line-height: 1.55; margin: 0; }
.article-card svg { color: var(--muted-fg); flex-shrink: 0; margin-top: 6px; transition: color .15s; }
.article-card:hover svg { color: var(--primary); }

/* disclaimer */
.disclaimer { font-size: 12px; color: var(--muted-fg); border-top: 1px solid var(--border); padding-top: 20px; margin-top: 48px; line-height: 1.7; }

/* util */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-muted { color: var(--muted-fg); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.font-bold { font-weight: 700; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ══════════════════════════════════════════
   DESIGN UPGRADE v2 — June 2026
   ① 本文読みやすさ強化
   ② article-hero 写真対応
   ③ Sticky TOC サイドバー
   ④ 著者バイオ・メソドロジーバッジ
   ⑤ 比較表モバイル対応
   ⑥ ロゴストリップ
══════════════════════════════════════════ */

/* ① 本文フォント・行間改善 */
.article-content p {
  font-size: 16.5px;
  line-height: 1.82;
  color: #2d3748;
}
.article-content h2 {
  border-top: 1px solid var(--border);
  padding-top: 36px;
  margin-top: 44px;
}
.article-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

/* ② article-hero 写真バリアント */
.article-hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 64px 0 52px;
}
.article-hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 30, 54, 0.87) 0%,
    rgba(22, 58, 80, 0.80) 50%,
    rgba(30, 90, 70, 0.72) 100%
  );
}
.article-hero-photo .container { position: relative; z-index: 1; }
.article-hero-photo h1 { text-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* category hero photos */
.hero-compare   { background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1400&q=75&auto=format&fit=crop'); }
.hero-review    { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1400&q=75&auto=format&fit=crop'); }
.hero-guide     { background-image: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1400&q=75&auto=format&fit=crop'); }
.hero-country   { background-image: url('https://images.unsplash.com/photo-1503220317375-aaad61436b1b?w=1400&q=75&auto=format&fit=crop'); }

/* Custom hero images for Battleface article series — using locally hosted assets */
.hero-bf-vs-safetywing  { background-image: url('/assets/img/articles/battleface-vs-safetywing.jpg'); }
.hero-bf-vs-world-nomads{ background-image: url('/assets/img/articles/battleface-vs-world-nomads.jpg'); }
.hero-bf-vs-img-global  { background-image: url('/assets/img/articles/battleface-vs-img-global.jpg'); }
.hero-bf-discovery      { background-image: url('/assets/img/articles/battleface-discovery-plan-explained.jpg'); }
.hero-bf-adventure      { background-image: url('/assets/img/articles/battleface-adventure-sports-coverage.jpg'); }
.hero-claim     { background-image: url('https://images.unsplash.com/photo-1516574187841-cb9cc2ca948b?w=1400&q=75&auto=format&fit=crop'); }

/* ③ Sticky TOC サイドバーレイアウト */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.article-main { min-width: 0; }
.toc-sidebar {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  scrollbar-width: none;
}
.toc-sidebar::-webkit-scrollbar { display: none; }
.toc-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.toc-sidebar ol { list-style: none; padding: 0; margin: 0; }
.toc-sidebar li { margin-bottom: 2px; }
.toc-sidebar a {
  display: block;
  font-size: 12.5px;
  color: var(--muted-fg);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.4;
  transition: all .12s;
  border-left: 2px solid transparent;
}
.toc-sidebar a:hover { color: var(--primary); background: var(--muted); }
.toc-sidebar a.toc-active {
  color: var(--primary);
  background: var(--muted);
  border-left-color: var(--secondary);
  font-weight: 500;
}
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc-sidebar { display: none; }
}

/* ④ 著者バイオブロック */
.author-bio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-meta { flex: 1; min-width: 0; }
.author-name { font-size: 13px; font-weight: 600; color: var(--primary); }
.author-cred { font-size: 11px; color: var(--muted-fg); margin-top: 1px; }
.author-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 500;
}
.author-badge-green { background: var(--green-light); color: var(--green); border: 1px solid var(--green-border); }
.author-badge-blue  { background: var(--blue-light);  color: var(--blue);  border: 1px solid var(--blue-border); }
.author-badge-gray  { background: var(--muted); color: var(--muted-fg); border: 1px solid var(--border); }

/* メソドロジーブロック */
.methodology-box {
  display: flex;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin: 0 0 28px;
}
.methodology-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.methodology-text { font-size: 12px; color: var(--muted-fg); line-height: 1.6; }
.methodology-text strong { color: var(--primary); font-weight: 600; }

/* ⑤ 比較表モバイルカード変形 */
@media (max-width: 640px) {
  .comp-table-wrap { border: none; border-radius: 0; overflow: visible; }
  .comp-table, .comp-table thead, .comp-table tbody, .comp-table th, .comp-table td, .comp-table tr { display: block; }
  .comp-table thead tr { position: absolute; top: -9999px; left: -9999px; }
  .comp-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
  }
  .comp-table td {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    text-align: right !important;
  }
  .comp-table td:last-child { border-bottom: none; }
  .comp-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 12px;
    text-align: left;
  }
  .comp-table tr:nth-child(even) { background: #fff; }
  .comp-table .td-win { background: none; }
}

/* ⑥ ロゴストリップ強化 */
.logos-strip {
  padding: 28px 0 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}
.logos-strip-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 16px;
}
.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.logo-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: all .15s;
  white-space: nowrap;
}
.logo-pill:hover { border-color: var(--secondary); color: var(--secondary); }
.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 評価スターバー（コンパクト） */
.rating-bar { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-fg); }
.stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; }

/* 記事カードに画像サポート */
.article-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}
.article-card-has-img { padding-top: 0; overflow: hidden; }
.article-card-has-img .article-card-body { padding: 16px 18px 18px; }

/* 「Updated」メタ行 */
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted-fg);
}
.article-meta-row span { display: flex; align-items: center; gap: 4px; }


/* ══════════════════════════════════════════
   INLINE DIAGRAMS v2
══════════════════════════════════════════ */
.inline-diagram {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
  padding: 20px;
  margin: 28px 0;
}
.inline-diagram-caption {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--muted-fg) !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
}

/* --- tier diagram (compare) --- */
.tier-diagram { display: flex; flex-direction: column; gap: 8px; }
.tier-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 12px 14px; border-left: 4px solid transparent;
}
.tier-budget  { border-left-color: #2d9b83; }
.tier-mid     { border-left-color: #1d4ed8; }
.tier-premium { border-left-color: #6d28d9; }
.tier-badge {
  font-size: 12px; font-weight: 700; color: var(--primary);
  min-width: 110px; flex-shrink: 0; padding-top: 1px;
}
.tier-badge span { display: block; font-size: 11px; font-weight: 400; color: var(--muted-fg); margin-top: 2px; }
.tier-items { display: flex; flex-wrap: wrap; gap: 5px; }
.tier-item {
  font-size: 11px; font-weight: 500; padding: 2px 8px;
  border-radius: 10px;
}
.tier-yes { background: var(--green-light); color: #16a34a; border: 1px solid var(--green-border); }
.tier-no  { background: #f9fafb; color: #9ca3af; border: 1px solid var(--border); text-decoration: line-through; }
@media (max-width: 600px) {
  .tier-row { flex-direction: column; gap: 8px; }
  .tier-badge { min-width: auto; }
}

/* --- flow diagram (guides) --- */
.flow-diagram { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: var(--radius-lg);
  padding: 12px 14px;
}
.flow-step-final { border: 2px solid var(--green-border); background: var(--green-light); }
.flow-arrow { text-align: center; font-size: 18px; color: var(--muted-fg); line-height: 1.4; padding: 2px 0; }
.flow-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-content strong { font-size: 13px; font-weight: 700; color: var(--primary); }
.flow-sub { font-size: 12px; color: var(--muted-fg); margin-top: 2px; }
.flow-branch-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px;
  align-items: center; width: 100%;
}
.flow-branch { padding: 10px 14px; background: #fff; border-radius: var(--radius-lg); }
.flow-branch-item { padding: 10px 12px; border-radius: var(--radius-lg); }
.flow-branch-a { background: var(--green-light); border: 1px solid var(--green-border); }
.flow-branch-b { background: var(--blue-light); border: 1px solid var(--blue-border); }
.flow-branch-label { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.flow-branch-or { font-size: 11px; font-weight: 700; color: var(--muted-fg); text-align: center; }
@media (max-width: 540px) {
  .flow-branch-inner { grid-template-columns: 1fr; }
  .flow-branch-or { display: none; }
}

/* --- cost chart (by-country) --- */
.cost-chart { display: flex; flex-direction: column; gap: 7px; }
.cost-row { display: flex; align-items: center; gap: 10px; }
.cost-label { font-size: 12px; color: var(--primary); width: 130px; flex-shrink: 0; }
.cost-bar-wrap { flex: 1; height: 10px; background: var(--border); border-radius: 5px; overflow: hidden; }
.cost-bar { height: 100%; border-radius: 5px; }
.cost-bar-max  { background: #dc2626; }
.cost-bar-high { background: #ea580c; }
.cost-bar-mid  { background: #ca8a04; }
.cost-bar-low  { background: #16a34a; }
.cost-val { font-size: 11px; font-weight: 600; color: var(--primary); min-width: 60px; text-align: right; }
@media (max-width: 480px) {
  .cost-label { width: 90px; font-size: 11px; }
  .cost-val { min-width: 48px; font-size: 10px; }
}

/* --- checklist grid (claim-stories) --- */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checklist-item {
  display: flex; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-lg); align-items: flex-start;
}
.checklist-required { background: var(--green-light); border: 1px solid var(--green-border); }
.checklist-tip      { background: var(--orange-light); border: 1px solid var(--orange-border); }
.check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-tip { background: var(--orange); }
.check-text strong { font-size: 12px; color: var(--primary); }
.check-sub { font-size: 11px; color: var(--muted-fg); margin-top: 2px; line-height: 1.45; }
@media (max-width: 540px) {
  .checklist-grid { grid-template-columns: 1fr; }
}

/* --- score criteria (reviews) --- */
.score-criteria { display: flex; flex-direction: column; gap: 8px; }
.score-crit-row { display: flex; align-items: center; gap: 10px; }
.score-crit-name { font-size: 12px; font-weight: 600; color: var(--primary); width: 160px; flex-shrink: 0; }
.score-crit-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.score-crit-fill { height: 100%; border-radius: 4px; }
.score-crit-weight { font-size: 11px; font-weight: 600; color: var(--muted-fg); min-width: 32px; text-align: right; }


/* ══════════════════════════════════════════
   v3 UPGRADE: Search · Mega Menu · Thumbs
══════════════════════════════════════════ */

/* ① コマンドパレット検索 */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 6px 10px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  cursor: pointer;
  transition: all .15s;
  margin-left: 8px;
}
.search-trigger:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.search-trigger svg { width: 14px; height: 14px; flex-shrink: 0; }
.search-trigger .search-kbd {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 10px;
  padding: 1px 5px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  margin-left: 4px;
}
@media (max-width: 768px) { .search-trigger { display: none; } }

/* 検索モーダル */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 41, .75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 16px;
}
.search-modal.open { display: flex; }
.search-modal-inner {
  width: 100%;
  max-width: 580px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.4);
  overflow: hidden;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.search-input-row svg { color: var(--muted-fg); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  font-family: inherit;
  background: none;
}
.search-input::placeholder { color: #9ca3af; font-weight: 400; }
.search-esc {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  padding: 2px 7px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted-fg);
  flex-shrink: 0;
}
.search-results {
  overflow-y: auto;
  padding: 8px;
}
.search-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted-fg);
  font-size: 13px;
}
.search-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 10px 12px 6px;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background .1s;
}
.search-item:hover, .search-item.active {
  background: var(--muted);
}
.search-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.search-item-icon.cat-compare { background: #1d4ed8; }
.search-item-icon.cat-reviews { background: #2d9b83; }
.search-item-icon.cat-guides { background: #6d28d9; }
.search-item-icon.cat-by-country { background: #ea580c; }
.search-item-icon.cat-claim-stories { background: #dc2626; }
.search-item-body { flex: 1; min-width: 0; }
.search-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.search-item-desc {
  font-size: 11.5px;
  color: var(--muted-fg);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.search-item-cat {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  flex-shrink: 0;
}
.search-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: #fafbfc;
  font-size: 11px;
  color: var(--muted-fg);
  display: flex;
  gap: 16px;
  justify-content: center;
}
.search-footer kbd {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  padding: 1px 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  margin: 0 2px;
}
mark.search-hl { background: #fef08a; color: inherit; padding: 0 2px; border-radius: 2px; }

/* ② メガメニュー */
.header-nav { position: relative; }
.has-mega { position: relative; }
.has-mega > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  opacity: .5;
  vertical-align: middle;
}
.mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 520px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transition: all .18s ease;
  z-index: 100;
  pointer-events: none;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mega-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-fg);
}
.mega-view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}
.mega-view-all:hover { text-decoration: underline; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-item {
  display: flex;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.mega-item:hover { background: var(--muted); }
.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.mega-item-body { min-width: 0; }
.mega-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-item-meta {
  font-size: 10.5px;
  color: var(--muted-fg);
  line-height: 1.3;
}
@media (max-width: 960px) {
  .mega-panel { display: none; }
  .has-mega > a::after { display: none; }
}

/* ③ 関連記事サムネ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .15s;
}
.related-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.12);
}
.related-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.related-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,30,54,.45));
}
.related-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 1;
}
.related-body { padding: 12px 14px 14px; }
.related-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-desc {
  font-size: 12px;
  color: var(--muted-fg);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ══════════════════════════════════════════
   v3 HOTFIX: header layout corrections
══════════════════════════════════════════ */

/* has-mega は inline-block の振る舞い */
.has-mega {
  display: inline-block;
  position: relative;
}

/* 検索ボタンのデフォルトbutton CSSをリセット */
button.search-trigger {
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
  height: auto;
  width: auto;
  min-height: 0;
  min-width: 0;
}

/* メガパネルが折り重ならないよう非表示時は完全に隠す */
.mega-panel {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* メガパネルの内部要素には影響しない様に */
.mega-panel * { box-sizing: border-box; }

/* モバイルではメガパネルを完全に削除（display:none） */
@media (max-width: 960px) {
  .has-mega .mega-panel { display: none !important; }
  .has-mega > a::after { display: none; }
  .has-mega { display: inline; }
}


/* ══════════════════════════════════════════
   v3.1: Real author photo
══════════════════════════════════════════ */
.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Aboutページ用ヒーローアバター */
.team-lead-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  margin: 24px 0 32px;
}
.team-lead-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.team-lead-info { flex: 1; min-width: 0; }
.team-lead-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.team-lead-role {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-lead-bio {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.65;
}
.team-lead-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.team-lead-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--muted);
  color: var(--primary);
  border: 1px solid var(--border);
}

@media (max-width: 540px) {
  .team-lead-card { flex-direction: column; text-align: center; }
  .team-lead-tags { justify-content: center; }
}

/* ══════════════════════════════════════════
   v3.5: Footer contact replacement (DEPRECATED — Get in touch block removed)
══════════════════════════════════════════ */
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .15s;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(245, 135, 42, .3);
  letter-spacing: .01em;
}
.footer-contact-link:hover {
  background: #e0781e;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 135, 42, .4);
}
.footer-contact-link svg {
  flex-shrink: 0;
  color: #ffffff;
  stroke: #ffffff;
}
.footer-contact-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-top: 4px;
  max-width: 260px;
}

/* ===== Category Index Page — Pattern C Thumbnail Cards (added v4.7) ===== */
.cat-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
}
.cat-index-card {
  display: block;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cat-index-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.cat-index-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 250;
  object-fit: cover;
  background: #f8fafc;
}
.cat-index-card-body {
  padding: 18px 20px 20px;
}
.cat-index-card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px;
}
.cat-index-card-excerpt {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-index-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}
.cat-index-card-tag {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
  font-size: 11px;
}
.cat-index-card-arrow {
  color: #0d9488;
  font-weight: 700;
}
.cat-index-card:hover .cat-index-card-arrow {
  color: #0f766e;
}
@media (max-width: 640px) {
  .cat-index-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-index-card-body { padding: 14px 16px 16px; }
}
