/* =========================================
   EVENT DETAILS PAGE
========================================= */

.event-details-page {

    width: min(1050px, 92%);

    margin: 110px auto 70px;

}


/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-bottom: 25px;

    font-size: 13px;

    color: #777;

}

.breadcrumb a {

    color: var(--primary);

    text-decoration: none;

}

.breadcrumb a:hover {

    text-decoration: underline;

}


/* =========================================
   ARTICLE
========================================= */

.event-article {

    background: #fff;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.10);

}


/* =========================================
   HEADER
========================================= */

.event-header {

    padding: 45px 55px 35px !important;
    position: inherit;

}

.event-category {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 14px;

    font-weight: 600;

}

.event-header h1 {

    max-width: 850px;

    margin-top: 12px;

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

    line-height: 1.2;

    color: var(--text);

}

.event-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 20px;

    color: #666;

    font-size: 14px;

}

.event-meta span {

    display: flex;

    align-items: center;

    gap: 7px;

}

.event-meta i {

    color: var(--primary);

}


/* =========================================
   FEATURED IMAGE
========================================= */

.event-featured-image {

    margin: 0;

}

.event-featured-image img {

    display: block;

    width: 100%;

    max-height: 250px;

    object-fit: cover;

}

.event-featured-image figcaption {

    padding: 10px 20px;

    background: #f7f8fa;

    color: #777;

    font-size: 12px;

    text-align: center;

}


/* =========================================
   CONTENT
========================================= */

.event-content {

    padding: 40px 55px;

}

.event-content p {

    color: #555;

    font-size: 16px;

    line-height: 2;

    margin-bottom: 20px;

}

.event-introduction {

    font-size: 18px !important;

    color: #333 !important;

    font-weight: 500;

}

.event-content h2 {

    margin:
        30px 0 12px;

    font-size: 25px;

    color: var(--text);

}


/* =========================================
   HIGHLIGHTS
========================================= */

.event-highlights {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin: 35px 0;

}

.highlight {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background: #f7f9fc;

    border-radius: 15px;

    border-left:
        4px solid var(--primary);

}

.highlight > i {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: #3d0cb8;

    background: var(--primary);

}

.highlight strong,
.highlight span {

    display: block;

}

.highlight strong {

    font-size: 13px;

    color: #333;

}

.highlight span {

    margin-top: 3px;

    font-size: 13px;

    color: #666;

}


/* =========================================
   GALLERY
========================================= */

.event-gallery {

    margin-top: 45px;

}

.event-gallery h2 {

    margin-bottom: 5px;

}

.event-gallery > p {

    font-size: 14px;

    margin-bottom: 20px;

}

.event-photo-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

}

.event-photo-grid figure {

    margin: 0;

    overflow: hidden;

    border-radius: 15px;

    background: #eee;

}

.event-photo-grid img {

    display: block;

    width: 100%;

    height: 250px;

    object-fit: cover;

    transition:
        transform .4s ease;

}

.event-photo-grid figure:hover img {

    transform: scale(1.05);

}


/* =========================================
   SHARE
========================================= */

.event-share {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 15px;

    padding:
        25px 55px;

    border-top:
        1px solid #eee;

}

.event-share strong {

    font-size: 14px;

}

.event-share button {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border: none;

    border-radius: 25px;

    color: #fff;

    background: var(--primary);

    cursor: pointer;

}


/* =========================================
   BACK
========================================= */

.back-events {

    margin-top: 25px;

    text-align: center;

}

.back-events a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    text-decoration: none;

    font-weight: 600;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
/* .event-details-page {

    width: min(1050px, 92%);

    margin: 110px auto 70px;

}*/
    .event-details-page { 

        width: 98%;

        margin-top: 120px;
        

    }


    .event-header  {
        margin-left: 0;
        padding: 10px 15px 15px !important;
    }

     .event-header h1 {
    

        font-size: 1.7rem;
    }

    .event-meta {

        flex-direction: column;

        gap: 8px;

    }

    .event-content {

        padding:
            25px 22px;

    }

    .event-content p {

        font-size: 15px;

        line-height: 1.85;

    }

    .event-highlights {

        grid-template-columns: 1fr;

    }

    .event-photo-grid {

        grid-template-columns: 1fr;

    }

    .event-photo-grid img {

        height: 230px;

    }

    .event-share {

        padding:
            20px 22px;

        flex-direction: column;

        align-items: stretch;

        text-align: center;

    }

    .event-share button {

        justify-content: center;

    }

}