/* ==========================================================================
   Event Page Banner Custom
   ========================================================================== */
.main-body .body-banner.event-banner-custom {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    transform: rotate(180deg);
    
    /* Inherit the exact background image and properties from the body */
    background-image: url("../images/smenu-bg.png");
    background-attachment: fixed !important;
    background-color: var(--color-bg);

    /* Use the SVG wave as a mask so only the wave shape shows the background */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23000" /><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23000" /><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23000" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23000" /><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23000" /><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23000" /></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

@media (max-width: 991px) {
    .main-body .body-banner.event-banner-custom {
        height: 300px;
    }
    .banner-wave {
        height: 40px;
    }
}

/* ==========================================================================
   Event Main Content
   ========================================================================== */
.event-main-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.event-showcase {
    background: transparent !important;
    box-shadow: none !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
}

/* We reuse wwm-row styling here */
.wwm-row {
    background-color: transparent !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0;
}

.wwm-content {
    background-color: transparent !important;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 450px;
}

.wwm-row.reverse .wwm-content {
    order: 2;
}
.wwm-row.reverse .wwm-image {
    order: 1;
}

.wwm-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary, #014F86);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.wwm-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background-color: var(--color-primary, #014F86);
}

.wwm-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 48px;
    font-weight: 400;
    color: #1c3035;
    margin: 0 0 25px;
    line-height: 1.2;
}

.wwm-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.wwm-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wwm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.event-btn {
    display: inline-block;
    background-color: var(--color-primary, #014F86);
    color: #ffffff;
    padding: 14px 40px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
    border: 1px solid var(--color-primary, #014F86);
}

.event-btn:hover {
    background-color: transparent;
    color: var(--color-primary, #014F86);
}

@media (max-width: 991px) {
    .wwm-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .wwm-row.reverse .wwm-content {
        order: 1;
    }
    .wwm-row.reverse .wwm-image {
        order: 2;
    }
    .wwm-image {
        min-height: 350px;
        position: relative;
    }
    .wwm-image img {
        position: absolute;
    }
    .wwm-content {
        padding: 60px 5%;
    }
}









/* Event Book Button */
.btn-event-book {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 32px;
    background-color: var(--color-primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--color-primary);
}

.btn-event-book:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
}
