/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/*Versione 04-03-2026*/

/* ====== CONTAINERS & SPACING ====== */
.ex-container{max-width:1180px;margin:0 auto;padding:56px 28px}
@media (max-width: 1024px){ .ex-container{padding:40px 22px} }
@media (max-width: 640px){ .ex-container{padding:28px 18px} }

/* ====== HERO (più corto, titolo centrato e leggibile) ====== */
.ex-hero{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ex-hero--short{min-height:40vh;max-height:52vh}
.ex-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ex-hero-overlay{
  position:absolute;inset:0;
  /* leggero blu SkyTours per coerenza brand */
  background:linear-gradient(180deg, rgba(0,79,159,.35), rgba(0,0,0,.25) 55%);
}
.ex-hero-inner{position:relative;z-index:2;text-align:center;color:#fff;padding:52px 24px;max-width:960px}
.ex-title{font-size:clamp(34px,4vw,56px);line-height:1.1;margin:0 0 8px;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.ex-lead{font-size:clamp(16px,2vw,20px);margin:0 auto 14px;opacity:.96}

/* ====== HIGHLIGHTS (3 pill cards allineati) ====== */
.ex-highlights{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  margin-top:-36px; /* fa “agganciare” i box al bordo dell’hero */
  position:relative;z-index:3;
}
@media (max-width: 980px){ .ex-highlights{grid-template-columns:1fr 1fr; margin-top:-28px} }
@media (max-width: 640px){ .ex-highlights{grid-template-columns:1fr; margin-top:-22px} }

.ex-highlights p{
  margin:0;padding:14px 18px;border-radius:14px;
  background:#ffffff; /* pill chiara */
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.04);
  font-weight:600;
}
.ex-highlights p strong{color:#0a2a4a;font-weight:700;margin-right:6px}

/* ====== CONTENUTO (WPBakery) ====== */
/* sezioni 2-col */
/* ====== SEZIONI 2 COL (equal height + proporzioni) ====== */
/* ====== SEZIONI 2 COL (versione FLEX, niente fr) ====== */
.ex-sec{
  display:flex;
  align-items:stretch;      /* stesse altezze */
  gap:32px;
  padding-top:48px;
  padding-bottom:48px;
}

/* colonne base */
.ex-sec .ex-sec-col{
  flex:1 1 0;               /* permette di restringersi senza rompere il testo */
  min-width:0;
}

/* PROPORZIONI: testo più largo (58%) e immagine più stretta (42%) */
.ex-sec:not(.ex-sec--img-left) .ex-sec-col:first-child{ flex:0 0 58%; } /* testo a sinistra (caso standard) */
.ex-sec:not(.ex-sec--img-left) .ex-sec-col:last-child { flex:0 0 42%; } /* immagine a destra */

.ex-sec.ex-sec--img-left .ex-sec-col:first-child{ flex:0 0 42%; }       /* immagine a sinistra */
.ex-sec.ex-sec--img-left .ex-sec-col:last-child { flex:0 0 58%; }       /* testo a destra */

/* card immagine (sezione 1: <img>) */
.ex-sec-img-wrap{
  position:relative;
  flex:1 1 auto;
  min-height:360px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.ex-sec-img{ width:100%; height:100%; object-fit:cover; display:block; }

/* colonna con background cover (sezione 2) */
.ex-sec-col--bg{
  min-height:380px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

/* tipografia e largura di lettura */
.ex-sec h2{ margin:0 0 10px; max-width:28ch; }
.ex-sec p{ margin:0 0 12px; max-width:68ch; }

/* responsive */
@media (max-width:900px){
  .ex-sec{ flex-direction:column; gap:22px; }
  .ex-sec-img-wrap, .ex-sec-col--bg{ min-height:300px; }
}
@media (max-width:640px){
  .ex-sec{ padding-top:36px; padding-bottom:36px; }
  .ex-sec-img-wrap, .ex-sec-col--bg{ min-height:260px; }
}
.ex-content{padding-top:22px;padding-bottom:10px}
.ex-content .wpb_row{margin-bottom:32px}
.ex-content .wpb_text_column p{margin-bottom:14px}

/* ====== PROGRAM (lista ordinata pulita) ====== */
.ex-program{padding-top:22px}
.ex-program h2{margin-bottom:10px}
.ex-program ul{list-style:none;padding:0;margin:10px 0 0}
.ex-program li{
  padding:12px 0;border-bottom:1px solid #eaeef4;
  display:flex;gap:10px;align-items:flex-start;
}
.ex-program li:before{
  content:"•";display:inline-block;transform:translateY(-1px);
  font-size:18px;line-height:1;color:#004F9F; /* blu brand */
}

/* ====== INCLUDED / NOT INCLUDED (colonne simmetriche) ====== */
.ex-includes{
  display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px
}

/* ===== Program + Included + Not included (3 colonne) ===== */
.ex-info{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;  /* Program più largo */
  gap:32px;
  padding-top:40px;
  padding-bottom:48px;
}

.ex-info-block h2,
.ex-info-block h3{
  margin:0 0 10px;
}

.ex-info-program ul{
  list-style:none;
  padding:0;
  margin:10px 0 0;
}
.ex-info-program li{
  padding:8px 0;
  border-bottom:1px solid #eaeef4;
}

.ex-info-included ul,
.ex-info-excluded ul{
  margin:8px 0 0;
  padding-left:18px;
}
.ex-info-included li,
.ex-info-excluded li{
  margin:4px 0;
}

/* responsive: Program sopra, Included/Not sotto in due colonne / una colonna */
@media (max-width:1000px){
  .ex-info{
    grid-template-columns: 1fr 1fr;
  }
  .ex-info-program{
    grid-column:1 / -1;   /* Program occupa tutta la larghezza */
  }
}
@media (max-width:640px){
  .ex-info{
    grid-template-columns: 1fr;
  }
}
/* ===== ESCURSIONI — testo leggibile ===== */
.ex-content,
.ex-program,
.ex-includes,
.ex-highlights {
  font-size: 18px;
  line-height: 1.7;
  color: #0a2a4a; /* corpo testo, cambia se usi una tinta più calda */
}

.ex-content p,
.ex-program li,
.ex-includes li {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 1em;
}

/* migliora anche il contrasto per mobile */
@media (max-width:640px){
  .ex-content,
  .ex-program,
  .ex-includes {
    font-size: 17px;
    line-height: 1.6;
  }
}

/* === Tweaks === */
:root{
  --ex-title-color: #F7F5EF; /* sostituisci con il tuo BG chiaro */
}
.ex-title{ color: var(--ex-title-color); }

/* se vuoi schiarire anche il sottotitolo */
.ex-lead{ color: rgba(255,255,255,.92); }

.ex-highlights{ gap:12px; margin-top:-26px; }
.ex-highlights p{ padding:10px 14px; }

@media (max-width: 900px){ .ex-includes{grid-template-columns:1fr} }

.ex-includes h3{letter-spacing:.02em;margin:0 0 8px}
.ex-includes ul{margin:0;padding-left:18px}
.ex-includes li{margin:6px 0}

/* ====== PADDING FINI & MICRO-ALLOGGI ====== */
.ex-hero + .ex-highlights{padding-left:28px;padding-right:28px;max-width:1180px;margin-left:auto;margin-right:auto}
@media (max-width:1024px){ .ex-hero + .ex-highlights{padding-left:22px;padding-right:22px} }

@media (max-width:640px){
  .ex-highlights{ gap:10px; margin-top:-18px; }
  .ex-highlights p{ padding:9px 12px; }
}
/* ===== Centra sempre le immagini delle sezioni ===== */

/* Sezione 1 (immagine <img>) */
.ex-sec-img{
  object-fit: cover;
  object-position: center center;  /* centrata orizzontale e verticale */
}

/* Sezione 2 (colonna con background cover) */
.ex-sec-col--bg{
  background-position: center center !important;
}

/* ===== GALLERY SEZIONE ESCURSIONE ===== */
.ex-gallery{
  padding-top:32px;
  padding-bottom:48px;
}

.ex-gallery h2{
  margin:0 0 18px;
}

.ex-gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}

.ex-gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px;
  display:block;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* responsive */
@media (max-width:900px){
  .ex-gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:640px){
  .ex-gallery-grid{
    grid-template-columns: 1fr;
  }
}

/* ===== Excursions Carousel (SkyTours) ===== */

.ex-carousel-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:56px 28px;
}

.ex-carousel{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:8px;
}
.ex-carousel::-webkit-scrollbar{ height:6px; }
.ex-carousel::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.18);
  border-radius:999px;
}

/* Card base */
.ex-card{
  flex:0 0 260px;              /* larghezza card */
  scroll-snap-align:start;
}
@media (min-width:900px){
  .ex-card{ flex:0 0 280px; }
}

.ex-card-inner{
  display:flex;
  flex-direction:column;
  background:#ffffff;
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  height:100%;
}

/* Immagine della card */
.ex-card-img{
  width:100%;
  padding-top:66%;              /* ratio 3:2 */
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* Testo card */
.ex-card-body{
  padding:14px 16px 16px;
}

.ex-card-title{
  font-size:18px;
  line-height:1.3;
  margin:0 0 6px;
  color:#0A2A4A;
}

.ex-card-meta{
  font-size:14px;
  margin:0 0 4px;
  color:#6b7380;
}

.ex-card-price{
  font-size:15px;
  margin:0;
  color:#004F9F;                /* blu SkyTours */
}
.ex-card-price span{
  font-weight:700;
}
/* ===== Hover animation for excursion cards ===== */

/* stato base: ombra soft e transizioni pronte */
.ex-card-inner{
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    background-color 0.25s ease-out;
}

/* leggero zoom dell'immagine sull'hover */
.ex-card-inner .ex-card-img{
  transition: transform 0.35s ease-out;
}

/* HOVER */
.ex-card-inner:hover{
  transform: translateY(-4px); /* piccolo “lift” */
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  background-color: #ffffff;
}

.ex-card-inner:hover .ex-card-img{
  transform: scale(1.03); /* leggero zoom dell’immagine */
}

/* opzionale: cambia un filo il colore del titolo in hover */
.ex-card-inner:hover .ex-card-title{
  color: #004F9F; /* blu SkyTours */
}

/*Impostazione Bottone whatsapp*/
.ex-cta {
  padding: 70px 20px;
  text-align: center;
}

.ex-cta-inner {
  display: flex;
  justify-content: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: #25D366;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.45);
}

.wa-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/*Impostazione bottone whatsapp negli HighLights*/

.highlight-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*AGGIUNTA NUOVI CAMPI*/
.ex-practical {
  padding: 60px 20px;
}

.ex-practical h2 {
  margin-bottom: 25px;
}

.ex-practical ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.ex-warning {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff3cd;
  border-left: 4px solid #f4c542;
  border-radius: 6px;
  font-size: 15px;
}

/* VIDEO EXCURSION */

.ex-video{
margin-top:80px;
margin-bottom:80px;
text-align:center;
}

.ex-video h2{
margin-bottom:30px;
font-size:32px;
}

.ex-video-wrap{
position:relative;
padding-bottom:56.25%;
height:0;
overflow:hidden;
border-radius:14px;
box-shadow:0 20px 50px rgba(0,0,0,0.25);
}

.ex-video-wrap iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:0;
}
/* ===== MOBILE TWEAKS — Excursions ===== */
@media only screen and (max-width: 640px){

  .excursion-single .ex-container{
    padding-left: 22px;
    padding-right: 22px;
  }

  .excursion-single .ex-hero-inner{
    padding-left: 22px;
    padding-right: 22px;
  }

  .excursion-single .ex-content,
  .excursion-single .ex-practical,
  .excursion-single .ex-info,
  .excursion-single .ex-video,
  .excursion-single .ex-cta{
    padding-left: 22px;
    padding-right: 22px;
  }

}
/* ===== MOBILE FIX — Program bullets ===== */
@media only screen and (max-width: 640px){

  .ex-info-program ul{
    padding-left: 18px;
  }

  .ex-info-program li{
    padding-left: 4px;
  }

}
/* ===== MOBILE FIX — WhatsApp in highlights ===== */
@media only screen and (max-width: 640px){

  .ex-highlights .highlight-cta{
    margin-top: 14px;
  }

}

/* ===== Sky Tours simple footer layout ===== */
#footer-widgets .widget_media_image figure {
  margin: 0;
}
#footer-widgets .widget_media_image img {
  width: min(360px, 100%) !important;
  height: auto !important;
}
#footer-widgets .widget_text {
  font-size: 16px;
  line-height: 1.65;
}
#footer-widgets .widget_text p {
  margin: 0 0 12px;
}
#footer-widgets .widget_text a {
  white-space: nowrap;
}
/* ===== End Sky Tours simple footer layout ===== */

/* ===== Sky Tours Our Fleet page ===== */
.skyt-fleet-page {
  --fleet-ink: #17313f;
  --fleet-muted: #647681;
  --fleet-line: rgba(23, 49, 63, 0.14);
  --fleet-soft: #f5f8f8;
  color: var(--fleet-ink);
}
.skyt-fleet-hero {
  max-width: 1160px;
  margin: 0 auto 42px;
  padding: 64px 20px 22px;
}
.skyt-fleet-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1f7890;
}
.skyt-fleet-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}
.skyt-fleet-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--fleet-muted);
}
.skyt-fleet-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 38px 20px 48px;
  border-top: 1px solid var(--fleet-line);
}
.skyt-fleet-section:nth-child(even) {
  background: linear-gradient(90deg, transparent 0, transparent 50%, var(--fleet-soft) 50%, var(--fleet-soft) 100%);
}
.skyt-fleet-section-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}
.skyt-fleet-section h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.12;
}
.skyt-fleet-section-header p {
  margin: 0;
  color: var(--fleet-muted);
  line-height: 1.6;
}
.skyt-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.skyt-fleet-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #e7eeee;
}
.skyt-fleet-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.skyt-fleet-card:hover img {
  transform: scale(1.035);
}
.skyt-fleet-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 16px 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
}
@media (max-width: 900px) {
  .skyt-fleet-section-header,
  .skyt-fleet-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skyt-fleet-section-header {
    align-items: start;
  }
}
@media (max-width: 640px) {
  .skyt-fleet-hero {
    padding-top: 42px;
  }
  .skyt-fleet-hero h1 {
    font-size: 44px;
  }
  .skyt-fleet-hero p {
    font-size: 17px;
  }
  .skyt-fleet-section {
    padding-top: 30px;
    padding-bottom: 36px;
  }
  .skyt-fleet-section-header,
  .skyt-fleet-grid {
    grid-template-columns: 1fr;
  }
  .skyt-fleet-card,
  .skyt-fleet-card img {
    min-height: 230px;
  }
}
/* ===== End Sky Tours Our Fleet page ===== */

/* ===== Sky Tours Our Fleet grid override ===== */
:is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-grid {
  width: 100% !important;
}
:is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-grid > .skyt-fleet-card {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
:is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-card img {
  width: 100% !important;
  max-width: none !important;
}
@media (min-width: 901px) {
  :is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  :is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-card {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    clear: none !important;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  :is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  :is(body.page-id-4191, body.page-id-4196, body.page-id-4197, body.page-id-4198) .skyt-fleet-page .skyt-fleet-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}
/* ===== End Sky Tours Our Fleet grid override ===== */

