html {
  scroll-behavior: smooth;
}
/* So anchored sections show a slice of the image above + the heading/paragraph */
.gatherings-content-block[id] {
  scroll-margin-top: 100vh; /* adjust this value to taste */
}

@media (max-width: 768px) {
  .gatherings-content-block[id] {
    scroll-margin-top: 100vh;
  }
}

/* Full-screen image sections */
.gatherings-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh; /* better on mobile */
  overflow: clip;
  background: #000;
}

.gatherings-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Text at the bottom of the image */
.gatherings-hero-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 5vw 3rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
}

.gatherings-hero-content h1,
.gatherings-hero-content h2 {
  font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.4rem, 3vw, 3.2rem); /* bigger headings */
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}

.gatherings-content-block h1,
.gatherings-content-block h2 {
  font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.1rem, 2.8vw, 2.6rem);
  margin-bottom: .6rem;
  letter-spacing: 0.04em;
}

.gatherings-hero-content p {
  max-width: 40rem;
  font-size: clamp(1.0rem, 1.9vw, 1.4rem); /* bigger paragraph on image */
  line-height: 1.6;
}
/* 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: 25vh;
  
}
.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: 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;
}
.gatherings-content-block {
  /* 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 */
.gatherings-content-block::before,
.gatherings-content-block::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(160px, 60%);
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.gatherings-content-block::before {
  top: 1.2rem;
}

.gatherings-content-block::after {
  bottom: 1.2rem;
}

.gatherings-content-block p {
  max-width: 100%;          /* use full 70% width */
  margin: 0 auto;
  line-height: 1.9;
  font-size: clamp(1.0rem, 1.9vw, 1.4rem);
  letter-spacing: 0.03em;
  text-align: center;
}

/* Optional: on small screens let it go full width */
@media (max-width: 768px) {
  .gatherings-content-block {
    width: 100%;
    padding-inline: 7vw;
  }
}

.gatherings-cards {
  display: grid;
  gap: 1.75rem;
  /* max 2 per row */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(80vw, 1100px);
  margin: 3rem auto;
}

/* 1 per row on smaller screens */
@media (max-width: 700px) {
  .gatherings-cards {
    grid-template-columns: 1fr;
  }
}

.gatherings-card a {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,.65);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gatherings-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  background: rgba(0,0,0,.8);
}

.gatherings-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.gatherings-card-body {
  padding: 1.25rem 1.5rem 1.4rem;
  text-align: left;
}

.gatherings-card-drive {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.gatherings-card-title {
  font-size: 1.25rem;
  line-height: 1.3;
}

/* corp highlights */
/* === Shared highlight card styling (can also be used by Golf Highlights) === */
.gatherings-highlight {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.gatherings-highlight-inner {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55); /* adjust to match your Trails page */
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

/* Title style (like Golf Highlights header) */
.gatherings-highlight-title {
  font-size: clamp(1.35rem, 1.1vw + 1.1rem, 1.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.gatherings-highlight-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

/* List layout – single column for this section */
.gatherings-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gatherings-highlight-list.one-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gatherings-highlight-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: clamp(0.95rem, 0.35vw + 0.95rem, 1.05rem);
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.92);
}

/* Custom bullet */
.gatherings-highlight-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
}

/* Small-screen tweaks */
@media (max-width: 600px) {
  .gatherings-highlight-inner {
    padding: 1.5rem 1.5rem;
    border-radius: 14px;
  }

  .gatherings-highlight-title::after {
    width: 48px;
  }
}

.gatherings-line {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color:#ffffff;
}

.gatherings-cta {
  margin-top: 1.25rem;
  text-align: center;
}

.gatherings-btn {
  margin-top:25px;
  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;
}


/* Optional: center text on smaller screens and stack columns */
@media (max-width: 768px) {
  .gatherings-highlight {
    padding-inline: 7vw;
  }

  .gatherings-columns {
    grid-template-columns: 1fr;
  }

  .gatherings-highlight,
  .gatherings-col {
    text-align: left;
  }
