/*
EB Homepage CSS
Caricare solo in homepage.
*/

.ebhu-home{color:#111}
        .ebhu-home a{color:inherit;text-decoration:none}
        .ebhu-shell{max-width:1360px;margin:0 auto;padding:0 20px;box-sizing:border-box}
        .ebhu-section{padding:54px 0}
        .ebhu-section--soft{background:#f8efe6}
        .ebhu-kicker{display:inline-block;margin-bottom:18px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8A0D1E;line-height:1.6}
        .ebhu-hero .ebhu-kicker{color:#fff}
        .ebhu-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}
        .ebhu-head h2{margin:0 0 8px;font-size:34px;line-height:1.1;color:#111}
        .ebhu-head p{margin:0;color:#4b5563;max-width:760px}
        .ebhu-head__link{color:#8A0D1E!important;font-weight:700;text-decoration:none;white-space:nowrap}
        .ebhu-head__link:hover{text-decoration:none;opacity:.88}
        .ebhu-hero{position:relative;min-height:560px;display:flex;align-items:center;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat}
        .ebhu-hero__media,.ebhu-hero__media img{position:absolute;inset:0;width:100%;height:100%}
        .ebhu-hero__media{opacity:0;pointer-events:none}.ebhu-hero__media img{object-fit:cover;object-position:center;display:block}
        .ebhu-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28) 0%, rgba(0,0,0,.34) 38%, rgba(0,0,0,.38) 100%)}
        .ebhu-hero .ebhu-shell{position:relative;z-index:2;width:100%}
        .ebhu-hero__grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(300px,.82fr);gap:24px;align-items:center}
        .ebhu-hero__grid--centered{grid-template-columns:1fr;justify-items:center}
        .ebhu-hero__copy h1{margin:8px 0 28px;font-size:54px;line-height:1.08;color:#fff;max-width:980px;text-wrap:balance;text-shadow:0 4px 22px rgba(0,0,0,.22);letter-spacing:-.02em}
        .ebhu-hero__copy--centered{text-align:center;max-width:1320px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 0 70px}
        .ebhu-hero__copy p{margin:0 0 30px;font-size:18px;line-height:1.7;color:rgba(255,255,255,.96);max-width:1240px;text-shadow:0 3px 18px rgba(0,0,0,.18)}
        .ebhu-hero__copy--centered p{max-width:980px;margin-left:auto;margin-right:auto;text-wrap:balance;white-space:normal}
        .ebhu-actions{display:flex;flex-wrap:wrap;gap:14px}.ebhu-hero__copy--centered .ebhu-actions{width:100%;align-items:center}
        .ebhu-actions--centered{justify-content:center}
		.ebhu-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.46);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 12px 28px rgba(0,0,0,.12);text-decoration:none!important;font-weight:700;color:#2f2f2f!important;transition:border-color .25s ease,color .25s ease,box-shadow .2s ease,transform .2s ease,background .2s ease}
        .ebhu-btn:hover{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.62);color:#8A0D1E!important;transform:translateY(-1px)}
        .ebhu-btn--primary{background:rgba(138,13,30,.72)!important;border-color:rgba(138,13,30,.58)!important;box-shadow:0 14px 30px rgba(138,13,30,.24);color:#fff!important}
        .ebhu-btn--primary:hover{color:#fff!important;background:rgba(138,13,30,.82)!important;border-color:rgba(138,13,30,.68)!important;transform:translateY(-1px)}
        .ebhu-btn{transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
        
        .ebhu-grid{display:grid;gap:22px}
        .ebhu-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
        .ebhu-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
        .ebhu-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
        .ebhu-grid--types{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
        .ebhu-grid--cards{align-items:stretch}
        .ebhu-grid--1fit{grid-template-columns:minmax(280px,420px);justify-content:center}
        .ebhu-grid--2fit{grid-template-columns:repeat(2,minmax(280px,420px));justify-content:center}
        .ebhu-weekend-fallback{display:block}

        .eb-card{background:#fff;border:1px solid #ede7df;border-radius:24px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.04);height:100%;display:flex;flex-direction:column}
        .eb-card__image{position:relative;display:block;width:100%;padding-top:66.5%;background:#f3f4f6;overflow:hidden;line-height:0;font-size:0}
        .eb-card__bg{position:absolute;inset:0;display:block;width:100%;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;transform:translateZ(0)}
        .eb-card__placeholder{position:absolute;inset:0;display:block;width:100%;height:100%;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}
        .eb-card__body{padding:18px;display:flex;flex-direction:column;gap:0;flex:1;min-height:0}
        .eb-card__badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
        .eb-badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
        .eb-badge--brand{background:#8A0D1E;color:#fff}
        .eb-badge--soft{background:#f3ece4;color:#46362e;border:1px solid #ead7c6}
        .eb-card__title{margin:0 0 8px;font-size:22px;line-height:1.15}
        .eb-card__title a,.eb-card__title a:hover,.eb-card__title a:focus,.eb-card__title a:visited{color:#111!important;text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}
        .eb-card__meta{margin:0 0 10px;color:#4b5563;font-size:14px;min-height:20px;line-height:1.45}
        .eb-card__text{margin:0 0 14px;color:#4b5563;line-height:1.6}
        .eb-card__link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid #e5e7eb;text-decoration:none!important;color:#111!important;font-weight:700;margin-top:auto;min-height:42px}
        .eb-card__link:hover{border-color:#8A0D1E;color:#8A0D1E!important}

        .ebhu-type{display:flex;align-items:flex-start;gap:14px;min-height:164px;padding:18px;border:1px solid #eadfD5;border-radius:22px;background:#fff;text-align:left;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
        .ebhu-type:hover{border-color:#8A0D1E;transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.06)}
        .ebhu-type__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:#f6eee6;font-size:24px;line-height:1}
        .ebhu-type__body{display:flex;flex-direction:column;min-width:0}
        .ebhu-type strong{display:block;margin:0 0 8px;color:#111;font-size:18px;line-height:1.2}
        .ebhu-type small{display:block;margin:0;color:#5b6472;font-size:14px;line-height:1.5}
        .ebhu-type__cta{display:inline-flex;align-items:center;margin-top:auto;padding-top:12px;color:#8A0D1E;font-weight:700;font-size:13px}
        .ebhu-media{position:relative;display:block;min-height:300px;border-radius:28px;overflow:hidden;text-decoration:none;background:#111;background-size:cover;background-position:center}
        .ebhu-media__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.58))}
        .ebhu-media__content{position:relative;display:flex;flex-direction:column;justify-content:end;height:100%;padding:24px;z-index:2}
        .ebhu-media__content strong{font-size:28px;line-height:1.05;color:#fff}
        .ebhu-media__content small{margin-top:8px;color:rgba(255,255,255,.9);font-size:15px;line-height:1.5}

        .ebhu-media,.ebhu-media:hover,.ebhu-discover,.ebhu-discover:hover,.ebhu-type,.ebhu-type:hover{text-decoration:none!important}
        .ebhu-media__content strong,.ebhu-discover strong,.ebhu-type strong{text-decoration:none!important}
        .ebhu-grid--discover{gap:20px}
        .ebhu-discover{position:relative;display:block;padding:30px 30px 28px;border:1px solid #ead7c6;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#fcf6f0 100%);text-decoration:none;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
        .ebhu-discover:before{content:'';position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:rgba(138,13,30,.05)}
        .ebhu-discover strong{position:relative;display:block;margin-bottom:10px;color:#111;font-size:26px;line-height:1.1}
        .ebhu-discover span{position:relative;display:block;color:#4b5563;line-height:1.6;max-width:520px}
        .ebhu-discover__eyebrow{position:relative;display:inline-block;margin-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8A0D1E}
        .ebhu-discover em{position:relative;display:inline-flex;align-items:center;margin-top:16px;color:#8A0D1E;font-style:normal;font-weight:700}
        .ebhu-discover:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.06);border-color:#8A0D1E}
        .ebhu-discover--territories{background:linear-gradient(135deg,#fff 0%,#f8efe6 100%)}
        .ebhu-discover--abroad{background:linear-gradient(135deg,#fff 0%,#f6f1eb 100%)}
        .ebhu-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border:1px solid #ead7c6;border-radius:28px;background:#f8efe6}
        .ebhu-cta h2{margin:0 0 10px;font-size:32px;line-height:1.1;color:#111}
        .ebhu-cta p{margin:0;color:#4b5563;max-width:720px}

        @media (max-width:1180px){
            .ebhu-grid--5{grid-template-columns:repeat(3,minmax(0,1fr))}
            .ebhu-hero__grid{grid-template-columns:1fr}
            .ebhu-hero{min-height:unset;padding:60px 0}
        }
        @media (max-width:1024px){
            .ebhu-grid--3,.ebhu-grid--2,.ebhu-grid--2fit{grid-template-columns:1fr}
            .ebhu-head{display:block}
            .ebhu-head h2{font-size:30px}
            .ebhu-hero__copy h1{font-size:38px}
            .ebhu-cta{display:grid}
        }
        @media (max-width:767px){
            .ebhu-shell{padding:0 16px}
            .ebhu-section{padding:40px 0}
            .ebhu-hero{padding:28px 0 24px;min-height:500px;align-items:flex-start;background-position:center 36%}
            .ebhu-hero__media img{object-position:center 34%}
            .ebhu-hero__overlay{background:linear-gradient(180deg,rgba(0,0,0,.46) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,.24) 100%)}
            .ebhu-hero__copy h1{font-size:30px;line-height:1.08}
            .ebhu-hero__copy p{font-size:14px;line-height:1.56;margin-bottom:18px;max-width:95%}
            .ebhu-head{margin-bottom:18px}
            .ebhu-kicker{font-size:11px}
            .ebhu-hero__copy .ebhu-kicker{margin-bottom:8px}
            .ebhu-hero__copy--centered p{max-width:100%;white-space:normal;text-wrap:pretty}
            .ebhu-actions{gap:12px;justify-content:center}
            .ebhu-btn{min-height:48px;padding:14px 18px;font-size:14px}
            .ebhu-grid--5{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
            .ebhu-grid--3.ebhu-grid--cards,.ebhu-grid--1fit,.ebhu-grid--2fit{grid-template-columns:1fr;gap:16px;justify-content:stretch}
            .eb-card{border-radius:18px}
            .eb-card__image{padding-top:70%;min-height:220px}
            .eb-card__title{font-size:20px}
            .ebhu-media{min-height:220px;border-radius:22px}
            .ebhu-media__content strong{font-size:24px}
            .ebhu-discover{padding:22px}
            .ebhu-discover strong{font-size:22px}
            .ebhu-discover em{margin-top:12px}
        }
        @media (max-width:520px){
            .ebhu-actions{display:grid;grid-template-columns:1fr;gap:10px}
            .ebhu-btn{width:100%}
            .ebhu-grid--2{grid-template-columns:1fr}
            .ebhu-grid--5{grid-template-columns:1fr 1fr}
            .ebhu-grid--types{grid-template-columns:1fr}
            .ebhu-type{min-height:auto;padding:16px;border-radius:18px;gap:12px}
            .ebhu-type__icon{width:46px;height:46px;flex-basis:46px;border-radius:14px;font-size:22px}
            .ebhu-type strong{font-size:16px;line-height:1.25}
            .ebhu-type small{font-size:13px}
            .ebhu-type__cta{font-size:12px}
        }


/* =========================================================
   EB HOMEPAGE - FIX FINALE HERO TESTI
   Da tenere in fondo al file per vincere il CSS globale.
========================================================= */

body.home .ebhu-hero{
  min-height: 560px !important;
}

body.home .ebhu-hero__copy--centered{
  padding: 0 0 95px !important;
  max-width: 1180px !important;
}

body.home .ebhu-hero .ebhu-kicker,
body.home .ebhu-hero__copy .ebhu-kicker{
  display: block !important;
  margin: 0 0 24px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  line-height: 1.7 !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.75) !important;
}

body.home .ebhu-hero__copy h1,
body.home .ebhu-hero__copy--centered h1{
  margin: 0 0 28px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.08 !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.65) !important;
}

body.home .ebhu-hero__copy p,
body.home .ebhu-hero__copy--centered p{
  max-width: 980px !important;
  margin: 0 auto 36px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.85) !important;
}

body.home .ebhu-hero__copy--centered .ebhu-actions{
  margin-top: 4px !important;
}

/* Mobile */
@media (max-width: 767px){

  body.home .ebhu-hero{
    min-height: 430px !important;
    padding: 22px 0 24px !important;
    align-items: center !important;
  }

  body.home .ebhu-hero__copy--centered{
    padding: 0 0 34px !important;
  }

  body.home .ebhu-hero .ebhu-kicker,
  body.home .ebhu-hero__copy .ebhu-kicker{
    margin-bottom: 16px !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    letter-spacing: .12em !important;
    max-width: 92% !important;
  }

  body.home .ebhu-hero__copy h1,
  body.home .ebhu-hero__copy--centered h1{
    font-size: 30px !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
  }

  body.home .ebhu-hero__copy p,
  body.home .ebhu-hero__copy--centered p{
    max-width: 92% !important;
    margin-bottom: 22px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    text-shadow: 0 3px 16px rgba(0,0,0,.9) !important;
  }

}
