.gtm-cta-banner-module {
  width: 100%;
  box-sizing: border-box;
}

.gtm-cta-banner-module *,
.gtm-cta-banner-module *:before,
.gtm-cta-banner-module *:after {
  box-sizing: border-box;
}

.gtm-cta-banner-module .gtm-banner-container {
  width: 100%;
}

.gtm-cta-banner-module .gtm-banner-card {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 28px 30px;
  display: flex;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

/* ==========================================
   SIDE BY SIDE LAYOUT
   ========================================== */

.gtm-cta-banner-module .gtm-layout-side_by_side {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

/* ==========================================
   STACKED TOP LAYOUT
   ========================================== */

.gtm-cta-banner-module .gtm-layout-stacked_top {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.gtm-cta-banner-module .gtm-layout-stacked_top .gtm-banner-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ==========================================
   FULL WIDTH MODE
   ========================================== */

.gtm-cta-banner-module .gtm-banner-full-width {
  display: block !important;
}

.gtm-cta-banner-module .gtm-banner-full-width .gtm-banner-content {
  width: 100% !important;
  max-width: 100% !important;
}

/* ==========================================
   CONTENT
   ========================================== */

.gtm-cta-banner-module .gtm-banner-content {
  flex: 1;
  display: flex;
  min-width: 0;
}

.gtm-cta-banner-module .gtm-banner-heading {
  font-size: 24px;
  font-weight: 600;
  color: #19191a;
  margin: 0;
  line-height: 24px;
  flex-shrink: 0;
}

.gtm-cta-banner-module .gtm-banner-description p,
.gtm-cta-banner-module .gtm-banner-description {
  font-size: 14px;
  color: #000000;
  margin: 0;
  line-height: 20px;
  font-weight: 400;
}

.gtm-cta-banner-module .gtm-banner-action {
  flex-shrink: 0;
}

.gtm-cta-banner-module .gtm-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gtm-cta-banner-module .gtm-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

 .gtm-cta-banner-module .btn-primary {
  color: #000;
 
}

.gtm-cta-banner-module .btn-secondary {
  background-color: #fff;
  border: 1px solid #ffaa17;
  color: #000;
  padding: 12px 24px;
  border-radius: 5px;
}

.gtm-cta-banner-module .btn-secondary:hover {
  background-color: #ffaa17;
}
 */
/* ==========================================
   MOBILE RESPONSIVE
   Only side_by_side layout is adjusted
   ========================================== */

@media (max-width: 767px) {

  .gtm-cta-banner-module .gtm-layout-side_by_side {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  /* Heading + Description stack vertically */
  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-content {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-heading {
    width: 100%;
    font-size: 26px;
    line-height: 32px;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-description {
    width: 100%;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-description p {
    width: 100%;
    line-height: 20px;
  }

  /* Button/action stays below content */
  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-action {
    width: 100%;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-group {
    width: 100%;
    flex-wrap: wrap;
  }

  /* Prevent button overflow */
  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-btn {
    max-width: 100%;
  }

  /* Slightly smaller card padding */
  .gtm-cta-banner-module .gtm-layout-side_by_side.gtm-banner-card {
    padding: 24px 20px;
  }
}

/* ==========================================
   VERY SMALL SCREENS
   ========================================== */

@media (max-width: 480px) {

  .gtm-cta-banner-module .gtm-layout-side_by_side.gtm-banner-card {
    padding: 22px 16px;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-heading {
    font-size: 24px;
    line-height: 30px;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-btn {
    width: 100%;
  }
}

/* ==========================================
   DESKTOP
   Existing layout remains unchanged
   ========================================== */

@media (min-width: 768px) {

  .gtm-cta-banner-module .gtm-layout-side_by_side {
    flex-direction: row;
    align-items: center;
  }

  .gtm-cta-banner-module .gtm-layout-side_by_side .gtm-banner-content {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .gtm-cta-banner-module .gtm-layout-stacked_top {
    flex-direction: row;
    align-items: center;
  }

}