/*
Theme Name: Kadence Massalia
Template: kadence
Version: 0.1
*/
:root{--navy:#12325b;--gold:#c19a4b;--gold-d:#a8842f;--bg:#faf8f4;--radius:20px;--shadow:0 6px 24px rgba(18,50,91,.08)}
body{font-family:'Inter',system-ui,sans-serif;font-size:17px;line-height:1.65;background:var(--bg);color:#1d2733}
h1,h2,h3,h4{font-family:'Literata',Georgia,serif;color:var(--navy);line-height:1.2}
img{border-radius:var(--radius)}
.site-header img,.custom-logo{border-radius:0}
.mt-btn,.main-navigation .mt-cta>a{background:var(--gold);color:#fff!important;border-radius:14px;padding:.65em 1.2em!important;font-weight:600}
.mt-btn:hover,.main-navigation .mt-cta>a:hover{background:var(--gold-d)}
.main-navigation .mt-phone>a{font-weight:600;color:var(--navy)}
.mt-bar{display:none}
@media(max-width:767px){
  body{padding-bottom:64px}
  .mt-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#fff;box-shadow:0 -4px 18px rgba(0,0,0,.12)}
  .mt-bar a{flex:1;text-align:center;padding:16px 8px;font-weight:700;text-decoration:none;color:var(--navy)}
  .mt-bar a+a{background:#7360f2;color:#fff}
  .mt-hide-mobile{display:none}
}
.mt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto;padding:0 16px}
@media(max-width:900px){.mt-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.mt-grid{grid-template-columns:1fr}}
.mt-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .2s}
.mt-card:hover{box-shadow:0 10px 30px rgba(18,50,91,.14)}
.mt-card__img{display:block;position:relative;overflow:hidden;aspect-ratio:16/10}
.mt-card__img img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .35s}
.mt-card:hover .mt-card__img img{transform:scale(1.04)}
.mt-card__badge{position:absolute;left:14px;top:14px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;padding:5px 12px;border-radius:999px}
.mt-card__body{padding:18px 20px 20px}
.mt-card__body h3{font-size:1.15rem;margin:0 0 8px}
.mt-card__body h3 a{color:var(--navy);text-decoration:none}
.mt-card__meta{font-size:.9rem;color:#5b6675;margin-bottom:14px}
.mt-card__foot{display:flex;justify-content:space-between;align-items:center}
.mt-card__price strong{font-size:1.35rem;color:var(--navy)}
.mt-card__go{width:38px;height:38px;border-radius:50%;background:var(--gold);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:transform .2s}
.mt-card:hover .mt-card__go{transform:translateX(3px)}
.mt-card__body{padding:16px 20px 18px}
.mt-card__meta{list-style:none;margin:0 0 12px;padding:0;font-size:.9rem;color:#5b6675}
.mt-card__meta li{margin:2px 0}
.mt-card__price small{font-size:.8rem;color:#5b6675}
.mt-card__cta{display:flex;align-items:center;gap:10px}
.mt-card__cta em{font-style:normal;font-size:.85rem;color:var(--navy);opacity:0;transition:opacity .2s}
.mt-card:hover .mt-card__cta em{opacity:1}
@media(hover:none){.mt-card__cta em{display:none}}
.mt-card__body{padding:14px 18px 16px}
.mt-card__meta{margin:0 0 10px}
.mt-card__cta em{color:var(--navy)!important;opacity:1!important;font-size:.82rem;font-weight:600}
@media(hover:hover){.mt-card__cta em{opacity:0!important;transition:opacity .2s}.mt-card:hover .mt-card__cta em{opacity:1!important}}
.mt-card__body{padding:12px 18px 14px}
.mt-card__meta{margin:0 0 8px}
.mt-card__foot{margin-top:4px}
.mt-card__cta em{color:var(--navy)!important;opacity:1!important;font-size:.82rem;font-weight:600}
.mt-card__date{display:flex;align-items:center;gap:10px;margin:2px 0 10px;padding:8px 10px;background:#f5f2ea;border-radius:12px}
.mt-card__date-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:54px;line-height:1.1;background:#fff;border:1px solid #e3ddce;border-radius:10px;padding:4px 6px}
.mt-card__date-chip strong{font-size:1.3rem;color:var(--navy);font-family:'Literata',serif}
.mt-card__date-chip small{font-size:.7rem;color:#6b7280;text-transform:none}
.mt-card__date-text{font-size:.92rem;font-weight:600;color:var(--navy)}
.mt-card__cta{transition:transform .2s}
.mt-card__cta:hover{transform:translateX(3px)}
.mt-card__cta:hover em{opacity:1!important}
.mt-card__cta:hover .mt-card__go{background:var(--gold-d)}
.mt-hero{position:relative;height:78vh;min-height:480px;max-height:760px;overflow:hidden}
.mt-hero__slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s ease;z-index:0}
.mt-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.mt-hero__bg.is-active { opacity: 1; z-index: 1; }

.mt-hero__slide.is-active{opacity:1;z-index:1}
.mt-hero__overlay{position:relative;z-index:2;height:100%;display:flex;align-items:center;background:linear-gradient(90deg,rgba(18,50,91,.55),rgba(18,50,91,.15) 60%)}
.mt-hero__content{max-width:640px;padding:0 6vw;color:#fff}
.mt-hero__content h1{font-family:'Literata',serif;font-size:clamp(2rem,4.5vw,3.2rem);color:#fff;margin:0 0 12px}
.mt-hero__content p{font-size:1.15rem;margin:0 0 20px;opacity:.95}
.mt-hero__dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.mt-hero__dot{width:10px;height:10px;border-radius:50%;border:2px solid #fff;background:transparent;padding:0;cursor:pointer}
.mt-hero__dot.is-active{background:#fff}
@media(max-width:640px){.mt-hero{height:64vh}.mt-hero__overlay{background:linear-gradient(180deg,rgba(18,50,91,.35),rgba(18,50,91,.65))}}
.mt-hero{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
.mt-hero__search-wrap{display:flex;flex-direction:column;gap:14px;max-width:560px}
.mt-hero__search-bar{display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:8px;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.mt-hero__search-input{flex:1;display:flex;align-items:center;gap:8px;padding:6px 12px}
.mt-hero__search-input input{border:none;outline:none;font-size:1rem;width:100%;font-family:'Inter',sans-serif}
.mt-hero__search-btn{width:42px;height:42px;border:none;border-radius:50%;background:var(--gold);color:#fff;font-size:1.1rem;cursor:pointer}
.mt-hero__content .mt-hero__search-wrap{margin-top:6px}
@media(max-width:640px){.mt-hero__search-wrap{max-width:100%}}
.mt-section{max-width:1200px;margin:0 auto;padding:36px 16px}
.mt-h2{font-size:1.6rem;margin:0 0 24px}
.mt-section__head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:20px}
.mt-see-all{color:var(--gold-d);font-weight:600;text-decoration:none;white-space:nowrap}
.mt-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mt-cat{position:relative;display:flex;align-items:flex-end;height:260px;border-radius:26px;overflow:hidden;text-decoration:none;box-shadow:var(--shadow);transition:box-shadow .25s}
.mt-cat:hover{box-shadow:0 16px 36px rgba(18,50,91,.24)}
.mt-cat__img{position:absolute;inset:0;background:var(--navy) center/cover no-repeat;transition:transform .45s ease}
.mt-cat:hover .mt-cat__img{transform:scale(1.06)}
.mt-cat__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,50,91,0) 55%,rgba(14,36,66,.92) 100%)}
.mt-cat__arrow{position:absolute;right:20px;bottom:22px;z-index:1;color:#fff;font-size:1.3rem;opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s}
.mt-cat:hover .mt-cat__arrow{opacity:1;transform:translateX(0)}
@media(max-width:900px){.mt-cat{height:220px}}
@media(max-width:600px){.mt-cat-grid{grid-template-columns:1fr}.mt-cat{height:200px}}
.mt-cat__label{position:absolute;left:22px;bottom:20px;color:#fff;font-family:'Literata',serif;font-size:1.7rem;font-weight:700;z-index:1;letter-spacing:.01em}
@media(max-width:600px){.mt-cat__label{font-size:1.4rem}}
@media(max-width:768px){.mt-cat-grid{grid-template-columns:1fr}}
.mt-dest-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.mt-dest{position:relative;display:block;height:110px;border-radius:14px;background:#ddd center/cover no-repeat;box-shadow:var(--shadow);text-decoration:none;overflow:hidden}
.mt-dest__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,50,91,.1),rgba(18,50,91,.7))}
.mt-dest__label{position:absolute;left:12px;bottom:10px;color:#fff;font-weight:700;z-index:1;font-size:.95rem}
@media(max-width:768px){.mt-dest-grid{grid-template-columns:repeat(2,1fr)}}
.mt-why{background:#f2eee4;padding:40px 16px}
.mt-why__grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.mt-why__icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;border:2px solid var(--gold);color:var(--gold-d);font-size:1.4rem;margin-bottom:6px}
.mt-why__grid h4{font-size:1rem;margin:10px 0 4px;color:var(--navy)}
.mt-why__grid p{font-size:.88rem;color:#5b6675;margin:0}
@media(max-width:768px){.mt-why__grid{grid-template-columns:repeat(2,1fr)}}
.mt-cta-banner{position:relative;background:var(--navy);color:#fff;padding:70px 16px;text-align:center}
.mt-cta-banner h2{color:#fff;font-size:1.8rem;margin:0 0 10px}
.mt-cta-banner p{margin:0 0 22px;opacity:.9}

/* Kill the empty 200px title-bar spacer Kadence reserves even when the title is hidden */
body.home .entry-hero.page-hero-section .entry-header {
min-height: 0;
}
body.home .entry-hero {
display: none;
}

/* Homepage is a full custom design — strip Kadence's default content-card wrapper */
body.home .content-area {
margin-top: 0;
margin-bottom: 0;
}
body.home .entry-content-wrap {
padding: 0;
}
body.home .entry.single-entry {
box-shadow: none;
}

.mt-hero__search-btn {
width: auto;
height: 46px;
border-radius: 999px;
padding: 0 22px;
white-space: nowrap;
font-size: 14px;
font-weight: 700;
}

/* === Trust bar === */
.mt-trust{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;background:var(--navy);padding:34px 16px}
.mt-trust__grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.mt-trust__item{display:flex;align-items:center;justify-content:center;gap:14px;text-align:left;padding:0 24px;border-left:1px solid rgba(255,255,255,.14)}
.mt-trust__item:first-child{border-left:none}
.mt-trust__icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(193,154,75,.16);color:var(--gold)}
.mt-trust__icon svg{width:24px;height:24px}
.mt-trust__item strong{display:block;font-family:'Literata',serif;font-size:1.2rem;color:#fff;line-height:1.1}
.mt-trust__item span:last-child{font-size:.88rem;color:rgba(255,255,255,.72)}
@media(max-width:700px){.mt-trust__grid{grid-template-columns:1fr;gap:16px}.mt-trust__item{justify-content:flex-start;border-left:none;padding:0;border-top:1px solid rgba(255,255,255,.14);padding-top:16px}.mt-trust__item:first-child{border-top:none;padding-top:0}}

/* === Section eyebrow + centered heading variant === */
.mt-section__eyebrow{text-align:center;font-size:.8rem;font-weight:700;letter-spacing:.08em;color:var(--gold-d);margin-bottom:8px}
.mt-h2--center{text-align:center;margin-bottom:28px}

/* === Featured wide card === */
.mt-featured{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:28px;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.mt-featured__img{position:relative;display:block;min-height:260px;background:var(--navy) center/cover no-repeat}
.mt-featured__img img{width:100%;height:100%;object-fit:cover;border-radius:0;display:block}
.mt-featured__body{padding:28px 32px;display:flex;flex-direction:column;justify-content:center}
.mt-featured__body h3{font-size:1.5rem;margin:0 0 10px}
.mt-featured__body h3 a{color:var(--navy);text-decoration:none}
.mt-featured__desc{font-size:.95rem;color:#5b6675;margin:6px 0 18px;line-height:1.6}
.mt-featured__foot{display:flex;align-items:center;justify-content:space-between;gap:16px}
@media(max-width:800px){.mt-featured{grid-template-columns:1fr}.mt-featured__img{min-height:220px}.mt-featured__body{padding:22px 20px}}

/* === Why-us redesign === */
.mt-why{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;background:#f2eee4;padding:48px 16px}
.mt-why__grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;text-align:center}
.mt-why__icon{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;color:var(--gold-d);margin-bottom:8px}
.mt-why__icon svg{width:30px;height:30px}
.mt-why__grid h4{font-size:1.02rem;margin:8px 0 6px;color:var(--navy);font-family:'Literata',serif}
.mt-why__grid p{font-size:.88rem;color:#5b6675;margin:0;line-height:1.5}
@media(max-width:800px){.mt-why__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.mt-why__grid{grid-template-columns:1fr}}

/* === Promo carousel (manually ordered featured tours) === */
.mt-promo{position:relative;margin-top:28px}
.mt-promo__slide{display:none}
.mt-promo__slide.is-active{display:block}
.mt-promo__slide .mt-featured{margin-top:0}
.mt-promo__dots{display:flex;justify-content:center;gap:8px;margin-top:16px}
.mt-promo__dot{width:9px;height:9px;border-radius:50%;border:2px solid var(--gold-d);background:transparent;padding:0;cursor:pointer}
.mt-promo__dot.is-active{background:var(--gold-d)}
