/*
Theme Name: ECO Erin Child Theme
Theme URI: https://ecoerin.com
Description: Astra child theme for ECO Erin - Sustainability Simplified.
Author: ECO Erin
Author URI: https://ecoerin.com
Template: astra
Version: 10.6.0
License: GNU General Public License v2 or later
Text Domain: ecoerin-child
*/

/* ============================================================
   ECO ERIN DESIGN SYSTEM v10.1 + v10.3 additions
   Brand: Forest Green | Terracotta | Gold | Sage | Beige
   ============================================================ */

:root {
  --eco-beige:      #F3EFE7;
  --eco-sage:       #8BA888;
  --eco-forest:     #1F3D2B;
  --eco-terracotta: #C46A4A;
  --eco-gold:       #D4B85F;
  --eco-dark:       #162E1F;
  --eco-card:       #F7F5F0;
  --eco-border:     #DDD5C8;
  --eco-muted:      #6B7B6E;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --header-height:  80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--eco-beige);
  color: var(--eco-forest);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; }
img { max-width: 100%; height: auto; }
a   { text-decoration: none; }

/* Override Astra */
.ast-container, .ast-row, #primary, #content, .entry-content {
  max-width: none; padding: 0; margin: 0;
}
.site-content { padding: 0 !important; }
.ast-breadcrumbs-wrapper { display: none; }

/* ── Container ── */
.eco-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
@media (min-width: 1024px) { .eco-container { padding: 0 2.5rem; } }

/* ── MailerLite trigger class ── */
.ml-onclick-form { cursor: pointer !important; }
.ml-onclick-form:hover { opacity: 0.88; }

/* ── Utility Bar ── */
.eco-utility-bar {
  background: var(--eco-dark);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 100;
}
.eco-utility-bar button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--eco-gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.4;
  transition: opacity 0.2s;
  padding: 0;
}
.eco-utility-bar button strong { color: #fff; }
.eco-utility-bar button:hover { opacity: 0.85; }

/* ── Header ── */
.eco-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(243, 239, 231, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--eco-border);
  transition: box-shadow 0.3s;
}
.eco-header.scrolled { box-shadow: 0 4px 20px rgba(31,61,43,0.08); }

.eco-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Logo — far left, enlarged — "ECO Erin" leaf only, no tagline */
.eco-header-logo { display: flex; align-items: center; flex-shrink: 0; order: 0; }
.eco-header-logo img { height: 68px; width: auto; display: block; }

/* Primary nav */
.eco-nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: flex-end; }
.eco-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--eco-muted);
  padding: 0.4rem 0.75rem;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.eco-nav a:hover, .eco-nav a.current { color: var(--eco-forest); }

/* Gold underline — no boxes */
.eco-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  width: 0;
  background: var(--eco-gold);
  border-radius: 2px;
  transition: width 0.25s;
}
.eco-nav a:hover::after, .eco-nav a.current::after { width: calc(100% - 1.5rem); }

/* Search btn */
.eco-nav-search {
  background: none; border: none; cursor: pointer;
  color: var(--eco-muted); padding: 0.4rem 0.5rem;
  display: flex; align-items: center; transition: color 0.2s;
}
.eco-nav-search:hover { color: var(--eco-forest); }
.eco-nav-search svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Mobile toggle */
.eco-mobile-toggle {
  display: none; background: transparent; border: none;
  cursor: pointer; color: var(--eco-forest); padding: 0.25rem; flex-shrink: 0;
}
.eco-mobile-toggle svg { display: block; }

@media (max-width: 1023px) {
  .eco-nav { display: none; }
  .eco-mobile-toggle { display: flex; align-items: center; }
}

/* Mobile drawer — clean minimalist */
.eco-mobile-nav {
  display: none;
  border-top: 1px solid var(--eco-border);
  background: var(--eco-beige);
  padding: 0.5rem 1.5rem 1.5rem;
}
.eco-mobile-nav.open { display: block; }
.eco-mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--eco-muted);
  border-bottom: 1px solid rgba(221,213,200,0.5);
  transition: color 0.2s, padding-left 0.2s;
}
.eco-mobile-nav a:last-child { border-bottom: none; }
.eco-mobile-nav a:hover { color: var(--eco-forest); padding-left: 0.5rem; }
/* Gold guide link in mobile nav */
.eco-mobile-nav .ml-onclick-form { color: var(--eco-gold) !important; opacity: 1 !important; cursor: pointer !important; }

/* ── Sections ── */
.eco-section     { padding: 4.5rem 0; }
.eco-section-sm  { padding: 2.5rem 0; }
.eco-section-dark  { background: var(--eco-forest); color: var(--eco-beige); }
.eco-section-beige { background: var(--eco-beige); }
.eco-section-card  { background: var(--eco-card); border-top: 1px solid var(--eco-border); border-bottom: 1px solid var(--eco-border); }
.eco-section-sage  { background: rgba(139,168,136,0.12); }

/* ── Buttons ── */
.eco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.eco-btn-terracotta { background: var(--eco-terracotta); color: #fff; }
.eco-btn-terracotta:hover { background: #B05A3C; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,106,74,0.35); }
.eco-btn-outline-terra { background: transparent; color: var(--eco-terracotta); border: 2px solid var(--eco-terracotta); }
.eco-btn-outline-terra:hover { background: var(--eco-terracotta); color: #fff; }
.eco-btn-gold { background: var(--eco-gold); color: var(--eco-forest); }
.eco-btn-gold:hover { background: #C4A84F; color: var(--eco-forest); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,184,95,0.35); }
/* Kept for any direct usage */
.eco-btn-mailerlite { background: var(--eco-terracotta); color: #fff; font-weight: 700; }
.eco-btn-mailerlite:hover { background: #B05A3C; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,106,74,0.35); }

/* ── Typography ── */
.eco-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--eco-forest);
}
.eco-subtitle { font-size: 1rem; max-width: 38rem; margin: 0 auto; color: var(--eco-muted); line-height: 1.7; }

/* Section label — kept for internal use but hidden via inline override where required */
.eco-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  color: var(--eco-sage);
}
.eco-label-bar { display: inline-block; width: 2rem; height: 2px; background: var(--eco-sage); border-radius: 2px; flex-shrink: 0; }

.eco-link { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eco-terracotta); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.25rem; }
.eco-link:hover { color: #B05A3C; }
.eco-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.6rem; border-radius: 9999px; background: rgba(139,168,136,0.18); color: var(--eco-forest); }
.terracotta-text { color: var(--eco-terracotta); }
.gold-text { color: var(--eco-gold); }

/* Commitment sub-heading in terracotta */
.eco-commitment-subhead { color: var(--eco-terracotta); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; margin-top: 0.35rem; margin-bottom: 1.5rem; display: block; }

/* ── Trust Bar (Homepage only — below hero) ── */
.eco-trust-bar {
  background: var(--eco-sage);
  padding: 0.875rem 1.5rem;
  text-align: center;
}
.eco-trust-bar p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--eco-forest);
  letter-spacing: 0.04em;
  margin: 0;
}
.eco-trust-bar a {
  color: var(--eco-forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.eco-trust-bar a:hover { opacity: 0.7; }

/* ── Hero ── */
.eco-hero {
  background: var(--eco-forest);
  color: var(--eco-beige);
  text-align: center;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.eco-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(139,168,136,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 20%, rgba(212,184,95,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.eco-hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; }
.eco-trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.5rem 1.5rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 2rem;
  background: rgba(243,239,231,0.08); border: 1px solid rgba(243,239,231,0.2); color: var(--eco-gold);
}

/* ── Cards ── */
.eco-card {
  background: var(--eco-card); border: 1px solid var(--eco-border); border-radius: 1rem;
  overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.eco-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.09); border-color: rgba(139,168,136,0.45); transform: translateY(-2px); }

/* ── Blog card thumbnail hover ── */
.eco-card a img { transition: transform 0.4s; }
.eco-card:hover a img { transform: scale(1.03); }

/* ── Pillar cards ── */
.eco-pillar { background: var(--eco-card); border: 1px solid var(--eco-border); border-radius: 1rem; padding: 1.5rem; text-align: center; }
.eco-pillar-icon { width: 3.5rem; height: 3.5rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: rgba(31,61,43,0.09); }

/* ── Sustainability for Everyone — Pillars (Preview match) ── */
.eco-sus-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem,1fr)); gap: 1.25rem; max-width: 52rem; margin: 0 auto; }
.eco-sus-pillar {
  background: var(--eco-card);
  border: 1px solid var(--eco-border);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.eco-sus-pillar:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.eco-sus-pillar-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: rgba(31,61,43,0.09); }
.eco-sus-pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; color: var(--eco-forest); }
.eco-sus-pillar .pillar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--eco-terracotta); margin-bottom: 0.5rem; display: block; }
.eco-sus-pillar p { font-size: 0.82rem; color: var(--eco-muted); line-height: 1.6; margin: 0; }

/* ── Category Grid ── */
.eco-cat-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: 0.75rem; background: var(--eco-card); border: 1px solid var(--eco-border); color: var(--eco-forest); transition: all 0.2s; }
.eco-cat-item:hover { border-color: var(--eco-sage); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.eco-cat-icon { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(31,61,43,0.09); }
.eco-cat-icon svg { width: 1.2rem; height: 1.2rem; stroke: var(--eco-forest); fill: none; stroke-width: 2; }

/* ── Commitment Grid ── */
.eco-commitment-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .eco-commitment-grid { grid-template-columns: repeat(3, 1fr); } }
.eco-commitment-bottom { display: grid; gap: 1.5rem; max-width: 42rem; margin: 1.5rem auto 0; }
@media (min-width: 768px) { .eco-commitment-bottom { grid-template-columns: repeat(2, 1fr); } }

/* ── Featured Logos — grayscale+multiply default, full color on hover ── */
.eco-featured-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; margin-top: 2rem; }
.eco-featured-logos img {
  height: 5rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  transition: opacity 0.3s, filter 0.3s;
}
.eco-featured-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
/* Tea Biz & Local Anchor: add background so multiply works on dark logos */
.eco-featured-logos img.logo-bg {
  background-color: #FDF5E6;
  padding: 0.35rem 0.6rem;
  border-radius: 0.4rem;
}

.eco-featured-heading { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 700; color: var(--eco-forest); margin-bottom: 0.25rem; }

/* ── Grids ── */
.grid-2-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-2-col { grid-template-columns: repeat(3, 1fr); } }
.grid-4-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
@media (min-width: 768px) { .grid-4-col { grid-template-columns: repeat(4, 1fr); } }

/* ── Footer — Forest Green bg ── */
.eco-footer { background: var(--eco-forest); color: var(--eco-beige); padding: 4.5rem 0 2rem; }
.eco-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) and (max-width: 1023px) { .eco-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .eco-footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Footer logo — transparent PNG, 9rem max-height */
.footer-logo {
  max-height: none;
  height: auto;
  width: 180px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  background-color: transparent;
  margin-bottom: 1rem;
}
.footer-tagline { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 0.5rem; }
.footer-description { font-size: 0.85rem; opacity: 0.72; line-height: 1.65; margin-bottom: 1.25rem; max-width: 22rem; }

.eco-footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; color: var(--eco-gold); }
.eco-footer ul { list-style: none; padding: 0; margin: 0; }
.eco-footer li { margin-bottom: 0.6rem; }
.eco-footer a { color: inherit; text-decoration: none; opacity: 0.65; font-size: 0.85rem; transition: opacity 0.2s; }
.eco-footer a:hover { opacity: 1; }

.social-icons { display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap; }
.social-icons a { opacity: 0.65; transition: opacity 0.2s; display: flex; align-items: center; }
.social-icons a:hover { opacity: 1; }
.social-icons svg { width: 22px; height: 22px; fill: var(--eco-sage); display: block; }

.eco-copyright { border-top: 1px solid rgba(243,239,231,0.12); padding-top: 1.5rem; text-align: center; font-size: 0.75rem; opacity: 0.5; line-height: 1.7; }
.eco-copyright a { color: inherit; opacity: 1; text-decoration: underline; }

/* ── FAQ ── */
.eco-faq-item { border-bottom: 1px solid var(--eco-border); }
.eco-faq-item:last-child { border-bottom: none; }
.eco-faq-q { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--eco-forest); display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; gap: 1rem; font-family: var(--font-body); line-height: 1.4; }
.eco-faq-q:hover { color: var(--eco-terracotta); }
.eco-faq-icon { flex-shrink: 0; transition: transform 0.25s; }
.eco-faq-item.open .eco-faq-icon { transform: rotate(45deg); }
.eco-faq-a { font-size: 0.875rem; color: var(--eco-muted); line-height: 1.7; padding-bottom: 1.1rem; display: none; }
.eco-faq-item.open .eco-faq-a { display: block; }

/* ── Page Headers ── */
.eco-blog-header, .eco-shop-header, .eco-single-header { background: var(--eco-forest); color: var(--eco-beige); padding: 4rem 0; text-align: center; }
.eco-blog-header h1, .eco-shop-header h1 { color: var(--eco-beige); margin-bottom: 0.5rem; }
.eco-ssl-header { background: var(--eco-dark); background-image: linear-gradient(135deg, var(--eco-dark) 0%, #2a5a3f 100%); color: var(--eco-beige); padding: 4.5rem 0; text-align: center; }
.eco-about-hero { background: linear-gradient(145deg, var(--eco-forest) 0%, #2a5a3f 100%); color: var(--eco-beige); text-align: center; padding: 5rem 0; }
.eco-about-img { border-radius: 1rem; box-shadow: 0 16px 40px rgba(0,0,0,0.15); width: 100%; object-fit: cover; }

/* ── Single post ── */
.eco-single-header { padding: 3.5rem 0; }
.eco-single-body { max-width: 48rem; margin: 0 auto; padding: 3rem 1.5rem; }
.eco-single-body p { margin-bottom: 1.25rem; line-height: 1.8; }
.eco-single-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.eco-single-body h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.eco-single-body img { border-radius: 0.75rem; }

/* ── Van / SSL image card ── */
.eco-van-card { border-radius: 1rem; overflow: hidden; box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.eco-van-card img { width: 100%; height: 22rem; object-fit: cover; object-position: center 30%; display: block; }
@media (max-width: 767px) { .eco-van-card img { height: 16rem; } }

/* ── Search overlay ── */
.eco-search-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(22,46,31,0.92); align-items: center; justify-content: center; padding: 2rem; }
.eco-search-overlay.open { display: flex; }
.eco-search-box { background: var(--eco-beige); border-radius: 1rem; padding: 2rem; width: 100%; max-width: 36rem; }
.eco-search-box input[type="search"] { width: 100%; padding: 0.875rem 1rem; font-size: 1rem; border: 2px solid var(--eco-border); border-radius: 0.5rem; outline: none; font-family: var(--font-body); background: #fff; color: var(--eco-forest); }
.eco-search-box input:focus { border-color: var(--eco-sage); }
.eco-search-close { background: none; border: none; cursor: pointer; float: right; font-size: 1.5rem; color: var(--eco-muted); margin-bottom: 1rem; }

/* ── Blockquote ── */
blockquote.eco-quote { border-left: 4px solid var(--eco-terracotta); padding: 1rem 1.5rem; margin: 2rem 0; border-radius: 0 0.75rem 0.75rem 0; background: rgba(196,106,74,0.06); font-style: italic; font-size: 0.95rem; line-height: 1.7; color: var(--eco-forest); }

/* ── Stat row ── */
.eco-stat-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.eco-stat-item { text-align: center; padding: 1.5rem 2rem; background: var(--eco-card); border: 1px solid var(--eco-border); border-radius: 1rem; min-width: 8rem; }
.eco-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--eco-terracotta); display: block; line-height: 1; margin-bottom: 0.25rem; }
.eco-stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--eco-muted); }

/* ── MailerLite override ── */
.ml-form-embedWrapper { border-radius: 0.75rem !important; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .eco-section { padding: 3rem 0; }
  .eco-hero { padding: 3.5rem 0 4rem; }
  .eco-sus-pillars { grid-template-columns: 1fr; max-width: 22rem; }
}

/* ── Two-column layout helpers ── */
.eco-two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }
.eco-two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 767px) {
  .eco-two-col, .eco-two-col-even { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Legal page body ── */
.eco-legal-body { max-width: 48rem; margin: 0 auto; padding: 3.5rem 1.5rem; line-height: 1.8; }
.eco-legal-body h2 { margin-top: 2.5rem; font-size: 1.1rem; }
.eco-legal-body h3 { margin-top: 1.75rem; font-size: 0.95rem; }
.eco-legal-body p, .eco-legal-body li { font-size: 0.9rem; color: var(--eco-muted); }
.eco-legal-body ul { padding-left: 1.25rem; }
.eco-legal-body a { color: var(--eco-terracotta); }

/* ═══════════════════════════════════════════════════════════════
   ECO ERIN v10.3 ADDITIONS — appended to v10.1 style.css
   ═══════════════════════════════════════════════════════════════ */

/* duplicate logos CSS removed v10.3 */

/* ── Nav: remove gold/any background from search & hamburger ── */
.eco-nav-search,
.eco-mobile-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Remove border boxes on nav items when active/focused/clicked */
.eco-nav a:focus,
.eco-nav a:active,
.eco-nav a:focus-visible {
  outline: none;
  box-shadow: none;
  background: none !important;
}

/* ── Hero bubble: hide on FAQ, About, Small Space Living ── */
.page-template-page-faq .eco-trust-badge,
.page-template-page-about .eco-about-hero .eco-trust-badge,
.page-template-page-small-space-living .eco-trust-badge {
  display: none !important;
}

/* ── Trust section two-column layout (Homepage + About) ── */
/* trust-two-col: cards go full width, image renders below via PHP */
.eco-trust-two-col {
  display: block;
}
.eco-trust-two-col .eco-trust-bullets {
  width: 100%;
}

/* ── Footer newsletter strip — matches Footer-get_your_free_guidebook.png ── */
.eco-footer-newsletter {
  background: #1B3022;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 2.75rem 0;
  margin-top: 2.5rem;
}
.eco-footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  flex-wrap: wrap;
}
.eco-footer-newsletter-left h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #D4B85F;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.eco-footer-newsletter-left p {
  font-size: 0.85rem;
  color: rgba(243,239,231,0.65);
  margin: 0;
  line-height: 1.6;
}
.eco-footer-newsletter-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.eco-footer-newsletter-right input[type="email"] {
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: #F3EFE7;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  min-width: 220px;
  outline: none;
  transition: border-color 0.2s;
}
.eco-footer-newsletter-right input::placeholder { color: rgba(243,239,231,0.4); }
.eco-footer-newsletter-right input:focus { border-color: rgba(255,255,255,0.4); }
.eco-footer-newsletter-right button {
  background: #C46A4A;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s;
}
.eco-footer-newsletter-right button:hover { background: #B05A3C; }
@media (max-width: 767px) {
  .eco-footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
  .eco-footer-newsletter-right { width: 100%; }
  .eco-footer-newsletter-right input[type="email"] { min-width: 0; flex: 1; }
}

/* ── Footer media logos row ── */
.eco-footer-media {
  padding: 2rem 0 0;
  text-align: center;
}
.eco-footer-media h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(243,239,231,0.35);
  margin-bottom: 1.25rem;
}
.eco-footer-media-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
}
.eco-footer-media-logos a {
  opacity: 0.5;
  transition: opacity 0.2s;
  display: inline-flex;
}
.eco-footer-media-logos a:hover { opacity: 1; }
.eco-footer-media-logos img {
  height: 3rem;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── Masonry gallery (excursions) ── */
.eco-masonry {
  columns: 2;
  column-gap: 1rem;
}
@media (min-width: 768px)  { .eco-masonry { columns: 3; } }
@media (min-width: 1024px) { .eco-masonry { columns: 4; } }
.eco-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
}
.eco-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}
.eco-masonry-item:hover img { transform: scale(1.04); }

/* ── Newsletter page ── */
.eco-newsletter-audit-img {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: opacity 0.2s;
}
.eco-newsletter-audit-img:hover { opacity: 0.94; }

/* ── Legal pages — brand typography ── */
.eco-legal-body h1,
.eco-legal-body h2,
.eco-legal-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--eco-forest);
}
.eco-legal-body h2 { font-size: 1.2rem; margin-top: 2.5rem; border-bottom: 1px solid var(--eco-border); padding-bottom: 0.35rem; }
.eco-legal-body h3 { font-size: 1rem; margin-top: 1.75rem; }
.eco-legal-body a { color: var(--eco-terracotta); text-decoration: underline; }
.eco-legal-body a:hover { color: #B05A3C; }


/* ── "As Featured In" section background — all pages ── */
.eco-section-featured {
  background: #FDF5E6;
  padding: 3.5rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   ECO ERIN v10.4 ADDITIONS — append only, no existing rules touched
   ═══════════════════════════════════════════════════════════════ */

/* ── Trust section: mobile-first stacking (image top, boxes below) ── */
.eco-trust-mobile-stack {
    display: flex;
    flex-direction: column;
}
@media (max-width: 767px) {
    .eco-trust-mobile-stack {
        display: flex !important;
        flex-direction: column !important;
    }
    .eco-trust-mobile-stack .eco-trust-bullets {
        order: 2;
    }
    /* Image is rendered above the two-col div in PHP, so it's naturally order:1 */
}

/* ── Featured logos: v10.4 unified rule ── */
.eco-featured-logos img {
    filter: grayscale(100%) !important;
    mix-blend-mode: multiply !important;
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s !important;
}
.eco-featured-logos img:hover {
    filter: none !important;
    opacity: 1 !important;
}

/* ── "As Featured In" section: force FDF5E6 background everywhere ── */
.eco-section-featured,
section.eco-section-featured {
    background-color: #FDF5E6 !important;
    padding: 3.5rem 0 !important;
}

/* ── Nav: remove gold background from search + hamburger ── */
.eco-nav-search,
.eco-mobile-toggle,
.ast-search-menu-icon,
.ast-mobile-popup-trigger,
button.menu-toggle {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* Search input transparent */
.ast-search-menu-icon input[type="search"],
.eco-search-box input[type="search"],
.search-field {
    background: transparent !important;
}
/* No border boxes on nav items when clicked/focused */
.eco-nav a:focus,
.eco-nav a:active,
.ast-menu-item a:focus,
.ast-menu-item a:active {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}
/* Mobile search display fix */
@media (max-width: 921px) {
    .ast-search-menu-icon {
        display: block !important;
    }
}

/* ── Excursions page ── */
.excursions-hero-section {
    background-color: #FDF5E6 !important;
    padding: 80px 20px;
    text-align: center;
}
.excursions-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px auto;
    max-width: 1200px;
}

/* ── Home audit split layout ── */
.home-audit-split-container {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 8px;
    margin: 40px auto;
    overflow: hidden;
}
.home-audit-image-pane {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
}
.home-audit-content-pane {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .home-audit-split-container { flex-direction: column; }
    .home-audit-image-pane { min-height: 250px; order: 1; }
    .home-audit-content-pane { padding: 40px 20px; text-align: center; order: 2; }
}

/* ── Footer newsletter strip v10.4 — centered, forest green ── */
.eco-footer-newsletter-v104 {
    background: #1B3022;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 3rem 1.5rem;
    text-align: center;
}
.eco-footer-newsletter-v104-inner {
    max-width: 540px;
    margin: 0 auto;
}
.eco-footer-newsletter-v104-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: #D4B85F;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}
.eco-footer-newsletter-v104-sub {
    font-size: 0.88rem;
    color: rgba(243,239,231,0.65);
    margin: 0 0 1.75rem;
    line-height: 1.7;
}
.eco-footer-newsletter-v104-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.eco-footer-newsletter-v104-form input[type="email"] {
    flex: 1 1 220px;
    padding: 0.75rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.07);
    color: #F3EFE7;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}
.eco-footer-newsletter-v104-form input::placeholder { color: rgba(243,239,231,0.4); }
.eco-footer-newsletter-v104-form input:focus { border-color: rgba(255,255,255,0.4); }
.eco-footer-newsletter-v104-form button {
    background: #C27D66;
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s;
}
.eco-footer-newsletter-v104-form button:hover { background: #A65D45; }
@media (max-width: 767px) {
    .eco-footer-newsletter-v104-form { flex-direction: column; align-items: stretch; }
    .eco-footer-newsletter-v104-form input[type="email"],
    .eco-footer-newsletter-v104-form button { width: 100%; }
}


/* --- ECO ERIN GLOBAL DESIGN SYSTEM --- */

/* 1. Global Typography Match */
.eco-page-title, h1 {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. The Terracotta Master Button */
.eco-btn-terracotta {
    background-color: var(--eco-terracotta) !important;
    color: #ffffff !important;
    padding: 14px 36px !important;
    border-radius: 50px !important; /* This creates the rounded look site-wide */
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.eco-btn-terracotta:hover {
    background-color: #b35a3d !important; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 3. Consistency for Featured Logos */
.eco-featured-logos img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* =====================================================================
   ECO ERIN v10.4 — APPEND ONLY (no existing rules touched)
   - Social Trust Banner (below hero)
   - Hero conversion flow: Shop = dominant CTA, Free Guide = secondary
   - Author bio "15+ years experience" emphasis
   ===================================================================== */

/* ---- Hero conversion flow: SHOP is the most prominent element ------- */
/* The hero already has a forest-green background. We make SHOP visually
   dominant via larger size, heavier weight, and a soft terracotta glow.
   FREE GUIDE is intentionally lighter / ghost so the eye lands on SHOP. */
.eco-hero-shop-primary {
    padding: 1.15rem 3.25rem !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    box-shadow: 0 10px 32px rgba(196,106,74,0.45),
                0 0 0 4px rgba(196,106,74,0.12);
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.eco-hero-shop-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 40px rgba(196,106,74,0.55),
                0 0 0 5px rgba(196,106,74,0.18) !important;
}

.eco-hero-secondary {
    padding: 0.7rem 2rem;
    background: transparent;
    border: 2px solid var(--eco-terracotta);
    color: var(--eco-beige);
    text-decoration: none;
    display: inline-block;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .eco-hero-shop-primary { padding: 1rem 2.5rem !important; font-size: 0.95rem !important; }
}

/* ---- Social Trust Banner (below hero) ------------------------------- */
.eco-social-trust {
    background: var(--eco-beige);
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid var(--eco-border);
}
.eco-social-trust-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--eco-forest);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.eco-social-trust-sub {
    font-size: 0.95rem;
    color: var(--eco-muted);
    margin: 0 0 1.75rem;
    line-height: 1.6;
}
.eco-social-trust-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

/* Each icon: monochrome (grayscale) by default. Brand color on hover.
   Uses 0.3s smooth transition matching the rest of the site (featured logos). */
.eco-social-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    background: rgba(31,61,43,0.06);
    color: var(--eco-forest);
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease, color 0.3s ease,
                background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.eco-social-trust-icon svg { fill: currentColor; transition: fill 0.3s ease; }

/* Hover: lift, brighten, switch to brand color. Matches grayscale->color
   logic used on .eco-featured-logos elsewhere on the site. */
.eco-social-trust-icon:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(31,61,43,0.12);
}

/* Per-platform brand colors on hover (E-E-A-T: authentic platform recognition) */
.eco-social-tiktok:hover    { color: #000000; background: rgba(0,242,234,0.14); }
.eco-social-youtube:hover   { color: #FF0000; background: rgba(255,0,0,0.10); }
.eco-social-instagram:hover { color: #E1306C; background: rgba(225,48,108,0.10); }
.eco-social-facebook:hover  { color: #1877F2; background: rgba(24,119,242,0.10); }
.eco-social-pinterest:hover { color: #E60023; background: rgba(230,0,35,0.10); }

@media (max-width: 480px) {
    .eco-social-trust { padding: 2.5rem 0 2.25rem; }
    .eco-social-trust-icons { gap: 1.1rem; }
    .eco-social-trust-icon { width: 2.75rem; height: 2.75rem; }
    .eco-social-trust-icon svg { width: 24px; height: 24px; }
}

/* ---- Author bio: highlight 15+ years experience --------------------- */
.eco-author-bio-v104 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: rgba(139,168,136,0.10);
    border: 1px solid var(--eco-border);
    border-left: 4px solid var(--eco-terracotta);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}
.eco-author-bio-v104 .eco-author-avatar {
    width: 3rem; height: 3rem;
    border-radius: 9999px;
    background: var(--eco-forest);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eco-author-bio-v104 .eco-author-avatar span {
    color: var(--eco-beige);
    font-weight: 700;
    font-size: 0.875rem;
}
.eco-author-bio-v104 .eco-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
    color: var(--eco-forest);
}
.eco-author-bio-v104 .eco-author-credential {
    font-size: 0.78rem;
    color: var(--eco-muted);
    margin: 0.1rem 0 0;
    line-height: 1.5;
}
.eco-author-bio-v104 .eco-author-years {
    color: var(--eco-terracotta);
    font-weight: 700;
}

/* ---- Newsletter audit landing: image-on-top stack (v10.4) ----------- */
.eco-audit-landing-stack {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}
.eco-audit-landing-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.eco-audit-landing-content {
    padding: 2.5rem 2rem 2.25rem;
    text-align: center;
    background: #FDF5E6;
}
.eco-audit-landing-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: #1B3022;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.eco-audit-landing-content p {
    font-size: 0.95rem;
    color: #6B7B6E;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}
.eco-audit-landing-content .btn-terracotta {
    display: inline-block;
    background: #C46A4A;
    color: #fff;
    padding: 0.95rem 2.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.3s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 24px rgba(196,106,74,0.35);
}
.eco-audit-landing-content .btn-terracotta:hover {
    background: #A65D45;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196,106,74,0.45);
}
.eco-audit-landing-disclaimer {
    font-size: 0.72rem;
    color: #999;
    margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   ECO ERIN v10.5 — Appended additions only
   ═══════════════════════════════════════════════════════════════ */

/* ── Narrow trust banner (email hero, clickable) ── */
.eco-social-trust-narrow {
    padding: 0.85rem 0 !important;
    cursor: pointer;
}
.eco-social-trust-narrow .eco-social-trust-heading {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    color: var(--eco-forest);
}
.eco-social-trust-narrow .eco-social-trust-sub { display: none !important; }
.eco-social-trust-narrow .eco-social-trust-icons { display: none !important; }
.eco-social-trust-narrow:hover { background: rgba(194,125,102,0.06); }

/* ── Featured logos +30% size ── */
.eco-featured-logos img,
.eco-section-featured img {
    height: 6.5rem !important;
}

/* ── FAQ card layout ── */
.eco-faq-card {
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.eco-faq-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.eco-faq-card .eco-faq-q {
    padding: 1.1rem 1.4rem;
    background: var(--eco-card);
    border-bottom: none;
}
.eco-faq-card .eco-faq-q[aria-expanded="true"] {
    border-bottom: 1px solid var(--eco-border);
}
.eco-faq-card .eco-faq-a {
    padding: 0 1.4rem;
}
.eco-faq-card .eco-faq-a p { padding: 1rem 0; }

/* ── Boxed card grid layout (Shop + Small Space Living) ── */
.eco-boxed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}
.eco-boxed-card {
    background: #fff;
    border: 1px solid var(--eco-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}
.eco-boxed-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.eco-boxed-card-img {
    height: 12rem;
    overflow: hidden;
    flex-shrink: 0;
}
.eco-boxed-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}
.eco-boxed-card:hover .eco-boxed-card-img img { transform: scale(1.04); }
.eco-boxed-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.eco-boxed-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--eco-forest);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.eco-boxed-card-excerpt {
    font-size: 0.83rem;
    color: var(--eco-muted);
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}
.eco-boxed-card-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eco-terracotta);
    text-decoration: none;
    transition: color 0.2s;
}
.eco-boxed-card-link:hover { color: var(--eco-terracotta-deep); }

/* ── MailerLite form: remove orange highlight on X close button ── */
.ml-form-embedWrapper button.ml-subscribe-close,
.ml-form-embedWrapper .ml-form-successBody .ml-closeButton,
.ml-popup-close,
[class*="ml-"] button[aria-label*="close"],
[class*="ml-"] button[aria-label*="Close"],
.ml-form-embedContent button.ml-subscribe-close {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    color: var(--eco-forest) !important;
}
[class*="ml-"] button:focus,
[class*="ml-"] button:active,
[class*="ml-"] button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
/* Kill any orange/terracotta residue on close */
.ml-form-embedWrapper button:focus-visible { outline: none !important; }

/* ── About page: ensure all text inherits site-wide color ── */
.eco-section .eco-two-col p,
.eco-section .eco-two-col-even p,
#main-content p {
    color: var(--eco-forest);
}
/* Allow muted where explicitly set via class */
.eco-subtitle, .eco-blog-excerpt, .eco-boxed-card-excerpt { color: var(--eco-muted); }

/* ── Excursions hero FDF5E6 ── */
.excursions-hero-section { background-color: #FDF5E6 !important; }

/* ═══════════════════════════════════════════════════════════════
   ECO ERIN v10.5 FINAL — Appended only, no existing rules altered
   ═══════════════════════════════════════════════════════════════ */

/* ── Narrow email/trust banner — entire block clickable ── */
.eco-trust-email-banner {
    background: var(--eco-card);
    border-top: 1px solid var(--eco-border);
    border-bottom: 1px solid var(--eco-border);
    padding: 0.7rem 0;
    cursor: pointer;
    transition: background 0.2s;
}
.eco-trust-email-banner:hover { background: #f0ece5; }
.eco-trust-email-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.eco-trust-email-copy {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--eco-forest);
    line-height: 1.4;
    flex: 1 1 200px;
}
.eco-trust-social-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
/* Social icons inside narrow banner — same style as eco-social-trust-icon */
.eco-trust-social-row .eco-social-trust-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,48,34,0.07);
    transition: background 0.2s;
}
.eco-trust-social-row .eco-social-trust-icon:hover { background: rgba(27,48,34,0.14); }
.eco-trust-social-row .eco-social-trust-icon svg { fill: var(--eco-forest); }
@media (max-width: 640px) {
    .eco-trust-email-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
    .eco-trust-email-copy { font-size: 0.78rem; }
}

/* ── Featured logos: grayscale+multiply, 30% larger (≈91px), FDF5E6 bg ── */
.eco-section-featured { background-color: #FDF5E6 !important; padding: 3.5rem 0 !important; }
.eco-featured-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
.eco-featured-logos img {
    height: 6.5rem !important;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    mix-blend-mode: multiply;
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
.eco-featured-logos img:hover { filter: none; opacity: 1; }

/* ── Boxed card grid ── */
.eco-boxed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
}
.eco-boxed-card {
    background: #fff;
    border: 1px solid var(--eco-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}
.eco-boxed-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.eco-boxed-card-img { height: 12rem; overflow: hidden; flex-shrink: 0; }
.eco-boxed-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.eco-boxed-card:hover .eco-boxed-card-img img { transform: scale(1.04); }
.eco-boxed-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.eco-boxed-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--eco-forest); margin: 0 0 0.5rem; line-height: 1.3; }
.eco-boxed-card-excerpt { font-size: 0.83rem; color: var(--eco-muted); line-height: 1.65; margin: 0 0 1rem; flex: 1; }
.eco-boxed-card-link { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eco-terracotta); text-decoration: none; }
.eco-boxed-card-link:hover { color: #A65D45; }

/* ── FAQ card boxes ── */
.eco-faq-card {
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.eco-faq-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.eco-faq-card .eco-faq-q { padding: 1.1rem 1.4rem; background: var(--eco-card); }
.eco-faq-card .eco-faq-q[aria-expanded="true"] { border-bottom: 1px solid var(--eco-border); }
.eco-faq-card .eco-faq-a { padding: 0 1.4rem; }
.eco-faq-card .eco-faq-a p { padding: 1rem 0; }

/* ── Shop terracotta search bar ── */
.eco-shop-search-bar {
    background: #FDF5E6;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--eco-border);
}
.eco-shop-search-inner {
    display: flex;
    align-items: center;
    background: #C27D66;
    border-radius: 8px;
    padding: 0 1rem;
    gap: 0.75rem;
    max-width: 42rem;
    margin: 0 auto;
}
.eco-shop-search-inner input {
    flex: 1;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
}
.eco-shop-search-inner input::placeholder { color: rgba(255,255,255,0.6); }

/* ── Excursions page ── */
.excursions-hero-section { background-color: #FDF5E6 !important; padding: 80px 20px; text-align: center; }
.excursions-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; margin: 2.5rem auto 0; max-width: 1200px; }

/* ── MailerLite X close button — remove orange highlight ── */
[class*="ml-"] button:focus,
[class*="ml-"] button:focus-visible,
[class*="ml-"] button:active,
.ml-form-embedWrapper button:focus,
.ml-form-embedWrapper button:focus-visible,
.ml-subscribe-close:focus,
.ml-subscribe-close:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

/* ── Mobile & tablet responsive fixes ── */
@media (max-width: 768px) {
    .eco-hero { padding: 3.5rem 1rem 3rem; }
    .eco-hero h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
    .eco-hero-cta-row { flex-direction: column; gap: 0.75rem; }
    .eco-hero-cta-row a { width: 100%; text-align: center; }

    .eco-trust-email-banner { padding: 0.75rem 0; }
    .eco-trust-email-inner { flex-direction: column; gap: 0.5rem; }
    .eco-trust-social-row { flex-wrap: wrap; gap: 0.4rem; }

    .eco-featured-logos { gap: 1.25rem; }
    .eco-featured-logos img { height: 4.5rem !important; max-width: 130px; }

    .eco-boxed-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .excursions-grid-layout { grid-template-columns: 1fr; }

    .eco-footer-grid { grid-template-columns: 1fr !important; }
    .eco-footer-newsletter-v104-form { flex-direction: column; }
    .eco-footer-newsletter-v104-form input,
    .eco-footer-newsletter-v104-form button { width: 100%; }

    .eco-two-col, .eco-two-col-even { grid-template-columns: 1fr !important; }
    .eco-van-card { min-height: 220px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .eco-boxed-grid { grid-template-columns: repeat(2, 1fr); }
    .excursions-grid-layout { grid-template-columns: repeat(2, 1fr); }
    .eco-featured-logos img { height: 5.5rem !important; }
}

/* ── About: all body text uses site-wide forest color ── */
.eco-two-col p, .eco-two-col-even p { color: var(--eco-forest); }

/* ═══════════════════════════════════════════════════════════════
   ECO ERIN v10.6 UPDATES — ecoerin.com migration
   ═══════════════════════════════════════════════════════════════ */

/* ── FAQ Accordion: ensure .eco-faq-card works as toggle container ── */
.eco-faq-card {
    border: 1px solid var(--eco-border);
    border-radius: 0.625rem;
    overflow: hidden;
    background: #fff;
}
.eco-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--eco-forest);
    gap: 1rem;
}
.eco-faq-q:hover { background: rgba(139,168,136,0.06); }
.eco-faq-a {
    display: none;
    padding: 0 1.25rem 1.1rem;
    font-size: 0.875rem;
    color: var(--eco-muted);
    line-height: 1.7;
}
.eco-faq-card.open .eco-faq-a { display: block; }
.eco-faq-icon { flex-shrink: 0; transition: transform 0.25s; }
.eco-faq-card.open .eco-faq-icon { transform: rotate(45deg); }
.eco-faq-card.open .eco-faq-q { color: var(--eco-terracotta); }

/* ── Homepage As Featured In: NO pixelated/repeating background ── */
.eco-section-featured {
    background-color: #FDF5E6 !important;
    background-image: none !important;
    padding: 3.5rem 0 !important;
}

/* ── About page: remove pixelated bg from featured section ── */
section.eco-section-featured[style*="background"] {
    background-image: none !important;
}

/* ── Landing page: fluid desktop / tablet / mobile ── */
@media (min-width: 1024px) {
    .lp-wrap { max-width: 720px; padding: 0 2rem 5rem; }
    .lp-buckets { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 601px) and (max-width: 1023px) {
    .lp-wrap { max-width: 680px; padding: 0 2rem 4rem; }
    .lp-buckets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .lp-wrap { padding: 0 1.1rem 3rem; }
    .lp-buckets { grid-template-columns: 1fr 1fr; }
    .lp-h1 { font-size: 1.75rem; }
}
@media (max-width: 380px) {
    .lp-buckets { grid-template-columns: 1fr; }
}

/* ── Utility bar: ensure CTA link is fully clickable ── */
.eco-utility-bar a { display: block; width: 100%; text-decoration: none; color: inherit; }
.eco-utility-bar button { pointer-events: none; } /* parent <a> handles click */

/* ==========================================================================
   GLOBAL THEME CONSISTENCY REVISIONS
   ========================================================================== */

/* 1. Eco Erin Logo Focus Outline Fix */
.site-header .custom-logo-link:focus img,
.site-header .custom-logo-link:focus,
a.logo-link:focus img,
a.logo-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* 2. Audit Landing Page Orange Button Fix */
.audit-button-container {
    overflow: visible !important; /* Fixes desktop text cut-off */
    padding: 12px 20px !important;
}

.audit-button-container a,
.audit-button-container button {
    display: inline-block !important;
    white-space: normal !important;
    word-wrap: break-word;
    min-height: 44px !important; /* Minimum touch target on mobile */
    min-width: 44px !important;
    line-height: 1.4 !important;
}

/* 3. Global Clickable Links - Match Theme Color Scheme (e.g., Gold) */
a, 
.site-content a, 
.entry-content a {
    color: #c5a059; /* Custom Theme Gold Accent */
    text-decoration: underline;
}

a:hover, 
a:focus {
    color: #aa843d; /* Darker Gold for Hover states */
}

/* 4. Emoji Consistency Pass (Strip from Mobile and Tablet viewports) */
@media (max-width: 768px) {
    .emoji, 
    img.wp-smiley, 
    span.audit-emoji {
        display: none !important;
    }
}

/* 5. Mobile & Tablet Menu/Footer Breakpoint Display Guarantees */
@media (max-width: 768px) {
    #header, 
    .site-header, 
    #footer, 
    .site-footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
/* ── NAVIGATION CLEANUP ── */
/* Removes the permanent underline on all menu links */
header a, 
nav a, 
.menu-item a, 
#main-menu a {
    text-decoration: none !important;
}

/* Forces the black browser underline to stay gone during hover */
header a:hover, 
nav a:hover, 
.menu-item a:hover, 
#main-menu a:hover {
    text-decoration: none !important;
}