/* ev-site.css: the offline site's garden_site.css, so WordPress looks the same as the offline copy (2026-11-19).
   Loaded after style.css, before journal.css. Keep in step with island/garden_site.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ev-text); line-height: 1.3; }
h2 { font-size: 22px; margin: 28px 0 10px; }
.site-content { padding-top: 10px; }
.ast-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
body.ev-full-width .ast-container { max-width: 100%; padding: 0; }

/* Purple ZIP bar text (header.php inline styles) */
.top-zip-info { display: flex; align-items: center; gap: 10px; margin-right: 4px; }
.usda-bar { display: flex; align-items: center; gap: 10px; color: #fff; flex-wrap: wrap; }
.usda-form label { color: #fff; }
.usda-form input[name="zip"] { height: 24px; width: 90px; padding: 1px 6px; border-radius: 4px; border: 1px solid #fff; color: #111; font-size: 12px; }
.usda-form button { height: 24px; border-radius: 4px; border: 1px solid #fff; cursor: pointer; font-size: 12px; padding: 0 8px; }

/* Astra header: logo left, "what to plant" headline centre, search right; mega menu row below */
.ev-site-header { background: #fff; border-bottom: 1px solid #ccc; position: relative; z-index: 50; }
.ev-header-main { max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.ev-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #000; }
.ev-logo img { width: 39px; height: auto; }
.ev-logo span { font-family: "Times New Roman", Georgia, serif; font-size: 34px; letter-spacing: .5px; text-transform: uppercase;
  color: #000; white-space: nowrap; line-height: 1; }
.ev-logo:hover span { color: #000; }
.ev-header-html { text-align: center; }
#planting-headline { font-family: Georgia, serif; font-size: 15px; font-weight: 600; letter-spacing: .3px; color: var(--ev-purple);
  text-decoration: none; }
#planting-headline:hover { text-decoration: underline; }
.ev-search { display: flex; border: 1px solid var(--ev-border); border-radius: 999px; overflow: hidden; }
.ev-search input { border: 0; padding: 6px 12px; font-size: 14px; width: 170px; outline: none; }
.ev-search button { border: 0; background: transparent; cursor: pointer; padding: 0 10px; font-size: 14px; }

.ev-mega { border-top: 1px solid #ccc; background: #fff; }
.ev-mega > ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; max-width: 1240px; }
.mega-item > a { display: block; padding: 12px 10px; font-family: Georgia, serif; font-size: 17px; color: #000; text-decoration: none; }
.mega-item > a:hover { color: var(--ev-purple); }
.mega-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgb(241,241,241);
  padding: 20px 40px; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
.mega-item:hover .mega-panel, .mega-item:focus-within .mega-panel { display: block; }
.mega-panel ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1160px; columns: 6 150px; column-gap: 24px; }
.mega-panel li { break-inside: avoid; }
.mega-panel a { display: block; padding: 3px 0; font-size: 14px; color: rgb(85,85,85); text-decoration: none; }
.mega-panel a:hover { font-weight: bold; color: rgb(85,85,85); }

/* Page bits */
.ev-page-title { font-size: 30px; font-weight: 800; margin: 10px 0 14px; }
.ev-home-hero { text-align: center; padding: 28px 20px 4px; }
.ev-home-hero h1 { font-family: "Times New Roman", Georgia, serif; text-transform: uppercase; letter-spacing: 1px; font-size: 40px; margin: 0; }
.ev-home-hero p { color: var(--ev-text-light); margin: 6px 0 0; }
.ev-card { display: flex; flex-direction: column; align-items: center; width: 120px; padding: 12px; text-align: center;
  border: 1px solid var(--ev-border); border-radius: var(--ev-radius); background: #fff; text-decoration: none; color: var(--ev-text); }
/* The child theme makes variety cards a 52px grid, the live site's Additional CSS makes the icon 72-150px:
   together they overlap. Keep the live site's look (flex). Fix this in style.css before going on WordPress. */
a.ev-variety { display: flex; }
.ev-wtp__month select { padding: 8px 10px; border: 1px solid var(--ev-border); border-radius: 8px; font-size: 14px; min-width: 140px; }
.ev-zone-var-link { margin: 8px 0 0; font-size: 14px; }
.pest-icon { vertical-align: middle; border-radius: 8px; }
.btn-sponsor { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--ev-purple); color: #fff !important; text-decoration: none; }

/* Varieties by Zone */
.vz-lead { color: var(--ev-text-light); margin-top: 0; }
.vz-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 14px 0; }
.vz-form label { display: flex; flex-direction: column; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ev-text-light); gap: 4px; }
.vz-form select { padding: 8px 10px; border: 1px solid var(--ev-border); border-radius: 8px; font-size: 14px; min-width: 120px; }
.vz-csv { font-size: 13px; margin-left: auto; align-self: center; }
.vz-count { font-size: 13px; color: var(--ev-text-light); }
.vz-table-wrap { overflow-x: auto; border: 1px solid var(--ev-border); border-radius: var(--ev-radius); }
.vz-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vz-table th { text-align: left; background: #faf5ff; color: var(--ev-purple-dark); font-size: 11px; text-transform: uppercase;
  letter-spacing: .5px; padding: 10px 12px; border-bottom: 1px solid var(--ev-border); }
.vz-table td { padding: 8px 12px; border-bottom: 1px solid var(--ev-border); vertical-align: top; }
.vz-table img { border-radius: 6px; display: block; }
.vz-notes { font-size: 12px; color: var(--ev-text-light); margin-top: 2px; }
.vz-badge { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.vz-badge.yes { background: #dcfce7; color: #166534; }
.vz-badge.no { background: #fee2e2; color: #991b1b; }

/* What to Plant tables (same look as Varieties by Zone) */
.vz-meta { align-self: center; }
.vz-meta .ev-chip, .vz-lead .ev-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px;
  border: 1px solid var(--ev-border); background: var(--ev-bg-subtle); }
.vz-form input[type="text"] { padding: 8px 10px; border: 1px solid var(--ev-border); border-radius: 8px; font-size: 14px; width: 110px; }
.vz-intro { color: #4b5563; font-size: 14px; line-height: 1.6; max-width: 900px; }
.vz-filter { margin: 6px 0 0; }
.vz-monthnav { align-self: center; font-size: 13px; }
.vz-plant { color: var(--ev-text); text-decoration: none; }
.vz-plant:hover { color: var(--ev-purple); }
.vz-links { white-space: nowrap; font-size: 13px; }
.vz-type { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; background: #f3f4f6; color: #374151; }
.vz-type-vegetables { background: #dcfce7; color: #166534; }
.vz-type-flowers { background: #fae8ff; color: #86198f; }
.vz-type-herbs { background: #ecfccb; color: #3f6212; }
.vz-type-fruit { background: #ffedd5; color: #9a3412; }
.vz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }

/* Home banner (title_image) */
.ev-home-banner { margin-top: -10px; }
.ev-home-banner img { width: 100%; max-height: 360px; object-fit: cover; }

/* Blog and Mateo's pages */
.ev-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ev-post-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius); background: #fff; text-decoration: none; color: var(--ev-text);
  transition: box-shadow var(--ev-transition), transform var(--ev-transition); }
.ev-post-card:hover { box-shadow: var(--ev-shadow); transform: translateY(-2px); color: var(--ev-text); }
.ev-post-card h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.ev-post-card p { margin: 0; font-size: 14px; color: #4b5563; }
.ev-post-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ev-purple); font-weight: 600; }
.ev-post-when { font-size: 12px; color: var(--ev-text-light); margin-top: auto; }
.ev-article { max-width: 820px; }
.ev-article h1 { font-size: 32px; font-weight: 800; margin: 10px 0 14px; }
.ev-article p, .ev-article li { line-height: 1.7; }
.ev-article blockquote { border-left: 3px solid var(--ev-purple); margin: 12px 0; padding: 4px 14px; color: #4b5563; }
.ev-article .md-table { margin: 14px 0; }
.ev-post-meta { font-size: 13px; color: var(--ev-text-light); }
.ev-draft-note { max-width: 1200px; margin: 12px auto 0; padding: 10px 16px; border: 1px dashed var(--ev-purple);
  border-radius: var(--ev-radius-sm); background: #faf5ff; font-size: 14px; }

/* Diseases section on plant pages (same look as Common Pests) */
.common-diseases { margin-top: 28px; }
.ev-soon { color: var(--ev-text-light); font-style: italic; font-size: 14px; }

/* Community: grower reports, comments, forum (forms show the live look; the working copy saves nothing) */
.ev-community { margin-top: 32px; padding: 20px; border: 1px solid var(--ev-border); border-radius: var(--ev-radius); background: #fff; }
.ev-community h2 { margin-top: 0; }
.ev-comm-lead { color: #4b5563; font-size: 15px; margin: 0 0 12px; }
.ev-comm-summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--ev-radius-sm);
  background: var(--ev-bg-subtle); font-size: 14px; color: var(--ev-text-light); margin-bottom: 14px; }
.ev-stars-empty { color: #d1d5db; letter-spacing: 2px; font-size: 18px; }
.ev-comm-form { display: grid; gap: 12px; }
.ev-comm-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ev-text); }
.ev-comm-form input, .ev-comm-form select, .ev-comm-form textarea { font: inherit; font-weight: 400; padding: 8px 10px;
  border: 1px solid var(--ev-border); border-radius: 8px; background: var(--ev-bg-subtle); }
.ev-comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ev-comm-form button { justify-self: start; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--ev-purple);
  color: #fff; font-weight: 600; opacity: .55; cursor: not-allowed; }
.ev-star-row { border: 0; padding: 0; margin: 0; display: flex; gap: 4px; align-items: center; }
.ev-star-row legend { font-size: 13px; font-weight: 600; float: left; margin-right: 10px; }
.ev-star input { position: absolute; opacity: 0; }
.ev-star span[aria-hidden] { font-size: 26px; color: #d1d5db; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ev-live-note { margin: 0; font-size: 12.5px; color: var(--ev-text-light); font-style: italic; }

/* footer.php inline styles */
#ev-footer-band { background: var(--ev-purple, #9333EA); margin: 40px 0 0; padding: 0; width: 100%; line-height: 0; }
#ev-footer-band img { display: block; width: 100%; height: auto; border: 0; margin: 0; background: #fff; }
#ev-footer { background: var(--ev-purple, #9333EA); color: #fff; padding: 50px 20px 30px; font-family: Georgia, serif; }
.ev-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-col h4 { font-size: 18px; margin: 0 0 14px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 6px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: #e6e6e6; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.ev-footer-bottom { border-top: 1px solid rgba(255,255,255,.2); text-align: center; margin-top: 40px; padding-top: 20px; font-size: 14px; color: #ddd; }
.ev-footer-bottom p { margin: 4px 0; }
.ev-offline-note { font-family: var(--ev-font); font-size: 12px; opacity: .85; }
.ev-offline-note a { color: #fff; }

@media (max-width: 900px) {
  .ev-header-main { grid-template-columns: 1fr auto; }
  .ev-header-html { grid-column: 1 / -1; order: 3; }
  .ev-logo span { font-size: 24px; }
  .ev-search input { width: 110px; }
  .mega-panel { padding: 16px; }
}
@media (max-width: 700px) {
  .ev-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .ev-wtp__grid { grid-template-columns: 1fr; }
}

/* Iris's blog title pictures (2026-11-04): the thumbnail on each card, the title picture on the post */
.ev-post-thumb { display: block; width: calc(100% + 32px); max-width: none !important; margin: -16px -16px 6px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px 10px 0 0; }
.ev-post-card { overflow: hidden; }
.ev-post-title-pic { margin: 12px 0 20px; }
.ev-post-title-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
@media (max-width: 600px) { .ev-post-title-pic img { aspect-ratio: 4 / 3; } }
