/* Measured against Full.pdf (1512px artboard, 100px gutters).
 * Existing Drupal controls and dynamic route prices remain authoritative. */
body.path-frontpage { --wp-home-blue: #2498db; --wp-home-blue-dark: #235779; }
body.path-frontpage .wp-homepage { font-family: "Open Sans", Arial, sans-serif; }
body.path-frontpage .wp-home-section-inner { max-width: 1360px; padding-inline: 24px; }
body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area {
  background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),url("../img/figma/hero-desktop.webp") !important;
  background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),image-set(url("../img/figma/hero-desktop.webp") 1x,url("../img/figma/hero-desktop-2x.webp") 2x) !important;
  background-position: center 53%; min-height: 360px; padding: 128px 24px 0 !important;
}
body.path-frontpage .wp-homepage .booking_center { max-width: 1312px; }
body.path-frontpage .wp-homepage .wp-homepage-heading { margin: 0 auto 86px; max-width: none; }
body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area .wp-homepage-heading h1 { font-size: 36px; font-weight: 400 !important; line-height: 1.35; text-align: center !important; margin: 0; }
body.path-frontpage .wp-homepage #itinerary.card { padding: 16px 22px; border-radius: 50px; transform: translateY(24px); }
body.path-frontpage .wp-homepage #itinerary.card { align-items: start; }
body.path-frontpage .wp-homepage #itinerary .faresearch-form-left > div,
body.path-frontpage .wp-homepage #itinerary .passengers_toggle_group,
body.path-frontpage .wp-homepage #itinerary .faresearch-form-right { border-right: 0 !important; }
body.path-frontpage .wp-homepage #faresearch-left-departure,
body.path-frontpage .wp-homepage #faresearch-right-arrival { border-bottom: 0 !important; margin-bottom: 0 !important; }
body.path-frontpage .wp-homepage #faresearch .inputs,
body.path-frontpage .wp-homepage #faresearch .departure_date,
body.path-frontpage .wp-homepage .passengers_toggle_slide .passenger_toggle { border: 0 !important; border-bottom: 0 !important; }
body.path-frontpage .wp-homepage .passengers_toggle_group,
body.path-frontpage .wp-homepage .passengers_toggle_slide,
body.path-frontpage .wp-homepage .passengers_toggle_slide .passenger_toggle { border-bottom: 0 !important; }
body.path-frontpage .wp-homepage #faresearch .inputs:focus,
body.path-frontpage .wp-homepage #faresearch .departure_date:focus { box-shadow: 0 0 0 2px rgba(34,138,205,.2); }
@media (hover: hover) {
  body.path-frontpage .wp-homepage #faresearch .inputs:hover,
  body.path-frontpage .wp-homepage #faresearch .departure_date:hover,
  body.path-frontpage .wp-homepage .passengers_toggle_slide .passenger_toggle:hover {
    background-color: rgba(34, 138, 205, .08) !important;
  }
}
@media (max-width: 767px) {
  body.path-frontpage .wp-homepage #faresearch .inputs,
  body.path-frontpage .wp-homepage #faresearch .departure_date,
  body.path-frontpage .wp-homepage .passengers_toggle_slide .passenger_toggle {
    border: 1px solid rgba(35, 87, 121, .22) !important;
    border-radius: 6px;
  }
}
body.path-frontpage .wp-homepage #faresearch .submit-button { align-self: start; margin-top: 21px !important; }
body.path-frontpage .wp-homepage #swapbutton { top: 45px; transform: translate(-50%, -50%) rotate(90deg); }
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #itinerary.card { align-items: center; }
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #faresearch .submit-button {
  align-self: center !important;
  height: 48px;
  margin-top: 0 !important;
  min-height: 48px;
}
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #submitButton {
  height: 48px !important;
  min-height: 48px !important;
  transform: none;
}
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #swapbutton {
  top: 28px !important;
  transform: translate(-50%, -50%) rotate(90deg);
}
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #faresearch-left-departure,
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #faresearch-right-arrival,
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky .passengers_toggle_group,
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky .faresearch-form-right { border: 0 !important; }
body.path-frontpage .wp-homepage .passengers_toggle_group { position: relative; }
body.path-frontpage .wp-homepage #passengers_toggle_panel {
  background: #fff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(36,37,61,.18) !important;
  height: auto !important;
  left: 0 !important;
  padding: 16px !important;
  top: calc(100% + 10px) !important;
  width: 260px !important;
  z-index: 12020 !important;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .passengers_group,
body.path-frontpage .wp-homepage #passengers_toggle_panel .fields { float: none; margin: 0; width: 100%; }
body.path-frontpage .wp-homepage #passengers_toggle_panel .fields { display: grid; gap: 14px; }
body.path-frontpage .wp-homepage #passengers_toggle_panel .passenger_selector {
  align-items: center;
  display: flex;
  font-size: 14px;
  height: 36px;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  width: 100%;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .passenger_label,
body.path-frontpage .wp-homepage #passengers_toggle_panel .passenger_child_label {
  align-items: center;
  color: var(--wp-home-ink);
  display: inline-flex !important;
  font-size: 14px;
  margin: 0;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .ui-spinner {
  align-items: center;
  display: inline-flex;
  float: none;
  height: 36px;
  width: 76px;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .ui-spinner-input {
  box-sizing: border-box;
  float: none;
  height: 36px;
  margin: 0;
  padding: 7px 28px 7px 10px;
  text-align: left;
  width: 76px;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .ui-spinner-button {
  height: 18px;
  line-height: 18px;
  right: 0;
  width: 22px;
}
body.path-frontpage .wp-homepage #passengers_toggle_panel .passengers_divider { display: none; }
body.path-frontpage .wp-homepage #itinerary #submitButton { background: #ec005e !important; border-radius: 32px !important; }
body.path-frontpage .wp-homepage #itinerary .faresearch-form-left > div,
body.path-frontpage .wp-homepage #itinerary .passengers_toggle_group,
body.path-frontpage .wp-homepage #itinerary .faresearch-form-right { padding: 4px 12px; }
body.path-frontpage .wp-homepage .booking_panel_top.wp-home-booking-is-sticky #itinerary.card { transform: none; }
body.path-frontpage .wp-home-benefits { padding: 66px 0 44px; }
body.path-frontpage .wp-home-benefits h2 { text-align: center; font-size: 30px; font-weight: 400; margin: 0 0 32px; }
body.path-frontpage .wp-home-benefits__grid article { text-align: center; border: 0; min-height: 100px; padding: 0 18px; }
body.path-frontpage .wp-home-benefits__icon { display: block; float: none; height: 32px; margin: 0 auto 8px; object-fit: contain; width: 32px; }
body.path-frontpage .wp-home-benefits__grid h3 { margin: 0 0 6px; }
body.path-frontpage .wp-home-routes,
body.path-frontpage .wp-home-experiences,
body.path-frontpage .wp-home-faq,
body.path-frontpage .wp-home-articles,
body.path-frontpage .wp-home-guides { background: #f3f3f6; padding: 48px 0; }
body.path-frontpage .wp-home-section-title { gap: 20px; margin-bottom: 24px; }
body.path-frontpage .wp-home-section-title h2,
body.path-frontpage .wp-home-guides h2 { font-size: 30px; font-weight: 400; line-height: 1.3; margin: 0; }
body.path-frontpage .wp-home-route-tabs button { background: white; color: #2498db; font-size: 14px; padding: 8px 18px; }
body.path-frontpage .wp-home-route-tabs li.active button { background: #235779; border-color: #235779; color: white; }
body.path-frontpage .wp-home-routes .pr-sliders { background: transparent; }
body.path-frontpage .wp-home-routes .popular-train-routes { width: calc(100% + 24px); }
body.path-frontpage .wp-home-routes .popular-train-routes .slick-slide { margin: 0 !important; }
body.path-frontpage .wp-home-routes .pr-teaser { min-height: 0; border: 1px solid #e4e4e7; box-shadow: none; position: relative; }
body.path-frontpage .wp-home-routes .pr-image { height: 160px; width: 100%; max-width: none; }
body.path-frontpage .wp-home-routes a[href$="/rome-to-florence"] .pr-image { background: url("../img/figma/route-florence.webp") center/cover; }
body.path-frontpage .wp-home-routes a[href$="/rome-to-venice"] .pr-image { background: url("../img/figma/route-venice.webp") center/cover; }
body.path-frontpage .wp-home-routes a[href$="/rome-to-salerno"] .pr-image { background: url("../img/figma/route-salerno.webp") center/cover; }
body.path-frontpage .wp-home-routes a[href$="/rome-to-florence"] .pr-image img,
body.path-frontpage .wp-home-routes a[href$="/rome-to-venice"] .pr-image img,
body.path-frontpage .wp-home-routes a[href$="/rome-to-salerno"] .pr-image img { opacity: 0; }
body.path-frontpage .wp-home-routes .pr-info { display: flow-root; width: 100%; max-width: none; padding: 14px 12px; }
body.path-frontpage .wp-home-routes .wp-route-title { position: absolute; bottom: 100%; left: 0; width: 100%; padding: 24px 10px 10px; margin: 0; color: white; background: linear-gradient(transparent,rgba(18,19,31,.8)); font-size: 16px; }
body.path-frontpage .wp-home-routes .pr-info .price.exchange { color: #24253d; float: right !important; text-align: right; }
body.path-frontpage .wp-home-community { padding: 48px 24px; }
body.path-frontpage .wp-home-community .wp-home-section-inner { max-width: 1312px; border: 1px solid #e4e4e7; border-radius: 32px; padding: 32px; isolation: isolate; }
body.path-frontpage .wp-home-community .wp-home-section-inner::before,
body.path-frontpage .wp-home-community .wp-home-section-inner::after { width: 170px; height: 350px; right: -75px; top: -60px; border-radius: 45%; background: rgba(16,177,159,.11); transform: rotate(-38deg); z-index: -1; }
body.path-frontpage .wp-home-community .wp-home-section-inner::after { top: -5px; transform: rotate(38deg); }
body.path-frontpage .wp-home-community h2 { color: #009e91; font-size: 30px; line-height: 1.4; font-weight: 400; margin: 0 0 24px; }
body.path-frontpage .figma-pass-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 28px; list-style: none; padding: 0; margin: 0 0 28px; }
body.path-frontpage .figma-pass-benefits li { display: flex; gap: 10px; color: #585a69; font-size: 15px; line-height: 1.5; min-width: 0; }
body.path-frontpage .figma-pass-benefits li span,
body.path-frontpage .figma-pass-benefits li img { color: #009e91; flex: 0 0 16px; height: 16px; object-fit: contain; width: 16px; }
body.path-frontpage .figma-pass-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body.path-frontpage .figma-pass-footer > a { color: #2498db; font-weight: 600; }
body.path-frontpage .figma-pass-footer .figma-pass-button { background: #ec005e; color: white; border-radius: 28px; padding: 14px 28px; text-decoration: none; }
body.path-frontpage .wp-home-tour-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
body.path-frontpage .wp-home-experience { box-shadow: none; border: 1px solid #e4e4e7; }
body.path-frontpage .wp-home-experience__media { height: 160px; position: relative; }
body.path-frontpage .wp-home-experience__media h3 { position: absolute; inset: auto 0 0; color: white; background: linear-gradient(transparent,rgba(18,19,31,.85)); padding: 28px 10px 12px; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 400; }
body.path-frontpage .wp-home-experience__body { flex-direction: row; justify-content: space-between; gap: 10px; padding: 14px 12px; color: #91929e; font-size: 13px; }
body.path-frontpage .wp-home-experience__body strong { font-size: 13px; }
body.path-frontpage .wp-home-faq__layout { grid-template-columns: minmax(0,2.1fr) minmax(280px,1fr); align-items: stretch; gap: 32px; }
body.path-frontpage .wp-home-faq details { background: transparent; padding: 0 16px; border-bottom: 1px solid #c8c8ce; border-radius: 0; }
body.path-frontpage .wp-home-faq details:first-of-type { border-top: 1px solid #c8c8ce; }
body.path-frontpage .wp-home-faq summary { padding-block: 23px; }
body.path-frontpage .figma-review { border-radius: 32px; background: white; border: 1px solid #e4e4e7; padding: 30px; display: flex; flex-direction: column; }
body.path-frontpage .figma-review-stars { color: #ffb600; font-size: 22px; display: flex; justify-content: space-between; gap: 12px; }
body.path-frontpage .figma-review-stars > span { color: #24253d; font-weight: bold; font-size: 20px; }
body.path-frontpage .figma-review-stars > span span { color: #ffb600; }
body.path-frontpage .figma-review h3 { color: #009e91; font-weight: 400; font-size: 28px; line-height: 1.25; margin: 12px 0; }
body.path-frontpage .figma-review blockquote { font-size: 15px; border: 0; padding: 0; margin: 0 0 24px; line-height: 1.6; }
body.path-frontpage .figma-review blockquote footer { color: #585a69; margin-top: 16px; }
body.path-frontpage .figma-review blockquote footer::before { content: none; }
body.path-frontpage .figma-review { align-self: start; min-width: 0; overflow: hidden; }
body.path-frontpage .figma-review.is-carousel .figma-review-slides { display: grid; }
body.path-frontpage .figma-review.is-carousel .figma-review-slide { grid-area: 1 / 1; min-width: 0; }
body.path-frontpage .figma-review.is-carousel .figma-review-slide[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
body.path-frontpage .figma-review-link { margin-top: auto; padding: 0 0 20px; color: #007db5; font-size: 13px; }
body.path-frontpage .figma-review-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -30px -30px; padding: 22px 30px; background: #24253d; color: white; border-radius: 0 0 32px 32px; }
body.path-frontpage .figma-review-controls[hidden] { display: none; }
body.path-frontpage .figma-review-controls button { appearance: none; border: 0; cursor: pointer; padding: 0; }
body.path-frontpage .figma-review-prev,
body.path-frontpage .figma-review-next { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #414257; color: white; font-size: 22px; line-height: 1; }
body.path-frontpage .figma-review-pagination { display: flex; align-items: center; justify-content: center; }
body.path-frontpage .figma-review-pagination button { display: grid; place-items: center; width: 24px; height: 44px; background: transparent; }
body.path-frontpage .figma-review-pagination button::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 8px; background: #91929e; }
body.path-frontpage .figma-review-pagination button[aria-current="true"]::before { width: 22px; background: white; }
body.path-frontpage .figma-review-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.path-frontpage .figma-review-prev:hover,
body.path-frontpage .figma-review-next:hover { background: #5a5c76; }
body.path-frontpage .wp-home-image-card { box-shadow: none; border: 1px solid #e4e4e7; }
body.path-frontpage .wp-home-image-card__media { height: 160px; }
body.path-frontpage .wp-home-image-card__body { text-align: center; }
body.path-frontpage .figma-newsletter-section { background: #f3f3f6; padding: 48px 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 20px 40px; min-height: 180px; padding: 40px 48px; border-radius: 32px; box-shadow: none; background: #24253d; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 { color: #10b19f; font-size: 36px; font-weight: 400; margin: 0; line-height: 1.3; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__form { display: contents; margin: 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent { grid-column: 1; grid-row: 2; align-items: center; margin: 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-column: 2; grid-row: 1 / 3; align-self: center; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__status { grid-column: 2; grid-row: 3; }
body.path-frontpage .wp-home-newsletter__consent input { appearance: auto !important; display: inline-block !important; position: static !important; opacity: 1 !important; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-template-columns: minmax(0,1fr) auto; gap: 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button { background: #ec005e; border-radius: 0 4px 4px 0; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input { border-radius: 4px 0 0 4px; min-width: 0; }
body.path-frontpage .wp-home-guides h2 { margin-bottom: 24px; }
body.path-frontpage .wp-home-guides__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
body.path-frontpage .wp-home-guides__grid > a { background: white; flex-direction: column; align-items: flex-start; gap: 10px; box-shadow: none; padding: 24px; }
body.path-frontpage .wp-home-guides__grid img { width: 72px; height: 72px; }
body.path-frontpage .wp-home-guides__grid strong { font-size: 28px; font-weight: 400; color: #008576; }
body.path-frontpage .footer { background: #24253d; content-visibility: visible; contain-intrinsic-size: none; }
body.path-frontpage .footer > .region-footer > .container { max-width: 1360px; width: 100%; padding: 48px 24px; }
body.path-frontpage .footer_text_title { color: #10b19f; }
body.path-frontpage .footer_top { padding: 0; }
/* The homepage has its own consent-enabled newsletter banner above the guides. */
body.path-frontpage .footer #block-italianewslettersubscriptionblock { display: none; }
body.path-frontpage .footer .footer_img { width: 150px; height: auto; opacity: .55; }
body.path-frontpage a:focus-visible,body.path-frontpage button:focus-visible { outline: 3px solid #2498db; outline-offset: 3px; }
@media (min-width: 1100px) {
  body.path-frontpage .wp-home-routes .wp-home-section-inner { position: relative; }
  body.path-frontpage .wp-home-routes .wp-home-section-title { padding-right: 450px; }
  body.path-frontpage .wp-home-routes .wp-home-section-title > a { position: absolute; right: 24px; top: 12px; }
  body.path-frontpage .wp-home-route-tabs { position: absolute; right: 115px; top: 0; }
}
@media (max-width: 1100px) {
  body.path-frontpage .figma-pass-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.path-frontpage .wp-home-tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter { padding: 32px; grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area { padding: 110px 16px 32px !important; min-height: 0; }
  body.path-frontpage .wp-homepage .wp-homepage-heading { margin-bottom: 32px; }
  body.path-frontpage .wp-homepage .wp-homepage-heading h1 { font-size: 30px; }
  body.path-frontpage .wp-homepage #itinerary.card { transform: none; border-radius: 24px; padding: 20px; }
  body.path-frontpage .wp-home-benefits { padding: 36px 0; }
  body.path-frontpage .wp-home-benefits__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.path-frontpage .wp-home-faq__layout { grid-template-columns: 1fr; }
  body.path-frontpage .wp-home-faq__questions { order: 0; }
  body.path-frontpage .wp-home-guides__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body.path-frontpage .wp-home-section-inner { padding-inline: 16px; }
  body.path-frontpage .wp-homepage #itinerary.card { display: grid; grid-template-columns: 1fr; padding: 20px 16px; gap: 16px; }
  body.path-frontpage .wp-homepage #itinerary .faresearch-form-left { grid-template-columns: 1fr; gap: 16px; }
  body.path-frontpage .wp-homepage #itinerary .faresearch-form-left > div,
  body.path-frontpage .wp-homepage #itinerary .passengers_toggle_group,
  body.path-frontpage .wp-homepage #itinerary .faresearch-form-right { padding: 0; border: 0; width: 100%; }
  body.path-frontpage .wp-homepage #itinerary .submit-button { padding: 0; }
  body.path-frontpage .wp-homepage #faresearch .submit-button { margin-top: 0 !important; }
  body.path-frontpage .wp-homepage #swapbutton { top: 45px; }
  body.path-frontpage .wp-homepage #passengers_toggle_panel {
    left: 0 !important;
    width: 100% !important;
  }
  body.path-frontpage .wp-home-benefits__grid { grid-template-columns: 1fr; gap: 24px; }
  body.path-frontpage .wp-home-benefits__grid article { min-height: 0; }
  body.path-frontpage .wp-home-community { padding: 24px 16px; }
  body.path-frontpage .wp-home-community .wp-home-section-inner { padding: 24px; border-radius: 24px; }
  body.path-frontpage .wp-home-community h2,body.path-frontpage .wp-home-section-title h2,body.path-frontpage .wp-home-guides h2 { font-size: 25px; }
  body.path-frontpage .figma-pass-benefits { grid-template-columns: 1fr; gap: 12px; }
  body.path-frontpage .figma-pass-footer { flex-wrap: wrap; }
  body.path-frontpage .wp-home-tour-grid { grid-template-columns: 1fr; }
  body.path-frontpage .wp-home-experience__media { height: 210px; }
  body.path-frontpage .wp-home-section-title { align-items: center; gap: 12px; }
  body.path-frontpage .wp-home-section-title > a { font-size: 13px; flex-shrink: 0; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter { padding: 28px 24px; border-radius: 24px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 { font-size: 28px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent { grid-column: 1; grid-row: 2; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-template-columns: 1fr; gap: 10px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input,
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button { border-radius: 4px; }
  body.path-frontpage .wp-home-guides__grid > a { padding: 16px; }
  body.path-frontpage .wp-home-guides__grid strong { font-size: 23px; }
}

/* Keep the homepage newsletter layout isolated from legacy form rules. */
body.path-frontpage .figma-newsletter-section .wp-home-newsletter {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 40px !important;
  row-gap: 16px !important;
  min-height: 180px !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__form {
  display: contents !important;
  margin: 0 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent {
  display: flex !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent input {
  display: inline-block !important;
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  opacity: 1 !important;
  appearance: auto !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields {
  display: grid !important;
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  grid-template-columns: minmax(0, 1fr) 150px !important;
  align-self: center !important;
  width: 100% !important;
  gap: 0 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input,
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input {
  border-radius: 4px 0 0 4px !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button {
  border-radius: 0 4px 4px 0 !important;
  background: #ec005e !important;
}

body.path-frontpage .figma-newsletter-section .wp-home-newsletter__status {
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin: 8px 0 0 !important;
}

@media (max-width: 600px) {
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    row-gap: 16px !important;
  }

  body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2,
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent,
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields,
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__status {
    grid-column: 1 !important;
  }

  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent { grid-row: 2 !important; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields {
    grid-row: 3 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input,
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button {
    border-radius: 4px !important;
  }
}

/* October 28 reference: three-card rows and the illustrated ItaliaPass panel. */
body.path-frontpage .wp-home-benefits h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.path-frontpage .wp-home-benefits__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.path-frontpage .wp-home-tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.path-frontpage .wp-home-community .figma-pass-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  padding: 0;
  border-radius: 16px;
  background: #fff;
}
body.path-frontpage .wp-home-community .figma-pass-panel::before,
body.path-frontpage .wp-home-community .figma-pass-panel::after { content: none; }
body.path-frontpage .figma-pass-visual { position: relative; min-height: 410px; overflow: hidden; }
body.path-frontpage .figma-pass-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.path-frontpage .figma-pass-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,35,50,.4), transparent 55%); pointer-events: none; }
body.path-frontpage .figma-pass-intro { position: relative; z-index: 1; color: #fff; font-size: 23px; line-height: 1.4; margin: 30px; }
body.path-frontpage .figma-pass-rating { position: absolute; z-index: 1; bottom: 28px; left: 28px; right: 28px; background: #fff; border-radius: 8px; padding: 12px 14px; color: #24253d; font-size: 14px; box-shadow: 0 2px 8px #0002; }
body.path-frontpage .figma-pass-rating span { color: #ffb600; letter-spacing: 2px; }
body.path-frontpage .figma-pass-rating p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; }
body.path-frontpage .figma-pass-content { position: relative; isolation: isolate; overflow: hidden; padding: 32px; display: flex; flex-direction: column; }
body.path-frontpage .figma-pass-content::before,
body.path-frontpage .figma-pass-content::after { content: ""; position: absolute; pointer-events: none; z-index: -1; right: -80px; width: 150px; height: 360px; background: #e4f7f4; border-radius: 50%; transform: rotate(35deg); top: -80px; }
body.path-frontpage .figma-pass-content::after { top: 120px; transform: rotate(-35deg); }
body.path-frontpage .figma-pass-content h2 { font-size: 30px; line-height: 1.3; margin: 0 0 12px; }
body.path-frontpage .figma-pass-summary { font-size: 16px; line-height: 1.55; color: #585a69; margin: 0 0 26px; }
body.path-frontpage .figma-pass-content .figma-pass-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 30px; }
body.path-frontpage .figma-pass-content .figma-pass-benefits li { align-items: flex-start; gap: 12px; }
body.path-frontpage .figma-pass-benefits .figma-pass-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: #dff4f1; }
body.path-frontpage .figma-pass-benefits .figma-pass-icon img { width: 40px; height: 40px; flex: none; }
body.path-frontpage .figma-pass-benefits h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 4px; color: #24253d; }
body.path-frontpage .figma-pass-benefits p { font-size: 14px; line-height: 1.55; margin: 0; }
body.path-frontpage .figma-pass-content .figma-pass-footer { margin-top: auto; font-size: 14px; }
body.path-frontpage .figma-pass-button span { margin-left: 12px; }

/* Compact newsletter banner; decorative shapes stay behind the form. */
body.path-frontpage .figma-newsletter-section .wp-home-newsletter {
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  min-height: 180px !important;
  padding: 40px 48px;
  column-gap: 40px !important;
  row-gap: 10px !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
}
body.path-frontpage .figma-newsletter-section .wp-home-newsletter::before,
body.path-frontpage .figma-newsletter-section .wp-home-newsletter::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: 340px;
  height: 540px;
  right: 110px;
  top: -240px;
  border-radius: 48%;
  transform: rotate(-38deg);
  background: rgba(0,158,145,.14);
}
body.path-frontpage .figma-newsletter-section .wp-home-newsletter::after { top: -40px; right: 135px; transform: rotate(38deg); }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 { color: #10b1a2; font-size: 36px; font-weight: 400; line-height: 1.3; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__consent { font-size: 13px !important; font-weight: 400; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-template-columns: minmax(0, 1fr) 125px !important; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields input,
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields button { font-size: 14px; padding: 12px 14px; }
body.path-frontpage .figma-newsletter-section .wp-home-newsletter__status:empty { display: none; }
@media (max-width: 1100px) {
  body.path-frontpage .figma-pass-content { padding: 24px; }
  body.path-frontpage .figma-pass-content .figma-pass-benefits { gap: 20px 16px; }
  body.path-frontpage .figma-pass-benefits .figma-pass-icon { flex-basis: 48px; width: 48px; height: 48px; }
  body.path-frontpage .figma-pass-benefits .figma-pass-icon img { width: 32px; height: 32px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter { padding: 32px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 { font-size: 30px; }
}
@media (max-width: 800px) {
  body.path-frontpage .wp-home-community .figma-pass-panel { grid-template-columns: minmax(0, 1fr); }
  body.path-frontpage .figma-pass-visual { min-height: 340px; }
  body.path-frontpage .figma-pass-photo { object-position: center 60%; }
  body.path-frontpage .figma-pass-rating { max-width: 350px; }
  body.path-frontpage .wp-home-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto !important; gap: 18px !important; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-column: 1 !important; grid-row: 3 !important; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__status { grid-column: 1 !important; grid-row: 4 !important; }
}
@media (max-width: 600px) {
  body.path-frontpage .wp-home-benefits__grid,
  body.path-frontpage .wp-home-tour-grid { grid-template-columns: minmax(0, 1fr); }
  body.path-frontpage .figma-pass-content .figma-pass-benefits { grid-template-columns: minmax(0, 1fr); }
  body.path-frontpage .figma-pass-content h2 { font-size: 26px; }
  body.path-frontpage .figma-pass-intro { margin: 24px; }
  body.path-frontpage .figma-pass-rating { bottom: 24px; left: 24px; right: 24px; }
  body.path-frontpage .figma-pass-content .figma-pass-footer { align-items: flex-start; gap: 20px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter { padding: 28px 24px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter > h2 { font-size: 28px; }
  body.path-frontpage .figma-newsletter-section .wp-home-newsletter__fields { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
}
@media (min-width: 769px) {
  body.path-frontpage .wp-home-routes .pr-teaser { max-width: none; width: 100%; }
}
body.path-frontpage .wp-home-experience__body strong { flex: 0 0 auto; white-space: nowrap; }

/* Supplied artwork includes its circular background and fills the icon slot. */
body.path-frontpage .figma-pass-benefits .figma-pass-icon--supplied { background: transparent; }
body.path-frontpage .figma-pass-benefits .figma-pass-icon--supplied img { width: 100%; height: 100%; }

/* Offers follow the reference: image badge, centered title, separate CTA row. */
body.path-frontpage .wp-home-offer { border-radius: 8px; overflow: hidden; background: #fff; }
body.path-frontpage .wp-home-offer > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
body.path-frontpage .wp-home-offer .wp-home-experience__media { flex: 0 0 160px; height: 160px; overflow: hidden; }
body.path-frontpage .wp-home-offer .wp-home-experience__media::after { content: none; }
body.path-frontpage .wp-home-offer__tag { position: absolute; top: 14px; left: 14px; z-index: 1; max-width: calc(100% - 28px); padding: 5px 9px; border-radius: 3px; background: #cc0052; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
body.path-frontpage .wp-home-offer__tag--news { background: #008576; }
body.path-frontpage .wp-home-offer__title { padding: 22px 24px; display: flex; align-items: center; justify-content: center; flex: 0 0 100px; min-height: 100px; text-align: center; }
body.path-frontpage .wp-home-offer__title h3 { position: static; background: none; color: #24253d; font-size: 17px; font-weight: 600; line-height: 1.45; padding: 0; margin: 0; }
body.path-frontpage .wp-home-offer__link { flex: 1; display: flex; align-items: center; justify-content: center; padding: 18px 24px; border-top: 1px solid #e4e4e7; color: #1683bd; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
body.path-frontpage .wp-home-offer > a:hover .wp-home-offer__link { text-decoration: underline; }
@media (max-width: 600px) {
  body.path-frontpage .wp-home-offer .wp-home-experience__media { flex-basis: 210px; height: 210px; }
  body.path-frontpage .wp-home-offer__title { min-height: 88px; padding: 18px 20px; }
  body.path-frontpage .wp-home-offer__link { padding: 16px 20px; }
}

/* Bootstrap owns backdrop creation, dismissal, focus, and scroll locking. */
body.path-frontpage.italiapass-modal-open > .modal-backdrop {
  display: block !important;
  background: #000 !important;
  opacity: .65 !important;
  z-index: 13000 !important;
}
body.path-frontpage #italiapassModal { z-index: 13010 !important; }
body.path-frontpage #italiapassDetailsModal { z-index: 2147483000 !important; font-family: "Open Sans", Arial, sans-serif; }
body.path-frontpage.italiapass-modal-open > .modal-backdrop { z-index: 2147482999 !important; }
body.path-frontpage #italiapassDetailsModal .modal-dialog { width: calc(100% - 32px); max-width: 720px; margin: 32px auto; }
body.path-frontpage #italiapassDetailsModal .modal-content { display: flex; flex-direction: column; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow: hidden; border: 0; border-radius: 12px; background: #f3f3f6; box-shadow: 0 16px 48px rgba(18,19,31,.3); }
body.path-frontpage .ir-pass-modal__header { position: relative; flex: 0 0 auto; padding: 32px 64px 32px 32px; color: #fff; background: linear-gradient(rgba(18,19,31,.4),rgba(18,19,31,.4)),url('../img/italiapass-modal/hero.jpg') center / cover; }
body.path-frontpage #italiapassDetailsModal h2 { color: #fff; margin: 0 0 8px; font-size: 32px; line-height: 1.25; font-weight: 400; }
body.path-frontpage .ir-pass-modal__header p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 600; }
body.path-frontpage .ir-pass-modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(18,19,31,.3); color: #fff; font-size: 32px; font-weight: 400; line-height: 1; cursor: pointer; }
body.path-frontpage #italiapassDetailsModal .ir-pass-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 32px; color: #24253d; }
body.path-frontpage .ir-pass-modal__body section + section { margin-top: 32px; }
body.path-frontpage #italiapassDetailsModal h3 { margin: 0 0 16px; color: #008576; font-size: 18px; line-height: 1.5; font-weight: 600; }
body.path-frontpage #italiapassDetailsModal h4 { margin: 0; color: #24253d; font-size: 16px; line-height: 1.5; font-weight: 600; }
body.path-frontpage .ir-pass-modal__body p { margin: 0; color: #585a69; font-size: 16px; line-height: 1.5; }
body.path-frontpage .ir-pass-modal__benefits { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
body.path-frontpage .ir-pass-modal__benefits li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; }
body.path-frontpage .ir-pass-modal__benefits img { flex: 0 0 24px; width: 24px; height: 24px; }
body.path-frontpage .ir-pass-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
  body.path-frontpage #italiapassDetailsModal .modal-dialog { width: calc(100% - 16px); margin: 8px auto; }
  body.path-frontpage #italiapassDetailsModal .modal-content { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  body.path-frontpage .ir-pass-modal__header { padding: 24px 64px 24px 16px; }
  body.path-frontpage #italiapassDetailsModal .ir-pass-modal__body { padding: 24px 16px; }
}

/* Match the reference FAQ chevrons while keeping native details behavior. */
body.path-frontpage .wp-home-faq summary {
  position: relative;
  list-style: none;
  padding-right: 36px;
}
body.path-frontpage .wp-home-faq summary::-webkit-details-marker { display: none; }
body.path-frontpage .wp-home-faq summary::marker { content: ""; }
body.path-frontpage .wp-home-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid #2498db;
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
body.path-frontpage .wp-home-faq details[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}

/* Center the desktop booking card on the hero's bottom edge. Its percentage
 * translation follows the card's own height, including wrapped fields. */
@media (min-width: 1025px) {
  body.path-frontpage .wp-homepage .ir-bookingwidget.bookingwidget-paragraph .main-form-area {
    position: relative;
    overflow: visible;
    width: 100%;
    min-width: 0;
    min-height: 320px;
    aspect-ratio: 1512 / 320;
    padding: 80px 24px 56px !important;
  }
  body.path-frontpage .wp-homepage .wp-homepage-heading {
    margin-bottom: 0;
  }
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area .wp-homepage-heading h1 {
    font-size: 48px;
  }
  body.path-frontpage .wp-home-benefits {
    padding-top: 100px;
  }
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .booking_center {
    position: static;
  }
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .booking_panel {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    width: calc(100% - 48px);
    max-width: 1312px;
    margin: 0 auto;
  }
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .booking_panel_top:not(.wp-home-booking-is-sticky) #itinerary.card {
    transform: translateY(50%);
  }
}

/* Device-specific hero art direction, matching the media-scoped preloads. */
@media (min-width: 600.01px) and (max-width: 991px) {
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area {
    background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),url("../img/figma/hero-tablet.webp") !important;
    background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),image-set(url("../img/figma/hero-tablet.webp") 1x,url("../img/figma/hero-desktop.webp") 2x) !important;
  }
}
@media (max-width: 600px) {
  body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area {
    background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),url("../img/figma/hero-mobile.webp") !important;
    background-image: linear-gradient(180deg,rgba(18,35,46,.6),rgba(18,35,46,.08)),image-set(url("../img/figma/hero-mobile.webp") 1x,url("../img/figma/hero-mobile-2x.webp") 2x) !important;
  }
}
/* Supplied bright header logo and original compact Feefo benefit treatment. */

body.path-frontpage .wp-home-feefo__link { color: #24253d; display: block; text-decoration: none; }
body.path-frontpage .wp-home-feefo__link h3 { align-items: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; font-size: 14px; font-weight: 600; line-height: 20px; margin: 0 0 4px; }
body.path-frontpage .wp-home-feefo__logo { display: inline-block; flex: 0 0 auto; height: 16px; width: 70px; object-fit: contain; vertical-align: middle; }
body.path-frontpage .wp-home-feefo__link p { color: #24253d; font-size: 14px; font-weight: 400; line-height: 20px; margin: 0; }
body.path-frontpage .wp-home-feefo__link:hover,
body.path-frontpage .wp-home-feefo__link:focus { color: #24253d; text-decoration: none; }
body.path-frontpage .wp-home-feefo__link:focus-visible { outline: 2px solid #2498db; outline-offset: 6px; border-radius: 2px; }

/* Leadership hero: deliberate line breaks at every viewport size. */
body.path-frontpage .wp-homepage .wp-homepage-heading {
  --homepage-heading-size: clamp(16px, 4.7vw, 48px);
  text-align: center;
}
body.path-frontpage .wp-homepage .bookingwidget-paragraph .main-form-area .wp-homepage-heading h1 {
  font-size: var(--homepage-heading-size);
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: center !important;
  width: 100%;
  max-width: none;
}
body.path-frontpage .wp-homepage .wp-homepage-heading h1 span {
  display: block;
  white-space: nowrap;
}
body.path-frontpage .wp-homepage .wp-homepage-heading .wp-homepage-subhead {
  color: #fff;
  font-size: calc(var(--homepage-heading-size) / 2);
  font-weight: 700;
  line-height: 1.4;
  margin: 16px 0 0;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
@media (min-width: 1025px) {
  body.path-frontpage .wp-homepage .ir-bookingwidget.bookingwidget-paragraph .main-form-area {
    padding-top: 48px !important;
    align-items: center;
  }
}
@media (max-width: 767px) {
  body.path-frontpage .wp-homepage .wp-homepage-heading .wp-homepage-subhead { display: none; }
}

/* The shared interior stylesheet supplies navigation, not booking geometry. */
body.path-frontpage .wp-homepage .bookingwidget-paragraph .booking_panel,
body.path-frontpage .wp-homepage .bookingwidget-paragraph .booking_panel_top {
  height: auto;
}

/* Interior navigation sits on white rather than the homepage surface color. */
body.path-frontpage .region-header { background: #fff; }

/* Balance text between the navigation and the booking card’s visible top. */
@media (min-width: 1025px) {
  body.path-frontpage .wp-homepage .wp-homepage-heading {
    position: absolute;
    top: 0;
    bottom: var(--homepage-booking-overlap, 55px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    left: 24px;
    right: 24px;
    width: auto;
    margin: 0;
    transform: none;
  }
  body.path-frontpage .wp-homepage .ir-bookingwidget.bookingwidget-paragraph .main-form-area {
    min-height: 288px;
    aspect-ratio: 1512 / 288;
  }
}
@media (max-width: 1024px) {
  body.path-frontpage .wp-homepage .ir-bookingwidget.bookingwidget-paragraph .main-form-area {
    padding: 0 16px 32px !important;
    align-items: flex-start;
  }
  body.path-frontpage .wp-homepage .wp-homepage-heading {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(144px, 24vw, 240px);
    margin: 0 auto;
  }
}

/* Keep cart glyphs visible against the shared white navigation. */
body.path-frontpage .region-header .main-header .itinerary_text svg path,
body.path-frontpage .region-header .navbar__cart svg path {
  fill: #000;
}

/* Let narrow phones determine hero width instead of the image aspect ratio. */
@media (max-width: 600px) {
  body.path-frontpage .wp-homepage .ir-bookingwidget.bookingwidget-paragraph .main-form-area {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }
}
