.post-wrapper {
    box-shadow: 0px 4px 30px 0px #65D4EA99;
    border-radius: 20px;
    background: #fff;
}
.post-wrapper .post-header .text-content {
    padding: 65px 48px 50px;
}
.post-wrapper .post-header .ca-arrow {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
}
.post-wrapper .post-header .page-title {
    margin-bottom: 10px;
}
.author-details {
    align-items: center;
    gap: 21px;
    line-height: 1.5;
}
.author-details .author-name {
    font-weight: 700;
    color: var(--blue);
}
.author-details .author-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
}
.post-wrapper .post-intro-text {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.5;
}
.post-wrapper .featured-image-wrapper {
    max-height: 546px;
    overflow: hidden;
}
.post-wrapper .featured-image-wrapper .featured-image {
    position: relative;
    width: 100%;
    height: auto;
}
.post-wrapper .post-header:not(:has(.featured-image-wrapper)) + .entry-content {
    padding-top: 0;
}
.post-wrapper .entry-content {
    padding: 70px 48px 47px;
    line-height: 1.5;
}
.post-wrapper .entry-content h2,
.post-wrapper .entry-content h3 {
    font-weight: 700;
}
.post-wrapper .entry-content p,
.post-wrapper .entry-content figure {
    margin-bottom: 20px;
}
.post-wrapper .entry-content > p:last-child {
    margin-bottom: 0;
}
.post-wrapper .entry-content ol p,
.post-wrapper .entry-content ul p {
    margin-bottom: 12px;
}
.post-wrapper .entry-content a {
    text-decoration: underline;
}
.post-wrapper .entry-content ol {
    margin-bottom: 20px;
    padding-left: 40px;
    list-style: decimal;
}
.post-wrapper .entry-content p:has(.read-more) ~ p {
    display: none;
}
.post-wrapper .entry-content p img {
    display: block;
}
.post-wrapper .entry-content:after {
    content: '';
    display: block;
    clear: both;
}

/* Post item */
#latest-posts {
    padding: 110px 0 0;
}
#latest-posts .ca-sec-title {
    margin-bottom: 60px;
    text-align: center;
}
.latest-posts-wrapper {
    justify-content: space-between;
}
.post-item {
    flex-basis: 32.15%;
}
.post-item .img-wrapper {
    border-radius: 20px;
    overflow: hidden;
}
.post-item .img-wrapper .post-item-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1.67/1;
}
.post-item .post-item-title {
    margin: 20px 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}
.post-item .post-item-title:hover {
    text-decoration: underline;
}
.post-item .post-excerpt {
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#pre-footer {
    margin-top: 66px;
}

@media (max-width: 1199px) {
    #latest-posts {
        max-width: 100vw;
        overflow: hidden;
        padding: 90px 0 0;
    }
}

@media (max-width: 1023px) {
    .post-wrapper .featured-image-wrapper {
        max-height: 480px;
    }
    .post-wrapper .entry-content {
        padding: 50px 30px 40px;
    }
    .post-item .post-item-title {
        font-size: 20px;
    }
    .post-item .author-details {
        gap: 14px;
    }
    .post-item .author-details .author-info {
        font-size: 15px;
    }
    .post-item .author-details .author-avatar {
        width: 60px;
        height: 60px;
    }
    .post-item .post-excerpt {
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    .post-wrapper .post-header .text-content {
        padding: 40px 24px 30px;
    }
    .post-wrapper .post-header .ca-arrow {
        font-size: 14px;
    }
    .ca-arrow.ca-arrow-back:before {
        width: 15px;
        height: 12px;
    }
    .post-wrapper .post-intro-text {
        font-size: 16px;
    }
    .post-wrapper .author-details {
        gap: 16px;
    }
    .post-wrapper .author-details .author-avatar {
        width: 52px;
        height: 52px;
    }
    .post-wrapper .author-details .author-info {
        font-size: 14px;
    }
    .post-wrapper .featured-image-wrapper {
        max-height: 369px;
    }
    .post-wrapper .featured-image-wrapper .featured-image {
        display: block  ;
    }
    .post-wrapper .entry-content {
        padding: 35px 24px 30px;
    }
    .post-wrapper .entry-content,
    .post-wrapper .entry-content p,
    .post-wrapper .entry-content ul {
        font-size: 14px;
        line-height: 1.45;
    }
    .post-wrapper .entry-content p {
        margin-bottom: 16px;
    }
    .post-wrapper .entry-content .read-more {
        color: var(--blue);
    }
    .ca-img-banner.alt.narrow-img .left-img-wrapper {
        max-width: 148px;
    }

    #latest-posts {
        padding-top: 40px;
    }
    #latest-posts .inner-width {
        max-width: 100%;
    }
    #latest-posts .ca-sec-title {
        margin-bottom: 50px;
    }
    .latest-posts-wrapper {
        display: block;
        width: 100%;
    }
    .latest-posts-wrapper .slick-slide {
        margin: 0 8px;
    }
    .latest-posts-wrapper .post-item {
        width: 66.7%;
    }
    .latest-posts-wrapper .post-item .post-item-title {
        font-size: 14px;
        line-height: 18px;
    }
    .post-item .author-details .author-avatar {
        width: 45px;
        height: 45px;
    }
    .post-item .author-details .author-info {
        font-size: 14px;
    }
    .post-item .post-excerpt {
        display: none;
    }
    #pre-footer {
        margin-top: 77px;
    }
}
