/* MODULO-SARDEGNA-VIAGGIO: the two cards of «Aggiungi il viaggio» on a Sardinian scheda (static/js/voli-pronti.js).
   The look of the trip window's cards: navy titles, the grey border, the blue border on hover. */
.vp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
@media (max-width: 767.98px) { .vp-cards { grid-template-columns: minmax(0, 1fr); } }
.vp-cards > .vp-card:only-child { grid-column: 1 / -1; }   /* the flight alone (TH: ferry off) takes the row */
/* The scheda's own rules keep the choices in columns and show a hidden button (display: grid): the cards take the
   whole row and the buttons they replace go for real. */
#hdAggiungiViaggio .hd-trip-choices.vp-on > .vp-cards { grid-column: 1 / -1 !important; }
#hdAggiungiViaggio .hd-trip-choices.vp-on > .vp-gone { display: none !important; }
.vp-card { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 16px; background: #fff;
  border: 1px solid #e3e8ef; border-radius: 14px; }
.vp-card__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.vp-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: #f4f7fb; color: var(--primary, #1e3c72); font-size: 19px; }
.vp-card__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--primary, #1e3c72); }
.vp-card__words { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; color: #4b5563; }
.vp-card__step { margin-top: 4px; font-size: 14px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--primary, #1e3c72); }
.vp-card__note { margin: 0; font-size: 14px; color: #4b5563; }
.vp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; width: 100%;
  padding: 11px 12px; text-align: left; background: #fff; border: 2px solid #e8ecf1; border-radius: 12px;
  color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.vp-row:hover, .vp-row:focus-visible { border-color: var(--primary, #1e3c72); outline: none; }
.vp-row__body { display: grid; gap: 2px; min-width: 0; }
.vp-row__title { font-size: 16.5px; font-weight: 800; color: var(--primary, #1e3c72); }
.vp-row__meta { font-size: 14.5px; color: #374151; font-variant-numeric: tabular-nums; }
.vp-row__note { font-size: 13.5px; font-weight: 600; color: #9a5b00; }
.vp-row__price { text-align: right; white-space: nowrap; color: #4b5563; font-size: 13.5px; }
.vp-row__price b { font-size: 19px; color: var(--primary, #1e3c72); font-variant-numeric: tabular-nums; }
.vp-row__go { font-size: 14.5px; font-weight: 700; color: var(--secondary, #2a5298); }
.vp-msg { display: grid; gap: 2px; padding: 12px 14px; background: #f4f7fb; border-radius: 12px; font-size: 14.5px; }
.vp-msg b { font-size: 16px; color: var(--primary, #1e3c72); }
/* In the window the airport is already chosen: no city to type. */
.hd-trip-panel.vp-ready .hd-trip-city-search,
.hd-trip-panel.vp-ready > .hd-trip-panel__intro:not(.hd-trip-panel__intro--note) { display: none; }
@media (max-width: 767.98px) {
  .vp-row { grid-template-columns: minmax(0, 1fr); }
  .vp-row__price { text-align: left; }
}
