/* =========================================================
   Text & Image Section
   Two-column with configurable order on desktop.
   Mobile stack: desktop left → top, desktop right → bottom.
   ========================================================= */

.text-and-image {
	margin-bottom: var(--section-space);
}

.text-and-image__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.text-and-image--image-left .text-and-image__text {
	order: 2;
}

.text-and-image--image-left .text-and-image__image-wrap {
	order: 1;
}

.text-and-image__heading-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.text-and-image__heading {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.22;
	color: #4c4d4f;
}

.text-and-image__heading-bar {
	display: block;
	width: 70px;
	height: 5px;
	background-color: #383e44;
	flex-shrink: 0;
}

.text-and-image__body {
	color: #4c4d4f;
	font-size: 1rem;
	line-height: 1.5;
}

.text-and-image__body p {
	margin-block: 0 0.5em;
}

.text-and-image__body p:last-child {
	margin-bottom: 0;
}

.text-and-image__body strong,
.text-and-image__body b {
	font-weight: 900;
}

.text-and-image__body img {
	max-width: 100%;
	height: auto;
}

.text-and-image__image-wrap {
	width: 100%;
}

.text-and-image__image {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.text-and-image__inner {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: center;
	}

	.text-and-image__heading {
		font-size: 2.25rem;
	}
}
