/* =====================================
   BONUS BLOCK – HOTEL RATES & OFFERS
===================================== */

.conference-bonus {
  width: 100%;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

/* OUTER WRAPPER */
.conference-bonus .bonus-container {
  max-width: 92%;
  margin: 0 auto;
  border-radius: 26px 26px 20px 20px;
  background: transparent;
}

/* =====================================
   PURPLE TOP SECTION
===================================== */

.conference-bonus-column-top {
  background-image: url("/wp-content/uploads/2025/04/sbhpp-purple-bg-d973d1.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 26px 32px;
  border-radius: 30px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;

  margin-bottom: -6px;
  position: relative;
  z-index: 2;
}

/* STAR ICON */
.bonus-img {
  width: 130px;
  height: auto;
  margin-top: 10px;
}

/* CENTER COPY */
.bonus-middle-column {
  min-width: 0;
}

.bonus-middle-column p {
  color: #fff;
  margin: 0;
  line-height: 36px;
}

.bonus-middle-column p a {
  color: #52c4c7 !important;
}

.bonus-middle-column strong {
  font-weight: 900;
}

/* LINKS IN PURPLE AREA */
.bonus-middle-column a {
  color: #52c4c7;
  font-weight: 800;
  text-decoration: underline;
}

/* =====================================
   BUTTONS
===================================== */

.bonus-button-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* =====================================
   WHITE BOTTOM SECTION
===================================== */

.conference-bonus-column-bottom {
  padding: 70px 30px 30px;
  margin-top: -50px;
  border-radius: 0 0 18px 18px;
  position: relative;
  z-index: 1;
  border: 2px solid #52287E;
  background: #fff;
}

.conference-bonus-column-bottom p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #000;
}

.conference-bonus-column-bottom strong {
  font-weight: 900;
}

/* =====================================
   LOGOS ROW
===================================== */

.conference-bonus-gift-logo-container {
  margin-top: 16px;
}

.conference-bonus-gift-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: space-between;
}

.conference-bonus-gift-logo img {
  max-height: 40px;
  width: 100%;
  display: block;
  min-height: 40px;
}

/* =====================================
   BONUS POP-UP TRIGGER
===================================== */

.pop-up-trigger-wrapper {
  margin: 0 !important;
  color: #fff;
  font-size: clamp(16px, 8px + 1vw, 20px);
  line-height: 1.4;
  font-family: 'Lato', -apple-system, sans-serif !important;
}

.pop-up-trigger-wrapper .bonus-leading-copy,
.pop-up-trigger-wrapper .bonus-popup-trigger,
.pop-up-trigger-wrapper button.bonus-popup-trigger {
  display: inline !important;
  vertical-align: baseline;
}

.pop-up-trigger-wrapper .bonus-leading-copy {
  color: #fff;
}

.pop-up-trigger-wrapper .bonus-popup-trigger {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  color: #52c4c7 !important;
  font: inherit !important;
  font-weight: 900 !important;
  line-height: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  vertical-align: baseline;
  white-space: normal !important;
  cursor: pointer !important;
}

.pop-up-trigger-wrapper .bonus-popup-trigger::before {
  content: " ";
}

.pop-up-trigger-wrapper .bonus-popup-trigger:hover,
.pop-up-trigger-wrapper .bonus-popup-trigger:focus {
  color: #52c4c7 !important;
  background: transparent !important;
  outline: none;
}

/* =====================================
   BONUS MODAL
===================================== */

.bonus-modal[hidden] {
  display: none !important;
}

.bonus-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  padding: 16px;
}

.bonus-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.bonus-modal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.bonus-modal__content {
  padding: 34px 28px 28px;
}

.bonus-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #52287E !important;
  font-size: 28px;
  line-height: 1;
  cursor: pointer !important;
  z-index: 3;
}

.bonus-modal__close:hover,
.bonus-modal__close:focus {
  background: none;
  outline: none;
}

.bonus-modal__close br {
  display: none;
}

body.bonus-modal-open {
  overflow: hidden;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1024px) {
  .conference-bonus-column-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bonus-button-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .conference-bonus {
    margin-top: 0;
  }

  .conference-bonus .bonus-container {
    max-width: 94%;
    border-radius: 22px;
  }

  .conference-bonus-column-top {
    padding: 22px 20px;
  }

  .bonus-top-column {
    text-align: center !important;
  }

  .bonus-button-group {
    width: 100%;
  }

  .custom-button-styles {
    width: 100%;
    justify-content: space-between;
  }

  .conference-bonus-column-bottom {
    padding: 60px 10px 15px;
  }

  .bonus-modal {
    padding: 10px;
  }

  .bonus-modal__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .bonus-modal__content {
    padding: 26px 18px 20px;
  }
}

@media (max-width: 350px) {

  .conference-bonus-gift-logo img {
    max-height: 25px;
  }

}