body {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.site-main {
    margin-top: 67px;
    position: relative;
    z-index: 1;
}

.exhibitions-events {
    margin-top: -63px;
}

.bg--grey {
    background-color: #f7f9fa;
    margin-top: 120px;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.event-listing-header {
    background-color: #bbe0e4;
    margin-bottom: 32px;
    padding: 78px 0;
    height: 60vh;
    align-content: center;
}

.events-listing.upcoming {
    padding-bottom: 0;
}

.events-listing {
    background-color: #f7f9fa;
    padding-bottom: 80px;
}

.container h1 {
    font-size: 80px;
    color: #00888A;
    margin-bottom: 40px;
}

.heading_box {
    max-width: 80%;
    margin: 0 auto;
}

.upcoming-events{
    color: #00888A;
    font-size: 25px;
    margin: 40px 360px;
}
.event-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* padding: 10px; */
    max-width: 1200px;
    margin: 20px auto;
    border: 1px solid rgb(190, 187, 187);
    justify-content: space-between;
}

.event {
    display: flex;
    border-right: 1px solid rgb(190, 187, 187);
    padding: 30px 115px;
    gap: 20px;
}

.date-section {
    background-color: #b5bac0;
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    margin-right: 30px;
    min-width: 120px;
    height: 179px;
    margin-top: 39px;
}

.upcoming-date{
    background-color: #00888a;
}

.date-section .month {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.date-section .date {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

.details-section {
    flex-grow: 1;
    margin-top: -13px;
}
.details-section .icon{
    margin-left: -26px;
}

.details-section .stall{
    margin-left: -16px;
}

.details-section h2 {
    font-size: 26px;
    color: #00888A;
    margin-bottom: 10px;
    margin-left: -46px;
}

.details-section p {
    font-size: 20px;
    color: #333;
    margin: 8px 0;
}

.link-section {
    text-align: center;
    padding: 50px;
    margin-right: 50px;
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgb(190, 187, 187);
}

.link-section .button {
    background-color: #0078d7;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.link-section .button:hover {
    background-color: #005fa3;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* margin-right: 126px; */
    margin: 0 auto;
}

.logo-section h2 {
    font-family: "Freeman", sans-serif;
    font-size: 30px;
}

.logo-section img {
    width: 100px;
    margin-left: -133px
}

.pagination{
    margin-bottom: 40px;
    margin-top: -34px;
    padding-left: 350px;
}

@media (max-width: 1024px) {
    .event-card {
        margin-left: 20px;
        margin-right: 20px;
    }

    .date-section .month {
        font-size: 20px;
        margin-top: 10px;
    }

    .date-section .date {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .event-listing-header {
        height: 40vh;
    }
    .container h1 {
        font-size: 30px;
    }

    .date-section .month {
        font-size: 20px;
        margin-top: 40px;
    }

    .date-section .date {
        font-size: 20px;
    }

    .event-card {
        margin-left: 10px;
        margin-right: 10px;
        padding: 8px;
    }

    .event .date-section {
        padding: 0px;
        min-width: 100px;
    }

    .details-section h2 {
        font-size: 22px;
    }

    .details-section p {
        font-size: 16px;
    }

    .link-section .button {
        padding: 10px 30px;
        font-size: 16px;
    }

    .logo-section img {
        width: 120px;
    }
}

@media (max-width: 576px) {

    .event{
        border: none;
    }

    .event-card {
        display: flex;
        flex-wrap: wrap; /* Stack content vertically */
        align-items: center; /* Center-align content */
        padding: 15px; /* Adjust padding */
        margin: 10px; /* Reduce margin */
        text-align: center; /* Center-align text */
        /* height: 400px; */
    }

    .date-section {
        width: 27%; /* Full-width date section */
        margin-bottom: 45px; /* Add space below */
    }

    .date-section .month {
        font-size: 20px;
        margin-top: 6px;
    }

    .details-section h2 {
        font-size: 20px; /* Reduce title size */
        margin: 10px 0; /* Add spacing around title */
    }

    .details-section p {
        font-size: 14px; /* Smaller font for details */
    }

    .logo-section img {
        max-width: 150px; /* Resize logo */
        margin: 10px auto; /* Center logo */
    }

    .link-section .button {
        font-size: 14px; /* Adjust button font size */
        padding: 10px 20px; /* Adjust padding for better clickability */
    }

    .link-section {
        border: none;
    }
}
@media (max-width:425px){
    .link-section{
        margin-right: 0px;
    }
}
@media (min-width:1500px){
    .heading_box {
        max-width: 62%;
        margin: 0 auto;
    }
}


html, body {
    overflow-x: hidden;
}