/*
 * "Sections" page template (page-templates/template-sections.php).
 * Recreates the inline-styled blocks of the redesigned Bag Types page on
 * peaceproducts.com as reusable classes. Colours and sizes match the live page.
 */
.pp-section {
	--pp-navy: #30397f;
	--pp-teal: #0788a8;
	--pp-royal: #1b14b8;
	--pp-ink: #18344d;
	--pp-panel: #eef7fb;
	--pp-border: #d9e1e7;
	--pp-card-border: #b8c2cc;
	--pp-gap: 18px;
}

/* Panels */
.pp-panel--white { padding: 36px 0; }
.pp-section--cards .pp-panel--white { padding: 26px 0 32px; }
.pp-panel--light { background: var(--pp-panel); padding: 40px 30px; border-radius: 8px; }

/* Header: label, heading, intro */
.pp-eyebrow {
	display: inline-block;
	background: var(--pp-teal);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	padding: 6px 11px;
	border-radius: 6px;
	margin-bottom: 10px;
}
.pp-section h2.pp-section-heading {
	color: var(--pp-royal);
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 10px;
}
.pp-section-intro {
	max-width: 900px;
	margin: 0 0 26px;
	line-height: 1.5;
}

/* Shared flexible grid: three per row, wrapping at 260px */
.pp-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pp-gap);
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pp-grid > * {
	box-sizing: border-box;
	flex: 1 1 30%;
	min-width: 260px;
	margin: 0;
}
.pp-section--cards .pp-panel--light .pp-grid { --pp-gap: 20px; }

/* Highlights bar */
.pp-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	align-items: center;
	background: var(--pp-navy);
	color: #fff;
	font-weight: 700;
	padding: 22px 24px;
	margin: 0;
	list-style: none;
}
.pp-highlights li { flex: 1 1 180px; text-align: center; }

/* Cards */
.pp-card { border-radius: 7px; }
.pp-card--dark { background: var(--pp-ink); color: #fff; padding: 18px; }
.pp-card--dark .pp-card__title { font-size: 18px; font-weight: 700; line-height: 1.5; margin: 0 0 6px; color: inherit; }
.pp-card--dark .pp-card__text { font-size: 14px; line-height: 1.4; margin: 0; }

.pp-card--image { background: #fff; border: 1px solid var(--pp-card-border); overflow: hidden; }
.pp-card--image .pp-card__image { display: block; width: 100%; height: 180px; object-fit: cover; }
.pp-card--image .pp-card__body { padding: 16px; }
.pp-card--image .pp-card__title { color: var(--pp-royal); font-size: 18px; margin: 0 0 8px; }
.pp-card--image .pp-card__text { line-height: 1.4; margin: 0; }

/* Feature tiles and steps */
.pp-features { --pp-gap: 16px; }
.pp-tile {
	padding: 16px 18px;
	border: 1px solid var(--pp-border);
	border-radius: 7px;
	background: #fff;
	font-weight: 700;
}
.pp-step { display: flex; gap: 14px; padding: 18px; font-weight: 400; }
.pp-step__number {
	flex: 0 0 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pp-teal);
	color: #fff;
	font-weight: 700;
	text-align: center;
	line-height: 36px;
}
.pp-step__title { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--pp-royal); margin: 0 0 5px; }
.pp-step__text { font-size: 14px; line-height: 1.4; margin: 0; }

/* FAQ: spacing between accordion items, as on the live page */
.pp-section--faq .accordion-item { margin-bottom: 15px; }
.pp-section--faq .accordion .accordion-item + .accordion-item { margin-top: 0; }
.pp-section--faq .accordion-header { font-size: 1rem; }

@media (max-width: 767.98px) {
	.pp-panel--light { padding: 30px 20px; }
	.pp-grid > * { min-width: 100%; }
}
