.top-events-content {
    display: flex;
    width: 94%;
    max-width: var(--max-width);
    margin: auto;
    gap: 8rem;
    padding: 4rem 0;
    align-items: center;
}

.left-side {
    width: 40%;    
}
.left-side p {
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.title-category {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.right-side {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.top-events-item {
    display: flex;
    background-color: #f1f6fa;
    padding: 0.5rem 1rem;
    gap: 2rem;
    align-items: center;
}

.top-events-date {
    display: flex;
    flex-direction: column;
    background-color: #e6f0f9;
    justify-content: center;
    padding: 0.5rem 1rem;
    color: var(--color-button);
    height: 100%;
}

.top-events-date span {
    display: block;
    text-align: center;
}

.top-events-day {
    font-size: 2rem;
}
.top-events-month {
    font-size: 1.25rem;
    text-transform: uppercase;
}

.top-events-text {
    display: flex;
    flex: 1;
}

.top-events-title {
    flex: 1;
    text-decoration: none;
}
.top-events-title p {
    font-size: 0.875rem;
    color: var(--color-button);
    margin-bottom: 0.5rem;
}
.top-events-title p span {
    color: var(--color-green);
    font-weight: bold;
}
.top-events-title h3 {
    font-weight: normal;
    font-size: 1.25rem;
}

.top-events-detail {
    padding: 1rem;
    font-size: 1.125rem;
    text-decoration: none;
    font-weight: bold;
}
.top-events-detail::after {
    content: "";
    position: relative;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--color-button);
    mask-image: url("/assets/icons/arrow_outward.svg");
    mask-size: contain;
    width: 1.75rem;
    height: 1.75rem;
}

@media only screen and (max-width: 960px) {
    .top-events-content {
        flex-direction: column;
    }
    .left-side {
        width: 94%;
    }
    .right-side {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .top-events-text {
        flex-direction: column;
    }
    .top-events-text a {
        font-size: 1rem;
        border: 1px solid var(--color-main);
        padding: 0.5rem 1.5rem;
        display: inline-block;
        width: fit-content;
        margin-left: auto;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}