/* =====================================================================
   hospizpassogardena (u1433) — autoreply3.css · V5 landing page
   Upload to: https://cdn.mts-online.com/u1433/css/autoreply3.css
   GENERATED by lp-activate from hospizpassogardena/profile.json (site: https://www.hospizpassogardena.com/en/).
   Edit profile.json + rebuild; hand-written rules go in the CLIENT CUSTOM block.
   ===================================================================== */

/* ── Token lock — stops the widget from overriding colours/sizes after hydration ──── */
/* The v5 widget writes its base variables inline on <html> and on [data-v5-widget]
   after it loads, and darkens low-contrast secondary/label colours. Re-assert the
   text palette with !important so the page shows exactly these two colours. */
html,
#recommended [data-v5-widget] {
    --color-primary: #000000 !important;
    --color-primary-dark: #000000 !important;
    --color-secondary: #81413C !important;
    --color-label: #81413C !important;
}

/* ── Banner ──────────────────────────────────────────────────────────── */
:is(#__MTS, #__MTS3) .header--slider img,
:is(#__MTS, #__MTS3) img.h-full.object-cover {
  max-height: 750px;
}

/* ── Header logo (site logo size) ────────────────────────────────────── */
:is(#__MTS, #__MTS3) .navbar-sticky > nav > a > img {
  width: auto;
  max-width: 113px;
}
html { --height-navbarLogo: 45px !important; }

@media screen and (max-width: 1199px) {
  html { --height-navbarLogo: 41px !important; }
}

@media screen and (max-width: 1023px) {
  html { --height-navbarLogo: 31px !important; }
}

@media screen and (max-width: 767px) {
  html { --height-navbarLogo: 30px !important; }
}

/* ── Navbar links (site navigation typography) ───────────────────────── */
:is(#__MTS, #__MTS3) .navbar-sticky .navbar-link {
  font-family: futurapro;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #000000;
}
:is(#__MTS, #__MTS3) .navbar-sticky .navbar-link { font-size: 17px; }

@media screen and (max-width: 767px) {
  :is(#__MTS, #__MTS3) .navbar-sticky .navbar-link { font-size: 15px; }
}

/* ── Colour scheme — headers vs detail text ──────────────────────────── */
/* All headers #000000. Headings on images / dark bars / in the footer keep their own colour. */
:is(#__MTS, #__MTS3) :is(h1, h2, h3, h4, h5, h6, .font-heading, .accordian-item-title, .v5-pkg-modal-title, .v5-highlights-modal-title):not(.header--slider *):not(.v5-offer-details-bar *):not(.v5-highlights-card-title):not(.v5-highlights-card *):not(.v5-pkg-modal-title-overlay *):not(footer *) {
  color: #000000;
}
/* Headings on images (package-modal title overlay, highlight cards) — light text */
:is(#__MTS, #__MTS3) .v5-pkg-modal-title-overlay .v5-pkg-modal-title,
:is(#__MTS, #__MTS3) .v5-highlights-card-title {
  color: #FFFFFF !important;
}
/* Room names in #81413C (site's room cards use this colour for the room title) */
:is(#__MTS, #__MTS3) .v5-offer-card-room-name,
:is(#__MTS, #__MTS3) .v5-offer-details-room-name {
  color: #81413C !important;
}
/* Detail text #81413C */
:is(#__MTS, #__MTS3) #v5-greeting-eyebrow,
:is(#__MTS, #__MTS3) #v5-packages-eyebrow,
:is(#__MTS, #__MTS3) .v5-offer-card-date,
:is(#__MTS, #__MTS3) .v5-rate-option-booking-terms,
:is(#__MTS, #__MTS3) .v5-rate-option-cancellation,
:is(#__MTS, #__MTS3) .v5-offer-details-amenities-title {
  color: #81413C !important;
}
:is(#__MTS, #__MTS3) #v5-greeting-message,
:is(#__MTS, #__MTS3) .accordian-body,
:is(#__MTS, #__MTS3) .accordian-item-content,
:is(#__MTS, #__MTS3) .v5-offer-details-amenity-item,
:is(#__MTS, #__MTS3) .v5-offer-details-feature-item,
:is(#__MTS, #__MTS3) .v5-offer-details-description p,
:is(#__MTS, #__MTS3) .v5-highlights-modal-description p,
:is(#__MTS, #__MTS3) .v5-highlights-modal-description li {
  color: #000000 !important;
}
:is(#__MTS, #__MTS3) .v5-rate-option-package-badge {
  border-color: #81413C !important;
}
/* Greeting divider lines beside the hotel name — STANDARD, never omit (rules §10). The widget draws
   them with bg-secondary (= colors.surface, i.e. usually the greeting background) at opacity 0.4,
   so they vanish. Always paint them in #81413C at full opacity. */
:is(#__MTS, #__MTS3) #v5-greeting-divider > :not(.v5-greeting-divider-text) {
  background-color: #81413C !important;
  opacity: 1 !important;
}
:is(#__MTS, #__MTS3) .v5-offer-card-recommended-badge {
  display: none !important;
}
/* "From · 4 nights" label: its flex box is narrower than the text on tablets */
:is(#__MTS, #__MTS3) .v5-offer-card-price-label {
  white-space: nowrap;
  width: max-content;
}
/* "2 rooms" badge: widget renders white text on bg-label (light) → unreadable */
:is(#__MTS, #__MTS3) .v5-offer-card-room-count {
  background-color: #F0EBE7 !important;
  color: #000000 !important;
}

/* ── Desktop gutter ──────────────────────────────────────────────────── */
/* Widget sections use a 24px gutter, navbar/accordion/footer 32px → content edges
   don't line up from 1024px. Align the widget containers to the same gutter. */
@media screen and (min-width: 1024px) {
  :is(#__MTS, #__MTS3) [data-v5-widget] .max-w-7xl.mx-auto {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

/* ── Greeting — template salutation ──────────────────────────────────── */
/* Salutations written in the CMS templates carry .salutation-heading. Style them exactly like the
   widget's greeting name (same variables, so the breakpoints apply). The widget's own name row is
   hidden with the RP prop hideGreetingName, not here (profile.greeting.hideNameWithSalutation: true
   adds a CSS fallback). */
:is(#__MTS, #__MTS3) .salutation-heading {
  font-family: var(--fontFamily-heading) !important;
  font-size: var(--fontSize-heading-base) !important;
  font-weight: var(--fontWeight-heading) !important;
  line-height: var(--lineHeight-heading) !important;
  color: #000000 !important;
  margin: 0 0 calc(var(--fontSize-base) * 2) 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
:is(#__MTS, #__MTS3) .v5-offer-card-toggle-btn,
:is(#__MTS, #__MTS3) [id^="v5-offer-details-book-btn"],
:is(#__MTS, #__MTS3) #enquiry-btn,
:is(#__MTS, #__MTS3) #book-btn {
  font-family: var(--fontFamily-button);
  text-transform: uppercase;
  letter-spacing: normal;
}
:is(#__MTS, #__MTS3) .v5-offer-card-toggle-btn {
  font-size: var(--fontSize-button-base);
  color: #000000 !important;
  border-color: #000000;
}

/* ── Booking bar (offer details) ─────────────────────────────────────── */
:is(#__MTS, #__MTS3) .v5-offer-details-bar {
  background-color: #81413C;
}
:is(#__MTS, #__MTS3) .v5-offer-details-bar-price,
:is(#__MTS, #__MTS3) .v5-offer-details-bar-price + span,
:is(#__MTS, #__MTS3) .v5-offer-details-bar-summary,
:is(#__MTS, #__MTS3) .v5-offer-details-bar .text-white\/50,
:is(#__MTS, #__MTS3) .v5-offer-details-close-btn {
  color: #FFFFFF !important;
}
:is(#__MTS, #__MTS3) .v5-offer-details-book-btn,
:is(#__MTS, #__MTS3) .v5-offer-details-book-btn:hover,
:is(#__MTS, #__MTS3) #book-btn,
:is(#__MTS, #__MTS3) #book-btn:hover {
  background-color: #F0EBE7 !important;
  border-color: #F0EBE7 !important;
  color: #81413C !important;
  transform: none !important;
}
/* No-request / not-found page CTAs: "Request" = site primary button, "Book" (above) = site book button */
:is(#__MTS, #__MTS3) #enquiry-btn {
  background-color: #81413C !important;
  border-color: #81413C !important;
  color: #FFFFFF !important;
}
:is(#__MTS, #__MTS3) #enquiry-btn:hover {
  background-color: #552824 !important;
}
:is(#__MTS, #__MTS3) .v5-offer-details-book-btn > .absolute {
  display: none !important;
}
@media screen and (max-width: 767px) {
  :is(#__MTS, #__MTS3) .v5-offer-details-close-btn {
    font-size: 12px;
  }
  :is(#__MTS, #__MTS3) .v5-offer-details-bar > div > div {
    align-items: flex-start;
  }
}

/* ── Footer ──────────────────────────────────────────────────────────── */
:is(#__MTS, #__MTS3) footer,
:is(#__MTS, #__MTS3) .footer-block {
  background-color: #81413C !important; /* footer sets its bg inline on some layouts */
}
:is(#__MTS, #__MTS3) .contact-title,
:is(#__MTS, #__MTS3) .social-title {
  color: #FFFFFF;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0px;
  line-height: 1.5;
}
:is(#__MTS, #__MTS3) .contact-number,
:is(#__MTS, #__MTS3) .contact-email,
:is(#__MTS, #__MTS3) .footer-address,
:is(#__MTS, #__MTS3) .footer-contact-details a,
:is(#__MTS, #__MTS3) .footer-contact-details p > span,
:is(#__MTS, #__MTS3) .copyright-section span,
:is(#__MTS, #__MTS3) .copyright-section a,
:is(#__MTS, #__MTS3) .powered-by {
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1.5;
}
/* Social icons: #FFFFFF → #FFFFFF on hover (img SVGs, recoloured by filter) */
footer .social-icon {
  border: 0;
  height: auto;
  align-self: auto;
  background-color: transparent !important;
}
footer .social-icon img {
  width: 25px !important;  /* LP default is 18px — too small */
  height: 25px !important;
  filter: brightness(0) invert(100%);
  transition: filter 0.3s ease-in-out;
}
footer .social-icon:hover img {
  filter: brightness(0) invert(100%);
}

/* ── Responsive typography (footer + widget elements props cannot size) ──── */
:is(#__MTS, #__MTS3) .contact-title,
  :is(#__MTS, #__MTS3) .social-title { font-size: 20px; }
:is(#__MTS, #__MTS3) .contact-number, :is(#__MTS, #__MTS3) .contact-email, :is(#__MTS, #__MTS3) .footer-address, :is(#__MTS, #__MTS3) .footer-contact-details a, :is(#__MTS, #__MTS3) .copyright-section span, :is(#__MTS, #__MTS3) .powered-by { font-size: 20px; }
:is(#__MTS, #__MTS3) .v5-summary-value { font-size: 28px; }
:is(#__MTS, #__MTS3) .v5-offer-card-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-rates-heading { font-size: 30px; }
:is(#__MTS, #__MTS3) .v5-pkg-modal-title, :is(#__MTS, #__MTS3) .v5-highlights-modal-title { font-size: 40px; }
:is(#__MTS, #__MTS3) .v5-offer-details-bar-price { font-size: 30px; }

@media screen and (max-width: 1199px) {
  :is(#__MTS, #__MTS3) .contact-title,
  :is(#__MTS, #__MTS3) .social-title { font-size: 18.4px; }
  :is(#__MTS, #__MTS3) .contact-number, :is(#__MTS, #__MTS3) .contact-email, :is(#__MTS, #__MTS3) .footer-address, :is(#__MTS, #__MTS3) .footer-contact-details a, :is(#__MTS, #__MTS3) .copyright-section span, :is(#__MTS, #__MTS3) .powered-by { font-size: 18.4px; }
  :is(#__MTS, #__MTS3) .v5-summary-value { font-size: 24px; }
  :is(#__MTS, #__MTS3) .v5-offer-card-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-rates-heading { font-size: 28.7px; }
  :is(#__MTS, #__MTS3) .v5-pkg-modal-title, :is(#__MTS, #__MTS3) .v5-highlights-modal-title { font-size: 36px; }
  :is(#__MTS, #__MTS3) .v5-offer-details-bar-price { font-size: 28.7px; }
}

@media screen and (max-width: 1023px) {
  :is(#__MTS, #__MTS3) .contact-title,
  :is(#__MTS, #__MTS3) .social-title { font-size: 16px; }
  :is(#__MTS, #__MTS3) .contact-number, :is(#__MTS, #__MTS3) .contact-email, :is(#__MTS, #__MTS3) .footer-address, :is(#__MTS, #__MTS3) .footer-contact-details a, :is(#__MTS, #__MTS3) .copyright-section span, :is(#__MTS, #__MTS3) .powered-by { font-size: 16px; }
  :is(#__MTS, #__MTS3) .v5-summary-value { font-size: 20px; }
  :is(#__MTS, #__MTS3) .v5-offer-card-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-rates-heading { font-size: 21.5px; }
  :is(#__MTS, #__MTS3) .v5-pkg-modal-title, :is(#__MTS, #__MTS3) .v5-highlights-modal-title { font-size: 28px; }
  :is(#__MTS, #__MTS3) .v5-offer-details-bar-price { font-size: 21.5px; }
}

@media screen and (max-width: 767px) {
  :is(#__MTS, #__MTS3) .v5-offer-card-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-room-name, :is(#__MTS, #__MTS3) .v5-offer-details-rates-heading { font-size: 20px; }
  :is(#__MTS, #__MTS3) .v5-pkg-modal-title, :is(#__MTS, #__MTS3) .v5-highlights-modal-title { font-size: 24px; }
  :is(#__MTS, #__MTS3) .v5-offer-details-bar-price { font-size: 20px; }
}

/* ── Mobile detail text ──────────────────────────────────────────────── */
@media screen and (max-width: 767px) {
  :is(#__MTS, #__MTS3) .v5-offer-details-amenity-item,
  :is(#__MTS, #__MTS3) .v5-offer-details-feature-item,
  :is(#__MTS, #__MTS3) .v5-offer-details-description p,
  :is(#__MTS, #__MTS3) .v5-highlights-modal-description p,
  :is(#__MTS, #__MTS3) .v5-highlights-modal-description li,
  :is(#__MTS, #__MTS3) .v5-offer-card-room-meta,
  :is(#__MTS, #__MTS3) .v5-rate-option-name {
    font-size: 16px !important;
  }
  /* 2-room cards: two narrow columns → smaller names (never split mid-word) */
  :is(#__MTS, #__MTS3) .v5-offer-card .flex-1.min-w-0 > .v5-offer-card-room-name {
    font-size: 16px !important;
  }
  :is(#__MTS, #__MTS3) .accordian-item-content p {
    line-height: 1.4;
  }
}

/* ── Rich text + popups (standard) ───────────────────────────────────── */
.v5-highlights-modal-description ul, .v5-highlights-modal-description ol { padding-left: 1.5em; margin: 0.75em 0; }
.v5-highlights-modal-description ul { list-style-type: disc; }
.v5-highlights-modal-description ol { list-style-type: decimal; }
.v5-highlights-modal-description li { margin: 0.25em 0; }
.accordian-item-content ul { margin: 10px 0; list-style: disc inside; }
.accordian-item-content ul li { padding: 5px 0; }
.v5-rate-option-cancellation-popup .v5-rate-option-popup-arrow { right: 6px !important; }
.v5-rate-option-booking-terms-popup .v5-rate-option-popup-arrow { right: 18px !important; }
.v5-rate-option-cancellation-popup-body,
.v5-rate-option-booking-terms-popup { right: -10px !important; position: relative; }

/* ── Type scale per breakpoint (mirrors pagetree-styles.json breakpoints) ──── */
@media screen and (min-width: 1px) and (max-width: 1199px) {
  html,
  #recommended [data-v5-widget] {
    --fontSize-heading: 41px !important;
    --fontSize-heading-base: 41px !important;
    --fontSize-subHeading: 28.7px !important;
    --fontSize-subHeading-base: 28.7px !important;
    --fontSize-title-base: 18.4px !important;
    --fontSize-body: 18.4px !important;
    --fontSize-body-base: 18.4px !important;
  }
}
@media screen and (min-width: 1px) and (max-width: 1023px) {
  html,
  #recommended [data-v5-widget] {
    --fontSize-heading: 30.7px !important;
    --fontSize-heading-base: 30.7px !important;
    --fontSize-subHeading: 21.5px !important;
    --fontSize-subHeading-base: 21.5px !important;
    --fontSize-title-base: 18px !important;
    --fontSize-body: 16px !important;
    --fontSize-body-base: 16px !important;
  }
}
@media screen and (min-width: 1px) and (max-width: 767px) {
  html,
  #recommended [data-v5-widget] {
    --fontSize-heading: 28px !important;
    --fontSize-heading-base: 28px !important;
    --fontSize-subHeading: 20px !important;
    --fontSize-subHeading-base: 20px !important;
    --fontSize-button-base: 15px !important;
    --fontSize-label-base: 12px !important;
    --fontSize-titleXSmall: 12px !important;
    --fontSize-titleXSmall-base: 12px !important;
  }
}

/* ── Narrow phones (<390px) and long words ───────────────────────────── */
/* Long words (e.g. "Zusammenfassung") must never overflow or split mid-word:
   hyphenate at syllables, and scale display sizes down on very narrow screens. */
:is(#__MTS, #__MTS3) :is(h1, h2, h3, h4, .v5-offer-card-room-name, .v5-offer-details-room-name, .salutation-heading) {
  overflow-wrap: break-word;
  hyphens: auto;
  word-break: normal;
}
@media screen and (max-width: 389px) {
  html,
  #recommended [data-v5-widget] {
    --fontSize-heading: 22px !important;
    --fontSize-heading-base: 22px !important;
    --fontSize-subHeading: 16px !important;
    --fontSize-subHeading-base: 16px !important;
    --fontSize-title-base: 14px !important;
  }
}

/* >>> CLIENT CUSTOM — hand-written rules, preserved by `lp.mjs build` */
/* Eyebrows = site eyebrow ("HOSPIZ PASSO GARDENA"): 20px desktop, 15px from 1199 down.
   RP fontSize-*Eyebrow is one value (no breakpoints) and inline → CSS with !important. */
:is(#__MTS, #__MTS3) #v5-greeting-eyebrow,
:is(#__MTS, #__MTS3) #v5-packages-eyebrow {
  font-size: 20px !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-transform: uppercase;
}
/* Packages subtitle: has text-label, which pins it to the 13px label size → body size */
:is(#__MTS, #__MTS3) #v5-packages-eyebrow ~ p {
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: #000000 !important; /* paragraph → text colour, not the accent detail colour */
}
/* Footer legal row = site bottom row: 15px / 13.5px, full white (LP has opacity-80) */
:is(#__MTS, #__MTS3) .copyright-section { opacity: 1; }
:is(#__MTS, #__MTS3) .copyright-section span,
:is(#__MTS, #__MTS3) .copyright-section a,
:is(#__MTS, #__MTS3) .powered-by {
  font-size: 15px !important;
}
@media screen and (max-width: 1199px) {
  :is(#__MTS, #__MTS3) #v5-greeting-eyebrow,
  :is(#__MTS, #__MTS3) #v5-packages-eyebrow { font-size: 15px !important; }
  :is(#__MTS, #__MTS3) #v5-packages-eyebrow ~ p { font-size: 18.4px !important; }
}
@media screen and (max-width: 767px) {
  :is(#__MTS, #__MTS3) #v5-packages-eyebrow ~ p { font-size: 16px !important; }
  :is(#__MTS, #__MTS3) .copyright-section span,
  :is(#__MTS, #__MTS3) .copyright-section a,
  :is(#__MTS, #__MTS3) .powered-by { font-size: 13.5px !important; }
}
/* Alternative-message box #F0EBE7 (user request). The widget sets the background INLINE from
   --altMessage-backgroundColor (RP prop, also #F0EBE7), so a CSS override needs !important.
   Also covers older DB values until the new JSON is uploaded. */
:is(#__MTS, #__MTS3) .v5-alt-message-inner {
  background-color: #F0EBE7 !important;
}
/* <<< END CLIENT CUSTOM */
