/* Bottom events navigation */
.bishoplocal-events-nav {
  margin-top: 20px;
  margin-bottom: 40px;
}

.bishoplocal-events-nav-title {
  display: block;
  margin: 0 !important;
  padding-bottom: 40px !important;
  line-height: 1.15;
}

.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;
}

.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;
}

.bishoplocal-events-nav-heading {
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
}

.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;
}

.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 email signup */
.mailpoet_form,
.bishoplocal-email-signup,
.bishoplocal-newsletter-signup {
  margin-top: 36px !important;
}

@media (max-width: 1100px) {
  .bishoplocal-events-nav-columns {
    gap: 32px;
    flex-wrap: wrap;
  }

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

/* =========================================================
   EVENTS PAGE HELPER BOX
   Purpose:
   - styles the helper box above the events calendar
   - introduces the calendar below
   - highlights weekly class links
   Start: bishoplocal-events-helper
   End: bishoplocal-events-helper
   ========================================================= */

.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;
}

.bishoplocal-events-helper-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

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

.bishoplocal-events-helper-row-bottom {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

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

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

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

.bishoplocal-events-helper-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.bishoplocal-events-helper-link,
.bishoplocal-events-helper-link:visited {
  color: #111827 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.bishoplocal-events-helper-link:hover,
.bishoplocal-events-helper-link:focus,
.bishoplocal-events-helper-link:active {
  text-decoration: underline !important;
}

.bishoplocal-events-helper-divider {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #b35a5a !important;
  flex: 0 0 auto !important;
}

.bishoplocal-events-helper-soon {
  color: #6b7280 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Extra space between helper box and calendar 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;
}

@media (max-width: 1100px) {
  .bishoplocal-events-helper-links {
    flex-wrap: wrap !important;
  }

  .bishoplocal-events-helper-link,
  .bishoplocal-events-helper-soon {
    white-space: normal !important;
  }
}

@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: 6px !important;
  }
}

/* =========================================================
   END EVENTS PAGE HELPER BOX
   ========================================================= */