/* =====================================================================
   Preserve Outfitters — HEADER & FOOTER skin (Loden & Brass)
   Reskins the Divi Theme Builder header (37443) + footer (37420) in place.
   Targets stable Divi TB classes so the live WP menu + Mailchimp signup keep
   working. Enqueued site-wide (NOT scoped to .preserve-hunts).

   A few things must be set in the Divi Theme Builder UI (can't be done in CSS) —
   see the "TB SETTINGS" notes in README / CHANGELOG:
     • Header section background → solid #1a2b29 (REMOVE the torn-paper image)
     • Header logo image → the ram crest (preserve-crest-cream.png), ~50px tall
     • (Optional) add a Button module "Book a Hunt" → /book-a-hunt in the header row
   ===================================================================== */

:root{
  --pf-display:"Playfair Display", Georgia, serif;
  --pf-serif:"Cormorant Garamond", Georgia, serif;
  --pf-sans:"Montserrat","Helvetica Neue",Arial,sans-serif;
  --pf-mono:"JetBrains Mono",ui-monospace,monospace;
  --pf-ink:#1c1a17; --pf-loden:#1a2b29; --pf-paper:#faf6ed;
  --pf-on:#efe9d8; --pf-dim:#aab09b; --pf-gold:#cda85f;
}

/* =====================================================================
   HEADER — handled entirely by the self-contained Code module
   (resources/header-code-module.html). No menu-module CSS here anymore;
   the Code module owns its own styles + the wrapper-zeroing it needs.
   ===================================================================== */

/* =====================================================================
   FOOTER  (.et-l--footer)
   ===================================================================== */
.et-l--footer .et_pb_section{
  background-color:var(--pf-ink)!important;
  background-image:none!important;
  position:relative;
}
/* Footer watermark — OFF by default. The earlier gun-dog PHOTO read as an odd
   faint square (rectangular image at low opacity). To enable a tasteful CREST
   watermark instead (transparent silhouette, no square), uncomment below. */
.et-l--footer .et_pb_section > .et_pb_row{ position:relative; z-index:1; }
/*
.et-l--footer .et_pb_section::after{
  content:""; position:absolute; left:26px; bottom:22px; width:168px; height:168px; z-index:0;
  background:url('/wp-content/uploads/preserve-hunts/preserve-crest-cream.png') left bottom / contain no-repeat;
  opacity:.05; pointer-events:none;
}
@media(max-width:780px){ .et-l--footer .et_pb_section::after{ display:none; } }
*/
.et-l--footer{ color:var(--pf-on); }

/* Headings + body text */
.et-l--footer .et_pb_text h1,.et-l--footer .et_pb_text h2,.et-l--footer .et_pb_text h3,
.et-l--footer .et_pb_text h4,.et-l--footer .et_pb_text h5,.et-l--footer .et_pb_text h6{
  font-family:var(--pf-mono)!important; font-size:10px!important; letter-spacing:.2em!important;
  text-transform:uppercase!important; color:var(--pf-gold)!important; margin-bottom:16px!important;
}
.et-l--footer .et_pb_text,.et-l--footer .et_pb_text p,.et-l--footer .et_pb_text li{
  font-family:var(--pf-serif)!important; font-size:16px!important; line-height:1.6!important; color:var(--pf-dim)!important;
}
.et-l--footer .et_pb_text a{
  color:var(--pf-on)!important; text-decoration:none!important; transition:color .15s ease;
}
.et-l--footer .et_pb_text a:hover,.et-l--footer .et_pb_text a:focus{ color:var(--pf-gold)!important; }

/* the big phone number, if it's an h-tag or strong */
.et-l--footer .et_pb_text strong{ color:var(--pf-paper)!important; }

/* Social follow icons → outlined, gold on hover */
.et-l--footer .et_pb_social_media_follow li a.icon{
  background-color:transparent!important; border:1px solid rgba(255,255,255,.2)!important;
  border-radius:0!important; color:var(--pf-dim)!important; transition:all .18s ease;
}
.et-l--footer .et_pb_social_media_follow li a.icon:hover{ border-color:var(--pf-gold)!important; }
.et-l--footer .et_pb_social_media_follow li a.icon:before{ color:var(--pf-dim)!important; }
.et-l--footer .et_pb_social_media_follow li a.icon:hover:before{ color:var(--pf-gold)!important; }

/* Mailchimp signup (et_pb_newsletter / signup module) */
.et-l--footer .et_pb_newsletter,
.et-l--footer .et_pb_newsletter_description h2,
.et-l--footer .et_pb_signup{ background:transparent!important; }
.et-l--footer .et_pb_newsletter_description h1,
.et-l--footer .et_pb_newsletter_description h2{
  font-family:var(--pf-mono)!important; font-size:10px!important; letter-spacing:.2em!important;
  text-transform:uppercase!important; color:var(--pf-gold)!important;
}
.et-l--footer .et_pb_newsletter_description p{
  font-family:var(--pf-serif)!important; font-size:16px!important; color:var(--pf-dim)!important;
}
.et-l--footer .et_pb_newsletter_field input,
.et-l--footer .et_pb_newsletter input[type=text],
.et-l--footer .et_pb_newsletter input[type=email]{
  font-family:var(--pf-serif)!important; font-size:16px!important; color:var(--pf-paper)!important;
  background:rgba(255,255,255,.05)!important; border:1px solid rgba(255,255,255,.18)!important;
  border-radius:0!important; padding:12px 14px!important;
}
.et-l--footer .et_pb_newsletter_field input::placeholder{ color:var(--pf-dim)!important; }
.et-l--footer .et_pb_newsletter_field input:focus{ border-color:var(--pf-gold)!important; background:rgba(255,255,255,.08)!important; }
.et-l--footer .et_pb_newsletter_button.et_pb_button,
.et-l--footer .et_pb_newsletter_button{
  font-family:var(--pf-sans)!important; font-size:11px!important; font-weight:600!important;
  letter-spacing:.16em!important; text-transform:uppercase!important;
  color:var(--pf-ink)!important; background:var(--pf-gold)!important;
  border:0!important; border-radius:0!important; padding:14px 26px!important;
}
.et-l--footer .et_pb_newsletter_button.et_pb_button:after{ display:none!important; }
.et-l--footer .et_pb_newsletter_button:hover{ background:var(--pf-paper)!important; }
