/* ========================================================================== 
   TWFG Modern - homepage Section 5: More from TWFG
   ========================================================================== */

.twfg-section5 {
	background: var(--twfg-paper);
	padding: clamp(52px, 6vw, 76px) 0 clamp(60px, 6vw, 88px);
}

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

.twfg-section5__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-section5__list {
	border-top: 1px solid var(--twfg-border);
}

.twfg-section5__row {
	align-items: center;
	border-bottom: 1px solid var(--twfg-border);
	display: grid;
	gap: clamp(20px, 3vw, 40px);
	grid-template-columns: minmax(140px, 160px) minmax(0, 1fr) auto;
	min-width: 0;
	padding: 28px 0;
}

.twfg-section5__row--no-image .twfg-section5__body {
	grid-column: 2;
}

.twfg-section5__row--no-image .twfg-section5__read-more {
	grid-column: 3;
}

.twfg-section5__media {
	aspect-ratio: 4 / 3;
	background: var(--twfg-light-lavender);
	display: block;
	overflow: hidden;
	width: 100%;
}

.twfg-section5__image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
	width: 100%;
}

.twfg-section5__media:hover .twfg-section5__image,
.twfg-section5__media:focus-visible .twfg-section5__image {
	transform: scale(1.025);
}

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

.twfg-section5__body h3 {
	color: var(--twfg-plum);
	font-family: var(--twfg-serif);
	font-size: clamp(1.5rem, 2.1vw, 1.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0;
}

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

.twfg-section5__body h3 a:hover,
.twfg-section5__body h3 a:focus-visible {
	color: var(--twfg-pink);
}

.twfg-section5__excerpt {
	color: var(--twfg-ink);
	font-family: var(--twfg-body);
	font-size: clamp(0.9375rem, 1vw, 1rem);
	line-height: 1.55;
	margin: 12px 0 0;
	max-width: 68ch;
}

.twfg-section5__date {
	color: var(--twfg-muted);
	display: block;
	font-family: var(--twfg-sans);
	font-size: 0.69rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
	margin-top: 13px;
}

.twfg-section5__read-more {
	align-self: center;
	color: #D33699;
	display: inline-flex;
	font-family: var(--twfg-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	margin-left: auto;
	text-decoration: none;
	transition: color 150ms ease;
	white-space: nowrap;
}

.twfg-section5__read-more span {
	color: inherit;
	font-size: 1rem;
	letter-spacing: 0;
	margin-left: 5px;
	transition: color 150ms ease;
}

.twfg-section5__read-more:hover,
.twfg-section5__read-more:focus-visible {
	color: #34113F;
}

.twfg-section5__cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: clamp(32px, 4vw, 48px);
}

.twfg-section5__cta {
	border-radius: 0;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	min-height: 50px;
	padding: 12px 24px;
	text-transform: uppercase;
}

@media (max-width: 980px) and (min-width: 721px) {
	.twfg-section5__row {
		gap: 20px;
		grid-template-columns: minmax(120px, 136px) minmax(0, 1fr) auto;
		padding: 24px 0;
	}

	.twfg-section5__body h3 {
		font-size: clamp(1.45rem, 2.5vw, 1.65rem);
	}
}

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

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

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

	.twfg-section5__row,
	.twfg-section5__row--no-image {
		align-items: flex-start;
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 24px 0;
	}

	.twfg-section5__media {
		max-width: min(160px, 42vw);
	}

	.twfg-section5__body {
		width: 100%;
	}

	.twfg-section5__body h3 {
		font-size: clamp(1.45rem, 6.5vw, 1.75rem);
	}

	.twfg-section5__read-more {
		align-self: flex-start;
		margin-left: 0;
	}
}

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

	.twfg-section5__row,
	.twfg-section5__row--no-image {
		gap: 14px;
		padding: 22px 0;
	}

	.twfg-section5__body h3 {
		font-size: 1.45rem;
	}

	.twfg-section5__excerpt {
		font-size: 0.9375rem;
	}

	.twfg-section5__date {
		font-size: 0.64rem;
		margin-top: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.twfg-section5__image {
		transition: none;
	}
}
