/* CIEA feature cards: reusable homepage and landing-page image panels, matched to the static source. */
.entry-content .ciea-feature-card-grid {
	gap: 30px;
	margin: 0;
}

/* Memberlite's column gutter otherwise reduces the source's 756px content grid to 708px. */
@media screen and (min-width: 782px) {
	.content-area {
		padding-left: 0;
		padding-right: 0;
	}
}

.entry-content .ciea-feature-card-grid > .wp-block-column {
	margin: 0;
}

.entry-content .ciea-feature-card {
	margin: 0;
	padding: 0 0 40px;
	position: relative;
}

.entry-content .ciea-feature-card__image {
	margin: 0;
}

.entry-content .ciea-feature-card__image > a {
	display: block;
	line-height: 0;
}

.entry-content .ciea-feature-card__image img {
	display: block;
	height: auto;
	width: 100%;
}

/* Native Cover block support: makes the pattern's replaceable background image editor-safe. */
.entry-content .wp-block-cover.ciea-feature-card__image {
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 131px;
	padding: 0;
}
.entry-content .wp-block-cover.ciea-feature-card__image .wp-block-cover__inner-container {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

/* The image title is deliberately overlaid so editors can use the same motif without custom HTML. */
.entry-content .ciea-feature-card__title {
	background: rgba(255, 255, 255, 0.8);
	color: #181819;
	font-family: "Plus Jakarta Sans", inter, Arial, sans-serif;
	font-size: 18.2px;
	font-weight: 700;
	left: 0;
	line-height: 22.75px;
	margin: 0;
	padding: 0 !important;
	position: absolute;
	top: 11px;
	z-index: 2;
}

.entry-content .ciea-feature-card__title a {
	color: #181819;
	display: block;
	font-family: inter, Arial, sans-serif;
	padding: 4px 8px;
	text-decoration: none;
}

.entry-content .ciea-feature-card__title a:hover,
.entry-content .ciea-feature-card__title a:focus {
	color: #181819;
	text-decoration: none;
}

/* The light-grey content panel carries the source card's type, spacing and fixed visual rhythm. */
.entry-content .ciea-feature-card__body {
	background: #eee;
	box-sizing: border-box;
	color: #181819;
	font-family: inter, Arial, sans-serif;
	font-size: 14px;
	line-height: 20.006px;
	min-height: 216px;
	margin: 0;
	overflow: hidden;
	padding: 21px 15px 25px;
}

/* Keep Cover and body physically joined even when WordPress injects layout block gaps. */
.entry-content .ciea-feature-card > .wp-block-cover + .ciea-feature-card__body {
	margin-block-start: 0 !important;
}

.entry-content .ciea-feature-card__body p {
	margin: 0;
	padding: 0 0 8px;
}

.entry-content .ciea-feature-card__body a {
	color: #614d8d;
	text-decoration: none;
}

.entry-content .ciea-feature-card__body a:hover,
.entry-content .ciea-feature-card__body a:focus {
	color: #614d8d;
	text-decoration: underline;
}

/* The source uses a single card column on narrow screens; retain the overlay at its original image offset. */
@media screen and (max-width: 781px) {
	.entry-content .ciea-feature-card-grid {
		gap: 0;
	}
}

/* Gutenberg canvas: keep the same components editable without the front-end overlay covering block controls. */
.editor-styles-wrapper .ciea-feature-card {
	margin: 0;
	padding: 0 0 40px;
}
.editor-styles-wrapper .ciea-feature-card__image.wp-block-cover {
	align-items: flex-start;
	justify-content: flex-start;
	margin: 0;
	min-height: 131px;
	padding: 0;
}
.editor-styles-wrapper .ciea-feature-card__image .wp-block-cover__inner-container {
	margin: 11px 0 0;
	width: auto;
}
.editor-styles-wrapper .ciea-feature-card__title {
	background: rgba(255, 255, 255, 0.8);
	color: #181819;
	font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
	font-size: 18.2px;
	font-weight: 700;
	line-height: 22.75px;
	margin: 0;
	padding: 4px 8px !important;
	position: static;
}
.editor-styles-wrapper .ciea-feature-card__title a {
	color: #181819;
	font-family: Inter, Arial, sans-serif;
	text-decoration: none;
}
.editor-styles-wrapper .ciea-feature-card__body {
	background: #eee;
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
	line-height: 20.006px;
	margin: 0;
	min-height: 216px;
	padding: 21px 15px 25px;
}
.editor-styles-wrapper .ciea-feature-card > .wp-block-cover + .ciea-feature-card__body {
	margin-block-start: 0 !important;
}
