/*
Theme adjunct: HotelPack public Home/Header/Hero styles.
Loaded only on the public Home.
Source of truth for public-home layout after CSS split/refactor.
Root style.css must not duplicate these home-specific rules.
*/

/* ============================================================
   HotelPack — Frontend Home base styles
   ============================================================ */

.hp-frontpage{ box-sizing: border-box; }
.hp-frontpage *, .hp-frontpage *::before, .hp-frontpage *::after{ box-sizing: inherit; }

/* container widths */
.hp-frontpage .hp-hero,
.hp-frontpage .hp-vip{ width: 100%; }

.hp-frontpage .hp-hero-inner,
.hp-frontpage .hp-section-inner{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* HERO */
.hp-frontpage .hp-hero{ padding: 52px 0 10px; }
.hp-frontpage .hp-hero-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hp-frontpage .hp-hero-title{ margin: 0 0 12px; line-height: 1.05; }
.hp-frontpage .hp-hero-subtitle{ margin: 0; max-width: 60ch; }

.hp-frontpage .hp-hero-media{
  min-height: 260px;
  border-radius: 18px;
  background: rgba(0,0,0,0.04);
}

/* Sections */
.hp-frontpage .hp-section-header{ margin: 0 0 16px; }
.hp-frontpage .hp-section-header h2{ margin: 0 0 6px; }
.hp-frontpage .hp-section-header p{ margin: 0; max-width: 70ch; }
.hp-frontpage .hp-section-header--tight{ margin-bottom: 12px; }

/* VIP */
.hp-frontpage .hp-vip{ padding: 22px 0 8px; }

.hp-frontpage .hp-vip-primary-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
  align-items: end;
}

.hp-frontpage .hp-vip-secondary-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.hp-frontpage .hp-vip-card{
  border-radius: 22px;
  background: rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;
}

/* stagger layout */
.hp-frontpage .hp-vip-card--p1{ min-height: 220px; transform: translateY(6px); }
.hp-frontpage .hp-vip-card--p2{ min-height: 240px; }
.hp-frontpage .hp-vip-card--p3{ min-height: 280px; transform: translateY(-10px); }
.hp-frontpage .hp-vip-card--p4{ min-height: 240px; }
.hp-frontpage .hp-vip-card--p5{ min-height: 220px; transform: translateY(6px); }
.hp-frontpage .hp-vip-card--s { min-height: 160px; }

/* =========================
   IMAGE SYSTEM (FIX REALE)
   ========================= */

.hp-frontpage .hp-vip-card__inner{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

/* contenitore */
.hp-frontpage .hp-vip-card__image{
  position: absolute;
  inset: 0;
}

/* immagine */
.hp-frontpage .hp-vip-card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* overlay testo */
.hp-frontpage .hp-vip-card__content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 12px;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
}

/* Responsive */
@media (max-width: 1180px){
  .hp-frontpage .hp-hero-inner{ grid-template-columns: 1fr; }
  .hp-frontpage .hp-vip-primary-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 980px){
  .hp-frontpage .hp-vip-primary-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hp-frontpage .hp-vip-secondary-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  .hp-frontpage .hp-vip-card--p1,
  .hp-frontpage .hp-vip-card--p2,
  .hp-frontpage .hp-vip-card--p3,
  .hp-frontpage .hp-vip-card--p4,
  .hp-frontpage .hp-vip-card--p5{ transform: none; }
}

@media (max-width: 520px){
  .hp-frontpage .hp-vip-primary-grid,
  .hp-frontpage .hp-vip-secondary-grid{ grid-template-columns: 1fr; }
}
/* ============================================================
   HotelPack — VIP Premium blue liquid glass
   ============================================================ */
.hp-frontpage .hp-vip-primary .hp-vip-card{
  background: rgba(255, 210, 120, 0.10);

  border: 2px solid rgba(255, 170, 60, 0.55);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.hp-frontpage .hp-vip-primary .hp-vip-card__image{
  position: absolute;
  inset: 10px 10px 12px 10px;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
}

.hp-frontpage .hp-vip-primary .hp-vip-card__image::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(210,235,255,0.16),
      rgba(210,235,255,0.04) 34%,
      rgba(190,225,255,0.05) 58%,
      rgba(170,215,255,0.09)
    ),
    radial-gradient(
      circle at top left,
      rgba(235,245,255,0.18),
      transparent 42%
    );
}

.hp-frontpage .hp-vip-primary .hp-vip-card__image img{
  opacity: 0.94;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(1.01) brightness(1.01);
}

.hp-frontpage .hp-vip-primary .hp-vip-card__content{
  z-index: 2;
  padding: 14px 14px 16px;
  background: linear-gradient(
    to top,
    rgba(120, 185, 255, 0.18),
    rgba(120, 185, 255, 0.08) 46%,
    rgba(120, 185, 255, 0.00)
  );
  backdrop-filter: blur(4px) saturate(115%);
  -webkit-backdrop-filter: blur(4px) saturate(115%);
}

.hp-frontpage .hp-vip-primary .hp-vip-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -1px 0 rgba(255,255,255,0.08);
}

/* VIP title */
.hp-frontpage .hp-vip-title{
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}
/* ============================================================
   HOTELPACK BRAND OVERRIDE (ARANCIONE)
   ============================================================ */

:root {
  --wp--preset--color--primary: #ff7a00;
}

/* Navigation link attivo */
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation a:hover {
  color: #ff7a00 !important;
}

/* PROPERTY BUTTON (quello verde nello screen) */
.hp-property-label {
  background-color: #ff7a00 !important;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
}

/* Dropdown */
.hp-property-dropdown a:hover {
  color: #ff7a00;
}
/* ============================================================
   HotelPack — Home bottom ADS visibility/layout hotfix
   2026-04-28
   Scopo: i due banner larghi sono entrambi nel DOM; questo override
   forza il flusso verticale e impedisce che il secondo slot venga
   nascosto/collassato da regole precedenti di grid/flex/overflow.
   ============================================================ */

.hp-bottom-wrap--home-final{
  display: block !important;
  width: min(1760px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 34px auto !important;
  padding: 0 !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  clear: both !important;
}

.hp-bottom-wrap--home-final > *,
.hp-bottom-wrap--home-final .hp-bottom-news-link,
.hp-bottom-wrap--home-final .hp-home-ad-slot{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  clear: both !important;
}

.hp-bottom-wrap--home-final .hp-home-ad-slot{
  margin: 34px 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.hp-bottom-wrap--home-final .hp-home-ad-slot--2{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hp-bottom-wrap--home-final .hp-ad,
.hp-bottom-wrap--home-final .hp-ad__media,
.hp-bottom-wrap--home-final .hp-ad-link{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.hp-bottom-wrap--home-final .hp-ad img,
.hp-bottom-wrap--home-final .hp-ad__media img,
.hp-bottom-wrap--home-final .hp-ad-link img{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border: 0 !important;
}

.hp-bottom-wrap--home-final .hp-ad--wide{
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10) !important;
}

@media (max-width: 768px){
  .hp-bottom-wrap--home-final{
    width: min(100% - 24px, 1760px) !important;
    margin: 24px auto !important;
  }

  .hp-bottom-wrap--home-final .hp-home-ad-slot{
    margin: 24px 0 !important;
  }
}


/* ============================================================
   HotelPack — Hero admin restyle + lightweight slideshow
   2026-04-29
   ============================================================ */
.sliderimg .wp-block-cover__image-background{
  opacity: 0 !important;
}
.slider-content .slider-info-main{
  align-items: center !important;
  gap: 34px !important;
}
.slider-text{
  max-width: 620px !important;
}
.slider-text .hp-hero-main-title{
  line-height: 1.08 !important;
  letter-spacing: .01em !important;
  margin-bottom: 14px !important;
}
.slider-text .hp-hero-body-text{
  line-height: 1.55 !important;
}
.slider-image figure.hp-hero-slideshow{
  width: min(720px, 100%) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}
.slider-image figure.hp-hero-slideshow img{
  width: 100% !important;
  height: 460px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 0;
  transition: opacity .55s ease-in-out;
}
.slider-image figure.hp-hero-slideshow img.is-active{
  opacity: 1;
}
@media (min-width: 1200px){
  .slider-content .slider-info-main{
    max-width: var(--hp-home-row-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .slider-image figure.hp-hero-slideshow img{
    height: 480px !important;
  }
}
@media (max-width: 1024px){
  .slider-image figure.hp-hero-slideshow img{
    height: 380px !important;
  }
}
@media (max-width: 768px){
  .slider-text .hp-hero-main-title{
    font-size: clamp(30px, 8vw, 44px) !important;
  }
  .slider-text .hp-hero-body-text{
    font-size: clamp(16px, 4.2vw, 22px) !important;
  }
  .slider-image figure.hp-hero-slideshow img{
    height: 300px !important;
  }
}

/* ============================================================
   HotelPack — Hero v2 refinement: larger media, larger text caps,
   admin-controlled benefit icons/messages and logo support
   ============================================================ */
.slider-content .slider-info-main{
  gap: 46px !important;
  align-items: center !important;
}
.slider-text{
  max-width: 720px !important;
}
.slider-image figure.hp-hero-slideshow{
  width: min(820px, 100%) !important;
  max-width: 820px !important;
}
.slider-image figure.hp-hero-slideshow img{
  height: 520px !important;
}
.slider-info-box{
  min-width: 150px !important;
}
.slider-info-main-box.hp-hero-benefits{
  gap: 44px !important;
}
.hp-hero-benefit-icon{
  margin: 0 0 8px !important;
  width: 46px !important;
  height: 46px !important;
}
.hp-hero-benefit-icon img{
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  display: block !important;
}
.hp-hero-check{
  display: inline-flex !important;
  width: 46px !important;
  height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  color: #158f72 !important;
  font-size: 42px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 8px rgba(21,143,114,.22) !important;
}
@media (min-width: 1200px){
  .slider-content .slider-info-main{
    max-width: var(--hp-home-row-max-width) !important;
  }
  .slider-image figure.hp-hero-slideshow{
    width: min(860px, 100%) !important;
    max-width: 860px !important;
  }
  .slider-image figure.hp-hero-slideshow img{
    height: 540px !important;
  }
}
@media (max-width: 1366px){
  .slider-content .slider-info-main{
    gap: 34px !important;
  }
  .slider-image figure.hp-hero-slideshow img{
    height: 480px !important;
  }
}
@media (max-width: 1024px){
  .slider-image figure.hp-hero-slideshow img{
    height: 380px !important;
  }
  .slider-info-main-box.hp-hero-benefits{
    gap: 24px !important;
  }
}


/* ============================================================
   HotelPack — Hero v3 benefits links + hover + admin body size fix
   ============================================================ */
.slider-text .hp-hero-body-text{
  font-size: inherit !important;
}
.slider-info-main-box.hp-hero-benefits{
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.hp-hero-benefit{
  width: 100% !important;
}
.hp-hero-benefit-link{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 7px 8px !important;
  margin: -8px -10px !important;
  border-radius: 18px !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, opacity .22s ease !important;
}
.hp-hero-benefit-link:not(.hp-hero-benefit-link--static):hover{
  transform: translateX(6px) !important;
  background: rgba(255, 122, 0, .075) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08) !important;
}
.hp-hero-benefit-link:not(.hp-hero-benefit-link--static):hover .hp-hero-benefit-icon{
  transform: scale(1.08) rotate(-2deg) !important;
}
.hp-hero-benefit-icon{
  flex: 0 0 auto !important;
  margin: 0 !important;
  transition: transform .22s ease !important;
}
.hp-hero-benefit-copy{
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.hp-hero-benefit-title{
  margin: 0 !important;
  line-height: 1.15 !important;
}
.hp-hero-benefit-sub{
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* ============================================================
   HotelPack — Hero benefits + VIP size correction v6
   Scope: CSS only, source latest server style.css
   ============================================================ */

/* Benefits: icon sopra, titolo e sottotitolo sotto, niente testo di fianco */
.slider-info-box{
  min-width: 190px !important;
}

.slider-info-main-box.hp-hero-benefits{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 32px !important;
}

.hp-hero-benefit{
  width: 100% !important;
  max-width: 190px !important;
  position: relative !important;
}

.hp-hero-benefit-link{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: 100% !important;
  padding: 10px 12px !important;
  margin: -10px -12px !important;
  border-radius: 18px !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transform: translateZ(0) !important;
  transition:
    transform .24s ease,
    background-color .24s ease,
    box-shadow .24s ease,
    opacity .24s ease !important;
}

.hp-hero-benefit-link:hover{
  transform: translateX(12px) scale(1.025) !important;
  background: rgba(255, 122, 0, .12) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .13) !important;
  opacity: .98 !important;
}

.hp-hero-benefit-icon{
  margin: 0 0 2px 0 !important;
  width: 46px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  transition: transform .24s ease, filter .24s ease !important;
  transform-origin: center !important;
}

.hp-hero-benefit-link:hover .hp-hero-benefit-icon{
  transform: scale(1.2) rotate(-3deg) !important;
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .16)) !important;
}

.hp-hero-benefit-copy{
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.hp-hero-benefit-title,
.hp-hero-benefit-sub{
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.hp-hero-benefit-title{
  margin: 0 !important;
  line-height: 1.16 !important;
  transition: text-shadow .24s ease, color .24s ease !important;
}

.hp-hero-benefit-sub{
  margin: 0 !important;
  line-height: 1.35 !important;
  opacity: .86 !important;
}

.hp-hero-benefit-link:hover .hp-hero-benefit-title{
  text-shadow: 0 3px 14px rgba(15, 23, 42, .18) !important;
}

/* VIP / Strutture in Evidenza — auto-fit grid with readable minimum card width */
.tour-main-box,
body.home .wp-block-columns.tour-main-box,
body.front-page .wp-block-columns.tour-main-box{
  --hp-vip-card-min: 220px;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--hp-vip-card-min)), 1fr)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 20px !important;
}

.tour-main-box > .wp-block-column{
  width: 100% !important;
  max-width: 100% !important;
  min-width: min(100%, var(--hp-vip-card-min)) !important;
  padding-top: 0 !important;
  transform: none !important;
  animation: none !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.tour-main{
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Legacy wp-block-image markup (if any slot still uses it) */
.tour-main .wp-block-image,
.tour-main figure.wp-block-image{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.tour-main .wp-block-image img,
.tour-main figure.wp-block-image img{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 11 / 13 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 15px !important;
  display: block !important;
}

.tour-heading-box{
  margin-bottom: 22px !important;
}

@media (max-width: 780px){
  .tour-main-box,
  body.home .wp-block-columns.tour-main-box,
  body.front-page .wp-block-columns.tour-main-box{
    gap: 16px !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
  }
}

@media (max-width: 520px){
  .tour-main-box,
  body.home .wp-block-columns.tour-main-box,
  body.front-page .wp-block-columns.tour-main-box{
    width: min(100% - 28px, 420px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .tour-main-box > .wp-block-column{
    min-width: 0 !important;
  }
}


/* ============================================================
   HotelPack — Home no entrance/reveal animations
   Scope: homepage only. Removes delayed slide/fade entrance effects.
   ============================================================ */
body.home .wow,
body.home .animated,
body.home .animate,
body.home [class*="animate__"],
body.home [data-aos],
body.front-page .wow,
body.front-page .animated,
body.front-page .animate,
body.front-page [class*="animate__"],
body.front-page [data-aos],
body.home .slider-content,
body.home .slider-info-main,
body.home .slider-text,
body.home .slider-image,
body.home .slider-info-box,
body.home .search-content,
body.home .tour-main-box,
body.home .tour-main,
body.home .hp-home-discovery,
body.home .hp-home-ad-rectangle,
body.home .hp-home-destinations,
body.home .hp-discovery-panel,
body.home .hp-city-card,
body.home .hp-label-card,
body.home .hp-home-ad-slot{
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
  transition-delay: 0s !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.home [data-aos],
body.front-page [data-aos]{
  pointer-events: auto !important;
}


/* ============================================================
   HotelPack — Theme strip compact carousel
   Scope: home only. Admin data remains source of truth.
   ============================================================ */

/* Hide older standalone theme/discovery block if still rendered elsewhere. */
.hp-home-labels-wrap:not(.hp-theme-strip-wrap){
  display: none !important;
}

.hp-theme-strip-wrap{
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 18px auto 34px !important;
  padding: 18px 26px 20px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,244,.86)) !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  box-shadow:
    0 18px 46px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.76) !important;
  overflow: hidden !important;
}

.hp-theme-strip-head{
  text-align: center !important;
  margin: 0 0 14px !important;
}

.hp-theme-strip-eyebrow{
  margin: 0 0 4px !important;
  color: #ed8b0b !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .09em !important;
}

.hp-theme-strip-title{
  margin: 0 !important;
  color: #101010 !important;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit) !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  font-weight: 850 !important;
  line-height: 1.03 !important;
}

.hp-theme-strip-subtitle{
  margin: 6px 0 0 !important;
  color: rgba(15,23,42,.72) !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

.hp-theme-strip-shell{
  position: relative !important;
  overflow: hidden !important;
}

.hp-theme-strip-shell::before,
.hp-theme-strip-shell::after{
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 32px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.hp-theme-strip-shell::before{
  left: 0 !important;
  background: linear-gradient(90deg, rgba(255,253,250,.96), rgba(255,253,250,0)) !important;
}

.hp-theme-strip-shell::after{
  right: 0 !important;
  background: linear-gradient(270deg, rgba(255,253,250,.96), rgba(255,253,250,0)) !important;
}

.hp-theme-strip-track{
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 9px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 8px !important;
  scroll-snap-type: x proximity !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

.hp-theme-strip-track::-webkit-scrollbar{
  display: none !important;
}

.hp-theme-strip-card{
  flex: 0 0 120px !important;
  height: 72px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 8px !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  color: #101010 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,246,236,.70)) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow:
    0 8px 20px rgba(15,23,42,.055),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
  scroll-snap-align: start !important;
  transition:
    transform .20s ease,
    border-color .20s ease,
    box-shadow .20s ease,
    background-color .20s ease !important;
}

.hp-theme-strip-card:hover{
  transform: translateY(-3px) !important;
  border-color: rgba(237,139,11,.42) !important;
  box-shadow:
    0 14px 30px rgba(15,23,42,.10),
    0 0 0 1px rgba(237,139,11,.07),
    inset 0 1px 0 rgba(255,255,255,.78) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,242,226,.88)) !important;
}

.hp-theme-strip-icon{
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.hp-theme-strip-icon img{
  max-width: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 5px 8px rgba(15,23,42,.12)) !important;
}

.hp-theme-strip-label{
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #101010 !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

@media (min-width: 1280px){
  .hp-theme-strip-card{
    flex-basis: 124px !important;
  }
}

@media (max-width: 1024px){
  .hp-theme-strip-wrap{
    width: min(100% - 28px, 1180px) !important;
    padding: 16px 18px 18px !important;
    margin-top: 18px !important;
  }

  .hp-theme-strip-card{
    flex-basis: 116px !important;
  }
}

@media (max-width: 640px){
  .hp-theme-strip-wrap{
    width: min(100% - 20px, 1180px) !important;
    padding: 14px 12px 16px !important;
    border-radius: 18px !important;
  }

  .hp-theme-strip-head{
    margin-bottom: 12px !important;
  }

  .hp-theme-strip-title{
    font-size: 24px !important;
  }

  .hp-theme-strip-subtitle{
    font-size: 13px !important;
  }

  .hp-theme-strip-card{
    flex-basis: 102px !important;
    height: 66px !important;
    border-radius: 14px !important;
    gap: 5px !important;
  }

  .hp-theme-strip-icon,
  .hp-theme-strip-icon img{
    max-width: 30px !important;
    max-height: 30px !important;
    width: 30px !important;
    height: 30px !important;
  }

  .hp-theme-strip-label{
    font-size: 11px !important;
  }
}


/* ============================================================
   HotelPack — Theme strip compact width refinement
   Scope: home theme carousel only.
   ============================================================ */

.hp-theme-strip-track{
  gap: 9px !important;
}

.hp-theme-strip-card{
  flex-basis: 120px !important;
  width: 120px !important;
  min-width: 120px !important;
  height: 72px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.hp-theme-strip-icon{
  width: 32px !important;
  height: 32px !important;
}

.hp-theme-strip-icon img{
  max-width: 32px !important;
  max-height: 32px !important;
}

.hp-theme-strip-label{
  font-size: 11.5px !important;
}

@media (min-width: 1280px){
  .hp-theme-strip-card{
    flex-basis: 124px !important;
    width: 124px !important;
    min-width: 124px !important;
  }
}

@media (max-width: 1024px){
  .hp-theme-strip-track{
    gap: 8px !important;
  }

  .hp-theme-strip-card{
    flex-basis: 112px !important;
    width: 112px !important;
    min-width: 112px !important;
  }
}

@media (max-width: 640px){
  .hp-theme-strip-card{
    flex-basis: 102px !important;
    width: 102px !important;
    min-width: 102px !important;
    height: 66px !important;
  }
}


/* ============================================================
   HotelPack — Header logo size fix
   Scope: frontend header logo only. Does not touch admin/backend.
   Real target: .wp-block-site-title a.hp-admin-controlled-logo
   ============================================================ */

body.home header .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
body.home .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
  width: 480px !important;
  min-width: 480px !important;
  max-width: none !important;
  height: 104px !important;
  min-height: 104px !important;
  max-height: none !important;

  display: inline-block !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;

  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}

@media (max-width: 1366px){
  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
    width: 410px !important;
    min-width: 410px !important;
    height: 88px !important;
    min-height: 88px !important;
  }
}

@media (max-width: 768px){
  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
    width: 260px !important;
    min-width: 260px !important;
    height: 62px !important;
    min-height: 62px !important;
  }
}


/* ============================================================
   HotelPack — VIP Premium modern OTA cards
   2026-05-11
   Scope chirurgico: solo contenuto interno a .tour-main.
   Mantiene intatta la struttura FSE .tour-main-box > .wp-block-column > .tour-main.
   ============================================================ */

body.home .tour-main-box .tour-main,
body.front-page .tour-main-box .tour-main{
  background: transparent !important;
  border-radius: 18px !important;
  overflow: visible !important;
}

body.home .tour-main-box .hp-vip-modern,
body.front-page .tour-main-box .hp-vip-modern{
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, .09) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10) !important;
  transform: translateZ(0) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.home .tour-main-box .hp-vip-modern:hover,
body.front-page .tour-main-box .hp-vip-modern:hover{
  transform: translateY(-4px) !important;
  border-color: rgba(237, 139, 11, .34) !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .14) !important;
}

body.home .tour-main-box .hp-vip-modern__media,
body.front-page .tour-main-box .hp-vip-modern__media{
  display: block !important;
  position: relative !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 11 / 13 !important;
  overflow: hidden !important;
  background: rgba(15, 23, 42, .06) !important;
  text-decoration: none !important;
}

body.home .tour-main-box .hp-vip-modern__media img,
body.front-page .tour-main-box .hp-vip-modern__media img,
body.hp-frontpage .tour-main-box .hp-vip-modern__media img,
body.home .tour-main-box .tour-main .hp-vip-modern__media img,
body.front-page .tour-main-box .tour-main .hp-vip-modern__media img,
body.hp-frontpage .tour-main-box .tour-main .hp-vip-modern__media img,
body.home .tour-main-box .hp-vip-modern__media-img,
body.front-page .tour-main-box .hp-vip-modern__media-img,
body.hp-frontpage .tour-main-box .hp-vip-modern__media-img,
body.home .tour-main-box .tour-main .hp-vip-modern__media-img,
body.front-page .tour-main-box .tour-main .hp-vip-modern__media-img,
body.hp-frontpage .tour-main-box .tour-main .hp-vip-modern__media-img{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  transform: none !important;
  transition: transform .28s ease, filter .28s ease !important;
}

/* Package photo — same full-bleed cover as the hotel image. */
body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.home .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="package"],
body.front-page .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="package"],
body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="package"]{
  opacity: 0;
  z-index: 1;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none;
  animation: hp-vip-media-alt-fade 9s ease-in-out infinite;
  animation-delay: calc(var(--hp-vip-slot-index, 0) * 1.35s);
}

body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.home .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="hotel"],
body.front-page .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="hotel"],
body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual img[data-hp-media-role="hotel"]{
  z-index: 0;
  object-fit: cover !important;
  object-position: center center !important;
  animation: hp-vip-media-primary-fade 9s ease-in-out infinite;
  animation-delay: calc(var(--hp-vip-slot-index, 0) * 1.35s);
}

body.home .tour-main-box .hp-vip-modern__meta,
body.front-page .tour-main-box .hp-vip-modern__meta,
body.hp-frontpage .tour-main-box .hp-vip-modern__meta{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px 12px !important;
  min-width: 0 !important;
  margin-top: 2px !important;
}

body.home .tour-main-box .hp-vip-modern__type-badge,
body.front-page .tour-main-box .hp-vip-modern__type-badge,
body.hp-frontpage .tour-main-box .hp-vip-modern__type-badge{
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  flex: 0 1 auto;
  max-width: min(100%, 16ch);
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: none;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, .10);
  pointer-events: auto;
  opacity: 1;
  animation: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home .tour-main-box .hp-vip-modern__type-badge--brand,
body.front-page .tour-main-box .hp-vip-modern__type-badge--brand,
body.hp-frontpage .tour-main-box .hp-vip-modern__type-badge--brand{
  color: #fff;
  background: #ed8b0b;
  border-color: transparent;
  box-shadow: none;
}

@keyframes hp-vip-media-primary-fade{
  0%, 42%, 100%{ opacity: 1; }
  50%, 92%{ opacity: 0; }
}
@keyframes hp-vip-media-alt-fade{
  0%, 42%, 100%{ opacity: 0; }
  50%, 92%{ opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
  body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
  body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
  body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
  body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
  body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary{
    animation: none !important;
  }
  body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
  body.home .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
  body.front-page .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
  body.hp-frontpage .tour-main-box .hp-vip-modern__media--dual .hp-vip-modern__media-img--package{
    display: none !important;
  }
}

body.home .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media img,
body.front-page .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media img,
body.hp-frontpage .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media img,
body.home .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media-img,
body.front-page .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media-img,
body.hp-frontpage .tour-main-box .hp-vip-modern:hover .hp-vip-modern__media-img{
  transform: scale(1.04) !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

body.home .tour-main-box .hp-vip-modern__body,
body.front-page .tour-main-box .hp-vip-modern__body{
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 13px 14px 14px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

body.home .tour-main-box .hp-vip-modern__hotel,
body.front-page .tour-main-box .hp-vip-modern__hotel,
body.home .tour-main-box .hp-vip-modern__title,
body.front-page .tour-main-box .hp-vip-modern__title{
  margin: 0 !important;
  color: #ed8b0b !important;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit) !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.home .tour-main-box .hp-vip-modern__package,
body.front-page .tour-main-box .hp-vip-modern__package{
  margin: 0 !important;
  color: rgba(15, 23, 42, .78) !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.32 !important;
  white-space: pre-line !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}


body.home .tour-main-box .hp-vip-modern__package--fallback,
body.front-page .tour-main-box .hp-vip-modern__package--fallback{
  color: rgba(15, 23, 42, .82) !important;
}

body.home .tour-main-box .hp-vip-modern--contract .hp-vip-modern__desc,
body.front-page .tour-main-box .hp-vip-modern--contract .hp-vip-modern__desc,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract .hp-vip-modern__desc,
body.home .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc,
body.front-page .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc{
  margin: 0 !important;
  color: rgba(15, 23, 42, .66) !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.38 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.home .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc,
body.front-page .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract-empty .hp-vip-modern__desc{
  -webkit-line-clamp: 6 !important;
  line-clamp: 6 !important;
}

body.home .tour-main-box .hp-vip-modern__property,
body.front-page .tour-main-box .hp-vip-modern__property{
  margin: 4px 0 0 !important;
  color: #0f172a !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  line-height: 1.28 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.home .tour-main-box .hp-vip-modern__location,
body.front-page .tour-main-box .hp-vip-modern__location{
  margin: 0 !important;
  color: rgba(15, 23, 42, .68) !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  letter-spacing: .01em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.home .tour-main-box .hp-vip-modern__footer,
body.front-page .tour-main-box .hp-vip-modern__footer{
  margin-top: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 8px 10px !important;
  padding-top: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.home .tour-main-box .hp-vip-modern__price,
body.front-page .tour-main-box .hp-vip-modern__price{
  display: inline-block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  color: #0f172a !important;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  letter-spacing: .01em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.home .tour-main-box .hp-vip-modern__price strong,
body.front-page .tour-main-box .hp-vip-modern__price strong{
  color: #101010 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.home .tour-main-box .hp-vip-modern__footer--cta-only,
body.front-page .tour-main-box .hp-vip-modern__footer--cta-only,
body.home .tour-main-box .hp-vip-modern__footer--cta,
body.front-page .tour-main-box .hp-vip-modern__footer--cta{
  justify-content: center !important;
}

body.home .tour-main-box .hp-vip-modern__price--fallback,
body.front-page .tour-main-box .hp-vip-modern__price--fallback,
body.home .tour-main-box .hp-vip-modern__price--unavailable,
body.front-page .tour-main-box .hp-vip-modern__price--unavailable{
  max-width: 100% !important;
  color: rgba(15, 23, 42, .74) !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
}

body.home .tour-main-box .hp-vip-modern__cta,
body.front-page .tour-main-box .hp-vip-modern__cta{
  flex: 1 1 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  background: #ed8b0b !important;
  color: #2c241c !important;
  -webkit-text-fill-color: #2c241c !important;
  text-decoration: none !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  box-shadow: 0 8px 18px rgba(237, 139, 11, .24) !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

body.home .tour-main-box .hp-vip-modern__cta:hover,
body.front-page .tour-main-box .hp-vip-modern__cta:hover{
  transform: translateY(-1px) !important;
  background: #d97600 !important;
  color: #2c241c !important;
  -webkit-text-fill-color: #2c241c !important;
  box-shadow: 0 12px 24px rgba(237, 139, 11, .32) !important;
}

body.home .tour-main-box .hp-vip-modern__cta--disabled,
body.front-page .tour-main-box .hp-vip-modern__cta--disabled{
  cursor: default !important;
  pointer-events: none !important;
  user-select: none !important;
  opacity: .78 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.home .tour-main-box .hp-vip-modern--fallback,
body.front-page .tour-main-box .hp-vip-modern--fallback,
body.home .tour-main-box .hp-vip-modern--contract-empty,
body.front-page .tour-main-box .hp-vip-modern--contract-empty{
  background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%) !important;
}

body.home .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__hotel,
body.front-page .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__hotel{
  color: #ed8b0b !important;
}

body.home .tour-main-box .hp-vip-modern__body--empty,
body.front-page .tour-main-box .hp-vip-modern__body--empty{
  text-align: center !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 14px 16px 14px !important;
}

body.home .tour-main-box .hp-vip-modern__empty-kicker,
body.front-page .tour-main-box .hp-vip-modern__empty-kicker{
  margin: 0 !important;
  color: #ed8b0b !important;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
}

body.home .tour-main-box .hp-vip-modern__empty-title,
body.front-page .tour-main-box .hp-vip-modern__empty-title{
  margin: 0 !important;
  color: #ed8b0b !important;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
}

body.home .tour-main-box .hp-vip-modern__empty-invite,
body.front-page .tour-main-box .hp-vip-modern__empty-invite{
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 8px 6px !important;
  color: #0f172a !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body.home .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media,
body.front-page .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media,
body.hp-frontpage .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media{
  background: #f6f3ee !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.home .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media img,
body.front-page .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media img,
body.hp-frontpage .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media img,
body.home .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media-img,
body.front-page .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media-img,
body.hp-frontpage .tour-main-box .hp-vip-modern--fallback .hp-vip-modern__media-img{
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.home .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media img,
body.front-page .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media img,
body.hp-frontpage .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media img,
body.home .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media-img,
body.front-page .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media-img,
body.hp-frontpage .tour-main-box .hp-vip-modern--fallback:hover .hp-vip-modern__media-img{
  transform: scale(1.03) !important;
  filter: none !important;
}

/* TYPE B — sold/active real premium dual-media slideshow panel (not position-based). */
body.home .tour-main-box .hp-vip-modern--contract .hp-vip-modern__media--dual,
body.front-page .tour-main-box .hp-vip-modern--contract .hp-vip-modern__media--dual,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract .hp-vip-modern__media--dual{
  background: #ead9c0 !important;
  border-bottom: 1px solid rgba(155, 115, 55, .46) !important;
  box-shadow: inset 0 0 0 1px rgba(168, 122, 58, .34) !important;
}

/* TYPE B — disable card-hover image zoom/shift inside dual slideshow panels. */
body.home .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.front-page .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--primary,
body.home .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="hotel"],
body.front-page .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="hotel"],
body.hp-frontpage .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="hotel"]{
  transform: none !important;
  filter: none !important;
}

body.home .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.front-page .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--alt,
body.home .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.front-page .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.hp-frontpage .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual .hp-vip-modern__media-img--package,
body.home .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="package"],
body.front-page .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="package"],
body.hp-frontpage .tour-main-box .hp-vip-modern--contract:hover .hp-vip-modern__media--dual img[data-hp-media-role="package"]{
  transform: none !important;
  filter: none !important;
}

@media (max-width: 780px){
  body.home .tour-main-box .hp-vip-modern__package,
  body.front-page .tour-main-box .hp-vip-modern__package{
    font-size: 12px !important;
    line-height: 1.28 !important;
  }

  body.home .tour-main-box .hp-vip-modern__footer,
  body.front-page .tour-main-box .hp-vip-modern__footer{
    align-items: stretch !important;
  }

  body.home .tour-main-box .hp-vip-modern__cta,
  body.front-page .tour-main-box .hp-vip-modern__cta{
    margin-left: 0 !important;
    white-space: normal !important;
  }

  body.home .tour-main-box .hp-vip-modern__type-badge,
  body.front-page .tour-main-box .hp-vip-modern__type-badge,
  body.hp-frontpage .tour-main-box .hp-vip-modern__type-badge{
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}


/* ============================================================
   HotelPack — Discovery destinations spacing normalized v4
   Scope: blocco città/destinazioni (.hp-home-destinations).
   Nota: il valore desktop è la taratura visiva attuale; in responsive
   viene ridotto/annullato per evitare sovrapposizioni.
   ============================================================ */

body.home .hp-home-destinations,
body.front-page .hp-home-destinations{
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 12px !important;
}

body.home .hp-home-discovery,
body.front-page .hp-home-discovery{
  margin-top: 24px !important;
}

body.home .hp-home-destinations .hp-home-discovery__header,
body.front-page .hp-home-destinations .hp-home-discovery__header,
body.home .hp-home-discovery__header,
body.front-page .hp-home-discovery__header{
  margin-top: 18px !important;
  margin-bottom: 10px !important;
}

body.home .hp-home-destinations .hp-home-discovery__header h2,
body.front-page .hp-home-destinations .hp-home-discovery__header h2,
body.home .hp-home-discovery__header h2,
body.front-page .hp-home-discovery__header h2{
  margin-bottom: 4px !important;
  line-height: 1.04 !important;
}

body.home .hp-home-destinations .hp-home-discovery__header p,
body.front-page .hp-home-destinations .hp-home-discovery__header p,
body.home .hp-home-discovery__header p,
body.front-page .hp-home-discovery__header p{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .hp-cities-panel,
body.front-page .hp-cities-panel{
  margin-top: 0 !important;
}

@media (max-width: 1366px){
  body.home .hp-cities-panel,
  body.front-page .hp-cities-panel{
    margin-top: 0 !important;
  }
}

@media (max-width: 1024px){
  body.home .hp-home-destinations,
  body.front-page .hp-home-destinations{
    margin-top: 18px !important;
  }

  body.home .hp-home-discovery,
  body.front-page .hp-home-discovery{
    margin-top: 18px !important;
  }

  body.home .hp-cities-panel,
  body.front-page .hp-cities-panel{
    margin-top: 0 !important;
  }
}

@media (max-width: 768px){
  body.home .hp-cities-panel,
  body.front-page .hp-cities-panel{
    margin-top: 16px !important;
  }
}


/* ============================================================
   HotelPack — Hero/header micro refinement
   2026-05-20
   Scope: home header + hero benefit column only.
   ============================================================ */

/* Logo: leggermente più basso, senza cambiare dimensioni esistenti */
body.home header .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
body.home .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
  transform: translateY(8px) !important;
}

/* Header partner actions: sostituisce il dropdown "Property" con due CTA */
.hp-header-partner-actions{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

.hp-header-partner-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  font-family: var(--wp--preset--font-family--raleway, inherit) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease !important;
}

.hp-header-partner-btn--login{
  color: #ed8b0b !important;
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(237,139,11,.34) !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.06) !important;
}

.hp-header-partner-btn--register{
  color: #ffffff !important;
  background: #ed8b0b !important;
  border: 1px solid #ed8b0b !important;
  box-shadow: 0 10px 24px rgba(237,139,11,.24) !important;
}

.hp-header-partner-btn:hover{
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

.hp-header-partner-btn--login:hover{
  color: #d97600 !important;
  background: #ffffff !important;
  border-color: rgba(237,139,11,.58) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.10) !important;
}

.hp-header-partner-btn--register:hover{
  color: #ffffff !important;
  background: #d97600 !important;
  border-color: #d97600 !important;
  box-shadow: 0 14px 30px rgba(237,139,11,.32) !important;
}

.hp-property-dropdown[hidden]{
  display: none !important;
}

/* Hero benefit column: allineamento stabile icona/testi + hover anche senza URL */
.slider-info-main-box.hp-hero-benefits{
  gap: 34px !important;
  align-items: flex-start !important;
}

.hp-hero-benefit{
  width: 100% !important;
  max-width: 230px !important;
}

.hp-hero-benefit-link{
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 16px !important;
  width: 100% !important;
  min-height: 104px !important;
  padding: 12px 14px !important;
  margin: -12px -14px !important;
  border-radius: 20px !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, opacity .22s ease !important;
}

.hp-hero-benefit-link:not(.hp-hero-benefit-link--static){
  cursor: pointer !important;
}

.hp-hero-benefit-link--static{
  cursor: default !important;
}

.hp-hero-benefit-link:hover{
  transform: translateX(8px) !important;
  background: rgba(237,139,11,.075) !important;
  box-shadow: 0 14px 30px rgba(15,23,42,.09) !important;
}

.hp-hero-benefit-icon{
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: center !important;
  transition: transform .22s ease, filter .22s ease !important;
}

.hp-hero-benefit-icon img{
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  display: block !important;
}

.hp-hero-benefit-link:hover .hp-hero-benefit-icon{
  transform: scale(1.12) rotate(-2deg) !important;
  filter: drop-shadow(0 8px 12px rgba(15,23,42,.14)) !important;
}

.hp-hero-benefit-copy{
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.hp-hero-benefit-title{
  margin: 0 !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

.hp-hero-benefit-sub{
  margin: 0 !important;
  line-height: 1.35 !important;
  opacity: .88 !important;
}

@media (max-width: 1366px){
  .hp-header-partner-actions{
    gap: 8px !important;
  }

  .hp-header-partner-btn{
    min-height: 42px !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
  }

  .hp-hero-benefit{
    max-width: 210px !important;
  }

  .hp-hero-benefit-link{
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    min-height: 96px !important;
  }
}

@media (max-width: 768px){
  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
    transform: translateY(4px) !important;
  }

  .hp-header-partner-actions{
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .hp-header-partner-btn{
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .hp-hero-benefit-link{
    min-height: 0 !important;
  }
}


/* ============================================================
   HotelPack — Home discovery/advertising flow normalization
   2026-05-23
   Scope: removes legacy overlap between cities panel and ad/news flow.
   ============================================================ */
body.home .hp-home-discovery,
body.front-page .hp-home-discovery{
  margin-top: 24px !important;
  gap: 28px !important;
}

body.home .hp-cities-panel,
body.front-page .hp-cities-panel{
  margin-top: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

body.home .hp-home-bn1-slot,
body.front-page .hp-home-bn1-slot{
  display: block !important;
  width: 100% !important;
}

body.home .hp-bottom-wrap--home-final,
body.front-page .hp-bottom-wrap--home-final{
  width: min(1760px, calc(100% - 48px)) !important;
  max-width: 1760px !important;
  margin: 42px auto 72px !important;
  padding: 0 !important;
  clear: both !important;
}

body.home .hp-bottom-wrap--home-final > *,
body.front-page .hp-bottom-wrap--home-final > *{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news{
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news__visual{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

@media (max-width: 1024px){
  body.home .hp-home-discovery,
  body.front-page .hp-home-discovery{
    margin-top: 18px !important;
  }
}

@media (max-width: 768px){
  body.home .hp-bottom-wrap--home-final,
  body.front-page .hp-bottom-wrap--home-final{
    width: min(100% - 24px, 1760px) !important;
    margin-top: 30px !important;
  }
}

/* ============================================================
   HotelPack — Home discovery/news compact alignment patch
   2026-05-23
   Scope: CSS only.
   Obiettivo:
   - NON trascinare più le città con margini negativi aggressivi
   - ridurre realmente il respiro del blocco news/ads sotto il core
   - sovrascrivere il layout inline di latest-news.php senza toccare query/PHP
   ============================================================ */

/* Core: il blocco città torna nel flusso naturale. */
body.home .hp-results-shell,
body.front-page .hp-results-shell{
  margin-top: 34px !important;
  align-items: flex-start !important;
}

body.home .hp-results-shell--home-empty,
body.front-page .hp-results-shell--home-empty{
  margin-top: 18px !important;
}

body.home .hp-results-main,
body.front-page .hp-results-main{
  height: auto !important;
  min-height: 0 !important;
}

body.home .hp-home-discovery,
body.front-page .hp-home-discovery{
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 0 !important;
}

body.home .hp-home-discovery__header,
body.front-page .hp-home-discovery__header{
  margin: 0 0 2px !important;
}

body.home .hp-cities-panel,
body.front-page .hp-cities-panel{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 24px 26px !important;
  position: relative !important;
  z-index: 1 !important;
}

body.home .hp-cities-panel h2,
body.front-page .hp-cities-panel h2{
  margin-bottom: 16px !important;
}

body.home .hp-cities-grid,
body.front-page .hp-cities-grid{
  gap: 16px !important;
}

body.home .hp-city-card,
body.front-page .hp-city-card{
  min-height: 132px !important;
}

/* BN/news/ads sotto: niente chilometri di margine o padding. */
body.home .hp-bottom-wrap--home-final,
body.front-page .hp-bottom-wrap--home-final{
  width: min(1760px, calc(100% - 48px)) !important;
  max-width: 1760px !important;
  margin: 18px auto 34px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  clear: both !important;
}

body.home .hp-bottom-wrap--home-final > *,
body.front-page .hp-bottom-wrap--home-final > *{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news,
body.home .hp-bottom-wrap--home-final .hp-ad,
body.front-page .hp-bottom-wrap--home-final .hp-ad,
body.home .hp-bottom-wrap--home-final .hp-ad--wide,
body.front-page .hp-bottom-wrap--home-final .hp-ad--wide{
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news--mode-image,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--mode-image,
body.home .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo,
body.home .hp-bottom-wrap--home-final .hp-ad.hp-ad--photo-panel,
body.front-page .hp-bottom-wrap--home-final .hp-ad.hp-ad--photo-panel{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news__body,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news__body{
  padding: 16px 20px !important;
}

body.home .hp-bottom-wrap--home-final .hp-ad__media,
body.front-page .hp-bottom-wrap--home-final .hp-ad__media{
  padding: 0 !important;
  margin: 0 !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news__visual,
body.home .hp-bottom-wrap--home-final .hp-ad img,
body.front-page .hp-bottom-wrap--home-final .hp-ad img,
body.home .hp-bottom-wrap--home-final .hp-ad__media img,
body.front-page .hp-bottom-wrap--home-final .hp-ad__media img,
body.home .hp-bottom-wrap--home-final .hp-ad-link img,
body.front-page .hp-bottom-wrap--home-final .hp-ad-link img{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 320px !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Il vecchio slot BN1 interno al core resta spento: ora il bottom governa il flusso. */
body.home .hp-home-bn1-slot,
body.front-page .hp-home-bn1-slot{
  display: block !important;
  width: 100% !important;
}

@media (max-width: 1240px){
  body.home .hp-results-shell,
  body.front-page .hp-results-shell{
    margin-top: 28px !important;
  }

  body.home .hp-cities-panel,
  body.front-page .hp-cities-panel{
    padding: 22px 20px !important;
  }
}

@media (max-width: 980px){
  body.home .hp-results-shell,
  body.front-page .hp-results-shell{
    margin-top: 24px !important;
  }

  body.home .hp-home-discovery,
  body.front-page .hp-home-discovery{
    gap: 16px !important;
  }

  body.home .hp-city-card,
  body.front-page .hp-city-card{
    min-height: 118px !important;
  }

  body.home .hp-bottom-wrap--home-final,
  body.front-page .hp-bottom-wrap--home-final{
    width: min(100% - 28px, 1760px) !important;
    margin-top: 16px !important;
    margin-bottom: 28px !important;
  }
}

@media (max-width: 640px){
  body.home .hp-cities-panel,
  body.front-page .hp-cities-panel{
    padding: 18px 14px !important;
  }

  body.home .hp-bottom-wrap--home-final,
  body.front-page .hp-bottom-wrap--home-final{
    width: min(100% - 22px, 1760px) !important;
    gap: 14px !important;
  }

  body.home .hp-bottom-wrap--home-final .hp-bottom-news__visual,
  body.front-page .hp-bottom-wrap--home-final .hp-bottom-news__visual,
  body.home .hp-bottom-wrap--home-final .hp-ad img,
  body.front-page .hp-bottom-wrap--home-final .hp-ad img,
  body.home .hp-bottom-wrap--home-final .hp-ad__media img,
  body.front-page .hp-bottom-wrap--home-final .hp-ad__media img,
  body.home .hp-bottom-wrap--home-final .hp-ad-link img,
  body.front-page .hp-bottom-wrap--home-final .hp-ad-link img{
    max-height: 240px !important;
  }
}


/* ============================================================
   HotelPack — Small banners / home advertising canonical layout
   2026-05-27
   Scope: SOLO banner home pubblica.
   Source of truth:
   - niente flex annidati sui wrapper banner
   - niente patch di centratura successive
   - immagine come blocco pieno: stesso asse, stessa larghezza, nessun crop forzato
   ============================================================ */

body.home .hp-home-small-ads-grid,
body.front-page .hp-home-small-ads-grid,
body.home .hp-home-small-banners,
body.front-page .hp-home-small-banners{
  width: 100% !important;
  max-width: 100% !important;
  margin: 26px auto 34px !important;
  padding: 0 !important;
  display: block !important;
  clear: both !important;
}

body.home .hp-home-small-ads-grid .hp-home-ad-slot,
body.front-page .hp-home-small-ads-grid .hp-home-ad-slot,
body.home .hp-home-small-banners .hp-home-ad-slot,
body.front-page .hp-home-small-banners .hp-home-ad-slot{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 18px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .hp-home-small-ads-grid .hp-home-ad-slot:last-child,
body.front-page .hp-home-small-ads-grid .hp-home-ad-slot:last-child,
body.home .hp-home-small-banners .hp-home-ad-slot:last-child,
body.front-page .hp-home-small-banners .hp-home-ad-slot:last-child{
  margin-bottom: 0 !important;
}

body.home .hp-home-small-ads-grid .hp-ad,
body.front-page .hp-home-small-ads-grid .hp-ad,
body.home .hp-home-small-ads-grid .hp-ad__media,
body.front-page .hp-home-small-ads-grid .hp-ad__media,
body.home .hp-home-small-ads-grid .hp-ad-link,
body.front-page .hp-home-small-ads-grid .hp-ad-link,
body.home .hp-home-small-banners .hp-ad,
body.front-page .hp-home-small-banners .hp-ad,
body.home .hp-home-small-banners .hp-ad__media,
body.front-page .hp-home-small-banners .hp-ad__media,
body.home .hp-home-small-banners .hp-ad-link,
body.front-page .hp-home-small-banners .hp-ad-link{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: initial !important;
}

body.home .hp-home-small-ads-grid img,
body.front-page .hp-home-small-ads-grid img,
body.home .hp-home-small-banners img,
body.front-page .hp-home-small-banners img{
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 22px !important;
  object-position: center center !important;
}

/* Desktop stretto */
@media (max-width: 1366px){
  body.home .hp-home-small-ads-grid,
  body.front-page .hp-home-small-ads-grid,
  body.home .hp-home-small-banners,
  body.front-page .hp-home-small-banners{
    margin-top: 24px !important;
    margin-bottom: 32px !important;
  }
}

/* Tablet */
@media (max-width: 980px){
  body.home .hp-home-small-ads-grid,
  body.front-page .hp-home-small-ads-grid,
  body.home .hp-home-small-banners,
  body.front-page .hp-home-small-banners{
    margin: 22px auto 28px !important;
  }
}

/* Mobile */
@media (max-width: 640px){
  body.home .hp-home-small-ads-grid,
  body.front-page .hp-home-small-ads-grid,
  body.home .hp-home-small-banners,
  body.front-page .hp-home-small-banners{
    margin: 22px auto 28px !important;
  }

  body.home .hp-home-small-ads-grid .hp-home-ad-slot,
  body.front-page .hp-home-small-ads-grid .hp-home-ad-slot,
  body.home .hp-home-small-banners .hp-home-ad-slot,
  body.front-page .hp-home-small-banners .hp-home-ad-slot,
  body.home .hp-home-small-ads-grid .hp-ad,
  body.front-page .hp-home-small-ads-grid .hp-ad,
  body.home .hp-home-small-ads-grid .hp-ad__media,
  body.front-page .hp-home-small-ads-grid .hp-ad__media,
  body.home .hp-home-small-ads-grid .hp-ad-link,
  body.front-page .hp-home-small-ads-grid .hp-ad-link,
  body.home .hp-home-small-banners .hp-ad,
  body.front-page .hp-home-small-banners .hp-ad,
  body.home .hp-home-small-banners .hp-ad__media,
  body.front-page .hp-home-small-banners .hp-ad__media,
  body.home .hp-home-small-banners .hp-ad-link,
  body.front-page .hp-home-small-banners .hp-ad-link{
    border-radius: 16px !important;
  }

  body.home .hp-home-small-ads-grid img,
  body.front-page .hp-home-small-ads-grid img,
  body.home .hp-home-small-banners img,
  body.front-page .hp-home-small-banners img{
    border-radius: 16px !important;
  }
}

/* ============================================================
   HotelPack — Home ad slot centering (Phase 1 SOT)
   Migrated from style.css 2031–2181 (2026-05-30)
   Scope: body.home / body.front-page advertising slots only
   ============================================================ */

body.home .hp-home-ad-slot,
body.front-page .hp-home-ad-slot,
body.home .hp-bottom-wrap--home-final .hp-home-ad-slot,
body.front-page .hp-bottom-wrap--home-final .hp-home-ad-slot,
body.home .hp-home-small-ads-grid .hp-home-ad-slot,
body.front-page .hp-home-small-ads-grid .hp-home-ad-slot,
body.home .hp-home-small-banners .hp-home-ad-slot,
body.front-page .hp-home-small-banners .hp-home-ad-slot{
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

body.home .hp-home-ad-slot .hp-ad,
body.front-page .hp-home-ad-slot .hp-ad,
body.home .hp-home-ad-slot .hp-ad__media,
body.front-page .hp-home-ad-slot .hp-ad__media,
body.home .hp-home-ad-slot .hp-ad-link,
body.front-page .hp-home-ad-slot .hp-ad-link{
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

body.home .hp-home-ad-slot img,
body.front-page .hp-home-ad-slot img,
body.home .hp-bottom-wrap--home-final .hp-home-ad-slot img,
body.front-page .hp-bottom-wrap--home-final .hp-home-ad-slot img{
  display: block !important;
  margin: 0 auto !important;
  object-position: center center !important;
}

/* ============================================================
   HotelPack — Small/Bn banner horizontal centering fix
   2026-05-27
   Scope: home advertising images only.
   Obiettivo:
   - centrare orizzontalmente il PNG reale dentro qualunque wrapper
   - impedire all'immagine/banner di restare agganciata a sinistra
   - mantenere proporzione reale senza crop
   ============================================================ */

body.home .hp-home-small-ads-grid .hp-home-ad-slot,
body.front-page .hp-home-small-ads-grid .hp-home-ad-slot,
body.home .hp-home-small-banners .hp-home-ad-slot,
body.front-page .hp-home-small-banners .hp-home-ad-slot,
body.home .hp-bottom-wrap--home-final .hp-home-ad-slot,
body.front-page .hp-bottom-wrap--home-final .hp-home-ad-slot{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body.home .hp-home-small-ads-grid .hp-ad,
body.front-page .hp-home-small-ads-grid .hp-ad,
body.home .hp-home-small-banners .hp-ad,
body.front-page .hp-home-small-banners .hp-ad,
body.home .hp-bottom-wrap--home-final .hp-ad,
body.front-page .hp-bottom-wrap--home-final .hp-ad{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home .hp-home-small-ads-grid .hp-ad__media,
body.front-page .hp-home-small-ads-grid .hp-ad__media,
body.home .hp-home-small-banners .hp-ad__media,
body.front-page .hp-home-small-banners .hp-ad__media,
body.home .hp-bottom-wrap--home-final .hp-ad__media,
body.front-page .hp-bottom-wrap--home-final .hp-ad__media,
body.home .hp-home-small-ads-grid .hp-ad-link,
body.front-page .hp-home-small-ads-grid .hp-ad-link,
body.home .hp-home-small-banners .hp-ad-link,
body.front-page .hp-home-small-banners .hp-ad-link,
body.home .hp-bottom-wrap--home-final .hp-ad-link,
body.front-page .hp-bottom-wrap--home-final .hp-ad-link{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body.home .hp-home-small-ads-grid img,
body.front-page .hp-home-small-ads-grid img,
body.home .hp-home-small-banners img,
body.front-page .hp-home-small-banners img,
body.home .hp-bottom-wrap--home-final .hp-home-ad-slot img,
body.front-page .hp-bottom-wrap--home-final .hp-home-ad-slot img{
  display: block !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-position: center center !important;
  transform-origin: center center !important;
}

/* Banner corti 600x180:
   mantiene larghezza piena reale e centratura corretta */
body.home .hp-home-small-ads-grid .hp-ad__media img,
body.front-page .hp-home-small-ads-grid .hp-ad__media img,
body.home .hp-home-small-banners .hp-ad__media img,
body.front-page .hp-home-small-banners .hp-ad__media img,
body.home .hp-home-small-ads-grid .hp-ad-link img,
body.front-page .hp-home-small-ads-grid .hp-ad-link img,
body.home .hp-home-small-banners .hp-ad-link img,
body.front-page .hp-home-small-banners .hp-ad-link img{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================
   HotelPack — Migrated inline CSS from PHP templates
   2026-05-27
   Source of truth move:
   - front-page.php static home styles
   - latest-news.php results/ads/lightbox styles
   Dynamic PHP-generated logo CSS remains inline in front-page.php.
   ============================================================ */


/* --- migrated from front-page.php static style block 0 --- */
.hp-scroll-anchor{
    display:block;
    height:1px;
    width:100%;
    overflow:hidden;
    scroll-margin-top:150px;
}

#hp-searchbar,
#hp-theme-strip,
#hp-vip-premium,
#footer{
    scroll-margin-top:150px;
}

@media (max-width: 768px){
    .hp-scroll-anchor,
    #hp-searchbar,
    #hp-theme-strip,
    #hp-vip-premium,
    #footer{
        scroll-margin-top:96px;
    }
}


/* --- migrated from front-page.php static style block 2 --- */
.hp-home-labels-wrap{
  width: min(1180px, calc(100% - 32px));
  margin: 58px auto 24px;
}
.hp-home-heading{
  text-align:center;
  margin-bottom: 26px;
}
.hp-home-heading__line{
  display:block;
  margin:0;
  line-height:1.08;
  font-family: var(--wp--preset--font-family--josefin-sans, inherit);
}
.hp-home-heading__line--black{
  color:#111111;
  font-size:20px;
  font-weight:600;
  letter-spacing:0.35px;
  margin-bottom:10px;
}
.hp-home-heading__line--orange{
  color:#ed8b0b;
  font-size:36px;
  font-weight:800;
  letter-spacing:0.5px;
}
.hp-home-heading__line--small{
  font-size:18px;
}
.hp-home-heading__sub{
  margin-top:6px;
  color:#111111;
  font-family: var(--wp--preset--font-family--raleway, inherit);
  font-size:16px;
  font-weight:400;
}
.hp-home-labels-shell{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 5fr);
  gap:18px;
  align-items:stretch;
}
.hp-home-label-card,
.hp-home-label-static{
  min-height: 160px;
  border-radius: 28px;
  position: relative;
  overflow:hidden;
  padding:18px 16px 14px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 170, 60, 0.14),
      rgba(255, 170, 60, 0.05)
    );
  border: 1px solid rgba(255, 170, 60, 0.35);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -10px 24px rgba(255, 170, 60, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hp-home-label-card::before,
.hp-home-label-static::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 210, 140, 0.45),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.16),
      rgba(255,170,60,0.04) 55%,
      rgba(255,170,60,0.00)
    );
}
.hp-home-label-card::after,
.hp-home-label-static::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:27px;
  pointer-events:none;
  border-top:1px solid rgba(255,255,255,0.35);
  opacity:.8;
}
.hp-home-label-static{
  display:flex;
  text-decoration:none;
  color:inherit;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  padding-top:18px;
}
.hp-home-label-scroller{
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(237,139,11,0.55) rgba(255,170,60,0.08);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}
.hp-home-label-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: calc((100% - 72px) / 5);
  gap:18px;
  min-width:100%;
  width:max-content;
}
.hp-home-label-icon{
  width:78px;
  height:78px;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hp-home-label-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.12));
}
.hp-home-label-title{
  text-align:center;
  color:#111111;
  font-family: var(--wp--preset--font-family--raleway, inherit);
  font-size:14px;
  font-weight:700;
  line-height:1.2;
}
.hp-home-label-card,
.hp-home-label-static{
  scroll-snap-align:start;
}
.hp-home-label-static .hp-home-label-title{
  font-size:15px;
}
.hp-home-label-static .hp-home-label-icon{
  margin-top:0;
  margin-bottom:14px;
}
.hp-home-label-static .hp-home-label-icon img{
  transform: translateY(-12px);
}
.hp-home-label-card:hover,
.hp-home-label-static:hover{
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,140,0,0.60);
  box-shadow:
    0 26px 50px rgba(0,0,0,0.14),
    0 0 22px rgba(255,140,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -12px 30px rgba(255,170,60,0.18);
}
.hp-home-label-card:hover .hp-home-label-icon img,
.hp-home-label-static:hover .hp-home-label-icon img{
  filter:
    drop-shadow(0 12px 22px rgba(255,140,0,0.18))
    drop-shadow(0 8px 18px rgba(0,0,0,0.14));
}
.hp-home-label-track::-webkit-scrollbar,
.hp-home-label-scroller::-webkit-scrollbar{
  height:8px;
}
.hp-home-label-track::-webkit-scrollbar-track,
.hp-home-label-scroller::-webkit-scrollbar-track{
  background: rgba(255,170,60,0.08);
  border-radius:999px;
}
.hp-home-label-track::-webkit-scrollbar-thumb,
.hp-home-label-scroller::-webkit-scrollbar-thumb{
  background: rgba(237,139,11,0.55);
  border-radius:999px;
}
@media (max-width: 1100px){
  .hp-home-labels-shell{
    grid-template-columns: 1fr;
  }
  .hp-home-label-track{
    grid-auto-columns: calc((100% - 54px) / 4);
  }
}
@media (max-width: 780px){
  .hp-home-heading__line--black{
    font-size:18px;
    margin-bottom:8px;
  }
  .hp-home-heading__line--orange{
    font-size:28px;
  }
  .hp-home-label-track{
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

.slider-text .has-raleway-font-family.has-black-color{
  font-size:21px;
  font-weight:700;
  line-height:1.55;
}
@media (max-width: 1024px){
  .slider-text .has-raleway-font-family.has-black-color{
    font-size:17px;
    line-height:1.5;
  }
}
@media (max-width: 782px){
  .slider-text .has-raleway-font-family.has-black-color{
    font-size:16px;
    line-height:1.45;
  }
}
@media (max-width: 520px){
  .slider-text .has-raleway-font-family.has-black-color{
    font-size:15px;
    line-height:1.4;
  }
}
@media (max-width: 520px){
  .hp-home-labels-wrap{
    margin-top: 42px;
  }
  .hp-home-label-card,
  .hp-home-label-static{
    min-height:140px;
    border-radius:22px;
    padding:16px 12px 12px;
  }
  .hp-home-label-track{
    grid-auto-columns: calc((100% - 18px) / 2);
  }
  .hp-home-label-icon{
    width:64px;
    height:64px;
    margin-bottom:10px;
  }
}

/* HP mobile fixes: social icons + custom labels bar */
@media (max-width: 1024px){
  .slider-social-icons,
  .hero-social-icons,
  .social-icons,
  .wp-block-social-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
  }

  .slider-social-icons li,
  .hero-social-icons li,
  .social-icons li,
  .wp-block-social-link{
    margin:0 !important;
  }
}

@media (max-width: 782px){
  .slider-social-icons,
  .hero-social-icons,
  .social-icons,
  .wp-block-social-links{
    gap:8px;
  }

  .slider-social-icons .wp-social-link,
  .hero-social-icons .wp-social-link,
  .social-icons .wp-social-link,
  .wp-block-social-links .wp-social-link{
    transform:scale(.92);
    transform-origin:center;
  }

  .hp-home-labels-wrap{
    position:relative !important;
    top:auto !important;
    bottom:auto !important;
    margin-top:18px !important;
    margin-bottom:10px !important;
    z-index:5;
  }

  .hp-home-labels{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:10px 12px !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
  }

  .hp-home-labels::-webkit-scrollbar{
    display:none;
  }

  .hp-home-label,
  .hp-home-labels .hp-home-label,
  .hp-home-labels button,
  .hp-home-labels a{
    white-space:nowrap;
    flex:0 0 auto;
  }
}

@media (max-width: 520px){
  .slider-social-icons,
  .hero-social-icons,
  .social-icons,
  .wp-block-social-links{
    gap:6px;
  }

  .slider-social-icons .wp-social-link,
  .hero-social-icons .wp-social-link,
  .social-icons .wp-social-link,
  .wp-block-social-links .wp-social-link{
    transform:scale(.84);
  }

  .hp-home-labels-wrap{
    margin-top:14px !important;
  }

  .hp-home-labels{
    padding:8px 10px !important;
  }
}


/* HotelPack recovery: VIP section stable and aligned */
.tour-heading-box{ margin-bottom:26px!important; }


/* --- migrated from latest-news.php static style block 0 --- */
.hp-results-shell{max-width:1560px;margin:34px auto 64px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;padding:0 22px}
.hp-results-shell--no-sidebar{grid-template-columns:minmax(0,1fr)}
.hp-results-sidebar{display:flex;flex-direction:column;gap:22px}
.hp-results-main{min-width:0}
.hp-ad-link,.hp-bottom-news-link{display:block;text-decoration:none;color:inherit}
.hp-bottom-news-link{display:block;cursor:pointer}
body.home .hp-bottom-wrap--home-final a.hp-bottom-news-link,
body.front-page .hp-bottom-wrap--home-final a.hp-bottom-news-link{cursor:pointer}
body.home .hp-bottom-wrap--home-final a.hp-bottom-news-link:hover,
body.front-page .hp-bottom-wrap--home-final a.hp-bottom-news-link:hover{opacity:.96}
.hp-ad.hp-ad--text-panel{background:#fff;border:1px solid #e5e5e5;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.hp-ad.hp-ad--photo-panel{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.hp-ad.hp-ad--photo-panel .hp-ad__media,.hp-ad.hp-ad--photo-panel .hp-ad__media img,.hp-ad-slideshow__slide .hp-ad__media,.hp-ad-slideshow__slide .hp-ad__media img{background:transparent!important}
.hp-ad__media img{display:block;width:100%;height:auto}
.hp-ad__caption{padding:12px 14px;display:flex;flex-direction:column;gap:4px;color:#222}
.hp-ad__caption strong{font-size:16px;line-height:1.2}
.hp-ad__caption span{font-size:13px;line-height:1.35;color:#666}
.hp-ad--wide{width:100%}
.hp-ad--wide .hp-ad__media img{width:100%;max-height:340px;object-fit:cover}
.hp-pre-result-panel{position:relative;overflow:hidden;min-height:520px;margin-top:24px;border-radius:22px;background:#111;background-image:var(--hp-pre-bg);background-size:cover;background-position:center;box-shadow:0 18px 46px rgba(0,0,0,.10);display:flex;align-items:center}
.hp-pre-result-panel__bg{position:absolute;inset:-18px;background-image:var(--hp-pre-bg);background-size:cover;background-position:center;filter:blur(7px) saturate(1.12);transform:scale(1.04);animation:hpPreResultDrift 22s ease-in-out infinite alternate}
.hp-pre-result-panel:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg, rgba(0,0,0,.46), rgba(0,0,0,.12));z-index:1}
.hp-pre-result-panel__content{position:relative;z-index:2;max-width:760px;padding:44px;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.hp-pre-result-panel__eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:13px;font-weight:900;color:#ffb15c;margin-bottom:10px}
.hp-pre-result-panel__content h2{margin:0;font-size:34px;line-height:1.12;font-weight:900;color:#fff}
.hp-pre-result-panel__content p{margin:16px 0 0;font-size:18px;line-height:1.5;font-weight:700;color:#fff}
@keyframes hpPreResultDrift{from{transform:scale(1.04) translate3d(-1%,0,0)}to{transform:scale(1.10) translate3d(1.5%,-1%,0)}}
@media (prefers-reduced-motion: reduce){.hp-pre-result-panel__bg{animation:none}}
.hp-bottom-wrap{max-width:1560px;margin:0 auto 72px;padding:0 22px;display:flex;flex-direction:column;gap:28px}
.hp-bottom-news{background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}
.hp-bottom-news--mode-text{background:transparent}
.hp-bottom-news--visual{display:block}
.hp-bottom-news__visual{display:block;width:100%;height:auto;object-fit:cover;background:transparent}
.hp-bottom-news--mode-image .hp-bottom-news__visual,.hp-bottom-news--mode-text_photo .hp-bottom-news__visual{background:transparent}
.hp-bottom-news--mode-text_photo .hp-bottom-news__media{width:100%;max-width:100%;display:flex;align-items:center;justify-content:center;background:transparent}
.hp-bottom-news--mode-text_photo.hp-bottom-news--compact .hp-bottom-news__media{aspect-ratio:1760 / 273}
.hp-bottom-news--mode-text_photo.hp-bottom-news--large .hp-bottom-news__media{aspect-ratio:3 / 1}
.hp-bottom-news--mode-text_photo .hp-bottom-news__media .hp-bottom-news__visual{width:100%;max-width:100%;height:auto;object-fit:contain;object-position:center center}
.hp-bottom-news--mode-text_photo.hp-bottom-news--compact .hp-bottom-news__body{padding:14px 20px}
.hp-bottom-news--mode-text_photo.hp-bottom-news--large .hp-bottom-news__body{padding:24px 28px}
.hp-bottom-news__body{padding:24px 28px}
.hp-bottom-news__body h2{margin:0 0 10px;font-size:30px;line-height:1.1;color:#111;font-weight:850}
.hp-bottom-news__body p{margin:0;font-size:17px;line-height:1.55;color:#555}
.hp-cities-panel{background:#fffaf5;border:1px solid rgba(255,122,0,.18);border-radius:22px;padding:28px;box-shadow:0 14px 34px rgba(0,0,0,.05);text-align:center}
.hp-cities-panel__eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#dd8a00;margin-bottom:7px}
.hp-cities-panel h2{margin:0 0 22px;font-size:30px;line-height:1.12;color:#151515;font-weight:850}
.hp-cities-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
.hp-city-card{min-height:122px;border-radius:14px;background-size:cover;background-position:center;display:flex;align-items:flex-end;justify-content:center;padding:14px;text-decoration:none;overflow:hidden;box-shadow:0 10px 22px rgba(0,0,0,.12);transition:transform .18s ease, box-shadow .18s ease}
.hp-city-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.18)}
.hp-city-card span{color:#fff;font-size:18px;line-height:1;font-weight:850;text-shadow:0 2px 8px rgba(0,0,0,.45)}
.hp-cities-panel__cta-wrap{margin-top:20px}
.hp-cities-panel__cta{display:inline-flex;align-items:center;justify-content:center;background:#d99a22;color:#fff;border-radius:10px;padding:12px 18px;text-decoration:none;font-weight:850;box-shadow:0 8px 18px rgba(217,154,34,.25)}
.hp-cities-panel__note{margin-top:9px;font-size:13px;color:#6b5b47}
.hp-results-intro{margin-bottom:24px}
.hp-results-intro h1{font-size:21px;line-height:1.22;margin:0;color:#111;font-weight:800}
.hp-results-section{margin-bottom:34px}
.hp-results-section__header{margin-bottom:16px}
.hp-results-section__header h2{margin:0;font-size:22px;line-height:1.22;color:#111;font-weight:800}
.hp-result-card__distance{margin:0;font-size:12px;font-weight:700;color:#ed8b0b;line-height:1.3}
.hp-result-card__meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0 0 8px;line-height:1.35}
.hp-result-card__meta .hp-result-card__location{display:inline;font-size:inherit;margin:0}
.hp-results-empty{border:1px dashed #d7d7d7;border-radius:16px;padding:20px 22px;background:#fff;color:#666;font-size:16px}
.hp-result-card{display:grid;grid-template-columns:300px minmax(0,1fr) 260px;gap:20px;border:1px solid #ddd;border-radius:18px;background:#fff;padding:16px;margin-bottom:16px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.hp-result-card__media img,.hp-result-card__media--empty{width:100%;aspect-ratio:4 / 3;height:auto;min-height:0;object-fit:cover;border-radius:14px;background:#f3f3f3}
.hp-result-card__hotel{font-size:36px;line-height:1.08;font-weight:800;color:#1560d8;margin-bottom:8px}
.hp-result-card__title{margin:0 0 10px;font-size:27px;line-height:1.15;font-weight:700;color:#1f1f1f}
.hp-result-card__location{font-size:17px;margin-bottom:14px}
.hp-result-card__location a{color:#1560d8;text-decoration:none;font-weight:600}
.hp-dot{display:inline-block;margin:0 9px;color:#999}
.hp-result-card__hotelinfo{margin:0 0 14px}
.hp-result-card__hotelinfo summary{cursor:pointer;font-size:15px;color:#1560d8;font-weight:700;list-style:none}
.hp-result-card__hotelinfo summary::-webkit-details-marker{display:none}
.hp-result-card__hotelinfo-box{display:flex;gap:14px;align-items:flex-start;margin-top:12px;padding:14px;border-radius:12px;background:#fafafa}
.hp-result-card__hotelinfo-box img{width:78px;height:78px;border-radius:12px;object-fit:cover;flex-shrink:0}
.hp-result-card__hotelinfo-box p{margin:0;font-size:15px;line-height:1.5;color:#555}
.hp-result-card__info{margin:0}
.hp-result-card__desc-preview{font-size:15px;line-height:1.45;color:#444;height:calc(1.45em * 3);margin:0 0 6px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.hp-result-card__info-links{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}
.hp-result-card__info-link{display:inline;padding:0;border:0;background:transparent;font-size:15px;line-height:1.3;color:#1560d8;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.hp-result-card__info-link:hover{color:#0d4fb8}
.hp-result-card__aside{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;text-align:right;gap:8px;min-height:0}
.hp-result-card__aside-top{width:100%;display:flex;justify-content:flex-end}
.hp-result-card__commercial{display:grid;gap:3px;font-size:12px;color:#4b5563;justify-items:end;text-align:right;width:max-content;max-width:100%;margin-left:auto}
.hp-result-card__commercial-price{font-size:28px;line-height:1.08;font-weight:800;color:#111}
.hp-result-card__commercial-rate{font-size:13px;font-weight:700;color:#374151;line-height:1.3}
.hp-result-card__commercial-row{display:flex;flex-wrap:nowrap;align-items:baseline;justify-content:flex-end;gap:6px;font-size:12px;line-height:1.35;width:max-content;max-width:100%;margin-left:auto}
.hp-result-card__commercial-row span{font-weight:800;opacity:.72;white-space:nowrap;flex:0 0 auto}
.hp-result-card__commercial-row strong{font-weight:700;color:#111;white-space:nowrap}
.hp-result-card__body{display:flex;flex-direction:column;min-height:0}
.hp-result-card__info{margin-top:auto;padding-top:10px}
.hp-result-card__cta-wrap{width:100%;margin-top:auto;display:flex;justify-content:flex-end}
.hp-result-card__cta{display:inline-flex;align-items:center;justify-content:center;min-width:160px;max-width:100%;padding:12px 16px;border-radius:12px;background:#006ce4;color:#fff;text-decoration:none;font-weight:800;font-size:16px;box-sizing:border-box;align-self:flex-end}
.hp-result-card__cta--disabled{background:#bbb}
@media (max-width: 1240px){
  .hp-results-shell{grid-template-columns:1fr}
  .hp-results-sidebar{order:2}
}
@media (max-width: 980px){
  .hp-results-intro h1,.hp-results-section__header h2{font-size:20px}
  .hp-result-card{grid-template-columns:1fr}
  .hp-result-card__aside{align-items:flex-end;text-align:right}
  .hp-result-card__commercial-price{font-size:26px}
  .hp-result-card__hotel{font-size:30px}
  .hp-result-card__title{font-size:23px}
  .hp-cities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-cities-panel h2{font-size:26px}
  .hp-pre-result-panel{min-height:360px}
  .hp-pre-result-panel__content{padding:30px}
  .hp-pre-result-panel__content h2{font-size:27px}
}
@media (max-width: 640px){
  .hp-results-shell{padding:0 16px;margin-top:24px}
  .hp-cities-panel{padding:22px 16px}
  .hp-cities-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,72vw);grid-template-columns:none;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:8px;scroll-snap-type:x mandatory}
  .hp-city-card{scroll-snap-align:start;min-height:132px}
  .hp-pre-result-panel__content{padding:24px}
  .hp-pre-result-panel__content h2{font-size:24px}
  .hp-pre-result-panel__content p{font-size:16px}
}

/* HotelPack home discovery layout 2026-04-29 */
.hp-results-shell{align-items:start;}
.hp-results-main{display:flex;flex-direction:column;gap:28px;}
.hp-home-discovery{display:flex;flex-direction:column;gap:28px;width:100%;}
.hp-home-discovery__header{text-align:center;margin:0 0 -4px;}
.hp-home-discovery__header h2{margin:0;font-size:30px;line-height:1.12;color:#151515;font-weight:850;}
.hp-home-discovery__header p{margin:8px auto 0;max-width:760px;font-size:15px;color:#6b5b47;}
.hp-cities-panel,.hp-labels-panel,.hp-pre-result-panel{width:100%;}
.hp-cities-panel{padding:32px 30px;}
.hp-cities-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;}
.hp-city-card{min-height:142px;}
.hp-labels-panel{background:#fffaf5;border:1px solid rgba(255,122,0,.18);border-radius:22px;padding:28px 30px;box-shadow:0 14px 34px rgba(0,0,0,.05);text-align:center;}
.hp-labels-panel__eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#dd8a00;margin-bottom:7px;}
.hp-labels-panel h2{margin:0 0 20px;font-size:28px;line-height:1.12;color:#151515;font-weight:850;}
.hp-labels-panel__sub,.hp-cities-panel__sub{margin:-8px 0 18px;font-size:14px;color:#6b5b47;}
.hp-labels-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.hp-label-card{min-height:112px;border-radius:14px;background:linear-gradient(180deg,rgba(255,170,60,.10),rgba(255,170,60,.035));border:1px solid rgba(255,170,60,.34);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:#111;box-shadow:0 8px 20px rgba(0,0,0,.04);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.hp-label-card:hover{transform:translateY(-3px);border-color:rgba(255,122,0,.55);box-shadow:0 14px 28px rgba(0,0,0,.09);}
.hp-label-card__icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;}
.hp-label-card__icon img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.hp-label-card__title{font-size:13px;font-weight:850;line-height:1.15;color:#111;}
.hp-label-card--static .hp-label-card__title{color:#ed8b0b;}
.hp-pre-result-panel{min-height:300px;margin-top:0;background-size:cover;background-position:center;}
.hp-pre-result-panel__content{padding:34px 42px;}
.hp-pre-result-panel__content h2{font-size:28px;}
.hp-bottom-wrap{width:min(1560px,calc(100% - 44px));}
.hp-bottom-news__visual{width:100%;max-width:none;}
@media(max-width:1240px){.hp-labels-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.hp-city-card{min-height:132px}.hp-pre-result-panel{min-height:280px}}
@media(max-width:980px){.hp-labels-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hp-cities-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hp-results-sidebar{order:0}.hp-results-main{order:1}}
@media(max-width:640px){.hp-labels-panel{padding:22px 16px}.hp-labels-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hp-label-card{min-height:104px}.hp-city-card{min-height:132px}.hp-pre-result-panel{min-height:250px}}

/* HotelPack layout refinement: discovery spacing + BN1 in right column */
.hp-results-shell{margin-top:54px;}
.hp-results-main{gap:34px;}
.hp-home-discovery{gap:34px;}
.hp-cities-panel{padding:38px 34px 34px;}
.hp-cities-grid{gap:20px;}
.hp-city-card{min-height:154px;}
.hp-labels-panel{padding:34px 34px;}
.hp-labels-grid{gap:18px;}
.hp-home-bn1-slot{width:100%;}
.hp-home-bn1-slot .hp-bottom-news{width:100%;border-radius:0;overflow:visible;background:transparent;}
.hp-home-bn1-slot .hp-bottom-news--mode-text .hp-bottom-news__body{border-radius:22px;overflow:hidden;}
.hp-home-bn1-slot .hp-bottom-news__visual{display:block;width:100%;height:330px;object-fit:cover;object-position:center;background:transparent;}
.hp-results-shell--no-sidebar .hp-home-bn1-slot .hp-bottom-news__visual{height:360px;}
@media(max-width:1240px){.hp-results-shell{margin-top:42px}.hp-home-bn1-slot .hp-bottom-news__visual{height:300px}}
@media(max-width:980px){.hp-home-bn1-slot .hp-bottom-news__visual{height:auto;max-height:none;object-fit:contain}}

/* HotelPack final discovery block alignment — 2026-04-29 */
.hp-results-shell{
  align-items:stretch!important;
  margin-top:62px!important;
}
.hp-results-main{
  min-width:0!important;
  height:100%!important;
}
.hp-home-discovery{
  height:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:32px!important;
}
.hp-home-discovery__header{
  margin:0 0 4px!important;
}
.hp-cities-panel,
.hp-labels-panel,
.hp-home-bn1-slot{
  flex:0 0 auto!important;
}

.hp-home-bn1-slot{
  display:block!important;
  width:100%!important;
  margin:0!important;
}

/* SPONSOR STACK — disabled 2-col grid + fixed height + cover (discovery BN1)
.hp-home-small-ads-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
}

.hp-home-small-ads-grid .hp-home-ad-slot{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

.hp-home-small-ads-grid .hp-ad,
.hp-home-small-ads-grid .hp-ad-link{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,23,42,.08)!important;
}

.hp-home-small-ads-grid .hp-ad__media{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

.hp-home-small-ads-grid .hp-ad__media img{
  display:block!important;
  width:100%!important;
  height:180px!important;
  max-height:180px!important;
  object-fit:cover!important;
  object-position:center!important;
}
*/
.hp-cities-panel{
  padding:34px 34px 32px!important;
}
.hp-cities-grid{
  gap:20px!important;
}
.hp-city-card{
  min-height:150px!important;
}
.hp-labels-panel{
  padding:32px 34px!important;
}
.hp-labels-grid{
  gap:18px!important;
}
.hp-home-bn1-slot .hp-bottom-news{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.hp-home-bn1-slot .hp-bottom-news__visual{
  width:100%!important;
  max-width:none!important;
  height:320px!important;
  object-fit:cover!important;
  object-position:center!important;
}
.hp-results-shell--no-sidebar .hp-home-discovery{
  justify-content:flex-start!important;
}
.hp-results-shell--no-sidebar .hp-home-bn1-slot .hp-bottom-news__visual{
  height:360px!important;
}
@media(max-width:1240px){
  .hp-results-shell{align-items:start!important;margin-top:46px!important;}
  .hp-home-discovery{height:auto!important;min-height:0!important;justify-content:flex-start!important;}
  .hp-home-bn1-slot .hp-bottom-news__visual{height:300px!important;}
}
@media(max-width:980px){
  .hp-home-bn1-slot .hp-bottom-news__visual{height:auto!important;max-height:none!important;object-fit:contain!important;}
  .hp-home-small-ads-grid{grid-template-columns:1fr!important;}
  .hp-home-small-ads-grid .hp-ad__media img{height:auto!important;max-height:none!important;object-fit:contain!important;}
}

/* SPONSOR STACK — disabled visual refinement (max 980px + center)
.hp-home-small-ads-grid,
.hp-home-small-banners{
  width: min(980px, 100%) !important;
  max-width: 980px !important;
  margin: 22px auto 30px !important;
  padding: 8px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  clear: both !important;
}

.hp-home-small-ads-grid .hp-home-ad-slot,
.hp-home-small-banners .hp-home-ad-slot{
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff7ed !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08) !important;
}

.hp-home-small-ads-grid .hp-ad,
.hp-home-small-ads-grid .hp-ad__media,
.hp-home-small-ads-grid .hp-ad-link,
.hp-home-small-banners .hp-ad,
.hp-home-small-banners .hp-ad__media,
.hp-home-small-banners .hp-ad-link{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
}

.hp-home-small-ads-grid img,
.hp-home-small-banners img{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 980px){
  .hp-home-small-ads-grid,
  .hp-home-small-banners{
    width: 100% !important;
    padding: 6px 10px !important;
    gap: 20px !important;
    margin: 18px auto 24px !important;
  }

  .hp-home-small-ads-grid img,
  .hp-home-small-banners img{
    max-height: 190px !important;
  }
}

@media (max-width: 640px){
  .hp-home-small-ads-grid,
  .hp-home-small-banners{
    padding: 0 !important;
    gap: 16px !important;
  }

  .hp-home-small-ads-grid img,
  .hp-home-small-banners img{
    max-height: none !important;
  }
}
*/


/* --- migrated from latest-news.php static style block 1 --- */
.hp-lightbox-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:99999;
}
.hp-lightbox-overlay img{
  max-width:95vw;
  max-height:95vh;
  width:auto;
  height:auto;
  display:block;
  border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}


/* ============================================================
   HotelPack — HOME ADV legacy layout neutralizer
   2026-05-27
   Scope:
   - neutralizza il vecchio grid/flex che blocca il respiro dei banner ADV
   - non tocca immagini, PHP, query, hero, VIP, città o news HotelPack
   ============================================================ */

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners{
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-auto-flow: row !important;

  flex: initial !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;

  width: 100% !important;
  max-width: 100% !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  gap: 28px !important;

  align-items: stretch !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot{
  display: block !important;
  flex: initial !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot:empty,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot:empty{
  display: none !important;
}

/* blocco bottom: stesso respiro verticale, senza cambiare larghezze esistenti */
body.home .hp-bottom-wrap--home-final,
body.front-page .hp-bottom-wrap--home-final{
  margin-top: 44px !important;
  margin-bottom: 62px !important;
  gap: 30px !important;
}

@media (max-width: 980px){
  body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners,
  body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners{
    gap: 24px !important;
  }

  body.home .hp-bottom-wrap--home-final,
  body.front-page .hp-bottom-wrap--home-final{
    margin-top: 34px !important;
    margin-bottom: 46px !important;
    gap: 22px !important;
  }
}

/* ============================================================
   HotelPack — Homepage horizontal sponsor stack (3:1)
   2026-05-30
   Scope: body.home / body.front-page — discovery BN1 only
   Two banners: same width, same left/right edge, vertical stack
   ============================================================ */

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;

  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
  gap: 28px !important;

  grid-template-columns: none !important;
  grid-auto-flow: row !important;
  flex: initial !important;
  box-sizing: border-box !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot,
body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot--small-1,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot--small-1,
body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot--small-2,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot--small-2{
  display: block !important;
  align-self: stretch !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  box-sizing: border-box !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad,
body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media,
body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad-link,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad-link{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media img,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media img,
body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners img,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners img{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 3 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot:empty,
body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners > .hp-home-ad-slot:empty{
  display: none !important;
}

@media (max-width: 980px){
  body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners,
  body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners{
    margin: 0 !important;
    gap: 24px !important;
  }

  body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media img,
  body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners .hp-ad__media img,
  body.home .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners img,
  body.front-page .hp-home-discovery > .hp-home-bn1-slot.hp-home-small-ads-grid.hp-home-small-banners img{
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 3 / 1 !important;
    object-fit: contain !important;
  }
}

/* ============================================================
   HotelPack — BN1 bottom news visual (1800×600, 3:1, no crop)
   2026-05-30
   Scope: .hp-bottom-news__visual in .hp-bottom-wrap--home-final only
   Does not affect discovery horizontal sponsors or wide ad slots
   ============================================================ */

body.home .hp-bottom-wrap--home-final,
body.front-page .hp-bottom-wrap--home-final{
  margin-top: 10px !important;
  margin-bottom: 24px !important;
  gap: 24px !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual,
body.home .hp-bottom-wrap--home-final .hp-bottom-news--1,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--1,
body.home .hp-bottom-wrap--home-final .hp-bottom-news--2,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--2{
  overflow: visible !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
body.home .hp-bottom-wrap--home-final .hp-bottom-news--1:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--1:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
body.home .hp-bottom-wrap--home-final .hp-bottom-news--2:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--2:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo.hp-bottom-news--large .hp-bottom-news__media,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo.hp-bottom-news--large .hp-bottom-news__media{
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 3 / 1 !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo.hp-bottom-news--compact .hp-bottom-news__media,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo.hp-bottom-news--compact .hp-bottom-news__media{
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1760 / 273 !important;
}

body.home .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo .hp-bottom-news__media .hp-bottom-news__visual,
body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--mode-text_photo .hp-bottom-news__media .hp-bottom-news__visual{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 640px){
  body.home .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
  body.front-page .hp-bottom-wrap--home-final .hp-bottom-news.hp-bottom-news--visual:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
  body.home .hp-bottom-wrap--home-final .hp-bottom-news--1:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
  body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--1:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
  body.home .hp-bottom-wrap--home-final .hp-bottom-news--2:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual,
  body.front-page .hp-bottom-wrap--home-final .hp-bottom-news--2:not(.hp-bottom-news--mode-text_photo) .hp-bottom-news__visual{
    max-height: none !important;
    aspect-ratio: 3 / 1 !important;
    object-fit: contain !important;
  }
}

/* ============================================================
   Results Page Layout Refresh — visual only (2026-05-30)
   Scope: /risultati/ shell, compact cards, bottom spacing
   ============================================================ */

/* /risultati/ layout — scoped to standalone results body only */
body.hp-results-standalone-body .hp-results-shell--risultati-layout{
  --hp-results-v-col:280px;
  --hp-results-ad-gap:20px;
  display:flex;
  flex-direction:column;
  gap:36px;
}
body.hp-results-standalone-body .hp-results-ad-composition{
  display:flex;
  flex-direction:column;
  gap:44px;
}
body.hp-results-standalone-body .hp-results-ad-pair{
  display:grid;
  grid-template-columns:var(--hp-results-v-col) minmax(0,1fr);
  column-gap:var(--hp-results-ad-gap);
  align-items:start;
}
body.hp-results-standalone-body .hp-results-ad-pair__v{align-self:start;min-width:0}
body.hp-results-standalone-body .hp-results-ad-pair__h{
  align-self:center;
  min-width:0;
  width:100%;
  max-width:100%;
  display:block;
}
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-home-small-ads-grid,
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-home-small-banners{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  grid-template-columns:none !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-home-ad-slot,
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-ad,
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-ad__media,
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-ad-link,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack .hp-home-ad-slot,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack .hp-ad,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack .hp-ad__media,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack .hp-ad-link{
  width:100% !important;
  max-width:100% !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
}
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h .hp-ad__media img,
body.hp-results-standalone-body .hp-results-shell--risultati-layout .hp-results-ad-pair__h img,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack .hp-ad__media img,
body.hp-results-standalone-body .hp-home-ad-rectangle__stack img{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
}
body.hp-results-standalone-body .hp-home-ad-rectangle{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
body.hp-results-standalone-body .hp-home-ad-rectangle__grid--lr{
  grid-template-columns:var(--hp-results-v-col, 280px) minmax(0, 1fr);
  column-gap:var(--hp-results-ad-gap, 20px);
}
body.hp-results-standalone-body .hp-home-ad-rectangle__col--horizontal,
body.hp-results-standalone-body .hp-results-ad-pair__h{
  overflow:visible;
  min-width:0;
  max-width:none;
}
body.hp-results-standalone-body .hp-results-main--below-composition{
  margin-left:calc(var(--hp-results-v-col) + var(--hp-results-ad-gap));
  width:calc(100% - var(--hp-results-v-col) - var(--hp-results-ad-gap));
  max-width:calc(100% - var(--hp-results-v-col) - var(--hp-results-ad-gap));
  box-sizing:border-box;
}
@media (max-width: 1240px){
  body.hp-results-standalone-body .hp-results-ad-pair{
    grid-template-columns:1fr;
    row-gap:22px;
  }
  body.hp-results-standalone-body .hp-results-ad-pair__h{align-self:start}
  body.hp-results-standalone-body .hp-results-main--below-composition{
    margin-left:0;
    width:100%;
    max-width:100%;
  }
}

body.hp-results-standalone-body .hp-results-standalone-logo.hp-admin-controlled-logo{
  display:inline-block;
  overflow:hidden;
  white-space:nowrap;
  width:480px;
  min-width:480px;
  height:104px;
  min-height:104px;
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;
}
body.hp-results-standalone-body .hp-results-standalone-logo.hp-admin-controlled-logo--image{
  text-indent:-9999px;
}

.hp-results-standalone-body .hp-bottom-wrap--results-spaced{
  margin-top:50px;
  gap:50px;
}

.hp-result-card--compact-v1{
  grid-template-columns:220px minmax(0,1fr) 200px;
  gap:14px 18px;
  padding:12px 14px;
  margin-bottom:10px;
  border-radius:14px;
}
.hp-result-card--compact-v1 .hp-result-card__media img,
.hp-result-card--compact-v1 .hp-result-card__media--empty{
  min-height:168px;
  max-height:168px;
  border-radius:10px;
}
.hp-result-card--compact-v1 .hp-result-card__hotel{
  font-size:22px;
  line-height:1.1;
  margin-bottom:4px;
}
.hp-result-card--compact-v1 .hp-result-card__title{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.2;
}
.hp-result-card--compact-v1 .hp-result-card__meta{
  margin-bottom:6px;
  font-size:13px;
}
.hp-result-card--compact-v1 .hp-result-card__location{
  font-size:14px;
  margin-bottom:0;
}
.hp-result-card--compact-v1 .hp-result-card__info{margin:0 0 6px;margin-top:auto;padding-top:8px}
.hp-result-card--compact-v1 .hp-result-card__desc-preview{font-size:14px;line-height:1.4;height:calc(1.4em * 3);margin:0 0 5px 0}
.hp-result-card--compact-v1 .hp-result-card__info-link{font-size:14px}
.hp-result-card--compact-v1 .hp-result-card__commercial-price{
  font-size:24px;
}
.hp-result-card--compact-v1 .hp-result-card__commercial-rate{
  font-size:13px;
}
.hp-result-card--compact-v1 .hp-result-card__cta{
  min-width:160px;
  padding:11px 16px;
  font-size:14px;
  border-radius:10px;
}

@media (max-width: 980px){
  .hp-result-card--compact-v1{
    grid-template-columns:1fr;
  }
  .hp-result-card--compact-v1 .hp-result-card__media img,
  .hp-result-card--compact-v1 .hp-result-card__media--empty{
    min-height:200px;
    max-height:200px;
  }
  .hp-result-card--compact-v1 .hp-result-card__aside{
    align-items:flex-end;
    text-align:right;
  }
}

/* ============================================================
   Home Step 1 — destinations standalone section (2026-05-30)
   Scope: center cities block below VIP; ads stay in .hp-home-discovery.
   ============================================================ */
body.home .hp-home-destinations,
body.front-page .hp-home-destinations{
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.home .hp-home-destinations .hp-home-discovery__header,
body.front-page .hp-home-destinations .hp-home-discovery__header{
  text-align: center;
}

body.home .hp-home-destinations .hp-cities-panel,
body.front-page .hp-home-destinations .hp-cities-panel{
  width: 100%;
}

@media (max-width: 768px){
  body.home .hp-home-destinations,
  body.front-page .hp-home-destinations{
    width: min(100% - 24px, 1180px);
  }
}

/* ============================================================
   Home Step 1b — visual separation of Destinations (2026-05-30)
   Scope: no left rail beside cities; tighter gap below VIP.
   ============================================================ */
body.home .hp-results-shell--home-empty,
body.front-page .hp-results-shell--home-empty{
  display: block !important;
  grid-template-columns: none !important;
  max-width: none !important;
  width: 100% !important;
  margin-top: 18px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .hp-results-shell--home-empty .hp-results-main,
body.front-page .hp-results-shell--home-empty .hp-results-main{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

body.home .hp-results-shell--home-empty .hp-results-sidebar,
body.front-page .hp-results-shell--home-empty .hp-results-sidebar{
  display: none !important;
}

body.home .hp-results-shell--home-empty .hp-home-destinations,
body.front-page .hp-results-shell--home-empty .hp-home-destinations{
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
}

body.home .hp-results-shell--home-empty .hp-home-destinations .hp-home-discovery__header,
body.front-page .hp-results-shell--home-empty .hp-home-destinations .hp-home-discovery__header{
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}

@media (max-width: 1024px){
  body.home .hp-results-shell--home-empty,
  body.front-page .hp-results-shell--home-empty{
    margin-top: 14px !important;
  }
}

/* ============================================================
   Home ADV rectangle — V1 sidebar_1 + H1/H2 small_* (2026-05-30 fix)
   Layout: [ V1 | H1 ]  /  [ V1 | H2 ] — left column full height.
   ============================================================ */
body.home .hp-home-ad-rectangle,
body.front-page .hp-home-ad-rectangle{
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 24px auto 0;
  box-sizing: border-box;
}

body.home .hp-home-ad-rectangle__grid,
body.front-page .hp-home-ad-rectangle__grid{
  display: grid;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

body.home .hp-home-ad-rectangle__grid--lr,
body.front-page .hp-home-ad-rectangle__grid--lr{
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  column-gap: 16px;
}

body.home .hp-home-ad-rectangle__grid--vertical-only,
body.front-page .hp-home-ad-rectangle__grid--vertical-only{
  grid-template-columns: minmax(260px, 300px);
  justify-content: center;
}

body.home .hp-home-ad-rectangle__grid--horizontal-only,
body.front-page .hp-home-ad-rectangle__grid--horizontal-only{
  grid-template-columns: minmax(0, 1fr);
}

body.home .hp-home-ad-rectangle__col,
body.front-page .hp-home-ad-rectangle__col{
  min-width: 0;
  min-height: 0;
}

body.home .hp-home-ad-rectangle__col--vertical,
body.front-page .hp-home-ad-rectangle__col--vertical{
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

body.home .hp-home-ad-rectangle__stack,
body.front-page .hp-home-ad-rectangle__stack{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 100%;
  min-height: 0;
  align-content: stretch;
}

body.home .hp-home-ad-rectangle__stack:has(.hp-home-ad-slot:only-child),
body.front-page .hp-home-ad-rectangle__stack:has(.hp-home-ad-slot:only-child){
  grid-template-rows: 1fr;
}

body.home .hp-home-ad-rectangle__col--vertical .hp-home-ad-slot,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-home-ad-slot,
body.home .hp-home-ad-rectangle__col--vertical .hp-ad,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad,
body.home .hp-home-ad-rectangle__col--vertical .hp-ad-link,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad-link,
body.home .hp-home-ad-rectangle__col--vertical .hp-ad__media,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad__media{
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 18px;
}

/* ADV H1/H2 — PNG on page background (no card chrome); ADV V1 unchanged above */
body.home .hp-home-ad-rectangle__stack .hp-home-ad-slot,
body.front-page .hp-home-ad-rectangle__stack .hp-home-ad-slot,
body.home .hp-home-ad-rectangle__stack .hp-ad,
body.front-page .hp-home-ad-rectangle__stack .hp-ad,
body.home .hp-home-ad-rectangle__stack .hp-ad-link,
body.front-page .hp-home-ad-rectangle__stack .hp-ad-link,
body.home .hp-home-ad-rectangle__stack .hp-ad__media,
body.front-page .hp-home-ad-rectangle__stack .hp-ad__media{
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: visible;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.home .hp-home-ad-rectangle__col--vertical .hp-home-ad-slot,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-home-ad-slot{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

body.home .hp-home-ad-rectangle__col--vertical .hp-ad,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad,
body.home .hp-home-ad-rectangle__col--vertical .hp-ad-link,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad-link{
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

body.home .hp-home-ad-rectangle__col--vertical .hp-ad__media,
body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad__media{
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 2;
  max-height: none;
}

body.home .hp-home-ad-rectangle__stack .hp-home-ad-slot,
body.front-page .hp-home-ad-rectangle__stack .hp-home-ad-slot{
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.home .hp-home-ad-rectangle__stack .hp-ad,
body.front-page .hp-home-ad-rectangle__stack .hp-ad,
body.home .hp-home-ad-rectangle__stack .hp-ad-link,
body.front-page .hp-home-ad-rectangle__stack .hp-ad-link{
  flex: 1 1 auto;
  min-height: 0;
}

body.home .hp-home-ad-rectangle__stack .hp-ad__media,
body.front-page .hp-home-ad-rectangle__stack .hp-ad__media{
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  max-height: none;
}

body.home .hp-home-ad-rectangle__col--vertical img,
body.front-page .hp-home-ad-rectangle__col--vertical img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

body.home .hp-home-ad-rectangle__stack img,
body.front-page .hp-home-ad-rectangle__stack img{
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

body.home .hp-home-ad-rectangle .hp-home-ad-slot:empty,
body.front-page .hp-home-ad-rectangle .hp-home-ad-slot:empty{
  display: none;
}

/* Home ADV rectangle — V1/H1/H2 layout micro-balance (desktop/home only, 2026-05-30) */
@media (min-width: 981px){
  body.home .hp-home-ad-rectangle__grid--lr,
  body.front-page .hp-home-ad-rectangle__grid--lr{
    grid-template-columns: minmax(276px, 312px) minmax(0, 1fr);
    column-gap: 18px;
  }

  body.home .hp-home-ad-rectangle__col--horizontal,
  body.front-page .hp-home-ad-rectangle__col--horizontal{
    padding-left: 14px;
    box-sizing: border-box;
  }

  body.home .hp-home-ad-rectangle__stack,
  body.front-page .hp-home-ad-rectangle__stack{
    gap: 28px;
    align-content: space-between;
  }

  body.home .hp-home-ad-rectangle__col--vertical .hp-ad__media,
  body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad__media{
    flex: 0 1 auto;
    width: 100%;
    max-width: 312px;
    height: auto;
    aspect-ratio: 1 / 2;
  }

  body.home .hp-home-ad-rectangle__col--vertical img,
  body.front-page .hp-home-ad-rectangle__col--vertical img{
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
}

@media (max-width: 980px){
  body.home .hp-home-ad-rectangle,
  body.front-page .hp-home-ad-rectangle{
    width: min(100% - 24px, 1180px);
    margin-top: 20px;
  }

  body.home .hp-home-ad-rectangle__grid--lr,
  body.front-page .hp-home-ad-rectangle__grid--lr,
  body.home .hp-home-ad-rectangle__grid--vertical-only,
  body.front-page .hp-home-ad-rectangle__grid--vertical-only,
  body.home .hp-home-ad-rectangle__grid--horizontal-only,
  body.front-page .hp-home-ad-rectangle__grid--horizontal-only{
    grid-template-columns: minmax(0, 1fr);
  }

  body.home .hp-home-ad-rectangle__col--vertical .hp-ad__media,
  body.front-page .hp-home-ad-rectangle__col--vertical .hp-ad__media{
    aspect-ratio: 1 / 2;
    max-height: none;
  }

  body.home .hp-home-ad-rectangle__stack .hp-ad__media,
  body.front-page .hp-home-ad-rectangle__stack .hp-ad__media{
    max-height: none;
  }
}

/* ============================================================
   Home lower block — pre_result + wide_1 (Banner largo 1)
   ============================================================ */
body.home .hp-home-lower,
body.front-page .hp-home-lower{
  width: min(1760px, calc(100% - 48px)) !important;
  max-width: 1760px !important;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

body.home .hp-home-lower__pre-result,
body.front-page .hp-home-lower__pre-result,
body.home .hp-home-lower__pre-result .hp-pre-result-panel,
body.front-page .hp-home-lower__pre-result .hp-pre-result-panel{
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.home .hp-home-lower__pre-result .hp-pre-result-panel,
body.front-page .hp-home-lower__pre-result .hp-pre-result-panel{
  min-height: min(320px, 42vw);
  max-height: min(520px, 70vh);
  overflow: hidden;
}

body.home .hp-home-lower__wide-1,
body.front-page .hp-home-lower__wide-1{
  width: 100%;
  max-width: 100%;
}

body.home .hp-home-lower__wide-1 .hp-home-ad-slot,
body.front-page .hp-home-lower__wide-1 .hp-home-ad-slot,
body.home .hp-home-lower__wide-1 .hp-ad,
body.front-page .hp-home-lower__wide-1 .hp-ad,
body.home .hp-home-lower__wide-1 .hp-ad-link,
body.front-page .hp-home-lower__wide-1 .hp-ad-link,
body.home .hp-home-lower__wide-1 .hp-ad__media,
body.front-page .hp-home-lower__wide-1 .hp-ad__media{
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.home .hp-home-lower__wide-1 .hp-ad__media,
body.front-page .hp-home-lower__wide-1 .hp-ad__media{
  aspect-ratio: auto;
  width: 100%;
  max-height: none;
}

body.home .hp-home-lower__wide-1 img,
body.front-page .hp-home-lower__wide-1 img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: transparent !important;
}

@media (max-width: 768px){
  body.home .hp-home-lower,
  body.front-page .hp-home-lower{
    width: min(100% - 24px, 1760px) !important;
  }
}

/* ============================================================
   Home header / menu responsive — Patch 2 (2026-05-30)
   Scope: body.home / body.front-page only (.hp-header-wrap layout).
   Tablet/mobile: max-width 1024px rules below.
   Desktop/laptop two-row grid: Patch 2B EOF (min-width 1025px, all home widths).
   ============================================================ */

@media (max-width: 1024px){
  body.home .hp-header-wrap,
  body.front-page .hp-header-wrap{
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
  }

  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    flex-wrap: wrap !important;
    align-items: center !important;
    align-content: center;
    gap: 12px 14px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo{
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 56px) !important;
    width: auto !important;
    order: 1;
  }

  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center{
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    order: 2;
  }

  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right{
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    order: 3;
  }

  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
    width: min(300px, 50vw) !important;
    min-width: 0 !important;
    max-width: min(300px, 50vw) !important;
    height: 64px !important;
    min-height: 56px !important;
    transform: translateY(4px) !important;
  }

  body.home .hp-header-center .wp-block-navigation,
  body.front-page .hp-header-center .wp-block-navigation{
    justify-content: flex-end !important;
  }

  body.home .hp-header-center .wp-block-navigation__responsive-container-open,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container-open,
  body.home .hp-header-center .wp-block-navigation__responsive-container-close,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container-close{
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    box-sizing: border-box;
  }

  body.home .hp-header-partner-actions,
  body.front-page .hp-header-partner-actions,
  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions{
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    row-gap: 10px;
  }

  body.home .hp-header-partner-btn,
  body.front-page .hp-header-partner-btn,
  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn{
    min-height: 44px;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 768px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    gap: 10px 12px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo{
    max-width: calc(100% - 50px) !important;
  }

  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
    width: min(200px, 54vw) !important;
    min-width: 0 !important;
    max-width: min(200px, 54vw) !important;
    height: 52px !important;
    min-height: 48px !important;
  }

  body.home .hp-header-partner-actions,
  body.front-page .hp-header-partner-actions,
  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions{
    justify-content: stretch;
    gap: 8px;
  }

  body.home .hp-header-partner-btn,
  body.front-page .hp-header-partner-btn,
  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn{
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px !important;
    font-size: 12px !important;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }

  body.home .hp-header-center .wp-block-navigation__responsive-container.is-menu-open,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container.is-menu-open{
    z-index: 100010;
  }
}

@media (max-width: 480px){
  body.home header .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
    width: min(168px, 48vw) !important;
    max-width: min(168px, 48vw) !important;
    height: 46px !important;
    min-height: 44px !important;
  }

  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo{
    max-width: calc(100% - 48px) !important;
  }

  body.home .hp-header-partner-actions,
  body.front-page .hp-header-partner-actions,
  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.home .hp-header-partner-btn,
  body.front-page .hp-header-partner-btn,
  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn{
    flex: 1 1 100%;
    width: 100%;
    min-height: 46px;
    font-size: 13px !important;
    white-space: nowrap;
  }
}

/* ============================================================
   Patch 2B — home header two-row (min-width 1025px) — EOF enforce block
   Range: 1025px+ (desktop + laptop). Tablet/mobile stay ≤1024 Patch 2.
   Row 1: logo/tagline + CTAs. Row 2: nav inside header, tight below row 1.
   ============================================================ */
@media (min-width: 1025px){
  body.hp-frontpage header,
  body.home header,
  body.front-page header{
    display: block !important;
    position: relative !important;
    z-index: 40 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    isolation: isolate;
  }

  body.hp-frontpage .hp-header-wrap,
  body.home .hp-header-wrap,
  body.front-page .hp-header-wrap{
    position: relative !important;
    z-index: 41 !important;
    max-width: 100%;
    background: #ffffff !important;
    overflow-x: clip;
    overflow-y: visible;
    box-sizing: border-box;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-group__inner-container,
  body.home .hp-header-wrap .wp-block-group__inner-container,
  body.front-page .hp-header-wrap .wp-block-group__inner-container{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-columns.is-layout-flex.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.are-vertically-aligned-center.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.header-main,
  body.hp-frontpage .hp-header-wrap .header-main.hp-header-main,
  body.home .hp-header-wrap .wp-block-columns.hp-header-main,
  body.front-page .hp-header-wrap .wp-block-columns.hp-header-main,
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "hp-hp-logo hp-hp-ctas"
      "hp-hp-nav hp-hp-nav" !important;
    align-items: center !important;
    align-content: start !important;
    gap: 0 16px !important;
    row-gap: 8px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-logo,
  body.hp-frontpage .hp-header-wrap .wp-block-column.header-logo,
  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo{
    grid-area: hp-hp-logo !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    align-self: center !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-right,
  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right{
    grid-area: hp-hp-ctas !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-self: center !important;
    padding-right: 48px !important;
    box-sizing: border-box;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-center,
  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center{
    grid-area: hp-hp-nav !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: none !important;
    box-sizing: border-box;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
    width: min(480px, 32vw) !important;
    min-width: 0 !important;
    max-width: min(480px, 32vw) !important;
    height: min(104px, 9vw) !important;
    min-height: 52px !important;
    max-height: 104px !important;
    transform: none !important;
  }

  /* Laptop band: slightly smaller logo on row 1 (nav still row 2) */
  @media (max-width: 1450px){
    body.hp-frontpage .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
    body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
    body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
      width: min(300px, 30vw) !important;
      max-width: min(300px, 30vw) !important;
      height: min(64px, 8vw) !important;
      min-height: 52px !important;
      max-height: 64px !important;
    }
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-open,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-open,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-open{
    display: none !important;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container{
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-content,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation__responsive-container-content{
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation{
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    --navigation-layout-justification-setting: center;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content{
    font-family: Raleway, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    padding: 8px 14px !important;
    white-space: nowrap;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation ul{
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    row-gap: 10px !important;
    box-sizing: border-box;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-partner-actions,
  body.hp-frontpage .hp-header-wrap .hp-header-actions,
  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions{
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    max-width: 100%;
    min-width: 0;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-partner-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn,
  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn{
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Hero cover starts after full header block (no nav floating into hero) */
  body.hp-frontpage .wp-block-cover.alignfull.sliderimg,
  body.home .wp-block-cover.alignfull.sliderimg,
  body.front-page .wp-block-cover.alignfull.sliderimg{
    margin-top: 0 !important;
    clear: both;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* ============================================================
   Hero visual density — home only (2026-05-30)
   Overrides inline .slider-content padding-top:135px in front-page.php.
   ============================================================ */
body.home .slider-content,
body.front-page .slider-content,
body.hp-frontpage .slider-content{
  padding-top: 82px !important;
}

body.home .slider-content .slider-info-main,
body.front-page .slider-content .slider-info-main,
body.hp-frontpage .slider-content .slider-info-main{
  align-items: flex-start !important;
}

/* ============================================================
   Home responsive — destinations horizontal scroll @768 (2026-05-30)
   Tablet gap fix: global 980px rule forced 2-col between 641–768px.
   Scope: .hp-home-destinations only (theme strip unchanged).
   ============================================================ */
@media (max-width: 768px){
  body.home .hp-home-destinations .hp-cities-grid,
  body.front-page .hp-home-destinations .hp-cities-grid{
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(170px, 72vw) !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.home .hp-home-destinations .hp-city-card,
  body.front-page .hp-home-destinations .hp-city-card{
    scroll-snap-align: start !important;
  }
}

/* ============================================================
   Theme strip patch 1 — exploration density lift (2026-05-30)
   Scope: #hp-theme-strip only. EOF overrides compact carousel blocks.
   Icons unchanged (Sabrina): legacy 32px / 30px mobile still govern.
   ============================================================ */
body.home #hp-theme-strip .hp-theme-strip-track,
body.front-page #hp-theme-strip .hp-theme-strip-track,
body.hp-frontpage #hp-theme-strip .hp-theme-strip-track{
  gap: 10px !important;
}

body.home #hp-theme-strip .hp-theme-strip-card,
body.front-page #hp-theme-strip .hp-theme-strip-card,
body.hp-frontpage #hp-theme-strip .hp-theme-strip-card{
  height: 90px !important;
  gap: 8px !important;
}

body.home #hp-theme-strip .hp-theme-strip-label,
body.front-page #hp-theme-strip .hp-theme-strip-label,
body.hp-frontpage #hp-theme-strip .hp-theme-strip-label{
  font-size: 12.5px !important;
}

@media (max-width: 640px){
  body.home #hp-theme-strip .hp-theme-strip-card,
  body.front-page #hp-theme-strip .hp-theme-strip-card,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-card{
    height: 80px !important;
  }

  body.home #hp-theme-strip .hp-theme-strip-label,
  body.front-page #hp-theme-strip .hp-theme-strip-label,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-label{
    font-size: 12px !important;
  }
}

/* ============================================================
   Theme strip patch 2 — mobile discoverability (2026-05-30)
   Option A: peek next card @≤640. #hp-theme-strip only.
   Icons / label font-size unchanged.
   ============================================================ */
@media (max-width: 640px){
  body.home #hp-theme-strip .hp-theme-strip-shell::after,
  body.front-page #hp-theme-strip .hp-theme-strip-shell::after,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-shell::after{
    width: 10px !important;
  }

  body.home #hp-theme-strip .hp-theme-strip-track,
  body.front-page #hp-theme-strip .hp-theme-strip-track,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track{
    gap: 8px !important;
  }

  body.home #hp-theme-strip .hp-theme-strip-card,
  body.front-page #hp-theme-strip .hp-theme-strip-card,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-card{
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
  }
}

/* ============================================================
   Home scroll affordance unification (2026-05-30)
   Theme strip + destinations: shared orange rail @≤768.
   Replaces patch 3 thin (5px) theme-only bar. No card/icon/layout changes.
   ============================================================ */
@media (max-width: 768px){
  body.home .hp-home-destinations .hp-cities-grid,
  body.front-page .hp-home-destinations .hp-cities-grid,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid,
  body.home #hp-theme-strip .hp-theme-strip-track,
  body.front-page #hp-theme-strip .hp-theme-strip-track,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track{
    position: relative !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(237, 139, 11, 0.55) rgba(255, 170, 60, 0.08) !important;
    padding-bottom: 12px !important;
  }

  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar{
    display: block !important;
    height: 8px !important;
  }

  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-track,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-track,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-track,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-track,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-track,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-track{
    background: rgba(255, 170, 60, 0.08) !important;
    border-radius: 999px !important;
  }

  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb{
    background: rgba(237, 139, 11, 0.55) !important;
    border-radius: 999px !important;
  }

  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb:hover,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb:hover,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-thumb:hover,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb:hover,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb:hover,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-thumb:hover{
    background: rgba(237, 139, 11, 0.72) !important;
  }

}

/* ============================================================
   SCROLL ARROWS CLEAN FINAL (2026-05-30)
   Remove bad SVG "<" ">" pseudo arrows. Keep native rail triangles.
   Scrollbar track/thumb unchanged. No new arrow system.
   ============================================================ */
@media (max-width: 768px){
  /*
   * BAD arrows — black SVG "<" ">" on scrollport pseudos (above rail / near cards).
   */
  body.home .hp-home-destinations .hp-cities-grid::before,
  body.front-page .hp-home-destinations .hp-cities-grid::before,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::before,
  body.home .hp-home-destinations .hp-cities-grid::after,
  body.front-page .hp-home-destinations .hp-cities-grid::after,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::after,
  body.home #hp-theme-strip .hp-theme-strip-track::before,
  body.front-page #hp-theme-strip .hp-theme-strip-track::before,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::before,
  body.home #hp-theme-strip .hp-theme-strip-track::after,
  body.front-page #hp-theme-strip .hp-theme-strip-track::after,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::after{
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
    pointer-events: none !important;
  }

  /* No pseudo arrows on cards/icons/clickables */
  body.home .hp-home-destinations .hp-city-card::before,
  body.front-page .hp-home-destinations .hp-city-card::before,
  body.hp-frontpage .hp-home-destinations .hp-city-card::before,
  body.home .hp-home-destinations .hp-city-card::after,
  body.front-page .hp-home-destinations .hp-city-card::after,
  body.hp-frontpage .hp-home-destinations .hp-city-card::after,
  body.home #hp-theme-strip .hp-theme-strip-card::before,
  body.front-page #hp-theme-strip .hp-theme-strip-card::before,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-card::before,
  body.home #hp-theme-strip .hp-theme-strip-card::after,
  body.front-page #hp-theme-strip .hp-theme-strip-card::after,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-card::after,
  body.home #hp-theme-strip .hp-theme-strip-icon::before,
  body.front-page #hp-theme-strip .hp-theme-strip-icon::before,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-icon::before,
  body.home #hp-theme-strip .hp-theme-strip-icon::after,
  body.front-page #hp-theme-strip .hp-theme-strip-icon::after,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-icon::after{
    content: none !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
  }

  /*
   * GOOD arrows — native triangular scrollbar buttons at rail ends only.
   * 8px rail + 2px → 10px button; full opacity; dark arrow glyph.
   */
  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button{
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    background-color: #101010 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:decrement,
  body.home .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:increment,
  body.front-page .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:increment,
  body.hp-frontpage .hp-home-destinations .hp-cities-grid::-webkit-scrollbar-button:single-button:horizontal:increment,
  body.home #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:increment,
  body.front-page #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:increment,
  body.hp-frontpage #hp-theme-strip .hp-theme-strip-track::-webkit-scrollbar-button:single-button:horizontal:increment{
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    background-color: #101010 !important;
  }
}

/* ============================================================
   Home atmosphere — hospitality warmth B+A (2026-05-30)
   Approved: subtle canvas + panel harmonization + warm copy.
   Cards, hero, search, banners, layout, spacing unchanged.
   ============================================================ */
body.home,
body.front-page,
body.hp-frontpage{
  background-color: #faf8f5 !important;
}

body.home header,
body.front-page header,
body.hp-frontpage header,
body.home .hp-header-wrap,
body.front-page .hp-header-wrap,
body.hp-frontpage .hp-header-wrap{
  background-color: #ffffff !important;
}

body.home .tour-main-box,
body.front-page .tour-main-box,
body.hp-frontpage .tour-main-box{
  background-color: rgba(252, 249, 245, 0.38) !important;
}

body.home #hp-theme-strip.hp-theme-strip-wrap,
body.front-page #hp-theme-strip.hp-theme-strip-wrap,
body.hp-frontpage #hp-theme-strip.hp-theme-strip-wrap{
  background: #faf9f6 !important;
  border-color: rgba(62, 50, 40, 0.07) !important;
  box-shadow:
    0 16px 40px rgba(48, 36, 28, 0.042),
    inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

body.home #hp-theme-strip .hp-theme-strip-shell::before,
body.front-page #hp-theme-strip .hp-theme-strip-shell::before,
body.hp-frontpage #hp-theme-strip .hp-theme-strip-shell::before{
  background: linear-gradient(90deg, rgba(250, 249, 246, 0.97), rgba(250, 249, 246, 0)) !important;
}

body.home #hp-theme-strip .hp-theme-strip-shell::after,
body.front-page #hp-theme-strip .hp-theme-strip-shell::after,
body.hp-frontpage #hp-theme-strip .hp-theme-strip-shell::after{
  background: linear-gradient(270deg, rgba(250, 249, 246, 0.97), rgba(250, 249, 246, 0)) !important;
}

body.home .hp-home-destinations .hp-cities-panel,
body.front-page .hp-home-destinations .hp-cities-panel,
body.hp-frontpage .hp-home-destinations .hp-cities-panel{
  background: #faf9f6 !important;
  border-color: rgba(62, 50, 40, 0.08) !important;
  box-shadow: 0 14px 32px rgba(48, 36, 28, 0.04) !important;
}

body.home .hp-theme-strip-subtitle,
body.front-page .hp-theme-strip-subtitle,
body.hp-frontpage .hp-theme-strip-subtitle{
  color: rgba(58, 48, 40, 0.72) !important;
}

body.home .hp-home-discovery__header p,
body.front-page .hp-home-discovery__header p,
body.home .hp-home-destinations .hp-home-discovery__header p,
body.front-page .hp-home-destinations .hp-home-discovery__header p,
body.hp-frontpage .hp-home-discovery__header p,
body.hp-frontpage .hp-home-destinations .hp-home-discovery__header p{
  color: #63564a !important;
}

/* ============================================================
   Header / nav atmosphere — Quiet lobby tiers Option A (2026-05-30)
   Logo + CTAs: crisp white. Nav band: warm secondary plane.
   Hairline threshold before hero. No layout/hero/search changes.
   ============================================================ */
body.home header,
body.front-page header,
body.hp-frontpage header{
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(62, 50, 40, 0.06) !important;
  box-shadow: 0 1px 0 rgba(48, 36, 28, 0.04) !important;
}

body.home .hp-header-wrap,
body.front-page .hp-header-wrap,
body.hp-frontpage .hp-header-wrap{
  background-color: #ffffff !important;
}

body.home .hp-header-wrap .hp-header-logo,
body.front-page .hp-header-wrap .hp-header-logo,
body.hp-frontpage .hp-header-wrap .hp-header-logo,
body.home .hp-header-wrap .hp-header-right,
body.front-page .hp-header-wrap .hp-header-right,
body.hp-frontpage .hp-header-wrap .hp-header-right{
  background-color: #ffffff !important;
}

body.home .hp-header-wrap .hp-header-center,
body.front-page .hp-header-wrap .hp-header-center,
body.hp-frontpage .hp-header-wrap .hp-header-center{
  background-color: rgba(255, 145, 0, 0.08) !important;
  border-top: 1px solid rgba(62, 50, 40, 0.06) !important;
}

/* ============================================================
   Results Page Responsive Phase 1 — P0 (2026-05-30)
   Scope: body.hp-results-standalone-body only (/risultati/)
   ============================================================ */

/* Desktop 3-col: media cell does not stretch with tall body row */
body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media{
  align-self: start;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 220 / 168;
}

body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media img,
body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media--empty{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  background: #f3f3f3;
}

/* Intermediate stack — reduces abrupt jump before legacy 980px rules */
@media (max-width: 1080px){
  body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1{
    grid-template-columns: 1fr;
  }

  body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media{
    aspect-ratio: auto;
    height: 150px;
    max-height: 150px;
  }

  body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media img,
  body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__media--empty{
    min-height: 0;
    max-height: none;
    height: 100%;
  }

  body.hp-results-standalone-body .hp-result-card.hp-result-card--compact-v1 .hp-result-card__aside{
    align-items: flex-end;
    text-align: right;
  }
}

/* ============================================================
   Results page atmosphere — warm canvas (2026-05-30)
   Scope: body.hp-results-standalone-body only (/risultati/)
   Page background layer only. Cards, layout, spacing unchanged.
   ============================================================ */
body.hp-results-standalone-body{
  background-color: #f8f7f4 !important;
}

/* ============================================================
   Homepage vertical density — 2026-05-30
   Scope: body.home / body.front-page / body.hp-frontpage only.
   Padding/margin only — no breakpoint, width, grid, or order changes.
   ============================================================ */

/* 1. Header / logo */
body.home header .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page header .wp-block-site-title a.hp-admin-controlled-logo,
body.home .wp-block-site-title a.hp-admin-controlled-logo,
body.front-page .wp-block-site-title a.hp-admin-controlled-logo{
  transform: translateY(4px) !important;
}

@media (min-width: 1025px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    row-gap: 4px !important;
  }

  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    padding-top: 4px !important;
    padding-bottom: 6px !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content{
    padding: 6px 12px !important;
  }

  body.home .hp-header-wrap .hp-header-partner-btn,
  body.front-page .hp-header-wrap .hp-header-partner-btn,
  body.home .hp-header-partner-btn,
  body.front-page .hp-header-partner-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    min-height: 40px !important;
    padding: 8px 14px !important;
  }
}

@media (max-width: 1024px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.home .hp-header-partner-btn,
  body.front-page .hp-header-partner-btn,
  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn{
    padding: 9px 12px !important;
  }
}

@media (max-width: 768px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* 2. Hero — less air above content */
body.home .slider-content,
body.front-page .slider-content,
body.hp-frontpage .slider-content{
  padding-top: 58px !important;
}

body.home .slider-content .slider-info-main,
body.front-page .slider-content .slider-info-main,
body.hp-frontpage .slider-content .slider-info-main{
  gap: var(--hp-hero-col-gap) !important;
}

body.home .slider-text .hp-hero-main-title,
body.front-page .slider-text .hp-hero-main-title{
  margin-bottom: 10px !important;
}

/* 3. Search bar wrapper */
body.home .hp-frontpage .hp-search,
body.front-page .hp-frontpage .hp-search,
body.home .hp-search,
body.front-page .hp-search{
  padding-top: 24px !important;
  padding-bottom: 12px !important;
}

body.home .hp-paccky-launcher-wrap,
body.front-page .hp-paccky-launcher-wrap{
  margin-top: 14px !important;
}

/* 4. Homepage sections */
body.home .tour-heading-box,
body.front-page .tour-heading-box{
  margin-bottom: 16px !important;
}

body.home .hp-frontpage .hp-vip,
body.front-page .hp-frontpage .hp-vip{
  padding-top: 14px !important;
  padding-bottom: 6px !important;
}

body.home .hp-theme-strip-wrap,
body.front-page .hp-theme-strip-wrap{
  margin-top: 20px !important;
  margin-bottom: 26px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 768px){
  body.home .hp-search,
  body.front-page .hp-search{
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  body.home .hp-paccky-launcher-wrap,
  body.front-page .hp-paccky-launcher-wrap{
    margin-top: 12px !important;
  }

  body.home .hp-theme-strip-wrap,
  body.front-page .hp-theme-strip-wrap{
    margin-top: 16px !important;
    margin-bottom: 22px !important;
  }
}

body.home .hp-results-shell,
body.front-page .hp-results-shell{
  margin-top: 28px !important;
  margin-bottom: 40px !important;
}

body.home .hp-results-shell--home-empty,
body.front-page .hp-results-shell--home-empty{
  margin-top: 12px !important;
}

body.home .hp-home-destinations,
body.front-page .hp-home-destinations{
  margin-top: 8px !important;
}

body.home .hp-home-discovery,
body.front-page .hp-home-discovery{
  margin-top: 12px !important;
}

body.home .hp-home-destinations .hp-home-discovery__header,
body.front-page .hp-home-destinations .hp-home-discovery__header,
body.home .hp-home-discovery__header,
body.front-page .hp-home-discovery__header{
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}

body.home .hp-cities-panel,
body.front-page .hp-cities-panel{
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

body.home .hp-bottom-wrap--home-final,
body.front-page .hp-bottom-wrap--home-final{
  margin-top: 8px !important;
  margin-bottom: 18px !important;
}

body.home .hp-home-lower,
body.front-page .hp-home-lower{
  margin-top: 16px !important;
}

/* 5. Footer */
body.home .hp-footer,
body.front-page .hp-footer{
  margin-top: 28px !important;
  padding-top: 38px !important;
  padding-bottom: 20px !important;
}

body.home .hp-footer-bottom-bar__inner,
body.front-page .hp-footer-bottom-bar__inner{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

@media (max-width: 768px){
  body.home .hp-footer,
  body.front-page .hp-footer{
    margin-top: 20px !important;
    padding-top: 30px !important;
    padding-bottom: 16px !important;
  }

  body.home .hp-bottom-wrap--home-final,
  body.front-page .hp-bottom-wrap--home-final{
    margin-bottom: 14px !important;
  }
}

/* ============================================================
   Hero header stack targeted compact — 2026-05-30 v3
   Live DOM (hotel-pack.it @ 1440px): Patch 2B selectors beat v2
   low-specificity rules. Match Patch 2B specificity; ~35% cut on
   computed spacing in logo→nav→hero band only.
   ============================================================ */

@media (min-width: 1025px){
  body.hp-frontpage .hp-header-wrap .wp-block-columns.is-layout-flex.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.are-vertically-aligned-center.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.header-main,
  body.hp-frontpage .hp-header-wrap .header-main.hp-header-main,
  body.home .hp-header-wrap .wp-block-columns.hp-header-main,
  body.front-page .hp-header-wrap .wp-block-columns.hp-header-main,
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    row-gap: 5px !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-center,
  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    padding-top: 5px !important;
    padding-bottom: 6px !important;
  }

  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content{
    padding: 4px 11px !important;
  }
}

@media (max-width: 1024px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
}

@media (max-width: 768px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}

body.home .slider-content,
body.front-page .slider-content,
body.hp-frontpage .slider-content{
  padding-top: 32px !important;
}

/* ============================================================
   Homepage header → hero compactness — Prurito Sabrina 2
   Root cause: WP columns use align-self:center (is-vertically-aligned-center),
   pushing hero text below the tall slideshow column — not slider padding alone.
   ============================================================ */
body.home .slider-info-main > .wp-block-column,
body.front-page .slider-info-main > .wp-block-column,
body.hp-frontpage .slider-info-main > .wp-block-column,
body.home .slider-info-main > .wp-block-column.is-vertically-aligned-center,
body.front-page .slider-info-main > .wp-block-column.is-vertically-aligned-center,
body.hp-frontpage .slider-info-main > .wp-block-column.is-vertically-aligned-center{
  align-self: flex-start !important;
}

@media (min-width: 1025px){
  body.home .slider-content,
  body.front-page .slider-content,
  body.hp-frontpage .slider-content{
    padding-top: 14px !important;
  }

  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-bottom: 4px !important;
    row-gap: 2px !important;
  }

  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    padding-bottom: 5px !important;
  }
}

/* ============================================================
   Home header / navigation — Patch 3 (2026-06-15)
   Scope: public home header only (logo, desktop nav, CTAs, mobile overlay).
   ============================================================ */

body.home .hp-header-wrap,
body.front-page .hp-header-wrap,
body.hp-frontpage .hp-header-wrap{
  position: relative;
  z-index: 20;
}

body.home .hp-header-wrap .hp-header-actions,
body.front-page .hp-header-wrap .hp-header-actions,
body.hp-frontpage .hp-header-wrap .hp-header-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.home .hp-header-wrap .hp-header-btn,
body.front-page .hp-header-wrap .hp-header-btn,
body.hp-frontpage .hp-header-wrap .hp-header-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .18s ease;
  box-sizing: border-box;
  white-space: nowrap;
  max-width: 100%;
}

body.home .hp-header-wrap .hp-header-btn--solid,
body.front-page .hp-header-wrap .hp-header-btn--solid,
body.hp-frontpage .hp-header-wrap .hp-header-btn--solid{
  background: #ff7a00;
  color: #fff !important;
  border: 1px solid #ff7a00;
}

body.home .hp-header-wrap .hp-header-btn--ghost,
body.front-page .hp-header-wrap .hp-header-btn--ghost,
body.hp-frontpage .hp-header-wrap .hp-header-btn--ghost{
  background: #fff;
  color: #ff7a00 !important;
  border: 1px solid #ff7a00;
}

@media (min-width: 1025px){
  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo,
  body.hp-frontpage .hp-header-wrap .hp-header-logo{
    padding-left: clamp(30px, 3.2vw, 54px) !important;
    box-sizing: border-box;
  }

  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    justify-content: flex-start !important;
    padding-left: var(--hp-header-center-pad-l) !important;
    padding-right: var(--hp-header-center-pad-r) !important;
    padding-top: 3px !important;
    padding-bottom: 5px !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation{
    justify-content: flex-start !important;
    --navigation-layout-justification-setting: flex-start;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation ul{
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px 20px !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content{
    font-family: Raleway, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em;
    color: #101010 !important;
    padding: 7px 12px !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content:hover,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content:hover,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content:hover{
    color: #ff7a00 !important;
  }

  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right,
  body.hp-frontpage .hp-header-wrap .hp-header-right{
    padding-right: clamp(12px, 1.5vw, 36px) !important;
    box-sizing: border-box;
  }

  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions,
  body.hp-frontpage .hp-header-wrap .hp-header-actions{
    flex-wrap: nowrap;
    gap: 8px !important;
  }

  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    min-height: 40px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1280px){
  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right,
  body.hp-frontpage .hp-header-wrap .hp-header-right{
    padding-right: 12px !important;
  }

  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions,
  body.hp-frontpage .hp-header-wrap .hp-header-actions{
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
    max-width: min(100%, 320px);
  }

  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    min-height: 38px !important;
    padding: 7px 11px !important;
    font-size: 12px !important;
    flex: 0 1 auto;
  }
}

@media (max-width: 1024px){
  body.home .hp-header-wrap,
  body.front-page .hp-header-wrap,
  body.hp-frontpage .hp-header-wrap{
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions,
  body.hp-frontpage .hp-header-wrap .hp-header-actions{
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    row-gap: 8px;
    padding-inline: 4px;
    box-sizing: border-box;
  }

  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  body.home .hp-header-center .wp-block-navigation__responsive-container.is-menu-open,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container.is-menu-open,
  body.hp-frontpage .hp-header-center .wp-block-navigation__responsive-container.is-menu-open{
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    z-index: 100010 !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.home .hp-header-center .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  body.hp-frontpage .hp-header-center .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
    pointer-events: auto !important;
  }

  body.home .hp-header-center .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content,
  body.front-page .hp-header-center .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content,
  body.hp-frontpage .hp-header-center .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content{
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #101010 !important;
    padding: 12px 16px !important;
  }
}

@media (max-width: 768px){
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 480px){
  body.home .hp-header-wrap .hp-header-actions,
  body.front-page .hp-header-wrap .hp-header-actions,
  body.hp-frontpage .hp-header-wrap .hp-header-actions{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.home .hp-header-wrap .hp-header-btn,
  body.front-page .hp-header-wrap .hp-header-btn,
  body.hp-frontpage .hp-header-wrap .hp-header-btn{
    flex: 1 1 100%;
    width: 100%;
    min-height: 40px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
}

/* ============================================================
   Homepage header / hero — Prurito Sabrina 3
   1) Tighten logo row → beige nav (not spacing below nav)
   2) Re-center hero benefits vs slideshow image
   ============================================================ */
@media (min-width: 1025px){
  body.hp-frontpage .hp-header-wrap .wp-block-columns.is-layout-flex.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.are-vertically-aligned-center.hp-header-main,
  body.hp-frontpage .hp-header-wrap .wp-block-columns.hp-header-main,
  body.home .hp-header-wrap .wp-block-columns.hp-header-main,
  body.front-page .hp-header-wrap .wp-block-columns.hp-header-main,
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main{
    align-items: start !important;
    row-gap: 0 !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-logo,
  body.home .hp-header-wrap .wp-block-column.hp-header-logo,
  body.front-page .hp-header-wrap .wp-block-column.hp-header-logo,
  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo{
    align-self: start !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-right,
  body.home .hp-header-wrap .wp-block-column.hp-header-right,
  body.front-page .hp-header-wrap .wp-block-column.hp-header-right,
  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right{
    align-self: start !important;
  }

  body.home .hp-header-wrap .hp-header-logo .wp-block-site-title,
  body.front-page .hp-header-wrap .hp-header-logo .wp-block-site-title,
  body.hp-frontpage .hp-header-wrap .hp-header-logo .wp-block-site-title{
    line-height: 1 !important;
    margin: 0 !important;
  }

  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    padding-top: 0 !important;
  }

  body.home .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.front-page .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo,
  body.hp-frontpage .hp-header-wrap .wp-block-site-title a.hp-admin-controlled-logo{
    transform: none !important;
  }
}

body.home .slider-info-main > .wp-block-column.slider-info-box,
body.front-page .slider-info-main > .wp-block-column.slider-info-box,
body.hp-frontpage .slider-info-main > .wp-block-column.slider-info-box{
  align-self: center !important;
}

/* ============================================================
   Homepage hero — unified vertical alignment (final polish)
   Container: .slider-info-main (WP flex columns row)
   Side-by-side layout: text, image, benefits share image vertical center.
   Stacked mobile (≤768px): flex-start preserves text → image → benefits order.
   ============================================================ */
@media (min-width: 769px){
  body.home .slider-content .slider-info-main,
  body.front-page .slider-content .slider-info-main,
  body.hp-frontpage .slider-content .slider-info-main{
    align-items: center !important;
  }

  body.home .slider-info-main > .wp-block-column.slider-text,
  body.front-page .slider-info-main > .wp-block-column.slider-text,
  body.hp-frontpage .slider-info-main > .wp-block-column.slider-text,
  body.home .slider-info-main > .wp-block-column.slider-image,
  body.front-page .slider-info-main > .wp-block-column.slider-image,
  body.hp-frontpage .slider-info-main > .wp-block-column.slider-image,
  body.home .slider-info-main > .wp-block-column.slider-info-box,
  body.front-page .slider-info-main > .wp-block-column.slider-info-box,
  body.hp-frontpage .slider-info-main > .wp-block-column.slider-info-box{
    align-self: center !important;
  }
}

@media (max-width: 768px){
  body.home .slider-content .slider-info-main,
  body.front-page .slider-content .slider-info-main,
  body.hp-frontpage .slider-content .slider-info-main{
    align-items: flex-start !important;
  }

  body.home .slider-info-main > .wp-block-column,
  body.front-page .slider-info-main > .wp-block-column,
  body.hp-frontpage .slider-info-main > .wp-block-column{
    align-self: flex-start !important;
  }
}

/* ============================================================
   Homepage header — CTA vertical align + logo→nav micro gap
   Scope: header row 1 only (desktop). Hero alignment untouched.
   ============================================================ */
@media (min-width: 1025px){
  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-right,
  body.home .hp-header-wrap .wp-block-column.hp-header-right,
  body.front-page .hp-header-wrap .wp-block-column.hp-header-right,
  body.home .hp-header-wrap .hp-header-right,
  body.front-page .hp-header-wrap .hp-header-right,
  body.hp-frontpage .hp-header-wrap .hp-header-right{
    align-self: center !important;
  }

  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-logo,
  body.home .hp-header-wrap .wp-block-column.hp-header-logo,
  body.front-page .hp-header-wrap .wp-block-column.hp-header-logo,
  body.home .hp-header-wrap .hp-header-logo,
  body.front-page .hp-header-wrap .hp-header-logo,
  body.hp-frontpage .hp-header-wrap .hp-header-logo{
    margin-bottom: -3px !important;
  }
}

/* ============================================================
   Home hero + header promo — shared shell + hero-derived offset
   Promo left edge syncs via --hp-promo-align-left (hp-header-promo-align.js).
   ============================================================ */
body.home,
body.front-page,
body.hp-frontpage{
  --hp-home-content-width: 80%;
  --hp-home-row-max-width: 1620px;
  --hp-header-center-pad-l: clamp(18px, 2.4vw, 42px);
  --hp-header-center-pad-r: clamp(12px, 1.5vw, 24px);
  --hp-hero-col-gap: 24px;
}

/* Break shell out of .hp-header-center horizontal padding to match .slider-content band */
.hp-header-align-bleed{
  box-sizing: border-box;
  width: calc(100% + var(--hp-header-center-pad-l) + var(--hp-header-center-pad-r));
  margin-left: calc(-1 * var(--hp-header-center-pad-l));
  margin-right: calc(-1 * var(--hp-header-center-pad-r));
}

.hp-header-align-shell{
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.hp-header-align-shell--has-promo{
  position: relative;
  width: min(var(--hp-home-content-width), var(--hp-home-row-max-width));
  max-width: var(--hp-home-row-max-width);
  margin-inline: auto;
  box-sizing: border-box;
}

.hp-header-align-grid{
  width: 100%;
  box-sizing: border-box;
}

.hp-header-align-shell--has-promo .hp-header-align-grid{
  display: block;
}

.hp-header-align-shell:not(.hp-header-align-shell--has-promo) .hp-header-align-grid{
  display: block;
  max-width: none;
}

.hp-header-align-nav .wp-block-navigation{
  width: 100%;
  max-width: 100%;
}

/* Promo: out of flex flow; horizontal offset from hero image column (JS-set token) */
.hp-header-align-promo{
  position: absolute;
  left: var(--hp-promo-align-left, 0);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: none;
  pointer-events: none;
}

.hp-header-align-promo .hp-header-promo-label{
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hp-header-align-promo .hp-header-promo-label,
.hp-header-align-promo .hp-header-promo-label *{
  pointer-events: none;
}

@media (min-width: 1025px){
  /* Slim nav band — overrides active rules ~4091, ~4144, ~4242, ~4254, ~5001, ~5078, ~5110 */
  body.home .hp-header-wrap .hp-header-main,
  body.front-page .hp-header-wrap .hp-header-main,
  body.hp-frontpage .hp-header-wrap .hp-header-main{
    padding-top: 6px !important;
    padding-bottom: 4px !important;
    row-gap: 0 !important;
  }

  body.home .hp-header-wrap .wp-block-column.hp-header-center,
  body.front-page .hp-header-wrap .wp-block-column.hp-header-center,
  body.hp-frontpage .hp-header-wrap .wp-block-column.hp-header-center,
  body.home .hp-header-wrap .hp-header-center,
  body.front-page .hp-header-wrap .hp-header-center,
  body.hp-frontpage .hp-header-wrap .hp-header-center{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation ul,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation ul{
    row-gap: 0 !important;
    align-items: center !important;
  }

  body.home .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.front-page .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content,
  body.hp-frontpage .hp-header-wrap .hp-header-center .wp-block-navigation .wp-block-navigation-item__content{
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    line-height: 1.15 !important;
  }
}

/* Tablet / mobile: promo hidden; bleed/shell do not affect WP responsive nav */
@media (max-width: 1024px){
  body.home .hp-header-align-promo,
  body.front-page .hp-header-align-promo,
  body.hp-frontpage .hp-header-align-promo{
    display: none !important;
  }

  body.home .hp-header-align-bleed,
  body.front-page .hp-header-align-bleed,
  body.hp-frontpage .hp-header-align-bleed{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.home .hp-header-align-shell,
  body.front-page .hp-header-align-shell,
  body.hp-frontpage .hp-header-align-shell{
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.home .hp-header-align-grid,
  body.front-page .hp-header-align-grid,
  body.hp-frontpage .hp-header-align-grid{
    display: block;
    max-width: none;
  }
}

/* Results card polish — one gold left accent, quieter hierarchy (2026-10-06) */
.hp-result-card.hp-result-card--compact-v1{
  border:1px solid #e6e6e6;
  border-left:3px solid #d4a017;
  box-shadow:0 3px 12px rgba(17,24,39,.045);
}
.hp-result-card.hp-result-card--compact-v1:hover{
  box-shadow:0 5px 16px rgba(17,24,39,.07);
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__hotel{
  font-weight:800;
  color:#1560d8;
  margin-bottom:2px;
  letter-spacing:-.01em;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__meta{
  margin:0 0 8px;
  font-size:12px;
  color:#6b7280;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__location,
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__location a{
  font-size:12px;
  font-weight:500;
  color:#6b7280;
  text-decoration:none;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__location a:hover{
  color:#1560d8;
  text-decoration:underline;
  text-underline-offset:2px;
}
.hp-result-card.hp-result-card--compact-v1 .hp-dot{margin:0 6px;color:#c4c4c4}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__title{
  margin:0 0 8px;
  font-weight:800;
  color:#111;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__desc-preview{color:#5a5a5a}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__info-links{gap:6px 18px;margin-top:2px}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__info-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:12px;
  font-weight:600;
  color:#3d6db5;
  text-decoration:none;
  line-height:1.3;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__info-link:hover{
  color:#1560d8;
  text-decoration:underline;
  text-underline-offset:2px;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__info-link::before{
  content:"";
  width:12px;
  height:12px;
  flex:0 0 12px;
  background:currentColor;
  -webkit-mask:center / contain no-repeat;
  mask:center / contain no-repeat;
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__pkginfo-btn::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.4' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='7.25' y='7' width='1.5' height='4.6' rx='.4' fill='black'/%3E%3Ccircle cx='8' cy='5.1' r='1' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.4' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='7.25' y='7' width='1.5' height='4.6' rx='.4' fill='black'/%3E%3Ccircle cx='8' cy='5.1' r='1' fill='black'/%3E%3C/svg%3E");
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__hotelinfo-btn::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14V6.2L8 2.6l5 3.6V14H9.6V9.6H6.4V14H3zm1.5-1.5h1.4V8.1h4.2v4.4h1.4V6.9L8 4.1 4.5 6.9v5.6z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14V6.2L8 2.6l5 3.6V14H9.6V9.6H6.4V14H3zm1.5-1.5h1.4V8.1h4.2v4.4h1.4V6.9L8 4.1 4.5 6.9v5.6z'/%3E%3C/svg%3E");
}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__commercial{gap:4px}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__commercial-price{letter-spacing:-.02em}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__commercial-rate{font-size:12px;font-weight:600;color:#6b7280}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__commercial-row span{font-weight:600;opacity:.55;color:#6b7280}
.hp-result-card.hp-result-card--compact-v1 .hp-result-card__cta-wrap{margin-top:10px}
@media (max-width:390px){
  .hp-result-card.hp-result-card--compact-v1 .hp-result-card__info-links{gap:8px 12px}
  .hp-result-card.hp-result-card--compact-v1 .hp-result-card__cta{width:100%;min-width:0}
}
