/* TRAVELEU off-list offer rail. In normal flow beside search + content, not over them. */
.home-shell {
  display: block;
  width: 100%;
  padding: 0 6% 0;
  box-sizing: border-box;
}
.home-main {
  min-width: 0;
}
.home-main > .section,
.home-main > .hero {
  padding-left: 0;
  padding-right: 0;
}
.home-rail {
  min-width: 0;
}
.tv-offers-mobile {
  display: none;
}
.tv-offers-desktop h2,
.tv-offers-mobile h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.tv-offer-intro {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}
.tv-offer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0 0 14px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #102a43;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px #00143333;
}
.tv-offer-card:hover {
  transform: translateY(-1px);
}
.tv-offer-card:focus-visible {
  outline: 3px solid #ffe08a;
  outline-offset: 3px;
}
.tv-offer-visual {
  display: block;
  width: 100%;
  height: 104px;
  background-color: #0b3f86;
  background-position: center;
  background-size: cover;
}
.tv-offer-card[data-category="group"] .tv-offer-visual {
  background-image: linear-gradient(180deg, rgba(6, 24, 58, 0.05), rgba(6, 24, 58, 0.55)), url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=800&q=70");
}
.tv-offer-card[data-category="treatment"] .tv-offer-visual {
  background-image: linear-gradient(180deg, rgba(6, 24, 58, 0.05), rgba(6, 24, 58, 0.5)), url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=800&q=70");
}
.tv-offer-card[data-category="special"] .tv-offer-visual {
  background-image: linear-gradient(180deg, rgba(6, 24, 58, 0.05), rgba(6, 24, 58, 0.55)), url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=70");
}
a.tv-offer-card{text-decoration:none}
.tv-offer-disclaimer{margin:0;font-size:12px;line-height:1.45;color:#5b7088}
.tv-offer-kicker,
.tv-offer-text,
.tv-offer-cta {
  margin: 0 14px;
}
.tv-offer-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #078b8e;
}
.tv-offer-text {
  font-size: 14px;
  line-height: 1.4;
}
.tv-offer-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #06aeb1;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

#tv-offer-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #102a43;
  box-shadow: 0 18px 50px #04142888;
}
#tv-offer-dialog::backdrop {
  background: rgba(4, 16, 40, 0.62);
}
.tv-offer-dialog-body {
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 22px;
}
.tv-offer-dialog-body h2 {
  margin: 0 32px 8px 0;
  font-size: 24px;
  color: #102a43;
}
.tv-offer-lead,
.tv-offer-note,
.tv-offer-privacy {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}
.tv-offer-privacy {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7fb;
}
.tv-offer-warning {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e8;
  color: #6d4a10;
  font-size: 14px;
}
.tv-offer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #c5d4e6;
  border-radius: 8px;
  background: #fff;
  color: #102a43;
  font-size: 18px;
  cursor: pointer;
}
.tv-offer-form label {
  display: block;
  margin: 12px 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.tv-offer-form input,
.tv-offer-form select,
.tv-offer-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #b7c9de;
  border-radius: 8px;
  background: #fff;
  color: #102a43;
  font: inherit;
}
.tv-offer-form input:focus,
.tv-offer-form select:focus,
.tv-offer-form textarea:focus {
  outline: 3px solid #8bc6ff;
  outline-offset: 1px;
}
.tv-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.tv-offer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
.tv-offer-cats label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 650;
}
.tv-offer-cats input {
  width: auto;
}
.tv-offer-party {
  margin: 6px 0 0;
  color: #34516e;
  font-size: 13px;
}
.tv-offer-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 650;
}
.tv-offer-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
}
.tv-offer-submit {
  margin-top: 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #06aeb1;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.tv-offer-submit:disabled {
  background: #8aa4c4;
  cursor: default;
}
.tv-offer-errors {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1f1;
  color: #8d1d32;
  font-size: 14px;
}
.tv-offer-errors:empty {
  display: none;
}
.tv-offer-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body #hotel-results-section .traveleu-search-layout,
.traveleu-search-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}
/* Approved demo layout: 270px left rail (categories) + hotel cards on the right. */
@media (min-width: 801px) {
  .home-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 24px 6% 0;
  }
  .home-rail {
    position: sticky;
    top: 16px;
    z-index: 2;
  }
  .tv-offers-desktop {
    display: block;
    color: #102a43;
  }
  .tv-offers-mobile {
    display: none !important;
  }
  .tv-offers-desktop h2,
  .tv-offers-desktop .tv-offer-intro {
    color: #102a43;
  }
}
@media (max-width: 800px) {
  .home-shell {
    padding: 0;
  }
  .home-main > .section,
  .home-main > .hero {
    padding-left: 5%;
    padding-right: 5%;
  }
  .tv-offers-desktop {
    display: none;
  }
  /* Keep visual travel categories visible on small screens (demo parity). */
  .home-rail {
    display: block;
    padding: 16px 5% 0;
  }
  .tv-offers-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  .tv-offers-mobile h2,
  .tv-offers-mobile .tv-offer-intro {
    grid-column: 1 / -1;
  }
  .tv-offers-mobile .tv-offer-card {
    margin: 0;
  }
}
@media (max-width: 560px) {
  .tv-offers-mobile,
  .tv-offer-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1000px) {
  body #hotel-results-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Keep special-offer actions aligned with TRAVELEU's turquoise logo accent. */
.tv-offer-cta:hover,.tv-offer-submit:not(:disabled):hover{background:#078b8e}
