.page-content {
    background-color: #F2EDE7;
}

.page-title.detail {
    font-size: 80px;
    line-height: 80px;
    max-width: 100%;
}

.event-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 80px;
}

.tabs-control {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tabs-control > a {
    font-size: 18px;
    color: white;
    background-color: black;
    width: fit-content;
    text-decoration: none;
    padding: 15px 30px;
    text-align: center;
}

.tabs-control > a.current {
    background-color: #BC8E38;
}

.events-grid {
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.event-block {
    width: calc((100% - (20px * 3)) / 4);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 10px;
    transition: .2s ease transform;
    margin-bottom: 10px;
}

.event-block:hover {
    transform: scale(1.01);
}

.event-block > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.event-info {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: #555555;
    gap: 5px;
}

.event-title {
    color: #BC8E38;
    font-family: "Playfair Display SC", serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.meta {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    gap: 10px;
    margin-bottom: 5px;
}

.meta.last {
    margin-bottom: 40px;
}

.description {
    width: 100%;
    font-size: 20px;
    line-height: 34px;
    max-width: 1500px;
    margin-bottom: 50px;
}

.event-header {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.event-meta, .event-sponsors {
    display: flex;
    flex-direction: column;
}

.event-sponsors {
    margin-bottom: 50px;
}

.sponsor-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sponsors {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 40px;
}

.sponsor-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sponsor-block > img {
    max-width: 300px;
    max-height: 200px;
    object-fit: contain;
}

@media screen and (max-width: 1400px) {
    .event-block {
        width: calc((100% - (20px * 2)) / 3);
    }
}

@media screen and (max-width: 1000px) {
    .page-title.detail {
        font-size: 60px;
        line-height: 60px;
    }

    .description {
        font-size: 18px;
        line-height: 28px;
    }

    .event-block {
        width: calc((100% - (20px * 1)) / 2);
    }
}

@media screen and (max-width: 700px) {
    .tabs-control {
        justify-content: center;
    }

    .tabs-control > a {
        font-size: 16px;
        padding: 14px 20px;
    }

    .event-block {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .gallery {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}