#hero {
  padding:0.5rem; /*overrides section padding for hero only*/
}
.hero {
  padding: 7rem 3rem; /* generous, but not overwhelming */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fcfcfc; /* clean, restrained neutral */
  border-bottom: 2px solid #e5e7eb; /* slightly stronger divider for eye-catching subtlety */
}

/* Grid layout */
.hero-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr; /* balanced split, restrained golden ratio */
  gap: 4rem; /* airy but not excessive */
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

/* Picture column */
.hero-picture img {
  width: 115%; /* slightly oversized for eye-catching presence */
  height: auto;
  border-radius: 8px; /* restrained curve */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12); /* more defined shadow for impact */
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  filter: brightness(0.97) contrast(1.05); /* subtle pop */
}
.hero-picture img:hover {
  transform: scale(1.02); /* restrained hover */
  box-shadow: 0 10px 24px rgba(0,0,0,0.15); /* eye-catching lift */
  filter: brightness(1) contrast(1.08);
}

/* Text column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem; /* slightly more spacing for clarity */
  padding: 1.25rem;
}

/* Title */
.hero-title {
  font-family: 'Goudos', serif;
  font-size: 3.8rem; /* commanding, eye-catching */
  font-weight: 700;
  color: #003322;
  margin: 0;
  letter-spacing: 1px; /* restrained but noticeable refinement */
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.08); /* subtle depth */
}

/* Tagline */
.hero-tagline {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #444;
  margin: 0.75rem 0 1.5rem 0;
  max-width: 640px;
  font-weight: 400;
  border-top: 1px solid #e5e7eb; /* restrained separator */
  padding-top: 0.75rem;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  font-style: italic; /* restrained emphasis */
}

/* Button */
.hero-btn {
  background: linear-gradient(135deg, var(--primary-green), #007a4d);
  color: #fff;
  font-weight: 600;
  padding: 1rem 2.5rem; /* slightly larger for eye-catching presence */
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  letter-spacing: 0.6px;
}
.hero-btn:hover {
  background: #005f3a;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-tagline {
    font-size: 1.15rem;
  }
}

/* Accessibility: focus state */
.hero-btn:focus {
  outline: 2px solid #007a4d;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,122,77,0.25); /* restrained but eye-catching focus ring */
}

/* Unified vertical rhythm */
.hero-content > * + * {
  margin-top: 1.25rem; /* consistent, slightly more pronounced spacing */
}

/* Hero theme variants */
.hero.dark {
  background-color: #121212;
  color: #f5f5f5;
}
.hero.dark .hero-title {
  color: #e5e5e5;
  text-shadow: 0 2px 6px rgba(255,255,255,0.08); /* restrained glow */
}
.hero.dark .hero-btn {
  background: linear-gradient(135deg, #007a4d, #004d2a);
}





/*=============================================================
==============================================================
CONNECT LINKS SECTION
==============================================================*/
/* Connect Links Section */
.connect-links-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 3.5rem; /* removed top padding, kept sides + bottom */
  background: linear-gradient(to bottom, #fafafa, #f5f5f5); /* subtle dimensional gradient */
  position: relative;
  z-index: 5;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.04); /* restrained depth */
}

.connect-links-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Headings */
.connect-heading {
  text-align: center;
  font-size: 2.1rem; /* slightly larger for eye-catching presence */
  margin-bottom: 2rem;
  font-family: 'Goudos', serif; /* switched to Goudos font */
  color: var(--primary-green);
  text-shadow: 0 2px 6px rgba(0,0,0,0.12); /* modern dimensional shadow */
  position: relative;
  display: inline-block;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.connect-heading:hover {
  color: #007a4d; /* restrained brighter accent */
  text-shadow: 0 3px 8px rgba(0,0,0,0.15); /* eye-catching hover depth */
}

.connect-heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: var(--primary-green);
  margin: 0.75rem auto 0;
  border-radius: 2px;
  opacity: 0.85;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.connect-heading:hover::after {
  background-color: #4caf50;
  box-shadow: 0 0 12px rgba(76,175,80,0.5);
  width: 80px;
}

/* Staggered heading animations */
.connect-links-inner .connect-heading:nth-of-type(1) { animation-delay: 0.2s; }
.connect-links-inner .connect-heading:nth-of-type(2) { animation-delay: 0.4s; }

/* Grid Layouts */
.card-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.card-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Card Styling */
.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border-radius: 12px; /* sleeker curve */
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
  font-family: 'Goudos', serif; /* Goudos font for card text */
}

.connect-card:nth-child(1) { animation-delay: 0.2s; }
.connect-card:nth-child(2) { animation-delay: 0.4s; }
.connect-card:nth-child(3) { animation-delay: 0.6s; }
.connect-card:nth-child(4) { animation-delay: 0.8s; }
.connect-card:nth-child(5) { animation-delay: 1s; }

.connect-card:hover {
  transform: translateY(-6px) scale(1.03);
  border: 1px solid var(--primary-green);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14); /* deeper hover shadow */
}

.connect-card:focus {
  outline: 3px solid var(--primary-green);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(0,122,77,0.25);
}

/* Icon Styling */
.card-icon {
  background: rgba(0,128,0,0.08);
  border-radius: 50%;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12); /* restrained dimensional pop */
}

.card-icon img,
.social-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Card Content */
.card-title {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  font-family: 'Goudos', serif;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1); /* restrained dimensional text */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.card-title:hover {
  color: var(--primary-green);
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  font-family: 'Goudos', serif;
  transition: color 0.3s ease;
}
.card-description:hover {
  color: #333; /* restrained hover emphasis */
}

/* Social Card Differentiation */
.social-card {
  background: #f9f9ff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.social-card:hover {
  background: #f0f0ff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-grid.grid-3,
  .card-grid.grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Shared entrance animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*=============================================================
EVENT TIMES SECTION (COMPACT + FIXED WIDTH)
==============================================================*/
.event-times {
  width: 492px;                /* fixed outer width */
  margin: 0 auto 1.5rem;
  padding: 0.75rem;
  background: #f9f9f9;         /* subtle gray background */
  border-top: 2px solid var(--primary-green);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.event-box {
  width: 100%;                 /* match parent, no drift */
  max-width: 444px;            /* interior constraint */
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Heading */
.event-heading {
  text-align: center;
  font-size: 1.3rem;           /* smaller heading */
  font-family: var(--font-serif-primary);
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.event-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
  margin: 0.4rem auto 0;
  border-radius: 2px;
  opacity: 0.8;
}

/* Table */
.event-table {
  width: 100%;
  border-collapse: collapse;
}

.event-row {
  border-bottom: 1px solid #eee;
}

.event-day {
  font-weight: 600;
  font-family: var(--font-sans-primary);
  color: var(--primary-green);
  padding: 0.3rem;
  width: 22%;                  /* tighter column */
  font-size: 0.8rem;
}

.event-name {
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-sans-primary);
  color: #222;
  padding: 0.3rem;
  width: 48%;                  /* tighter middle column */
}

.event-time {
  font-family: var(--font-sans-secondary);
  color: #555;
  padding: 0.2rem;          /* tighter padding */
  text-align: right;
  width: 25%;               /* narrower column */
  font-size: 0.7rem;        /* smaller text */
  white-space: nowrap;      /* prevent wrapping */
}


.calendar-link:hover {
  background-color: #007a4d;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .event-times {
    width: 100%;
  }
  .event-box {
    max-width: 100%;
  }
  .event-day, .event-name, .event-time {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.25rem 0;
  }
  .event-row {
    display: block;
    margin-bottom: 0.5rem;
    border-bottom: none;
    padding: 0.5rem;
    border-radius: 4px;
    background: #fafafa;
  }
}


/* Footer Link */
.event-footer {
  text-align: center;
  margin-top: 1.25rem;
}
.calendar-link {
  font-family: 'Goudos', serif;
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--primary-green);
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.calendar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary-green);
  transition: width 0.3s ease;
}
.calendar-link:hover {
  color: #fff;
  background-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0,128,0,0.4);
}
.calendar-link:hover::after {
  width: 100%;
}
/*=============================================================
HOME ANNOUNCEMENTS SECTION (UNIFIED WITH EVENT TIMES)
==============================================================*/
.announcements {
  width: 492px;                /* match Event Times outer width */
  margin: 0 auto 1.5rem;
  padding: 0.75rem;
  background: #f9f9f9;         /* same subtle gray background */
  border-top: 2px solid var(--primary-green);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
}

.announcements-box {
  width: 100%;
  max-width: 444px;            /* match Event Times interior */
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Heading */
.announcements h2 {
  text-align: center;
  font-size: 1.3rem;           /* unified with Event Times */
  font-family: var(--font-serif-primary);
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.announcements h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
  margin: 0.4rem auto 0;
  border-radius: 2px;
  opacity: 0.8;
}

/* Button container */
.announcement-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Primary button (latest newsletter) */
.announcement-button.latest {
  display: inline-block;
  font-family: var(--font-sans-primary);
  font-weight: 600;
  font-size: 0.8rem;           /* compact text */
  color: #fff;
  background: var(--primary-green);
  text-decoration: none;
  padding: 0.4rem 1rem;        /* compact padding */
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.announcement-button.latest:hover {
  background-color: #007a4d;
  transform: translateY(-1px);
}

/* Secondary button (archive link) */
.announcement-button.archive-link {
  display: inline-block;
  font-family: var(--font-sans-primary);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-green);
  background: #fff;
  border: 1px solid var(--primary-green);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.announcement-button.archive-link:hover {
  background-color: var(--primary-green);
  color: #fff;
  transform: translateY(-1px);
}

/* Unavailable state */
.announcement-button.unavailable {
  display: inline-block;
  font-family: var(--font-sans-primary);
  font-weight: 600;
  font-size: 0.8rem;
  color: #999;
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: not-allowed;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .announcements {
    width: 100%;
  }
  .announcements-box {
    max-width: 100%;
  }
  .announcement-button.latest,
  .announcement-button.archive-link,
  .announcement-button.unavailable {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

