/* Featured Posts
--------------------------------------------- */
.block-area-home .block-featured-posts {
    margin-top: 0;
}

.block-featured-posts .post-summary:nth-child(1) .post-summary__title {
    font-size: var(--wp--preset--font-size--jumbo);
}

.block-featured-posts .post-summary__title {
    margin: 0;
}

.block-featured-posts .post-summary .post-summary__image img {
    aspect-ratio: 3/2;
}

@media only screen and (max-width: 767px) {
    .block-featured-posts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 8px;
        row-gap: 16px;
        margin-top: 0 !important;
    }

    .block-featured-posts .post-summary:nth-child(1) {
        grid-column: 1 / -1;
		margin-left: calc(-1 * var(--wp--custom--layout--padding));
        margin-right: calc(-1 * var(--wp--custom--layout--padding));
        max-width: 100vw;
    }

    .block-featured-posts .post-summary .post-summary__image img {
        width: 100%;
    }

	.block-featured-posts .post-summary:nth-child(1) .post-summary__title {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media only screen and (min-width: 768px) {
    .block-featured-posts {
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 38px;
        row-gap: 4px;
    }

    .block-featured-posts .post-summary__content {
        padding: 8px 0;
    }

    .block-featured-posts .post-summary:nth-child(1) {
        grid-column: 1 / span 1;
        grid-row: 1 / span 2;
    }

    .block-featured-posts .post-summary:nth-child(2),
    .block-featured-posts .post-summary:nth-child(3) {
        grid-column: 2 / -1;
    }

    .block-featured-posts .post-summary:nth-child(3) {
        grid-column: 2 / -1;
        grid-row: 2;
    }
}

.editor-styles-wrapper .block-featured-posts a {
    pointer-events: none;
}