/*
Theme Name: Bricks Child
Template: bricks
Version: 1.0
*/

/* ============================================
   FONT IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --c-primary:     #163749;
  --c-primary-rgb: 22, 55, 73;
  --c-primary-dark:#0f2530;
  --c-secondary:   #C9923A;
  --c-secondary-dark:#b07e2e;
  --c-tertiary:    #A4B16D;
  --c-slate:       #5B7FA6;

  --c-text:        #1e1a14;
  --c-muted:       #5B7082;

  --c-bg:          #ffffff;
  --c-surface:     #F4F0E8;
  --c-surface-rgb: 244, 240, 232;
  --c-white:       #ffffff;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --container:      72rem;
  --container-wide: 88rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --transition-fast: 200ms ease;
}


body {
  font-family: var(--font-sans);
  font-size: 16px;
}

/* Headings */
h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* ============================================
   HAYDEN PEAK — ELEVATION UTILITIES
   (Figma / Make → site tokens & class names)
   ============================================ */

.font-sans {
  font-family: var(--font-sans);
}

/* Display typography (serif) */
.text-display-xl {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.text-display-lg {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.text-display-md {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.375rem);
  font-weight: 600;
  line-height: 1.2;
}

.text-display-sm {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

/* Body typography (sans) */
.text-body-lg {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.9;
}

.text-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

.text-body-sm {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
}

.text-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.italic { font-style: italic; }
.not-italic { font-style: normal; }
.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* Brand text colors (+ Figma aliases) */
.text-color-body { color: var(--c-text); }
.text-navy,
.text-primary { color: var(--c-primary); }
.text-gold,
.text-secondary { color: var(--c-secondary); }
.text-sage,
.text-tertiary { color: var(--c-tertiary); }
.text-slate { color: var(--c-slate); }
.text-offwhite,
.text-surface { color: var(--c-surface); }
.text-white { color: var(--c-white); }
.text-muted-dark { color: rgba(var(--c-primary-rgb), 0.55); }
.text-muted-light { color: rgba(var(--c-surface-rgb), 0.6); }
/* Same default color as .link-light / .link-on-dark (overrides DJM pure-white scale) */
.text-white-70 { color: rgba(var(--c-surface-rgb), 0.7) !important; }

/* Brand backgrounds (+ Figma aliases) */
.bg-navy,
.bg-primary { background-color: var(--c-primary); }
.bg-gold,
.bg-secondary { background-color: var(--c-secondary); }
.bg-sage,
.bg-tertiary { background-color: var(--c-tertiary); }
.bg-slate { background-color: var(--c-slate); }
.bg-offwhite,
.bg-surface { background-color: var(--c-surface); }
.bg-white { background-color: var(--c-white); }

/* Borders — Elevation brand strokes (see djm-style.css .border for 2px frame) */

.border-navy,
.border-primary,
.border-gold,
.border-secondary,
.border-sage,
.border-tertiary,
.border-offwhite,
.border-surface,
.border-primary-10,
.border-primary-20 {
  border-style: solid;
  border-width: 1px;
}

.border-navy,
.border-primary {
  border-color: var(--c-primary);
}

.border-gold,
.border-secondary {
  border-color: var(--c-secondary);
}

.border-sage,
.border-tertiary {
  border-color: var(--c-tertiary);
}

.border-offwhite,
.border-surface {
  border-color: var(--c-surface);
}

.border-primary-10 {
  border-color: rgba(var(--c-primary-rgb), 0.1);
}

.border-primary-20 {
  border-color: rgba(var(--c-primary-rgb), 0.2);
}

/* DJM .border sets 2px + neutral color — override color when both classes are present */
.border.border-navy,
.border.border-primary,
.border-navy.border,
.border-primary.border {
  border-color: var(--c-primary) !important;
}

.border.border-gold,
.border.border-secondary,
.border-gold.border,
.border-secondary.border {
  border-color: var(--c-secondary) !important;
}

.border.border-sage,
.border.border-tertiary,
.border-sage.border,
.border-tertiary.border {
  border-color: var(--c-tertiary) !important;
}

.border.border-offwhite,
.border.border-surface,
.border-offwhite.border,
.border-surface.border {
  border-color: var(--c-surface) !important;
}

.border.border-primary-10,
.border-primary-10.border {
  border-color: rgba(var(--c-primary-rgb), 0.1) !important;
}

.border.border-primary-20,
.border-primary-20.border {
  border-color: rgba(var(--c-primary-rgb), 0.2) !important;
}

/* Dividers — standalone empty div OR Bricks .brxe-divider > .line */

.divider {
  height: 1px;
  width: 3rem;
}

.divider-gold,
.divider-secondary {
  height: 1px;
  width: 3rem;
  background-color: var(--c-secondary);
}

.divider-sage,
.divider-tertiary {
  height: 1px;
  width: 3rem;
  background-color: var(--c-tertiary);
}

.divider-navy,
.divider-primary {
  height: 1px;
  width: 3rem;
  background-color: var(--c-primary);
}

.divider-full {
  height: 1px;
  width: 100%;
  background-color: rgba(var(--c-primary-rgb), 0.08);
}

/* Bricks divider: color/width on child .line (border-top / border-right) */
.brxe-divider.divider-navy:not(.divider-full),
.brxe-divider.divider-primary:not(.divider-full),
.brxe-divider.divider-gold:not(.divider-full),
.brxe-divider.divider-secondary:not(.divider-full),
.brxe-divider.divider-sage:not(.divider-full),
.brxe-divider.divider-tertiary:not(.divider-full) {
  max-width: 3rem;
}

.brxe-divider.divider-full {
  max-width: none;
  width: 100%;
}

.brxe-divider.divider-navy .line,
.brxe-divider.divider-primary .line {
  border-color: var(--c-primary);
}

.brxe-divider.divider-gold .line,
.brxe-divider.divider-secondary .line {
  border-color: var(--c-secondary);
}

.brxe-divider.divider-sage .line,
.brxe-divider.divider-tertiary .line {
  border-color: var(--c-tertiary);
}

.brxe-divider.divider-full .line {
  border-color: rgba(var(--c-primary-rgb), 0.08);
}

/* Buttons (extends djm .btn) */
.btn.btn-primary {
  background-color: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
  border-radius: var(--r-sm);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn.btn-primary:hover {
  background-color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.btn.btn-gold,
.btn.btn-secondary-solid {
  background-color: var(--c-secondary);
  color: var(--c-white);
  border-color: var(--c-secondary);
  border-radius: var(--r-sm);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn.btn-gold:hover,
.btn.btn-secondary-solid:hover {
  background-color: var(--c-secondary-dark);
  border-color: var(--c-secondary-dark);
}

.btn.btn-outline-light {
  background-color: transparent;
  color: var(--c-surface);
  border-color: rgba(var(--c-surface-rgb), 0.45);
  border-radius: var(--r-sm);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn.btn-outline-light:hover {
  background-color: rgba(var(--c-surface-rgb), 0.1);
}

.btn.btn-outline-navy,
.btn.btn-outline-primary {
  background-color: transparent;
  color: var(--c-primary);
  border-color: rgba(var(--c-primary-rgb), 0.35);
  border-radius: var(--r-sm);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn.btn-outline-navy:hover,
.btn.btn-outline-primary:hover {
  background-color: var(--c-primary);
  color: var(--c-white);
}

/* Text links */

/* Bricks .brxe-text-link is inline-flex with gap — text-decoration underlines each child separately */
.brxe-text-link.underline {
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.125em;
}

.brxe-text-link.underline .icon,
.brxe-text-link.underline .text {
  text-decoration: none !important;
}

.link-navy,
.link-primary {
  color: var(--c-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--c-primary-rgb), 0.25);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color var(--transition-fast);
}

.link-navy:hover,
.link-primary:hover {
  border-color: var(--c-primary);
}

.link-light,
.link-on-dark {
  color: rgba(var(--c-surface-rgb), 0.7);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--c-surface-rgb), 0.25);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.link-light:hover,
.link-on-dark:hover {
  color: var(--c-surface);
  border-color: rgba(var(--c-surface-rgb), 0.6);
}

/* Section layout */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-lg {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .container-wide {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.section-header {
  margin-bottom: 4rem;
}

.section-header-center {
  margin-bottom: 4rem;
  text-align: center;
}

/* Cards */
.card-elevation,
.card.card-elevation {
  background-color: var(--c-white);
  border: 1px solid rgba(var(--c-primary-rgb), 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
}

.card-offwhite,
.card.card-offwhite {
  background-color: var(--c-surface);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Media */
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-1-1 { aspect-ratio: 1 / 1; }

.img-cover{
  position:absolute;
  inset:0;

  width:100%!important;
  height:100%!important;

  object-fit:cover;
}

/* Image zoom (complements djm .img-zoom) */
.img-zoom-hover img {
  transition: transform 500ms ease;
}

.img-zoom-hover:hover img {
  transform: scale(1.05);
}

.overflow-hidden {
  overflow: hidden;
}

/* Gradient overlays (navy / primary) */
.overlay-navy-bottom,
.overlay-primary-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
      to top,
      rgba(var(--c-primary-rgb), 0.98) 0%,
      rgba(var(--c-primary-rgb), 0.90) 20%,
      rgba(var(--c-primary-rgb), 0.65) 45%,
      rgba(var(--c-primary-rgb), 0.35) 70%,
      rgba(var(--c-primary-rgb), 0.10) 100%
  );
}

.overlay-navy-full,
.overlay-primary-full {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--c-primary-rgb), 0.88) 0%,
    rgba(var(--c-primary-rgb), 0.55) 100%
  );
  pointer-events: none;
}

.overlay-navy-left,
.overlay-primary-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(var(--c-primary-rgb), 0.92) 0%,
    rgba(var(--c-primary-rgb), 0.4) 65%,
    transparent 100%
  );
  pointer-events: none;
}

/*
 * Section overlays — put on SECTION (with bg image), not on .brxe-container.
 * Keeps container in normal flow so height grows with content.
 * Child blocks get position:relative + z-index (same idea as djm .section-gradient-primary).
 */
.section-overlay-primary-bottom,
.section-overlay-navy-bottom,
.section-overlay-primary-left,
.section-overlay-navy-left,
.section-overlay-primary-full,
.section-overlay-navy-full {
  position: relative;
}

.section-overlay-primary-bottom::before,
.section-overlay-navy-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(var(--c-primary-rgb), 0.75) 0%,
    transparent 60%
  );
}

.section-overlay-primary-left::before,
.section-overlay-navy-left::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(var(--c-primary-rgb), 0.92) 0%,
    rgba(var(--c-primary-rgb), 0.4) 65%,
    transparent 100%
  );
}

.section-overlay-primary-full::before,
.section-overlay-navy-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(var(--c-primary-rgb), 0.88) 0%,
    rgba(var(--c-primary-rgb), 0.55) 100%
  );
}

.section-overlay-primary-bottom > *,
.section-overlay-navy-bottom > *,
.section-overlay-primary-left > *,
.section-overlay-navy-left > *,
.section-overlay-primary-full > *,
.section-overlay-navy-full > * {
  position: relative;
  z-index: 1;
}

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

.badge-gold,
.badge-secondary {
  background-color: var(--c-secondary);
  color: var(--c-white);
}

.badge-navy,
.badge-primary {
  background-color: var(--c-primary);
  color: var(--c-white);
}

.badge-sage,
.badge-tertiary {
  background-color: var(--c-tertiary);
  color: var(--c-white);
}

.badge-light {
  background-color: rgba(var(--c-surface-rgb), 0.15);
  color: var(--c-surface);
  border: 1px solid rgba(var(--c-surface-rgb), 0.25);
}

/* Stats */
.stat-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.125rem;
}

/* Team portraits */
.portrait {
  filter: grayscale(100%);
  transition: filter 400ms ease;
}

.portrait:hover {
  filter: grayscale(0%);
}

/* Sticky nav shell (optional Bricks wrapper) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background-color: var(--c-surface);
  border-bottom: 1px solid rgba(var(--c-primary-rgb), 0.08);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
}

/* Footer shell */
.site-footer {
  background-color: var(--c-primary);
  color: rgba(var(--c-surface-rgb), 0.55);
}

.footer-link {
  color: rgba(var(--c-surface-rgb), 0.55);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--c-surface);
}

/* Section spacing shortcuts */
.mt-section { margin-top: 6rem; }
.mb-section { margin-bottom: 6rem; }
.gap-section { gap: 4rem; }

.hero.full-height {
  height: 100vh;
}

.hero > .brxe-container > * {
  margin-bottom: 24px;
}

nav .menu-item {
  font-size: 14px;
  font-family: var(--font-sans);
}

.menu-item.button {
  background-color: var(--c-white);
  color: var(--c-primary);
  padding: 6px 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* NOTE: &:hover is SCSS syntax. If this is a normal CSS file, use this instead. */
.menu-item.button:hover {
  background-color: var(--c-secondary);
}

.scrolling .menu-item.button,
.scrolling .menu-item.button a {
  color: var(--c-primary) !important;
}

.menu-item.button:hover,
.menu-item.button:active,
.menu-item.button:focus {
  background-color: var(--c-primary);
  color: var(--c-white);
}

.border-radius-10 {
  border-radius: 10px;
}

.border-radius-20 {
  border-radius: 20px;
}

.border-radius-30 {
  border-radius: 30px;
}

.border-radius-40 {
  border-radius: 40px;
}

.border-radius-50 {
  border-radius: 50px;
}

#footer h4 {
  margin-bottom: 10px;
}

#footer .brxe-text-link {
  display: block;
  padding: 5px 0;
}

#footer .inline-links .brxe-text-link {
  display: inline;
  padding-right: 15px;
}

#footer .inline-links .brxe-text-link:last-child {
  padding-right: 0;
}

#brx-header .bricks-nav-menu-wrapper > ul {
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* Header nav — growing sage underline on hover (top-level links only) */
#brx-header .bricks-nav-menu > li > a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

#brx-header .bricks-nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-tertiary);
  transition: width var(--transition-fast);
}

#brx-header .bricks-nav-menu > li > a:hover::after,
#brx-header .bricks-nav-menu > li > a:focus-visible::after {
  width: 100%;
}

.text-with-icon > div > div {
	display: flex;
	align-items: center;
	padding-bottom: 10px;
}
.text-with-icon > div > div > svg {
	height: 20px;
	padding-right: 10px;
}

/* ============================================
   LODGE GALLERY
   ============================================ */

.lodge-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 0 24px 24px;
  overflow: hidden;
}

/* Main image wrapper */
.lodge-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--c-surface);
  cursor: pointer;
}

/* Featured image */
.lodge-gallery__image {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

/* Gradient behind controls */
.lodge-gallery__main::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;

  height: 45%;

  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.48),
    rgba(15, 23, 42, 0)
  );

  pointer-events: none;
}

/* Controls over main image */
.lodge-gallery__overlay {
  position: absolute !important;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 5;

  width: auto !important;
  max-width: none !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;

  pointer-events: none;
}

/* Shared control styles */
.lodge-gallery__counter,
.lodge-gallery__browse {
  width: auto !important;
  min-width: 0;

  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;

  padding: 11px 16px;

  border: 0;
  border-radius: 0;
  background-color: rgba(15, 23, 42, 0.92);
  color: #fff;

  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  pointer-events: auto;
}

/* Counter */
.lodge-gallery__counter {
  flex: 0 0 auto !important;
}

/* Browse button */
.lodge-gallery__browse {
  flex: 0 1 auto !important;
  margin-left: auto;
  max-width: calc(100% - 125px);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.lodge-gallery__browse:hover {
  background-color: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Icons */
.lodge-gallery__browse i,
.lodge-gallery__counter i,
.lodge-gallery__browse svg,
.lodge-gallery__counter svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  font-size: 18px;
}

/* ============================================
   THUMBNAILS
   ============================================ */

.lodge-gallery__thumbs {
  position: relative;

  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  padding: 0;
  margin: 0;
}

/* Direct IMG thumbnail elements */
.lodge-gallery__thumb {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  aspect-ratio: 16 / 10;

  display: block;
  object-fit: cover;

  border: 3px solid transparent;
  cursor: pointer;

  transition:
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.lodge-gallery__thumb:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.lodge-gallery__thumb.is-active {
  border-color: var(--c-primary);
}

/* Only display thumbnails 1–3 */
.lodge-gallery__thumbs
  .lodge-gallery__thumb:nth-of-type(n + 4) {
  display: none !important;
}

/* Keyboard focus */
.lodge-gallery__thumb:focus-visible,
.lodge-gallery__counter:focus-visible,
.lodge-gallery__browse:focus-visible {
  outline: 3px solid var(--c-secondary);
  outline-offset: 3px;
}

/* ============================================
   STACKED LIGHTBOX — FIXED OVERLAY
   ============================================ */

.lodge-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;

  width: 100%;
  height: 100%;
  height: 100dvh;

  display: flex;
  flex-direction: column;

  background: rgba(8, 16, 24, 0.98);
  color: #fff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

/* Open state */
.lodge-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Fixed header */
.lodge-lightbox__header {
  position: relative;
  z-index: 10;

  width: 100%;
  min-height: 72px;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 14px 24px;

  background: rgba(8, 16, 24, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.lodge-lightbox__title {
  margin: 0;

  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* Close button */
.lodge-lightbox__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  color: #fff;

  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.lodge-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.04);
}

.lodge-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Vertically scrolling photo area */
.lodge-lightbox__content {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  padding:
    32px
    max(20px, calc((100vw - 1500px) / 2))
    64px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;

  -webkit-overflow-scrolling: touch;
}

/*
 * Each figure gets enough room to present the photo cleanly,
 * but it does not force every figure to be taller than needed.
 */
.lodge-lightbox__figure {
  width: 100%;
  max-width: 1500px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0;

  scroll-margin-top: 24px;
  scroll-snap-align: start;
}

/*
 * The photo always fits inside the viewport.
 *
 * 90vh is the requested upper limit.
 * The calc() limit also leaves room for the fixed header
 * and lightbox padding on shorter screens.
 */
.lodge-lightbox__image {
  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: min(90vh, calc(100dvh - 130px));

  object-fit: contain;

  background: rgba(255, 255, 255, 0.04);
}

/* Optional caption generated from image alt text */
.lodge-lightbox__caption {
  margin: 0;
  padding-inline: 12px;

  color: rgba(255, 255, 255, 0.8);

  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* Stop the page behind the lightbox from moving */
html.lodge-lightbox-is-open,
html.lodge-lightbox-is-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 767px) {
  .lodge-gallery {
    gap: 10px;
    padding: 0 14px 14px;
  }

  .lodge-gallery__main {
    aspect-ratio: 4 / 3;
  }

  .lodge-gallery__overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px;
  }

  .lodge-gallery__counter,
  .lodge-gallery__browse {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .lodge-gallery__browse {
    max-width: calc(100% - 105px);
  }

  .lodge-gallery__thumbs {
    gap: 8px;
  }

  .lodge-gallery__thumb {
    border-width: 2px;
  }

  .lodge-lightbox__header {
    min-height: 62px;
    padding: 10px 14px;
  }

  .lodge-lightbox__title {
    font-size: 15px;
  }

  .lodge-lightbox__close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 25px;
  }

  .lodge-lightbox__content {
    gap: 22px;
    padding: 18px 10px 40px;
  }

  .lodge-lightbox__image {
    max-height: min(90vh, calc(100dvh - 100px));
  }

  .lodge-lightbox__caption {
    padding-inline: 8px;
    font-size: 13px;
  }
}

/* ============================================
   SMALL MOBILE
   ============================================ */

@media (max-width: 479px) {
  .lodge-gallery__counter {
    padding-inline: 11px;
  }

  .lodge-gallery__browse {
    flex: 1 1 auto !important;
    max-width: none;
    white-space: normal;
  }

  .lodge-lightbox__content {
    padding-inline: 8px;
  }

  .lodge-lightbox__image {
    max-width: 100%;
    max-height: min(88vh, calc(100dvh - 90px));
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .lodge-gallery__browse,
  .lodge-gallery__thumb,
  .lodge-lightbox,
  .lodge-lightbox__close {
    transition: none;
  }

  .lodge-lightbox__content {
    scroll-behavior: auto;
  }
}
.card-heading {
	min-height: 185px;
}
.card {
	justify-content: space-between;
}
.form-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 16px;
  background: var(--background, #fff);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    0 4px 16px rgba(0, 0, 0, 0.12);
}

.form-modal .form-group {
  margin-bottom: 1rem;
}

.form-modal input,
.form-modal textarea,
.form-modal select {
  width: 100%;
}

.form-modal textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 478px) {
  .form-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 1.25rem;
    border-radius: 12px;
  }
}


/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  --contact-dark: #1d3029;
  --contact-green: #365f52;
  --contact-accent: #36796e;
  --contact-text: #4d665d;
  --contact-bg: #f5f0e7;
  --contact-card-bg: #fffdfa;
  --contact-field-bg: #f4f0e8;
  --contact-border: #cbc8bd;
  --contact-placeholder: #858b86;

  width: 100%;
  padding:
    clamp(70px, 8vw, 130px)
    clamp(24px, 5vw, 80px);

  background-color: var(--contact-bg);
}

/* Main two-column layout */
.contact-layout {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;

  display: grid;
  grid-template-columns:
    minmax(320px, 0.8fr)
    minmax(600px, 1.45fr);
  align-items: center;
  gap: clamp(60px, 8vw, 135px);
}

/* Prevent Bricks width rules from interfering */
.contact-intro,
.contact-card {
  width: 100%;
  min-width: 0;
}

/* ============================================
   LEFT CONTENT
   ============================================ */

.contact-eyebrow {
  margin-bottom: clamp(28px, 3vw, 45px);

  color: var(--contact-accent);

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.contact-heading {
  max-width: 620px;
  margin: 0 0 clamp(30px, 3vw, 50px);

  color: var(--contact-dark);

  font-family: var(--font-serif);
  font-size: clamp(54px, 5.4vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.contact-heading i {
  font-weight: 400;
}

.contact-description {
  max-width: 600px;

  color: var(--contact-text);

  font-family: var(--font-sans);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 400;
  line-height: 1.8;
}

.contact-description p {
  margin: 0;
}

/* ============================================
   FORM CARD
   ============================================ */

.contact-card {
  padding: clamp(32px, 4vw, 62px);

  background-color: var(--contact-card-bg);
  border: 1px solid rgba(29, 48, 41, 0.1);
  border-radius: 16px;

  box-shadow:
    0 3px 12px rgba(29, 48, 41, 0.11),
    0 1px 3px rgba(29, 48, 41, 0.08);
}

/* ============================================
   FORM GRID
   ============================================ */

.contact-form {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 2.5vw, 34px);
  row-gap: 32px;
}

.contact-form .form-group {
  width: 100%;
  min-width: 0;
  margin: 0;
}

/*
 * Message is the fifth form-group.
 * Make it span the entire form width.
 */
.contact-form .form-group:nth-of-type(5),
.contact-form .submit-button-wrapper {
  grid-column: 1 / -1;
}

/* ============================================
   LABELS
   ============================================ */

.contact-form label {
  display: block;
  margin: 0 0 12px;

  color: var(--contact-dark);

  font-family: var(--font-sans);
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 600;
  line-height: 1.3;
}

/*
 * Bricks applies .required to the label.
 * Add a styled asterisk after the label text.
 */
.contact-form label.required::after {
  content: " *";
  color: var(--contact-accent);
}

/* Hide any asterisks included inside placeholders */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--contact-placeholder);
}

/* ============================================
   FIELDS
   ============================================ */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin: 0;

  border: 1px solid var(--contact-border);
  border-radius: 6px;

  background-color: var(--contact-field-bg);
  color: var(--contact-dark);

  font-family: var(--font-sans);
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.4;

  box-shadow: none;
  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input,
.contact-form select {
  //min-height: 70px;
  padding: 5px 24px;
}

.contact-form textarea {
  min-height: 190px;
  padding: 20px 24px;

  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--contact-placeholder);
  opacity: 1;
}

/* Remove the placeholder asterisk visually from your current inputs */
.contact-form input[placeholder="Jane Smith *"]::placeholder {
  font-size: 0;
}

.contact-form input[placeholder="Jane Smith *"]::placeholder {
  color: transparent;
}

/*
 * Prefer changing the Bricks placeholder itself to:
 * Jane Smith
 *
 * The same applies to:
 * jane@example.com *
 * Your Message *
 */

/* Focus state */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--contact-accent);
  background-color: #f8f5ef;

  box-shadow:
    0 0 0 1px var(--contact-accent),
    0 0 0 4px rgba(54, 121, 110, 0.11);
}

/* Select arrow */
.contact-form select {
  padding-right: 54px;

  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--contact-text) 50%),
    linear-gradient(135deg, var(--contact-text) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 18px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;

  cursor: pointer;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.contact-form .submit-button-wrapper {
  margin-top: 0;
}

.contact-form .bricks-button {
  width: 100%;
  min-height: 80px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 20px 28px;
  border: 0;
  border-radius: 5px;

  background-color: var(--contact-green);
  color: #fff;

  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form .bricks-button:hover {
  background-color: var(--contact-dark);
  color: #fff;

  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 48, 41, 0.18);
}

.contact-form .bricks-button:active {
  transform: translateY(0);
}

.contact-form .bricks-button:focus-visible {
  outline: 3px solid rgba(54, 121, 110, 0.4);
  outline-offset: 4px;
}

/* Loading icon */
.contact-form .bricks-button .loading svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   FORM MESSAGES
   ============================================ */

.contact-form .message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;

  border-radius: 5px;

  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form .message.success {
  background-color: rgba(54, 121, 110, 0.1);
  color: var(--contact-dark);
}

.contact-form .message.error {
  background-color: rgba(160, 50, 50, 0.1);
  color: #842e2e;
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-intro {
    max-width: 760px;
  }

  .contact-heading {
    max-width: 720px;
  }

  .contact-description {
    max-width: 700px;
  }

  .contact-card {
    max-width: 900px;
  }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 767px) {
  .contact-section {
    padding:
      64px
      clamp(18px, 5vw, 28px);
  }

  .contact-layout {
    gap: 38px;
  }

  .contact-eyebrow {
    margin-bottom: 22px;

    font-size: 13px;
    letter-spacing: 0.3em;
  }

  .contact-heading {
    margin-bottom: 24px;

    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.02;
  }

  .contact-description {
    font-size: 17px;
    line-height: 1.7;
  }

  .contact-card {
    padding: 26px 20px;
    border-radius: 12px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-form .form-group,
  .contact-form .form-group:nth-of-type(5),
  .contact-form .submit-button-wrapper {
    grid-column: 1;
  }

  .contact-form label {
    margin-bottom: 9px;
    font-size: 16px;
  }

  .contact-form input,
  .contact-form select {
    min-height: 58px;
    padding-inline: 17px;
    font-size: 16px;
  }

  .contact-form select {
    padding-right: 45px;
    background-position:
      calc(100% - 21px) 50%,
      calc(100% - 15px) 50%;
  }

  .contact-form textarea {
    min-height: 120px;
    padding: 16px 17px;
    font-size: 16px;
  }

  .contact-form .bricks-button {
    min-height: 62px;
    padding: 18px;

    font-size: 15px;
    letter-spacing: 0.17em;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form .bricks-button {
    transition: none;
  }
}
/* ============================================
   DONATION MODAL
   ============================================ */

.brx-popup:has(.donate-modal) {
  --donate-dark: #173027;
  --donate-green: #2f5749;
  --donate-accent: #97cdb9;
  --donate-text: #4e675e;
  --donate-muted: #96aaa3;
  --donate-cream: #fffdf9;
  --donate-panel: #f4f0e8;
  --donate-border: #d8d6cd;

  align-items: center;
  justify-content: center;

  padding: 24px;
}

/* Backdrop */
.brx-popup:has(.donate-modal) .brx-popup-backdrop {
  background: rgba(11, 32, 25, 0.88);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Bricks popup wrapper */
.brx-popup:has(.donate-modal) > .brx-popup-content {
  position: relative;
  z-index: 2;

  width: min(760px, calc(100vw - 48px));
  max-width: 760px;
  max-height: calc(100dvh - 48px);

  display: block;

  margin: auto;
  padding: 0;

  overflow: visible;

  background: transparent;
}

/* ============================================
   MODAL CARD
   ============================================ */

.donate-modal {
  position: relative;

  width: 100%;
  max-width: none;
  max-height: calc(100dvh - 48px);

  display: flex;
  flex-direction: column;
  align-items: stretch;

  padding: 48px;

  overflow-x: hidden;
  overflow-y: auto;

  background: var(--donate-cream);
  border-radius: 20px;

  box-shadow:
    0 30px 80px rgba(5, 19, 14, 0.3),
    0 8px 26px rgba(5, 19, 14, 0.16);

  overscroll-behavior: contain;
}

/* ============================================
   TOP ACCENT
   ============================================ */

.donate-modal__accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;

  width: 100%;
  height: 9px;

  background:
    linear-gradient(
      90deg,
      var(--donate-green),
      var(--donate-accent)
    );

  pointer-events: none;
}

/* ============================================
   CLOSE ICON
   ============================================ */

.donate-modal__close {
  position: absolute !important;
  top: 25px;
  right: 27px;
  z-index: 5;

  width: 30px;
  height: 30px;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;
  color: #72877f;

  font-size: 23px;
  line-height: 1;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.donate-modal__close:hover {
  color: var(--donate-dark);
  transform: scale(1.08);
}

/* ============================================
   HEART ICON
   ============================================ */

.donate-modal__icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;

  margin: 0 0 30px;

  border-radius: 50%;

  background: var(--donate-green);
  color: var(--donate-accent);
}

.donate-modal__icon i,
.donate-modal__icon svg {
  width: 27px;
  height: 27px;

  font-size: 27px;
}

/* ============================================
   HEADING
   ============================================ */

.donate-modal__heading {
  width: 100%;

  margin: 0 0 16px;

  color: var(--donate-dark);

  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* ============================================
   INTRO COPY
   ============================================ */

.donate-modal__intro {
  width: 100%;
  max-width: 650px;

  margin: 0 0 32px;

  color: var(--donate-text);

  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.donate-modal__intro p {
  margin: 0;
}

/* ============================================
   CONTACT PANEL
   ============================================ */

.donate-modal__contact {
  width: 100%;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;

  margin: 0 0 32px;
  padding: 22px 26px;

  background: var(--donate-panel);
  border: 1px solid var(--donate-border);
  border-radius: 14px;
}

/* Contact icon */
.donate-modal__contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  flex: 0 0 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--donate-green);
  color: var(--donate-accent);
}

.donate-modal__contact-icon i,
.donate-modal__contact-icon svg {
  width: 22px;
  height: 22px;

  font-size: 22px;
}

/* Contact text wrapper */
.donate-modal__contact-content {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
}

/* Contact title */
.donate-modal__contact-title {
  width: 100%;

  margin: 0;

  color: var(--donate-dark);

  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* Email address */
.donate-modal__email {
  width: auto;
  max-width: 100%;

  color: #347f73;

  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;

  overflow-wrap: anywhere;
}

.donate-modal__email:hover {
  color: var(--donate-dark);

  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Response note */
.donate-modal__response {
  width: 100%;

  color: var(--donate-muted);

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.donate-modal__actions {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Shared button */
.donate-modal__button {
  width: 100%;
  min-height: 58px;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 15px 20px;

  border-radius: 5px;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Primary button */
.donate-modal__button--primary {
  border: 1px solid var(--donate-green) !important;

  background: var(--donate-green) !important;
  background-color: var(--donate-green) !important;

  color: #fff !important;
}

.donate-modal__button--primary:hover {
  border-color: var(--donate-dark) !important;

  background: var(--donate-dark) !important;
  background-color: var(--donate-dark) !important;

  color: #fff !important;

  transform: translateY(-1px);

  box-shadow:
    0 8px 18px rgba(23, 48, 39, 0.16);
}

/* Secondary close button */
.donate-modal__button--secondary,
.donate-modal__button--secondary.bricks-background-primary {
  border: 1px solid #cfd6d2 !important;

  background: transparent !important;
  background-color: transparent !important;

  color: var(--donate-text) !important;
}

.donate-modal__button--secondary:hover,
.donate-modal__button--secondary.bricks-background-primary:hover {
  border-color: var(--donate-green) !important;

  background: var(--donate-panel) !important;
  background-color: var(--donate-panel) !important;

  color: var(--donate-dark) !important;

  transform: translateY(-1px);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.donate-modal__close:focus-visible,
.donate-modal__button:focus-visible,
.donate-modal__email:focus-visible {
  outline: 3px solid var(--donate-accent);
  outline-offset: 3px;
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 767px) {
  .brx-popup:has(.donate-modal) {
    padding: 14px;
  }

  .brx-popup:has(.donate-modal) > .brx-popup-content {
    width: min(620px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
  }

  .donate-modal {
    max-height: calc(100dvh - 28px);

    padding: 43px 30px 32px;

    border-radius: 17px;
  }

  .donate-modal__close {
    top: 20px;
    right: 21px;

    width: 27px;
    height: 27px;

    font-size: 21px;
  }

  .donate-modal__icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;

    margin-bottom: 24px;
  }

  .donate-modal__icon i,
  .donate-modal__icon svg {
    width: 24px;
    height: 24px;

    font-size: 24px;
  }

  .donate-modal__heading {
    margin-bottom: 14px;

    font-size: clamp(36px, 8vw, 46px);
  }

  .donate-modal__intro {
    margin-bottom: 26px;

    font-size: 16px;
    line-height: 1.65;
  }

  .donate-modal__contact {
    gap: 16px;

    margin-bottom: 26px;
    padding: 18px 20px;
  }

  .donate-modal__contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex-basis: 46px;
  }

  .donate-modal__contact-icon i,
  .donate-modal__contact-icon svg {
    width: 20px;
    height: 20px;

    font-size: 20px;
  }

  .donate-modal__contact-title {
    font-size: 16px;
  }

  .donate-modal__email {
    font-size: 15px;
  }

  .donate-modal__response {
    font-size: 12px;
  }

  .donate-modal__button {
    min-height: 54px;

    padding: 14px 16px;

    font-size: 13px;
    letter-spacing: 0.1em;
  }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 520px) {
  .brx-popup:has(.donate-modal) {
    padding: 10px;
  }

  .brx-popup:has(.donate-modal) > .brx-popup-content {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .donate-modal {
    max-height: calc(100dvh - 20px);

    padding: 40px 20px 22px;

    border-radius: 14px;
  }

  .donate-modal__accent {
    height: 7px;
  }

  .donate-modal__close {
    top: 17px;
    right: 17px;

    width: 24px;
    height: 24px;

    font-size: 19px;
  }

  .donate-modal__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;

    margin-bottom: 21px;
  }

  .donate-modal__icon i,
  .donate-modal__icon svg {
    width: 21px;
    height: 21px;

    font-size: 21px;
  }

  .donate-modal__heading {
    margin-bottom: 12px;

    font-size: 34px;
    line-height: 1.06;
  }

  .donate-modal__intro {
    margin-bottom: 22px;

    font-size: 14px;
    line-height: 1.6;
  }

  .donate-modal__contact {
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 22px;
    padding: 16px;
  }

  .donate-modal__contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex-basis: 40px;
  }

  .donate-modal__contact-icon i,
  .donate-modal__contact-icon svg {
    width: 18px;
    height: 18px;

    font-size: 18px;
  }

  .donate-modal__contact-title {
    font-size: 14px;
  }

  .donate-modal__email {
    font-size: 13px;
  }

  .donate-modal__response {
    font-size: 11px;
  }

  .donate-modal__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .donate-modal__button {
    min-height: 50px;

    font-size: 12px;
  }
}

/* ============================================
   SHORT VIEWPORTS
   ============================================ */

@media (max-height: 700px) and (min-width: 521px) {
  .donate-modal {
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .donate-modal__icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;

    margin-bottom: 20px;
  }

  .donate-modal__heading {
    font-size: 42px;
  }

  .donate-modal__intro {
    margin-bottom: 22px;

    font-size: 15px;
  }

  .donate-modal__contact {
    margin-bottom: 24px;
  }

  .donate-modal__button {
    min-height: 52px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .donate-modal__close,
  .donate-modal__button {
    transition: none;
  }
}

/* =============================================================================
   TESTIMONIAL LAYOUT
============================================================================= */

/* Large featured card */
.testimonial-featured{
  position:relative;
  overflow:hidden;
  min-height:620px;
}

.testimonial-featured > .brxe-image{
  position:absolute;
  inset:0;
  z-index:0;

  width:100% !important;
  height:100% !important;
  object-fit:cover;
}

/* Dark gradient over featured image */
.testimonial-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  background:linear-gradient(
    to top,
    rgba(var(--c-primary-rgb),.98) 0%,
    rgba(var(--c-primary-rgb),.78) 32%,
    rgba(var(--c-primary-rgb),.35) 62%,
    rgba(var(--c-primary-rgb),.10) 100%
  );
}

/* Featured text area */
.testimonial-featured-content{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:2;

  padding:var(--s-5);
}

/* Standard white testimonial card */
.testimonial-card{
  min-height:calc((620px - var(--s-3)) / 2);
  padding:var(--s-5);

  display:flex;
  flex-direction:column;

  background:var(--c-white);
  border:1px solid rgba(var(--c-primary-rgb),.10);
}

.logo {
  max-height: 40px;
  width: auto;
}

/* Quote symbol */
.testimonial-quote-mark{
  display:block;
  margin-bottom:0px;

  font-family:var(--font-serif);
  font-size:3rem;
  font-weight:600;
  line-height:.7;
}

/* Small gold line beside author */
.testimonial-line{
  width:2rem;
  height:1px;
  flex:0 0 auto;

  background:var(--c-secondary);
}

/* Author/location stack */
.testimonial-author{
  display:flex;
  align-items:center;
  gap:var(--s-2);
  margin-top:var(--s-4);
}

.testimonial-author-copy{
  display:flex;
  flex-direction:column;
  gap:.1rem;
}

/* Optional location marker */
.testimonial-location::before{
  content:"⌖";
  margin-right:.3rem;
  font-size:.85em;
}

/* Tablet/mobile */
@media(max-width:767px){
  .testimonial-featured{
    min-height:520px;
  }

  .testimonial-featured-content,
  .testimonial-card{
    padding:var(--s-4);
  }

  .testimonial-card{
    min-height:auto;
  }
}