/* ===========================================================
   ESSEDI LIVE V6 PREMIUM
   =========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#f5f6f8;

    font-family:Arial,Helvetica,sans-serif;

    color:#222;

}


/* ================= HEADER ================= */

.header{

    background:white;

    display:flex;

    align-items:center;

    padding:18px 40px;

    box-shadow:0 2px 12px rgba(0,0,0,.08);

}

.header-left{

    width:160px;

}

.logo{

    max-width:150px;

    height:auto;

}

.header-center{

    flex:1;

    text-align:center;

}

.header h1{

    font-size:34px;

    font-weight:700;

    color:#222;

}

.subtitle{

    margin-top:8px;

    color:#666;

    font-size:16px;

}

.green-bar{

    height:6px;

    background:#25a244;

}


/* ================= CONTENITORE ================= */

.container{

    max-width:1500px;

    margin:auto;

    padding:35px;

}


/* ================= CARD ================= */

.hero-card,
.card{

    background:white;

    border-radius:14px;

    box-shadow:0 8px 22px rgba(0,0,0,.08);

    overflow:hidden;

    margin-bottom:30px;

}

.card-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:18px 22px;

    border-bottom:1px solid #ececec;

}

.card-header h2{

    font-size:30px;

    color:#222;

}

.card-header h3{

    font-size:22px;

    color:#222;

}


/* ================= BADGE LIVE ================= */

.live-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#ff0000;

    display:inline-block;

    margin-right:10px;

}

.live-text{

    color:#ff0000;

    font-weight:bold;

    font-size:15px;

}


/* ================= IFRAME ================= */

.hero-card iframe{

    width:100%;

    height:720px;

    border:0;

}

.bottom-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:28px;

}

.card iframe{

    width:100%;

    height:420px;

    border:0;

}


/* ================= INFO ================= */

.info-box{

    background:#f8fff8;

    border-top:1px solid #d9efd9;

    padding:20px;

    font-size:17px;

    line-height:1.6;

}


/* ================= FOOTER ================= */

footer{

    margin-top:40px;

    padding:30px;

    text-align:center;

    color:#666;

    font-size:14px;

}


/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

    .bottom-grid{

        grid-template-columns:1fr;

    }

}


@media(max-width:800px){

.header{

    display:block;

    text-align:center;

    padding:25px;

}

.header-left{

    width:100%;

    margin-bottom:15px;

}

.logo{

    max-width:180px;

}

.header h1{

    font-size:26px;

}

.subtitle{

    font-size:15px;

}

.container{

    padding:15px;

}

.hero-card iframe{

    height:340px;

}

.card iframe{

    height:280px;

}

.card-header h2{

    font-size:22px;

}

.card-header h3{

    font-size:18px;

}/* ================= FULLSCREEN ================= */

#videoOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none !important;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#videoOverlay.show{
    display:flex !important;
}


#videoContainer{

    width:95vw;

    height:92vh;

    position:relative;

}

#fullscreenFrame{

    width:100%;

    height:100%;

    border:none;

    border-radius:12px;

    background:#000;

}

#closeVideo{

    position:absolute;

    top:-45px;

    right:0;

    background:#d00;

    color:white;

    border:none;

    padding:10px 16px;

    font-size:18px;

    border-radius:8px;

    cursor:pointer;

}

}