/* --- Block Featured News -------------------------------------------------------- */ .wp-block-section.wp-block-featured-news { padding-top: var(--wp--custom--spacing--testimonial-inner-gap); .wp-block-post-template { overflow: hidden; clear: both; >li { &:first-child { .wp-block-post-excerpt, .wp-block-post-excerpt__excerpt, .wp-block-post-excerpt__more-link { display: block; } .wp-block-post-excerpt__excerpt { margin-top: 21px; margin-bottom: var(--wp--custom--spacing--tiny); } .wp-block-post-featured-image { margin-bottom: var(--wp--custom--spacing--extra-small); } .wp-block-post-container { .wp-block-post-title { font-size: var(--wp--custom--typography--font-size--heading-two); line-height: var(--wp--custom--typography--line-height--heading-three); } } } &:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; } .wp-block-post-excerpt { margin-top: 0; } .wp-block-post-excerpt, .wp-block-post-excerpt__excerpt, .wp-block-post-excerpt__more-link, .wp-block-post-date svg.icon { display: none; } .wp-block-post-date a { text-transform: capitalize; } .wp-block-post-featured-image { margin-bottom: var(--wp--custom--spacing--tiny); margin-top: 14px; position: relative; padding-top: 66.66%; overflow: hidden; a, img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; } } .wp-block-post-container { .wp-block-post-title { font-size: var(--wp--preset--font-size--body-default); line-height: var(--wp--custom--typography--line-height--paragraph); } .wp-block-post-content-wrapper { margin-top: 21px; } } } } }