/*
 Theme Name:   OceanWP Child
 Theme URI:    https://oceanwp.org/
 Description:  OceanWP Child Theme
 Author:       PUC Africa
 Template:     oceanwp
 Version:      1.0.0
 Text Domain:  oceanwp-child
*/

.entry .wp-block-latest-posts {
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.entry .wp-block-latest-posts > li {
	margin: 0;
	padding: 2rem 0;
	border-top: 1px solid #e2e2e2;
}

.entry .wp-block-latest-posts > li:last-child {
	border-bottom: 1px solid #e2e2e2;
}

.entry .wp-block-latest-posts__featured-image {
	float: none;
	margin: 0 0 1.75rem;
}

.entry .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	max-width: none !important;
	height: 240px;
	object-fit: cover;
}

.entry .wp-block-latest-posts__post-title {
	display: block;
	margin: 0;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.page:not(.elementor-page):not(.woocommerce-page) .entry .wp-block-latest-posts a.wp-block-latest-posts__post-title,
.page:not(.elementor-page):not(.woocommerce-page) .entry .wp-block-latest-posts a.wp-block-latest-posts__post-title:visited,
.page:not(.elementor-page):not(.woocommerce-page) .entry .wp-block-latest-posts a.wp-block-latest-posts__post-title:hover,
.page:not(.elementor-page):not(.woocommerce-page) .entry .wp-block-latest-posts a.wp-block-latest-posts__post-title:focus {
	text-decoration: none;
}

.entry .wp-block-latest-posts__post-date {
	display: block;
	margin-top: 0.45rem;
	color: #707070;
	font-size: 0.875rem;
	font-weight: 600;
}

.entry .wp-block-latest-posts__post-excerpt {
	margin-top: 1rem;
	line-height: 1.65;
}

.entry .wp-block-latest-posts__post-excerpt a {
	display: inline-block;
	margin-top: 0.5rem;
	font-weight: 700;
}

.wp-container-core-columns-is-layout-92126d18 {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 2.5rem 0 0 !important;
}

.wp-container-core-columns-is-layout-92126d18 > .wp-block-column {
	flex: 1 1 100%;
	margin: 0;
}

.wp-container-core-columns-is-layout-92126d18 > .has-luminous-vivid-amber-background-color {
	background-color: #fcb900;
}

.wp-container-core-columns-is-layout-92126d18 > .has-pale-cyan-blue-background-color {
	background-color: #8ed1fc;
}

.wp-container-core-columns-is-layout-92126d18 > .has-light-green-cyan-background-color {
	background-color: #7bdcb5;
}

@media (min-width: 768px) {
	.wp-container-core-columns-is-layout-92126d18 {
		flex-wrap: nowrap;
		gap: 1.5rem;
	}

	.wp-container-core-columns-is-layout-92126d18 > .wp-block-column {
		flex: 1 1 0;
	}

	.entry .wp-block-latest-posts > li {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
		grid-template-rows: auto auto 1fr;
		column-gap: 2.5rem;
		align-items: start;
	}

	.entry .wp-block-latest-posts__featured-image {
		grid-column: 1;
		grid-row: 1 / span 3;
		margin: 0;
	}

	.entry .wp-block-latest-posts__featured-image img {
		height: 280px;
	}

	.entry .wp-block-latest-posts__post-title,
	.entry .wp-block-latest-posts__post-date,
	.entry .wp-block-latest-posts__post-excerpt {
		grid-column: 2;
	}

	.entry .wp-block-latest-posts > li:nth-child(even) .wp-block-latest-posts__featured-image {
		grid-column: 2;
	}

	.entry .wp-block-latest-posts > li:nth-child(even) .wp-block-latest-posts__post-title,
	.entry .wp-block-latest-posts > li:nth-child(even) .wp-block-latest-posts__post-date,
	.entry .wp-block-latest-posts > li:nth-child(even) .wp-block-latest-posts__post-excerpt {
		grid-column: 1;
	}
}
