/* =================================================
Gold Member Page
================================================= */
.gold-hover-btn .wp-block-button__link {
    background-color: #007299;
    color: #fff;
    transition: all 0.25s ease;
}

/* 🔥 hover */
.gold-hover-btn .wp-block-button__link:hover {
    background-color: #D4AF37;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* =================================================
MEMBERSHIP APPLICATION PAGE WRAPPER
================================================= */

.membership-application-page {
max-width: 860px;
margin: 80px auto;
padding: 0 24px;
}

/* =================================================
PAGE TITLE
================================================= */

.membership-application-page h1 {
text-align: center;
color: #0f6e88;
letter-spacing: .08em;
margin-bottom: 60px;
}

/* =================================================
GROWTHZONE CARD PANELS
================================================= */

.membership-application-page #gzns .panel {
background: #ffffff;
border-radius: 18px;
border: none;

padding: 36px !important;
margin-bottom: 36px !important;
margin-top: 0 !important;

box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* =================================================
REMOVE ONLY THE LOGO PANEL
================================================= */

.membership-application-page #gzns .panel:has(#registration-header) {
display: none !important;
}

/* =================================================
SECTION HEADERS
================================================= */

.membership-application-page #gzns .panel-heading {

background: linear-gradient(90deg,#0f6e88,#1a8aa8);
color: white;

border-radius: 10px;

padding: 12px 18px;

font-weight: 600;
font-size: 15px;

margin-bottom: 24px;

text-align: left;
}

/* =================================================
INSTRUCTION TEXT (UPDATED RULE)
================================================= */

.membership-application-page #gzns p {
font-size: 16px;
line-height: 1.6;
color: #156c86;
margin-bottom: 18px;
}

/* =================================================
MEMBERSHIP OPTIONS
================================================= */

.membership-application-page #gzns .radio {
display: block;

padding: 10px 12px;
border-radius: 8px;
border-left: 3px solid transparent;

margin-bottom: 6px;

transition: background .15s ease, border-color .15s ease;
}

.membership-application-page #gzns .radio:hover {
background: #f3f8fb;
}

.membership-application-page #gzns .radio:has(input:checked) {
background: #e8f4f8;
border-left: 3px solid #0f6e88;
}

.membership-application-page #gzns label {
font-size: 16px;
font-weight: 500;
color: #126a86;
}

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

.membership-application-page input[type="text"],
.membership-application-page input[type="email"],
.membership-application-page select {

width: 100%;
max-width: 100%;

border-radius: 8px;
border: 1px solid #d9e3ea;

padding: 10px 12px;

font-size: 15px;

margin-bottom: 18px;
}

#gzns .mn-field-name.mn-required {
background: none !important;
}

/* =================================================
FORM FOCUS STATES
================================================= */

.membership-application-page input:focus,
.membership-application-page select:focus {

outline: none;

border-color: #0f6e88;

box-shadow: 0 0 0 2px rgba(15,110,136,.15);
}

/* =================================================
NEXT BUTTON
================================================= */

#gzns form button.mn-button.form-control.btn.btn-warning {
background-color: #0f6e88 !important;
border-color: #0f6e88 !important;
background-image: none !important;
color: #ffffff !important;
}

#gzns form button.mn-button.form-control.btn.btn-warning:hover,
#gzns form button.mn-button.form-control.btn.btn-warning:focus {
background-color: #0c566b !important;
border-color: #0c566b !important;
background-image: none !important;
}

#gzns form button.mn-button.form-control.btn.btn-warning:active,
#gzns form button.mn-button.form-control.btn.btn-warning.active {
background-color: #0a4b5c !important;
border-color: #0a4b5c !important;
background-image: none !important;
box-shadow: none !important;
}

/* =================================================
RECAPTCHA
================================================= */

.membership-application-page #RecaptchaContainer {
margin: 15px auto 20px auto;
display: flex;
}

/* =================================================
POWERED BY GROWTHZONE
================================================= */

.membership-application-page #gzns + div {
text-align: center;
font-size: 13px;
margin-top: 20px;
color: #7a8a95;
}

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

@media (max-width: 600px) {

.membership-application-page {
margin: 32px auto;
padding: 0 16px;
}

.membership-application-page h1 {
font-size: 1.4rem;
margin-bottom: 32px;
}

.membership-application-page #gzns .panel {
padding: 20px !important;
border-radius: 12px;
margin-bottom: 20px !important;
}

.membership-application-page #gzns .panel-heading {
font-size: 14px;
padding: 10px 14px;
}

.membership-application-page #gzns label {
font-size: 15px;
}

.membership-application-page input[type="text"],
.membership-application-page input[type="email"],
.membership-application-page select {
font-size: 16px;
}

}

/* ================================================= */
/* GLOBAL SECTION CONTAINMENT */
/* ================================================= */

.page-hero,
.reasons-section,
.ways-section,
.thankful-banner,
.cta-section {

  position: relative;
  padding: 100px 24px;
  isolation: isolate;
}

.page-hero > *,
.reasons-section > *,
.ways-section > *,
.thankful-banner > *,
.cta-section > * {

  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* ================================================= */
/* HERO SECTION — PROPER ALIGNMENT */
/* ================================================= */

.page-hero .wp-block-columns {

  display: grid;
  grid-template-columns: minmax(520px, 640px) minmax(320px, 380px);

  gap: 72px;

  align-items: center; /* THIS aligns both columns vertically */

  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}


/* left text column */
.page-hero .wp-block-column:first-child {

  max-width: 620px;

  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical alignment lock */
}


/* right stat column */
.page-hero .wp-block-column:last-child {

  display: flex;
  justify-content: center; /* not pushed too far right */
  align-items: center;
}


/* ================================================= */
/* STAT BLOCK — SMALLER & BETTER PROPORTIONED */
/* ================================================= */

.stat-block {

  width: 100%;
  max-width: 340px;   /* reduced from 420px */

  padding: 44px 36px; /* reduced padding */

  background: #ffffff;

  border: 1px solid rgba(15,110,136,0.18);

  border-radius: 18px;

  box-shadow:
    0 10px 26px rgba(15,110,136,0.12),
    0 2px 6px rgba(0,0,0,0.04);

  transition: all 0.25s ease;
}


/* $78 size reduced proportionally */
.stat-block h2 {

  font-size: clamp(52px, 6vw, 72px);

  font-weight: 500;

  color: #1b6f80;

  margin-bottom: 18px;
}


/* description text */
.stat-block p {

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

  color: #2c4a52;

  margin-bottom: 14px;
}


/* location line */
.stat-block p:last-child {

  font-size: 15px;
  color: #40666f;
  margin-bottom: 0;
}
/* ================================================= */
/* STAT BLOCK — FORCE PROPER INTERNAL LAYOUT */
/* ================================================= */

.stat-block {

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

  text-align: center;
}


/* force number onto its own line no matter markup */
.stat-block h2,
.stat-block .stat-number {

  display: block;
  width: 100%;
  text-align: center;
}


/* force description block below number */
.stat-block p,
.stat-block .stat-description {

  display: block;
  width: 100%;
  text-align: center;
}


/* force location line to bottom */
.stat-block p:last-child,
.stat-block .stat-location {

  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* =========================================
   STAT BLOCK — HOVER
========================================= */

.stat-block:hover {

  transform: translateY(-6px);

  border: 1px solid rgba(15,110,136,0.28);

  box-shadow:
    0 22px 60px rgba(15,110,136,0.18),
    0 6px 18px rgba(0,0,0,0.06);
}


/* ================================================= */
/* REASONS SECTION */
/* ================================================= */

.reasons-section {

  padding-top: 100px;
  padding-bottom: 100px;
}

.reasons-section .wp-block-columns {

  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: stretch;
}

.reasons-section .wp-block-column {

  display: block !important;
  height: 100%;
}

.reasons-section .wp-block-column > * {
  height: 100%;
}

.reason-card {

  display: flex;
  flex-direction: column;
  height: 100%;

  padding: 32px 28px 28px 24px;

  background: rgba(255,255,255,0.55);

  border-left: 3px solid currentColor;
  border-radius: 2px;

  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);

  transition: all 0.2s ease;
}

/* ================================================= */
/* REASON CARD — COMPLETE HOVER SYSTEM */
/* ================================================= */

.reason-card {

  position: relative;
  overflow: hidden;

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


/* Subtle lift + depth */

.reason-card:hover {

  transform: translateY(-8px);

  background: rgba(255,255,255,0.9);

  box-shadow:
    0 28px 70px rgba(15,110,136,0.18),
    0 8px 20px rgba(0,0,0,0.05);
}


/* Animated accent bar (replaces static border-left) */

.reason-card::before {

  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 4px;
  height: 0%;

  background: currentColor;

  transition: height 0.3s ease;
}

.reason-card:hover::before {
  height: 100%;
}

.reason-card p:last-child {
  margin-top: auto;
}


/* ================================================= */
/* WAYS SECTION — PREMIUM STYLING */
/* Add class "ways-section" to the outer Group block */
/* ================================================= */

.ways-section {
  background: #eef8fb;
  padding: 80px 20px;
}

/* Keep content nicely contained */
.ways-section .wp-block-group__inner-container,
.ways-section .is-layout-constrained {
  max-width: 1100px;
  margin: 0 auto;
}

/* Eyebrow text: "Take Action" */
.ways-section p:first-of-type {
  text-align: center;
  color: #0f6e88;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  font-size: 14px;
}

/* Big title: "WAYS TO SUPPORT LOCAL" */
.ways-section h2,
.ways-section h1 {
  text-align: center;
  color: #0f6e88;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 24px 0;
  font-size: clamp(34px, 4vw, 56px);
}

/* Divider line under the title */
.ways-section hr {
  border: none;
  height: 1px;
  background: rgba(15,110,136,0.35);
  max-width: 820px;
  margin: 0 auto 48px auto;
}

/* Two-column spacing refinement */
.ways-section .wp-block-columns {
  gap: 90px;
  margin-top: 20px;
}

/* Each column typography */
.ways-section .wp-block-column {
  color: #0f4c5c;
  font-size: 18px;
  line-height: 1.75;
}

/* Item headings: "Buy Gifts Local", etc. */
.ways-section h3 {
  color: #0f6e88;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px 0;
}

/* Item paragraphs */
.ways-section h3 + p {
  margin: 0 0 36px 0;
  color: #0b3c4a;
  max-width: 42ch; /* keeps lines readable */
}
/* ================================================= */
/* WAYS SECTION — FORCE LEFT ALIGNMENT */
/* ================================================= */

.ways-section .wp-block-column {
  text-align: left;
}

.ways-section .wp-block-column h3,
.ways-section .wp-block-column p {
  text-align: left;
}

/* Responsive: stack columns nicely */
@media (max-width: 900px) {
  .ways-section {
    padding: 60px 18px;
  }

  .ways-section .wp-block-columns {
    gap: 30px;
  }

  .ways-section h3 + p {
    max-width: none;
  }
}




/* ================================================= */
/* THANKFUL SECTION — CLEAN CALLOUT BANNER */
/* Add class "thankful-section" to the outer Group */
/* ================================================= */

.thankful-section {
  background: #eef8fb;
  padding: 90px 20px;

  /* subtle top/bottom separators like your screenshot */
  border-top: 1px solid rgba(15,110,136,0.18);
  border-bottom: 1px solid rgba(15,110,136,0.18);
}

/* inner width control */
.thankful-section .wp-block-group__inner-container,
.thankful-section .is-layout-constrained {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* main heading */
.thankful-section h2,
.thankful-section h1 {
  margin: 0 0 18px 0;

  color: #0f6e88;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  font-size: clamp(34px, 4.2vw, 56px);
}

/* supporting line */
.thankful-section p {
  margin: 0;
  color: #0b3c4a;

  font-size: 18px;
  line-height: 1.7;

  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* optional: make the line feel more "signature" */
.thankful-section p em,
.thankful-section p strong {
  color: #0f6e88;
}

/* mobile spacing */
@media (max-width: 900px) {
  .thankful-section {
    padding: 60px 18px;
  }

  .thankful-section p {
    font-size: 16px;
  }
}


/* ================================================= */
/* CTA SECTION — JOIN THE CHAMBER */
/* ================================================= */

.cta-section {

  background: linear-gradient(
    180deg,
    #eef8fb 0%,
    #e6f3f7 100%
  );

  padding: 100px 20px;

  border-top: 1px solid rgba(15,110,136,0.15);
  border-bottom: 1px solid rgba(15,110,136,0.15);

  text-align: center;
}


/* constrain width */
.cta-section .wp-block-group__inner-container,
.cta-section .is-layout-constrained {

  max-width: 900px;
  margin: 0 auto;

}


/* main heading */
.cta-section h2 {

  color: #0f6e88;

  font-size: clamp(36px, 4vw, 56px);

  font-weight: 600;

  letter-spacing: 0.04em;

  margin-bottom: 18px;

}


/* supporting text */
.cta-section p {

  color: #0b3c4a;

  font-size: 18px;

  line-height: 1.7;

  max-width: 700px;

  margin: 0 auto 40px auto;

}


/* ================================================= */
/* BUTTON GROUP */
/* ================================================= */

.cta-section .wp-block-buttons {

  gap: 20px;

  justify-content: center;

}


/* ================================================= */
/* BUTTON STYLE */
/* ================================================= */

.cta-section .wp-block-button__link {

  background: #0f6e88;

  color: white;

  padding: 16px 28px;

  border-radius: 8px;

  font-weight: 600;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  font-size: 14px;

  box-shadow: 0 8px 20px rgba(15,110,136,0.25);

  transition: all 0.25s ease;

}


/* hover */
.cta-section .wp-block-button__link:hover {

  transform: translateY(-3px);

  box-shadow: 0 14px 32px rgba(15,110,136,0.35);

}


/* click */
.cta-section .wp-block-button__link:active {

  transform: translateY(0);

}


/* mobile */
@media (max-width: 768px) {

  .cta-section {

    padding: 70px 20px;

  }

}


/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 1000px) {

  .page-hero .wp-block-columns,
  .reasons-section .wp-block-columns,
  .ways-section .wp-block-columns {

    grid-template-columns: 1fr;
  }

}


/* =====================================================
   CONTACT PAGE CARD
===================================================== */

.gz-contact-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 70px 70px 80px 70px;
  background: #ffffff !important;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.06);
}


/* =====================================================
   FIELD SPACING
===================================================== */

.gz-contact-container #mn-content .mn-contact-form label {
  display: block;
  margin-bottom: 24px;
}


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

.gz-contact-container #mn-content input[type="text"],
.gz-contact-container #mn-content input[type="email"],
.gz-contact-container #mn-content input[type="tel"],
.gz-contact-container #mn-content textarea {

  width: 100%;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid #e6edf1;
  background: #f7fbfd;
  font-size: 15px;
  transition: all 0.25s ease;
}


/* Focus State */

.gz-contact-container #mn-content input:focus,
.gz-contact-container #mn-content textarea:focus {
  outline: none;
  border-color: #0f6e88;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15,110,136,0.10);
}


/* Textarea */

.gz-contact-container #mn-content textarea {
  min-height: 160px;
  resize: vertical;
}


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

.gz-contact-container #mn-content .mn-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #1f2937;
}


/* =====================================================
   SEND MESSAGE BUTTON
   Styled like "Add an Event"
===================================================== */

.gz-contact-container #mn-content input[type="submit"],
.gz-contact-container #mn-content button {

  background: linear-gradient(135deg, #0f6e88, #0b5c72);
  color: #ffffff;
  border: none;
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: none;
  cursor: pointer;

  box-shadow: 0 20px 45px rgba(15,110,136,0.30);
  transition: all 0.3s ease;
}


/* Hover */

.gz-contact-container #mn-content input[type="submit"]:hover,
.gz-contact-container #mn-content button:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 65px rgba(15,110,136,0.40);
}


/* Active */

.gz-contact-container #mn-content input[type="submit"]:active,
.gz-contact-container #mn-content button:active {
  transform: translateY(-1px);
}





/* ================================================= */
/* MASTER DIRECTORY CARD */
/* ================================================= */

.gz-directory-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 70px 70px 80px 70px;
  background: #ffffff !important;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.06);
}
/* ================================================= */
/* DIRECTORY SEARCH — STRUCTURALLY CORRECT VERSION */
/* ================================================= */

/* 1️⃣ Kill Bootstrap row spacing */
.gz-directory-container .row.gz-directory-search {
  margin: 35px 0 45px 0 !important;
  padding: 0 !important;
}

/* 2️⃣ Kill Bootstrap column padding */
.gz-directory-container .row.gz-directory-search > .col {
  padding: 0 !important;
}

/* 3️⃣ Style the REAL search wrapper */
.gz-directory-container .gz-search-filters {
  display: flex !important;
  align-items: center;

  background: #f7fafc !important;
  border: 1px solid #dbe7ec !important;
  border-radius: 999px !important;

  padding: 4px !important;
  box-shadow: none !important;

  width: 100%;
}

/* 4️⃣ Input */
.gz-directory-container .gz-search-keyword {
  flex: 1;
  height: 48px;
  border: none !important;
  background: transparent !important;
  padding: 0 22px !important;
  font-size: 15px;
  color: #0f4c5c;
  outline: none !important;
  box-shadow: none !important;
}

/* Placeholder */
.gz-directory-container .gz-search-keyword::placeholder {
  color: #7b98a1;
}

/* 5️⃣ Button */
.gz-directory-container .gz-search-btn {
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: none !important;

  background: #0f6e88 !important;
  color: #ffffff !important;

  font-size: 14px;
  font-weight: 600;

  transition: all 0.2s ease;
}

/* Hover */
.gz-directory-container .gz-search-btn:hover {
  background: #0b5568 !important;
}

/* 6️⃣ Clean focus ring */
.gz-directory-container .gz-search-filters:focus-within {
  border-color: #0f6e88 !important;
  box-shadow: 0 0 0 3px rgba(15,110,136,0.12);
}
/* ================================================= */
/* DIRECTORY SEARCH — MOBILE FIX */
/* ================================================= */

@media (max-width: 768px) {

  /* Stack vertically */
  .gz-directory-container .gz-search-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 20px !important;
    padding: 16px !important;
    gap: 12px;
  }

  /* Full width input */
  .gz-directory-container .gz-search-keyword {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
  }

  /* Full width button */
  .gz-directory-container .gz-search-btn {
    width: 100% !important;
    height: 44px !important;
    border-radius: 999px !important;
  }

}

/* ================================================= */
/* DIRECTORY ALPHANUMERIC FILTER — INTERACTIVE */
/* ================================================= */

/* Remove Bootstrap button styling */
.gz-directory-container .gz-alphanumeric-btn .btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  color: #0f6e88 !important;
  font-weight: 600;
  letter-spacing: 1px;

  padding: 6px 10px !important;
  border-radius: 6px;

  position: relative;
  transition: all 0.2s ease;
}

/* Hover */
.gz-directory-container .gz-alphanumeric-btn .btn:hover {
  color: #083e4d !important;
  transform: translateY(-2px);
  background: rgba(15,110,136,0.08) !important;
}

/* Underline animation */
.gz-directory-container .gz-alphanumeric-btn .btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0f6e88;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.gz-directory-container .gz-alphanumeric-btn .btn:hover::after {
  width: 60%;
}

/* Active state (GrowthZone usually adds .active) */
.gz-directory-container .gz-alphanumeric-btn .btn.active {
  background: #0f6e88 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

/* ================================================= */
/* CATEGORY CARD — TRUE VERTICAL ALIGNMENT */
/* ================================================= */

.gz-directory-container .gz-cat-card {
  display: flex !important;
  align-items: center !important;
  padding: 28px 32px !important;
  gap: 24px;
}

/* Make the link (icon wrapper) flex-safe */
.gz-directory-container .gz-cat-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Icon size control */
.gz-directory-container .gz-cat-card-img {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain;
}

/* Text container */
.gz-directory-container .gz-card-body {
  display: flex;
  align-items: center;   /* vertical center */
  height: 100%;
}

/* Remove default heading margin pushing text upward */
.gz-directory-container .gz-card-body h3,
.gz-directory-container .gz-card-body h4 {
  margin: 0 !important;
  line-height: 1.3;
}

/* ================================================= */
/* CATEGORY CARDS — MOBILE FIX */
/* ================================================= */

@media (max-width: 768px) {

  /* Stack content vertically */
  .gz-directory-container .gz-cat-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 14px;
  }

  /* Icon */
  .gz-directory-container .gz-cat-card-img {
    width: 60px !important;
    height: 60px !important;
  }

  /* Text wrapper full width */
  .gz-directory-container .gz-card-body {
    width: 100%;
    display: block !important;
  }

  /* Allow wrapping */
  .gz-directory-container .gz-card-body h3,
  .gz-directory-container .gz-card-body h4 {
    white-space: normal !important;
    word-break: break-word;
    font-size: 16px;
    line-height: 1.3;
  }

}






/* ================================================= */
/* GROWTHZONE CALENDAR SECTION — CLEAN WHITE CARD SYSTEM */
/* Scoped to .gz-wrapper */
/* ================================================= */

/* White card container */
.gz-wrapper {
  max-width: 1400px;
  margin: 60px auto 100px;
  padding: 60px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.06),
    0 8px 20px rgba(0,0,0,0.04);
}

/* Remove container-fluid stretch */
.gz-wrapper .container-fluid {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ================================================= */
/* SEARCH SECTION — CLEAN FLAT VERSION */
/* ================================================= */

/* Kill grey background wrapper */
.gz-wrapper .input-group,
.gz-wrapper .input-group.gz-search-filters {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
}

/* Reset row spacing */
.gz-wrapper .row {
  margin: 0 !important;
}

/* Layout */
.gz-wrapper .input-group.gz-search-filters {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 36px !important;
}

/* Keyword input */
.gz-wrapper .gz-search-keyword,
.gz-wrapper #searchInput {
  flex: 1 1 auto !important;
  height: 52px !important;
  border-radius: 14px !important;   /* reduced from 999px */
  border: 1px solid #e5e7eb !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

/* Focus */
.gz-wrapper .gz-search-keyword:focus,
.gz-wrapper #searchInput:focus {
  outline: none !important;
  border-color: #0f6e88 !important;
  box-shadow: 0 0 0 3px rgba(15,110,136,0.12);
}

/* Filter select */
.gz-wrapper .gz-search-happening,
.gz-wrapper select.gz-search-option {
  height: 52px !important;
  border-radius: 14px !important;   /* reduced */
  border: 1px solid #e5e7eb !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  background: #ffffff !important;
}

/* Remove append spacing */
.gz-wrapper .input-group-append {
  margin-left: 0 !important;
  display: flex !important;
}

/* Search button */
.gz-wrapper .gz-search-btn,
.gz-wrapper .input-group-append button {
  height: 52px !important;
  padding: 0 28px !important;
  border-radius: 14px !important;   /* reduced */
  background: #0f6e88 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;  /* flatter look */
  transition: all 0.2s ease;
}

.gz-wrapper .gz-search-btn:hover,
.gz-wrapper .input-group-append button:hover {
  background: #0c5568 !important;
}

/* ================================================= */
/* ADD EVENT BUTTON — MATCH SEARCH BUTTON */
/* ================================================= */

/* ================================================= */
/* ADD EVENT BUTTON — FINAL CLEAN VERSION */
/* ================================================= */

/* Remove floating positioning */
.gz-wrapper .gz-submitEvent-div {
  position: static !important;
  margin-bottom: 24px;
}

/* Target the anchor */
.gz-wrapper .gz-submitEvent-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 44px;
  padding: 0 22px !important;

  border-radius: 10px !important;

  background: #0f6e88 !important;
  color: #ffffff !important;

  font-size: 0 !important; /* hide original + text */

  border: none !important;

  box-shadow: 0 8px 20px rgba(15,110,136,0.22);

  text-decoration: none !important;

  transition: all 0.2s ease;
}

/* Rebuild + */
.gz-wrapper .gz-submitEvent-badge::before {
  content: "+";
  font-size: 16px;
  font-weight: 600;
}

/* Rebuild label */
.gz-wrapper .gz-submitEvent-badge::after {
  content: "Add an Event";
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Hover */
.gz-wrapper .gz-submitEvent-badge:hover {
  background: #0c5568 !important;
  transform: translateY(-1px);
}


/* ================================================= */
/* GROWTHZONE CALENDAR — BALANCED VERSION */
/* ================================================= */

/* Calendar wrapper */
#gz-calendar {
  background: #ffffff !important;
}

/* ===================================== */
/* WEEKDAY HEADER ROW */
/* ===================================== */

#gz-calendar .gz-week.gz-names {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);

  background: #f4f7f9 !important;   /* light background */
  border-bottom: 1px solid #e6edf2;

  min-height: 44px;                 /* smaller */
  align-items: center;
}

#gz-calendar .gz-week.gz-names .gz-day {
  display: flex;
  align-items: center;
  justify-content: center;

  color: #0f6e88 !important;        /* FIXED: no white text */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  height: 44px;
}

/* ===================================== */
/* WEEK ROWS */
/* ===================================== */

#gz-calendar .gz-week {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);
}

/* Individual day cells */
#gz-calendar .gz-week .gz-day {
  background: #ffffff !important;
  border: 1px solid #eef2f5 !important;

  min-height: 150px;      /* reduced from 180 */
  padding: 14px;

  display: flex;
  flex-direction: column;

  transition: background 0.2s ease;
}

/* Hover effect */
#gz-calendar .gz-week .gz-day:hover {
  background: #f6fbfd !important;
}

/* ===================================== */
/* DATE NUMBERS */
/* ===================================== */

#gz-calendar .gz-date,
#gz-calendar .gz-day-number {
  color: #0f6e88 !important;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

/* ===================================== */
/* EVENT TEXT */
/* ===================================== */

#gz-calendar .gz-calendar-event,
#gz-calendar .gz-day a {
  background: rgba(15,110,136,0.12) !important;
  color: #0f6e88 !important;

  border-radius: 10px !important;
  padding: 8px 12px !important;

  font-size: 14px !important;
  font-weight: 500 !important;

  margin-top: 6px;
  text-decoration: none;

  transition: background 0.2s ease;
}

#gz-calendar .gz-calendar-event:hover,
#gz-calendar .gz-day a:hover {
  background: rgba(15,110,136,0.22) !important;
}

/* ===================================== */
/* EVENT STYLING */
/* ===================================== */

#gz-calendar .gz-calendar-event,
#gz-calendar .gz-day a {
  display: inline-block;
  background: rgba(15,110,136,0.12) !important;
  color: #0f6e88 !important;

  border-radius: 8px !important;
  padding: 6px 8px !important;

  font-size: 0.8rem !important;
  font-weight: 500 !important;

  text-decoration: none;
  margin-top: 4px;

  transition: background 0.2s ease;
}

#gz-calendar .gz-calendar-event:hover,
#gz-calendar .gz-day a:hover {
  background: rgba(15,110,136,0.22) !important;
}

/* ===================================== */
/* REMOVE HEAVY DEFAULT OUTER STYLES */
/* ===================================== */

#gz-calendar,
#gz-calendar * {
  box-shadow: none !important;
}

/* ================================================= */
/* MOBILE — FORCE LIST + CLEAN STACK */
/* ================================================= */

@media (max-width: 768px) {

  /* Hide month grid */
  #gz-calendar {
    display: none !important;
  }

  /* Show list */
  .row.gz-cards.gz-events-cards {
    display: block !important;
  }

  /* Remove Bootstrap column constraints */
  .gz-list-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin-bottom: 18px;
  }

  /* Event card */
  .card.gz-events-card {
    width: 100% !important;
    padding: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important;
  }

  /* Remove inner Bootstrap padding */
  .card.gz-events-card .card-body {
    padding: 0 !important;
  }

  /* Reduce oversized logo */
  .card.gz-events-card img {
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain;
    margin-bottom: 14px;
  }

  /* Date badge */
  .card.gz-events-card .gz-card-date,
  .card.gz-events-card .gz-events-date {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f6e88 !important;
    margin-bottom: 8px;
  }

  /* Emphasize day number */
  .card.gz-events-card .gz-card-date strong,
  .card.gz-events-card .gz-events-date strong {
    font-size: 24px !important;
    display: block;
  }

  /* Event title */
  .card.gz-events-card h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #0f4c5c !important;
  }

  /* Time text */
  .card.gz-events-card .gz-time {
    font-size: 14px !important;
    font-weight: 500;
    color: #2563eb !important;
  }

}

/* ================================================= */
/* SUBSCRIBE BUTTON */
/* ================================================= */

.subscribe-calendar-btn .wp-block-button__link {
  background: #0f6e88 !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 18px 42px !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 18px 45px rgba(15,110,136,0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.subscribe-calendar-btn .wp-block-button__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15,110,136,0.45);
}

.subscribe-calendar-btn .wp-block-button__link::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm12 8H5v10h14V10z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ===================================== */
/* GROWTHZONE EVENT CARDS — CLEAN LIGHT VERSION */
/* ===================================== */
/* ===================================== */
/* GROWTHZONE EVENT CARDS — STRUCTURE FIX */
/* ===================================== */

/* Space the whole events section properly */
.events-calendar-section {
  margin-top: 40px;
}

/* Normalize row spacing */
.row.gz-cards.gz-events-cards {
  margin: 0 -12px !important;
}

/* Ensure columns breathe evenly */
.row.gz-cards.gz-events-cards .gz-grid-col,
.row.gz-cards.gz-events-cards .gz-list-col {
  padding: 12px !important;
}

/* Make grid rows align evenly */
.row.gz-cards.gz-events-cards .gz-grid-col {
  display: flex !important;
}

/* Force equal card heights in grid */
.row.gz-cards.gz-events-cards .gz-grid-col .card.gz-events-card {
  width: 100%;
}

/* Add subtle internal card spacing rhythm */
.row.gz-cards.gz-events-cards .card.gz-events-card {
  margin-bottom: 0 !important;
}

/* Improve vertical flow between header + content */
.row.gz-cards.gz-events-cards .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Push description to fill remaining space cleanly */
.row.gz-cards.gz-events-cards .card-body p {
  margin-top: 8px !important;
}

/* Optional subtle hover elevation consistency */
.row.gz-cards.gz-events-cards .card.gz-events-card:hover {
  transform: translateY(-4px);
}
/* ===================================== */
/* GRID VIEW ONLY — REFINED */
/* ===================================== */

/* Card */
.row.gz-cards.gz-events-cards .gz-grid-col .card.gz-events-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05) !important;
  overflow: hidden;
  transition: all 0.25s ease;
  min-height: 380px !important; /* more room */
  display: flex !important;
  flex-direction: column;
}

.row.gz-cards.gz-events-cards .gz-grid-col .card.gz-events-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
}


/* Remove dark header ONLY in grid */
.row.gz-cards.gz-events-cards .gz-grid-col .card-header,
.row.gz-cards.gz-events-cards .gz-grid-col .gz-card-wkday,
.row.gz-cards.gz-events-cards .gz-grid-col .gz-card-wkday-wrap {
  background: transparent !important;
  border: none !important;
}


/* Weekday */
.row.gz-cards.gz-events-cards .gz-grid-col .gz-card-wkday-wrap {
  position: relative;
  padding: 18px 24px 10px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #374151 !important;
  text-align: center !important;
}


/* Month */
.row.gz-cards.gz-events-cards .gz-grid-col .gz-month {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0f4c5c !important;
  margin-bottom: 4px !important;
}


/* Day */
.row.gz-cards.gz-events-cards .gz-grid-col .gz-day {
  font-size: 46px !important;
  font-weight: 700 !important;
  color: #0f4c5c !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
}


/* Body */
.row.gz-cards.gz-events-cards .gz-grid-col .card-body {
  padding: 22px 28px 28px 28px !important;
  text-align: center !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}


/* Title */
.row.gz-cards.gz-events-cards .gz-grid-col .gz-card-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f4c5c !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}

.row.gz-cards.gz-events-cards .gz-grid-col .gz-card-title:hover {
  color: #14b8a6 !important;
}


/* Time */
.row.gz-cards.gz-events-cards .gz-grid-col .gz-event-card-time {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2563eb !important;
  margin-bottom: 14px !important;
}


/* Description — REAL multi-line ellipsis */
.row.gz-cards.gz-events-cards .gz-grid-col .card-body p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #4b5563 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 3;          /* change to 2 or 4 if needed */
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  max-height: calc(1.65em * 3);
}

/* ===================================== */
/* LIST VIEW — REFINED EDITORIAL DESIGN */
/* ===================================== */


/* Card */
.row.gz-cards.gz-events-cards .gz-list-col .card.gz-events-card {
  display: flex !important;
  align-items: stretch;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04) !important;
  margin-bottom: 28px !important;
  overflow: hidden;
  transition: all 0.2s ease;
}

.row.gz-cards.gz-events-cards .gz-list-col .card.gz-events-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}


/* ===================================== */
/* REMOVE DEFAULT DARK BACKGROUND */
/* ===================================== */

.row.gz-cards.gz-events-cards .gz-list-col .card-header,
.row.gz-cards.gz-events-cards .gz-list-col .gz-card-wkday,
.row.gz-cards.gz-events-cards .gz-list-col .gz-card-wkday-wrap {
  background: transparent !important;
  border: none !important;
}


/* ===================================== */
/* DATE COLUMN */
/* ===================================== */

.row.gz-cards.gz-events-cards .gz-list-col .card-header {
  width: 150px !important;
  min-width: 150px !important;
  padding: 28px 16px !important;
  text-align: center !important;
  border-right: 1px solid #f3f4f6 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Subtle Weekday Badge */
.row.gz-cards.gz-events-cards .gz-list-col .gz-card-wkday-wrap {
  background: #f3f4f6 !important;
  color: #0f4c5c !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}


/* Month */
.row.gz-cards.gz-events-cards .gz-list-col .gz-month {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f4c5c !important;
  margin-bottom: 4px !important;
}


/* Day */
.row.gz-cards.gz-events-cards .gz-list-col .gz-day {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #0f4c5c !important;
  line-height: 1 !important;
}


/* ===================================== */
/* CONTENT COLUMN */
/* ===================================== */

.row.gz-cards.gz-events-cards .gz-list-col .card-body {
  flex: 1;
  padding: 32px 36px !important;
  text-align: left !important;
}


/* Title */
.row.gz-cards.gz-events-cards .gz-list-col .gz-card-title {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #0f4c5c !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}

.row.gz-cards.gz-events-cards .gz-list-col .gz-card-title:hover {
  color: #14b8a6 !important;
}


/* Time */
.row.gz-cards.gz-events-cards .gz-list-col .gz-event-card-time {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2563eb !important;
  margin-bottom: 14px !important;
}


/* Description */
.row.gz-cards.gz-events-cards .gz-list-col .card-body p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #4b5563 !important;
  margin-top: 6px !important;
}

/* ================================================= */
/* MEMBERS SYSTEM */
/* ================================================= */


/* ----------------------------------------- */
/* NEW MEMBERS – GRID (robust, no breakpoint guessing) */
/* Auto-fits 3/2/1 per row based on available width */
/* ----------------------------------------- */

.wp-block-columns:has(.member-card) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.wp-block-columns:has(.member-card) > .wp-block-column {
  width: auto !important;
  flex-basis: auto !important;
  max-width: none !important;
}


/* ----------------------------------------- */
/* NEW MEMBERS – CARD STRUCTURE (uniform) */
/* ----------------------------------------- */

.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem !important;
  border-radius: 15px;
  border: 2px solid rgba(20, 184, 166, 0.15);
  box-shadow: 0 6px 20px rgba(15, 76, 92, 0.1);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(15, 76, 92, 0.18);
  border-color: #14B8A6;
}

/* Logo container — the Group wrapping the badge + logo image */
.member-card .new-member-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 240px;
  padding: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.member-card .new-member-logo-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.member-card:hover .new-member-logo-container img {
  transform: scale(1.05);
}

/* Description text — clamped so short/long copy doesn't change card height */
.member-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  min-width: 0;
}

/* Footer row (Joined date + Learn More) — pinned to bottom, protected from letter-wrap */
.member-card .row-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.member-card .row-container > * {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ----------------------------------------- */
/* NEW MEMBERS – CATEGORY PILL (robust at any width, no breakpoints needed) */
/* ----------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: #e0f7f4;
  border: 1px solid #a7f3d0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0d9488;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  white-space: normal;
}

.pill span {
  display: inline-block;
  white-space: normal;
  overflow-wrap: break-word;
}

.pill-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #0d9488;
}

@media (max-width: 768px) {
  .pill {
    font-size: 12px;
    padding: 6px 14px;
    gap: 6px;
  }
  .pill-icon {
    width: 16px;
    height: 16px;
  }
}

/* ----------------------------------------- */
/* NEW MEMBER BADGE — top-right, off the edge */
/* ----------------------------------------- */

.new-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #14B8A6, #17A2B8);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(20, 184, 166, 0.25);
  z-index: 2;
  white-space: nowrap;
}



/* ================================================= */
/* ================================================= */
/* EVENTS SYSTEM */
/* ================================================= */
/* ================================================= */


/* ----------------------------------------- */
/* EVENTS – TIMELINE */
/* ----------------------------------------- */

/* .timeline-wrapper {
  position: relative;
  --badge-center-x: 63px;
  --badge-center-y: 39px;
} */

.timeline-wrapper {
  position: relative;
  --date-column-width: 138px;
  --badge-size: 78px;
  --wrapper-bottom-offset: 20px; /* compensates for extra spacing under last item */
}

.timeline-wrapper::before {
  content: "";
  position: absolute;

  top: calc(var(--badge-size) / 2);
  bottom: calc(var(--badge-size) / 2 + var(--wrapper-bottom-offset));

  left: calc(var(--date-column-width) / 2);
  transform: translateX(-50%);

  width: 2px;
  background: rgba(15, 76, 92, 0.18);
}

.timeline-wrapper .metadata {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  align-items: flex-start;
}


/* ----------------------------------------- */
/* EVENTS – DETAILS LINK */
/* ----------------------------------------- */

.timeline-wrapper .details-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, transform 0.2s ease;
}

.timeline-wrapper .details-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1.5px;
  background: rgba(15, 76, 92, 0.55);
  transition: width 0.25s ease;
}

.timeline-wrapper .details-link:hover {
  transform: translateY(-1px);
  color: #0F4C5C;
}

.timeline-wrapper .details-link:hover::after {
  width: 100%;
}

@media (hover: none) {
  .timeline-wrapper .details-link:hover {
    transform: none;
  }
  .timeline-wrapper .details-link:hover::after {
    width: 0%;
  }
}



/* ================================================= */
/* ================================================= */
/* CTA SYSTEM */
/* ================================================= */
/* ================================================= */


/* ----------------------------------------- */
/* CTA BUTTON WRAPPER */
/* ----------------------------------------- */

.cta-buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}


/* ----------------------------------------- */
/* PRIMARY CTA (Gradient) */
/* ----------------------------------------- */

.cta-primary .wp-block-button__link {
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 18px 48px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.35);
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

.cta-primary .wp-block-button__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 148, 136, 0.45);
}


/* ----------------------------------------- */
/* SECONDARY CTA (Outline) */
/* ----------------------------------------- */

.cta-secondary .wp-block-button__link {
  background: #ffff;
  color: #14B8A6;
  border: 2px solid #14B8A6;
  border-radius: 999px;
  padding: 16px 46px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.cta-secondary .wp-block-button__link:hover {
  background: #14B8A6;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.35);
}



/* ================================================= */
/* ================================================= */
/* GOLD MEMBERS SYSTEM */
/* ================================================= */
/* ================================================= */


/* ----------------------------------------- */
/* GOLD MEMBERS GRID */
/* ----------------------------------------- */

.gold-members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  align-items: start;
}

.gold-members-grid .gold-card {
  background: #F3F5F6;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
}

.gold-members-grid .gold-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18),
              0 0 0 3px rgba(20, 184, 166, 0.12);
  background: #F7F9FA;
}

.gold-members-grid figure.wp-block-image {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-members-grid img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.gold-members-grid .gold-card:hover img {
  transform: scale(1.05);
}


/* ----------------------------------------- */
/* GOLD MEMBERS – LINK ARROW */
/* ----------------------------------------- */

.gold-members-grid a {
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}

.gold-members-grid a::before {
  content: ">";
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  transition: transform 0.25s ease,
              color 0.25s ease;
}

.gold-members-grid a:hover {
  color: #F4C542;
}

.gold-members-grid a:hover::before {
  color: #F4C542;
  transform: translateX(3px);
}

/* ================================================= */
/* ================================================= */
/* SINGLE EVENT – STYLING */
/* ================================================= */
/* ================================================= */


/* ===================================== */
/* SINGLE EVENT – STRUCTURE */
/* ===================================== */

body.single-tribe_events .tribe-events-single {
  max-width: 1200px;
  margin: 80px auto;
  padding: 60px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.06);
}

/* ===================================== */
/* SINGLE EVENT – "ALL EVENTS" BUTTON */
/* ===================================== */

body.single-tribe_events .tribe-events-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-weight: 600;
  font-size: 14px;
  text-decoration: none;

  padding: 10px 18px;
  border-radius: 999px;

  background: #f4f7f9;
  color: #1f7a8c;

  transition: all 0.2s ease;
}

body.single-tribe_events .tribe-events-back a:hover {
  background: #e7eef2;
  transform: translateX(-2px);
}

/* ===================================== */
/* SINGLE EVENT – CLEAN NAV RESET */
/* ===================================== */

/* Remove plugin container styling */
body.single-tribe_events .tribe-events-nav-previous,
body.single-tribe_events .tribe-events-nav-next {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Remove default list styling */
body.single-tribe_events .tribe-events-nav {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
}

/* Style the actual pill */
body.single-tribe_events .tribe-events-nav-previous a,
body.single-tribe_events .tribe-events-nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 14px 22px;
  border-radius: 999px;

  background: #f4f7f9;
  color: #1f7a8c;

  font-weight: 600;
  text-decoration: none;

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

/* Hover */
body.single-tribe_events .tribe-events-nav-previous a:hover,
body.single-tribe_events .tribe-events-nav-next a:hover {
  background: #e7eef2;
  transform: translateY(-2px);
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width: 768px) {

  body.single-tribe_events .tribe-events-single {
    margin: 40px 20px;
    padding: 32px;
    border-radius: 20px;
  }

}

/* ===================================== */
/* EVENTS ARCHIVE – STRUCTURE */
/* ===================================== */

.events-archive-layout {
/*   background: #f3f7f9; */
  padding: 80px 0;
}


/* ===================================== */
/* HIGHLIGHT SECTION (TOP CARDS) */
/* ===================================== */

.events-highlight-section {
  max-width: 1400px;
  margin: 0 auto 80px auto;
  padding: 0 32px;
}

.events-highlight-section h3 {
  font-size: 22px;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.events-highlight-section .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Grid layout */
.events-highlight-section .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding-left: 0;
}

/* Each item (the actual card) */
.events-highlight-section .wp-block-post-template > li {
  background: #ffffff;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.events-highlight-section .wp-block-post-template > li:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* Title styling */
.events-highlight-section .wp-block-post-title {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 12px;
}

/* Date styling */
.events-highlight-section .tribe-event-date-start,
.events-highlight-section .wp-block-post-date {
  font-size: 14px;
  opacity: 0.7;
}


/* ===================================== */
/* CALENDAR SECTION */
/* ===================================== */

.events-calendar-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 80px 32px;
}

/* Elevate actual calendar wrapper */
body.post-type-archive-tribe_events .tribe-events {
  background: #ffffff;
/*   padding: 56px; */
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.06);
}

/* =====================================================
   JOBS CONTAINER
===================================================== */

.gz-jobs-container {
  max-width: 1500px;
  margin: 80px auto;
  padding: 70px 70px 80px 70px;
  background: #ffffff !important;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.06);
}

.gz-jobs-container .gz-pagetitle {
  color: #0f6e88;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* =====================================================
   SUBSCRIBE LINK
===================================================== */

.gz-jobs-container .gz-web-content-subscribe-button {
  color: #0f6e88;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,110,136,0.3);
}

.gz-jobs-container .gz-web-content-subscribe-button:hover {
  border-bottom-color: #0f6e88;
}

/* =====================================================
   SEARCH BAR — matches Directory styling
===================================================== */

.gz-jobs-container .gz-search-filters {
  display: flex !important;
  align-items: center;
  background: #f7fafc !important;
  border: 1px solid #dbe7ec !important;
  border-radius: 999px !important;
  padding: 4px !important;
  box-shadow: none !important;
  width: 100%;
  margin: 32px 0 28px;
}

.gz-jobs-container .gz-search-keyword {
  flex: 1;
  height: 48px;
  border: none !important;
  background: transparent !important;
  padding: 0 22px !important;
  font-size: 15px;
  color: #0f4c5c;
  outline: none !important;
  box-shadow: none !important;
}

.gz-jobs-container .gz-search-keyword::placeholder {
  color: #7b98a1;
}

.gz-jobs-container .gz-search-happening {
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 16px !important;
  font-size: 14px;
  color: #0f4c5c;
  border-left: 1px solid #dbe7ec !important;
}

.gz-jobs-container .gz-search-btn {
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #0f6e88 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.gz-jobs-container .gz-search-btn:hover {
  background: #0b5568 !important;
}

.gz-jobs-container .gz-search-filters:focus-within {
  border-color: #0f6e88 !important;
  box-shadow: 0 0 0 3px rgba(15,110,136,0.12);
}

/* =====================================================
   RESULTS COUNT + VIEW TOGGLE
===================================================== */

.gz-jobs-container .gz-subtitle {
  color: #0f6e88;
  font-weight: 600;
  font-size: 15px;
}

.gz-jobs-container .gz-sort-btn-group .gz-sort-btn {
  color: #9aacb3;
  padding: 6px 10px;
  transition: color 0.2s ease;
}

.gz-jobs-container .gz-sort-btn-group .gz-sort-btn:hover,
.gz-jobs-container .gz-sort-btn-group .gz-sort-btn.active {
  color: #0f6e88;
}

/* =====================================================
   JOB CARD — shared base across all views
===================================================== */

.gz-jobs-container .gz-content-card {
  border: none !important;
  border-left: 4px solid #0f6e88 !important;
  border-radius: 0 14px 14px 0 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05) !important;
  height: 100% !important;
  margin-bottom: 0 !important;
  transition: all 0.2s ease;
  overflow: hidden;
}

.gz-jobs-container .gz-content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08) !important;
}

/* remove GrowthZone's default title border-top across all views */
.gz-jobs-container .gz-card-title {
  border-top: none !important;
}

/* hide GrowthZone's default accent bar across all views */
.gz-jobs-container .gz-sm-list-col .gz-content-card:before,
.gz-jobs-container .gz-md-list-col .gz-content-card:before,
.gz-jobs-container .gz-grid-col .gz-content-card:before {
  display: none !important;
}

/* hide empty header when there's no listing image */
.gz-jobs-container .card-header:has(.gz-card-head-empty:empty) {
  display: none !important;
  border: none !important;
}

.gz-jobs-container .gz-content-body {
  padding: 20px 24px !important;
}

.gz-jobs-container .gz-content-card-title {
  color: #0f4c5c !important;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.gz-jobs-container .gz-content-card-title:hover {
  color: #14b8a6 !important;
}

.gz-jobs-container .gz-content-subtitle {
  color: #4b5563;
  font-size: 14px;
  margin: 4px 0 0;
}

.gz-jobs-container .gz-content-subtitle:empty,
.gz-jobs-container .gz-content-description:empty {
  display: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gz-jobs-container .gz-content-description {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.gz-jobs-container .gz-content-contact {
  color: #0f6e88 !important;
  font-weight: 600;
  font-size: 13px;
}

.gz-jobs-container .card-footer {
  background: transparent !important;
  border-top: 1px solid #f0f4f6 !important;
  padding: 12px 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gz-jobs-container .gz-posted-badge {
  background: rgba(15,110,136,0.12) !important;
  color: #0f6e88 !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

.gz-jobs-container .gz-web-content-date {
  color: #7a8a95;
  font-size: 13px;
}

/* =====================================================
   SM & MD LIST VIEW — horizontal footer layout
===================================================== */

.gz-jobs-container .gz-sm-list-col .gz-content-card,
.gz-jobs-container .gz-md-list-col .gz-content-card {
  display: flex;
}

.gz-jobs-container .gz-sm-list-col .card-footer,
.gz-jobs-container .gz-md-list-col .card-footer {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-top: none !important;
  border-left: 1px solid #f0f4f6 !important;
  min-width: 110px;
}

/* =====================================================
   GRID VIEW — CSS Grid so single/few cards don't
   leave awkward empty Bootstrap columns
===================================================== */

.gz-jobs-container .row.gz-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gz-jobs-container .gz-grid-col {
  width: auto !important;
  flex: none !important;
  padding: 0 !important;
}

.gz-jobs-container .gz-grid-col .gz-content-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none !important;
  border-left: 4px solid #0f6e88 !important;
}

.gz-jobs-container .gz-grid-col .card-footer {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  width: 100%;
}

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

@media (max-width: 768px) {

  .gz-jobs-container {
    margin: 32px auto;
    padding: 32px 20px;
    border-radius: 20px;
  }

  .gz-jobs-container .gz-search-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 20px !important;
    padding: 16px !important;
    gap: 12px;
  }

  .gz-jobs-container .gz-search-keyword,
  .gz-jobs-container .gz-search-happening,
  .gz-jobs-container .gz-search-btn {
    width: 100% !important;
    justify-content: center;
  }

  .gz-jobs-container .gz-sm-list-col .gz-content-card,
  .gz-jobs-container .gz-md-list-col .gz-content-card {
    flex-direction: column;
  }

  .gz-jobs-container .gz-sm-list-col .card-footer,
  .gz-jobs-container .gz-md-list-col .card-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-left: none !important;
    border-top: 1px solid #f0f4f6 !important;
    min-width: 0;
  }

  .gz-jobs-container .row.gz-cards {
    grid-template-columns: 1fr;
  }
}

/* ===================================== */
/* RESPONSIVE GRID */
/* ===================================== */

@media (max-width: 1024px) {

  .events-highlight-section .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .events-highlight-section {
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .events-highlight-section .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .events-highlight-card {
    padding: 24px;
    border-radius: 20px;
  }

  .events-calendar-section {
    padding: 0 20px 60px 20px;
  }

  body.post-type-archive-tribe_events .tribe-events {
    padding: 24px;
    border-radius: 20px;
  }

}

.submit-event-btn:hover {
  background: #0c5c72;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 110, 136, 0.25);
}

/* ================================================= */
/* ================================================= */
/* RESPONSIVE */
/* ================================================= */
/* ================================================= */

@media (max-width: 1200px) {
  .gold-members-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .gold-members-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {

  /* NEW MEMBERS */

  .member-card .new-member-logo-container {
    width: 100%;
    height: 160px;
  }

  .member-card {
    padding: 1.25rem !important;
  }

  .member-card h3 {
    font-size: 1.4rem;
  }

  .member-card .new-member-logo-container img {
    max-width: 110px;
  }

  .member-card .row-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* CTA */

  .cta-buttons-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  /* EVENTS TIMELINE */

  .timeline-wrapper::before {
    display: none;
  }

  /* GOLD GRID */

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

@media (max-width: 480px) {
  .gold-members-grid { grid-template-columns: 1fr; }
}

/* ===================================== */
/* SINGLE EVENT – MOBILE NAV FIX (REAL FIX) */
/* ===================================== */

@media (max-width: 768px) {

  body.single-tribe_events .tribe-events-sub-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  body.single-tribe_events .tribe-events-sub-nav li {
    width: 100% !important;
  }

  body.single-tribe_events .tribe-events-sub-nav a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;

    padding: 14px 18px;
    border-radius: 24px;
  }

}