/*
Theme Name: motto-ease
Theme URI: https://example.com/motto-ease
Author: TOM
Author URI: https://example.com
Description: ease life navi — 働き方・福祉・暮らしをもっとやさしく。サイドバー付きクラシックブログテーマ。
Version: 1.0.3
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motto-ease
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images, translation-ready, japanese
*/

/* ============================================================
   ease life navi — design tokens
   green_tone 4  → sage/moss  oklch(62% 0.08 145)
   beige_tone 3  → warm beige oklch(88% 0.03 75)
   ============================================================ */
:root {
  /* surfaces */
  --paper:       oklch(97.5% 0.012 85);      /* cream page */
  --paper-soft:  oklch(95% 0.018 85);        /* card wash */
  --beige:       oklch(88% 0.03 75);         /* beige #3 */
  --beige-deep:  oklch(78% 0.04 72);
  --beige-line:  oklch(82% 0.035 72);

  /* greens */
  --sage:        oklch(72% 0.09 148);        /* brighter sage primary */
  --sage-deep:   oklch(56% 0.085 148);
  --sage-soft:   oklch(92% 0.045 148);
  --sage-wash:   oklch(96.5% 0.024 148);

  /* accents from character palette */
  --tabby-orange: oklch(72% 0.12 65);
  --shoe-brown:   oklch(52% 0.07 55);
  --cheek-pink:   oklch(82% 0.06 25);

  /* text */
  --ink:       oklch(28% 0.02 80);
  --ink-soft:  oklch(45% 0.02 80);
  --ink-mute:  oklch(60% 0.015 80);

  /* structure */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 0 oklch(70% 0.03 75 / .35), 0 2px 8px oklch(40% 0.04 75 / .06);
  --shadow:    0 2px 0 oklch(70% 0.03 75 / .35), 0 10px 28px oklch(40% 0.04 75 / .08);

  --font-display: "Zen Maru Gothic", "M PLUS Rounded 1c", system-ui, sans-serif;
  --font-body:    "Noto Sans JP", "Zen Maru Gothic", system-ui, sans-serif;
  --font-rounded: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* subtle paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(oklch(50% 0.03 75 / .025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .6;
}

/* ============================================================
   APP SHELL
   ============================================================ */
#app { position: relative; z-index: 1; }

/* top announcement strip */
.top-strip {
  background: var(--sage-deep);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 24px;
  text-align: center;
  font-family: var(--font-rounded);
}
.top-strip b { color: var(--beige); margin: 0 4px; }

/* header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--beige-line);
}
.site-header .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  border: 1.5px solid var(--paper);
  overflow: hidden;
}
.brand-mark img { width: 44px; height: 44px; object-fit: contain; object-position: center bottom; }
.brand-text { line-height: 1.1; }
.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-text .sub {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 3px;
  letter-spacing: 0.05em;
}
.main-nav {
  display: flex; gap: 4px; justify-content: center;
  font-family: var(--font-display);
}
.main-nav a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: .15s;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--sage-deep); background: var(--sage-wash); }
.main-nav a.current { color: var(--sage-deep); }
.main-nav a.current::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 2px; background: var(--sage); border-radius: 2px;
}
.head-tools { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--beige-line);
  color: var(--ink-soft);
  cursor: pointer;
}
.icon-btn:hover { background: var(--sage-wash); color: var(--sage-deep); }

/* breadcrumb under header */
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-rounded);
}
.breadcrumb span + span::before { content: "›"; margin: 0 8px; color: var(--beige-deep); }
.breadcrumb .here { color: var(--sage-deep); }

/* ============================================================
   HERO (variation-aware)
   ============================================================ */
.hero {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 24px;
}
.hero-card {
  background: var(--sage-wash);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, oklch(62% 0.08 145 / .08), transparent 50%),
    radial-gradient(circle at 15% 90%, oklch(88% 0.03 75 / .4), transparent 55%);
  pointer-events: none;
}
.hero-copy { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--sage-soft);
  color: var(--sage-deep);
  font-family: var(--font-rounded);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-wrap: pretty;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, oklch(88% 0.03 75) 62%, oklch(88% 0.03 75) 92%, transparent 92%);
  padding: 0 2px;
}
.hero p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 520px;
  line-height: 1.9;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-mascot {
  position: relative;
  display: grid; place-items: end center;
}
.hero-mascot .bubble {
  position: absolute;
  top: -8px; left: -18px;
  background: var(--paper);
  border: 1.5px solid var(--beige-line);
  padding: 12px 16px;
  border-radius: 18px;
  font-family: var(--font-rounded);
  font-size: 13px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  max-width: 200px;
  line-height: 1.55;
}
.hero-mascot .bubble::after {
  content: ""; position: absolute;
  bottom: -8px; right: 34px;
  width: 14px; height: 14px; background: var(--paper);
  border-right: 1.5px solid var(--beige-line);
  border-bottom: 1.5px solid var(--beige-line);
  transform: rotate(45deg);
}
.hero-mascot img {
  width: 300px; height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px oklch(40% 0.04 75 / .12));
  transform: translateY(22px);
  margin-bottom: -22px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .15s;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--sage);
  color: var(--paper);
  box-shadow: 0 3px 0 var(--sage-deep);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--sage-deep); }
.btn-ghost {
  background: var(--paper);
  color: var(--sage-deep);
  border-color: var(--sage);
}
.btn-ghost:hover { background: var(--sage-wash); }
.btn-beige {
  background: var(--beige);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--beige-deep);
}

/* ============================================================
   LAYOUT — sidebar blog
   ============================================================ */
.layout {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* section title */
.section-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--beige-line);
}
.section-title .title-group { display: flex; align-items: center; gap: 12px; }
.section-title .icon-badge {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid; place-items: center;
}
.section-title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}
.section-title .en {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 6px;
}
.section-title .more {
  font-size: 12.5px;
  color: var(--sage-deep);
  font-family: var(--font-rounded);
  font-weight: 500;
}
.section-title .more::after { content: " →"; }

/* ============================================================
   ARTICLE CARDS — variation-aware via [data-variant]
   ============================================================ */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-list.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.article-list.magazine { display: flex; flex-direction: column; gap: 28px; }

/* CLASSIC — horizontal row, image left */
.article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--beige-line);
  align-items: start;
}
.article-card:first-child { padding-top: 6px; }
.article-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--beige); }
.article-thumb {
  aspect-ratio: 4 / 3;
  background: var(--beige);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--beige-line);
}
.article-thumb .placeholder {
  width: 100%; height: 100%;
  background-image:
    repeating-linear-gradient(45deg,
      oklch(82% 0.035 72) 0 6px,
      oklch(88% 0.03 75) 6px 12px);
  display: grid; place-items: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: oklch(42% 0.04 75);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 8px;
}
.article-thumb .placeholder span {
  background: var(--paper);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--beige-line);
}
.article-thumb .cat-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--paper);
  color: var(--sage-deep);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  border: 1px solid var(--sage-soft);
}
.article-body .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px;
  color: var(--ink-mute);
  font-family: var(--font-rounded);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.article-body .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--beige-deep); }
.article-body .meta .new {
  color: var(--tabby-orange);
  font-weight: 700;
  background: oklch(95% 0.04 65);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--ink);
  text-wrap: balance;
}
.article-body h3 a:hover { color: var(--sage-deep); }
.article-body .excerpt {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-rounded);
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--paper-soft);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--beige-line);
}
.tag::before { content: "#"; color: var(--beige-deep); margin-right: 2px; }

/* GRID variant */
.article-list.grid .article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--beige-line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border-bottom: 1px solid var(--beige-line);
  transition: .2s;
}
.article-list.grid .article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sage-soft);
}
.article-list.grid .article-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--beige); }
.article-thumb {
  aspect-ratio: 16 / 10;
}

/* MAGAZINE variant */
.article-list.magazine .article-card {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  border: none;
}
.article-list.magazine .article-card.feature {
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--beige-line);
}
.article-list.magazine .article-card.feature .article-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--beige); }
.article-thumb {
  aspect-ratio: 5/4;
}
.article-list.magazine .article-card.feature h3 {
  font-size: 26px;
  line-height: 1.45;
}
.article-list.magazine .article-card.feature .excerpt {
  font-size: 14px;
  -webkit-line-clamp: 4;
}
.article-list.magazine .row-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.article-list.magazine .row-pair .article-card { padding: 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
  background: var(--paper);
  border: 1px solid var(--beige-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--beige-line);
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.widget-title .bar {
  width: 4px; height: 14px; background: var(--sage); border-radius: 2px;
}

/* profile */
.widget-profile { text-align: center; padding: 26px 20px; background: var(--sage-wash); border-color: var(--sage-soft); }
.widget-profile .pic {
  width: 120px; height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--paper);
  outline: 2px solid var(--sage-soft);
  overflow: hidden;
  display: grid; place-items: center;
}
.widget-profile .pic img { width: 110px; height: 110px; object-fit: cover; object-position: center 20%; }
.widget-profile .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.widget-profile .role { font-size: 11.5px; color: var(--ink-mute); margin-bottom: 12px; letter-spacing: 0.06em; font-family: var(--font-rounded); }
.widget-profile .bio { font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; text-align: left; }
.sns { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.sns a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--beige-line);
  display: grid; place-items: center;
  color: var(--ink-soft);
}
.sns a:hover { background: var(--sage); color: var(--paper); border-color: var(--sage); }

/* search */
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--beige-line);
  border-radius: 999px;
  padding: 8px 14px;
}
.search-box input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-body); font-size: 13px; color: var(--ink);
  outline: none;
}
.search-box input::placeholder { color: var(--ink-mute); }

/* categories */
.cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.cat-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 4px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--beige-line);
  transition: .15s;
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list li a:hover { color: var(--sage-deep); padding-left: 8px; }
.cat-list li .label { display: flex; align-items: center; gap: 10px; font-family: var(--font-rounded); }
.cat-list li .swatch {
  width: 10px; height: 10px; border-radius: 3px;
}
.cat-list li .count {
  font-family: "Fraunces", serif; font-style: italic;
  font-size: 12px; color: var(--ink-mute);
}

/* ranking */
.rank-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rank-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.rank-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: var(--sage);
  line-height: 1;
  text-align: center;
}
.rank-item:nth-child(1) .rank-num { color: var(--tabby-orange); }
.rank-item:nth-child(2) .rank-num { color: var(--sage-deep); }
.rank-item:nth-child(3) .rank-num { color: var(--shoe-brown); }
.rank-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-meta { font-size: 11px; color: var(--ink-mute); font-family: var(--font-rounded); }

/* tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud .tag { cursor: pointer; }
.tag-cloud .tag:hover { background: var(--sage-soft); color: var(--sage-deep); border-color: var(--sage-soft); }

/* newsletter widget */
.widget-news {
  background: var(--beige);
  border-color: var(--beige-line);
}
.widget-news .widget-title { border-bottom-color: var(--beige-deep); }
.widget-news p { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.8; }
.news-form { display: flex; flex-direction: column; gap: 8px; }
.news-form input {
  background: var(--paper);
  border: 1px solid var(--beige-line);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px; font-family: var(--font-body);
  outline: none;
}

/* affiliate card in sidebar (soft, "Decide for me" style = boxed reco) */
.affiliate-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--beige-line);
}
.affiliate-card .aff-img {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, var(--sage-soft) 0 6px, var(--sage-wash) 6px 12px);
  display: grid; place-items: center;
  font-family: ui-monospace, monospace;
  font-size: 10px; color: var(--sage-deep);
  position: relative;
}
.affiliate-card .aff-img::before {
  content: "PR";
  position: absolute; top: 10px; right: 10px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-rounded); font-size: 9.5px;
  padding: 2px 7px; border-radius: 4px;
  letter-spacing: 0.1em;
}
.affiliate-card .aff-img span {
  background: var(--paper); padding: 4px 10px; border-radius: 4px;
  border: 1px solid var(--sage-soft);
}
.affiliate-card .aff-body { padding: 16px; }
.affiliate-card .aff-eyebrow {
  font-family: var(--font-rounded); font-size: 10.5px;
  color: var(--sage-deep); letter-spacing: 0.12em; margin-bottom: 6px;
}
.affiliate-card .aff-title {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  line-height: 1.55; margin: 0 0 8px;
}
.affiliate-card .aff-desc { font-size: 12px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.7; }
.affiliate-card .aff-stars { color: var(--tabby-orange); font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }

/* ============================================================
   FEATURED STRIP (between hero and main)
   ============================================================ */
.pickup-strip {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pickup-card {
  background: var(--paper);
  border: 1px solid var(--beige-line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: .15s;
}
.pickup-card:hover { border-color: var(--sage-soft); transform: translateY(-1px); }
.pickup-card .pick-num {
  font-family: "Fraunces", serif; font-style: italic;
  font-size: 14px; color: var(--sage);
}
.pickup-card .pick-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sage-wash);
  color: var(--sage-deep);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.pickup-card .pick-title {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.pickup-card .pick-desc { font-size: 12px; color: var(--ink-mute); line-height: 1.7; }

/* ============================================================
   CATEGORY INTRO STRIP
   ============================================================ */
.cat-intro {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.cat-intro-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cat-chip {
  background: var(--paper);
  border: 1px solid var(--beige-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center;
  transition: .15s;
  position: relative;
  overflow: hidden;
}
.cat-chip:hover { border-color: var(--sage-soft); box-shadow: var(--shadow-sm); }
.cat-chip .chip-ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--paper);
}
.cat-chip h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 2px;
}
.cat-chip p { font-size: 11.5px; color: var(--ink-mute); margin: 0; font-family: var(--font-rounded); }
.cat-chip::after {
  content: "→";
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--beige-deep); font-family: var(--font-rounded);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 80px;
  background: var(--sage-deep);
  color: oklch(88% 0.02 145);
  padding: 52px 0 28px;
}
.site-footer .inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-col h5 {
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  font-size: 13px; margin: 0 0 16px; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 12.5px; color: oklch(82% 0.03 145); font-family: var(--font-rounded); }
.footer-col a:hover { color: var(--paper); }
.footer-brand p { font-size: 12.5px; line-height: 1.9; color: oklch(82% 0.03 145); max-width: 320px; }
.footer-brand .brand-text .name { color: var(--paper); }
.footer-brand .brand-text .sub { color: oklch(82% 0.03 145); }
.site-header .brand-mark { border: 2px solid var(--sage-deep); }
.footer-brand .brand-mark { background: var(--paper); border-color: var(--paper); }
.copyright {
  max-width: 1180px; margin: 36px auto 0; padding: 20px 24px 0;
  border-top: 1px solid oklch(55% 0.05 145);
  font-size: 11px; color: oklch(75% 0.03 145);
  font-family: var(--font-rounded); letter-spacing: 0.08em;
  display: flex; justify-content: space-between;
}

/* ============================================================
   VARIATION OVERRIDES
   ============================================================ */
/* Variant B — Card Grid Modern: brighter whites, more shadow, rounded big cards, no dashed dividers */
[data-variant="B"] {
  --paper: oklch(99% 0.006 85);
  --paper-soft: oklch(96.5% 0.014 85);
}
[data-variant="B"] .hero-card {
  background: var(--paper);
  border: none;
  box-shadow: 0 12px 44px oklch(40% 0.04 75 / .08);
}
[data-variant="B"] .hero h1 { font-size: 42px; }
[data-variant="B"] .article-card { background: var(--paper); }
[data-variant="B"] .section-title { border-bottom: none; }
[data-variant="B"] .widget { box-shadow: var(--shadow-sm); }
[data-variant="B"] .pickup-card { box-shadow: var(--shadow-sm); }

/* Variant C — Magazine Editorial: more serif, larger type, stronger contrast */
[data-variant="C"] {
  --paper: oklch(96% 0.016 82);
}
[data-variant="C"] .hero-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: 8px 8px 0 var(--beige);
}
[data-variant="C"] .hero h1 {
  font-family: "Fraunces", "Zen Maru Gothic", serif;
  font-size: 44px; font-weight: 900;
}
[data-variant="C"] .brand-text .name,
[data-variant="C"] .section-title h2,
[data-variant="C"] .widget-title,
[data-variant="C"] .article-body h3 {
  font-family: "Zen Maru Gothic", serif;
}
[data-variant="C"] .article-card { border-bottom: 1px solid var(--ink); }
[data-variant="C"] .widget { border-radius: 2px; }
[data-variant="C"] .hero-kicker { border-radius: 2px; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
#tweaks-panel {
  position: fixed; right: 20px; bottom: 20px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--beige-deep);
  border-radius: 18px;
  box-shadow: 0 20px 60px oklch(30% 0.04 75 / .2);
  padding: 18px;
  z-index: 999;
  font-family: var(--font-rounded);
  display: none;
}
#tweaks-panel.open { display: block; }
#tweaks-panel h4 {
  font-family: var(--font-display);
  font-size: 14px; margin: 0 0 14px;
  display: flex; justify-content: space-between; align-items: center;
}
#tweaks-panel h4 .tag {
  font-size: 9.5px; background: var(--sage); color: var(--paper);
  border: none; padding: 3px 7px;
}
.tweak-group { margin-bottom: 14px; }
.tweak-label {
  font-size: 11px; color: var(--ink-mute); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tweak-btns { display: flex; gap: 6px; }
.tweak-btns button {
  flex: 1;
  padding: 8px 4px;
  font-size: 11.5px;
  border-radius: 8px;
  border: 1px solid var(--beige-line);
  background: var(--paper-soft);
  cursor: pointer;
  font-family: var(--font-rounded);
  color: var(--ink-soft);
  transition: .15s;
}
.tweak-btns button.active {
  background: var(--sage); color: var(--paper); border-color: var(--sage);
}
.tweak-foot {
  font-size: 10.5px; color: var(--ink-mute); margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed var(--beige-line);
  line-height: 1.6;
}

/* mobile */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr; padding: 28px; }
  .hero-mascot img { width: 180px; height: 180px; }
  .main-nav { display: none; }
  .pickup-grid { grid-template-columns: 1fr 1fr; }
  .cat-intro-grid { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
  .article-card { grid-template-columns: 120px 1fr; gap: 14px; }
  .article-list.grid { grid-template-columns: 1fr; }
  .article-list.magazine .row-pair { grid-template-columns: 1fr; }
  .article-list.magazine .article-card.feature { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS CORE OVERRIDES — full width fix
   ============================================================ */
html :where(.wp-site-blocks),
.wp-site-blocks,
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-block-group.is-layout-constrained,
.entry-content.is-layout-constrained,
main.is-layout-constrained,
.wp-block-post-content,
#content,
#primary,
#main,
.site,
.site-content {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wp-embed-responsive .wp-site-blocks,
body .wp-site-blocks > * {
  max-width: none !important;
}

/* WP admin bar offset */
body.admin-bar .top-strip { margin-top: 0; }

/* prevent WP default single column content */
.entry-content > * { max-width: none; }

/* ============================================================
   HARD RESET — force full width against ConoHa / host overrides
   ============================================================ */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  overflow-x: hidden;
}
body > #app,
body > div#app {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: var(--paper) !important;
}
/* common wrappers some hosts / plugins inject */
body > .wrapper,
body > .container,
body > #wrapper,
body > #container,
body > .site-wrapper,
body > .page-wrapper,
body > .outer,
body > main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
