/*
Theme Name: Evening Vines
Theme URI: https://eveningvines.com
Description: Evening Vines — a gardening blog child theme built on Astra. Provides ZIP-code-localized planting guides, plant detail pages, affiliate integration, and SEO-optimized content for every USDA zone and month.
Author: Evening Vines
Author URI: https://eveningvines.com
Template: astra
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evening-vines
Tags: garden, planting, usda-zones, affiliate, custom-menu
*/

/* ==========================================================================
   1. GLOBAL  –  Modern refresh (keep existing layout, lighten the feel)
   ========================================================================== */

:root {
  /* Brand palette */
  --ev-purple:       #9333EA;
  --ev-purple-dark:  #7928CA;
  --ev-green:        #16a34a;
  --ev-green-dark:   #15803d;
  --ev-text:         #1f2937;
  --ev-text-light:   #6b7280;
  --ev-bg:           #ffffff;
  --ev-bg-subtle:    #f9fafb;
  --ev-border:       #e5e7eb;
  --ev-radius:       12px;
  --ev-radius-sm:    8px;
  --ev-shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --ev-shadow:       0 4px 12px rgba(0,0,0,.06);
  --ev-font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ev-transition:   .18s ease;
}

body {
  font-family: var(--ev-font);
  color: var(--ev-text);
  -webkit-font-smoothing: antialiased;
}

/* Subtle link colour for body text */
a { color: var(--ev-purple); transition: color var(--ev-transition); }
a:hover { color: var(--ev-purple-dark); }


/* ==========================================================================
   2. PURPLE TOP BAR  –  cleaner, slightly taller, better mobile
   ========================================================================== */

.top-color-bar {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-height: 42px;
  background: linear-gradient(135deg, var(--ev-purple) 0%, var(--ev-purple-dark) 100%) !important;
  padding: 0 16px;
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(147,51,234,.18);
}

.top-zip-info { font-size: 13px; color: #fff; }

.usda-bar { gap: 8px; }
.usda-change { color: rgba(255,255,255,.9) !important; font-size: 12px; text-decoration: underline !important; }
.usda-change:hover { color: #fff !important; }

.usda-form input[name="zip"] {
  height: 26px;
  width: 90px;
  padding: 2px 8px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
}
.usda-form button[type="submit"] {
  height: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,.95);
  color: var(--ev-purple);
  font-weight: 600;
  font-size: 12px;
  padding: 0 12px;
  cursor: pointer;
  transition: background var(--ev-transition);
}
.usda-form button[type="submit"]:hover { background: #fff; }
.usda-cancel {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 50% !important;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: #fff !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  .top-color-bar { justify-content: center !important; padding: 6px 10px; flex-wrap: wrap; }
  .top-zip-info { margin-right: 0 !important; font-size: 12px; }
  .usda-form input[name="zip"] { width: 72px; }
}


/* ==========================================================================
   3. LOCAL PROMO BOX  ("Looking for plants in …?")
   ========================================================================== */

.local-promo-box {
  background: var(--ev-bg-subtle);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  padding: 16px 20px;
  margin: 16px 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}
.local-promo-box .promo-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--ev-green);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--ev-radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--ev-transition);
}
.local-promo-box .promo-btn:hover { background: var(--ev-green-dark); color: #fff; }


/* ==========================================================================
   4. "WHAT TO PLANT" SHORTCODE LAYOUT  ([ev_what_to_plant])
   ========================================================================== */

.ev-wtp { max-width: 1200px; margin: 0 auto; padding: 20px; }

.ev-wtp__header {
  display: flex; gap: 20px; justify-content: space-between;
  align-items: flex-end; margin-bottom: 16px; flex-wrap: wrap;
}
.ev-wtp__where label,
.ev-wtp__month label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ev-text-light); margin-bottom: 6px; }
.ev-wtp__where input { padding: 8px 10px; border: 1px solid var(--ev-border); border-radius: var(--ev-radius-sm); min-width: 140px; }

.ev-btn {
  border: 0; border-radius: var(--ev-radius-sm); padding: 8px 14px;
  background: var(--ev-purple); color: #fff; cursor: pointer; margin-left: 8px;
  font-weight: 600; font-size: 13px;
  transition: background var(--ev-transition);
}
.ev-btn:hover { background: var(--ev-purple-dark); }

.ev-wtp__meta { margin-top: 8px; }
.ev-chip {
  display: inline-block; background: var(--ev-bg-subtle); border: 1px solid var(--ev-border);
  border-radius: 999px; padding: 4px 12px; margin-right: 6px; font-size: 12px;
}
.ev-chip.ev-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.ev-wtp__grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.ev-wtp__aside { background: var(--ev-bg-subtle); border: 1px solid var(--ev-border); border-radius: var(--ev-radius); padding: 18px; }
.ev-wtp__asideh { margin: 0 0 12px; font-size: 16px; }
.ev-aside__box { background: #fff; border: 1px dashed #d1d5db; border-radius: 10px; padding: 16px; color: var(--ev-text-light); font-size: 14px; }

.ev-wtp__section { margin: 24px 0; }
.ev-wtp__h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }

.ev-wtp__icons { display: flex; flex-wrap: wrap; gap: 14px; }

.ev-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  width: 110px; padding: 12px 10px; border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius); background: #fff; text-decoration: none;
  color: var(--ev-text); text-align: center;
  transition: transform var(--ev-transition), box-shadow var(--ev-transition);
}
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--ev-shadow); color: var(--ev-text); }
.ev-card img { border-radius: var(--ev-radius-sm); }
.ev-card__label { margin-top: 6px; font-size: 13px; font-weight: 600; }
.ev-card__sub { margin-top: 2px; font-size: 11px; color: var(--ev-text-light); }

.ev-empty { padding: 18px; border: 1px solid #ffedd5; border-radius: var(--ev-radius); background: #fff7ed; color: #9a3412; font-size: 14px; }

@media (max-width: 900px) {
  .ev-wtp__grid { grid-template-columns: 1fr; }
  .ev-wtp__aside { order: -1; }
}


/* ==========================================================================
   5. PLANT DETAIL PAGE  (template-plant.php)
   ========================================================================== */

/* Force full-width on plant & planting-guide pages (override Astra container) */
body.ev-full-width .ast-container,
body.ev-full-width .site-content > .ast-container,
body.ast-page-builder-template .ast-container,
body.plant-page-wrap .ast-container,
body.pg-page-wrap .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.ev-full-width #primary,
body.ev-full-width .ast-primary-width,
body.ev-full-width .entry-content,
body.plant-page-wrap #primary,
body.pg-page-wrap #primary {
  max-width: 100% !important;
  width: 100% !important;
}

/* Remove Astra's default content width limits */
body.ev-full-width .site-main > article,
body.ev-full-width .site-content .ast-container {
  max-width: none !important;
}

.plant-page { max-width: 1200px; margin: auto; padding: 24px 20px; }
.plant-title { font-size: 32px; margin-top: 0; font-weight: 800; }
.overview { margin: 12px 0 24px; line-height: 1.65; color: var(--ev-text); }

.plant-grid { display: flex; gap: 24px; align-items: flex-start; }
.plant-left { flex: 3; }
.plant-right {
  flex: 1;
  background: var(--ev-bg-subtle);
  padding: 20px;
  border-radius: var(--ev-radius);
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--ev-border);
}
.plant-right > * { width: 100%; box-sizing: border-box; }

.plant-error {
  color: #991b1b; background: #fef2f2; border: 1px solid #fecaca;
  padding: 12px 16px; border-radius: var(--ev-radius-sm);
}

/* "HERE IS WHAT YOU SHOULD PLANT" CTA */
.ev-what-to-plant-cta { margin: 12px 0 20px; }
.ev-what-to-plant-link {
  display: inline-block; font-weight: 800; text-decoration: underline;
  color: #111; font-size: 15px; text-transform: uppercase; letter-spacing: .3px;
}
.ev-what-to-plant-link:hover { opacity: .85; color: var(--ev-purple); }

/* Ad placeholder */
.ad-728x90 {
  height: 120px; border: 2px dashed #d1d5db; background: var(--ev-bg-subtle);
  border-radius: var(--ev-radius); display: flex; align-items: center; justify-content: center;
  color: var(--ev-text-light); margin: 20px 0 24px; font-weight: 600; font-size: 14px;
}

/* Share row */
.share-row { display: flex; gap: 10px; align-items: center; margin: 20px 0; }
.share-row .share {
  padding: 6px 12px; background: var(--ev-bg-subtle); border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-sm); text-decoration: none; color: var(--ev-text);
  font-size: 13px; font-weight: 500;
  transition: background var(--ev-transition);
}
.share-row .share:hover { background: #f3f4f6; }

/* Newsletter */
.ev-newsletter {
  margin: 20px 0; padding: 18px; background: var(--ev-bg-subtle);
  border: 1px solid var(--ev-border); border-radius: var(--ev-radius);
}
.ev-newsletter .row { display: flex; gap: 8px; margin-top: 10px; }
.ev-newsletter input { flex: 1; padding: 10px 12px; border: 1px solid var(--ev-border); border-radius: var(--ev-radius-sm); }
.ev-newsletter button {
  padding: 10px 16px; border: 0; border-radius: var(--ev-radius-sm);
  background: var(--ev-purple); color: #fff; cursor: pointer; font-weight: 600;
  transition: background var(--ev-transition);
}
.ev-newsletter button:hover { background: var(--ev-purple-dark); }
.ev-newsletter small { display: block; margin-top: 8px; color: var(--ev-text-light); font-size: 12px; }

/* Companion Plants */
.companion-plants { margin-top: 24px; }
.companion-images { display: flex; flex-wrap: wrap; gap: 14px; }
.companion-box { text-align: center; width: 72px; font-size: 11px; }
.companion-box img { border-radius: var(--ev-radius-sm); }
.companion-box a { text-decoration: none; color: var(--ev-text); }
.companion-box a:hover { color: var(--ev-purple); }
.companion-box span { font-size: 10px; font-weight: 600; letter-spacing: .3px; }

/* 2×2 Info Cards */
.plant-info-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0; padding: 20px; background: var(--ev-bg-subtle);
  border: 1px solid var(--ev-border); border-radius: var(--ev-radius);
}
.info-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--ev-border); border-radius: 10px;
  padding: 16px; box-shadow: var(--ev-shadow-sm);
  transition: box-shadow var(--ev-transition);
}
.info-box:hover { box-shadow: var(--ev-shadow); }
.info-box img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.info-copy { line-height: 1.45; }
.info-copy strong { display: block; font-size: 14px; margin: 0 0 4px; color: var(--ev-text); }
.info-copy p { margin: 0; font-size: 13px; color: #4b5563; }

@media (max-width: 800px) { .plant-info-block { grid-template-columns: 1fr; } }

/* Pests */
.common-pests { margin-top: 28px; }
.icon-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.icon-item { width: 72px; text-align: center; font-size: 12px; }
.icon-item img { border-radius: var(--ev-radius-sm); display: block; }
.icon-item a { text-decoration: none; color: var(--ev-text); }
.icon-item a:hover { color: var(--ev-purple); }
.icon-label { margin-top: 4px; color: var(--ev-text); font-size: 11px; }

/* Sidebar cards */
.side-card {
  background: #fff; border: 1px solid var(--ev-border); border-radius: var(--ev-radius);
  padding: 16px; box-shadow: var(--ev-shadow-sm);
}
.side-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }

.cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  padding: 10px 14px; border-radius: var(--ev-radius-sm);
  text-decoration: none; font-weight: 600; font-size: 14px;
  text-align: center; display: block;
  transition: opacity var(--ev-transition), transform var(--ev-transition);
}
.btn:hover { opacity: .92; transform: translateY(-1px); }
.btn-primary { background: var(--ev-green); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: var(--ev-purple); color: #fff; }
.btn-secondary:hover { color: #fff; }
.btn-outline { border: 1px solid var(--ev-purple); color: var(--ev-purple); background: #fff; }
.btn-outline:hover { background: var(--ev-bg-subtle); color: var(--ev-purple); }

.disclaimer { display: block; margin-top: 8px; font-size: 11px; color: var(--ev-text-light); }

/* Tools grid */
.tools-mini .tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tools-mini a {
  display: block; padding: 10px 12px; background: var(--ev-bg-subtle);
  border-radius: var(--ev-radius-sm); text-decoration: none;
  color: var(--ev-text); font-size: 13px; font-weight: 500;
  border: 1px solid var(--ev-border);
  transition: background var(--ev-transition), border-color var(--ev-transition);
}
.tools-mini a:hover { background: #f3f4f6; border-color: #d1d5db; }

/* Varieties — clickable affiliate links */
.ev-varieties-heading { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.ev-varieties { display: flex; flex-direction: column; gap: 10px; }
a.ev-variety {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  align-items: center; width: 100%;
  text-decoration: none; color: var(--ev-text);
  padding: 10px 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-sm);
  background: #fff;
  transition: border-color var(--ev-transition), box-shadow var(--ev-transition);
}
a.ev-variety:hover {
  border-color: var(--ev-green);
  box-shadow: var(--ev-shadow-sm);
  color: var(--ev-text);
}
.ev-variety__icon { height: 52px; width: auto; object-fit: contain; }
.ev-variety__copy { width: 100%; text-align: left; }
.ev-variety__title { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.ev-variety__desc { margin: 0; font-size: 13px; line-height: 1.45; color: #4b5563; }
.ev-variety__cta {
  display: inline-block; margin-top: 4px;
  font-size: 12px; font-weight: 600; color: var(--ev-green);
}
a.ev-variety:hover .ev-variety__cta { color: var(--ev-green-dark); }

/* Essentials grid (item 9) */
.ev-essentials { margin-top: 16px; }
.ev-essentials h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.ev-essentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
a.ev-essential-item {
  display: block; padding: 12px; text-decoration: none;
  background: var(--ev-bg-subtle); border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-sm); color: var(--ev-text);
  transition: border-color var(--ev-transition), background var(--ev-transition);
}
a.ev-essential-item:hover {
  border-color: var(--ev-green); background: #f0fdf4; color: var(--ev-text);
}
.ev-essential-name { display: block; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.ev-essential-desc { display: block; font-size: 11px; color: var(--ev-text-light); }

/* Sidebar photo */
.plant-right .plant-photo img {
  display: block; width: 100% !important; height: auto !important;
  max-width: 100%; border-radius: var(--ev-radius);
}

.plant-right .btn,
.plant-right .promo-btn,
.plant-right .buybox a,
.plant-right .cta-buttons a { display: block; width: 100%; text-align: center; }
.plant-right ul { margin: 0 0 0 1.1rem; padding: 0; }
.plant-right li { line-height: 1.5; font-size: 14px; }
.plant-right li a {
  text-decoration: none; color: var(--ev-purple);
  border-bottom: 1px dashed transparent;
  transition: border-color var(--ev-transition);
}
.plant-right li a:hover { border-bottom-color: var(--ev-purple); }

/* Sticky CTA (mobile) */
.sticky-cta { display: none; }

/* Climate line — blends into overview text */
.ev-climate-line {
  font-size: inherit;
  line-height: 1.65;
  color: var(--ev-text);
  margin: 8px 0 16px;
}
@media (max-width: 900px) {
  .plant-grid { flex-direction: column; }
  .plant-right { max-width: 100%; }
  .ev-variety { grid-template-columns: 46px 1fr; }
  .ev-variety__icon { height: 46px; }
  .sticky-cta {
    position: sticky; bottom: 12px; z-index: 5; display: block;
    background: var(--ev-green); border-radius: 999px; text-align: center;
    box-shadow: 0 4px 16px rgba(22,163,74,.3);
  }
  .sticky-cta a { display: block; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 700; }
}


/* ==========================================================================
   6. PLANTING GUIDE PAGE  (planting-guide-template.php)
   ========================================================================== */

.pg-wrap { max-width: 1200px; margin: 0 auto; padding: 18px 20px; }
.pg-head { margin-bottom: 10px; }
.pg-title {
  margin: 6px 0; color: var(--ev-text); font-weight: 800;
  letter-spacing: .2px; font-size: 26px; text-transform: uppercase; text-align: center;
}

.centered-badges { justify-content: center; }
.pg-toprow { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; }
.pg-context { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; border: 1px solid var(--ev-border); background: var(--ev-bg-subtle); color: var(--ev-text);
}
.badge-zone { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }

.pg-intro-wrap { max-width: 900px; margin: 12px auto; }
.pg-intro { margin: 0; line-height: 1.6; color: #4b5563; font-size: 14px; text-align: center; }

.pg-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 18px; }

.pg-card {
  background: var(--ev-bg-subtle); border-radius: var(--ev-radius);
  padding: 16px; box-shadow: var(--ev-shadow-sm); margin-bottom: 16px;
  border: 1px solid var(--ev-border);
}
.pg-card h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.pg-list { margin: 0; padding-left: 18px; }
.pg-list li { line-height: 1.5; font-size: 14px; margin-bottom: 4px; }

.pg-side a {
  color: var(--ev-text); text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--ev-transition), color var(--ev-transition);
}
.pg-side a:hover { color: var(--ev-purple); border-bottom-color: currentColor; }
.pg-mini-links { margin-top: 8px; font-size: 12px; }
.dot { opacity: .5; margin: 0 6px; }
.pg-month-select-label select { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--ev-border); }

.pg-block {
  margin: 16px 0; padding: 18px; border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius); background: #fff;
}
.pg-block-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; }

.pg-icons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pg-icon {
  width: 128px; text-align: center; color: var(--ev-text);
  border: 1px solid var(--ev-border); border-radius: var(--ev-radius);
  padding: 12px; background: #fff;
  transition: transform var(--ev-transition), box-shadow var(--ev-transition);
}
.pg-icon:hover { transform: translateY(-2px); box-shadow: var(--ev-shadow); }
.pg-icon img { border-radius: 10px; display: block; margin: 0 auto; }
.pg-icon-label { font-size: 13px; margin-top: 6px; line-height: 1.25; font-weight: 500; }
.pg-icon-img { text-decoration: none; color: inherit; }

.pg-aff-wrap { margin-top: 6px; font-size: 11px; }
.pg-aff { text-decoration: none; color: var(--ev-purple); font-weight: 500; }
.pg-aff:hover { text-decoration: underline; }
.sep { opacity: .5; }

.pg-empty {
  background: #fff7ed; border: 1px solid #ffedd5;
  padding: 14px; border-radius: var(--ev-radius); color: #9a3412; font-size: 14px;
}

.btn-sponsor {
  display: inline-block; margin-top: 10px; padding: 10px 14px;
  border-radius: var(--ev-radius); background: var(--ev-text); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 14px;
  transition: opacity var(--ev-transition);
}
.btn-sponsor:hover { opacity: .9; color: #fff; }

@media (max-width: 950px) { .pg-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pg-icon { width: 110px; } .pg-title { font-size: 20px; } }


/* ==========================================================================
   7. GLOBAL TYPOGRAPHY POLISH
   ========================================================================== */

h1, h2, h3, h4 { color: var(--ev-text); }
h2 { font-size: 22px; font-weight: 700; margin-top: 28px; margin-bottom: 12px; }

/* Item 1: Month select — show full month name, no clipping */
#pg-month-select,
.pg-month-select-label select,
#ev-month {
  min-width: 180px;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  text-overflow: ellipsis;
  font-size: 16px;
}

/* Item 2: Header padding on ALL pages */
.site-header .site-primary-header-wrap .ast-builder-grid-row,
.ast-builder-header-row .site-container,
.ast-primary-header-bar .site-container,
.ast-builder-header-row .ast-container,
.ast-primary-header-bar .ast-container,
.site-header .ast-container {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Item 3: Homepage hero image — full bleed, no gap */
.custom-full-width-image {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden;
  line-height: 0;
}
.custom-full-width-image img {
  width: 100% !important;
  max-width: none !important;
  display: block;
  height: auto;
}

/* Subtle card hover for any .side-card */
.side-card { transition: box-shadow var(--ev-transition); }
.side-card:hover { box-shadow: var(--ev-shadow); }

/* Quick Kit list links */
.quick-kit li a,
.pg-card li a {
  color: var(--ev-purple); text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--ev-transition);
}
.quick-kit li a:hover,
.pg-card li a:hover { border-bottom-color: var(--ev-purple); }


/* ==========================================================================
   8. BLOG STYLES
   ========================================================================== */

/* Related plants box at end of blog posts */
.ev-related-plants {
  margin-top: 32px; padding: 20px;
  background: var(--ev-bg-subtle); border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
}
.ev-related-plants h3 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.ev-related-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ev-related-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; background: #fff; border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-sm); text-decoration: none; color: var(--ev-text);
  font-size: 14px; font-weight: 500;
  transition: border-color var(--ev-transition), box-shadow var(--ev-transition);
}
.ev-related-card:hover { border-color: var(--ev-purple); box-shadow: var(--ev-shadow-sm); color: var(--ev-text); }
.ev-related-card img { border-radius: 6px; }

/* Blog archive cards */
.ast-article-post { transition: box-shadow var(--ev-transition); }
.ast-article-post:hover { box-shadow: var(--ev-shadow); }

/* Canadian seed picks (2026-11-20): Iris's painted seed packets on the Seeds to try cards and the list's Seeds button */
.ev-variety__icon.ev-variety__icon--painted { width: 64px !important; height: 64px !important; max-height: none; object-fit: cover; border-radius: 8px; flex: 0 0 64px; }
.gj-packet { width: 22px; height: 22px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 2px; }
.gj-ca-picks a { white-space: nowrap; }

a.ev-variety.ev-variety--painted { grid-template-columns: 64px 1fr !important; }

/* Canadian Essentials box (2026-11-20): painted tool pictures with the exact amazon.ca product */
.ev-essentials--ca .ev-essential-item { display: flex; flex-direction: column; gap: 4px; }
.ev-essentials--ca .ev-essential-img { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 4px; }
.ev-essentials--ca .ev-essential-cta { font-size: 13px; font-weight: 600; color: #3f7a34; margin-top: auto; }

/* The Canada post's seed shop (2026-11-20): Canadian visitors only */
.ev-ca-seeds { margin: 2.5em 0 1em; padding: 1.2em 1.2em .6em; border: 1px solid #e3dccb; border-radius: 14px; background: #fffdf7; }
.ev-ca-seeds__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 1.2em; }
.ev-ca-seed { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; padding: 10px; border: 1px solid #e8e1d0; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.ev-ca-seed:hover { border-color: #8bbf5a; }
.ev-ca-seed img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.ev-ca-seed__copy { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; }
.ev-ca-seed__copy small { color: #7a705c; }
.ev-ca-seed__copy em { font-style: normal; font-weight: 600; color: #3f7a34; font-size: 13px; }
.ev-ca-seeds__note { font-size: 12px; font-style: italic; color: #7a705c; }

/* Canada post: five featured seeds with big painted packets (2026-11-21) */
.ev-feat-seeds { margin: 2em 0 2.4em; padding: 1.4em 1.4em .6em; border: 1px solid #e3dccb; border-radius: 16px; background: #fffdf7; }
.ev-feat-seeds > h2 { margin-top: 0; }
.ev-feat-seed { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center; padding: 18px 0; border-top: 1px solid #ece5d4; }
.ev-feat-seed:first-of-type { border-top: 0; }
.ev-feat-seed__pic img { width: 240px; height: 240px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 2px 10px rgba(60,50,30,.12); }
.ev-feat-seed__copy small { color: #7a705c; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.ev-feat-seed__copy h3 { margin: 2px 0 8px; font-size: 1.35em; }
.ev-feat-seed__copy p { margin: 0 0 12px; line-height: 1.55; }
.ev-feat-seed__btn { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #3f7a34; color: #fff !important; font-weight: 600; text-decoration: none; }
.ev-feat-seed__btn:hover { background: #33652a; }
@media (max-width: 640px) { .ev-feat-seed { grid-template-columns: 1fr; } .ev-feat-seed__pic img { width: 100%; height: auto; max-width: 320px; margin: 0 auto; } }
.ev-ca-more { margin: 2em 0; }
.ev-ca-more > summary { cursor: pointer; font-weight: 600; font-size: 1.1em; color: #3f7a34; padding: 10px 0; }
/* Variety list on plant pages: Seeds link (same look as Starters) or a "not for your area" note (2026-11-21) */
.gj-book-section li .ev-var-buy { margin-left: 6px; font-size: 13px; padding: 1px 8px; vertical-align: 1px; white-space: nowrap; }
.gj-book-section li .ev-var-note { display: block; font-size: 13px; color: #8a6d3b; font-style: italic; margin-top: 2px; }
/* Monthly planting list: big seed packets on the side (2026-11-21) */
.gj-now-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.gj-now-seeds { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
.gj-now-seeds h3 { margin: 0 0 2px; font-size: 18px; }
.gj-seed-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px; background: #fff; border: 1px solid #e8dcc8; border-radius: 12px; text-decoration: none !important; color: inherit; }
.gj-seed-card img { width: 170px; height: 170px; object-fit: cover; border-radius: 10px; }
.gj-seed-card b { font-size: 16px; line-height: 1.2; }
.gj-seed-card span { font-size: 13px; color: #6b6b6b; }
.gj-seed-card em { font-style: normal; margin-top: 4px; }
@media (max-width: 900px) {
  .gj-now-wrap { grid-template-columns: 1fr; }
  .gj-now-seeds { position: static; flex-direction: row; overflow-x: auto; order: -1; }
  .gj-seed-card { flex: 0 0 160px; }
  .gj-seed-card img { width: 130px; height: 130px; }
}
/* Home page (2026-11-21): plant-page columns; left = latest post feature + What to Plant, right = discussions + big seeds */
.ev-home-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; background: #fff; border: 1px solid #e8dcc8; border-radius: 14px; overflow: hidden; margin: 4px 0 26px; }
.ev-home-feature__img { align-self: stretch; }
.ev-home-feature__img img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }   /* fills the box; object-position per post keeps the person in view (Tadhg, 2026-11-21) */
.ev-home-feature__body { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.ev-home-feature__body h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.ev-home-feature__body h2 a { color: inherit; text-decoration: none; }
.ev-home-feature__body p { margin: 0; }
.ev-home-feature__body .gj-disc-btn { align-self: flex-start; margin-top: auto; }
.ev-home-feature--noimg { grid-template-columns: 1fr; }
.ev-home-feature--noimg .ev-home-feature__body { padding: 22px; }
.ev-home .gj-now-seeds.ev-home-seeds { position: static; }
.ev-home-seeds .gj-seed-card img { width: 100%; max-width: 250px; height: auto; aspect-ratio: 1; }
@media (max-width: 900px) {
  .ev-home-feature { grid-template-columns: 1fr; }
  .ev-home-feature__body { padding: 0 18px 18px; }
  .ev-home .gj-now-seeds.ev-home-seeds { flex-direction: row; overflow-x: auto; order: 0; }
  .ev-home-seeds .gj-seed-card { flex: 0 0 160px; }
}
/* Home: "More from the blog" = three cards on one line (Tadhg, 2026-11-21) */
.ev-home .ev-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
.ev-home .ev-post-grid .ev-post-card { min-width: 0; max-width: none; }
@media (max-width: 700px) { .ev-home .ev-post-grid { grid-template-columns: 1fr !important; } }
/* Seed strip: a horizontal break in long plant pages (2026-11-21) */
.ev-seed-strip { margin: 28px 0; padding: 16px 18px; background: #f3f0e6; border: 1px solid #e8dcc8; border-radius: 14px; }
.ev-seed-strip h3 { margin: 0 0 12px; font-size: 18px; }
.ev-seed-strip__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev-seed-strip .gj-seed-card img { width: 100%; height: auto; aspect-ratio: 1; }
@media (max-width: 700px) { .ev-seed-strip__row { display: flex; overflow-x: auto; } .ev-seed-strip .gj-seed-card { flex: 0 0 150px; } }
/* Tile labels never split a word ("Anthracnos/e", 2026-11-21): long names shrink a little and wrap only between words */
.icon-label { overflow-wrap: normal !important; word-break: normal !important; hyphens: none; }
.icon-item { min-width: 96px; }
.icon-label:is([data-long]), .icon-item .icon-label { font-size: clamp(12px, 1.6vw, 15px); }
/* Right-hand bar: less space between the discussions box and "Seeds to try" (Tadhg, 2026-11-21) */
.plant-right .gj-discuss { margin-bottom: 14px !important; }
.plant-right .ev-varieties-heading { margin-top: 6px !important; padding-top: 0 !important; }
