/* ════════════════════════════════════
   eco log — main.css
   (デモHTMLと完全一致のスタイル + WordPress拡張)
════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TOKENS ── */
  :root {
    --forest:   #0A2A1A;
    --green:    #1A6B3A;
    --green-lt: #E8F4ED;
    --bg:       #F5F9F6;
    --slate:    #2C5F8A;
    --amber:    #F0A500;
    --text:     #1C2B22;
    --muted:    #5A7060;
    --border:   #C9DDD0;
    --white:    #FFFFFF;
    --serif:    'Noto Serif JP', serif;
    --sans:     'Noto Sans JP', sans-serif;
  }

  /* ── RESET ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.75; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  /* ── NAV ── */
  .nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--forest);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: 60px;
  }
  .nav-logo {
    font-family: var(--serif); font-size: 18px; font-weight: 700;
    color: var(--white); letter-spacing: 0.04em;
  }
  .nav-logo span { color: #6ED89A; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a {
    font-size: 13px; color: rgba(255,255,255,0.78); font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #fff; }
  .nav-links .nav-cta {
    background: var(--green); color: #fff; padding: 6px 16px;
    border-radius: 4px; font-size: 13px;
  }
  .nav-links .nav-cta:hover { background: #1e7d44; }

  /* ── PAGE TABS ── */
  .page-tabs {
    display: flex; gap: 0;
    background: #fff; border-bottom: 2px solid var(--border);
    padding: 0 32px;
  }
  .tab-btn {
    padding: 12px 20px; font-size: 13px; font-weight: 700;
    border: none; background: none; cursor: pointer;
    color: var(--muted); border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: color 0.2s;
    font-family: var(--sans);
  }
  .tab-btn.active { color: var(--green); border-bottom-color: var(--green); }
  .tab-btn:hover { color: var(--text); }

  /* ── PAGES ── */
  .page { display: none; }
  .page.active { display: block; }

  /* ══════════════════════════════════
     PAGE 1 — HOME
  ══════════════════════════════════ */

  /* Hero */
  .hero {
    background: var(--forest);
    position: relative; overflow: hidden;
    padding: 72px 32px 64px;
    display: grid; grid-template-columns: 1fr 420px; gap: 48px;
    align-items: center; max-width: 1100px; margin: 0 auto;
  }
  .hero-eyebrow {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #6ED89A; font-weight: 700; margin-bottom: 16px;
  }
  .hero-title {
    font-family: var(--serif); font-size: clamp(28px, 4vw, 44px);
    font-weight: 700; color: #fff; line-height: 1.35;
    margin-bottom: 20px;
  }
  .hero-title em { color: #6ED89A; font-style: normal; }
  .hero-sub {
    font-size: 14px; color: rgba(255,255,255,0.7);
    margin-bottom: 32px; line-height: 1.9;
  }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--green); color: #fff;
    padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 700;
    transition: background 0.2s;
  }
  .btn-primary:hover { background: #1e7d44; }
  .btn-outline {
    border: 1.5px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85);
    padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-outline:hover { border-color: #fff; color: #fff; }

  /* Hero rings (signature element) */
  .hero-rings {
    position: relative; width: 360px; height: 360px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .hero-rings svg { position: absolute; inset: 0; }
  .ring-label {
    position: relative; z-index: 2; text-align: center;
    font-family: var(--serif);
  }
  .ring-label .rl-num {
    font-size: 52px; font-weight: 700; color: #fff; line-height: 1;
  }
  .ring-label .rl-unit {
    font-size: 12px; color: #6ED89A; letter-spacing: 0.1em; margin-top: 4px;
  }
  .ring-label .rl-desc {
    font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 6px;
  }

  /* Hero wrap */
  .hero-wrap { background: var(--forest); }

  /* Stats bar */
  .stats-bar {
    background: #fff; border-bottom: 1px solid var(--border);
    display: flex; gap: 0;
  }
  .stat-item {
    flex: 1; padding: 18px 24px; border-right: 1px solid var(--border);
    text-align: center;
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: var(--serif); font-size: 24px; font-weight: 700;
    color: var(--green);
  }
  .stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

  /* Section */
  .section { padding: 56px 32px; max-width: 1100px; margin: 0 auto; }
  .section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 28px;
  }
  .section-title {
    font-family: var(--serif); font-size: 20px; font-weight: 700;
    color: var(--forest);
    display: flex; align-items: center; gap: 10px;
  }
  .section-title::before {
    content: ''; display: inline-block; width: 4px; height: 20px;
    background: var(--green); border-radius: 2px;
  }
  .see-all { font-size: 13px; color: var(--slate); font-weight: 500; }
  .see-all:hover { text-decoration: underline; }

  /* News grid */
  .news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
  .news-card {
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    overflow: hidden; transition: box-shadow 0.2s;
  }
  .news-card:hover { box-shadow: 0 4px 20px rgba(10,42,26,0.10); }
  .card-img {
    height: 180px; background: var(--green-lt);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--green);
  }
  .news-card.featured .card-img { height: 220px; font-size: 56px; }
  .card-body { padding: 16px; }
  .card-cat {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--green-lt); color: var(--green);
    padding: 3px 8px; border-radius: 3px; margin-bottom: 8px;
  }
  .card-cat.amber { background: #FFF4D6; color: #B07800; }
  .card-cat.slate { background: #E6EFF7; color: var(--slate); }
  .card-title {
    font-family: var(--serif); font-size: 15px; font-weight: 700;
    color: var(--forest); line-height: 1.5; margin-bottom: 8px;
  }
  .news-card.featured .card-title { font-size: 18px; }
  .card-meta { font-size: 11px; color: var(--muted); }

  /* Beginner section */
  .beginner-section {
    background: linear-gradient(135deg, #F0F8F3 0%, #E8F4ED 100%);
    padding: 56px 0;
  }
  .beginner-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
  .beginner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
  .beginner-card {
    background: #fff; border-radius: 8px; padding: 24px 20px;
    border: 1px solid var(--border); transition: box-shadow 0.2s;
    text-align: center;
  }
  .beginner-card:hover { box-shadow: 0 4px 16px rgba(10,42,26,0.09); }
  .bc-icon { font-size: 32px; margin-bottom: 12px; }
  .bc-title {
    font-family: var(--serif); font-size: 14px; font-weight: 700;
    color: var(--forest); margin-bottom: 6px; line-height: 1.4;
  }
  .bc-desc { font-size: 12px; color: var(--muted); line-height: 1.7; }

  /* Qualification band */
  .qual-band {
    background: var(--forest); padding: 48px 0;
  }
  .qual-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
  .qual-band .section-title { color: #fff; }
  .qual-band .section-title::before { background: var(--amber); }
  .qual-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
  .qual-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px; padding: 20px; transition: background 0.2s;
  }
  .qual-card:hover { background: rgba(255,255,255,0.14); }
  .qc-badge {
    display: inline-block; background: var(--amber); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    padding: 3px 8px; border-radius: 3px; margin-bottom: 10px;
  }
  .qc-title { font-family: var(--serif); font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 6px; }
  .qc-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }
  .qc-link { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--amber); font-weight: 700; }

  /* Newsletter */
  .newsletter-band {
    background: var(--slate); padding: 48px 32px; text-align: center;
  }
  .nl-title { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 8px; }
  .nl-sub { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
  .nl-form { display: flex; gap: 8px; justify-content: center; max-width: 440px; margin: 0 auto; }
  .nl-input {
    flex: 1; padding: 12px 16px; border: none; border-radius: 4px;
    font-size: 14px; font-family: var(--sans);
  }
  .nl-btn {
    background: var(--amber); color: #fff; border: none;
    padding: 12px 20px; border-radius: 4px; font-size: 14px; font-weight: 700;
    cursor: pointer; font-family: var(--sans);
  }

  /* ══════════════════════════════════
     PAGE 2 — BLOG TOP
  ══════════════════════════════════ */
  .blog-header {
    background: var(--forest); padding: 48px 32px;
    max-width: 100%;
  }
  .blog-header-inner { max-width: 1100px; margin: 0 auto; }
  .blog-header h1 {
    font-family: var(--serif); font-size: 32px; color: #fff; font-weight: 700;
    margin-bottom: 8px;
  }
  .blog-header p { font-size: 14px; color: rgba(255,255,255,0.65); }

  /* Category filter */
  .cat-filter {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 0 32px; display: flex; gap: 0; overflow-x: auto;
    max-width: 100%;
  }
  .cat-btn {
    padding: 14px 18px; font-size: 13px; font-weight: 500;
    border: none; background: none; cursor: pointer; white-space: nowrap;
    color: var(--muted); border-bottom: 3px solid transparent;
    font-family: var(--sans); margin-bottom: -1px; transition: color 0.15s;
  }
  .cat-btn.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
  .cat-btn:hover { color: var(--text); }

  /* Blog layout */
  .blog-layout {
    max-width: 1100px; margin: 0 auto; padding: 40px 32px;
    display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  }

  /* Article list */
  .article-item {
    display: grid; grid-template-columns: 120px 1fr; gap: 20px;
    padding: 24px 0; border-bottom: 1px solid var(--border);
    align-items: start;
  }
  .article-item:first-child { padding-top: 0; }
  .ai-thumb {
    height: 90px; background: var(--green-lt); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
  }
  .ai-cat { margin-bottom: 6px; }
  .ai-title {
    font-family: var(--serif); font-size: 16px; font-weight: 700;
    color: var(--forest); line-height: 1.5; margin-bottom: 6px;
  }
  .ai-title:hover { color: var(--green); }
  .ai-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
  .ai-meta { font-size: 11px; color: var(--muted); }

  /* Sidebar */
  .sidebar { }
  .sidebar-widget {
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 20px; margin-bottom: 20px;
  }
  .widget-title {
    font-family: var(--serif); font-size: 14px; font-weight: 700;
    color: var(--forest); margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 2px solid var(--green-lt);
  }
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
  .tag {
    font-size: 11px; padding: 4px 10px; border-radius: 20px;
    background: var(--green-lt); color: var(--green); font-weight: 500;
  }
  .ranking-item {
    display: flex; gap: 10px; padding: 8px 0;
    border-bottom: 1px solid var(--border); align-items: start;
  }
  .ranking-item:last-child { border-bottom: none; }
  .rank-num {
    font-family: var(--serif); font-size: 18px; font-weight: 700;
    color: var(--border); min-width: 24px; line-height: 1.3;
  }
  .rank-num.top { color: var(--amber); }
  .rank-title { font-size: 12px; color: var(--forest); line-height: 1.6; font-weight: 500; }
  .sidebar-qual {
    background: var(--forest); color: #fff; padding: 20px;
    border-radius: 6px; margin-bottom: 20px; text-align: center;
  }
  .sq-label { font-size: 10px; letter-spacing: 0.1em; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
  .sq-title { font-family: var(--serif); font-size: 15px; color: #fff; margin-bottom: 8px; }
  .sq-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 14px; }
  .sq-btn {
    display: inline-block; background: var(--amber); color: #fff;
    padding: 8px 20px; border-radius: 4px; font-size: 13px; font-weight: 700;
  }

  /* Pagination */
  .pagination {
    display: flex; justify-content: center; gap: 6px; padding: 32px 0;
  }
  .page-num {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-size: 13px; font-weight: 500; cursor: pointer;
    border: 1px solid var(--border); color: var(--muted);
    transition: all 0.15s;
  }
  .page-num.active { background: var(--green); color: #fff; border-color: var(--green); }
  .page-num:hover:not(.active) { border-color: var(--green); color: var(--green); }

  /* ══════════════════════════════════
     PAGE 3 — ABOUT
  ══════════════════════════════════ */
  .about-hero {
    background: var(--forest); padding: 72px 32px;
    text-align: center; position: relative; overflow: hidden;
  }
  .about-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(26,107,58,0.4) 0%, transparent 70%);
    pointer-events: none;
  }
  .about-hero-eyebrow {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #6ED89A; font-weight: 700; margin-bottom: 16px;
  }
  .about-hero h1 {
    font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
    color: #fff; font-weight: 700; line-height: 1.4; margin-bottom: 16px;
    position: relative;
  }
  .about-hero p {
    font-size: 15px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto;
    line-height: 1.9; position: relative;
  }

  /* Mission */
  .about-section { max-width: 900px; margin: 0 auto; padding: 64px 32px; }
  .about-section h2 {
    font-family: var(--serif); font-size: 24px; font-weight: 700;
    color: var(--forest); margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
  }
  .about-section h2::before {
    content: ''; width: 5px; height: 24px;
    background: var(--green); border-radius: 3px; display: inline-block;
  }
  .about-section p { font-size: 15px; color: var(--text); line-height: 2.0; margin-bottom: 16px; }

  /* Values */
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
  .value-card {
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    padding: 28px 24px;
  }
  .vc-icon { font-size: 28px; margin-bottom: 12px; }
  .vc-title {
    font-family: var(--serif); font-size: 16px; font-weight: 700;
    color: var(--forest); margin-bottom: 8px;
  }
  .vc-desc { font-size: 13px; color: var(--muted); line-height: 1.8; }

  /* Content pillars */
  .pillars-band { background: var(--green-lt); padding: 64px 0; }
  .pillars-inner { max-width: 900px; margin: 0 auto; padding: 0 32px; }
  .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
  .pillar {
    background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border);
  }
  .pillar-top {
    padding: 24px; text-align: center;
    border-bottom: 3px solid var(--green);
  }
  .pillar.amber-top .pillar-top { border-bottom-color: var(--amber); }
  .pillar.slate-top .pillar-top { border-bottom-color: var(--slate); }
  .pillar-icon { font-size: 36px; margin-bottom: 10px; }
  .pillar-title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--forest); }
  .pillar-body { padding: 16px 20px; }
  .pillar-body li { font-size: 13px; color: var(--muted); padding: 5px 0; list-style: none;
    border-bottom: 1px solid var(--green-lt); display: flex; align-items: center; gap: 6px; }
  .pillar-body li:last-child { border-bottom: none; }
  .pillar-body li::before { content: '→'; color: var(--green); font-size: 11px; }
  .pillar.amber-top .pillar-body li::before { color: var(--amber); }
  .pillar.slate-top .pillar-body li::before { color: var(--slate); }

  /* Team */
  .team-section { max-width: 900px; margin: 0 auto; padding: 64px 32px; }
  .team-section h2 {
    font-family: var(--serif); font-size: 24px; font-weight: 700;
    color: var(--forest); margin-bottom: 28px;
    display: flex; align-items: center; gap: 10px;
  }
  .team-section h2::before {
    content: ''; width: 5px; height: 24px;
    background: var(--green); border-radius: 3px; display: inline-block;
  }
  .team-card {
    display: flex; gap: 28px; align-items: start;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    padding: 28px;
  }
  .team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--green-lt); display: flex; align-items: center;
    justify-content: center; font-size: 36px; flex-shrink: 0;
  }
  .team-name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
  .team-role { font-size: 12px; color: var(--green); font-weight: 700; margin-bottom: 10px; letter-spacing: 0.05em; }
  .team-bio { font-size: 13px; color: var(--muted); line-height: 1.9; }

  /* CTA about */
  .about-cta {
    background: var(--forest); padding: 56px 32px; text-align: center;
  }
  .about-cta h2 {
    font-family: var(--serif); font-size: 24px; color: #fff; margin-bottom: 10px;
  }
  .about-cta p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 28px; }
  .cta-btns { display: flex; gap: 12px; justify-content: center; }

  /* Footer */
  .footer {
    background: #061810; padding: 40px 32px 20px;
  }
  .footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
    padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand-name {
    font-family: var(--serif); font-size: 18px; color: #fff; font-weight: 700;
    margin-bottom: 8px;
  }
  .footer-brand-name span { color: #6ED89A; }
  .footer-brand-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.9; }
  .footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
  .footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6);
    padding: 4px 0; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom {
    max-width: 1100px; margin: 0 auto; padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }


/* ════════════════════════════════════
   WORDPRESS-SPECIFIC ADDITIONS
════════════════════════════════════ */

/* Accessibility */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 9999; background: var(--green); color: #fff; padding: 8px 16px; border-radius: 6px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Site structure */
.site-content { }
.archive-layout, .single-layout, .page-layout {
  max-width: 1100px; margin: 0 auto; padding: 40px 32px;
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0; font-size: 12px; color: var(--muted); }
.breadcrumb li::after { content: ' ›'; margin: 0 6px; color: var(--border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--slate); text-decoration: none; }

/* Read more */
.read-more { color: var(--slate); font-weight: 500; }

/* Pagination */
.pagination { margin: 32px 0; }
.pagination ul { list-style: none; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination ul li a, .pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 13px; color: var(--muted); text-decoration: none;
}
.pagination ul li .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination ul li a:hover { border-color: var(--green); color: var(--green); }

/* Single article */
.single-article { }
.article-header { margin-bottom: 24px; }
.article-cats { margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.article-title { font-family: var(--serif); font-size: clamp(20px,3vw,30px); font-weight: 700; color: var(--forest); line-height: 1.4; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.article-thumbnail { margin-bottom: 28px; border-radius: 6px; overflow: hidden; }
.article-thumbnail img { width: 100%; max-height: 400px; object-fit: cover; }
.article-content { line-height: 1.9; }
.article-content h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--forest); margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--green); }
.article-content h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--forest); margin: 28px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin-bottom: 16px; padding-left: 1.6em; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--slate); text-decoration: underline; }
.article-content blockquote { border-left: 3px solid var(--green); padding: 12px 20px; background: var(--green-lt); margin: 20px 0; color: var(--muted); }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.article-content th { background: var(--forest); color: #fff; padding: 10px 14px; text-align: left; }
.article-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-content tr:nth-child(even) td { background: var(--green-lt); }
.article-content img { max-width: 100%; border-radius: 6px; margin: 16px 0; }
.article-tags { margin: 28px 0; font-size: 13px; color: var(--muted); }
.article-tags a { display: inline-block; background: var(--green-lt); color: var(--green); padding: 3px 10px; border-radius: 20px; margin: 2px; font-size: 12px; text-decoration: none; }
.article-share { display: flex; align-items: center; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.share-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.share-btn { display: inline-block; padding: 7px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; }
.share-x    { background: #000; color: #fff; }
.share-fb   { background: #1877f2; color: #fff; }
.share-line { background: #06C755; color: #fff; }
.share-btn:hover { opacity: .85; text-decoration: none; }

/* Related posts */
.related-posts { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--forest); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.related-card:hover { box-shadow: 0 4px 20px rgba(10,42,26,0.10); text-decoration: none; }
.related-thumb img { width: 100%; height: 110px; object-fit: cover; }
.related-thumb .thumb-placeholder { height: 90px; font-size: 24px; }
.related-body { padding: 12px; }
.related-card-title { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--forest); line-height: 1.5; margin-top: 6px; }

/* Archive */
.archive-header { background: var(--forest); }
.archive-header-inner { max-width: 1100px; margin: 0 auto; padding: 40px 32px; }
.archive-title { font-family: var(--serif); font-size: 28px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.archive-desc { font-size: 14px; color: rgba(255,255,255,.65); }
.cat-filter-bar { background: #fff; border-bottom: 1px solid var(--border); }
.cat-filter-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; overflow-x: auto; gap: 0; }
.article-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: start; }
.article-item:first-child { padding-top: 0; }
.article-thumb { display: block; width: 120px; height: 90px; overflow: hidden; border-radius: 4px; flex-shrink: 0; text-decoration: none; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { width: 120px; height: 90px; background: var(--green-lt); display: flex; align-items: center; justify-content: center; font-size: 28px; border-radius: 4px; }
.article-title-list { font-family: var(--serif); font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.5; }
.article-title-list a { color: var(--forest); text-decoration: none; }
.article-title-list a:hover { color: var(--green); }
.article-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.article-meta-small { font-size: 11px; color: var(--muted); }
.no-posts { padding: 40px 0; color: var(--muted); }

/* Page */
.page-article { }
.page-header { margin-bottom: 24px; }
.page-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--forest); }
.page-thumbnail { margin-bottom: 24px; border-radius: 6px; overflow: hidden; }
.page-content { line-height: 1.9; }

/* 404 */
.error-404-wrap { min-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 60px 32px; }
.error-404-inner { text-align: center; max-width: 500px; }
.error-icon { font-size: 56px; margin-bottom: 16px; }
.error-title { font-family: var(--serif); font-size: 24px; color: var(--forest); font-weight: 700; margin-bottom: 12px; }
.error-desc { color: var(--muted); margin-bottom: 24px; line-height: 1.8; }
.error-actions { margin-bottom: 20px; }

/* Search form */
.search-form { display: flex; gap: 6px; }
.search-field { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: var(--sans); }
.search-submit { background: var(--green); color: #fff; border: none; padding: 10px 16px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* Comments */
.article-comments { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment-author b { font-weight: 700; color: var(--forest); }
.comment-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.comment-content p { font-size: 14px; line-height: 1.8; }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--forest); margin-bottom: 16px; }
.comment-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); font-size: 14px; margin-bottom: 14px; }
.comment-form textarea { height: 120px; resize: vertical; }
.comment-form .submit { background: var(--green); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* Nav links */
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu { list-style: none; padding: 0; display: flex; gap: 24px; align-items: center; }
.nav-menu a { font-size: 13px; color: rgba(255,255,255,.78); font-weight: 500; transition: color .2s; text-decoration: none; }
.nav-menu a:hover { color: #fff; }
.nav-cta { background: var(--green) !important; color: #fff !important; padding: 7px 16px !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 700 !important; transition: background .2s; text-decoration: none !important; }
.nav-cta:hover { background: #1e7d44 !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.category-bar { background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.08); }
.category-bar-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; overflow-x: auto; }
.category-menu { list-style: none; padding: 0; display: flex; gap: 0; }
.category-menu a { display: block; padding: 8px 14px; font-size: 12px; color: rgba(255,255,255,.65); white-space: nowrap; text-decoration: none; }
.category-menu a:hover { color: #fff; }
.category-menu .current-menu-item a { color: #6ED89A; font-weight: 700; }

/* Footer */
.footer-top { background: #061810; padding: 48px 0 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--serif); font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-logo span { color: #6ED89A; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.9; }
.footer-widgets { display: contents; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { background: #040e08; }
.footer-bottom-inner { max-width: 1100px; margin: 0 auto; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.copyright, .footer-tagline { font-size: 11px; color: rgba(255,255,255,.3); }

/* Sidebar */
.sidebar-qual-cta { background: var(--forest); padding: 20px; border-radius: 6px; text-align: center; margin-bottom: 20px; }
.sq-label { font-size: 10px; letter-spacing: .1em; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.sq-title { font-family: var(--serif); font-size: 15px; color: #fff; margin-bottom: 8px; }
.sq-desc { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 14px; }
.sq-btn { display: inline-block; background: var(--amber); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; }
.sq-btn:hover { opacity: .9; text-decoration: none; color: #fff; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; margin-bottom: 20px; }
.widget-title { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--forest); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green-lt); }
.ranking-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.ranking-item:last-child { border-bottom: none; }
.rank-num { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--border); min-width: 22px; line-height: 1.4; }
.rank-num.top { color: var(--amber); }
.rank-title { font-size: 12px; color: var(--forest); line-height: 1.6; font-weight: 500; text-decoration: none; }
.rank-title:hover { color: var(--green); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { font-size: 11px !important; padding: 4px 10px !important; border-radius: 20px; background: var(--green-lt); color: var(--green) !important; font-weight: 500; text-decoration: none; }
.tag-cloud a:hover { background: var(--green); color: #fff !important; }
.sidebar-nl-desc { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.8; }
.sidebar-nl-btn { display: block; background: var(--green); color: #fff; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.sidebar-nl-btn:hover { background: #1e7d44; text-decoration: none; color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-rings { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .beginner-grid { grid-template-columns: 1fr 1fr; }
  .qual-cards { grid-template-columns: 1fr; }
  .archive-layout, .single-layout, .page-layout { grid-template-columns: 1fr; }
  .archive-sidebar, .single-sidebar, .page-sidebar { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .primary-nav.is-open { display: flex; flex-direction: column; position: fixed; inset: 60px 0 0; background: var(--forest); padding: 20px; overflow-y: auto; z-index: 99; }
  .primary-nav.is-open .nav-menu { flex-direction: column; gap: 0; }
  .primary-nav.is-open .nav-menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .beginner-grid { grid-template-columns: 1fr; }
  .article-item { grid-template-columns: 90px 1fr; gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
