/* --- Block Style News -------------------------------------------------------- */ .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container > li { border: 0; padding-bottom: 0; .wp-block-post-featured-image { margin-bottom: 21px; margin-top: 14px; } } .wp-block-section.wp-block-style-news { padding-bottom: calc(var(--wp--custom--spacing--section-block-top) - var(--wp--custom--spacing--extra-small)); .wp-block-post-template.is-flex-container.is-flex-container.columns-3 { gap: 0; > li { margin-bottom: var(--wp--custom--spacing--extra-small); padding-bottom: 0; &:first-child { .wp-block-post-featured-image { margin-bottom: var(--wp--custom--spacing--tiny); margin-top: 14px; } .wp-block-post-excerpt { display: block; margin-top: 21px; } .wp-block-post-excerpt__more-text { margin-top: var(--wp--custom--spacing--tiny); } } &:not(:first-child) { .wp-block-post-title { font-size: var(--wp--preset--font-size--content-heading); line-height: var(--wp--custom--typography--line-height--heading-six); } .wp-block-post-featured-image { margin-top: 14px; margin-bottom: 21px; } } .wp-block-post-featured-image { position: relative; padding-top: 75%; overflow: hidden; a, img { object-fit: cover; position: absolute; bottom: 0; left: 0; right: 0; top: 0; width: 100%; height: 100%; } } .wp-block-post-excerpt { display: none; } .wp-block-post-date { svg.icon { display: none; } a { text-transform: capitalize; } } .wp-block-post-content-wrapper { margin-top: 14px; } } } } .is-root-container { .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container > li { margin-bottom: 0; } }