.post-summary {
    position: relative;
}

.post-summary__expertise {
    color: var(--wp--preset--color--blue-base);
}

.has-white-background-color .post-summary__expertise {
    color: var(--wp--preset--color--blue-dark);
}
.post-summary__title {
    margin: 0;
}
.post-summary__permalink {
    position: absolute;
    opacity: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.post-summary__reading-time {
    color: var(--wp--preset--color--grey-dark-plus);
    transition: color 0.2s ease-out;
}

.block-latest-news--partial-list {
    justify-content: center;
}
.block-latest-news--partial-list .block-latest-news__list {
    --custom-theme-flex-gap: 32px;
    --custom-theme-flex-span: var(--custom-theme-flex-inner-span);
    flex-wrap: wrap;
    row-gap: 48px;
    align-items: center;
}
.block-section .block-latest-news--partial-list .block-latest-news__list {
    --custom-theme-flex-span: 12;
}
.block-latest-news--partial-list .block-latest-news__title {
    --custom-theme-flex-span: 6;
    margin: 0;
}
.block-latest-news--partial-list .block-latest-news__link {
    --custom-theme-flex-span: 6;
    display: flex;
    justify-content: flex-end;
}
.block-latest-news--partial-list .block-latest-news__link a {
    text-decoration: underline;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 1rem;
    font-family: Sora, sans-serif;
    line-height: 1.25;
    letter-spacing: 0.019375em;
    transition: text-shadow 0.2s ease-out;
}
.block-latest-news--partial-list .block-latest-news__link a:hover {
    text-shadow: 1px 0 0 rgba(255, 255, 255, 0.5);
}
.has-white-background-color .block-latest-news--partial-list .block-latest-news__link a:hover {
    text-shadow: 1px 0 0 rgba(0, 0, 0,0.5);
}
.block-latest-news--partial-list .block-latest-news__link a .icon {
    flex: 0 0 16px;
    height: auto;
}

.block-latest-news--partial-list .block-latest-news__item {
    padding-left: 32px;
    border-left: 1px solid var(--wp--preset--color--grey-dark-stroke);
    --custom-theme-flex-span: 4;
}
.has-white-background-color .block-latest-news--partial-list .block-latest-news__item {
    border-color: var(--wp--preset--color--grey-dark);
}
.block-latest-news--partial-list  .post-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    transition: color 0.2s ease-out;
}
.block-latest-news--partial-list  .post-summary__title {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 150px;
}
.block-latest-news--partial-list  .post-summary:hover {
    color: var(--wp--preset--color--blue-base);
}
.block-latest-news--partial-list  .post-summary:hover .post-summary__reading-time {
    color: inherit;
}
.has-white-background-color .block-latest-news--partial-list  .post-summary:hover {
    color: var(--wp--preset--color--blue-dark);
}



.block-latest-news--full-list .block-latest-news__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.block-latest-news--full-list .block-latest-news__item {
    border-bottom: 1px solid var(--wp--preset--color--grey-dark-stroke);
    padding-bottom: 32px;
    padding-right: 24px;
}
.block-latest-news--full-list .block-latest-news__pagination {
    margin-top: 16px;
}
.block-latest-news--full-list .block-latest-news__pagination:empty {
    display: none;
}
.block-latest-news--full-list .block-latest-news__pagination .pagination .nav-links {
    justify-content: flex-start;
    margin-left: -20px;
}
.block-latest-news--full-list .post-summary {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.block-latest-news--full-list .post-summary__expertise {
    padding: 0;
    margin: 0;
    color: var(--wp--preset--color--blue-base);
}
.block-latest-news--full-list .post-summary__title {
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.25;
    transition: 0.3s ease-out;
}
.block-latest-news--full-list .post-summary__reading-time {
    color: var(--wp--preset--color--grey-dark);
}
.block-latest-news--full-list .post-summary__permalink {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.block-latest-news--full-list .post-summary:hover .post-summary__title {
    color: var(--wp--preset--color--blue-base);
}

@media screen and (max-width: 991px) {
    .block-latest-news--partial-list .block-latest-news__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .block-latest-news--partial-list .block-latest-news__list > * {
        flex: 0 0 auto;
    }
    .block-latest-news--partial-list .block-latest-news__title {
        margin-bottom: 24px;
    }
    .block-latest-news--partial-list .block-latest-news__link {
        order: 100;
        margin-top: 24px;
    }
    .block-latest-news--partial-list .post-summary__title {
        min-height: 0;
    }
    .block-latest-news--partial-list .block-latest-news__item {
        padding: 0 0 24px;
        border-left: 0;
        border-bottom: 1px solid var(--wp--preset--color--grey-dark-stroke);

    }

}

@media screen and (max-width: 767px) {
    .block-latest-news--partial-list {
        margin-top: 64px;
    }
    .block-section .block-latest-news--partial-list {
        margin-top: 0;
    }
}
