/* --------------------------------------------------------------------------
   Info Section page templates (page-info-section*.php, template-parts/info-section-row.php):
   alternating image + text rows on the shared .ap-split layout (assets/css/sections.css).
   The products slider reuses .ap-flavors from sections.css.
   -------------------------------------------------------------------------- */
.ap-info {
	overflow-x: clip;
}

.ap-info-row {
	padding: 120px 0;
	background: var(--ap-bg-soft);
}

.ap-info-row--reversed {
	background: var(--ap-white);
}

/* First row sits right under the header (like the About page hero) */
.ap-info-row--hero {
	padding: 40px 0 100px;
}

.ap-info-row .ap-split {
	grid-template-columns: 728fr 598fr;
	column-gap: clamp(40px, 10.4%, 154px);
}

.ap-info-row--reversed .ap-split {
	grid-template-columns: 598fr 728fr;
}

.ap-info-row--reversed .ap-info-row__media {
	order: 2;
}

.ap-info-row--no-media .ap-split {
	grid-template-columns: minmax(0, 1fr);
}

.ap-info-row--no-media .ap-split__text {
	max-width: 900px;
}

.ap-info-row__media {
	margin: 0;
}

.ap-info-row__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ap-radius);
}

.ap-info-row__title {
	max-width: 640px;
}

/* --------------------------------------------------------------------------
   Rich text (ACF WYSIWYG)
   -------------------------------------------------------------------------- */
.ap-info__body {
	max-width: 560px;
	margin: 25px 0 35px;
	color: var(--ap-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
}

.ap-info-row--no-media .ap-info__body {
	max-width: none;
}

.ap-info__body:last-child {
	margin-bottom: 0;
}

.ap-info__body > :first-child {
	margin-top: 0;
}

.ap-info__body > :last-child {
	margin-bottom: 0;
}

.ap-info__body p {
	margin: 0 0 16px;
}

.ap-info__body strong,
.ap-info__body b {
	color: var(--ap-black);
	font-weight: 600;
}

.ap-info__body h2,
.ap-info__body h3,
.ap-info__body h4 {
	margin: 30px 0 12px;
	color: var(--ap-black);
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.3;
}

.ap-info__body h2 {
	font-size: 28px;
}

.ap-info__body h3 {
	font-size: 22px;
}

.ap-info__body h4 {
	font-size: 18px;
}

.ap-info__body ul,
.ap-info__body ol {
	margin: 0 0 16px;
	padding: 0;
}

.ap-info__body ul {
	list-style: none;
}

.ap-info__body ol {
	padding-left: 22px;
}

.ap-info__body li {
	margin-bottom: 12px;
}

.ap-info__body ul > li {
	position: relative;
	padding-left: 26px;
}

.ap-info__body ul > li::before {
	content: '';
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ap-pink);
}

.ap-info__body a {
	color: var(--ap-pink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ap-info__body a:hover {
	color: var(--ap-black);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.ap-info-row {
		padding: 100px 0;
	}

	.ap-info-row--hero {
		padding: 40px 0 80px;
	}
}

@media (max-width: 991px) {
	.ap-info-row .ap-split,
	.ap-info-row--reversed .ap-split {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 50px;
	}

	/* Image always above the text on narrow screens */
	.ap-info-row--reversed .ap-info-row__media {
		order: 0;
	}

	.ap-info__body {
		max-width: 680px;
	}
}

@media (max-width: 767px) {
	.ap-info-row {
		padding: 70px 0;
	}

	.ap-info-row--hero {
		padding: 30px 0 60px;
	}

	.ap-info-row .ap-split,
	.ap-info-row--reversed .ap-split {
		row-gap: 40px;
	}

	.ap-info__body {
		margin: 20px 0 30px;
		font-size: 15px;
	}

	.ap-info__body h3 {
		font-size: 20px;
	}
}
