/*
Theme Name:  SKIN SCIENCE LAB
Theme URI:   https://beauty-select-lab.com
Description: 2026年対応・男女兼用スキンケア科学メディア専用テーマ
Version:     2.0
Author:      SKIN SCIENCE LAB
Text Domain: bihada-labo
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =========================================================
   DESIGN TOKENS — Navy × Teal × White
   ========================================================= */
:root {
  /* Core Colors */
  --navy:          #0f172a;
  --navy-2:        #1e293b;
  --navy-3:        #334155;
  --navy-4:        #475569;

  --teal:          #0891b2;
  --teal-dark:     #0e7490;
  --teal-mid:      #67e8f9;
  --teal-light:    #e0f7fa;
  --teal-pale:     #f0fbfe;

  --ink:           #0f172a;
  --ink-2:         #1e293b;
  --ink-3:         #64748b;
  --ink-4:         #94a3b8;

  --bg:            #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        #e2e8f0;
  --border-2:      #cbd5e1;

  --white:         #ffffff;
  --green:         #059669;
  --amber:         #d97706;

  /* Typography */
  --font-sans:     'Noto Sans JP', sans-serif;
  --font-serif:    'Noto Serif JP', serif;
  --font-display:  'Space Grotesk', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.08);
  --shadow-md: 0 6px 20px rgba(15,23,42,.10);
  --shadow-lg: 0 16px 40px rgba(15,23,42,.12);
}

/* =========================================================
   RESET
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html                  { scroll-behavior: smooth; font-size: 16px }
body                  { font-family: var(--font-sans); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased }
a                     { color: var(--teal); text-decoration: none; transition: color .2s }
a:hover               { color: var(--teal-dark) }
img                   { display: block; max-width: 100%; height: auto }
ul,ol                 { list-style: none }
button                { cursor: pointer; font-family: inherit; font-size: inherit }

/* =========================================================
   LAYOUT
   ========================================================= */
.container  { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg) }
.page-wrap  { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: var(--space-xl) 0 var(--space-2xl) }
.main-col   { min-width: 0 }
.sidebar-col{ min-width: 0 }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-2);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(15,23,42,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-lg);
}
/* Logo */
.site-branding      { display: flex; align-items: baseline; gap: 10px; text-decoration: none }
.site-name          { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: .04em }
.site-name span     { color: var(--teal-mid) }
.site-tagline       { font-size: .58rem; color: rgba(255,255,255,.4); letter-spacing: .2em; text-transform: uppercase }

/* Nav */
.header-nav         { display: flex }
.header-nav a       { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.65); padding: 10px 14px; border-bottom: 2px solid transparent; letter-spacing: .04em; transition: all .2s }
.header-nav a:hover,
.header-nav a.current { color: var(--teal-mid); border-bottom-color: var(--teal) }

/* Header actions */
.header-actions  { display: flex; align-items: center; gap: 10px }
.btn-search      { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: background .2s }
.btn-search:hover{ background: rgba(255,255,255,.15) }
.btn-diagnose    { background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 700; padding: 9px 20px; border-radius: var(--radius-sm); letter-spacing: .05em; border: none; transition: background .2s }
.btn-diagnose:hover { background: var(--teal-dark) }

/* Hamburger */
.hamburger       { display: none; flex-direction: column; gap: 5px; width: 26px; background: none; border: none }
.hamburger span  { display: block; height: 2px; background: var(--white); border-radius: 1px; transition: all .3s }

/* =========================================================
   HERO — Scientific / Gender-Neutral
   ========================================================= */
#hero {
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(8,145,178,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
  z-index: 1;
}
.hero-text-panel {
  padding: 56px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--teal);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-headline em {
  color: var(--teal-mid);
  font-style: normal;
  display: block;
}
.hero-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 380px;
}
.hero-btns { display: flex; align-items: center; gap: 16px; margin-bottom: 48px }
.btn-hero-primary {
  background: var(--teal);
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  border: none;
  letter-spacing: .05em;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(8,145,178,.35);
}
.btn-hero-primary:hover { background: var(--teal-dark); transform: translateY(-1px); color: var(--white) }
.btn-hero-ghost {
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .03em;
  transition: all .2s;
}
.btn-hero-ghost:hover { border-color: var(--teal-mid); color: var(--teal-mid) }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { display: flex; flex-direction: column; gap: 4px }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: .6rem; color: rgba(255,255,255,.4); letter-spacing: .12em; text-transform: uppercase }

/* Right image panel */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
}
.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  mix-blend-mode: luminosity;
}
.hero-float-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}
.hero-float-label { font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px }
.hero-float-name  { font-size: .88rem; font-weight: 700; color: var(--white) }
.hero-float-score { font-size: .75rem; color: var(--teal-mid); font-weight: 700; margin-top: 2px }

/* =========================================================
   CATEGORY STRIP
   ========================================================= */
#cat-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  position: sticky;
  top: 68px;
  z-index: 100;
}
.cat-strip-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px var(--space-lg);
  white-space: nowrap;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .03em;
  border: 1.5px solid var(--border);
  color: var(--ink-3);
  background: var(--surface);
  transition: all .2s;
  text-decoration: none;
}
.cat-pill:hover,
.cat-pill.active { background: var(--teal); color: var(--white); border-color: var(--teal) }

/* =========================================================
   BENTO GRID
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.bento-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  position: relative;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) }

.bc-hero    { grid-column: span 7; grid-row: span 2 }
.bc-tall    { grid-column: span 5; grid-row: span 2 }
.bc-wide    { grid-column: span 7 }
.bc-med     { grid-column: span 5 }
.bc-third   { grid-column: span 4 }
.bc-half    { grid-column: span 6 }
.bc-full    { grid-column: span 12 }

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.bento-card:hover .card-img { transform: scale(1.03) }

.card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.4) 60%, transparent 100%);
  padding: 32px 24px 24px;
  color: var(--white);
}
.card-overlay .card-cat   { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: 8px }
.card-overlay .card-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; line-height: 1.45; color: var(--white) }
.card-overlay .card-meta  { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 8px }

.card-body  { padding: 18px 20px }
.card-cat   { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); font-weight: 700; margin-bottom: 8px }
.card-title { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.5 }
.card-meta  { font-size: .7rem; color: var(--ink-4); margin-top: 8px }
.card-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: 10px;
}
.card-score-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal) }

.card-horizontal { display: grid; grid-template-columns: 160px 1fr; min-height: 140px }
.card-horizontal .card-img-wrap { overflow: hidden }
.card-horizontal .card-img { height: 100% }

/* Ranking */
.rank-strip       { padding: 0 }
.rank-strip-head  { padding: 16px 20px 12px; border-bottom: 1px solid var(--border) }
.rank-strip-title { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--ink) }
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.rank-row:last-child { border-bottom: none }
.rank-row:hover      { background: var(--teal-pale) }
.rank-num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; width: 24px; text-align: center; color: var(--ink-4); flex-shrink: 0 }
.rank-num.n1 { color: #d97706 }
.rank-num.n2 { color: #64748b }
.rank-num.n3 { color: #b45309 }
.rank-thumb { width: 46px; height: 46px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; background: var(--surface-2) }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover }
.rank-info  { flex: 1; min-width: 0 }
.rank-title { font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.rank-brand { font-size: .7rem; color: var(--ink-4); margin-top: 1px }
.rank-score { font-size: .78rem; font-weight: 700; color: var(--teal); flex-shrink: 0 }

/* CTA Card */
.card-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border: 1px solid rgba(8,145,178,.3);
  color: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.card-cta:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(8,145,178,.2) }
.cta-eyebrow { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: 10px }
.cta-title   { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.5; margin-bottom: 8px }
.cta-sub     { font-size: .75rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 18px }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  width: fit-content;
  letter-spacing: .04em;
  transition: background .2s;
}
.cta-btn:hover { background: var(--teal-dark); color: var(--white) }

/* Stat Card */
.card-stat {
  background: var(--teal);
  color: var(--white);
  padding: 24px;
  border: none;
}
.card-stat:hover { box-shadow: 0 12px 32px rgba(8,145,178,.3) }
.stat-big-num   { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 6px }
.stat-big-label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6) }
.stat-big-delta { font-size: .72rem; color: rgba(255,255,255,.8); margin-top: 8px }

/* Ingredient spotlight */
.card-ingredient {
  background: var(--teal-pale);
  padding: 22px;
  border: 1px solid var(--teal-light);
}
.ing-label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px }
.ing-name  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 8px }
.ing-desc  { font-size: .78rem; color: var(--ink-2); line-height: 1.7 }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.section-en {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-left: 10px;
}
.section-more {
  font-size: .75rem;
  color: var(--teal);
  border: 1px solid currentColor;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  transition: all .2s;
  background: none;
}
.section-more:hover { background: var(--teal); color: var(--white) }

/* =========================================================
   ARTICLE GRID
   ========================================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) }
.art-card a   { display: block; text-decoration: none; color: inherit }
.art-thumb {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
  background: var(--surface-2);
}
.art-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.art-card:hover .art-thumb img { transform: scale(1.05) }
.art-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: .06em;
}
.art-body     { padding: 16px 18px }
.art-title    { font-family: var(--font-serif); font-size: .92rem; font-weight: 700; color: var(--ink); line-height: 1.55; margin-bottom: 8px }
.art-excerpt  { font-size: .78rem; color: var(--ink-3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px }
.art-foot     { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; color: var(--ink-4) }

/* =========================================================
   SINGLE POST
   ========================================================= */
.entry-header-inner { padding: 40px 0 32px }
.entry-cat-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.entry-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.entry-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .78rem;
  color: var(--ink-4);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.entry-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
}
.entry-body { font-size: .95rem; line-height: 1.9; color: var(--ink-2) }
.entry-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 16px;
  padding: 12px 18px;
  border-left: 4px solid var(--teal);
  background: var(--teal-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--teal);
}
.entry-body h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 20px 0 10px }
.entry-body p  { margin-bottom: 18px }
.entry-body a  { color: var(--teal); border-bottom: 1px solid var(--teal-light); transition: border-color .2s }
.entry-body a:hover { border-color: var(--teal) }
.entry-body ul { list-style: none; margin: 14px 0 18px }
.entry-body ul li { padding-left: 18px; margin-bottom: 6px; position: relative }
.entry-body ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal) }
.entry-body ol { list-style: decimal; margin: 14px 0 18px; padding-left: 1.4em }
.entry-body ol li { margin-bottom: 6px }
.entry-body strong { color: var(--ink); font-weight: 700 }
.entry-body img { border-radius: var(--radius-md); margin: 20px 0 }
.entry-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem }
.entry-body table th { background: var(--teal); color: var(--white); padding: 11px 14px; text-align: left; font-weight: 700 }
.entry-body table td { padding: 11px 14px; border: 1px solid var(--border) }
.entry-body table tr:nth-child(even) td { background: var(--teal-pale) }

/* =========================================================
   SHORTCODES
   ========================================================= */
.bihada-cta {
  background: var(--teal-pale);
  border: 2px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin: 36px 0;
  text-align: center;
}
.bihada-cta-eyebrow { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 8px }
.bihada-cta-name    { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 6px }
.bihada-cta-price   { font-size: 1.6rem; font-weight: 900; color: var(--teal); margin-bottom: 10px }
.bihada-cta-price span { font-size: .8rem; font-weight: 400; color: var(--ink-4); margin-left: 6px }
.bihada-cta-points  { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px }
.bihada-cta-point   { font-size: .8rem; color: var(--ink-2); display: flex; align-items: center; gap: 5px }
.bihada-cta-point::before { content: '✓'; color: var(--teal); font-weight: 700 }
.bihada-cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: var(--radius-sm);
  letter-spacing: .06em;
  box-shadow: 0 6px 20px rgba(8,145,178,.3);
  transition: all .2s;
}
.bihada-cta-btn:hover { background: var(--teal-dark); transform: translateY(-2px); color: var(--white) }

/* =========================================================
   PRODUCT META CARD
   ========================================================= */
.product-meta-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  background: var(--teal-pale);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.product-meta-img { width: 100px; height: 100px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; background: var(--surface-2) }
.product-meta-info { flex: 1; min-width: 180px }
.product-brand { font-size: .73rem; color: var(--ink-4); margin-bottom: 3px }
.product-name  { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px }
.product-score-text { font-size: .78rem; color: var(--ink-3) }
.product-price { font-size: 1.4rem; font-weight: 900; color: var(--teal); margin-top: 8px }
.product-price small { font-size: .72rem; font-weight: 400; color: var(--ink-4); margin-left: 4px }
.product-meta-btn-wrap { display: flex; align-items: center }
.product-meta-btn {
  background: var(--teal);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(8,145,178,.25);
}
.product-meta-btn:hover { background: var(--teal-dark); transform: translateY(-1px); color: var(--white) }

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.widget-head {
  background: var(--navy);
  color: var(--white);
  padding: 11px 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-body { padding: 14px 16px }
.widget-row  { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border) }
.widget-row:last-child { border-bottom: none }
.widget-rank { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.widget-rank.wn1 { background: #d97706 }
.widget-rank.wn2 { background: #64748b }
.widget-rank.wn3 { background: #b45309 }
.widget-img  { width: 42px; height: 42px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; background: var(--surface-2) }
.widget-img img { width: 100%; height: 100%; object-fit: cover }
.widget-text { flex: 1; min-width: 0; font-size: .8rem; color: var(--ink); line-height: 1.4 }
.widget-text a { color: var(--ink) }
.widget-text a:hover { color: var(--teal) }
.widget-score{ font-size: .73rem; font-weight: 700; color: var(--teal); flex-shrink: 0 }
.widget-cat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .8rem }
.widget-cat-row:last-child { border-bottom: none }
.widget-cat-name a { color: var(--ink-2) }
.widget-cat-name a:hover { color: var(--teal) }
.widget-cat-count { color: var(--ink-4); font-size: .72rem }

.sidebar-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.sidebar-cta h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px }
.sidebar-cta p  { font-size: .75rem; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 14px }
.sidebar-cta-btn {
  display: block;
  background: var(--teal);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 11px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.sidebar-cta-btn:hover { background: var(--teal-dark); color: var(--white) }

/* =========================================================
   BREADCRUMB
   ========================================================= */
#breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .73rem;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--teal) }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap }
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s;
  color: var(--ink-2);
}
.pagination a:hover,
.pagination .current { background: var(--teal); color: var(--white); border-color: var(--teal) }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  margin-top: 56px;
}
.footer-main { padding: 52px 0 36px }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.footer-logo span { color: var(--teal-mid) }
.footer-tagline { font-size: .78rem; line-height: 1.75; color: rgba(255,255,255,.45); margin-bottom: 16px }
.footer-badge   { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 6px 14px; font-size: .7rem; color: rgba(255,255,255,.4) }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col a {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white) }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: rgba(255,255,255,.28);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .page-wrap { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .bc-hero,.bc-tall,.bc-wide,.bc-med { grid-column: span 12 }
}
@media (max-width: 768px) {
  .header-nav { display: none }
  .header-nav.nav-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px 0;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(15,23,42,.4);
  }
  .header-nav.nav-open a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .9rem;
    color: rgba(255,255,255,.8) !important;
  }
  :root { font-size: 15px }
  .header-actions .btn-diagnose { display: none }
  .hamburger { display: flex }
  .hero-grid { grid-template-columns: 1fr }
  .hero-image-panel { min-height: 260px }
  .hero-headline { font-size: 1.9rem }
  .hero-text-panel { padding: 32px 24px }
  .article-grid { grid-template-columns: 1fr }
  .card-horizontal { grid-template-columns: 1fr }
  .bc-third,.bc-half { grid-column: span 12 }
  .footer-grid { grid-template-columns: 1fr }
  .entry-title { font-size: 1.5rem }
  .entry-hero-img { height: 240px }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center }
  #cat-strip { overflow-x: auto; -webkit-overflow-scrolling: touch }
  .cat-strip-inner { padding: 8px 12px; justify-content: flex-start; width: max-content }
  .cat-pill { flex-shrink: 0 }
}
