/*
 * Vila Baco Core v0.16.0
 * Página Eventos: Baco na Barca, Vila Baco Volante e Tábuas Personalizadas.
 * Isolado em .vb-events / body.vb-eventos-page.
 */

body.vb-eventos-page .vb-page-content,
body.vb-eventos-page .vb-page-hero{
    display:none !important;
}

.vb-events{
    color:#3d3035;
    background:#fbf7f2;
}

.vb-events__hero{
    position:relative;
    overflow:hidden;
    padding:108px 0 100px;
    color:#fff;
    background:
        radial-gradient(circle at 80% 18%,rgba(114,169,0,.2),transparent 23%),
        linear-gradient(120deg,#25000f 0%,#50001e 62%,#762740 100%);
}

.vb-events__hero:after{
    position:absolute;
    top:-150px;
    right:-90px;
    width:520px;
    height:520px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    content:"";
}

.vb-events__hero .vb-global-container{
    position:relative;
    z-index:2;
}

.vb-events__hero span,
.vb-events__heading span,
.vb-event-detail__content>span,
.vb-events__final span{
    color:#72a900;
    font-size:10px;
    font-weight:700;
    letter-spacing:2.4px;
    text-transform:uppercase;
}

.vb-events__hero h1{
    max-width:930px;
    margin:18px 0 20px;
    color:#faf6f0;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(52px,6vw,80px);
    font-weight:500;
    line-height:.98;
    letter-spacing:-.035em;
}

.vb-events__hero p{
    max-width:700px;
    margin:0 0 32px;
    color:rgba(255,255,255,.72);
    font-size:15px;
    line-height:1.75;
}

.vb-events__hero a{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:48px;
    padding:0 22px;
    border:1px solid rgba(255,255,255,.34);
    border-radius:999px;
    color:#fff !important;
    font-size:10px;
    font-weight:700;
    text-decoration:none !important;
    text-transform:uppercase;
}

.vb-events__overview{
    padding:88px 0 96px;
}

.vb-events__heading{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
    align-items:end;
    gap:60px;
    margin-bottom:38px;
}

.vb-events__heading h2,
.vb-events__final h2{
    max-width:720px;
    margin:8px 0 0;
    color:#430019;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(42px,5vw,62px);
    font-weight:500;
    line-height:1;
    letter-spacing:-.03em;
}

.vb-events__heading>p{
    margin:0;
    color:#7a696f;
    font-size:13px;
    line-height:1.8;
}

.vb-events-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.vb-events-card{
    overflow:hidden;
    border:1px solid rgba(67,0,25,.1);
    border-radius:20px;
    background:#fff;
    box-shadow:0 18px 50px rgba(67,0,25,.055);
}

.vb-events-card__image{
    overflow:hidden;
    aspect-ratio:4/3;
    background:#eee6e0;
}

.vb-events-card__image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.vb-events-card__placeholder,
.vb-event-detail__media-empty{
    display:grid;
    place-items:center;
    align-content:center;
    gap:6px;
    width:100%;
    height:100%;
    min-height:100%;
    color:#430019;
    text-align:center;
    background:
        radial-gradient(circle at 70% 20%,rgba(114,169,0,.15),transparent 25%),
        #efe7e1;
}

.vb-events-card__placeholder span,
.vb-event-detail__media-empty span{
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:30px;
}

.vb-events-card__placeholder small{
    color:#72a900;
    font-size:9px;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

.vb-events-card__content{
    display:flex;
    flex-direction:column;
    min-height:330px;
    padding:25px;
}

.vb-events-card__content>span{
    color:#72a900;
    font-size:9px;
    font-weight:700;
    letter-spacing:1.8px;
    text-transform:uppercase;
}

.vb-events-card__content h3{
    margin:8px 0 10px;
    color:#430019;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:32px;
    font-weight:500;
    line-height:1.03;
}

.vb-events-card__content>p{
    margin:0;
    color:#78686e;
    font-size:12.5px;
    line-height:1.7;
}

.vb-events-card__facts{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:18px 0 22px;
}

.vb-events-card__facts small{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 10px;
    border-radius:999px;
    color:#5b4c52;
    background:#f4eee9;
    font-size:9px;
}

.vb-events-card__content>a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:auto;
    color:#430019 !important;
    font-size:10px;
    font-weight:700;
    letter-spacing:.7px;
    text-decoration:none !important;
    text-transform:uppercase;
}

.vb-events__details{
    padding:16px 0 100px;
}

.vb-event-detail{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    gap:64px;
    align-items:start;
    padding:76px 0;
    border-top:1px solid rgba(67,0,25,.12);
    scroll-margin-top:120px;
}

.vb-event-detail--reverse .vb-event-detail__media{
    order:2;
}

.vb-event-detail--reverse .vb-event-detail__content{
    order:1;
}

.vb-event-detail__media{
    position:sticky;
    top:118px;
}

.vb-event-detail__main-image{
    overflow:hidden;
    aspect-ratio:4/5;
    border-radius:22px;
    background:#ece3dd;
}

.vb-event-detail__main-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.vb-event-detail__thumbs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-top:9px;
}

.vb-event-detail__thumbs a{
    overflow:hidden;
    aspect-ratio:1;
    border-radius:11px;
    background:#e9e0da;
}

.vb-event-detail__thumbs img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.vb-event-detail__media-empty{
    min-height:500px;
    border-radius:22px;
}

.vb-event-detail__media-empty p{
    max-width:240px;
    margin:0;
    color:#7c6b70;
    font-size:12px;
    line-height:1.6;
}

.vb-event-detail__content h2{
    margin:9px 0 20px;
    color:#430019;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(44px,5vw,64px);
    font-weight:500;
    line-height:.98;
    letter-spacing:-.03em;
}

.vb-event-detail__facts{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.vb-event-detail__facts>div{
    min-width:130px;
    padding:14px 16px;
    border:1px solid rgba(67,0,25,.1);
    border-radius:12px;
    background:#fff;
}

.vb-event-detail__facts small{
    display:block;
    margin-bottom:5px;
    color:#72a900;
    font-size:8px;
    font-weight:700;
    letter-spacing:1.4px;
}

.vb-event-detail__facts strong{
    color:#430019;
    font-size:12px;
    font-weight:600;
}

.vb-event-detail__description{
    color:#65565c;
    font-size:14px;
    line-height:1.8;
}

.vb-event-detail__description p{
    margin:0 0 14px;
}

.vb-event-menu,
.vb-event-conditions{
    margin-top:28px;
}

.vb-event-menu h3,
.vb-event-conditions h3{
    margin:0 0 14px;
    color:#430019;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:28px;
    font-weight:600;
}

.vb-event-menu__list{
    display:grid;
    gap:9px;
}

.vb-event-menu__item{
    padding:15px 17px;
    border:1px solid rgba(67,0,25,.1);
    border-radius:13px;
    background:#fff;
}

.vb-event-menu__item strong{
    display:block;
    margin-bottom:5px;
    color:#430019;
    font-size:11px;
}

.vb-event-menu__item p{
    margin:0;
    color:#726168;
    font-size:11.5px;
    line-height:1.65;
}

.vb-event-conditions{
    padding:20px 22px;
    border-radius:16px;
    background:#f1ebe6;
}

.vb-event-conditions ul{
    display:grid;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

.vb-event-conditions li{
    position:relative;
    padding-left:18px;
    color:#66575d;
    font-size:11.5px;
    line-height:1.6;
}

.vb-event-conditions li:before{
    position:absolute;
    top:.62em;
    left:0;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#72a900;
    content:"";
}

.vb-event-detail__actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}

.vb-event-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:0 18px;
    border:1px solid rgba(67,0,25,.22);
    border-radius:999px;
    color:#430019 !important;
    font-size:10px;
    font-weight:700;
    text-decoration:none !important;
    text-transform:uppercase;
}

.vb-event-button--primary{
    border-color:#430019;
    color:#fff !important;
    background:#430019;
}

.vb-events__final{
    padding:86px 0 92px;
    text-align:center;
    background:#f0e8e2;
}

.vb-events__final h2{
    margin:9px auto 14px;
}

.vb-events__final p{
    max-width:620px;
    margin:0 auto 26px;
    color:#77666d;
    font-size:13px;
    line-height:1.75;
}

.vb-events__final a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:48px;
    padding:0 21px;
    border-radius:999px;
    color:#fff !important;
    background:#430019;
    font-size:10px;
    font-weight:700;
    text-decoration:none !important;
    text-transform:uppercase;
}

.vb-event-details-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin:16px 0 2px;
    color:#430019 !important;
    font-size:10px;
    font-weight:700;
    letter-spacing:.65px;
    text-decoration:none !important;
    text-transform:uppercase;
}

@media(max-width:900px){
    .vb-events__heading,
    .vb-event-detail{
        grid-template-columns:1fr;
        gap:30px;
    }

    .vb-events-cards{
        grid-template-columns:1fr 1fr;
    }

    .vb-event-detail--reverse .vb-event-detail__media,
    .vb-event-detail--reverse .vb-event-detail__content{
        order:initial;
    }

    .vb-event-detail__media{
        position:static;
    }

    .vb-event-detail__main-image{
        aspect-ratio:16/11;
    }
}

@media(max-width:600px){
    .vb-events__hero{
        padding:76px 0 70px;
    }

    .vb-events__hero h1{
        font-size:48px;
    }

    .vb-events__overview{
        padding:62px 0 68px;
    }

    .vb-events__heading{
        margin-bottom:28px;
    }

    .vb-events__heading h2,
    .vb-events__final h2{
        font-size:42px;
    }

    .vb-events-cards{
        grid-template-columns:1fr;
    }

    .vb-event-detail{
        padding:58px 0;
    }

    .vb-event-detail__main-image{
        aspect-ratio:4/3;
    }

    .vb-event-detail__content h2{
        font-size:44px;
    }

    .vb-event-detail__actions{
        flex-direction:column;
    }

    .vb-event-button{
        width:100%;
    }

    .vb-events__final{
        padding:62px 0 70px;
    }
}
