

.gwc-event-page{
    width:100%;
    max-width:100%;
    padding:20px;
    box-sizing:border-box;
}

.gwc-card{
    background:#fff;
    border-radius:0px;
    padding:30px;
    margin-bottom:5px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.gwc-card h2{
    margin-top:0;
    margin-bottom:20px;
    font-size:28px;
    font-weight:700;
}

.gwc-participants-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
}

.gwc-team{
    background:#f5f5f5;
    padding:15px;
    border-radius:12px;
    text-align:center;
    width:100%;
    box-sizing:border-box;
}



@media(max-width:768px){

    .gwc-participants-grid,
    .gwc-gallery-grid{
        grid-template-columns:1fr;
    }

}


.gwc-header-grid{
    display:flex;
    gap:40px;
    align-items:stretch;
}

.gwc-event-image{
    width:350px;
    flex-shrink:0;
    display:flex;
}

.gwc-event-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:12px;
}

.gwc-event-content{
    flex:1;
}

@media(max-width:768px){

    .gwc-header-grid{
        flex-direction:column;
    }

    .gwc-event-image{
        width:100%;
    }

}

.gwc-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.gwc-gallery-item{
    border-radius:0px;
    overflow:hidden;
    aspect-ratio:16/9;
    background:#f5f5f5;
}

.gwc-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 2%;
    display:block;
}


.gwc-bracket-wrapper{
    display:flex;
    gap:80px;
    overflow-x:auto;
    padding:30px 0;
}

.gwc-round{
    min-width:280px;
}

.gwc-round h4{
    text-align:center;
    margin-bottom:30px;
    color:#f06c23;
}

.gwc-match{
    margin-bottom:60px;
}

.gwc-team-box{
    background:#fff;
    border:2px solid #f06c23;
    border-radius:12px;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.gwc-team-box strong{
    color:#f06c23;
}

.gwc-champion{
    background:#fff7f2;
    border:2px solid #f06c23;
    border-radius:20px;
    text-align:center;
    padding:40px;
}

.gwc-champion h3{
    margin-top:20px;
    color:#f06c23;
}


.gwc-bracket-scroll{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:20px 0;
    -webkit-overflow-scrolling:touch;
}

.gwc-bracket-scroll::-webkit-scrollbar{
    height:8px;
}

.gwc-bracket-scroll::-webkit-scrollbar-thumb{
    background:#d0d0d0;
    border-radius:20px;
}


.gwc-bracket{
    min-width:900px;
    width:max-content;
    display:flex;
    align-items:center;
    gap:30px;
    margin:auto;
}


.round{
    display:flex;
    flex-direction:column;
}

.round-1{
    justify-content:space-between;
    margin-top:0;
    height:280px;
}

.round-2{
    justify-content:space-around;
    margin-top:40;
    height:280px;
}

.round-3{
    justify-content:center;
    margin-top:0;
    height:280px;
}

.match{
    width:90px;
    height:28px;
    border:1px solid #999;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

/* garis ke kanan */
.round-1 .match::after,
.round-2 .match::after,
.round-3 .match::after{
    content:"";
    position:absolute;
    right:-25px;
    top:50%;
    width:25px;
    border-top:1px solid #999;
}

/* piala */
.champion{
    width:60px;
    text-align:center;
    font-size:28px;
}


@media (max-width:768px){

    .gwc-bracket{
        min-width:850px;
        transform:scale(.9);
        transform-origin:left center;
    }

}


.champion{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.champion-name{
    min-width:120px;
    min-height:40px;
    border:1px solid #999;
    background:#fff;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}



/* CARD ATAS ORANGE */
.gwc-header-card{
    background:#F47A20;
}

/* TULISAN JADI PUTIH */
.gwc-header-card h2,
.gwc-header-card h3,
.gwc-header-card p{
    color:#fff;
}

/* CARD PESERTA KECIL */
.gwc-header-card .gwc-team{
    background:rgba(255,255,255,0.18);
    color:#fff;
    border:1px solid rgba(255,255,255,0.3);
}


/* CARD GALERI */
.gwc-gallery-card{
    background:#0EA5A0;
}

.gwc-gallery-card h2{
    color:#fff;
}


.wp-block-post-content.is-layout-constrained{
    max-width:none !important;
}

.wp-block-post-content{
    max-width:none !important;
}

.gwc-event-page{
    width:100vw !important;
    max-width:none !important;

    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;

    padding-left:0 !important;
    padding-right:0 !important;

    box-sizing:border-box;
}

.gwc-inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.gwc-gallery-card{
    width:100vw !important;
    max-width:none !important;

    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
}



