
/* ============================================================================
  1. PROMOTION CARD MEDIA & LABELS
  ============================================================================ */
.news-image {
  padding: 4px;
  background: var(--color-primary-gold);
  position: relative;
}

.news-image img {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

.promo-labels {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-label {
  padding: 6px 12px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.promo-label.free {
  background: var(--color-card-green);
  color: var(--color-text-light);
}

.promo-label.popular {
  background: var(--color-card-yellow);
  color: var(--color-text-dark);
}

.promo-label.limited {
  background: var(--color-card-red);
  color: var(--color-text-light);
}

.card-action-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  height: 3px;

  background: radial-gradient(circle, #d0d0d0 70%, transparent 71%) repeat-x;

  background-size: 14px 4px;
}





.btn-arrow {
  width: 1.25em;
  height: 1.25em;
  color: #ffcc00;
  /* Matching yellow arrow */
  flex-shrink: 0;
}

/* ============================================================================
  2. PROMOTION CARD GRID
  ============================================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  scroll-margin-top: 250px;
}

.news-card {
  background: var(--color-card-bg-light);
  color: inherit;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  display: flex;
  opacity: 1;
  transform: scale(1);

  /* Define which properties transition, including display */
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    display 0.3s allow-discrete;
}

.news-card.span-2 {
  grid-column: span 2;
}

.promo-detail-block {
  margin-bottom: 12px;
}

.promo-detail-block h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin: 0 0 8px 0;
}

.promo-detail-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.promo-detail-block ul li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.promo-info ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 FREE";
  font-weight: 900;
  color: #fcc90b;
  position: absolute;
  left: 0;
  font-size: 15px;
  top: -1px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.promo-title ul li:before {
  content: "\f3c5";
  font-family: "Font Awesome 6 FREE";
  font-weight: 900;
  color: #fcc90b;
  position: absolute;
  left: 0;
  font-size: 17px;
  top: -3px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card.span-2 img {
  height: 240px;
  object-fit: cover;
}

/* Promotion Card Content */
.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-dark);
  line-height: 1.4;
  min-height: 61.6px;
}

.news-content p {
  font-size: 16px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.claim-now-btn {
  background-color: #fcc90b !important;
  color: #000 !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  word-break: break-word;
}

.claim-now-btn:hover {
  background-color: #e0a800 !important;
  color: #000 !important;
  text-decoration: none;
}

/* Promotion Card Actions */
.card-action-area {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #e0e0e0;
}

/* ============================================================================
  3. RESPONSIVE PROMOTION GRID
  ============================================================================ */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card.span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* .banner-top img {
    margin-top: 65px;
  } */

  .wave-divider {
    margin-top: -44px;
  }

  .news-section {
    padding: 30px 28px 0 28px;
  }

  .news-section-card {
    min-height: 300px;
  }

  .news-banner {
    height: 220px;
    padding-left: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.span-2 {
    grid-column: span 1;
  }

  .news-card.span-2 img,
  .news-card img {
    height: 200px;
  }

  .card-action-area {
    flex-wrap: wrap;
    gap: 10px;
  }

  .card-action-area .price-display {
    text-align: left !important;
    width: 100%;
    order: 2;
  }

  .claim-now-btn {
    max-width: 100%;
    order: 1;
  }

  .news-image {
    padding: 4px;
    background: #fcc90b;
    position: relative;
  }

  .news-image img {
    display: block;
    width: 100%;
    border-radius: 16px 16px 0 0;
  }

  .promo-labels {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .promo-label {
    padding: 6px 12px;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
  }

  .promo-label.free {
    background: #16a34a;
    color: #fff;
  }

  .promo-label.popular {
    background: #fcc90b;
    color: #111;
  }

  .promo-label.limited {
    background: #dc2626;
    color: #fff;
  }

  .card-action-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    height: 3px;

    background: radial-gradient(circle, #d0d0d0 70%, transparent 71%) repeat-x;

    background-size: 14px 4px;
  }

  .embossed-button {
    text-decoration: none;
    background: var(--color-primary-gold);
    color: var(--color-text-dark);
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 24px;
    border: 1px solid var(--color-secondary-gold);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(170, 124, 17, 0.18), 0 1px 3px rgba(21, 41, 74, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  /* Hover effect: slightly lift */
  .embossed-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(170, 124, 17, 0.24), 0 2px 5px rgba(21, 41, 74, 0.14);
  }

  .embossed-button:focus-visible {
    outline: 3px solid rgba(21, 41, 74, 0.35);
    outline-offset: 3px;
  }

  /* Active effect: physical press down */
  .embossed-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(21, 41, 74, 0.14);
  }
}

.news-card.is-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.94);
}

/* Define entry animation starting state when coming out of display: none */
@starting-style {
  .news-card:not(.is-hidden) {
    opacity: 0;
    transform: scale(0.94);
  }
}

.filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
  /* Keeps layout responsive on small screens */
}

/* ============================================================================
  4. PROMOTION FILTER CONTROLS
  ============================================================================ */
/* Right Side Controls Container */
.filter-controls-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Internal Alignment for Buttons */
#filter-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Container Layout */
.filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.filter-controls-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Filter Buttons Group */
#filter-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#filter-buttons button {
  background: transparent;
  border: none;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#filter-buttons button:hover {
  color: var(--color-text-dark);
  background: var(--color-primary-gold);
}

/* Active State for Buttons */
#filter-buttons button.active {
  background: var(--color-primary-gold);
  color: var(--color-text-dark);
  box-shadow: 0 2px 6px rgba(21, 41, 74, 0.15);
}

#filter-buttons button:focus-visible {
  outline: 3px solid rgba(21, 41, 74, 0.35);
  outline-offset: 2px;
}

/* 3. Custom Styled Select Dropdown */
#filter-dropdown-container {
  position: relative;
}

#destination-filter {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 2.25rem 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease-in-out;
  outline: none;
}

#destination-filter:hover,
#destination-filter:focus {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Custom Dropdown Caret Icon */
#filter-dropdown-container::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #64748b;
  pointer-events: none;
}

/* 1. Base State when Visible */
.no-results-wrapper {
  grid-column: 1 / -1;
  width: 100%;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  opacity: 1;
  transform: translateY(0);
}

.no-results-wrapper.is-hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(-8px);
}

/* 3. Starting animation frame right when unhidden */
@starting-style {
  .no-results-wrapper:not(.is-hidden) {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* 4. Card Inner Styling */
.no-results-message {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

.no-results-wrapper.is-hidden .no-results-message {
  transform: translateY(-10px);
}

/* Icon Animation */
.no-results-message .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.no-results-message h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.no-results-message p {
  color: #64748b;
  font-size: 0.9rem;
}
