@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --forest: #1f3d2b;
  --forest-deep: #142a1d;
  --moss: #3d6b4a;
  --leaf: #7aa86a;
  --leaf-soft: #b6d3a4;
  --bark: #6b4423;
  --bark-light: #a37348;
  --sky: #b9d8e8;
  --sky-deep: #4f8aa8;
  --cream: #faf6ec;
  --paper: #fffdf6;
  --sand: #f1e8d3;
  --ink: #1a1a17;
  --muted: #6c6a5d;
  --line: #ddd2b6;
  --accent: #c46a2c;
  --accent-dark: #9a4f1d;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Lora', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--forest); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ===== HEADER ===== */
.site-header {
  background:
    linear-gradient(180deg, rgba(20,42,29,0.92) 0%, rgba(31,61,43,0.95) 100%),
    radial-gradient(circle at 20% 30%, rgba(122,168,106,.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196,106,44,.18), transparent 60%);
  color: var(--cream);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; flex-wrap: wrap; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-family: 'Lora', serif; font-weight: 700; font-size: 1.55rem; letter-spacing: .3px; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark { font-size: 1.9rem; line-height: 1; }
.brand-text { line-height: 1; }
.primary-nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: 'Inter', sans-serif; }
.primary-nav a { color: var(--cream); font-size: 0.95rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--accent); }

.subnav { display: flex; gap: 8px; padding: 6px 22px 16px; flex-wrap: wrap; }
.chip { background: rgba(255,255,255,0.10); color: var(--cream); padding: 6px 13px; border-radius: 999px; font-size: 0.85rem; font-family: 'Inter', sans-serif; font-weight: 500; border: 1px solid rgba(255,255,255,.12); }
.chip:hover { background: var(--accent); color: #fff; text-decoration: none; border-color: var(--accent); }
.chip.eco { background: rgba(122,168,106,.18); border-color: rgba(122,168,106,.35); }
.chip.eco:hover { background: var(--leaf); color: var(--forest-deep); }

/* ===== MAIN ===== */
.main { padding: 32px 22px 60px; }

/* ===== HEADINGS ===== */
h1, h2, h3, h4 { font-family: 'Lora', serif; color: var(--forest-deep); margin-top: 0; }
h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -.5px; }
h2 { font-size: 1.7rem; font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--moss); }

/* ===== HERO ===== */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, #f7eed5 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 36px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(122,168,106,.18), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: 2.7rem; margin: 0 0 14px; color: var(--forest-deep); }
.hero p { font-size: 1.1rem; color: #2c2c25; margin: 0 0 16px; max-width: 56ch; }
.hero img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(20,42,29,.12); display: block; background: #fff; }
.cta { display: inline-block; background: var(--accent); color: #fff; padding: 13px 26px; border-radius: 10px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .3px; transition: background .15s, transform .1s; }
.cta:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }

/* ===== SECTIONS ===== */
.section { margin: 44px 0; }
.section h2 { font-size: 1.7rem; color: var(--forest-deep); margin: 0 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); position: relative; }
.section h2::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 64px; height: 3px; background: var(--accent); border-radius: 3px; }
.section .lead { color: var(--muted); margin: -10px 0 18px; font-size: 1.05rem; }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) {
  .grid.cols-4, .grid.cols-5, .grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-5, .grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.7rem; }
  h1 { font-size: 1.9rem; }
}

/* ===== THUMBS ===== */
.thumb { display: flex; flex-direction: column; align-items: center; text-align: center; }
.thumb-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  width: 100%; aspect-ratio: 4 / 3.5;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.thumb:hover { text-decoration: none; }
.thumb:hover .thumb-frame { transform: translateY(-3px); border-color: var(--leaf); box-shadow: 0 6px 18px rgba(31,61,43,.12); }
.thumb-frame img { max-width: 100%; max-height: 100%; }
.thumb-label { font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 500; color: var(--ink); margin-top: 10px; }

/* ===== TILES ===== */
.cat-tile {
  display: block; background: linear-gradient(160deg, var(--cream), #f6ecd2);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; text-align: center;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cat-tile:hover { border-color: var(--leaf); text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,61,43,.10); }
.cat-tile h3 { margin: 10px 0 6px; color: var(--forest-deep); }
.cat-tile p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cat-tile .emoji { font-size: 2.6rem; line-height: 1; }
.cat-tile .count { display: inline-block; margin-top: 10px; font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--moss); background: rgba(122,168,106,.15); padding: 2px 10px; border-radius: 999px; font-weight: 600; }

/* ===== 2-COL LAYOUT WITH SIDEBAR ===== */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
@media (max-width: 1000px) { .layout-2col { grid-template-columns: 1fr; } }

.sidebar .panel {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 18px;
}
.sidebar .panel.shaded { background: linear-gradient(180deg, var(--cream), #f7eed5); }
.sidebar h4 { margin: 0 0 10px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin: 6px 0; font-family: 'Inter', sans-serif; font-size: .94rem; }
.sidebar li a { color: var(--forest); display: inline-flex; align-items: center; gap: 6px; }
.sidebar li a:hover { color: var(--accent); }
.sidebar p { margin: 0 0 10px; font-size: .94rem; color: var(--muted); }

/* ===== COLORING DETAIL ===== */
.coloring-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: start; }
@media (max-width: 1000px) { .coloring-detail { grid-template-columns: 1fr; } }
.coloring-detail .image-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 4px 14px rgba(31,61,43,.06); }
.coloring-detail .image-card img { width: 100%; height: auto; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.btn { display: inline-block; padding: 11px 18px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .95rem; border: 1.5px solid var(--forest); color: var(--forest); background: #fff; cursor: pointer; transition: all .15s; }
.btn:hover { background: var(--cream); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.taxonomy { background: linear-gradient(180deg, var(--cream), #f7eed5); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.taxonomy dt { font-family: 'Inter', sans-serif; color: var(--moss); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; margin-top: 6px; }
.taxonomy dt:first-child { margin-top: 0; }
.taxonomy dd { margin: 2px 0 6px; color: var(--ink); }
.fact { background: #fff; border-left: 4px solid var(--leaf); padding: 14px 18px; margin: 18px 0; border-radius: 0 8px 8px 0; box-shadow: 0 2px 8px rgba(31,61,43,.06); }
.fact strong { color: var(--moss); font-family: 'Inter', sans-serif; }

.prose p { margin: 0 0 14px; }
.prose h2, .prose h3 { color: var(--forest-deep); }
.prose h3 { margin-top: 22px; }
.prose strong { color: var(--forest-deep); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tag { font-family: 'Inter', sans-serif; font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(122,168,106,.18); color: var(--forest); border: 1px solid rgba(122,168,106,.3); }
.tag:hover { background: var(--leaf); color: var(--forest-deep); text-decoration: none; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--forest-deep) 0%, #0f1f15 100%);
  color: var(--cream); padding: 40px 0 20px; margin-top: 50px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { color: var(--leaf-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: 0 22px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-family: 'Inter', sans-serif; font-size: .95rem; }
.site-footer li { margin: 6px 0; }
.site-footer p { font-size: .95rem; color: rgba(250,246,236,.85); }
.fineprint { padding: 22px 22px 0; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; font-size: 0.85rem; color: rgba(250,246,236,.65); font-family: 'Inter', sans-serif; }

/* ===== ARTICLES ===== */
.featured-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .featured-articles { grid-template-columns: 1fr; } }
.article-card { background: linear-gradient(160deg, var(--cream), #f6ecd2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.article-card h3 { margin: 0 0 8px; }
.article-card p { margin: 0 0 12px; color: var(--muted); font-size: 0.96rem; }

/* ===== ADSLOT (placeholder) ===== */
.adslot { background: repeating-linear-gradient(45deg,#f1ead4,#f1ead4 8px,#e7dfc4 8px,#e7dfc4 16px); border: 1px dashed #c9bf99; color: #8a7d4e; text-align: center; padding: 14px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.85rem; margin: 18px 0; }

/* ===== SECTION CALLOUTS ===== */
.callout { background: linear-gradient(135deg, rgba(122,168,106,.12), rgba(185,216,232,.18)); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 20px 0; }
.callout h3 { color: var(--forest-deep); margin: 0 0 8px; }
.callout p { margin: 0 0 10px; }

/* ===== PILL HEADER FOR LANDING PAGES ===== */
.section-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 28px; margin-bottom: 28px;
  background: linear-gradient(135deg, var(--cream), #f6ecd2);
  border: 1px solid var(--line); border-radius: 18px;
}
.section-header h1 { margin: 0 0 6px; }
.section-header p { margin: 0; color: var(--muted); }
.section-header .emoji { font-size: 4rem; line-height: 1; }
@media (max-width: 700px) { .section-header { flex-direction: column; text-align: center; } }
