/* Rewards for Rescue Theme Styles - Integrated with Sandbox Theme Architecture */

.rescue-hero-section {
  background-color: #a30303 !important;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.rescue-hero-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 65%;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 1;
}

.btn-yellow-calc {
  background-color: #ffbc28 !important;
  color: #1a1a1a !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-yellow-calc:hover {
  background-color: #e5a820 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-rescue-join {
  background-color: #850f0f !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 24px;
  border-radius: 4px;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(133, 15, 15, 0.25);
}

.btn-rescue-join:hover {
  background-color: #700c0c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(133, 15, 15, 0.35);
}

/* Partner Logos Grid for Rescue */
.rescue-partners-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-rows: auto auto auto;
  column-gap: 25px;
  row-gap: 20px;
  align-items: center;
  max-width: 440px;
  margin-left: auto;
}

.rescue-partners-grid .partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rescue-partners-grid .partner-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.rescue-partners-grid .partner-item:hover img {
  transform: scale(1.05);
}

.partner-holiday-extras img {
  max-height: 66px;
}

.partner-hoseasons img {
  max-height: 38px;
}

.partner-away-resorts {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-start !important;
  padding-left: 10px;
}

.partner-away-resorts img {
  max-height: 42px;
}

.partner-discover-365 img {
  max-height: 60px;
}

.partner-butlins img {
  max-height: 49px;
}

@media (max-width: 991.98px) {
  .rescue-hero-ribbon {
    max-width: 80%;
    opacity: 0.45;
  }
  .rescue-partners-grid {
    margin: 30px auto 0 auto;
    max-width: 380px;
  }
}

@media (max-width: 575.98px) {
  .rescue-hero-section {
    min-height: 300px;
  }
  .rescue-hero-ribbon {
    opacity: 0.25;
  }
}
