/* ========================================================================== 
   TWFG Modern - homepage Section 3
   ========================================================================== */

.twfg-explore {
	background: var(--twfg-white);
	padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 4vw, 56px);
}

.twfg-explore__heading {
	display: block;
	margin-bottom: clamp(28px, 3vw, 36px);
	text-align: center;
}

.twfg-explore__heading h2 {
	color: var(--twfg-plum);
	font-family: var(--twfg-serif);
	font-size: clamp(2rem, 2.48vw, 2.375rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0;
}

.twfg-explore__rows {
	display: grid;
	gap: 8px;
}

.twfg-explore__row {
	display: grid;
	grid-template-areas: "text image";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	height: clamp(260px, 18vw, 300px);
}

.twfg-explore__row--image-left {
	grid-template-areas: "image text";
}

.twfg-explore__panel {
	min-width: 0;
}

.twfg-explore__panel--text {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	grid-area: text;
	justify-content: center;
	padding: 24px clamp(32px, 3.4vw, 48px);
}

.twfg-explore__panel--text h3 {
	color: inherit;
	font-family: var(--twfg-serif);
	font-size: clamp(1.875rem, 2.4vw, 2.125rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.06;
	margin: 0;
	max-width: 18ch;
}

.twfg-explore__panel--text h3 a {
	color: inherit;
	text-decoration: none;
}

.twfg-explore__description {
	color: inherit;
	font-family: var(--twfg-body);
	font-size: clamp(0.9375rem, 1vw, 1rem);
	line-height: 1.5;
	margin: 16px 0 0;
	max-width: 44ch;
}

.twfg-explore__link {
	align-items: center;
	background: transparent;
	border: 1px solid var(--twfg-pink);
	border-radius: 0;
	color: var(--twfg-pink);
	display: inline-flex;
	font-family: var(--twfg-sans);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	margin-top: 20px;
	min-height: 50px;
	padding: 12px 24px;
	text-decoration: none;
	text-transform: uppercase;
	width: auto;
}

.twfg-explore__link:hover,
.twfg-explore__link:focus,
.twfg-explore__link:focus-visible,
.twfg-explore__link:active {
	background: var(--twfg-pink);
	border-color: var(--twfg-pink);
	color: var(--twfg-white);
}

.twfg-explore__link:focus-visible {
	outline: 3px solid var(--twfg-pink);
	outline-offset: 4px;
}

.twfg-explore__panel--image {
	grid-area: image;
	margin: 0;
	overflow: hidden;
}

.twfg-explore__panel--image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 980px) and (min-width: 721px) {
	.twfg-explore__panel--text {
		padding-bottom: 20px;
		padding-top: 20px;
	}
}

.twfg-explore__row--leadership .twfg-explore__panel--text {
	background: var(--twfg-plum);
	color: var(--twfg-white);
}

.twfg-explore__row--leadership .twfg-explore__panel--image img {
	object-position: center center;
}

.twfg-explore__row--book-reviews .twfg-explore__panel--text {
	background: var(--twfg-light-lavender);
	color: var(--twfg-plum);
}

.twfg-explore__row--book-reviews .twfg-explore__panel--image img {
	object-position: center center;
}

.twfg-explore__row--series .twfg-explore__panel--text {
	background: var(--twfg-lavender);
	color: var(--twfg-plum);
}

.twfg-explore__row--series .twfg-explore__panel--image img {
	object-position: 42% 25%;
}

.twfg-explore__panel--text h3 a:hover,
.twfg-explore__panel--text h3 a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (max-width: 720px) {
	.twfg-explore {
		padding-bottom: 48px;
		padding-top: 48px;
	}

	.twfg-explore__heading {
		margin-bottom: 28px;
	}

	.twfg-explore__heading h2 {
		font-size: clamp(2rem, 8vw, 2.375rem);
	}

	.twfg-explore__row,
	.twfg-explore__row--image-left {
		grid-template-areas:
			"text"
			"image";
		grid-template-columns: 1fr;
		height: auto;
	}

	.twfg-explore__panel--text {
		min-height: 160px;
		padding: 32px 28px;
	}

	.twfg-explore__description {
		margin-top: 14px;
	}

	.twfg-explore__panel--text h3 {
		font-size: clamp(1.75rem, 7.5vw, 2.125rem);
	}

	.twfg-explore__panel--image {
		height: clamp(190px, 55vw, 250px);
	}
}

@media (max-width: 520px) {
	.twfg-explore {
		padding-bottom: 40px;
		padding-top: 44px;
	}

	.twfg-explore__panel--text {
		min-height: 150px;
		padding: 28px 24px;
	}

	.twfg-explore__panel--text h3 {
		font-size: 1.75rem;
	}

	.twfg-explore__link {
		margin-top: 18px;
	}
}
