.hs-horizontal-copy-video-module  {
  background-color: #FFFBF3; /* ✅ background only behind text */
}
.hs-horizontal-copy-video-module .module-heading {
  text-align: center;
  font-size: 44px;
  margin-bottom: 30px;
  padding-top: 20px;
  font-family: GT Sectra Fine, serif;
  font-weight: 500;
}

.hs-horizontal-copy-video-module .module-video-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.hs-horizontal-copy-video-module .module-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

.hs-horizontal-copy-video-module .module-description {
  width: 100%;
  column-count: 2;
  column-gap: 40px;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  line-height: 140%;
  color: #000;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hs-horizontal-copy-video-module .module-description {
    column-count: 1;
    padding: 0 20px;
  }

  .hs-horizontal-copy-video-module .module-heading {
    font-size: 32px;
  }

  .hs-horizontal-copy-video-module .module-text-content {
    padding: 20px;
  }
}




.hs-horizontal-copy-video-module .module-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background-color: #FFFBF3; /* ✅ background only behind text */
  padding: 40px; /* ✅ same padding that was in .module-content.image-right */
}

.hs-horizontal-copy-video-module .module-video-container {
  padding-right: 40px;
}


.hs-horizontal-copy-video-module .module-content.video-right {
  flex-direction: row-reverse; /* Changed from column to row */
}


.hs-horizontal-copy-video-module .module-image-container img {
  display: block;
  width: 100%;
  height: 35vw; /* ✅ Full height */
  object-fit: cover; /* ✅ Prevents distortion while ensuring full coverage */
}
/*
.hs-ediscovery-module .module-heading { /* More specific selector * /
  font-family: 'GT Sectra Fine Trial', serif;
  font-size: 44px;
  color: #3a1340;
  letter-spacing: -0.32px;
  line-height: 110%;
}
*/
.hs-horizontal-copy-video-module .module-description { /* More specific selector */
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  line-height: 140%;
  color: #000;
}
.hs-horizontal-copy-video-module .module-bullet-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    grid-auto-flow: row !important; /* Ensures items stack properly */
    gap: 4px 8px !important; /* Decrease vertical & horizontal spacing */
}
.hs-horizontal-copy-video-module .module-bullet-item {
  display: flex;
  align-items: center;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}
.hs-horizontal-copy-video-module .bullet-marker { /* More specific selector */
  margin-right: 10px;
  color: #000000; /* Changed bullet color to black */
}
.hs-horizontal-copy-video-module .module-image-container img {  /* More specific selector */
  display: block; /* Make sure it's not hidden */
  max-width: 100%;
  height: 100%;
  min-height: 30vh;
} 

.hs-horizontal-copy-video-module .module-cta-button {
    display: inline-block; /* Ensure it only takes up necessary space */
    padding: 8px 16px !important; /* Top & Bottom: 8px, Left & Right: 16px */
    background-color: #aa8a5c;
    color: white;
    border: 2px solid #aa8a5c;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    width: auto; /* Prevents stretching */
    max-width: fit-content; /* Prevents it from being too wide */
    min-width: fit-content; /* Makes sure it isn't too small */
}

.hs-horizontal-copy-video-module .module-cta-button-container {
    text-align: left; /* Change to center if you want it centered */
    width: auto; /* Prevents parent from making it too wide */
}

.hs-horizontal-copy-video-module .module-cta-button:hover { /* More specific selector */
  background-color: #8f7150;
}

/* Add responsive design for mobile devices */
@media (max-width: 768px) {
  
  .hs-horizontal-copy-video-module .module-video-container {
    padding-right: 0px;
  }
  .hs-horizontal-copy-video-module .module-content {
    flex-direction: column!important;
  }

  .hs-horizontal-copy-video-module .module-image-container {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 20px;
  }
  .hs-horizontal-copy-video-module .module-image-container img {
    border-radius: 15px 15px 15px 15px!important;
    padding-bottom: 10px;
    margin-bottom: -20px;
    z-index: 1;
  }
 
  .hs-horizontal-copy-video-module .module-heading {
    font-size: 32px;
    text-align: center;
  }

  .hs-horizontal-copy-video-module .module-text-content {
    padding: 20px;
    text-align: center;
  }

  .hs-horizontal-copy-video-module .module-bullet-list {
    grid-template-columns: 1fr;
  }

  .module-cta-buttons {
    justify-content: center;
  }
}

.module-cta-buttons {
    display: flex;      /* Enables Flexbox */
    gap: 10px;         /* Adds space between buttons */
    flex-wrap: wrap;   /* Allows wrapping on smaller screens */
}

.module-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6; /* Change to your button color */
    color: white;
    text-decoration: none;
    
    text-align: center;
    transition: background-color 0.3s;
}

.module-cta-button:hover {
    background-color: #005bb5; /* Darker shade on hover */
}

.hs-horizontal-copy-video-module .module-video-container {
  width: 100%;
  max-width: 800px; /* Or whatever max width you prefer */
  margin: 0 auto;
  position: relative;
}

.hs-horizontal-copy-video-module .module-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hs-horizontal-copy-video-module .module-content.video-right {
  flex-direction: row-reverse;
}

.hs-horizontal-copy-video-module .module-text-content {
  flex: 1;
}

.hs-horizontal-copy-video-module .module-video-container {
  flex: 1;
}
@media (max-width: 768px) {
  .hs-horizontal-copy-video-module .module-content {
    flex-direction: column;
  }

  .hs-horizontal-copy-video-module .module-video-container {
    max-width: 100%;
  }
}