/*
Theme Name: elife design Journal
Theme URI: https://elife-design.com/owned-media/
Author: elife design
Description: elife design owned media theme
Version: 1.0.0
*/

/* ─ Variables ─ */
:root {
  --bg:       #F9F7F4;
  --white:    #FFFFFF;
  --ink:      #1A1916;
  --ink-2:    #4A4844;
  --ink-3:    #8A8784;
  --green:    #2B5240;
  --green-2:  #3D7060;
  --green-bg: #EEF4F1;
  --tan:      #8B7355;
  --border:   #E2DDD6;
  --f-sans:   'Noto Sans JP', sans-serif;
  --f-serif:  'Noto Serif JP', serif;
  --f-disp:   'DM Serif Display', 'Noto Serif JP', serif;
  --w:        1060px;
  --px:       clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ─ Header / Nav ─ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(249,247,244,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--w); margin: 0 auto;
  padding: 0 var(--px);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--f-disp);
  font-size: 17px;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.logo em { color: var(--green); font-style: normal; }
.logo-sub {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-3);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 20px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--green); }
.nav-links a.current-menu-item {
  font-weight: 500;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 1px;
}
.nav-links .divider-v {
  width: 1px; height: 16px;
  background: var(--border);
}
.nav-service {
  font-size: 12px !important;
  background: var(--green);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 3px;
  transition: background .15s !important;
}
.nav-service:hover { background: var(--green-2) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px var(--px) 28px;
  gap: 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.mobile-nav a:last-child { border-bottom: none; padding-bottom: 0; }

/* ─ Hero ─ */
.hero {
  background: var(--green);
  color: var(--white);
  padding: clamp(56px, 8vw, 96px) var(--px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(61,112,96,.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(139,115,85,.15) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--white);
}
.hero p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto;
}

/* ─ Category Hero ─ */
.category-hero {
  background: var(--green-bg);
  border-bottom: 1px solid var(--border);
  padding: clamp(36px, 5vw, 56px) var(--px);
}
.category-hero-inner {
  max-width: var(--w); margin: 0 auto;
}
.category-hero-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.category-hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.category-hero-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

/* ─ Breadcrumb ─ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--border); font-size: 10px; }
.breadcrumb .current { color: var(--ink-2); }

/* ─ Layout: 2-col ─ */
.content-wrap {
  max-width: var(--w); margin: 0 auto;
  padding: 56px var(--px) 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
.content-wrap.single-wrap {
  padding: 40px var(--px) 80px;
}
.content-wrap.archive-wrap {
  padding: 48px var(--px) 80px;
}

/* ─ Section heading ─ */
.section-heading {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.section-heading-left {
  display: flex; align-items: baseline; gap: 12px;
}
.section-heading h2 {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 400;
}
.section-heading span,
.section-heading .label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.result-count { font-size: 12px; color: var(--ink-2); }
.result-count strong { color: var(--green); }

/* ─ Sort row ─ */
.sort-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.sort-label { font-size: 12px; color: var(--ink-3); }
.sort-btn {
  font-size: 12px;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: var(--f-sans);
}
.sort-btn:hover,
.sort-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ─ Article grid ─ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(43,82,64,.08);
  transform: translateY(-2px);
}
.card-thumb {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-thumb.no-thumb {
  background: linear-gradient(135deg, #d6e8e1 0%, #b8d6cb 100%);
  color: #2B5240;
}
.card-thumb.cat-web {
  background: linear-gradient(135deg, #d6e8e1 0%, #b8d6cb 100%);
  color: #2B5240;
}
.card-thumb.cat-open {
  background: linear-gradient(135deg, #ede8e1 0%, #d8cfc3 100%);
  color: #6b5a42;
}
.card-thumb.cat-manage {
  background: linear-gradient(135deg, #e8e1ed 0%, #cfc3d8 100%);
  color: #4a3a5e;
}
.card-thumb.cat-case {
  background: linear-gradient(135deg, #e1e8ed 0%, #c3cfd8 100%);
  color: #3a4e5e;
}
.card-body { padding: 14px 18px 18px; }
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.badge-web     { background: var(--green-bg); color: var(--green); }
.badge-open    { background: #f3ede5; color: var(--tan); }
.badge-manage  { background: #eeeaf5; color: #5c4d7a; }
.badge-case    { background: #e5ecf3; color: #3a5a78; }
.badge-default { background: var(--green-bg); color: var(--green); }

.card-title {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--ink);
}
.card-excerpt {
  display: none;
}
.card-meta {
  font-size: 11px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.card-meta time { color: var(--ink-2); }
.card-meta .read-more {
  margin-left: auto;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ─ Pagination ─ */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--white);
  padding: 0 8px;
  transition: background .15s, color .15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.pagination .page-numbers.current { font-weight: 500; }
.pagination .page-numbers.dots { border: none; background: none; }

/* ─ Sidebar ─ */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.category-list { display: flex; flex-direction: column; gap: 2px; }
.category-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.category-list li a:hover,
.category-list li a.active { background: var(--green-bg); color: var(--green); }
.category-list .count {
  font-size: 11px;
  color: var(--ink-2);
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 10px;
}

.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item { display: flex; gap: 12px; align-items: flex-start; }
.recent-thumb {
  width: 64px; height: 48px; flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-thumb.no-thumb {
  background: linear-gradient(135deg, #d6e8e1, #b8d6cb);
}
.recent-thumb.cat-web   { background: linear-gradient(135deg, #d6e8e1, #b8d6cb); }
.recent-thumb.cat-open  { background: linear-gradient(135deg, #ede8e1, #d8cfc3); }
.recent-thumb.cat-manage{ background: linear-gradient(135deg, #e8e1ed, #cfc3d8); }
.recent-thumb.cat-case  { background: linear-gradient(135deg, #e1e8ed, #c3cfd8); }

.recent-text .recent-title {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-text time { font-size: 11px; color: var(--ink-3); margin-top: 3px; display: block; }

.sidebar-cta {
  background: var(--green);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.sidebar-cta p {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  line-height: 1.7;
}
.sidebar-cta .cta-btn {
  display: block;
  background: var(--white);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 3px;
  transition: opacity .15s;
}
.sidebar-cta .cta-btn:hover { opacity: .88; }
.sidebar-cta .cta-title {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--white);
  margin-bottom: 8px;
}

/* ─ TOC ─ */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.toc-title {
  font-size: 13px; font-weight: 500; margin-bottom: 12px;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.toc-title::before {
  content: '';
  display: block; width: 3px; height: 14px;
  background: var(--green);
  border-radius: 2px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.toc-list li a {
  font-size: 12px; color: var(--ink-3);
  transition: color .15s;
  display: flex; align-items: baseline; gap: 6px;
}
.toc-list li a::before { content: '—'; font-size: 10px; color: var(--border); flex-shrink: 0; }
.toc-list li a:hover { color: var(--green); }

/* ─ Article Header ─ */
.article-header { margin-bottom: 36px; }
.article-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--green-bg); color: var(--green);
  margin-bottom: 16px;
}
.article-title {
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--ink);
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px;
  color: var(--ink-2);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-meta time { color: var(--ink-2); }
.article-meta .updated { color: var(--ink-2); }
.article-meta .read-time {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}

/* ─ Eyecatch ─ */
.eyecatch {
  width: 100%; aspect-ratio: 16/7;
  border-radius: 4px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}
.eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.eyecatch.no-image {
  background: linear-gradient(135deg, #d6e8e1 0%, #a8cfc0 50%, #8bbfad 100%);
  display: flex; align-items: center; justify-content: center;
}
.eyecatch.no-image::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(255,255,255,.25), transparent);
}
.eyecatch-label {
  font-family: var(--f-serif);
  font-size: clamp(14px, 2vw, 20px);
  color: var(--green);
  opacity: .7;
  letter-spacing: .08em;
  position: relative; z-index: 1;
}

/* ─ Article Body ─ */
.article-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body p { margin-bottom: 24px; }

.article-body h2 {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 52px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--green);
  line-height: 1.5;
}
.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.article-body ul,
.article-body ol {
  padding-left: 20px;
  margin-bottom: 24px;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}
.article-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.article-body ol { counter-reset: ol-counter; }
.article-body ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute; left: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 50%;
  top: 3px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--green-bg);
  border-left: 3px solid var(--green);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.article-body blockquote p { margin-bottom: 0; }

.note-box {
  background: #fffdf9;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 28px 0;
}
.note-box .note-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 8px;
}
.note-box p { margin-bottom: 0; font-size: 14px; }

.step-list { margin: 28px 0; }
.step-item {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
}
.step-content h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-content p { font-size: 13px; color: var(--ink-2); margin-bottom: 0; }

/* ─ Article Tags ─ */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.tag {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  transition: border-color .15s, color .15s;
}
.tag:hover { border-color: var(--green); color: var(--green); }

/* ─ Share ─ */
.share-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.share-label { font-size: 12px; color: var(--ink-3); margin-right: 4px; letter-spacing: .06em; }
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500;
  padding: 7px 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.share-btn:hover { background: var(--bg); border-color: var(--ink-3); }

/* ─ Author ─ */
.author-card {
  display: flex; gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  margin-top: 48px;
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-bg), #c8dfd6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp);
  font-size: 22px;
  color: var(--green);
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.author-role { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; letter-spacing: .04em; }
.author-bio { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ─ Related articles ─ */
.related-section { margin-top: 56px; }
.related-heading {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
}
.related-heading span {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover { box-shadow: 0 6px 18px rgba(43,82,64,.08); transform: translateY(-2px); }
.related-thumb {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-thumb.no-thumb { background: linear-gradient(135deg, #d6e8e1, #b8d6cb); }
.related-thumb.cat-web     { background: linear-gradient(135deg, #d6e8e1, #b8d6cb); }
.related-thumb.cat-open    { background: linear-gradient(135deg, #ede8e1, #d8cfc3); }
.related-thumb.cat-manage  { background: linear-gradient(135deg, #e8e1ed, #cfc3d8); }
.related-thumb.cat-case    { background: linear-gradient(135deg, #e1e8ed, #c3cfd8); }
.related-card-body { padding: 14px 16px 18px; }
.related-badge {
  font-size: 10px; font-weight: 500; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 2px;
  background: var(--green-bg); color: var(--green);
  display: inline-block; margin-bottom: 8px;
}
.related-card-title {
  font-size: 13px; line-height: 1.55; color: var(--ink);
  font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card time { font-size: 11px; color: var(--ink-3); margin-top: 8px; display: block; }

/* ─ Prev/Next Nav ─ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.post-nav-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  transition: box-shadow .15s;
  display: block;
}
.post-nav-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.post-nav-title { font-size: 13px; color: var(--ink); line-height: 1.5; font-weight: 500; }

/* ─ Footer ─ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px var(--px) 32px;
}
.footer-inner {
  max-width: var(--w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-family: var(--f-disp);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-logo em { color: #6fa88d; font-style: normal; }
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  max-width: 320px;
}
.footer-links {
  display: flex; flex-direction: column; gap: 10px;
  text-align: right;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--w); margin: 0 auto;
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.copyright {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
}
.footer-service-link {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 12px;
  border-radius: 2px;
  transition: color .15s, border-color .15s;
}
.footer-service-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

/* ─ WordPress widget defaults ─ */
.widget { margin-bottom: 24px; }
.widget ul { list-style: none; }

/* ─ Responsive ─ */
@media (max-width: 900px) {
  .content-wrap {
    grid-template-columns: 1fr;
    padding: 40px var(--px) 64px;
  }
  .sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .article-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }
}
@media (max-width: 520px) {
  .related-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 460px) {
  .article-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
