/* ============================================================
   efg-styles.css — Eagle Foothills Grape Growers Association
   Shared stylesheet for all site pages.
   To adjust hero image visibility, change the rgba opacity
   values in each page's .efg-page-hero inline style block.
   Current overlays use ~0.55–0.75; lower = more photo visible.
   ============================================================ */

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

/* ── Design tokens ── */
:root {
  --green-deep:   #243318;
  --green-mid:    #3d6128;
  --green-light:  #5c8a3c;
  --green-pale:   #eaf3de;
  --gold:         #b8860b;
  --gold-pale:    #fdf6e3;
  --earth:        #6b3d1a;
  --cream:        #faf8f4;
  --text-dark:    #1c1c1a;
  --text-mid:     #4a4a46;
  --text-muted:   #7a7a74;
  --border:       rgba(0,0,0,0.10);
  --border-light: rgba(0,0,0,0.06);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
  --font-serif:   'Merriweather', Georgia, serif;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
}

/* ── Base ── */
body {
  background: var(--cream);
  margin: 0;
  padding: 0;
}
.wrapper { max-width: 100%; }

/* Hide original Weebly layout elements */
.birdseye-header,
.banner-wrap,
.main-wrap,
.footer-wrap { display: none !important; }


/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.efg-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(36,51,24,0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.efg-nav-logo {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.4;
}
.efg-nav-logo span {
  display: block;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
}
.efg-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.efg-nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.efg-nav-links a:hover { color: #fff; }
.efg-nav-links a.active {
  color: #fff;
  border-bottom: 1.5px solid var(--gold);
}
.efg-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.efg-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
}
/* Dropdown */
.efg-nav-has-dropdown { position: relative; }
.efg-nav-chevron { font-size: 8px; opacity: 0.55; margin-left: 3px; }
.efg-nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24,36,14,0.99);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  min-width: 180px;
  z-index: 300;
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
  transition: opacity 0.18s, visibility 0.18s;
}
.efg-nav-has-dropdown:hover .efg-nav-dropdown,
.efg-nav-has-dropdown:focus-within .efg-nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.efg-nav-dropdown li { margin: 0; padding: 0; }
.efg-nav-dropdown a {
  display: block;
  padding: 9px 20px;
  white-space: nowrap;
  border-bottom: none !important;
}
.efg-nav-dropdown a.active { color: #fff; }


/* ════════════════════════════════════════
   HERO — base styles
   Background image + overlay set per-page
   via an inline <style> block in each HTML.
════════════════════════════════════════ */
.efg-hero,
.efg-page-hero {
  padding: 72px 40px 60px;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.efg-page-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #f5c842;
  background: rgba(184,134,11,0.35);
  border: 1px solid rgba(245,200,66,0.60);
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 18px;
}
.efg-hero h1,
.efg-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
}
.efg-hero h1 em,
.efg-page-hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}
.efg-hero p,
.efg-page-hero p {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.70);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}
/* index.html hero logo */
.efg-hero-logo { margin-bottom: 28px; }
.efg-hero-logo img {
  width: 180px;
  max-width: 100%;
  opacity: 0.92;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}
/* index.html hero CTA button */
.efg-hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
  display: inline-block;
}
.efg-hero-cta:hover { background: var(--cream); transform: translateY(-1px); }
/* index.html grape dot row */
.efg-hero-grapes { display: flex; justify-content: center; gap: 4px; margin-top: 28px; opacity: 0.25; }
.efg-grape { width: 5px; height: 5px; background: #fff; border-radius: 50%; }


/* ════════════════════════════════════════
   AVA STATS BAR (index.html)
════════════════════════════════════════ */
.efg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green-deep);
  border-bottom: 3px solid var(--gold);
}
.efg-stat {
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.efg-stat:last-child { border-right: none; }
.efg-stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  display: block;
}
.efg-stat-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 4px;
}


/* ════════════════════════════════════════
   SECTION SHELLS
════════════════════════════════════════ */
.efg-section      { padding: 64px 40px; background: var(--cream); }
.efg-section-alt  { padding: 64px 40px; background: #fff; }
.efg-section-dark { padding: 64px 40px; background: var(--green-deep); }

.efg-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.efg-eyebrow-light {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.efg-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}
.efg-heading-light {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}
.efg-body {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}
.efg-body-light {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.70);
  line-height: 1.85;
}
.efg-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 32px;
  border: none;
}
.efg-divider-center { margin-left: auto; margin-right: auto; }


/* ════════════════════════════════════════
   PURPOSE CARDS (index.html)
════════════════════════════════════════ */
.efg-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.efg-purpose-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.efg-purpose-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
}
.efg-purpose-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.efg-purpose-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.efg-purpose-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.efg-purpose-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.efg-purpose-card p {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin: 0;
}


/* ════════════════════════════════════════
   WINERY CARDS (index.html)
════════════════════════════════════════ */
.efg-winery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.efg-winery-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.efg-winery-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.efg-winery-banner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.efg-winery-banner-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.efg-winery-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.efg-winery-body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px;
}
.efg-winery-varietals {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.efg-winery-body p {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.80;
  margin: 0 0 14px;
  flex: 1;
}
.efg-winery-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.efg-winery-link:hover { color: var(--green-deep); }
.efg-winery-link svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.efg-wineries-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.efg-wineries-intro-text { max-width: 500px; }
.efg-idaho-wine-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--green-pale);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.efg-idaho-wine-link:hover { color: var(--green-deep); border-color: var(--green-mid); }


/* ════════════════════════════════════════
   AVA SECTION (index.html)
════════════════════════════════════════ */
.efg-ava-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.efg-ava-map {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 32px;
  text-align: center;
}
.efg-ava-map img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.efg-ava-facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.efg-ava-facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}
.efg-ava-facts li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   PAST EVENTS (index.html + events.html)
════════════════════════════════════════ */
.efg-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.efg-event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: background 0.2s;
}
.efg-event-card:hover { background: rgba(255,255,255,0.09); }
.efg-event-date { text-align: center; flex-shrink: 0; width: 52px; }
.efg-event-date-mo {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.efg-event-date-day {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  display: block;
}
.efg-event-date-yr {
  font-family: var(--font-sans);
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-top: 3px;
}
.efg-event-info h3,
.efg-event-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.efg-event-info p {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.60);
  margin: 0 0 4px;
  line-height: 1.7;
}
.efg-event-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: 10px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.efg-event-link:hover { opacity: 1; }
.efg-event-link svg {
  width: 11px; height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.efg-events-note {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.40);
  text-align: center;
  margin-top: 28px;
}


/* ════════════════════════════════════════
   PHOTO GALLERY (events.html)
════════════════════════════════════════ */
.efg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.efg-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}
.efg-gallery-img:hover { transform: scale(1.02); opacity: 0.92; }
.efg-gallery-caption {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}


/* ════════════════════════════════════════
   CONTACT FORM (contact.html)
════════════════════════════════════════ */
.efg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.efg-form { display: flex; flex-direction: column; gap: 20px; }
.efg-form-group { display: flex; flex-direction: column; gap: 6px; }
.efg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.efg-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.efg-label .req { color: var(--gold); margin-left: 2px; }
.efg-input,
.efg-textarea {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.efg-input:focus,
.efg-textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,97,40,0.10);
}
.efg-textarea { height: 180px; resize: vertical; line-height: 1.7; }
.efg-submit {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-deep);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.efg-submit:hover { background: var(--green-mid); transform: translateY(-1px); }
.efg-submit:active { transform: translateY(0); }
.efg-required-note {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.efg-required-note span { color: var(--gold); }
.efg-contact-photo { width: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.efg-contact-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.efg-contact-info {
  margin-top: 28px;
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.efg-contact-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}
.efg-contact-info p {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0 0 10px;
}
.efg-contact-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: 6px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.efg-contact-fb:hover { opacity: 1; }
.efg-contact-fb img { width: 18px; height: 18px; filter: invert(1) opacity(0.7); }


/* ════════════════════════════════════════
   DOCUMENT & DOWNLOAD CARDS
   (resources.html + members-only-resources.html)
════════════════════════════════════════ */
.efg-resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.efg-doc-list { display: flex; flex-direction: column; gap: 10px; }
.efg-doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.efg-doc-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-1px);
  border-color: var(--border);
}
.efg-doc-badge {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.efg-doc-badge.pdf  { background: rgba(184,134,11,0.12); color: var(--gold); }
.efg-doc-badge.img  { background: rgba(61,97,40,0.12);   color: var(--green-mid); }
.efg-doc-badge.file { background: rgba(107,61,26,0.10);  color: var(--earth); }
.efg-doc-badge svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.efg-doc-info { flex: 1; min-width: 0; }
.efg-doc-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.efg-doc-meta {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.efg-doc-arrow {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.efg-doc-item:hover .efg-doc-arrow { stroke: var(--green-mid); }


/* ════════════════════════════════════════
   EXTERNAL LINKS LIST (resources.html)
════════════════════════════════════════ */
.efg-links-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.efg-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.efg-link-item:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); }
.efg-link-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.efg-link-label {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.efg-link-arrow {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke 0.2s;
}
.efg-link-item:hover .efg-link-arrow { stroke: var(--gold); }


/* ════════════════════════════════════════
   MAP CARDS (resources.html)
════════════════════════════════════════ */
.efg-maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.efg-map-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.efg-map-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.09); transform: translateY(-2px); }
.efg-map-card img { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 1px solid var(--border-light); }
.efg-map-body { padding: 18px 20px; }
.efg-map-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px;
}
.efg-map-body p {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 14px;
}
.efg-map-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.efg-map-download:hover { color: var(--green-deep); }
.efg-map-download svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ════════════════════════════════════════
   MEMBERSHIP CARDS (membership.html)
════════════════════════════════════════ */
.efg-membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.efg-membership-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.efg-membership-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.08); transform: translateY(-2px); }
.efg-membership-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
}
.efg-membership-card-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border-light);
}
.efg-membership-type {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 6px;
}
.efg-membership-card-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.efg-membership-card-head p {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}
.efg-membership-card-body { padding: 24px 28px 28px; }
.efg-membership-card-body h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.efg-benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.efg-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}
.efg-benefit-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
/* Closed notice (membership.html) */
.efg-closed-banner {
  background: var(--gold-pale);
  border: 1px solid rgba(184,134,11,0.30);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 52px;
}
.efg-closed-banner svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 1px; }
.efg-closed-banner-text h3 { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #7a5c00; margin: 0 0 4px; text-transform: uppercase; }
.efg-closed-banner-text p { font-family: var(--font-serif); font-size: 13px; font-weight: 300; color: #6b4f00; line-height: 1.7; margin: 0; }
.efg-closed-banner-text a { color: var(--green-mid); }
/* CTA box (membership.html) */
.efg-cta-box { background: var(--green-deep); border-radius: var(--radius-lg); padding: 40px; text-align: center; max-width: 560px; margin: 0 auto; }
.efg-cta-box h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.efg-cta-box p { font-family: var(--font-serif); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 0 0 24px; }
.efg-cta-btn { display: inline-block; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); background: #fff; padding: 13px 30px; border-radius: var(--radius-sm); text-decoration: none; transition: background 0.2s, transform 0.15s; }
.efg-cta-btn:hover { background: var(--cream); transform: translateY(-1px); }


/* ════════════════════════════════════════
   MEMBER RESOURCES (members-only-resources.html)
════════════════════════════════════════ */
.efg-member-notice {
  background: var(--green-pale);
  border: 1px solid rgba(61,97,40,0.20);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.efg-member-notice svg { width: 20px; height: 20px; stroke: var(--green-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.efg-member-notice p { font-family: var(--font-serif); font-size: 13px; font-weight: 300; color: var(--green-deep); line-height: 1.7; margin: 0; }
.efg-member-notice a { color: var(--green-mid); }
.efg-artwork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 960px; margin: 0 auto; align-items: start; }
.efg-artwork-preview { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.efg-artwork-preview img { max-width: 100%; height: auto; display: inline-block; }
.efg-artwork-preview-label { font-family: var(--font-sans); font-size: 10px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 14px; }
.efg-artwork-formats h4 { font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }


/* ════════════════════════════════════════
   WINERY MAP (index.html)
════════════════════════════════════════ */
.efg-winery-map-container {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.efg-map-popup .leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 0;
}
.efg-map-popup .leaflet-popup-content { margin: 0; }
.efg-map-popup .leaflet-popup-tip-container { display: none; }


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.efg-footer {
  background: #131f0c;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 3px solid var(--gold);
}
.efg-footer-logo {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.efg-footer-logo span {
  display: block;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
}
.efg-footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.efg-footer-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.2s;
}
.efg-footer-links a:hover { color: rgba(255,255,255,0.80); }
.efg-footer-right { text-align: right; }
.efg-footer-social { margin-bottom: 10px; }
.efg-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s;
}
.efg-footer-social a:hover { border-color: rgba(255,255,255,0.40); background: rgba(255,255,255,0.06); }
.efg-footer-social img { width: 16px; height: 16px; filter: invert(1) opacity(0.55); }
.efg-footer-copy { font-family: var(--font-sans); font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .efg-nav-links { display: none; }
  .efg-hamburger { display: flex; }
  .efg-nav { padding: 0 24px; }
  .efg-nav-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 12px;
    min-width: 0;
  }
  .efg-nav-chevron { display: none; }
  .efg-section,
  .efg-section-alt,
  .efg-section-dark { padding: 44px 24px; }
  .efg-hero,
  .efg-page-hero { padding: 52px 24px 44px; }
  .efg-stats { grid-template-columns: repeat(2, 1fr); }
  .efg-purpose-grid,
  .efg-ava-grid,
  .efg-contact-grid,
  .efg-resource-grid,
  .efg-membership-grid,
  .efg-artwork-grid { grid-template-columns: 1fr; gap: 28px; }
  .efg-winery-grid { grid-template-columns: 1fr 1fr; }
  .efg-footer { flex-direction: column; align-items: flex-start; }
  .efg-footer-right { text-align: left; }
}
@media (max-width: 540px) {
  .efg-nav { padding: 0 20px; }
  .efg-winery-grid { grid-template-columns: 1fr; }
  .efg-form-row { grid-template-columns: 1fr; }
}
