
    /* --- Full-window image --- */
    .hero {
      position: relative;
      width: 100%;
      /* 100svh = “small viewport height” for mobile browser chrome; 100vh as fallback */
      height: 100vh;
      height: 100svh;
      overflow: clip;
      background: #000; /* prevents white flash while image loads */
    }
    .hero > img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;       /* fills area without distortion */
      object-position: center; /* adjust if you need to “focus” a subject */
      display: block;
    }
    /* Subtle vignette to help any overlaid elements (kept minimal) */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,0) 40%);
      pointer-events: none;
    }

    /* --- Content section below the image --- */
    .section {
      padding: clamp(8px, 1vw, 16px) 20px;
      border-top: 1px solid rgba(0,0,0,.06);
    }
    .container {
  /* 70% of viewport width, but never wider than 960px */
  width: min(70vw, 960px);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 4rem) 3vw;
  color: #fff;
  text-align: center;
  position: relative;
}

/* subtle divider lines above and below the copy */
.container::before,
.container::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(160px, 60%);
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}
.container::before {
  top: 1.2rem;
}

.container::after {
  bottom: 1.2rem;
}
.section h1,
.section h2 {
    font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: .01em;
  color: white;
}

    .section p {
      font-size: clamp(1rem, .4vw + .95rem, 1.125rem);
      line-height: 1.7;
      margin: 0 auto;
	  color:white;
    }
/* Text at the bottom of the image */
.trails-hero-content2 {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 5vw 3rem;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 75vh;
  
}
.trails-hero-content2 h1,
.trails-hero-content2 h2 {
    font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem); /* bigger headings */
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}


.trails-hero-content2 p {
  max-width: 40rem;
  font-size: clamp(1.0rem, 1.9vw, 1.4rem); /* bigger paragraph on image */
  line-height: 1.6;
 
}
.trails-hero-content2 p1 {
  max-width: 40rem;
  font-size: clamp(1.0rem, 1.9vw, 1.4rem); /* bigger paragraph on image */
  line-height: 1.6;
 text-shadow: var(--text-outline);
	font-style: italic;
}
/* Text at the closer to top */
.hero-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 5vw 3rem;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 35vh;
  background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.0));
}
.hero-content h1,
.hero-content h2 {
    font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem); /* bigger headings */
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}


.hero-content p {
  max-width: 50rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem); /* bigger paragraph on image */
  line-height: 1.6;
 text-shadow: var(--text-outline);
	font-style: italic;
}
.hero-content p1 {
  max-width: 40rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem); /* bigger paragraph on image */
  line-height: 1.6;
}
.trails-content-block {
  /* 70% of viewport width, but never wider than 960px */
  width: min(70vw, 960px);
  margin: 30px auto;
  padding: clamp(2.5rem, 4vw, 4rem) 3vw;
  color: #fff;
  text-align: center;
  position: relative;
}
.trails-content-block h1 {
    font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem); /* bigger headings */
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}


    /* Optional: make anchor links and focus states nice */
    a { color: inherit; }
    :focus-visible { outline: 3px solid #5aa9ff; outline-offset: 2px; }

	 /* ===== Uniform-height, CSS-only staggered gallery ===== */
.gallery-grid{
 display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: var(--row);  /* every tile same height */
  grid-auto-flow: dense;       /* packs items tightly */
  gap: var(--gap);
  max-width: 1240px;
  margin: clamp(8px,1vw,16px) auto;
  padding: 0 clamp(14px,2vw,24px);
}

/* Mobile: single column & shorter rows */
@media (max-width: 699px){
  .gallery-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;     /* tweak mobile tile height here */
  }
}

/* Base tile */
.gallery-grid .tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ddd;
  grid-row: span 1;
  min-width: 0;                /* prevent overflow in grid */
  cursor: zoom-in;
}

/* Fixed-height crop for images */
.gallery-grid .tile > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .35s ease;
}
.gallery-grid .tile:hover > img{ transform: scale(1.03); }

/* Caption bar */
.gallery-grid .tile figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  color: #fff; font-weight: 600; line-height: 1.35; text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-size: clamp(1rem, .45vw + 1rem, 1.125rem);
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events: none;
}

/* Width utilities (desktop/tablet) */
@media (min-width: 700px){
  .gallery-grid .w-12{ grid-column: span 12; }
  .gallery-grid .w-8 { grid-column: span 8;  }
  .gallery-grid .w-7 { grid-column: span 7;  }
  .gallery-grid .w-6 { grid-column: span 6;  }
  .gallery-grid .w-5 { grid-column: span 5;  }
  .gallery-grid .w-4 { grid-column: span 4;  }
}

/* Mobile: all tiles full width */
@media (max-width: 699px){
  .gallery-grid .tile{ grid-column: 1 / -1; }
}

/* Make the whole tile clickable */
.gallery-grid .tile .tile-link{
  position: absolute;
  inset: 0;               /* fill the figure */
  z-index: 2;             /* above the image */
  display: block;
}

/* Keyboard focus ring for accessibility */
.gallery-grid .tile .tile-link:focus-visible{
  outline: 3px solid #5aa9ff;
  outline-offset: 3px;
  border-radius: inherit;
}

/* (Optional) keep captions clickable-through */
.gallery-grid .tile figcaption{ pointer-events: none; }

.gallery-grid .tile.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(0,0,0,.95);
  display: block;           /* take it out of the grid flow */
  cursor: zoom-out;
}

/* Make the image fit the screen without cropping when expanded */
.gallery-grid .tile.is-expanded > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* show full image */
  transform: none;          /* cancel hover zoom */
  transition: none;
}

/* Keep your caption visible and readable in expanded view */
.gallery-grid .tile.is-expanded figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  text-align: center;
  color: #fff;
  pointer-events: none;
}

/* Disable body scroll while an image is expanded */
body.no-scroll { overflow: hidden; }

/* Respect reduced motion users */
@media (prefers-reduced-motion: reduce){
  .gallery-grid .tile > img,
  .gallery-grid .tile:hover > img { transition: none; }
}


/* Families & Friends Card
   ======================== */

.families-card {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 4vw, 40px);
  margin: clamp(8px, 1vw, 16px) auto;
  max-width: 1100px;
  color: var(--text);
  background: rgba(0,0,0,.40);
  border-radius: 18px;
  border: 1px solid var(--nav-border);
  box-shadow: 0 18px 40px var(--shadow);
  margin-bottom:50px;
}

.families-card-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.families-card-header {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.families-card-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}

.families-card h2 {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  margin-top: 6px;
  margin-bottom: 0;
}

.families-card-grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(18px, 2vw, 24px);
}

@media (min-width: 800px) {
  .families-card-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.families-card-block {
  background: rgba(0,0,0,.25);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255,255,255,.08);
}

.families-card-subtitle {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.families-card-intro {
  margin: 0 0 10px;
  font-size: .95rem;
  color: var(--text-muted);
}

/* Lists with custom bullets */
.families-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.families-card-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 10px;
  line-height: 1.5;
}

.families-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  transform: translateY(0.15em);
  opacity: .9;
}

.families-card-footer {
  margin: clamp(20px, 2.6vw, 28px) auto 0; /* <-- centers the block */
  max-width: 50rem;                        /* keep your readable width */
  text-align: center;                      /* centers the text */
  font-size: .98rem;
  color: var(--text-muted);
  padding-inline: 12px;                    /* optional: nicer on mobile edges */
}


.gatherings-cta {
  margin-top: 1.25rem;
  text-align: center;
}

.gatherings-btn {
  display: inline-block;
  padding: 0.55rem 2.8rem;
  border-radius: 999px;
  background: #ffffff;
  color: #222;
  border: 1px solid rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gatherings-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  background: #f5f5f5;
}
