.no-scroll {
    overflow: hidden;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 50px 20px;
    max-width: 1090px;
    margin: 0 auto;
    margin-top: -50px;
    margin-bottom: 50px;
    padding: 0 20px;
    /* align-items: stretch; */
}

/* @media screen and (max-width: 768px) {
    .post-popup-content {
        max-height: calc(100vh - 100px) !important;
    }
} */

@media screen and (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1023px) {
    .post-popup-content {
        display: block !important;
        max-height: calc(100vh - 100px) !important;
    }
}


.post {
    font-family: 'Poppins', sans-serif;
}

.post-title {
    padding: 20px;
    display: flex;
    height: 150px;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
}

.post-title {
    font-size: 22px !important;
    font-weight: 500;
    text-align: center;
    color: #fff !important;
    /* text-transform: capitalize; */
}

.post-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.info-btn,
.book-btn {
    cursor: pointer;
    font-family: 'Indie Flower', cursive;
    font-size: 24px;
    margin-bottom: -40px;
    position: relative;
}

.info-btn span,
.book-btn span {
    position: relative;
    color: #fff;
    z-index: 10;
    padding: 10px 10px;
}

.info-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* background-color: #000; */
    /* opacity: 0; */
    /* transition: all 0.3s ease; */
    z-index: 5;
}

.website {
    cursor: pointer;
    /* font-family: 'Indie Flower', cursive; */
    font-size: 18px;
    /* margin-bottom: -40px; */
    position: relative;
    color: #fff;
}

.website span {
    position: relative;
    z-index: 10;
    /* padding: 10px 10px; */
}

.website span a {
    color: #000 !important;
    text-decoration: underline;
    position: relative;
    z-index: 10;
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px;
}

.post-card {
    padding: 20px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.exhibitor-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.exhibitor-job {
    font-size: 18px;
    font-weight: light;
    color: #000;
    min-height: 27px;
}

.post .date {
    font-size: 18px;
    font-weight: 600;
    min-height: 27px;
    margin-top: 20px;
    /* margin-bottom: 30px; */
}

.post .info-registration {
    margin-bottom: 30px;
    min-height: 48px;
}

.post-popup .date {
    font-size: 18px;
    font-weight: 600;
    min-height: 27px;
    margin-top: 20px;
    /* margin-bottom: 30px; */
}

.post-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.3); */
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.post-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 500;
}

.post-popup-visible {
    display: flex !important;
}

.post-popup-content {
    background-color: #F7F5EF;
    padding: 35px;
    padding-top: 50px;
    max-width: 1312px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    z-index: 999;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    overflow-y: auto;
    overflow-x: hidden;
    /* added property */
    /* max-height: calc(100% - 100px); */
    max-height: 100%;
    /* added property */
}

/* .close-popup {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 20px;
    color: #000;
    z-index: 1000;
} */
.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    color: #000;
}

.post-popup-inner-content {
    gap: 20px;
    display: flex;
    max-width: 1090px;
    width: 100%;
    justify-content: start;
    flex-direction: column;
    overflow-y: auto !important;
}

.post-popup-inner-content-left {
    /* max-width: 340px !important; */
    width: 100%;
}

.post-popup-inner-content-right {
    flex-grow: 1;
}

.post-popup-inner-content-title {
    font-family: "Jost" sans-serif !important;
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    /* background-color: #638D93; */
    padding: 20px;
    text-align: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.post-popup-inner-content-description-text {
    margin: 0 auto;
    margin-top: 20px;
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Poppins" sans-serif;
    font-weight: light;
    color: #000;
    font-size: 18px;
}

.post-popup-inner-content .website {
    margin-top: 40px;
    font-family: "Indie Flower" cursive;
    font-size: 25px;
}

.post-popup-inner-content .post-image {
    height: 390px;
}

.no-posts-found {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    height: 300px;
}

@media screen and (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .post-popup-inner-content {
        flex-direction: row;
    }

    .post-popup-inner-content-left {
        max-width: 340px !important;
        /* width: 100%; */
    }

    .post-popup-inner-content-title {
        font-size: 25px !important;
    }

    .post-popup-content {
        padding: 55px;
    }

    .post-popup-inner-content-description-text {
        max-width: 575px;
        margin-top: 80px;
    }

}

.post-popup {
    font-family: 'Poppins', sans-serif;
}