/*
Theme Name: InfoSage Hemp Classic
Theme URI: https://sagecanopy.com/
Author: InfoSage
Author URI: https://sagecanopy.com/
Description: A minimal, classic PHP theme for Sage Canopy / Everything Hemp. Dark, gold & green accents; fast and simple. No page builder required.
Version: 0.12.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infosage-hemp-classic
Tags: blog, e-commerce, accessibility-ready, custom-logo, custom-menu
*/

/* === Base palette === */
:root{
  --eh-gold:#FFD24D;
  --eh-green:#4CAF50;
  --eh-ink:#E7E6F2;
  --eh-bg:#0b0614;
  --eh-panel:#151026;
	
	/* Marcellus — webfont */
@font-face{
  font-family: "Marcellus";
  src: url("/wp-content/uploads/fonts/marcellus-regular-webfont.woff2") format("woff2"),
       url("/wp-content/uploads/fonts/marcellus-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Use it for headings/site title */
:root{
  --eh-heading: "Marcellus", ui-serif, Georgia, serif;
}
h1, h2, h3, .site-title { font-family: var(--eh-heading); letter-spacing: .02em; }
	
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--eh-bg);
  color:var(--eh-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height:1.6;
}
a{color:var(--eh-gold);text-decoration:none;transition:.2s}
a:hover{color:var(--eh-green)}
.container-wide{max-width:1200px;margin:0 auto;padding:0 16px}
.section{padding:28px 0}
.section-tight{padding:16px 0}
h1,h2,h3{color:var(--eh-gold);display:inline-block;padding-bottom:3px;border-bottom:2px solid var(--eh-green)}

h1,h2,h3,h4 { font-family: "Marcellus", serif !important; letter-spacing:.2px; }

/* Collections grid */
.eh-cats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
}
.eh-cat-card{
  position:relative; display:flex; align-items:flex-end; overflow:hidden;
  border-radius:16px; background:var(--eh-panel,#151026);
  border:1px solid rgba(76,175,80,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.25); min-height:210px; padding:12px;
  text-decoration:none;
}
.eh-cat-card:hover{ border-color:rgba(255,210,77,.35); transform:translateY(-1px); transition:.2s }
.eh-cat-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.82; filter:contrast(1.05) }
.eh-cat-ph{ position:absolute; inset:0; background:#0f0b1c }
.eh-cat-name{
  position:relative; z-index:1; font-weight:700; color:#fff; 
  background:linear-gradient(180deg,rgba(0,0,0,.0),rgba(0,0,0,.55));
  padding:.35rem .6rem; border-radius:10px;
}

/* COA strip */
.eh-coa-strip{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  border:1px solid rgba(255,210,77,.18); border-radius:16px; padding:14px 16px;
}

/* Header */
.site-header{
  padding:12px 0;background:#0c0819;border-bottom:1px solid rgba(255,255,255,.07);
  position:sticky;top:0;z-index:10;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;min-height:72px}
.custom-logo,.custom-logo-link img{max-height:150px;height:auto;width:auto;display:block}
.site-name{font-weight:800;font-size:20px;color:#fff}
.site-tagline{font-size:12px;opacity:.8}
.site-nav ul{list-style:none;display:flex;gap:16px;margin:0;padding:0}
.site-nav a{position:relative;padding:6px 8px}
.site-nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;
  background:linear-gradient(90deg,transparent,var(--eh-gold),transparent);
  opacity:0;transform:translateY(2px);transition:.25s
}
.site-nav a:hover::after,.site-nav .current-menu-item>a::after{opacity:1;transform:translateY(0)}

/* Promo bar */
.infosage-promo-inner{
  max-width:1200px;margin:0 auto;padding:10px 16px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
  background:#0f0a1c;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);
}
.promo-text{font-size:15px;line-height:1.5}
.promo-buttons{display:flex;gap:12px}

/* Hero */
.hero{
  padding:40px 0;
  background:radial-gradient(60% 60% at 50% 0%, rgba(184,0,255,.18) 0%, rgba(12,8,25,0) 60%);
}
.hero h1{font-size:clamp(34px,6vw,60px);font-weight:800;color:#fff;margin:0 0 .4rem}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.btn{
  display:inline-block;padding:10px 16px;border-radius:999px;
  background:linear-gradient(135deg,#0f3b15,var(--eh-green));color:#fff;
  box-shadow:0 0 0 2px rgba(255,210,77,.1),0 0 18px rgba(76,175,80,.35);
  transition:transform .15s,box-shadow .2s
}
.btn:hover{transform:translateY(-1px);box-shadow:0 0 0 2px rgba(76,175,80,.35),0 0 22px rgba(255,210,77,.25)}
.btn-outline{
  display:inline-block;padding:10px 16px;border-radius:999px;border:1px solid var(--eh-gold);color:var(--eh-gold)
}
.btn-outline:hover{border-color:var(--eh-green);color:var(--eh-green)}

/* Cards & grids */
.card{background:var(--eh-panel);border:1px solid rgba(76,175,80,.18);border-radius:16px;padding:16px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.thumb-wrap{display:block;position:relative;border-radius:12px;overflow:hidden;background:#120c22}
.thumb-wrap .ratio{display:block;padding-top:62.5%}
.thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* Footer */
.site-footer{padding:20px 0;border-top:1px solid rgba(255,255,255,.08);background:#0c0819}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:20px}
.footnote{padding:8px 0 18px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:center;font-size:14px;opacity:.85}

/* === Sage Canopy — Post styling (titles, meta, images) === */

/* 1) Single post title (big, gold, subtle glow + green underline) */
.single .wp-block-post-title,
.single .entry-title{
  color:#FFD24D; /* gold */
  font-weight:800;
  font-size:clamp(30px,4.2vw,52px);
  display:inline-block;
  padding-bottom:4px;
  border-bottom:2px solid #4CAF50; /* green */
  text-shadow:0 0 12px rgba(76,175,80,.18);
  margin:0 0 .75rem;
}

/* 2) Reading width + comfy spacing for post content */
.single .wp-block-post-content,
.single .entry-content{
  max-width:min(72ch, 92vw);
  margin:1rem auto 3rem;
}

/* 3) Post meta row (date/author/categories) */
.single .wp-block-post-date,
.single .wp-block-post-author,
.single .wp-block-post-terms{
  display:inline-flex;
  gap:.35rem;
  align-items:center;
  font-size:.95rem;
  opacity:.9;
  margin-right:1rem;
}
.single .wp-block-post-date a,
.single .wp-block-post-author a,
.single .wp-block-post-terms a{ color:#FFD24D; text-decoration:none; }
.single .wp-block-post-date a:hover,
.single .wp-block-post-author a:hover,
.single .wp-block-post-terms a:hover{ color:#4CAF50; }

/* 4) Featured image as elegant cover (rounded + glow) */
.single .wp-block-post-featured-image img{
  width:100%; height:auto; display:block;
  aspect-ratio:16/9; object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,210,77,.18);
  box-shadow:0 14px 40px rgba(0,0,0,.35), 0 0 24px rgba(76,175,80,.15) inset;
  margin:0 0 1rem;
}

/* 5) Headings in post body align with brand */
.single .wp-block-post-content h2{ color:#FFD24D; border-bottom:1px solid #4CAF50; padding-bottom:3px; margin-top:2rem; }
.single .wp-block-post-content h3{ color:#FFD24D; opacity:.95; margin-top:1.25rem; }

/* 6) Links/buttons inside posts */
.single .wp-block-post-content a{ color:#FFD24D; text-decoration:none; }
.single .wp-block-post-content a:hover{ color:#4CAF50; }

/* 7) Blockquotes = soft card look */
.single blockquote{
  background:rgba(21,16,38,.55);
  border-left:3px solid #4CAF50;
  border-radius:12px;
  padding:14px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25) inset;
}

/* 8) Posts listing (/blog): card titles + hover */
.blog .wp-block-post-title a,
.archive .wp-block-post-title a{
  color:#FFD24D; text-decoration:none; font-weight:700;
  border-bottom:1px solid transparent; padding-bottom:2px;
}
.blog .wp-block-post-title a:hover,
.archive .wp-block-post-title a:hover{
  color:#4CAF50; border-color:#4CAF50;
}

/* 9) Posts listing images (if your Query Loop shows thumbnails) */
.blog .wp-block-post-featured-image img,
.archive .wp-block-post-featured-image img{
  width:100%; height:auto; display:block; object-fit:cover; aspect-ratio:16/9;
  border-radius:12px;
  border:1px solid rgba(255,210,77,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

/* 10) Gentle list polish */
.single .wp-block-post-content ul{ padding-left:1.2em; }
.single .wp-block-post-content li{ margin:.3rem 0; }
