.posts-top .wrapper {
    display: flex;
    justify-content: space-between;
}

.posts-top__img {
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 510px;
}

.posts-top__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.posts-top__info {
    max-width: 551px;
}

.posts-top {
    padding: 171px 0 0;
}

.posts-top__tag {
    color: #3888FF;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
}

.posts-top__info h2 {
    font-size: 38px;
    color: #000000;
}

.posts-top__info h2 a {
    color: inherit;
}

.posts-top__excerpt {
    font-size: 16px;
    margin: 12px 0 0;
    line-height: 1.5;
}

.posts-top__author-container {
    display: flex;
    align-items: center;
    margin: 20px 0 0;
}

.blog-list__item-author-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-list__item-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.posts-top__author {
    font-size: 16px;
    line-height: 1.5;
    margin-left: 20px;
}


.blog-lobby .wrapper {
    border-top: 1px solid #D0E8FF;
    margin-top: 80px;
    padding-top: 80px;
}

.blog-lobby__list {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 24px;
}

.blog-list__item {
    width: calc(34.03% - 24px);
    display: flex;
    flex-direction: column;
}

.blog-list__item-img {
    width: 100%;
    height: 210px;
    display: block;
    overflow: hidden;
}

.blog-list__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list__item-tag {
    color: #3888FF;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 0;
}

.blog-list__item h2 a {
    color: #000000;
}

.blog-list__item h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 11px;
    line-height: 1.4;
}

.blog-list__item-excerpt {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-list__item-author {
    color: #656565;
    font-size: 14px;
    margin: 15px 0 0;
}


.blog-list__custom-item {
    background: linear-gradient(180deg, #007DFC 0%, #0066CD 100%);
    padding: 38px 22px 32px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

.blog-list__custom-item-logo {
    text-align: center;
    max-width: 165px;
    margin: 0 auto;
}

.blog-list__custom-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-list__custom-item-logo h2 {}

.blog-list__custom-item h2 {
    margin: 25px 0 0;
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
}

.blog-list__custom-item-excerpt {
    font-size: 20px;
    font-weight: 500;
    border-top: 1px solid #001D55;
    margin: 12px 0 0;
    padding: 13px 0 0;
}

.blog-list__custom-item-date-time {
    font-size: 16px;
    display: flex;
    justify-content: center;
    margin: 25px 0 0;
    gap: 14px;
}

.blog-list__custom-item-location {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin: 14px 0 0;
    padding: 0 45px;
}
.blog-lobby__list .banner__link,
.blog-list__custom-item-link {
    border-radius: 61px;
    background-color: #00CFBE;
    padding: 12px 28px;
    color: #001D55;
    font-weight: 600;
    font-size: 18px;
    box-sizing: border-box;
    display: inline-block;
    margin: 25px auto 0;
    max-width: 183px;
}

.blog-lobby__list .banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 190px;
}

.banner__text {
    font-size: 30px;
    font-weight: 700;
}

.blog-lobby__list .banner__link {
    margin: 0;
}



.subscribe {
    background-image: url('/wp-content/themes/thetaray/css/../images/subscribe-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0 0 70px;
    color: #fff;
    margin-top: 98px;
}

.subscribe .wrapper {
    display: flex;
    padding: 78px 0;
    justify-content: space-between;
}

.subscribe__title {
    font-size: 30px;
    font-weight: 600;
}

.subscribe__text {
    font-size: 20px;
    line-height: 1.4;
    margin: 15px 0 0;
}

form.wpcf7-form {
    display: flex;
    gap: 12px;
}

button.submit-form {
    width: 178px;
    display: flex;
    padding: 16px 29.854px 16px 30px;
    gap: 11px;
    justify-content: center;
    align-items: center;
    border-radius: 200px;
    /*background: var(--blue-blue, linear-gradient(90deg, #38C3FF 0%, #247BFF 100%));*/
    background-color: #9b4090;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}

input.wpcf7-email {
    width: 311px;
    height: 54px;
    border-radius: 100px;
    background: #FFF;
    border: none;
    box-sizing: border-box;
    padding: 15px 25px;
    color: #A8A8A8;
    font-size: 16px;
}

.subscribe__text-container {
    max-width: 546px;
}


@media screen and (max-width: 991px) {
    .posts-top {
        padding: 82px 0 0;
    }

    .posts-top__img {
        max-width: 100%;
        height: 171px;
    }

    .posts-top .wrapper {
        flex-direction: column;
    }

    .posts-top__info {
        margin-top: 21px;
    }

    .posts-top__tag {
        font-size: 16px;
        color: #00BCAC;
    }

    .posts-top__info h2 {
        font-size: 20px;
        margin: 8px 0 0;
    }

    .posts-top__excerpt {
        margin: 16px 0 0;
    }

    .blog-list__item-author-thumb {
        display: none;
    }

    .posts-top__author {
        margin: 0;
        font-weight: 500;
    }

    .blog-lobby .wrapper {
        padding: 0;
        margin: 0;
        border: none;
    }

    .blog-lobby {
        margin: 48px 0 0;
    }

    .blog-lobby__list {
        gap: 50px;
    }

    .blog-list__item {
        width: 100%;
        padding: 0 15px;
    }

    .blog-list__item-img {
        height: 171px;
    }

    .blog-list__item h2 {
        margin-top: 8px;
    }

    .blog-list__item-excerpt {
        margin-top: 17px;
    }

    .blog-list__item-author {
        margin: 20px 0 0;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
    }

    .blog-list__custom-item {
        padding: 36px 20px 29px;
    }

    .blog-list__custom-item h2 {
        font-size: 27px;
    }

    .blog-list__custom-item-excerpt {
        margin: 11px 0 0;
        padding: 12px 0 0;
        font-size: 17px;
    }

    .blog-list__custom-item-date-time {
        margin: 22px 0 0;
        font-size: 14px;
    }

    .blog-list__custom-item-location {
        margin: 12px 0 0;
        padding: 0 25px;
    }

    .blog-lobby__list .banner {
        padding: 63px 24px 70px;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
    }

    .banner__text {
        text-align: center;
    }

    .blog-lobby__list .banner__link {
        margin: 38px 0 0;
    }

    .subscribe {
        margin-top: 50px;
        padding: 68px 15px 75px;
        box-sizing: border-box;
        background-image: url('/wp-content/themes/thetaray/css/../images/subscribe-bg-m.png');
    }

    .subscribe .wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .subscribe .wpcf7-form {
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }


    .subscribe__text {
        margin: 8px 0 0;
    }

    .subscribe .wpcf7 {
        margin: 54px 0 0;
    }

    .subscribe input.wpcf7-email {
        width: 100%;
    }

    .subscribe .submit-form {
        margin: 19px 0 0;
        padding: 16px 30px;
        height: 54px;
    }
}