/**
 * What Divi cannot do on its own. Hooks:
 * post-category-tags, dmr-button, dmr-button-large, dmr-button-secondary,
 * audience-table, audience-closing, et-menu sub-menu.
 */

.post-category-tags {
	display: flex;
	gap: 1rem;
}

.et_pb_text .post-category-tags a,
.post-category-tags a {
	display: block;
	background: #5f8f85;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem 0.25rem;
	border-radius: 2px;
	text-decoration: none;
}

.et_button_no_icon .dmr-button,
.dmr-button {
	background: #f0ead6 !important;
	color: #2c3e35 !important;
	padding: 0.5rem 1.4rem 0.4rem !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	border-radius: 2px !important;
	transition: background 0.2s !important;
}

.et_button_no_icon .dmr-button.dmr-button-large,
.dmr-button.dmr-button-large {
	font-size: 1rem !important;
	padding: 1rem 2.9rem 0.9rem !important;
}

.et_button_no_icon .dmr-button.dmr-button-large:hover,
.dmr-button.dmr-button-large:hover {
	padding: 1rem 2.9rem 0.9rem !important;
}

.et_button_no_icon .dmr-button:hover,
.dmr-button:hover {
	background: #f5f2ec !important;
	padding: 0.5rem 1.4rem 0.4rem !important;
}

.et_button_no_icon .dmr-button.dmr-button-secondary,
.dmr-button.dmr-button-secondary {
	background: #2c3e35 !important;
	color: #f5f2ec !important;
}

.et_button_no_icon .dmr-button.dmr-button-secondary:hover,
.dmr-button.dmr-button-secondary:hover {
	background: #4a6d5e !important;
	color: #f5f2ec !important;
}

.audience-table {
	width: 100%;
	border-collapse: collapse;
	font-family: inherit;
	border: 0 none !important;
}

.audience-table thead th {
	padding: 10px 16px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: left;
	border-bottom: 2px solid;
}

.audience-table thead th.col-yes {
	color: #3b6d11;
	border-bottom-color: #3b6d11;
}

.audience-table thead th.col-no {
	color: #a32d2d;
	border-bottom-color: #a32d2d;
}

.audience-table tbody tr {
	border-bottom: 1px solid #d6ddd9;
}

.audience-table tbody tr:last-child {
	border-bottom: none;
}

.audience-table td {
	padding: 24px !important;
	vertical-align: top;
	width: 50%;
}

.audience-table td:first-child {
	border-right: 1px solid #d6ddd9;
}

.audience-table .row-heading {
	font-size: 15px;
	font-weight: 500;
	color: #2c3e35;
	display: block;
	margin-bottom: 5px;
}

.audience-table .row-body {
	font-size: 14px;
	font-weight: 300;
	color: #5c6e66;
	line-height: 1.65;
	margin: 0;
	display: block;
}

.audience-table .dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	flex-shrink: 0;
}

.audience-table .dot-yes {
	background: #3b6d11;
}

.audience-table .dot-no {
	background: #a32d2d;
}

.audience-closing {
	margin-top: 20px;
	padding: 16px 20px;
	background: #ede8df;
	border-left: 4px solid #2c3e35;
	font-style: italic;
	font-size: 15px;
	color: #2c3e35;
	line-height: 1.7;
}

@media (max-width: 640px) {
	.audience-table thead {
		display: none;
	}

	.audience-table tbody tr {
		display: block;
		border-bottom: none;
	}

	.audience-table td {
		display: block;
		width: 100% !important;
		padding: 16px !important;
		border-right: none !important;
	}

	.audience-table td:first-child {
		border-bottom: 1px solid #d6ddd9;
		border-right: none !important;
	}

	.audience-table td:empty {
		display: none;
	}

	.audience-table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		margin-bottom: 10px;
		padding-bottom: 6px;
		border-bottom: 2px solid;
	}

	.audience-table td[data-label="For you"]::before {
		color: #3b6d11;
		border-bottom-color: #3b6d11;
	}

	.audience-table td[data-label="Not for you"]::before {
		color: #a32d2d;
		border-bottom-color: #a32d2d;
	}
}

/* Divi keeps the Explore row at 80% and drops a percentage column gap, so the
   tagline sits on the menu. Stretch that section only. The call-to-action
   above it stays on the normal content width. */
.et-l--footer .et_pb_section_1_tb_footer {
	--content-width: 100%;
	--content-max-width: none;
}

.et-l--footer .et_pb_section_1_tb_footer .et_pb_row {
	--horizontal-gap: 4.5rem;
	column-gap: 4.5rem;
}

/* The featured article image is a landscape photo in a portrait column.
   Divi sizes the image to its own ratio, so it sits in the top of the card.
   Pin the column and cover it. */
.et_pb_group:has(> .cb-image-cover) {
	position: relative;
	width: min(400px, 38%);
	flex: 0 0 min(400px, 38%);
	align-self: stretch;
}

.cb-image-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}

.cb-image-cover .et_pb_image_wrap,
.cb-image-cover a {
	display: block;
	width: 100%;
	height: 100%;
}

.cb-image-cover img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 767px) {
	.et_pb_group:has(> .cb-image-cover) {
		width: 100%;
		flex: 1 1 auto;
		min-height: 240px;
	}
}

.et-menu .menu-item-has-children .sub-menu {
	min-width: 320px;
}

.et-menu .menu-item-has-children .sub-menu a {
	width: 100%;
}

/* Inner-voices illustration sits beside shorter copy, so the column height comes from the text and the portrait crops from the bottom. */
@media (min-width: 768px) {
	.et_pb_column:has(> .fyh-voice-image) {
		position: relative;
	}

	.fyh-voice-image {
		position: absolute;
		inset: 0;
		height: auto;
	}

	.fyh-voice-image,
	.fyh-voice-image .et_pb_image_wrap {
		width: 100%;
		height: 100%;
	}

	.fyh-voice-image .et_pb_image_wrap {
		display: block;
	}

	.fyh-voice-image img {
		width: 100% !important;
		height: 100% !important;
		max-width: none;
		object-fit: cover;
		object-position: center top;
	}
}

/* Text blocks inherit Link Color. Underline is the general default; a module that sets its own link decoration still wins. */
.et_pb_text a:not(.et_pb_button) {
	text-decoration-line: underline;
	text-underline-offset: 0.15em;
}

.et_pb_text .post-category-tags a {
	text-decoration: none;
}
