/* --- Promo Banner Wrapper --- */
.promo-banner-wrapper {
  width: 100%;
  padding: 20px 0 100px; /* Reduced top padding, increased bottom padding for FAQ spacing */
  background-color: #f7f7f7; /* Matches the standards section background */
  box-sizing: border-box;
}

.promo-banner-container {
  max-width: 1374px; /* Matches layout alignment bounds */
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  background-color: #F2E9E1; /* Premium warm beige background */
  overflow: hidden;
  height: 180px; /* Consistent height on desktop */
  position: relative;
  box-sizing: border-box;
}

/* --- Content Column --- */
.promo-content-col {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 40px;
  gap: 40px;
  z-index: 2;
  box-sizing: border-box;
}

/* --- Text Block --- */
.promo-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.promo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.3;
  white-space: nowrap; /* Single line on desktop */
}

.promo-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  line-height: 1.55;
  white-space: normal; /* Wrap text on desktop */
  max-width: 680px; /* Constrain width to force exactly 2 lines */
}

/* --- CTA Action Button --- */
.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background-color: #0052ED; /* USAII Accent Blue */
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.promo-cta-btn:hover {
  background-color: #0652C0;
  transform: translateY(-1px);
}

.promo-cta-btn:active {
  transform: translateY(0);
}

.promo-cta-btn .arrow-right {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.promo-cta-btn:hover .arrow-right {
  transform: translateX(3px);
}

/* --- Image Column --- */
.promo-image-col {
  width: 30%; /* Decreased width to give more space to the text box */
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
}

/* Linear gradient overlay to fade image into warm beige background */
.promo-image-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #F2E9E1 0%, rgba(242, 233, 225, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .promo-banner-container {
    height: 200px;
  }

  .promo-banner-wrapper {
    padding: 15px 0 80px; /* Adjusted paddings on tablet */
    background-color: #f7f7f7;
  }

  .promo-content-col {
    padding: 20px 24px;
    gap: 24px;
  }

  .promo-title {
    font-size: 18px;
    white-space: normal; /* Wrap text on tablet */
  }

  .promo-desc {
    font-size: 12px;
    white-space: normal; /* Wrap text on tablet */
  }
  
  .promo-image-col {
    width: 35%;
  }
}

@media (max-width: 768px) {
  .promo-banner-wrapper {
    padding: 10px 0 60px; /* Adjusted paddings on mobile */
    background-color: #f7f7f7;
  }

  .promo-banner-container {
    height: auto;
    flex-direction: column;
  }

  .promo-content-col {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
  }

  .promo-text-block {
    order: 1; /* Place text on top */
    text-align: center;
    align-items: center;
  }

  .promo-title {
    font-size: 18px;
    margin-bottom: 8px;
    white-space: normal; /* Wrap text on mobile */
  }

  .promo-desc {
    font-size: 12.5px;
    line-height: 1.5;
    white-space: normal; /* Wrap text on mobile */
  }

  .promo-cta-btn {
    order: 2; /* Place CTA below the text */
    width: 100%;
    max-width: 320px;
  }

  .promo-image-col {
    order: 3; /* Place image at the bottom */
    width: 100%;
    height: 180px;
  }

  /* Adjust the image fade from top-to-bottom on mobile viewports */
  .promo-image-fade {
    width: 100%;
    height: 35%;
    background: linear-gradient(180deg, #F2E9E1 0%, rgba(242, 233, 225, 0) 100%);
  }
}

/* --- Wrapper Bottom Padding Control --- */
.promo-banner-wrapper.no-bottom-padding {
  padding-bottom: 0 !important;
}
@media (max-width: 1024px) {
  .promo-banner-wrapper.no-bottom-padding {
    padding-bottom: 0 !important;
  }
}
@media (max-width: 768px) {
  .promo-banner-wrapper.no-bottom-padding {
    padding-bottom: 0 !important;
  }
}

/* --- Blue Theme Modifier --- */
.promo-banner-container.theme-blue {
  background-color: #0052ED; /* USAII Accent Blue */
}

.promo-banner-container.theme-blue .promo-title {
  color: #FFFFFF;
}

.promo-banner-container.theme-blue .promo-desc {
  color: #E2E8F0; /* Clean light gray-blue for readability */
}

.promo-banner-container.theme-blue .promo-cta-btn {
  background-color: #FFFFFF;
  color: #0052ED;
}

.promo-banner-container.theme-blue .promo-cta-btn:hover {
  background-color: #F1F7FF;
}

.promo-banner-container.theme-blue .promo-cta-btn .arrow-right {
  stroke: #0052ED;
}

.promo-banner-container.theme-blue .promo-image-fade {
  background: linear-gradient(90deg, #0052ED 0%, rgba(0, 82, 237, 0) 100%);
}

/* Remove bottom padding from inner blue container's content column on all screen sizes */
.promo-banner-container.theme-blue .promo-content-col {
  padding-bottom: 0 !important;
}

/* Adjust description text max-width when there is no image */
.promo-banner-container.no-image .promo-desc {
  max-width: 920px;
}

@media (max-width: 768px) {
  .promo-banner-container.theme-blue .promo-image-fade {
    background: linear-gradient(180deg, #0052ED 0%, rgba(0, 82, 237, 0) 100%);
  }
}


