/* =========================================================
   BISHOPLOCAL EVENTS PAGE
   Section: Bottom Events Navigation
   Purpose:
   - styles the navigation links shown below the events content
   - keeps columns aligned and readable
   ========================================================= */

/* Outer wrapper for the bottom events nav */
.bishoplocal-events-nav {
  display: block !important;
  margin-top: 20px;
  margin-bottom: 40px;
  clear: both;
}

/* Optional nav title above the columns */
.bishoplocal-events-nav-title {
  display: block !important;
  margin: 0 !important;
  padding-bottom: 40px !important;
  line-height: 1.15;
}

/* Row of nav columns */
.bishoplocal-events-nav-columns {
  display: flex !important;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: nowrap;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
}

/* Individual nav column */
.bishoplocal-events-nav-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 180px;
  margin-bottom: 0;
}

/* Small heading above each nav column */
.bishoplocal-events-nav-heading {
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
}

/* Nav links */
.bishoplocal-events-nav a,
.bishoplocal-events-nav a:visited {
  color: #111827 !important;
  text-decoration: none !important;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Nav link hover/focus state */
.bishoplocal-events-nav a:hover,
.bishoplocal-events-nav a:focus,
.bishoplocal-events-nav a:active {
  color: #111827 !important;
  text-decoration: underline !important;
}

/* More space above newsletter/signup areas on the events page */
.mailpoet_form,
.bishoplocal-email-signup,
.bishoplocal-newsletter-signup {
  margin-top: 36px !important;
}

/* Responsive adjustments for bottom nav */
@media (max-width: 1100px) {
  .bishoplocal-events-nav-columns {
    gap: 32px;
    flex-wrap: wrap;
  }

  .bishoplocal-events-nav-col {
    width: 160px;
  }
}

/* =========================================================
   BISHOPLOCAL EVENTS PAGE
   Section: Events Helper Box
   Purpose:
   - styles the helper box above the events calendar
   - introduces the main calendar below
   - highlights weekly classes links
   ========================================================= */

/* Outer helper box */
.bishoplocal-events-helper {
  display: block !important;
  margin: 8px 0 48px 0 !important;
  padding: 20px 28px !important;
  border: 4px dashed #b35a5a !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* Shared row layout inside helper box */
.bishoplocal-events-helper-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* Top headline row */
.bishoplocal-events-helper-row-top {
  margin-bottom: 28px !important;
}

/* Bottom row with weekly class links */
.bishoplocal-events-helper-row-bottom {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

/* Shared label styling */
.bishoplocal-events-helper-label {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Top line headline styling */
.bishoplocal-events-helper-row-top .bishoplocal-events-helper-label {
  font-size: 1.2em !important;
  font-weight: 700 !important;
  color: #b35a5a !important;
}

/* Bottom row prompt styling */
.bishoplocal-events-helper-row-bottom .bishoplocal-events-helper-label {
  font-weight: 700 !important;
  color: #111827 !important;
}

/* Weekly class links row */
.bishoplocal-events-helper-links {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  column-gap: 18px !important;
  row-gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

/* Individual link */
.bishoplocal-events-helper-link,
.bishoplocal-events-helper-link:visited {
  display: block !important;
  text-align: center !important;
  color: #111827 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

/* Weekly classes link hover/focus state */
.bishoplocal-events-helper-link:hover,
.bishoplocal-events-helper-link:focus,
.bishoplocal-events-helper-link:active {
  text-decoration: underline !important;
}

/* Divider between the two links */
.bishoplocal-events-helper-divider {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #b35a5a !important;
  flex: 0 0 auto !important;
}

/* Optional “coming soon” text */
.bishoplocal-events-helper-soon {
  color: #6b7280 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Extra breathing room between helper box and TEC controls */
.tribe-events .tribe-events-header,
.tribe-common .tribe-events-header,
.tribe-events .tribe-events-c-top-bar,
.tribe-common .tribe-events-c-top-bar {
  margin-top: 18px !important;
}

/* Tablet adjustments for helper box links */
@media (max-width: 1100px) {
  .bishoplocal-events-helper-link,
  .bishoplocal-events-helper-soon {
    white-space: normal !important;
  }
}

/* Mobile adjustments for helper box */
@media (max-width: 900px) {
  .bishoplocal-events-helper {
    margin-bottom: 36px !important;
    padding: 16px 18px !important;
  }

  .bishoplocal-events-helper-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .bishoplocal-events-helper-row-top {
    margin-bottom: 18px !important;
  }

  .bishoplocal-events-helper-row-bottom {
    gap: 8px !important;
  }

  .bishoplocal-events-helper-links {
    grid-template-columns: 1fr !important;
  }

  .bishoplocal-events-helper-divider {
    display: none !important;
  }
}

/* =========================================================
   EVENTS PAGE MAILCHIMP FORM
   Purpose:
   - styles only the Mailchimp signup form on /events/
   - uses the specific live form ID to avoid affecting nav/layout
   - tuned to better match the target mockup
   ========================================================= */

/* Outer Mailchimp form only */
form#mc_signup_form_a023439b12_1.mc_signup_form {
  display: block !important;
  max-width: 640px !important;
  width: 100% !important;
  margin: 28px auto 28px auto !important;
  padding: 34px 36px 24px 36px !important;
  border: 6px solid #b35a5a !important;
  border-radius: 56px !important;
  background: transparent !important;
  text-align: center !important;
  box-sizing: border-box !important;
  clear: both !important;
}

/* Neutralize inner wrapper so only the form itself defines layout */
form#mc_signup_form_a023439b12_1 .mc_form_inside {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* Field row */
form#mc_signup_form_a023439b12_1 .mc_merge_var {
  margin-bottom: 18px !important;
}

/* Label */
form#mc_signup_form_a023439b12_1 .mc_var_label {
  display: block !important;
  margin-bottom: 10px !important;
  text-align: center !important;
}

/* Email input */
form#mc_signup_form_a023439b12_1 input.mc_input[type="text"],
form#mc_signup_form_a023439b12_1 input.mc_input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  min-height: 56px !important;
  padding: 12px 18px !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #efefef !important;
  appearance: none !important;
}

/* Submit wrapper */
form#mc_signup_form_a023439b12_1 .mc_signup_submit {
  display: block !important;
  margin-top: 14px !important;
  text-align: center !important;
}

/* Submit button */
form#mc_signup_form_a023439b12_1 .mc_signup_submit input[type="submit"] {
  display: block !important;
  width: 72% !important;
  margin: 0 auto !important;
  min-height: 54px !important;
  padding: 12px 20px !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #efefef !important;
  color: #111827 !important;
  text-align: center !important;
  appearance: none !important;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  form#mc_signup_form_a023439b12_1.mc_signup_form {
    max-width: 100% !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    padding: 26px 18px 20px 18px !important;
    border-width: 5px !important;
    border-radius: 34px !important;
  }

  form#mc_signup_form_a023439b12_1 input.mc_input[type="text"],
  form#mc_signup_form_a023439b12_1 input.mc_input[type="email"] {
    min-height: 52px !important;
  }

  form#mc_signup_form_a023439b12_1 .mc_signup_submit input[type="submit"] {
    width: 88% !important;
    min-height: 52px !important;
  }
}

/* =========================================================
   END BISHOPLOCAL EVENTS PAGE CSS
   ========================================================= */


.bishoplocal-email-signup {
  max-width: 760px !important;
  margin: 40px auto !important;
  padding: 34px 42px 28px 42px !important;
  border: 6px dashed #b35a5a !important;
  border-radius: 32px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.bishoplocal-email-signup form {
  margin: 0 !important;
  padding: 0 !important;
}

.bishoplocal-email-signup h2 {
  margin: 0 0 24px 0 !important;
  text-align: center !important;
  color: #111827 !important;
  line-height: 1.15 !important;
}

.bishoplocal-email-signup label {
  display: block !important;
  margin: 0 0 10px 0 !important;
  text-align: center !important;
  color: #111827 !important;
}

.bishoplocal-email-signup input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 58px !important;
  margin: 0 auto 18px auto !important;
  padding: 12px 18px !important;
  box-sizing: border-box !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #efefef !important;
  color: #111827 !important;
  appearance: none !important;
}

.bishoplocal-email-signup input[type="submit"] {
  display: block !important;
  width: 72% !important;
  min-height: 56px !important;
  margin: 0 auto !important;
  padding: 12px 20px !important;
  box-sizing: border-box !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #efefef !important;
  color: #111827 !important;
  text-align: center !important;
  cursor: pointer !important;
  appearance: none !important;
}

.bishoplocal-email-signup input[type="submit"]:hover,
.bishoplocal-email-signup input[type="submit"]:focus {
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .bishoplocal-email-signup {
    max-width: 100% !important;
    padding: 24px 18px 20px 18px !important;
    border-width: 5px !important;
    border-radius: 24px !important;
  }

  .bishoplocal-email-signup input[type="submit"] {
    width: 88% !important;
  }
}