/*
 * Wildlens brochure balance — v5.0.1
 * Rebalances the site away from excessive green while preserving the approved brochure palette.
 * Loaded after brochure-palette.css so it can safely correct legacy colour-heavy sections.
 */
:root {
  --wl-brochure-cream: #FEF7E8;
  --wl-brochure-paper: #FEF7E8;
  --wl-brochure-sand: #D5BD98;
  --wl-brochure-stone: #B49A80;
  --wl-brochure-earth: #916C48;
  --wl-brochure-gold: #D38B17;
  --wl-brochure-gold-soft: #E6B45A;
  --wl-brochure-charcoal: #262626;
  --wl-brochure-copy: #555555;
  --wl-brochure-deep: #11252A;
  --wl-brochure-green: #0E6B50;
}

/* Main visual balance: paper and ivory lead; green becomes a controlled action colour. */
body,
.wl-homepage,
.wl-about-page,
.wl-contact-page,
.wl-support-page,
.wl-sitemap-page,
.wl-journal-page,
.wl-destinations-page {
  background: var(--wl-brochure-paper);
}

/* Alternate editorial section surfaces, inspired by the brochure pages. */
.wl-homepage .wl-home-premium-section:nth-of-type(odd):not(.wl-home-premium-section--night),
.wl-homepage .wl-home-intro,
.wl-homepage .wl-home-tours-showcase,
.wl-homepage .wl-home-proof,
.wl-about-page .wl-about-section:nth-of-type(odd),
.wl-contact-page .wl-contact-section:nth-of-type(odd) {
  background: var(--wl-brochure-cream) !important;
}

.wl-homepage .wl-home-premium-section:nth-of-type(even):not(.wl-home-premium-section--night),
.wl-about-page .wl-about-section:nth-of-type(even),
.wl-contact-page .wl-contact-section:nth-of-type(even) {
  background: var(--wl-brochure-paper) !important;
}

/* Night sections use the brochure's deep blue-green rather than forest green. */
.wl-homepage .wl-home-premium-section--night,
.wl-homepage .wl-home-final-cta,
.wl-trust-page__hero,
.wl-site-footer .wl-footer-hero,
.wl-site-footer .wl-footer-planning-card,
.site-footer .wl-footer-hero,
.site-footer .wl-footer-planning-card {
  background:
    radial-gradient(circle at 82% 16%, rgba(211,139,23,.18), transparent 28rem),
    linear-gradient(135deg, var(--wl-brochure-deep) 0%, #172B2D 55%, #2E2923 100%) !important;
}

/* Trust band becomes a warm editorial band instead of another large green block. */
.wl-home-trust-band {
  color: var(--wl-brochure-charcoal) !important;
  background:
    linear-gradient(90deg, rgba(211,139,23,.08), transparent 28%, rgba(139,106,67,.06)),
    var(--wl-brochure-cream) !important;
  border-top: 1px solid rgba(211,139,23,.22);
  border-bottom: 1px solid rgba(139,106,67,.16);
}
.wl-home-trust-band__intro h2,
.wl-home-trust-band__items strong {
  color: var(--wl-brochure-charcoal) !important;
}
.wl-home-trust-band__items {
  background: rgba(139,106,67,.16) !important;
  border-color: rgba(139,106,67,.12) !important;
}
.wl-home-trust-band__items article {
  background: rgba(252,251,248,.94) !important;
}
.wl-home-trust-band__items article > span {
  color: var(--wl-brochure-gold) !important;
}
.wl-home-trust-band__items p {
  color: var(--wl-brochure-copy) !important;
}
.wl-home-trust-band__cta {
  color: #fff !important;
  background: var(--wl-brochure-charcoal) !important;
  box-shadow: 0 12px 30px rgba(38,38,38,.14);
}
.wl-home-trust-band__cta:hover {
  background: var(--wl-brochure-earth) !important;
}

/* Cards use brochure paper, sand and gold—not green-tinted surfaces. */
.wl-card-premium,
.wl-homepage .style-card,
.wl-homepage .wl-home-planning-card,
.wl-homepage .wl-home-purpose-card,
.wl-homepage .wl-home-resource-card,
.wl-homepage .wl-home-why-card,
.wl-homepage .wl-home-tour-card,
.wl-homepage .wl-home-journal-card,
.wl-homepage .wl-stay-card,
.wl-journal-card,
.wl-tour-card,
.wl-person-card,
.wl-story-card,
.wl-footer-card,
.wl-footer-dispatch,
.wl-about-card,
.wl-contact-card,
.wl-support-card {
  background:
    linear-gradient(145deg, rgba(252,251,248,.98), rgba(247,242,232,.92)) !important;
  border-color: rgba(185,163,140,.42) !important;
  box-shadow: 0 18px 48px rgba(79,63,45,.08) !important;
}

/* Warm editorial accents inside cards. */
.wl-homepage .style-card::before,
.wl-homepage .wl-home-planning-card::before,
.wl-homepage .wl-home-purpose-card::before,
.wl-homepage .wl-home-resource-card::before,
.wl-homepage .wl-home-why-card::before,
.wl-homepage .wl-home-tour-card::before,
.wl-homepage .wl-home-journal-card::before,
.wl-homepage .wl-stay-card::before {
  background: linear-gradient(90deg, var(--wl-brochure-gold), var(--wl-brochure-earth)) !important;
}

/* Preserve excellent contrast on all light cards. */
.wl-card-premium h1,
.wl-card-premium h2,
.wl-card-premium h3,
.wl-card-premium h4,
.wl-homepage .style-card h2,
.wl-homepage .style-card h3,
.wl-homepage .wl-home-planning-card h2,
.wl-homepage .wl-home-planning-card h3,
.wl-homepage .wl-home-purpose-card h2,
.wl-homepage .wl-home-purpose-card h3,
.wl-homepage .wl-home-resource-card h2,
.wl-homepage .wl-home-resource-card h3,
.wl-homepage .wl-home-why-card h2,
.wl-homepage .wl-home-why-card h3,
.wl-homepage .wl-home-tour-card h2,
.wl-homepage .wl-home-tour-card h3,
.wl-homepage .wl-home-journal-card h2,
.wl-homepage .wl-home-journal-card h3,
.wl-homepage .wl-stay-card h2,
.wl-homepage .wl-stay-card h3,
.wl-person-card h3,
.wl-story-card blockquote,
.wl-footer-card h2,
.wl-footer-card h3,
.wl-footer-card h4 {
  color: var(--wl-brochure-charcoal) !important;
}

.wl-card-premium p,
.wl-homepage .style-card p,
.wl-homepage .wl-home-planning-card p,
.wl-homepage .wl-home-purpose-card p,
.wl-homepage .wl-home-resource-card p,
.wl-homepage .wl-home-why-card p,
.wl-homepage .wl-home-tour-card p,
.wl-homepage .wl-home-journal-card p,
.wl-homepage .wl-stay-card p,
.wl-person-card p,
.wl-story-card footer span,
.wl-footer-card p,
.wl-footer-card li,
.wl-footer-card address {
  color: var(--wl-brochure-copy) !important;
}

/* Eyebrows, badges and dividers follow the brochure's gold/orange language. */
.wl-brand-eyebrow,
.wl-homepage [class*="eyebrow"],
.wl-about-page [class*="eyebrow"],
.wl-contact-page [class*="eyebrow"],
.wl-journal-page [class*="eyebrow"],
.wl-person-card__role,
.wl-person-card__location,
.wl-homepage .wl-home-destination-card__badge,
.wl-tour-card__destination {
  color: var(--wl-brochure-gold) !important;
}

/* Neutral dark buttons are used for general navigation; green is reserved for planning actions. */
.wl-homepage .wl-button:not(.wl-button--primary):not(.wl-button--gold),
.wl-homepage .wl-home-tours-toggle,
.wl-tour-card .wl-button:not(.wl-button--primary),
.wl-site-footer .wl-footer-link-button {
  color: #fff !important;
  background: var(--wl-brochure-charcoal) !important;
  border-color: var(--wl-brochure-charcoal) !important;
}
.wl-homepage .wl-button:not(.wl-button--primary):not(.wl-button--gold):hover,
.wl-homepage .wl-home-tours-toggle:hover,
.wl-tour-card .wl-button:not(.wl-button--primary):hover {
  background: var(--wl-brochure-earth) !important;
  border-color: var(--wl-brochure-earth) !important;
}

/* Green remains intentional: primary conversion actions and confirmed states only. */
.wl-button--primary,
.wl-homepage #safari-planner-form button[type="submit"],
.wl-contact-page button[type="submit"],
.wl-site-footer .wl-button-primary,
.wl-tour-enquiry__card .wl-button-primary {
  color: #fff !important;
  background: var(--wl-brochure-green) !important;
  border-color: var(--wl-brochure-green) !important;
}
.wl-button--primary:hover,
.wl-homepage #safari-planner-form button[type="submit"]:hover,
.wl-contact-page button[type="submit"]:hover,
.wl-site-footer .wl-button-primary:hover,
.wl-tour-enquiry__card .wl-button-primary:hover {
  background: #0B5541 !important;
  border-color: #0B5541 !important;
}

/* Gold premium actions and hover details. */
.wl-button--gold,
.wl-homepage .wl-home-final-cta a:first-of-type,
.wl-site-footer .wl-footer-button--gold {
  color: var(--wl-brochure-charcoal) !important;
  background: var(--wl-brochure-gold-soft) !important;
  border-color: var(--wl-brochure-gold-soft) !important;
}
.wl-button--gold:hover,
.wl-homepage .wl-home-final-cta a:first-of-type:hover,
.wl-site-footer .wl-footer-button--gold:hover {
  background: var(--wl-brochure-gold) !important;
  border-color: var(--wl-brochure-gold) !important;
}

/* Footer returns to the brochure's light editorial feeling with one deep closing strip. */
.wl-site-footer {
  background:
    radial-gradient(circle at 8% 6%, rgba(211,139,23,.10), transparent 24rem),
    radial-gradient(circle at 94% 10%, rgba(139,106,67,.08), transparent 26rem),
    linear-gradient(180deg, var(--wl-brochure-paper), var(--wl-brochure-cream)) !important;
}
/* The footer legal/bottom strip is styled by sitewide-brochure.css (loaded
   last). Kept out of this sheet to avoid a two-sheet conflict on the strip. */

/* Form controls stay warm and readable. */
.wl-homepage input,
.wl-homepage select,
.wl-homepage textarea,
.wl-contact-page input,
.wl-contact-page select,
.wl-contact-page textarea,
.wl-site-footer input,
.wl-site-footer select,
.wl-site-footer textarea {
  color: var(--wl-brochure-charcoal) !important;
  background: var(--wl-brochure-paper) !important;
  border-color: rgba(185,163,140,.55) !important;
}
.wl-homepage input:focus,
.wl-homepage select:focus,
.wl-homepage textarea:focus,
.wl-contact-page input:focus,
.wl-contact-page select:focus,
.wl-contact-page textarea:focus,
.wl-site-footer input:focus,
.wl-site-footer select:focus,
.wl-site-footer textarea:focus {
  border-color: var(--wl-brochure-gold) !important;
  box-shadow: 0 0 0 4px rgba(211,139,23,.14) !important;
}

/* Mobile keeps the light brochure character and avoids large colour blocks. */
@media (max-width: 767px) {
  .wl-home-trust-band {
    padding-block: 24px;
  }
  .wl-home-trust-band__items article {
    border-color: rgba(185,163,140,.38) !important;
  }
  .wl-homepage .wl-home-premium-section--night,
  .wl-homepage .wl-home-final-cta {
    border-radius: 26px;
    margin-inline: 10px;
  }
}
