/*
Theme Name: Grow Tiny Greens
Theme URI: https://growtinygreens.blog/
Author: Grow Tiny Greens
Author URI: https://growtinygreens.blog/
Description: A lightweight, botanical WordPress theme for microgreens publishing, affiliate content, and AdSense. Works with Elementor Free; no Elementor Pro required.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: grow-tiny-greens
Tags: blog, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, one-column, two-columns, threaded-comments, translation-ready
*/
:root {
  --gtg-green-900: #183d2a;
  --gtg-green-800: #245238;
  --gtg-green-700: #326746;
  --gtg-green-600: #4b8058;
  --gtg-green-100: #e8f0e5;
  --gtg-cream: #fbf8f0;
  --gtg-paper: #fffdf8;
  --gtg-earth: #a66a43;
  --gtg-earth-light: #f1e4d7;
  --gtg-ink: #26332b;
  --gtg-muted: #66736a;
  --gtg-line: #e3e7dd;
  --gtg-radius: 18px;
  --gtg-shadow: 0 12px 35px rgba(24, 61, 42, .08);
  --gtg-content: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--gtg-cream); color: var(--gtg-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--gtg-green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gtg-earth); }
button, input, textarea, select { font: inherit; }
button, .button, .wp-block-button__link, .gtg-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid var(--gtg-green-800); border-radius: 999px; padding: .78rem 1.2rem;
  background: var(--gtg-green-800); color: #fff; font-weight: 700; line-height: 1.25;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease;
}
button:hover, .button:hover, .wp-block-button__link:hover, .gtg-button:hover { color:#fff; background:var(--gtg-green-900); transform:translateY(-1px); }
:focus-visible { outline: 3px solid #d69a66; outline-offset: 3px; }
h1,h2,h3,h4,h5,h6 { color: var(--gtg-green-900); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 .8em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.25em; }
ul,ol { padding-left: 1.35rem; }
.container { width: min(var(--gtg-content), calc(100% - 40px)); margin-inline: auto; }
.gtg-skip-link { position:absolute; left:-9999px; top:1rem; z-index:9999; background:#fff; padding:.7rem 1rem; }
.gtg-skip-link:focus { left:1rem; }
.gtg-site-header { background:rgba(255,253,248,.96); border-bottom:1px solid var(--gtg-line); position:relative; z-index:20; }
.gtg-header-inner { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.gtg-brand { display:flex; align-items:center; gap:12px; min-width:0; color:var(--gtg-green-900); text-decoration:none; font-weight:800; font-size:1.18rem; line-height:1.15; }
.gtg-brand img { max-height:58px; width:auto; }
.gtg-brand-mark { width:42px; height:42px; border-radius:14px 14px 14px 4px; display:grid; place-items:center; background:var(--gtg-green-800); color:white; font-size:1.35rem; }
.gtg-brand small { display:block; color:var(--gtg-muted); font-weight:500; font-size:.72rem; margin-top:4px; letter-spacing:.02em; }
.gtg-nav-wrap { display:flex; align-items:center; gap:22px; }
.gtg-primary-nav ul { display:flex; align-items:center; gap:22px; list-style:none; margin:0; padding:0; }
.gtg-primary-nav a { color:var(--gtg-ink); text-decoration:none; font-size:.94rem; font-weight:650; }
.gtg-primary-nav a:hover, .gtg-primary-nav .current-menu-item > a { color:var(--gtg-green-700); }
.gtg-menu-toggle { display:none; background:transparent; color:var(--gtg-green-900); border-color:var(--gtg-line); }
.gtg-header-search { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; color:var(--gtg-green-800); text-decoration:none; background:var(--gtg-green-100); }
.gtg-page-intro { padding:54px 0 30px; }
.gtg-eyebrow { display:inline-flex; gap:8px; align-items:center; color:var(--gtg-green-700); font-weight:800; text-transform:uppercase; letter-spacing:.11em; font-size:.76rem; margin-bottom:14px; }
.gtg-eyebrow:before { content:""; width:24px; height:2px; background:var(--gtg-earth); }
.gtg-page-title { margin-bottom:12px; }
.gtg-page-description { color:var(--gtg-muted); max-width:720px; font-size:1.08rem; }
.gtg-hero { padding:70px 0 58px; overflow:hidden; }
.gtg-hero-grid { display:grid; grid-template-columns:1.06fr .94fr; gap:50px; align-items:center; }
.gtg-hero h1 { max-width:700px; margin-bottom:22px; }
.gtg-hero-copy { max-width:610px; font-size:1.12rem; color:var(--gtg-muted); }
.gtg-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.gtg-button-secondary { background:transparent; color:var(--gtg-green-800); }
.gtg-button-secondary:hover { background:var(--gtg-green-100); color:var(--gtg-green-900); }
.gtg-hero-visual { position:relative; min-height:360px; border-radius:38px 38px 38px 8px; overflow:hidden; background:linear-gradient(140deg,#dbe9d6,#f4ead8); display:grid; place-items:center; }
.gtg-hero-visual img { width:100%; height:100%; min-height:360px; object-fit:cover; }
.gtg-hero-placeholder { text-align:center; padding:40px; color:var(--gtg-green-800); }
.gtg-hero-placeholder .sprout { font-size:6rem; line-height:1; display:block; margin-bottom:12px; }
.gtg-section { padding:54px 0; }
.gtg-section-soft { background:#f2f4eb; }
.gtg-section-earth { background:#f3e8dc; }
.gtg-section-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:26px; }
.gtg-section-head h2 { margin-bottom:0; }
.gtg-section-head p { color:var(--gtg-muted); max-width:520px; margin:10px 0 0; }
.gtg-text-link { font-weight:750; text-decoration:none; white-space:nowrap; }
.gtg-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.gtg-card { min-width:0; background:var(--gtg-paper); border:1px solid var(--gtg-line); border-radius:var(--gtg-radius); overflow:hidden; box-shadow:0 3px 12px rgba(24,61,42,.025); transition:transform .2s ease, box-shadow .2s ease; }
.gtg-card:hover { transform:translateY(-3px); box-shadow:var(--gtg-shadow); }
.gtg-card-image { display:block; aspect-ratio: 16 / 10; background:var(--gtg-green-100); overflow:hidden; }
.gtg-card-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.gtg-card:hover .gtg-card-image img { transform:scale(1.035); }
.gtg-card-placeholder { height:100%; min-height:150px; display:grid; place-items:center; color:var(--gtg-green-700); font-size:2.6rem; }
.gtg-card-body { padding:22px; }
.gtg-card-meta { font-size:.78rem; font-weight:750; text-transform:uppercase; letter-spacing:.06em; color:var(--gtg-earth); margin-bottom:9px; }
.gtg-card h3 { font-size:1.22rem; margin-bottom:10px; }
.gtg-card h3 a { text-decoration:none; color:var(--gtg-green-900); }
.gtg-card-excerpt { color:var(--gtg-muted); font-size:.94rem; margin-bottom:14px; }
.gtg-card-read { font-size:.9rem; font-weight:750; text-decoration:none; }
.gtg-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.gtg-category-tile { display:block; background:var(--gtg-paper); border:1px solid var(--gtg-line); padding:23px; border-radius:16px; text-decoration:none; color:var(--gtg-green-900); }
.gtg-category-tile span { font-size:1.65rem; display:block; margin-bottom:10px; }
.gtg-category-tile strong { display:block; font-size:1.03rem; }
.gtg-category-tile small { color:var(--gtg-muted); display:block; margin-top:5px; }
.gtg-feature-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gtg-feature { padding:24px; border-radius:16px; background:rgba(255,253,248,.72); border:1px solid rgba(24,61,42,.08); }
.gtg-feature-icon { display:grid; place-items:center; width:46px; height:46px; background:var(--gtg-green-100); border-radius:14px; font-size:1.35rem; margin-bottom:16px; }
.gtg-feature h3 { margin-bottom:8px; }
.gtg-feature p { color:var(--gtg-muted); font-size:.94rem; margin-bottom:0; }
.gtg-cta { border-radius:28px 28px 28px 8px; padding:42px; background:var(--gtg-green-900); color:#fff; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.gtg-cta h2 { color:#fff; margin-bottom:8px; }
.gtg-cta p { color:#dbe8dc; margin-bottom:0; max-width:650px; }
.gtg-cta .gtg-button { background:var(--gtg-cream); color:var(--gtg-green-900); border-color:var(--gtg-cream); flex-shrink:0; }
.gtg-main { padding:34px 0 70px; }
.gtg-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:44px; align-items:start; }
.gtg-layout-no-sidebar { grid-template-columns:minmax(0,850px); justify-content:center; }
.gtg-post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.gtg-article-header { max-width:850px; margin:0 auto 30px; }
.gtg-article-header h1 { font-size:clamp(2rem,4.5vw,3.55rem); margin:10px 0 16px; }
.gtg-article-deck { font-size:1.18rem; color:var(--gtg-muted); }
.gtg-byline { display:flex; flex-wrap:wrap; gap:12px; color:var(--gtg-muted); font-size:.88rem; margin-top:18px; }
.gtg-featured-image { margin:0 auto 34px; max-width:1000px; }
.gtg-featured-image img { display:block; width:100%; max-height:560px; object-fit:cover; border-radius:22px; }
.gtg-prose { max-width:780px; margin-inline:auto; font-size:1.04rem; }
.gtg-prose > *:first-child { margin-top:0; }
.gtg-prose h2 { margin-top:2em; }
.gtg-prose h3 { margin-top:1.6em; }
.gtg-prose blockquote { margin:1.8em 0; padding:1rem 1.4rem; border-left:4px solid var(--gtg-earth); background:var(--gtg-earth-light); border-radius:0 12px 12px 0; }
.gtg-prose table { border-collapse:collapse; width:100%; margin:1.5em 0; font-size:.94rem; }
.gtg-prose th,.gtg-prose td { border:1px solid var(--gtg-line); padding:10px 12px; text-align:left; }
.gtg-prose th { background:var(--gtg-green-100); }
.gtg-prose figure { margin:1.6em 0; }
.gtg-prose figcaption { font-size:.84rem; color:var(--gtg-muted); margin-top:7px; }
.gtg-breadcrumbs { font-size:.83rem; color:var(--gtg-muted); margin-bottom:16px; }
.gtg-breadcrumbs a { color:var(--gtg-muted); }
.gtg-sidebar-widget { background:var(--gtg-paper); border:1px solid var(--gtg-line); padding:22px; border-radius:16px; margin-bottom:22px; }
.gtg-sidebar-widget h2,.gtg-sidebar-widget h3 { font-size:1.1rem; margin-bottom:13px; }
.gtg-sidebar-widget ul { padding-left:1.1rem; margin:0; }
.gtg-sidebar-widget li { margin:.45rem 0; }
.gtg-ad-slot { min-height:90px; margin:26px auto; padding:12px; text-align:center; border:1px dashed #c9d2c5; border-radius:12px; color:var(--gtg-muted); font-size:.75rem; }
.gtg-ad-slot:empty { display:none; }
.gtg-disclosure { border-left:3px solid var(--gtg-earth); background:var(--gtg-earth-light); border-radius:0 10px 10px 0; padding:13px 16px; font-size:.88rem; margin:18px 0 24px; }
.gtg-product-card { display:grid; grid-template-columns:120px minmax(0,1fr); gap:18px; padding:18px; margin:24px 0; background:var(--gtg-paper); border:1px solid var(--gtg-line); border-radius:16px; }
.gtg-product-card img { width:120px; height:120px; object-fit:contain; border-radius:10px; background:#fff; }
.gtg-product-card h3 { margin-bottom:7px; font-size:1.15rem; }
.gtg-product-card p { color:var(--gtg-muted); font-size:.94rem; margin-bottom:12px; }
.gtg-product-price { font-weight:800; color:var(--gtg-green-900); margin-bottom:10px; }
.gtg-pagination { display:flex; flex-wrap:wrap; gap:8px; margin-top:34px; }
.gtg-pagination .page-numbers { padding:8px 13px; background:var(--gtg-paper); border:1px solid var(--gtg-line); border-radius:9px; text-decoration:none; }
.gtg-pagination .current { background:var(--gtg-green-800); color:#fff; }
.gtg-site-footer { background:#173b29; color:#e7efe7; padding:54px 0 22px; margin-top:0; }
.gtg-footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:36px; }
.gtg-site-footer h2,.gtg-site-footer h3 { color:#fff; font-size:1.05rem; letter-spacing:0; }
.gtg-site-footer p { color:#c8d8cb; }
.gtg-site-footer a { color:#e7efe7; }
.gtg-footer-menu ul { list-style:none; padding:0; margin:0; }
.gtg-footer-menu li { margin:7px 0; }
.gtg-footer-bottom { border-top:1px solid rgba(255,255,255,.16); margin-top:35px; padding-top:18px; display:flex; justify-content:space-between; gap:20px; color:#c8d8cb; font-size:.85rem; }
.gtg-empty-state { padding:35px; background:var(--gtg-paper); border:1px solid var(--gtg-line); border-radius:16px; }
.gtg-search-form { display:flex; gap:8px; max-width:540px; }
.gtg-search-form input[type="search"] { min-width:0; flex:1; border:1px solid var(--gtg-line); background:#fff; border-radius:999px; padding:12px 16px; }
.gtg-comments { max-width:780px; margin:48px auto 0; }
.gtg-comments input,.gtg-comments textarea { width:100%; padding:12px; border:1px solid var(--gtg-line); border-radius:10px; background:#fff; }
.gtg-comments label { display:block; margin:10px 0 5px; }
.elementor-page .site-main { padding-top:0; }
.elementor-page .gtg-elementor-content { min-height:200px; }
.gtg-elementor-page .entry-content { width:100%; }
.widget ul { padding-left:1.1rem; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute!important; width:1px; white-space:nowrap; }
@media (max-width: 980px) {
  .gtg-hero-grid { gap:30px; }
  .gtg-layout { grid-template-columns:minmax(0,1fr) 260px; gap:26px; }
  .gtg-card-grid { gap:16px; }
  .gtg-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gtg-primary-nav ul { gap:14px; }
}
@media (max-width: 760px) {
  .container { width:min(var(--gtg-content), calc(100% - 30px)); }
  .gtg-header-inner { min-height:72px; }
  .gtg-menu-toggle { display:inline-flex; }
  .gtg-nav-wrap { gap:10px; }
  .gtg-primary-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:14px 20px 20px; background:var(--gtg-paper); border-bottom:1px solid var(--gtg-line); box-shadow:var(--gtg-shadow); }
  .gtg-primary-nav.is-open { display:block; }
  .gtg-primary-nav ul { display:flex; align-items:stretch; flex-direction:column; gap:0; }
  .gtg-primary-nav li a { display:block; padding:10px 4px; }
  .gtg-header-search { display:none; }
  .gtg-hero { padding:44px 0 36px; }
  .gtg-hero-grid { grid-template-columns:1fr; gap:28px; }
  .gtg-hero-visual,.gtg-hero-visual img { min-height:250px; }
  .gtg-section { padding:40px 0; }
  .gtg-section-head { align-items:start; flex-direction:column; gap:12px; }
  .gtg-card-grid,.gtg-post-grid { grid-template-columns:1fr; }
  .gtg-feature-strip { grid-template-columns:1fr; }
  .gtg-cta { padding:28px; align-items:start; flex-direction:column; }
  .gtg-layout { grid-template-columns:1fr; }
  .gtg-sidebar { display:grid; grid-template-columns:1fr; }
  .gtg-footer-grid { grid-template-columns:1fr; gap:24px; }
  .gtg-footer-bottom { flex-direction:column; gap:6px; }
  .gtg-product-card { grid-template-columns:90px minmax(0,1fr); gap:12px; padding:13px; }
  .gtg-product-card img { width:90px; height:90px; }
  .gtg-page-intro { padding:38px 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* Merchant-neutral affiliate product library */
.gtg-products-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:24px 0; }
.gtg-products-grid.gtg-columns-1 { grid-template-columns:1fr; }
.gtg-products-grid.gtg-columns-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.gtg-products-grid.gtg-columns-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.gtg-products-grid .gtg-product-card { display:flex; flex-direction:column; gap:14px; margin:0; height:100%; }
.gtg-products-grid .gtg-product-image { display:block; }
.gtg-products-grid .gtg-product-card img { width:100%; height:190px; object-fit:contain; }
.gtg-product-card-content { min-width:0; }
.gtg-product-merchant { color:var(--gtg-green-800); font-size:.78rem !important; font-weight:700; letter-spacing:.03em; text-transform:uppercase; margin-bottom:5px !important; }
.gtg-product-price { color:var(--gtg-green-900); font-weight:700; margin:4px 0 8px; }
.gtg-product-note { color:var(--gtg-muted); font-size:.82rem; }
.gtg-products-empty { padding:16px; background:var(--gtg-cream); border-radius:10px; }
@media (max-width:760px) { .gtg-products-grid, .gtg-products-grid.gtg-columns-3, .gtg-products-grid.gtg-columns-4 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .gtg-products-grid, .gtg-products-grid.gtg-columns-3, .gtg-products-grid.gtg-columns-4 { grid-template-columns:1fr; } .gtg-products-grid .gtg-product-card img { height:220px; } }
