@charset "UTF-8";
/* ==========================================================================
   Miral Travel — sistema di design 2026
   Impianto ispirato ai portali di viaggio moderni (Expedia): tipografia
   compatta e funzionale, card con raggio 16px e ombra tenue, contenitore
   1248px, navigazione a riga singola. Palette: colori del logo Miral.
   Caricato dopo css.php: sovrascrive il tema legacy senza riscriverlo.
   ========================================================================== */

:root {
    /* marchio */
    --mt-navy:        #124688;
    --mt-navy-dark:   #0d3468;
    --mt-blue:        #0071bc;
    --mt-blue-dark:   #005a96;
    --mt-blue-soft:   #e8f2fa;
    --mt-orange:      #ff931e;
    --mt-orange-dark: #e07d0a;

    /* inchiostro e neutri */
    --mt-ink:      #191e3b;   /* testo principale: navy scurissimo, non nero */
    --mt-body:     #4a5069;
    --mt-muted:    #6b7189;
    --mt-line:     #e3e6ee;
    --mt-surface:  #f6f7fa;
    --mt-white:    #fff;

    /* forma */
    --mt-r-card:  16px;
    --mt-r-ctrl:  8px;
    --mt-r-pill:  999px;
    --mt-sh:      0 2px 12px rgba(12,14,28,.08);
    --mt-sh-hi:   0 8px 28px rgba(12,14,28,.16);
    --mt-ring:    0 0 0 3px rgba(0,113,188,.35);

    /* spaziature */
    --mt-s1: 4px;  --mt-s2: 8px;  --mt-s3: 12px; --mt-s4: 16px;
    --mt-s5: 24px; --mt-s6: 32px; --mt-s7: 48px; --mt-s8: 64px;
    --mt-sec: clamp(2.5rem, 5vw, 4.5rem);

    --mt-wrap: 1248px;
    --mt-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Il tema legacy imposta html{font-size:10px}: tutta la scala usciva al 62%
   (titoli card a 10px, descrizioni a 9px). Nel tema non esiste un solo valore
   in rem, quindi ripristinare la radice a 16px e' sicuro. */
html { font-size: 100%; }

/* il tema legacy impone "Raleway … !important": serve la stessa arma */
html, body, h1, h2, h3, h4, h5, h6, p, .headline h2, .headline h3,
input, select, textarea, button, .btn, .btn-u {
    font-family: var(--mt-font) !important;
}

body {
    font-size: 16px;
    line-height: 1.55;
    color: var(--mt-ink);          /* testo scuro e leggibile, non grigio slavato */
    background: var(--mt-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* scala in px: immune alla radice del tema legacy */
h1, h2, h3, h4, h5, h6 { color: var(--mt-ink); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-top: 0; }
h1 { font-size: clamp(30px, 2vw + 20px, 44px); }
h2 { font-size: clamp(24px, 1.2vw + 18px, 32px); }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 600; }
p  { margin: 0 0 1em; font-size: 16px; }

a { color: var(--mt-blue); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--mt-blue-dark); text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: none; box-shadow: var(--mt-ring); border-radius: var(--mt-r-ctrl);
}

img { max-width: 100%; height: auto; }
::selection { background: var(--mt-blue); color: #fff; }

/* accenti del tema legacy riportati nel marchio */
.color { color: var(--mt-blue) !important; }
.sm em { color: var(--mt-muted); }
.bodybg { background-color: var(--mt-surface); }

/* contenitore piu' largo, come i portali di viaggio */
.container { max-width: var(--mt-wrap); }
@media (min-width: 1280px) { .container { width: var(--mt-wrap); } }

/* ==========================================================================
   Intestazione di sezione
   ========================================================================== */

.mt-sec-head { margin-bottom: var(--mt-s5); }
.mt-sec-head h2 { margin: 0 0 6px; font-size: clamp(26px, 1.4vw + 20px, 34px); }
.mt-sec-head p  { margin: 0; color: var(--mt-body); font-size: 17px; max-width: 62ch; }

.content-xs, .content { padding-top: var(--mt-sec); padding-bottom: var(--mt-sec); }

/* i titoli del tema legacy */
.headline { margin-bottom: var(--mt-s4); border-bottom: 0; }
.headline h2, .headline h3 {
    font-size: 1rem; font-weight: 600; text-transform: none;
    letter-spacing: 0; margin: 0; padding-bottom: 0;
}
.headline h2::after, .headline h3::after { content: none; }

/* ==========================================================================
   Card offerte — media in alto, corpo compatto, prezzo in evidenza
   ========================================================================== */

.mt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--mt-s5);
}

.mt-card {
    display: flex;
    flex-direction: column;
    background: var(--mt-white);
    border-radius: var(--mt-r-card);
    box-shadow: var(--mt-sh);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.mt-card:hover { box-shadow: var(--mt-sh-hi); transform: translateY(-2px); }

.mt-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--mt-blue-soft);
}
.mt-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.mt-card:hover .mt-card__media img { transform: scale(1.05); }

.mt-card__tag {
    position: absolute; top: 12px; left: 12px;
    background: #fff;
    color: var(--mt-ink);
    font-size: 13px; font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--mt-r-pill);
    box-shadow: 0 1px 6px rgba(12,14,28,.2);
}

.mt-card__body {
    display: flex; flex-direction: column;
    gap: var(--mt-s2);
    padding: var(--mt-s4);
    flex: 1 1 auto;
}
.mt-card__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.mt-card__title a { color: var(--mt-ink); }
.mt-card:hover .mt-card__title a { color: var(--mt-blue); text-decoration: none; }
.mt-card__desc {
    margin: 0; color: var(--mt-body); font-size: 15px; line-height: 1.5;
}
.mt-card__foot {
    margin-top: auto;
    padding-top: 14px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: var(--mt-s3);
    border-top: 1px solid var(--mt-line);
}
.mt-card__cta { color: var(--mt-blue); font-weight: 600; font-size: 15px; }
/* il prezzo e' l'informazione che si cerca per prima: deve dominare */
.mt-card__price {
    color: var(--mt-ink); font-weight: 700; font-size: 24px; line-height: 1.1;
    white-space: nowrap; letter-spacing: -.02em;
    display: flex; flex-direction: column; align-items: flex-end;
}
.mt-card__price small {
    color: var(--mt-muted); font-weight: 500; font-size: 12px;
    letter-spacing: .02em; text-transform: lowercase; margin-bottom: 1px;
}

/* griglia in colonna stretta (es. elenco tour accanto alle partenze) */
.mt-grid--stretto { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--mt-s4); }
.mt-grid--stretto .mt-card__body { padding: var(--mt-s3); gap: var(--mt-s2); }
.mt-grid--stretto .mt-card__title { font-size: 16px; }
.mt-grid--stretto .mt-card__price { font-size: 19px; }
.mt-grid--stretto .mt-card__cta { font-size: 14px; }

/* ==========================================================================
   Tabelle (partenze, listini)
   ========================================================================== */

.mt-tabella-wrap {
    overflow-x: auto;                 /* su schermi stretti scorre la tabella, non la pagina */
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-r-card);
    background: #fff;
}
.mt-tabella {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.mt-tabella thead th {
    background: var(--mt-surface);
    color: var(--mt-ink);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--mt-line);
    white-space: nowrap;
}
.mt-tabella tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--mt-line);
    color: var(--mt-body);
    vertical-align: middle;
}
.mt-tabella tbody tr:last-child td { border-bottom: 0; }
.mt-tabella tbody tr:hover td { background: var(--mt-blue-soft); }
.mt-tabella .mt-data { white-space: nowrap; font-weight: 600; color: var(--mt-ink); }
.mt-tabella .mt-num  { text-align: right; white-space: nowrap; font-weight: 700; color: var(--mt-ink); }

/* riquadri laterali (quota comprende / non comprende) */
.mt-box {
    display: block;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-r-card);
    padding: var(--mt-s5);
    margin-bottom: var(--mt-s4);
}
.mt-box__title {
    margin: 0 0 var(--mt-s3);
    padding-bottom: var(--mt-s2);
    font-size: 16px; font-weight: 700;
    border-bottom: 2px solid var(--mt-orange);
    display: inline-block;
}
.mt-box--no .mt-box__title { border-bottom-color: var(--mt-line); }
.mt-box__corpo { font-size: 15px; line-height: 1.55; color: var(--mt-body); }
.mt-box__corpo ul { margin: 0; padding-left: 18px; }
.mt-box__corpo li { margin-bottom: 6px; }
.mt-box__corpo p:last-child { margin-bottom: 0; }

.mt-pdf-btn { margin-bottom: var(--mt-s5); }

/* blocco di testo redazionale proveniente dal database */
.mt-testo { margin-top: var(--mt-s5); color: var(--mt-body); font-size: 16px; line-height: 1.6; }
.mt-testo h1, .mt-testo h2, .mt-testo h3, .mt-testo h4 { margin-top: var(--mt-s5); margin-bottom: var(--mt-s2); }
.mt-testo strong { color: var(--mt-ink); }

/* ==========================================================================
   Bottoni e campi
   ========================================================================== */

.btn-u, .btn, .bts, .bts1, .btn-more,
input[type="submit"], button[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--mt-r-ctrl);
    font-size: 16px; font-weight: 600; line-height: 1.2;
    text-align: center; cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-u, .btn-u-default, .bts, .bts1, .btn.btn-primary,
input[type="submit"], button[type="submit"] {
    background-color: var(--mt-blue); color: #fff;
}
.btn-u:hover, .btn-u-default:hover, .bts:hover, .bts1:hover,
.btn.btn-primary:hover, input[type="submit"]:hover, button[type="submit"]:hover {
    background-color: var(--mt-blue-dark); color: #fff; text-decoration: none;
}
.btn-u-light, .btn-brd {
    background-color: #fff; color: var(--mt-ink); border-color: var(--mt-line);
}
.btn-u-light:hover, .btn-brd:hover { border-color: var(--mt-blue); color: var(--mt-blue); }
.btn-u-brown, .btn-accent { background-color: var(--mt-orange); color: var(--mt-ink); }
.btn-u-brown:hover, .btn-accent:hover { background-color: var(--mt-orange-dark); color: var(--mt-ink); }
.btn-u-block { width: 100%; }
.bts, .bts1 { width: auto; min-width: 220px; max-width: 100%; }
@media (max-width: 575px) { .bts, .bts1 { width: 100%; min-width: 0; } }

.form-control, input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="number"], select, textarea {
    min-height: 44px; padding: 10px 14px;
    border: 1px solid var(--mt-line); border-radius: var(--mt-r-ctrl);
    font-size: 16px; color: var(--mt-ink); background-color: #fff; box-shadow: none;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--mt-blue); box-shadow: var(--mt-ring); outline: none;
}
label { font-weight: 600; color: var(--mt-ink); margin-bottom: 6px; }

/* ==========================================================================
   Barra di navigazione
   ========================================================================== */

.one-page-header.navbar {
    background: #fff;
    border-bottom: 1px solid var(--mt-line);
    box-shadow: none;
    min-height: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
.logo { text-align: center; margin: 12px 0 2px; }
.logo img { height: 40px; width: auto; }

.one-page-header .navbar-nav > li > a {
    font-size: .875rem; font-weight: 600; letter-spacing: 0;
    text-transform: none;
    color: var(--mt-ink) !important;
    padding: 12px 14px;
    border-radius: var(--mt-r-ctrl);
}
.one-page-header .navbar-nav > li > a:hover,
.one-page-header .navbar-nav > li > a:focus {
    color: var(--mt-blue) !important; background-color: var(--mt-blue-soft);
    text-decoration: none !important;
}
.one-page-header .navbar-nav > li > a::before { content: none !important; }
/* le voci con sottomenu erano grigio #777: stesso peso delle altre */
.one-page-header .navbar-nav a.dropdown-toggle { color: var(--mt-ink) !important; }
.one-page-header .navbar-nav a.dropdown-toggle:hover { color: var(--mt-blue) !important; }
.one-page-header .navbar-nav > .active > a,
.one-page-header .navbar-nav > li.lactive > a {
    color: var(--mt-blue) !important; background-color: var(--mt-blue-soft);
}

.one-page-header .dropdown-menu {
    border: 1px solid var(--mt-line); border-radius: var(--mt-r-card);
    box-shadow: var(--mt-sh) !important; padding: 6px !important; margin-top: 6px;
}
.one-page-header .dropdown-menu > li > a {
    border-radius: var(--mt-r-ctrl); padding: 10px 12px;
    font-size: .9375rem; color: var(--mt-body) !important; white-space: normal;
}
.one-page-header .dropdown-menu > li > a:hover {
    background-color: var(--mt-blue-soft) !important; color: var(--mt-ink) !important; text-decoration: none;
}

/* il tema dava al selettore lingua un fondo grigio scuro: uniformato agli altri controlli */
.lang-block, .lang-block > a, .lang-block .mega-hover__current {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}
.lang-block > a {
    border: 1px solid var(--mt-line); border-radius: var(--mt-r-ctrl);
    padding: 7px 12px; font-weight: 600; font-size: .8125rem;
    color: var(--mt-ink) !important; text-transform: uppercase;
}
.lang-block > a:hover { border-color: var(--mt-blue); color: var(--mt-blue) !important; text-decoration: none; }
.lang-block .mega-hover-list {
    border: 1px solid var(--mt-line); border-radius: var(--mt-r-ctrl);
    box-shadow: var(--mt-sh) !important; overflow: hidden;
}
.lang-block .mega-hover-list a { color: var(--mt-ink) !important; padding: 8px 12px; }
.lang-block .mega-hover-list a:hover { background: var(--mt-blue-soft) !important; }

.top-contact-block a { color: var(--mt-ink); font-weight: 600; }
.top-contact-block i { color: var(--mt-orange); }

.one-page-header .navbar-toggle {
    width: 44px; height: 44px; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    border: 1px solid var(--mt-line); border-radius: var(--mt-r-ctrl); background: #fff;
}
.one-page-header .navbar-toggle:hover { background: var(--mt-blue-soft); border-color: var(--mt-blue); }
.one-page-header .navbar-toggle .icon-bar {
    width: 20px; height: 2px; border-radius: 2px; background: var(--mt-ink) !important;
}
.one-page-header .navbar-toggle .icon-bar + .icon-bar { margin-top: 0; }

@media (min-width: 992px) {
    .one-page-header .navbar-toggle { display: none !important; }

    /* riga unica: logo a sinistra, menu, contatti e lingua a destra */
    .one-page-header > .container {
        display: flex; align-items: center; gap: 24px; min-height: 72px;
    }
    .logo { order: 1; flex: 0 0 auto; margin: 0; text-align: left; width: auto; }
    .logo img { height: 38px; }
    .one-page-header .navbar-collapse {
        order: 2; flex: 1 1 auto; padding: 0; border: 0; box-shadow: none;
    }
    /* In navt.php .menu-container contiene solo logo mobile e hamburger, ma in
       navn.php (pagine senza slider) contiene il LOGO desktop: nasconderlo del
       tutto lasciava quelle pagine senza logo. */
    .one-page-header > .container > .menu-container { display: contents; }
    .mobilelogo { display: none !important; }
    .navbar-logo {
        order: 1; flex: 0 0 auto;
        width: 200px; height: 44px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        float: none;
    }
    .navbar .navbar-nav, .one-page-header .navbar-nav {
        display: flex !important; float: none !important; margin: 0; align-items: center;
    }
    .one-page-header .navbar-nav > li > a {
        font-size: 15px; padding: 10px 12px;
        white-space: nowrap;      /* "Dove Siamo" andava a capo */
    }
    .top-contact-block {
        order: 3; flex: 0 0 auto; position: static !important;
        display: flex !important; align-items: center; gap: 6px;
        white-space: nowrap; margin: 0; font-size: 15px;
    }
    .lang-block { order: 4; flex: 0 0 auto; position: static !important; margin: 0; }
}

/* --- mobile: una sola riga (logo | telefono | lingua | menu) --- */
@media (max-width: 991px) {
    .one-page-header > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--mt-s2);
        padding-top: 6px;
        padding-bottom: 6px;
    }
    /* i figli di .menu-container entrano nella stessa riga flex del padre */
    .one-page-header > .container > .menu-container { display: contents; }

    /* riga unica: logo | telefono | lingua | menu. Niente a capo. */
    .mobilelogo { order: 1; flex: 0 1 auto; margin: 0 auto 0 0; text-align: left; min-width: 0; }
    .mobilelogo img { width: 128px; height: auto; padding: 0; display: block; }

    /* il numero esteso faceva sforare la riga: resta un pulsante-icona che chiama */
    .top-contact-block {
        order: 2; flex: 0 0 auto;
        display: inline-flex !important; align-items: center; justify-content: center;
        position: static; margin: 0;
        width: 44px; height: 44px;
        border: 1px solid var(--mt-line); border-radius: var(--mt-r-ctrl); background: #fff;
    }
    .top-contact-block:hover { background: var(--mt-blue-soft); border-color: var(--mt-blue); }
    .top-contact-block i { margin: 0; font-size: 1.05rem; line-height: 1; color: var(--mt-blue); }
    .top-contact-block a {
        position: absolute; width: 44px; height: 44px;
        font-size: 0; color: transparent;            /* il numero resta accessibile via aria-label */
    }

    .lang-block { order: 3; flex: 0 0 auto; position: static; margin: 0; }
    .lang-block > a { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; }
    .one-page-header .navbar-toggle { order: 4; flex: 0 0 auto; float: none; }
    .one-page-header .navbar-collapse { order: 5; flex: 0 0 100%; width: 100%; }

    .one-page-header .navbar-collapse {
        border-top: 1px solid var(--mt-line);
        max-height: 76vh; overflow-y: auto;
        margin: 0 -15px; padding: var(--mt-s2) 15px var(--mt-s3);
    }
    .one-page-header .navbar-nav { margin: 0; width: 100%; }
    .one-page-header .navbar-nav > li { width: 100%; }
    .one-page-header .navbar-nav > li > a {
        padding: 13px 4px; font-size: .9375rem;
        text-align: left;                       /* elenco, non testo centrato */
        border-bottom: 1px solid var(--mt-line); border-radius: 0;
        color: var(--mt-ink) !important;
    }
    .one-page-header .navbar-nav > li:last-child > a { border-bottom: 0; }
    .one-page-header .dropdown-menu {
        box-shadow: none !important; border: 0;
        background: var(--mt-surface) !important; margin: 0; padding: 0 !important;
    }
    .one-page-header .dropdown-menu > li > a { padding-left: 26px; }
}

/* ==========================================================================
   Hero / slider
   ========================================================================== */

.item::before {
    background: linear-gradient(180deg, rgba(12,14,28,.30) 0%, rgba(12,14,28,.10) 45%, rgba(12,14,28,.72) 100%) !important;
    opacity: 1 !important;
}
.carousel-caption h1, .carousel-caption h2, .carousel-caption h3 {
    color: #fff; font-weight: 700; text-shadow: 0 2px 16px rgba(12,14,28,.4);
}
.carousel-caption p { color: rgba(255,255,255,.95); font-size: 1.0625rem; }
.carousel-indicators li {
    width: 8px; height: 8px; margin: 0 5px;
    border: 2px solid rgba(255,255,255,.9); background: transparent;
}
.carousel-indicators .active { background: var(--mt-orange); border-color: var(--mt-orange); }
.carousel-control { opacity: .9; }

/* ==========================================================================
   Fascia sotto lo slider: tre schede coerenti
   ========================================================================== */

.mt-strip { background: var(--mt-surface); padding: var(--mt-s6) 0; }
.mt-strip__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: var(--mt-s4);
    align-items: stretch;
}
.mt-tile {
    display: flex; flex-direction: column; gap: var(--mt-s2);
    background: #fff;
    border-radius: var(--mt-r-card);
    box-shadow: var(--mt-sh);
    padding: var(--mt-s5);
}
.mt-tile__title { margin: 0; font-size: 19px; font-weight: 700; }
.mt-tile__text  { margin: 0; color: var(--mt-body); font-size: 15px; }
.mt-tile__btn   { margin-top: auto; align-self: flex-start; }

/* scheda in evidenza: le partenze */
.mt-tile--hi { background: var(--mt-navy); color: #fff; }
.mt-tile--hi .mt-tile__title { color: #fff; }
.mt-tile--hi .mt-tile__text  { color: rgba(255,255,255,.8); }

.mt-departures { list-style: none; margin: 0; padding: 0; }
.mt-departures li {
    display: flex; align-items: baseline; justify-content: space-between; gap: var(--mt-s3);
    padding: 9px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 15px;
}
.mt-departures li:first-child { border-top: 0; }
.mt-departures__name  { color: rgba(255,255,255,.92); }
.mt-departures__price { color: #fff; font-weight: 700; font-size: 18px; white-space: nowrap; }

/* stessa fascia dentro le pagine interne: senza fondo grigio */
.mt-strip--interna { background: transparent; padding: 0 0 var(--mt-s6); }

/* foto di testata delle pagine tour: prima era un div con height:400px fisso */
.mt-hero-foto {
    aspect-ratio: 21 / 8;
    min-height: 220px;
    border-radius: var(--mt-r-card);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: var(--mt-s5);
}

/* elenco dei dati principali del tour */
.mt-fatti { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mt-fatti li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.mt-fatti i { color: var(--mt-orange); width: 16px; text-align: center; flex: 0 0 auto; }
.mt-tile--hi .mt-fatti li { color: rgba(255,255,255,.92); }
.mt-tile--hi .mt-fatti strong { color: #fff; }

/* elenco partenze su scheda chiara */
.mt-departures--chiaro li { border-top-color: var(--mt-line); }
.mt-departures--chiaro .mt-departures__name  { color: var(--mt-body); }
.mt-departures--chiaro .mt-departures__price { color: var(--mt-ink); }

@media (max-width: 991px) {
    .mt-strip__grid { grid-template-columns: 1fr; }
    .mt-hero-foto { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Riquadri del tema legacy (altre pagine)
   ========================================================================== */

.search-tours-col-bg-default {
    background: var(--mt-navy) !important;
    border-radius: var(--mt-r-card);
    padding: var(--mt-s5) !important;
    margin: var(--mt-s4) 0;
    color: #fff;
}
.search-tours-col-bg-default h2, .search-tours-col-bg-default h3 { color: #fff !important; }
.search-tours-title-wrapper { background: transparent !important; }
.search-tours h2, .search-tours .h2 { color: var(--mt-ink); font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */

/* il tema forza rgb(50,50,50) !important */
.footer-v1 .footer {
    background-color: var(--mt-navy-dark) !important;
    padding: var(--mt-sec) 0 var(--mt-s6);
}
.footer-v1 .footer, .footer-v1 .footer p, .footer-v1 .footer address { color: rgba(255,255,255,.85); font-size: 15px; }
.footer-v1 .footer h2, .footer-v1 .footer h3, .footer-v1 .footer h4 {
    color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.footer-v1 .footer a { color: rgba(255,255,255,.8); }
.footer-v1 .footer a:hover { color: #fff; text-decoration: none; }
.footer-logo img { height: 38px; width: auto; }

.footer-v1 .link-list li { border-top: 1px solid rgba(255,255,255,.1); padding: 9px 0; }
.footer-v1 .link-list li:first-child { border-top: 0; }
.footer-v1 .link-list a { font-size: 15px; }
.footer-v1 .link-list i { color: rgba(255,255,255,.4); }

.footer-v1 .copyright {
    background: var(--mt-navy); border-top: 1px solid rgba(255,255,255,.1); padding: var(--mt-s4) 0;
}
.footer-v1 .copyright p, .footer-v1 .copyright a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-v1 .copyright a:hover { color: #fff; }

.footer-socials { margin: 0; }
.footer-socials li { padding: 0 3px; }
.footer-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff;
    transition: background-color .15s ease;
}
.footer-socials a:hover { background: var(--mt-orange); color: var(--mt-ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
    .content-xs, .content { padding-top: var(--mt-s6); padding-bottom: var(--mt-s6); }
    .mt-grid { grid-template-columns: 1fr; gap: var(--mt-s4); }
    .footer-v1 .footer { padding-top: var(--mt-s6); }
    .footer-v1 .footer .col-md-3 { margin-bottom: var(--mt-s5); }
    .m40 { margin: var(--mt-s4) 0 !important; }
    /* l'header fisso copre la parte alta dello slider */
    .carousel-caption { top: 92px !important; bottom: auto !important; transform: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-caption { top: 104px !important; bottom: auto !important; transform: none !important; }
}

/* ==========================================================================
   Preferenze utente e stampa
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
    .mt-card:hover { transform: none; }
}

@media print {
    .one-page-header, .footer-socials, .carousel-control, .navbar-toggle { display: none !important; }
    body { font-size: 12pt; color: #000; }
    .mt-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
