/* Center the container horizontally */
.ugc-cpro-center-container {
  display: flex;
  justify-content: center;
  background-color: #170fd6; /* Set background color */
}

.ugc-cpro-image-module {
  background-color: #170fd6;
  padding: 10px 0px; /* Increase top padding to create space */
  width: 900px;
  box-sizing: border-box;
}

.ugc-cpro-logo-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  margin-top: 80px;
  margin-bottom: 40px;
}

.ugc-cpro-logo-container img {
  width: 90px;
  height: 90px;
  margin-right: 20px;
}

.ugc-cpro-heading {
  font-family: "futura-pt", sans-serif;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin: 0; /* Reset margin for h2 */
}

.ugc-cpro-image-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  overflow: hidden; /* Ensure all images are contained within the container */
}

.ugc-cpro-image-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text to the left */
  text-align: center;
  width: 25%; /* Distribute the width evenly among the images */
  padding: 0 0px; /* Add spacing between images */
}

.ugc-cpro-image-item-last {
  justify-content: flex-end; /* Align Image 4 to the right */
}

.ugc-cpro-image-item img {
  width: 100%;
  height: 100%; /* Adjust the height to maintain the aspect ratio */
  object-fit: cover;
}

.ugc-cpro-image-text {
  font-family: "proxima-nova", sans-serif;
  font-size: 14px;
  margin-top: auto;
  margin-left: 0; /* Remove the left margin */
  padding: 0 0px; /* Add padding to the text */
}

.anti-center-col-margin {
  margin-top: 0px!important;
}


/* Content container*/
.content-container-header {
  font-weight: bold;
  font-size: 14px;
  font-family: "proxima-nova", sans-serif;
}

/* Content container*/
.content-container-sub {
  font-weight: bold;
  font-size: 12px;
  font-family: "proxima-nova", sans-serif;
  margin: 0;
}

/* Content container*/
.content-container-copy {
  font-size: 11px;
  font-family: "proxima-nova", sans-serif;
  margin: 0;
}


/* Styles for desktop - directly targeting container to pick up margin */
@media screen and (min-width: 768px) {
  .dynamic-content__section > .marg-right-gifts {
    margin-right: 20% !important;
  }
  .dynamic-content__section > .marg-left-gifts {
    margin-left: 20% !important;
  }
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  .ugc-cpro-image-module {
    padding: 20px 0; /* Adjust padding for mobile */
  }

  .ugc-cpro-logo-container {
    flex-direction: column; /* Stack logo and header */
    text-align: center; /* Center the logo and header */
    margin-top: 50px;
    margin-bottom: 30px; /* Add space between logo and header */
  }

  .ugc-cpro-logo-container img {
    margin-right: 0; /* Remove the margin for mobile */
  }

  .ugc-cpro-heading {
    margin-top: 20px; /* Add space between logo and header */
    font-size: 26px;
    text-align: center;
    padding: 0 20px; /* Add padding to the text */
  }

  .ugc-cpro-image-container {
    flex-direction: column; /* Stack images vertically on mobile */
    align-items: center;
  }

  .ugc-cpro-image-item {
    width: 70%; /* Take full width on mobile */
    padding: 0; /* Reset padding for mobile */
    margin-bottom: 20px; /* Add spacing between stacked images */
  }

  .ugc-cpro-image-text {
    font-size: 14px;
    padding: 0 0px; /* Add padding to the text */
  }
}


@media screen and (min-width: 600px) {
  .heromod-desktop-hide {
    display: none; /* Hide elements when screen size is 600 pixels or more */
  }
  .heromod-mobile-hide {
    display: block; /* show elements when screen size is 600 pixels or more */
  }
  .margin-bottom-11 {
    margin-bottom: 11px;
  }
  .heromod-desktop-font {
    font-weight: 400!important;
  }
}

@media screen and (max-width: 600px) {
  .heromod-mobile-font {
    font-size: 32px !important;
  }
  .heromod-mobile-hide {
    display: none; /* Hide elements when screen size is 600 pixels or less */
  }
  .heromod-desktop-hide {
    display: block; /* show elements when screen size is 600 pixels or less */
  }
  .box-mobile-only {
    height: 800px!important;
  }
  .box-mobile-only-row {
    height: 876px!important;
  }
  .heromod-mobile-bf-font {
    font-size: 26px !important;
    font-weight: 400!important;
  }
}

@media (max-width: 768px) {
  .dynamic-content__box_overide {
    overflow: visible;
    height: auto;
    min-height: 580px;
    padding: 40px 19px 0;
    display: block;
    text-align: center;
  }
  .dynamic-content__box_overide_hero {
    overflow: visible;
    height: auto;
    min-height: 700px;
    padding: 40px 19px 0;
    display: block;
    text-align: center;
  }
}

/* Targeting only devices with a max width of 768px (typically mobile devices) */
@media only screen and (max-width: 768px) {

  /* Adjust the hero banner container for mobile */
  .hero-banner__container {
    max-height: none; /* Removes height restriction */
    min-height: 500px; /* Adjust this to fit your design needs */

    /* Background adjustments */
    background-size: contain; /* Fit the image within the container without stretching */
    background-position: top center; /* Ensure the top of the image is visible */
  }

  /* For the video variant on mobile (in case it's used) */
  .hero-banner--video .hero-banner__container video {
    height: auto; /* Allows the video to take its natural height */
  }
}

/* Styles for desktop */
@media screen and (min-width: 769px) {
  .noshow-desktop {
    display: none; /* Hide elements when screen size is 600 pixels or more */
  }
}

/*
@media (min-width: 769px) {
  .hero-banner__container {
    background-size: contain !important;
    background-position: center center;  // Adjust as needed
  }
}
*/
