/* --------------------------------------------------
   BASE
-------------------------------------------------- */
body{
  margin:0;
  padding:0;
  line-height:1.6;
  color:#333;
  background-color:#f4f4f4;
  font-family:'Poppins', sans-serif;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:1rem;
}

/* Keep links clean site-wide */
a{ text-decoration:none; }

/* --------------------------------------------------
   HEADER + NAVIGATION
-------------------------------------------------- */
.page-header{
  background-color:#004d40;
  color:#ecf0f1;
  padding:0.5rem 0;
  border-bottom:2px solid #e74c3c;
}

.page-header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.page-title{
  margin:0;
  font-size:1.7rem;
  padding-left:0.5rem;
}

.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
}

.main-nav li{ position:relative; }

.main-nav a{
  display:block;
  padding:0.8rem 1.2rem;
  color:#ecf0f1;
  transition:background-color 0.3s ease;
}

.main-nav a:hover{ background-color:#e74c3c; }

/* --------------------------------------------------
   MOBILE MENU (hamburger)
-------------------------------------------------- */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:space-around;
  width:30px;
  height:20px;
  cursor:pointer;
  padding-right:1rem;
}

.menu-toggle span{
  display:block;
  width:100%;
  height:3px;
  background-color:#ecf0f1;
  transition:all 0.3s ease;
}

/* --------------------------------------------------
   MAIN WRAPPER
-------------------------------------------------- */
main{
  padding: 2rem 0;
  background-color: #fff;
  box-shadow: none;
}
 
 /* --------------------------------------------------
   MEETING CALLOUT (match community grid container)
-------------------------------------------------- */

/* Outer wrapper just provides spacing */
 

/* Remove any shading/background around the meeting section */
.meeting-fullbleed{
  width:100%;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
}

/* This becomes the "container panel" like .community-links-grid */
.meeting-inner{
  max-width:900px;                  /* MATCH community-links-grid */
  width:100%;
  margin:0 auto;
  background-color:#bbb;            /* MATCH community-links-grid */
  padding:1rem;                     /* MATCH community-links-grid */
  border-radius:10px;               /* MATCH community-links-grid */
  box-shadow:0 4px 12px rgba(0,0,0,0.1);  /* MATCH community-links-grid */
  box-sizing:border-box;
}

/* Optional: tighten spacing so meeting card sits nicely in the panel */
.meeting-callout{
  margin: 0; /* instead of 0 auto 16px auto */
}


.meeting-callout{
  width:100%;
  margin:0 auto 16px auto;
  border:2px solid #e74c3c;
  border-radius:12px;
  padding:14px 16px;
  background:linear-gradient(180deg, #fff 0%, #fff7f2 100%);
  box-shadow:0 10px 22px rgba(0,0,0,0.12);
  position:relative;
  overflow:hidden;
  animation:meetingPulse 2.4s ease-in-out infinite;
  box-sizing:border-box;
}

@keyframes meetingPulse{
  0%{ transform:translateY(0); }
  50%{ transform:translateY(-2px); }
  100%{ transform:translateY(0); }
}

.meeting-kicker{
  display:inline-block;
  font-size:0.85rem;
  font-weight:700;
  letter-spacing:0.22em;
  color:#004d40;
  background:rgba(0, 77, 64, 0.08);
  padding:4px 10px;
  border-radius:999px;
  margin-bottom:10px;
}

.meeting-title{
  margin:0 0 10px 0;
  font-size:1.05rem;
  letter-spacing:0.18em;
  line-height:1.25;
  color:#111;
}

.meeting-when,
.meeting-where{
  font-size:0.95rem;
  letter-spacing:0.12em;
  line-height:1.45;
  color:#222;
}

.meeting-dot{
  margin:0 6px;
  color:#e74c3c;
  font-weight:700;
}

.meeting-place{
  font-weight:700;
  color:#004d40;
}

.meeting-actions{ margin-top:12px; }

.meeting-button{
  display:inline-block;
  padding:10px 14px;
  background:#e74c3c;
  color:#fff;
  border-radius:10px;
  font-weight:700;
  letter-spacing:0.06em;
  box-shadow:0 8px 16px rgba(231,76,60,0.28);
  transition:transform 0.15s ease, filter 0.15s ease;
}

.meeting-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
}

/* --------------------------------------------------
   HERO (image left, text right)
-------------------------------------------------- */
.hero-content-flex{
  display:flex;
  gap:30px;
  align-items:flex-start;
  margin-bottom:30px;
}

.hero-left{
  flex:0 0 380px;
  max-width:380px;
  text-align:center;
}

.hero-right{
  flex:1;
  min-width:280px;
}

.pop-para{
  margin-bottom:1rem;
  font-size:1.1rem;
  text-align:left !important;
  padding:12px;
  border-radius:6px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.pop-para:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 14px rgba(0,0,0,0.25);
  background-color:#f9f9f9;
  color:#080;
  text-shadow:1px 1px 3px rgba(0,0,0,0.3);
}

/* --------------------------------------------------
   VENMO ROW
-------------------------------------------------- */
.side-by-side{
  display:flex;
  align-items:center;
  gap:120px;
}

.side-by-side img{
  width:310px;
  height:auto;
}

.side-by-side .venmo-button{
  width:250px;
  padding:14px 0;
  background-color:#3D95CE;
  color:white;
  border:none;
  border-radius:8px;
  font-size:14px;
  text-align:center;
  cursor:pointer;
  display:block;
}

/* --------------------------------------------------
   COMMUNITY LINK GRID
-------------------------------------------------- */
.community-links-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  background-color:#bbb;
  padding:1rem;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  max-width:900px;
  width:100%;
  margin:0 auto;
  gap:20px;
}

.community-card{
  background-color:#d8e2dc;
  border-radius:8px;
  width:200px;
  height:150px;
  margin:auto;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  display:flex;
  justify-content:center;
  align-items:center;
}

.community-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.community-card a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:inherit;
  width:100%;
  height:100%;
  padding:15px;
}

.community-card a img{
  width:80px;
  height:80px;
  object-fit:cover;
  margin-bottom:10px;
  border-radius:6px;
}

.card-title{
  color:#4a4e69;
  font-size:1rem;
  text-align:center;
  line-height:1.2;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer{
  background-color:#004d40;
  color:#ecf0f1;
  text-align:center;
  padding:1.5rem 0;
  margin-top:2rem;
  width:100%;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px){
  /* Header */
  .page-title{
    font-size:1.35rem;
    text-align:center;
    width:100%;
    padding:0.5rem 0;
  }

  .menu-toggle{ display:flex; }

  .main-nav{
    width:100%;
    max-height:0;
    overflow:hidden;
    transition:max-height 0.3s ease-out;
    flex-basis:100%;
  }

  .main-nav.active{ max-height:350px; }

  .main-nav ul{
    flex-direction:column;
    background-color:#34495e;
    padding:0;
  }

  .main-nav a{
    padding:1rem 1.5rem;
    text-align:center;
    font-size:1.1rem;
  }

  /* Meeting: revert to normal card look */
  .meeting-fullbleed{
    background:transparent;
    padding:0;
  }

  .meeting-inner{
    max-width:none;
    padding:0 12px;
  }

  .meeting-callout{
    width:auto;
    max-width:100%;
    margin:12px auto 16px auto;
	text-align: center;
  }

  .meeting-title{ font-size:1.0rem; }
  .meeting-when, .meeting-where{ font-size:0.93rem; }

  .meeting-actions{ text-align:center; }
  .meeting-button{ width:auto; }

  /* Hero */
  .hero-content-flex{
    flex-direction:column;
    gap:20px;
    padding:0 10px;
    align-items:center;
  }

  .hero-left,
  .hero-right{
    max-width:100%;
    flex:none;
    min-width:0;
  }

  .hero-left img{
    width:100%;
    max-width:350px;
    margin:0 auto;
    border-radius:6px;
    display:block;
  }

  /* Venmo */
  .side-by-side{
    flex-direction:column;
    align-items:center;
    gap:14px;
    margin-top:10px;
  }

  .side-by-side img{
    width:95%;
    max-width:260px;
  }

  .side-by-side .venmo-button{
    width:90%;
    max-width:300px;
    font-size:0.9rem;
  }

  /* Community cards */
  .community-links-grid{
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    gap:16px;
    padding:1rem 0.5rem;
  }

  .community-card{
    width:150px;
    height:140px;
  }

  .community-card a img{
    width:70px;
    height:70px;
  }

  .card-title{ font-size:0.95rem; }

  /* Footer */
  .footer{
    padding:1rem 0.5rem;
    font-size:0.95rem;
  }
}

/* Force meeting callout to center (override any other rules) */
.meeting-callout,
.meeting-callout *{
  text-align: center !important;
}