/* WedHues v5.2.0 — cross-template visual, spacing and accessibility hardening */

:root {
  --container: 1280px;
  --container-wide: 1480px;
  --wh-copy: #514940;
  --wh-border-soft: rgba(42, 31, 26, .12);
  --wh-header-offset: 76px;
}

/* Progressive enhancement: content remains visible if deferred JS is blocked. */
html:not(.js) .wh-reveal {
  opacity: 1 !important;
  transform: none !important;
}

body {
  line-height: 1.75;
}

p {
  text-wrap: pretty;
}

.wh-section {
  padding-block: clamp(4rem, 7vw, 6.25rem);
}

.wh-section__header {
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.wh-section__header h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.wh-container--narrow {
  width: min(100%, 850px);
  margin-inline: auto;
}

.wh-breadcrumbs-wrap,
.wh-section > .wh-container > .wh-breadcrumbs:first-child {
  margin-bottom: 2rem;
}

.wh-breadcrumbs {
  font-size: .875rem;
  line-height: 1.5;
}

/* Interior heroes: stop long service titles from overlapping the fixed header. */
.wh-hero--interior {
  min-height: var(--wh-hero-min-height, 56vh);
  height: auto;
  max-height: 760px;
  padding: calc(var(--wh-header-offset) + 2.5rem) 0 3.5rem;
}

.wh-hero--interior .wh-hero__bg img,
.wh-hero--interior .wh-hero__bg picture {
  width: 100%;
  height: 100%;
}

.wh-hero--interior .wh-hero__bg img {
  object-fit: cover;
  object-position: center 38%;
}

.wh-hero__fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 146, 74, .22), transparent 36%),
    linear-gradient(135deg, #171310, #2d2022 55%, #100f0f);
}

.wh-hero--interior .wh-hero__overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .62)),
    linear-gradient(90deg, rgba(0, 0, 0, .16), transparent 30%, transparent 70%, rgba(0, 0, 0, .16));
}

.wh-hero--interior .wh-hero__content {
  width: min(100%, 1080px);
  max-width: 1080px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.wh-hero--interior .wh-hero__content h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1.15rem;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .32);
}

.wedhues-service-page .wh-hero--interior .wh-hero__content h1,
.wedhues-destination-page .wh-hero--interior .wh-hero__content h1 {
  max-width: 22ch;
  font-size: clamp(2.6rem, 4.35vw, 4.65rem);
}

.wh-hero--interior .wh-hero__content p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

/* Editorial copy for service and destination pages. */
.wh-service-intro,
.wh-destination-copy,
.wh-editorial-intro {
  color: var(--wh-copy);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.86;
}

.wh-service-intro p,
.wh-destination-copy p,
.wh-editorial-intro p {
  margin: 0 0 1.35rem;
}

.wh-service-intro .wh-lead,
.wh-destination-copy > p:first-of-type,
.wh-editorial-intro > p:first-of-type {
  color: var(--wh-espresso);
  font-family: var(--ff-display);
  font-size: clamp(1.32rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.wh-destination-copy h2 {
  max-width: 25ch;
  margin: 3.35rem 0 1.15rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.wh-destination-copy h2:first-child {
  margin-top: .5rem;
}

.wh-destination-copy h3,
.wh-venues-list h3 {
  margin: 2rem 0 .65rem;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

/* Checklists were previously unstyled and collapsed into a tiny left column. */
.wh-checklist-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1.1rem;
}

.wh-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  min-height: 64px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(184, 146, 74, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .62);
  color: var(--wh-copy);
  line-height: 1.55;
}

.wh-checklist-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: .15rem;
  color: var(--wh-terracotta);
}

/* Portfolio/proof grids shared by service and destination templates. */
.wh-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  width: min(100%, 1120px);
  margin-inline: auto;
}

.wh-stories-grid > * {
  min-width: 0;
}

.wh-story-card,
.wh-service-proof__card,
.wh-proof-card {
  height: 100%;
}

.wh-story-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.wh-story-card-body h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

/* Accessible native <details> FAQ used by the service templates. */
.wh-faq-list {
  border-top: 1px solid var(--wh-border-soft);
}

.wh-faq-list .wh-faq-item {
  border-bottom: 1px solid var(--wh-border-soft);
  background: transparent;
}

.wh-faq-list .wh-faq-question {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--wh-espresso);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 650;
  line-height: 1.45;
}

.wh-faq-list .wh-faq-question::-webkit-details-marker {
  display: none;
}

.wh-faq-list .wh-faq-question::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wh-terracotta);
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 300;
}

.wh-faq-list .wh-faq-item[open] .wh-faq-question::after {
  content: "−";
}

.wh-faq-list .wh-faq-answer {
  padding: 0 2.5rem 1.45rem 0;
  color: var(--wh-copy);
  line-height: 1.78;
}

.wh-faq-list .wh-faq-answer p {
  margin: 0;
}

.wh-faq-list .wh-faq-question:focus-visible {
  outline: 2px solid var(--wh-terracotta);
  outline-offset: 5px;
}

/* Destination hub cards: actual photographs replace the blank brown blocks. */
.wh-destinations-grid {
  gap: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.wh-destination-card {
  border: 1px solid rgba(42, 31, 26, .09);
  box-shadow: 0 10px 34px rgba(42, 31, 26, .08) !important;
}

.wh-destination-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 46px rgba(42, 31, 26, .14) !important;
}

.wh-destination-card__media {
  position: relative;
  height: clamp(250px, 30vw, 340px);
  overflow: hidden;
  background: var(--wh-stone);
}

.wh-destination-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.wh-destination-card:hover .wh-destination-card__media img {
  transform: scale(1.035);
}

.wh-destination-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, .72));
}

.wh-destination-card__overlay h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

/* Pricing page: larger, evenly aligned packages and readable details. */
.wh-pricing-grid {
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.wh-pricing-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.65rem, 2.5vw, 2.35rem);
  border: 1px solid var(--wh-border-soft);
  box-shadow: 0 10px 32px rgba(42, 31, 26, .06);
}

.wh-pricing-card.is-featured {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(42, 31, 26, .13);
}

.wh-pricing-card__name {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.wh-pricing-card__price {
  margin: .5rem 0 1rem;
}

.wh-pricing-card__features {
  margin-bottom: 1.75rem;
}

.wh-pricing-card__features li {
  padding-block: .62rem;
  line-height: 1.5;
}

.wh-pricing-card .wh-btn {
  margin-top: auto;
  justify-content: center;
}

/* Contact page: stop form and details appearing undersized on desktop. */
.wh-contact-grid {
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.wh-contact-form-col,
.wh-contact-info-col {
  min-width: 0;
}

.wh-contact-form-col {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--wh-border-soft);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 35px rgba(42, 31, 26, .06);
}

.wh-form__field label {
  margin-bottom: .48rem;
  line-height: 1.4;
}

.wh-form__field input,
.wh-form__field select,
.wh-form__field textarea {
  min-height: 48px;
  padding: .82rem .95rem;
  font-size: 1rem;
}

.wh-contact-details {
  display: grid;
  gap: .65rem;
}

.wh-contact-detail-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--wh-border-soft);
}

.wh-map-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(42, 31, 26, .08);
}

/* About, services, journal and homepage grids. */
.wh-team-grid {
  gap: clamp(1.1rem, 2vw, 1.75rem);
}

.wh-team-card__img {
  width: clamp(130px, 13vw, 180px);
  height: clamp(130px, 13vw, 180px);
  object-fit: cover;
  margin-inline: auto;
}

.wh-team-card__name {
  margin-top: 1rem;
  font-size: 1.35rem;
}

.wh-services-grid {
  gap: clamp(1rem, 2vw, 1.55rem);
}

.wh-service-card {
  min-height: 430px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(42, 31, 26, .09);
}

.wh-service-card__content {
  padding: clamp(1.15rem, 2vw, 1.6rem);
  background: linear-gradient(transparent 5%, rgba(0, 0, 0, .88));
}

.wh-service-card__title {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.wh-service-card__desc,
.wh-service-card__note {
  line-height: 1.5;
}

.wh-blog-grid {
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.wh-blog-card__title {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}

.home .wh-portfolio-grid,
.home .wh-blog-grid,
.home .wh-pricing-grid,
.home .wh-services-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.home .wh-why-grid {
  max-width: 980px;
}

.home .wh-why-row {
  padding: 1.2rem 1.4rem;
}

.home .wh-yt-featured,
.home .wh-yt-grid {
  width: min(100%, 980px);
  margin-inline: auto;
}

/* Limit duplicate CTA padding when a page CTA immediately precedes footer CTA. */
#main-content > .wh-section:last-of-type.wh-section--blush,
#main-content > .wh-section:last-of-type.wh-section--dark {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
}

/* Improve focus visibility across all clickable cards and controls. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--wh-terracotta);
  outline-offset: 4px;
}

@media (max-width: 1099px) {
  :root { --wh-header-offset: 68px; }

  .wh-hero--interior {
    min-height: min(var(--wh-hero-min-height, 56vh), 650px);
  }

  .wh-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wh-container {
    padding-inline: 1.15rem;
  }

  .wh-section {
    padding-block: 3.75rem;
  }

  .wh-section__header {
    margin-bottom: 2.25rem;
  }

  .wh-hero--interior {
    min-height: 520px;
    max-height: none;
    padding: calc(var(--wh-header-offset) + 2.25rem) 0 2.75rem;
  }

  .wh-hero--interior .wh-hero__content h1,
  .wedhues-service-page .wh-hero--interior .wh-hero__content h1,
  .wedhues-destination-page .wh-hero--interior .wh-hero__content h1 {
    max-width: 16ch;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
    line-height: 1.02;
  }

  .wh-checklist-grid,
  .wh-stories-grid {
    grid-template-columns: 1fr;
  }

  .wh-checklist-item {
    min-height: 0;
  }

  .wh-service-card {
    min-height: 390px;
  }

  .wh-pricing-card.is-featured {
    transform: none;
  }

  .wh-destination-card__media {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wh-destination-card,
  .wh-destination-card__media img,
  .wh-service-card,
  .wh-pricing-card {
    transition: none !important;
    transform: none !important;
  }
}


/* Reliability first: animations must never make real content disappear when a
   deferred script, cache optimizer, consent layer, or browser extension fails. */
.wh-reveal,
.js .wh-reveal,
.js .wh-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.wh-services-intro {
  max-width: 850px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.wh-services-intro h2 {
  max-width: 22ch;
  margin: .7rem auto 1.25rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
}

.wh-services-intro p {
  max-width: 70ch;
  margin-inline: auto;
  color: var(--wh-copy);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
}

.wh-preview-notice {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--wh-border-soft);
  background: rgba(255,255,255,.52);
  text-align: center;
}

.wh-preview-notice h3 {
  margin: .6rem 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.wh-preview-notice p {
  margin: 0 auto 1.5rem;
  max-width: 60ch;
  color: var(--wh-copy);
}


/* v5.2.1 — desktop canvas containment repair.
   Some migrated WordPress/global-style rules were constraining <main> to the
   editor content width (roughly 640px), making every custom template look like
   a mobile page on desktop. These selectors deliberately outrank those rules
   without changing the intended narrow editorial copy blocks. */
html,
body {
  width: 100%;
  max-width: none;
}

body #main-content {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

body.wedhues-service-page #main-content > .wh-hero,
body.wedhues-destination-page #main-content > .wh-hero,
body.wedhues-service-page #main-content > .wh-section,
body.wedhues-destination-page #main-content > .wh-section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

@media (min-width: 1100px) {
  body.wedhues-service-page .wh-hero--interior,
  body.wedhues-destination-page .wh-hero--interior {
    min-height: clamp(600px, 68vh, 760px);
  }

  body.wedhues-service-page .wh-hero--interior .wh-hero__content,
  body.wedhues-destination-page .wh-hero--interior .wh-hero__content {
    width: min(calc(100% - 4rem), 1120px);
    max-width: 1120px;
  }

  body.wedhues-service-page .wh-hero--interior .wh-hero__content h1,
  body.wedhues-destination-page .wh-hero--interior .wh-hero__content h1 {
    max-width: 18ch;
    font-size: clamp(3.25rem, 4.35vw, 5rem);
    line-height: 1.02;
  }
}
