/*
Theme Name: BotLabs Divi
Theme URI: https://botlabs.us
Description: Divi Child Theme
Author: BotLabs
Author URI: https://botlabs.us
Template: Divi
Version: 1.0.0
*/

/* Fix Divi overflow issue */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

* {
  box-sizing: border-box;
}


/* Base body styles */
body, p, li {
  font-family: "tablet-gothic", sans-serif;
  font-weight: 300; /* Light */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}

/* Header styles */
h1, h2, h3, h4, h5, h6 {
  font-family: "allotrope-variable", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 750;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 0;
  text-transform: uppercase;
  color: #333333 !important;
}

/* Default sizes for desktop */
h1 { font-size: 72px; }
h2 { font-size: 54px; }
h3 { font-size: 36px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }

/* Tablet */
@media (max-width: 980px) {
  h1 { font-size: 54px; }
  h2 { font-size: 42px; }
  h3 { font-size: 28px; }
  h4 { font-size: 20px; }
}

/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
}

/* Set blockquote left border color to secondary color */
blockquote {
  border-left: 4px solid #d24300;
  padding-left: 1rem;
  margin-left: 0;
}

/* Allow menu to have different column widths and fill the width of the screen */

.custom-menu-row {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.custom-menu-row > .et_pb_column:nth-child(1) {
  width: 82px !important;
  flex: 0 0 82px !important;
  max-width: 82px !important;
}

.custom-menu-row > .et_pb_column:nth-child(2) {
  width: 122px !important;
  flex: 0 0 122px !important;
  max-width: 122px !important;
}

.custom-menu-row > .et_pb_column:nth-child(3) {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

/* Turn Donate link to button in site menu */
/* Shared base style for alignment */
.menu-button a,
.donate-menu-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  line-height: 1;
  text-decoration: none;
  height: 100%;
  font-weight: 500;
}

/* Standard menu items: transparent, no hover, inherit text color */
.menu-button a {
  background-color: transparent;
  color: #333333;
  padding: 8px 0;
  border: none;
}

/* Donate button: blue pill, white text, full padding */
.donate-menu-button a {
  background-color: #0094d2;
  color: #ffffff !important;
  padding: 8px 16px;
  border: none;
}

/* Hover effect only for Donate */
.donate-menu-button a:hover {
    background-color: #002868 !important;
    color: #ffffff !important;
}

/* HERO SECTION: Responsive height with padding reset */
.bl-hero-section {
    height: clamp(300px, 32vw, 600px);
    padding: 0;
}

/* HERO ROW: Full width, vertically centered content, and horizontal margin */
.bl-hero {
    max-width: 100% !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 1em;
    margin-right: 1em;
}

/* Single Event Page Formatting */
h1.tribe-events-single-event-title {
    font-family: "allotrope-variable", sans-serif !important;
    font-variation-settings: "wdth" 100, "wght" 750 !important;
    line-height: 1.2 !important;
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    text-transform: uppercase !important;
    color: #333333 !important;
}

button.tribe-events-c-subscribe-dropdown__button-text {
    background-color: #0094d2;
    color: #ffffff;
}

button.tribe-events-c-subscribe-dropdown__button-text:hover {
    background-color: #002868;
    color: #ffffff;
}

.tribe-events-c-subscribe-dropdown__button {
    background-color: #0094d2 !important;
    border: 0 !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    color: #ffffff !important;
}

.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #002868 !important;
}

.tribe-events-c-subscribe-dropdown__button-text {
    color: #ffffff !important;
}

a {
    color: #0094d2 !important;
    text-decoration: none;
}

a:hover {
    color: #002868 !important;
    text-decoration: none !important;
}

/* Correct Divi Mobile Menu */
#et_mobile_nav_menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
  max-width: 500px; /* Optional: cap for wider screens */
  background: white;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Indent Bullet Points */
li {
  margin-left: 1.2em;
  font-size: 16px !important;
}

/* Account for parallax effect not working on MacOS Safari */
@media all and (hover: hover) {
.et_mobile_device .et_pb_section_parallax .et_parallax_bg, 
.et_mobile_device .et_pb_slides .et_parallax_bg {
	background-attachment: fixed !important;
  }
}

p.bl-footer-14 {
    font-size: 14px !important;
}

p.bl-footer-12 {
    font-size: 12px !important;
}

.bl-footer-menu li {
  font-size: 14px !important;
}

.bl-wrap-text img {
  float: right;
  margin: 0 0 15px 20px;
  width: 400px;
}
