/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: McKenzie Wagner Inc.
 Author URI: https://www.mckenziewagner.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */


/* Hide the header */
#secondary-menu { display:none; }
#main-header { display:none; }
#page-container { padding-top:0px !important; margin-top:0px !important }
#top-header { display: none; }

/* Equalize Column Height */
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}


/* ---- @FONT-FACE ---- */

/* noto-serif-200 - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 200;
  src: url('../divi-child/fonts/noto-serif-v33-latin-200.woff2') format('woff2');
}

/* noto-serif-200italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 200;
  src: url('../divi-child/fonts/noto-serif-v33-latin-200italic.woff2') format('woff2');
}

/* noto-serif-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/noto-serif-v33-latin-regular.woff2') format('woff2');
}

/* noto-serif-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 400;
  src: url('../divi-child/fonts/noto-serif-v33-latin-italic.woff2') format('woff2');
}

/* noto-serif-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 600;
  src: url('../divi-child/fonts/noto-serif-v33-latin-600.woff2') format('woff2');
}

/* noto-serif-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 600;
  src: url('../divi-child/fonts/noto-serif-v33-latin-600italic.woff2') format('woff2');
}

/* Cachet - Extra Light */
@font-face {
  font-display: swap;
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 100;
  src: url('../divi-child/fonts/CachetPro-ExtraLight.woff2') format('woff2');
}

/* Cachet - Book */
@font-face {
  font-display: swap;
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 200;
  src: url('../divi-child/fonts/CachetPro-Book.woff2') format('woff2');
}

/* Cachet - Medium */
@font-face {
  font-display: swap;
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  src: url('../divi-child/fonts/CachetPro-Medium.woff2') format('woff2');
}

/* Cachet - Bold */
@font-face {
  font-display: swap;
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/CachetPro-Bold.woff2') format('woff2');
}

/* Grack - Regular */
@font-face {
  font-display: swap;
  font-family: 'Grack';
  font-style: normal;
  font-weight: 500;
  src: url('../divi-child/fonts/GWGrack-Rg.woff2') format('woff2');
}

/* Grack - Narrow */
@font-face {
  font-display: swap;
  font-family: 'Grack';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/GWGrack-Nr.woff2') format('woff2');
}

/* Grack - Condensed */
@font-face {
  font-display: swap;
  font-family: 'Grack';
  font-style: normal;
  font-weight: 300;
  src: url('../divi-child/fonts/GWGrack-Cn.woff2') format('woff2');
}

/* Grack - Extra Condensed */
@font-face {
  font-display: swap;
  font-family: 'Grack';
  font-style: normal;
  font-weight: 200;
  src: url('../divi-child/fonts/GWGrack-ExCn.woff2') format('woff2');
}

/* Grack - Compressed */
@font-face {
  font-display: swap;
  font-family: 'Grack';
  font-style: normal;
  font-weight: 100;
  src: url('../divi-child/fonts/GWGrack-Cm.woff2') format('woff2');
}


/* ---- TYPE STYLES ---- */

body {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -.15px;
  color: #636466;
  line-height: 1.5em;
}

p {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -.15px;
  color: #636466;
  line-height: 1.5em;
}

h1 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -1px;
  line-height: 1.2em;
  text-transform: uppercase;
}

h2 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 100;
  font-size: 36px;
  letter-spacing: -.15px;
  line-height: 1.2em;
}

h3 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1.2em;
}

h4 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1.2em;
}

h5 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -.5px;
  line-height: 1.2em;
  text-transform: uppercase;
}

h6 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -.5px;
  line-height: 1.2em;
}


.yusa-post-title .et_pb_text_inner {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 100;
  font-size: 24px;
  letter-spacing: -.5px;
  line-height: 1.2em;
  /* text-transform: uppercase; */
}

.timeline-header h1 {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 72px;
  letter-spacing: -2px;
  line-height: 1em !important;
  text-transform: uppercase;
}

a.y175-footer-link {
  font-family: 'Cachet Pro' !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  letter-spacing: -.15px !important;
  line-height: 1.2em !important;
  text-transform: uppercase;
}

/* ---- RESPONSIVE TYPE STYLES ---- */

@media (max-width: 768px) {
  body {
    font-size: 14px !important;
  }

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

  h1 {
    font-size: 46px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 16px !important;
  }

  h5 {
    font-size: 14px !important;
  }

  h6 {
    font-size: 14px !important;
  }

  .yusa-post-title .et_pb_text_inner {
    font-size: 36px !important;
  }

	.ymca-LTY h1 {
      font-size: 42px !important;
	}
	
	.ymca-footer-txt-h3 h3 {
      font-size: 30px !important;
	}

}



/* --------  Menu Styles  -------- */

.et_pb_menu_0_tb_header.et_pb_menu ul li a {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #636466 !important;
}

.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.ymca-org-link > a {
  font-family: 'Cachet Pro' !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: 20px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  background-color: #e3e3e3 !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  color: #636466 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
	padding: 0px !important;
}

/* Hide Divi's default menu completely */
.et_pb_menu__menu,
.et_mobile_nav_menu {
  display: none !important;
}

/* Custom Hamburger Menu Styles */
.custom-hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

@media (max-width: 768px) {
  .custom-hamburger-menu {
    top: 5px;
    right: 5px;
  }
}

/* Hamburger button */
.hamburger-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10001;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-toggle:hover {
  opacity: 0.7;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger animation when open */
.hamburger-toggle.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(8px, 8px);
  background-color: #fff;
}

.hamburger-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active .hamburger-line:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #fff;
}

/* Fullscreen menu overlay */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Menu list */
.fullscreen-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.fullscreen-menu-list li {
  margin: 30px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fullscreen-menu.active .fullscreen-menu-list li {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for menu items */
.fullscreen-menu.active .fullscreen-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active .fullscreen-menu-list li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu.active .fullscreen-menu-list li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu.active .fullscreen-menu-list li:nth-child(4) { transition-delay: 0.4s; }

.fullscreen-menu-list a {
  color: #fff;
  text-decoration: none;
  font-family: 'Cachet Pro';
  font-size: 56px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: color 0.3s ease;
  display: inline-block;
  line-height: 1em;
}

.fullscreen-menu-list a:hover {
  color: #636466;
}

/* Responsive sizing */
@media (max-width: 768px) {
  .fullscreen-menu-list a {
    font-size: 24px;
  }
  
  .fullscreen-menu-list li {
    margin: 40px 0;
  }
}

/* Logo in fullscreen menu */
.fullscreen-menu-logo {
  margin-bottom: 40px;
}

.fullscreen-menu-logo a {
  display: inline-block;
}

.fullscreen-menu-logo img {
  max-width: 250px;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .fullscreen-menu-logo img {
    max-width: 150px !important;
  }
}

/* Header bar with logo and hamburger - sticky to top */
.custom-header-logo {
  position: fixed;
  top: 0;
  left: 20px;
  z-index: 10000;
  padding: 15px 0;
}

.custom-header-logo a {
  display: block;
}

.custom-header-logo img {
  height: 35px;
  width: auto;
  display: block;
}

/* Move hamburger to top */
.custom-hamburger-menu {
  position: fixed;
  top: 0;
  right: 10px;
  z-index: 10000;
  padding: 12px 0;
}

/* White background bar on ALL pages - sticky to top */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

/* Ensure logo and hamburger are above the white bar */
.custom-header-logo,
.custom-hamburger-menu {
  z-index: 10000;
}

/* Hide header logo when fullscreen menu is active */
body:has(.fullscreen-menu.active) .custom-header-logo {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Add outbound link icon after ymca.org link */
.fullscreen-menu-list li.ymca-org-link a::after {
  content: "➜";
  display: inline-block;
  margin-left: 20px;
  font-size: 48px;
  vertical-align: baseline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-header-logo img {
    height: 32px;
  }
  
  .custom-header-logo {
    left: 15px;
    padding: 12px 0;
  }
  
  .custom-hamburger-menu {
    right: 5px;
    padding: 7px 0;
  }
  
  body::before {
    height: 55px;
  }

  .fullscreen-menu-list li.ymca-org-link a::after {
    content: "➜";
    display: inline-block;
    margin-left: 10px;
    font-size: 24px;
    vertical-align: baseline;
  }
}



/* --------  Tab Section Background  -------- */

.et_pb_section .et_pb_section_3_tb_body .ymca-tab-bkgd .et_pb_with_background .et_section_regular {
  background-position: 0% top !important;
}



/* --------  Video Styles  -------- */

.lyte-title {
  display: none !important;
}

.lyte-wrapper {
  width: 100% !important;
  margin: 0 !important;
}

.lyte {
  border-radius: 12px;
}

/* Hide Lyte video title on mobile devices */
/* .ytvideoInfoVideoTitle,
a.ytvideoInfoVideoTitle {
    display: none !important;
}*/

/* Also hide the container if needed */
/*.ytvideoInfoVideoTitleContainer {
    display: none !important;
}*/

/* Additional mobile-specific hiding */
/*@media (max-width: 980px) {
    .lyte a[href*="youtube.com"],
    .lyte a[target="_blank"] {
        pointer-events: none;
    }
    
    .lyte a span {
        display: none !important;
    }
}*/


/* --------  Timeline Styles  -------- */

.timeline-preview h1 {
  line-height: 1em !important;
}

.ctl-wrapper .ctl-vertical-wrapper .ctl-arrow {
	box-shadow: none !important;
}

.ctl-wrapper .ctl-title {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.2em;
  text-transform: uppercase;
}

.ctl-wrapper .ctl-label-big {
  font-family: 'Cachet Pro' !important;
  font-style: normal;
  font-weight: 300;
  font-size: 24px !important;
  letter-spacing: 1px !important;
  line-height: 1.2em;
  text-transform: uppercase;
}

.ctl-wrapper .ctl-year-text {
  font-family: 'Cachet Pro' !important;
  font-style: normal !important;
  font-weight: 200 !important;
  font-size: 24px !important;
  letter-spacing: 2px !important;
  line-height: 1.2em;
  text-transform: uppercase !important;
}

@media only screen and (min-width: 768px) {
	.ctl-wrapper {
	    margin: 0 !important;
    }

    .ctl-wrapper .ctl-one-sided {
	    padding-left: 0px !important;
    }
    .ctl-wrapper .ctl-vertical-wrapper.ctl-one-sided .ctl-end, .ctl-wrapper .ctl-vertical-wrapper.ctl-one-sided .ctl-start {
      left: calc(300px - var(--ctw-line-width) * 203 / 2) !important;
    }
}

.ctl-wrapper .ctl-vertical-wrapper.dark-skin:not(.ctl-design-3) .ctl-content {
  border: unset !important;
  margin-top: -25px;
}

.timeline-buttons {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -.15px;
  line-height: 1.2em;
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (max-width: 767px) {
  .ctl-wrapper .ctl-vertical-wrapper:not(.ctl-compact-wrapper) .ctl-story .ctl-labels {
    margin: 0px 5px 20px 0 !important;
    padding-bottom: 20px !important; 
  }
  
  .ctl-wrapper .ctl-vertical-wrapper .ctl-story {
    margin-bottom: 50px !important;
  }

  .ctl-wrapper .ctl-title {
  font-size: 18px;
  }

  .timeline-buttons {
    font-family: 'Cachet Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -1px !important;
    line-height: 1.2em;
  }

  .timeline-anchor-head h1 {
  font-size: 32px !important;
}
}

@media only screen and (min-width: 768px) {
  .ctl-wrapper .ctl-vertical-wrapper.ctl-one-sided .ctl-story {
    width: 100% !important;
  }
}

@media only screen and (min-width: 768px) {
    .ctl-wrapper .ctl-media a img {
      max-width: 400px;
      padding: 12px 15px 15px 15px !important;
    }

    .ctl-description {
      display: flex;
      flex-wrap: wrap;
      width: 70% !important;
    }

    .ctl-media {
      display: flex;
      flex-wrap: wrap;
      width: 30% !important;
    }
}


/* --------  Find a Y Styles inline within plugin files > search-from.php -------- */

.zip-code-text p {
    color: white !important;
    font-style: italic;
    letter-spacing: -0.2px;
    font-size: 24px !important;
    line-height: 1.2em;
  }

@media only screen and (max-width: 767px) {
  .zip-code-text p {
    font-size: 20px !important;
  }
}

/* --------  Share Your Y Story Form Styles -------- */
.y175-share-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.y175-share-row .col-half {
  position: relative;
  width: 50%;
  padding-right: 1%;
  padding-left: 1%;
  padding-top: 30px;
  flex: 0 0 50%;
  max-width: 50%;
}

.y175-share-row span:has(textarea) {
  width: 100%;
  display: flex;
}

.y175-share-row span:has(input) {
  width: 100%;
  display: block;
}

.y175-share-row input:not([type="radio"]), .y175-share-row textarea {
  width: 100%;
  /* border: none !important; */
  border-radius: 10px;
  padding: 10px;
}

.y175-share-row .col-full {
  position: relative;
  width: 100%;
  padding-right: 1%;
  padding-left: 1%;
  padding-top: 30px;
  flex: 0 0 100%;
  max-width: 100%;
}

.y175-share-h4 {
  padding-top: 30px;
}

.wpcf7-list-item {
  margin: 0;
}

.submit-button p {
  font-family: 'Cachet Pro' !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;

}

.submit-button {
  margin: 30px auto !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.y175-share-row .wpcf7-submit {
  width: 100%;
  border: none !important;
  padding: 15px;
  font-size: 20px;
  text-transform: uppercase;
  background-color: #0060af;
  border-radius: 12px;
  color: #fff;
  font-weight: 500 !important;
  letter-spacing: 1px;
  box-shadow: 0px 9px 14px -4px rgba(0,0,0,0.2);
  transition: transform 300ms ease 0ms,background-color 300ms ease 0ms,background-image 300ms ease 0ms;
}

.y175-share-row .wpcf7-submit:hover {
  background-color: #0089d0;
  transform: translateX(0px) translateY(-5px) !important;
  transition: transform 300ms ease 0ms,background-color 300ms ease 0ms,background-image 300ms ease 0ms;
}

.y175-share-field {
  margin-top: 10px;
}

.y175-share-connection {
  padding: 10px !important;
  width: 100% !important;
  border: solid 2px #d2d2d2 !important;
  border-radius: 10px;
}

.y175-state-dd {
  padding: 10px !important;
  width: 100% !important;
  border: solid 2px #d2d2d2 !important;
  border-radius: 10px;
}

.y175-radio-btns {
  font-style: italic;
}

.wpcf7 input[type="text"] {
   border: solid 2px #d2d2d2 !important;
}

.wpcf7 input[type="email"] {
   border: solid 2px #d2d2d2 !important;
}

.wpcf7 input[type="tel"] {
   border: solid 2px #d2d2d2 !important;
}

textarea {
   border: solid 2px #d2d2d2 !important;
}

@media only screen and (max-width: 767px) {
  .y175-share-row .col-half {
    position: relative;
    width: 100%;
    padding-right: 1%;
    padding-left: 1%;
    padding-top: 10px;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .y175-share-row .col-full {
    padding-top: 10px;
  }
}

/* --------  Homepage Hero Section Styles -------- */

.y175-npltp-hero-1 img {
  filter: drop-shadow(#0000008c 0px 0px 20px);
}

.ymca-LTY .et_pb_text_inner p {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 130px;
  letter-spacing: -5px;
  line-height: .8em !important;
  text-transform: uppercase;
  text-shadow: 0 0 50px rgb(32, 189, 190);
  color: #fff;
  word-wrap: normal;
	}

.ymca-p-k .et_pb_text_inner {
  font-family: 'Cachet Pro';
  font-style: normal;
  font-weight: 100;
  font-size: 36px;
  letter-spacing: -.25px;
  line-height: 1.2em;
  color: #ffffff !important;
  margin-bottom: 20px;
}

.y175-hero-body1 .et_pb_text_inner {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -.15px;
  color: #ffffff;
  line-height: 1.5em;
}

.et_pb_column_0_tb_body {
  z-index: 200;
}

.gradient-overlay .et_pb_image_wrap {
  position: relative;
}

.gradient-overlay .et_pb_image_wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(76deg, rgb(32, 189, 190) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

@media only screen and (max-width: 1255px) {
  .ymca-LTY .et_pb_text_inner p {
    font-size: 115px;
    letter-spacing: -3px;
	}
}

@media only screen and (max-width: 1080px) {
  .ymca-LTY .et_pb_text_inner p {
    font-size: 100px;
    letter-spacing: -3px;
	}
}

@media only screen and (max-width: 989px) {
  .ymca-LTY .et_pb_text_inner p {
    font-size: 80px;
    letter-spacing: -2px;
    text-shadow: 0 0 10px rgb(32, 189, 190);
	}
}

@media only screen and (max-width: 767px) {
  .ymca-LTY .et_pb_text_inner p {
    font-size: 42px !important;
    letter-spacing: -1px;
	}

  .ymca-p-k .et_pb_text_inner {
    font-size: 28px;
    margin-top: 20px;
  }
}

/* Two columns that stay side-by-side */
@media (max-width: 1080px) {
  .no-stack-mobile .et_pb_column {
    width: 50% !important; /* Adjust based on number of columns */
    float: left !important;
    margin-right: 0 !important;
  }
  
  /* For 2 columns */
  .no-stack-mobile .et_pb_column_1_2 {
    width: 50% !important;
  }

  .no-stack-mobile .et_pb_column.hero-top-left-col {
    width: 60% !important;
  }
  
  .no-stack-mobile .et_pb_column.hero-top-right-col {
    width: 100% !important;
    margin-left: -60% !important;
    margin-bottom: -20% !important;
  }

  .gradient-overlay .et_pb_image_wrap img {
    height: 350px;
    object-fit: cover;
  }

  /* For 3 columns */
  .no-stack-mobile .et_pb_column_1_3 {
    width: 33.33% !important;
  }
  
  /* For 4 columns */
  .no-stack-mobile .et_pb_column_1_4 {
    width: 25% !important;
  }
}

/* Add custom class to modules that should go full-width: mobile-breakout */

@media (max-width: 1080px) {
  .mobile-breakout {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 0%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative;
  }
  
  /* For image modules specifically */
  .mobile-breakout.et_pb_image {
    width: 100vw !important;
  }
  
  /* For video modules */
  .mobile-breakout.et_pb_video {
    width: 100vw !important;
  }
  
  /* For text modules */
  .mobile-breakout.et_pb_text {
    width: 100vw !important;
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }

  .mobile-breakout2 {
    width: 90vw !important;
    margin-left: 0;
    margin-right: 0;
    position: relative;
  }
}

/* Add custom class to the ROW: reorder-modules-mobile */

@media (max-width: 1080px) {
  .reorder-modules-mobile {
    display: grid !important;
    grid-template-columns: 50% 50% !important;
    grid-auto-flow: dense !important; /* This fills gaps automatically */
  }
  
  .reorder-modules-mobile .et_pb_column {
    display: contents !important;
  }
  
  /* Order classes */
  .mobile-order-1 { order: 1 !important; }
  .mobile-order-2 { order: 2 !important; }
  .mobile-order-3 { order: 3 !important; }
  .mobile-order-4 { order: 4 !important; }
  .mobile-order-5 { order: 5 !important; }
  .mobile-order-6 { order: 6 !important; }
  
  /* Full width items span both columns */
  .reorder-modules-mobile .et_pb_module {
    grid-column: span 2 !important;
  }
  
  /* Half-width items span one column */
  .reorder-modules-mobile .mobile-half {
    grid-column: span 1 !important;
  }
  
  .reorder-modules-mobile .mobile-half .et_pb_image_wrap {
    width: 100% !important;
  }

  /* Grid positioning for masonry layout */
  .reorder-modules-mobile .grid-left-tall { 
    display: grid;
    grid-column: 1 !important; 
    grid-row: 1 / 3 !important;
    margin-right: 1.5vw;
  }

  .reorder-modules-mobile .grid-right-top {
    display: grid;
    grid-column: 2 !important; 
    grid-row: 1 !important;
    margin-left: 1.5vw;
  }

  .reorder-modules-mobile .grid-right-bottom {
    display: grid;
    grid-column: 2 !important; 
    grid-row: 2 !important;
    margin-left: 1.5vw;
  }

  .grid-left-tall .et_pb_image_wrap img {
    height: 100%;
    width: 100% !important;
    object-fit: cover;
  }

  .grid-right-top .et_pb_image_wrap img {
    width: 100% !important;
    object-fit: cover;
    height: auto; 
  }

  .grid-right-bottom .et_pb_image_wrap img {
    width: 100% !important;
    object-fit: cover;
    height: auto; 
  }

  .gradient-overlay .et_pb_image_wrap img {
  max-width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: cover;
}

  /* Increase hero overlap on mobile */
  .overlap-row .et_pb_column_0 {
    width: 100% !important;
    padding-right: 0 !important;
    z-index: 2;
  }
  
  .overlap-row .et_pb_column_1 {
    width: 85% !important;
    margin-left: -60% !important; /* More aggressive overlap */
    margin-top: 50px !important; /* Position it lower to overlap better */
  }
}


.story-submit-home p {
  color: white !important;
  font-style: italic !important;
  letter-spacing: -.75px;
  font-size: 20px !important;
  line-height: 1em;
  font-weight: 600;
}

.story-submit-home h3 {
  font-weight: 300;
  line-height: 1em;
  padding-bottom: 0px;
}


