/*
 * Book Donation
 *
 * Reusable three-column donation/information block.
 * Colors are controlled by the block's ACF fields and exposed
 * as CSS custom properties by book-donation.twig.
 *
 * Horizontal layout follows the same Bootstrap container, row,
 * gutter and responsive behavior used throughout the site.
 *
 * No decorative or fallback imagery is generated by CSS.
 */

.pl_book_donation {
	--pl-book-background: #ffffff;
	--pl-book-primary: #f15a31;
	--pl-book-secondary: #a8dde2;
	--pl-book-text: #000000;
	--pl-book-contrast: #ffffff;

	position: relative;
	width: 100%;
	background-color: transparent;
	color: var(--pl-book-text);
	font-family: Montserrat, sans-serif;
}


/*
 * ------------------------------------------------------------
 * Background
 *
 * The block section remains a full-width structural wrapper.
 * The selected ACF background color is applied to the site's
 * standard Bootstrap container so the visible background
 * respects the same horizontal page boundary as other content.
 * ------------------------------------------------------------
 */

.pl_book_donation > .container {
	background-color: var(--pl-book-background);
}


/*
 * ------------------------------------------------------------
 * Main row
 *
 * The Twig structure is:
 *
 * .container
 *   .row.pl_book_donation__inner
 *     .col-sm-12.col-md-4
 *     .col-sm-12.col-md-4
 *     .col-sm-12.col-md-4
 *
 * Bootstrap controls the column widths and horizontal gutters.
 *
 * The 46px desktop inset is applied symmetrically so the content
 * remains inside the container rather than translating the row
 * beyond its boundary.
 * ------------------------------------------------------------
 */

.pl_book_donation__inner {
	align-items: center;
	padding-top: 64px;
	padding-right: 46px;
	padding-bottom: 64px;
	padding-left: 46px;
}


/*
 * ------------------------------------------------------------
 * Column 1
 * Main message
 * ------------------------------------------------------------
 */

.pl_book_donation__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--pl-book-primary);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pl_book_donation__eyebrow::before {
	content: "";
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 3px;
	background-color: var(--pl-book-primary);
}

.pl_book_donation__headline {
	margin: 0 0 20px;
	color: var(--pl-book-text);
	font-family: Montserrat, sans-serif;
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: 37px;
	letter-spacing: normal;
}

.pl_book_donation__intro,
.pl_book_donation__supporting {
	margin: 0;
	color: var(--pl-book-text);
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-style: normal;
	line-height: 1.5;
}

.pl_book_donation__intro {
	margin-bottom: 14px;
	font-weight: 500;
}

.pl_book_donation__supporting {
	font-weight: 400;
}

.pl_book_donation__intro p,
.pl_book_donation__supporting p {
	margin-top: 0;
}

.pl_book_donation__intro p:last-child,
.pl_book_donation__supporting p:last-child {
	margin-bottom: 0;
}


/*
 * ------------------------------------------------------------
 * Column 2
 * Practical information
 * ------------------------------------------------------------
 */

.pl_book_donation__information {
	display: flex;
	flex-direction: column;
}

.pl_book_donation__detail {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	align-items: flex-start;
	padding-top: 18px;
	padding-bottom: 18px;
}

.pl_book_donation__detail:first-child {
	padding-top: 0;
}

.pl_book_donation__detail:last-child {
	padding-bottom: 0;
}

.pl_book_donation__detail + .pl_book_donation__detail {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pl_book_donation__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: var(--pl-book-primary);
	color: var(--pl-book-contrast);
}

.pl_book_donation__icon svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pl_book_donation__detail-content {
	min-width: 0;
}

.pl_book_donation__detail-content h3 {
	margin: 0 0 5px;
	color: var(--pl-book-text);
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.35;
}

.pl_book_donation__detail-copy {
	color: var(--pl-book-text);
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
}

.pl_book_donation__detail-copy p {
	margin-top: 0;
}

.pl_book_donation__detail-copy p:last-child {
	margin-bottom: 0;
}


/*
 * ------------------------------------------------------------
 * Column 3
 * Editor-supplied image only
 * ------------------------------------------------------------
 */

.pl_book_donation__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pl_book_donation__visual img {
	display: block;
	width: 100%;
	height: 380px;
	margin: 0;
	object-fit: cover;
	object-position: center;
}


/*
 * ------------------------------------------------------------
 * Mobile / small tablet
 *
 * At max-width: 768px the three Bootstrap columns stack.
 * The 24px horizontal inset matches the existing Multi Content
 * mobile treatment.
 * ------------------------------------------------------------
 */

@media only screen and (max-width: 768px) {

	.pl_book_donation__inner {
		padding-top: 48px;
		padding-right: 24px;
		padding-bottom: 48px;
		padding-left: 24px;
	}

	.pl_book_donation__content {
		order: 1;
	}

	.pl_book_donation__visual {
		order: 2;
		margin-top: 32px;
	}

	.pl_book_donation__information {
		order: 3;
		margin-top: 32px;
	}

	.pl_book_donation__visual:empty {
		margin-top: 0;
	}

	.pl_book_donation__headline {
		font-size: 30px;
		line-height: 37px;
	}
}


/*
 * ------------------------------------------------------------
 * Small mobile
 * ------------------------------------------------------------
 */

@media only screen and (max-width: 480px) {

	.pl_book_donation__headline {
		font-size: 28px;
		line-height: 34px;
	}
}