/*==============================================================
HERITAGE VENUE
Royal Nusantara
==============================================================*/

.event-section{

    padding:110px 20px;

}

.event-section .container{

    max-width:980px;

}

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

.event-card{

    position:relative;

    max-width:700px;

    margin:0 auto;

    padding:50px;

    text-align:center;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.55);

    box-shadow:
        0 20px 50px rgba(74,46,23,.10);

}

/* Inner Frame */

.event-card::before{

    content:"";

    position:absolute;

    inset:10px;

    border:1px solid rgba(212,175,55,.55);

    pointer-events:none;

}

/* Ornament */

.event-card::after{

    content:"✦";

    position:absolute;

    top:-13px;

    left:50%;

    transform:translateX(-50%);

    width:28px;

    height:28px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--secondary);

    color:var(--accent);

    font-size:15px;

}

/*==============================================================
TITLE
==============================================================*/

.event-title{

    margin-bottom:24px;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:clamp(2.6rem,5vw,3.5rem);

    font-weight:600;

}

.event-title::after{

    content:"";

    display:block;

    width:80px;

    height:1px;

    margin:18px auto 0;

    background:linear-gradient(
        to right,
        transparent,
        var(--accent),
        transparent
    );

}

/*==============================================================
DATE
==============================================================*/

.event-date{

    margin-bottom:14px;

    color:var(--text);

    font-family:var(--body-font);

    font-size:1.05rem;

    line-height:2;

}

/*==============================================================
TIME
==============================================================*/

.event-time{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    color:#7a5b38;

    font-family:var(--body-font);

    font-size:1rem;

}

.event-time i{

    color:var(--accent);

}

/*==============================================================
BUTTON
==============================================================*/

.location-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-top:32px;

    min-width:230px;

    height:50px;

    padding:0 30px;

    background:linear-gradient(
        180deg,
        #b58a43,
        #7b5328
    );

    border:1px solid var(--primary);

    color:#fff;

    text-decoration:none;

    font-family:var(--body-font);

    font-weight:600;

    letter-spacing:.5px;

    transition:.35s;

}

.location-btn:hover{

    color:#fff;

    transform:translateY(-3px);

    filter:brightness(1.05);

}

.location-btn i{

    font-size:15px;

}

/*==============================================================
DIVIDER
==============================================================*/

.event-divider{

    position:relative;

    width:180px;

    margin:50px auto;

    text-align:center;

    color:var(--accent);

    font-size:22px;

}

.event-divider::before,

.event-divider::after{

    content:"";

    position:absolute;

    top:50%;

    width:65px;

    height:1px;

    background:rgba(212,175,55,.6);

}

.event-divider::before{

    left:0;

}

.event-divider::after{

    right:0;

}

/*==============================================================
CLOSING
==============================================================*/

.closing-message{

    max-width:640px;

    margin:0 auto;

    text-align:center;

    color:var(--text);

    font-family:var(--body-font);

    font-size:1rem;

    line-height:2;

}

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

@media(max-width:768px){

    .event-section{

        padding:80px 20px;

    }

    .event-card{

        padding:30px 22px;

    }

    .event-card::before{

        inset:6px;

    }

    .event-title{

        font-size:2rem;

    }

    .event-title::after{

        width:60px;

        margin-top:14px;

    }

    .event-date{

        font-size:.92rem;

    }

    .event-time{

        font-size:.92rem;

    }

    .location-btn{

        width:100%;

        max-width:270px;

        height:46px;

        font-size:.9rem;

    }

    .event-divider{

        width:120px;

        margin:35px auto;

        font-size:18px;

    }

    .event-divider::before,

    .event-divider::after{

        width:40px;

    }

    .closing-message{

        font-size:.92rem;

        line-height:1.9;

    }

}