/*
 * Activity page (wireframe T5). Mobile first. The page shell, hero, breadcrumb, quotes, FAQ
 * and "Pairs well with" styles are shared with the other templates (pb-components.css).
 * Sections alternate white and warm tints so the long page reads in clear blocks.
 */

/* ---------- 3. Facts strip (cards, overlapping the hero edge on wider screens) ---------- */
.pb-facts {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * var(--pb-space-5));
}
.pb .pb-facts__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.pb-fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 14px 16px;
	background: var(--pb-color-surface);
	border: 1px solid var(--pb-color-border);
	border-radius: var(--pb-radius-card);
	box-shadow: var(--pb-shadow-soft);
}
.pb-fact:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
.pb .pb-fact__label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--pb-color-text-muted);
	font-size: 12px;
	font-weight: var(--pb-fw-semibold);
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}
.pb-fact__label .pb-icon {
	width: 18px;
	height: 18px;
	padding: 3px;
	border-radius: 50%;
	background: var(--pb-color-cream);
	color: var(--pb-color-primary-text);
	box-sizing: content-box;
}
.pb .pb-fact__value {
	margin: 0;
	color: var(--pb-color-text);
	font-size: 16px;
	font-weight: var(--pb-fw-semibold);
	line-height: 1.35;
}
.pb-fact--placeholder .pb-fact__value {
	color: var(--pb-color-placeholder-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: var(--pb-fs-xs);
}

/* ---------- 4. Overview + quote card ---------- */
.pb-overview {
	padding-top: var(--pb-space-7);
}
.pb-overview__grid {
	display: grid;
	gap: var(--pb-space-6);
}
.pb-quote-card {
	padding: var(--pb-space-5);
	background: var(--pb-color-surface);
	border: 1px solid var(--pb-color-border);
	border-top: 4px solid var(--pb-color-primary);
	border-radius: var(--pb-radius-card);
	box-shadow: var(--pb-shadow-lift);
}
.pb .pb-quote-card__title {
	margin: 0 0 var(--pb-space-4);
	font-size: 19px;
	font-weight: var(--pb-fw-bold);
	line-height: 1.3;
	color: var(--pb-color-text);
}
.pb .pb-quote-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-space-3) var(--pb-space-5);
	margin: 0 0 var(--pb-space-4);
}
.pb-quote-card__facts > div {
	padding-left: 12px;
	border-left: 3px solid var(--pb-color-primary);
}
.pb .pb-quote-card__facts dt {
	color: var(--pb-color-text-muted);
	font-size: 12px;
	font-weight: var(--pb-fw-semibold);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.pb .pb-quote-card__facts dd {
	color: var(--pb-color-text);
	font-size: 17px;
	font-weight: var(--pb-fw-bold);
	line-height: 1.3;
}
.pb-quote-card__fields {
	padding-top: var(--pb-space-4);
	border-top: 1px solid var(--pb-color-border);
}
.pb-quote-card .pb-btn + .pb-btn {
	margin-top: 10px;
}


/* ---------- 7. Skills and occasions ---------- */
.pb-skills__grid {
	display: grid;
	gap: var(--pb-space-5);
}

/* ---------- 9. Video and photos: shared, in pb-components.css (0.6.1) ---------- */

/* ---------- Tablet ---------- */
/* Three facts per row on a six-track grid, so a short last row (one or two facts) stretches
   to the full width instead of leaving an empty slot. */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.pb .pb-facts__list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.pb .pb-fact,
	.pb .pb-fact:last-child:nth-child(odd) {
		grid-column: span 2;
	}
	.pb .pb-fact:nth-child(3n+1):nth-last-child(2),
	.pb .pb-fact:nth-child(3n+2):last-child {
		grid-column: span 3;
	}
	.pb .pb-fact:nth-child(3n+1):last-child {
		grid-column: 1 / -1;
	}
}
@media (min-width: 768px) {
	.pb-facts {
		margin-top: calc(-1 * var(--pb-space-6));
	}
	.pb-skills__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--pb-space-7);
	}
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	.pb .pb-facts__list {
		grid-template-columns: repeat(var(--pb-facts, 5), minmax(0, 1fr));
		gap: var(--pb-space-3);
	}
	.pb-fact {
		padding: 18px 20px;
	}
	.pb .pb-fact,
	.pb .pb-fact:last-child:nth-child(odd) {
		grid-column: auto;
	}
	.pb-facts {
		margin-top: calc(-1 * var(--pb-space-7));
	}
	.pb-overview__grid {
		grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
		gap: var(--pb-space-8);
		align-items: start;
	}
	.pb-quote-card {
		position: sticky;
		top: var(--pb-sticky-top);
	}
	.admin-bar .pb-quote-card {
		top: calc(var(--pb-sticky-top) + 32px);
	}
}
