#travel-deals-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.td-header h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.td-subhead {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Filters */
.td-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.td-filter-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #f2f2f2;
  transition: background 0.2s, color 0.2s;
}

.td-filter-btn.active {
  background: #0077cc;
  color: #fff;
}

/* Grid */
.td-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

/* Deal Card */
.td-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.td-card-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffe9b3;
  color: #8a5a00;
}

.td-card-partner {
  font-size: 0.8rem;
  opacity: 0.8;
}

.td-card-title {
  font-weight: 700;
  font-size: 1rem;
}

.td-card-meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

.td-card-price {
  font-weight: 700;
  color: #0077cc;
  font-size: 0.95rem;
}

.td-card-cta {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.td-card-cta a {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ff9900;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Category chips */
.td-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
}

.td-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f3f3;
}

/* Small screen tweaks */
@media (max-width: 600px) {
  #travel-deals-layout {
    padding: 10px;
  }
}

.deal-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e3df;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.deal-card img.deal-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.deal-info {
  padding: 12px 14px;
}

.deal-provider {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}
.td-card-img img {
  width: 100%;
  height: 120px;   /* ↓ shrink from 160px to 120px */
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* =============================== */
/* FULL-WIDTH HORIZONTAL FOOTER    */
/* =============================== */

.bottom-trust-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 60px !important;

    background: #ffffff !important;  /* white */
    color: #000000 !important;       /* black */

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
}

/* Make each section inside footer behave like columns */
.bottom-trust-section > * {
    flex: 1 !important;
}

/* Headings */
.bottom-trust-section h3,
.bottom-trust-section h4 {
    color: #000 !important;
    border: none !important;
    margin-bottom: 10px !important;
}

/* Text */
.bottom-trust-section p {
    color: #333 !important;
}

/* Links */
.bottom-trust-section a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bottom-trust-section a:hover {
    text-decoration: underline !important;
}

/* Remove all <hr> lines */
.bottom-trust-section hr {
    display: none !important;
}
/* ============================
   Support & Policies (Cleaned)
   ============================ */

/* Wrapper */
.bottom-trust-section {
    width: 100% !important;
    margin-top: 48px !important;
    padding: 40px 60px !important;
    background: #ffffff !important;
    color: #000 !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* FINAL OVERRIDE — MATCH INDEX CONTOUR BLOCK */
.bottom-trust-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 32px 40px;

    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e7e3df !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

/* Columns */
.bottom-trust-section .trust-col {
    flex: 1 1 240px !important;
    min-width: 240px !important;
    overflow-wrap: break-word !important;
}

.mega-content {
    max-height: 80vh;   /* fits inside screen */
    overflow-y: auto;   /* enables scrolling */
    padding-right: 10px; /* avoids scrollbar overlap */
}


