/* Homepage sessions header — scoped to #section-event-metal only */

#section-event-metal .section-row{
    margin-bottom: 52px;
    align-items: stretch !important;
}

#section-event-metal .event-metal-header-row{
    --bs-gutter-x: 2.5rem;
}

@media only screen and (min-width: 1200px){
    #section-event-metal .event-metal-header-row{
        --bs-gutter-x: 3.5rem;
    }
}

#section-event-metal .event-metal-header-col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 0;
}

#section-event-metal .section-title{
    margin-bottom: 18px;
}

#section-event-metal .section-title h3{
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

#section-event-metal .section-title h2{
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.28;
    margin-bottom: 0;
}

#section-event-metal .section-title-content,
#section-event-metal .section-title-content p,
#section-event-metal .section-title-content li,
#section-event-metal .section-title-content div{
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
}

#section-event-metal .section-title-content p{
    margin-bottom: 14px;
}

#section-event-metal .section-title-content ul{
    padding-left: 18px;
    margin: 0 0 6px;
}

#section-event-metal .section-title-content li{
    margin-bottom: 6px;
}

#section-event-metal .section-content-btn .section-btn{
    margin-top: 22px;
    text-align: left;
}

#section-event-metal .section-content-btn .btn-default{
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 6px 22px rgba(115, 75, 223, 0.35);
}

/* Single hero image */
.event-metal-visual{
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 8px;
}

.event-metal-visual-frame{
    margin: 0 auto;
    width: 100%;
    max-width: 92%;
    height: 100%;
    min-height: 220px;
    max-height: 280px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.event-metal-visual-frame::before{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(115, 75, 223, 0.55), rgba(255, 255, 255, 0.12) 45%, rgba(115, 75, 223, 0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.event-metal-visual-frame::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 4, 32, 0.02) 0%, rgba(10, 4, 32, 0.28) 100%);
    pointer-events: none;
    z-index: 1;
}

.event-metal-visual-frame img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 0.6s ease;
}

.event-metal-visual-frame:hover img{
    transform: scale(1.04);
}

@media only screen and (min-width: 1200px){
    .event-metal-visual-frame{
        min-height: 240px;
        max-height: 300px;
        max-width: 88%;
    }
}

@media only screen and (max-width: 991px){
    #section-event-metal .event-metal-header-col{
        padding-left: 0;
        padding-right: 0;
    }

    .event-metal-visual-frame{
        min-height: 200px;
        max-height: 250px;
        max-width: 94%;
    }

    #section-event-metal .section-row{
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 767px){
    /*
     * custom.css .row { margin: -15px } cancels .container { padding: 15px }.
     * Reset row bleed and restore column padding so text is not flush to screen edges.
     */
    #section-event-metal .event-metal-header-row{
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
    }

    #section-event-metal .event-metal-header-row > [class*="col-"]{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #section-event-metal .event-metal-header-col{
        padding-left: 0;
        padding-right: 0;
    }

    #section-event-metal .section-title h2{
        font-size: clamp(20px, 5.4vw, 26px);
        line-height: 1.35;
        word-break: normal;
        overflow-wrap: anywhere;
        hyphens: none;
    }

    #section-event-metal .section-title-content,
    #section-event-metal .section-title-content p,
    #section-event-metal .section-title-content li,
    #section-event-metal .section-title-content div{
        text-align: left;
        hyphens: none;
        word-break: normal;
        overflow-wrap: break-word;
        text-justify: auto;
    }

    #section-event-metal .section-content-btn .section-btn{
        margin-top: 18px;
    }

    #section-event-metal .section-content-btn .btn-default{
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        padding: 13px 22px;
    }

    .event-metal-visual{
        margin-top: 8px;
        padding-right: 0;
    }

    .event-metal-visual-frame{
        min-height: auto;
        max-height: 155px;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

    .event-metal-visual-frame img{
        object-position: center center;
    }
}

@media only screen and (max-width: 480px){
    #section-event-metal .event-metal-header-row > [class*="col-"]{
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .event-metal-visual-frame{
        max-height: 135px;
    }

    #section-event-metal .section-title h2{
        font-size: 20px;
    }
}
