.updata-blog-post {
    position: relative;
    z-index: 1;
}

.updata-blog-post p:first-of-type,
.updata-service-post p:first-of-type {
    font-size: clamp(19px, 4vw, 22px);
    font-weight: 300;
}

.updata-blog-post p:first-of-type {
    margin-bottom: 60px;
}

.updata-service-post p:first-of-type {
    margin-bottom: 20px;
}

.updata-blog-post p:not(:first-of-type),
.updata-service-post p:not(:first-of-type) {
    margin-bottom: 28px;
}

.updata-blog-post hr {
    margin-block: 100px 40px;
}

.updata-blog-post .wp-block-heading {
    margin-bottom: 20px;
}

.updata-blog-post .wp-block-list {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 10px;
    margin-bottom: 20px;
}

.updata-blog-post h3 {
    margin-top: 45px;
}

.banner-round-image-small .wp-block-post-featured-image {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    max-width: 50%;

    @media (max-width: 768px) {
        max-width: 100%;
    }
}

.service-subtitle {
    max-width: 50%;
    margin-top: clamp(20px, 4vw, 40px);

    @media (max-width: 768px) {
        max-width: 100%;
    }
}

.updata-service-post {
    margin-block: 40px 35px;
    max-width: 60%;

    @media (max-width: 768px) {
        max-width: 100%;
    }
}

.updata-service-post > .wp-block-heading {
    margin-bottom: 30px;
}

.service-post-cards {
    margin-top: 40px;
}

.service-post-cards .black-cards-grid-item {
    background-color: var(--color--gray50);
    color: var(--color--black);
}

.service-post-cards__four {
    grid-template-columns: 1fr 1fr;
}

ul.sectors-grid .wp-block-post-featured-image img,
ul.projets-grid .wp-block-post-featured-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 644 / 353;
    object-fit: cover;
}

ul.sectors-grid .wp-block-post-featured-image img {
    aspect-ratio: 419.67 / 353;
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 20px;
}

.page-numbers {
    font-family: var(--font-family--secondary);
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

a.btn-pagination {
    text-decoration: none;
}

a.btn-pagination:hover {
    color: var(--color--black);
}

.blog-pagination-item:hover:not(.active) {
    color: var(--color--black);
}
