/* Schilling Real Estate – About page (0.12.0). Builds on the home page styles (.sre-hp). */

/* Story: one readable column. */
.sre-ab-story { padding: 48px 0 24px; }
.sre-ab-text { max-width: 720px; }
.sre-ab-text :where(h2) { margin: 0 0 12px; font-size: clamp(24px, 18px + 1.2vw, 30px); line-height: 1.2; }
.sre-ab-text :where(h3) { margin: 28px 0 8px; font-size: 20px; }
.sre-ab-text :where(p) { margin: 0 0 16px; font-size: 18px; line-height: 1.6; }
.sre-ab-text :where(a) { color: var(--sre-blue); }

/* Photo beside the story (photo="…"): right column on wide screens, above the text on phones. */
.sre-ab-with-photo { display: grid; grid-template-columns: 1fr; gap: 24px; }
.sre-ab-photo { margin: 0; max-width: 240px; }
.sre-ab-photo img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--sre-line); }
.sre-ab-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--sre-muted); }
@media (min-width: 900px) {
	.sre-ab-with-photo { grid-template-columns: minmax(0, 720px) 340px; justify-content: space-between; align-items: start; gap: 48px; }
	.sre-ab-with-photo .sre-ab-photo { grid-column: 2; grid-row: 1; max-width: none; position: sticky; top: 120px; }
	.sre-ab-with-photo .sre-ab-text { grid-column: 1; grid-row: 1; }
}

/* Timeline: <ol class="sre-ab-timeline"><li><strong>1930s</strong> text</li></ol> */
.sre-ab-text .sre-ab-timeline { list-style: none; margin: 24px 0 8px; padding: 0; border-left: 3px solid var(--sre-blue); }
.sre-ab-text .sre-ab-timeline li { position: relative; margin: 0; padding: 0 0 20px 24px; font-size: 17px; line-height: 1.5; }
.sre-ab-text .sre-ab-timeline li::before {
	content: "";
	position: absolute;
	left: -9px;
	top: 6px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--sre-blue);
}
.sre-ab-text .sre-ab-timeline li:last-child { padding-bottom: 0; }
.sre-ab-text .sre-ab-timeline strong { display: block; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sre-blue); }

/* What we offer today */
.sre-ab-offer { padding: 40px 0 48px; background: var(--sre-surface); border-top: 1px solid var(--sre-line); border-bottom: 1px solid var(--sre-line); }
.sre-ab-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 18px; padding: 0; list-style: none; }
.sre-ab-tiles li { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--sre-line); border-radius: 12px; }
.sre-ab-where { margin: 0; font-size: 18px; }
.sre-ab-where a { font-weight: 700; }

/* How it works */
.sre-ab-steps { padding: 48px 0; }
.sre-ab-steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sre-ab-steps li { margin: 0; padding: 20px; border: 1px solid var(--sre-line); border-radius: 12px; }
.sre-ab-step-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sre-blue);
	color: #fff;
	font-weight: 700;
	font-size: 17px;
}
.sre-ab-steps h3 { margin: 12px 0 6px; font-size: 20px; }
.sre-ab-steps p { margin: 0; font-size: 16px; color: var(--sre-muted); }

@media (max-width: 640px) {
	.sre-ab-story { padding: 32px 0 16px; }
	.sre-ab-text :where(p) { font-size: 17px; }
	.sre-ab-tiles { grid-template-columns: 1fr 1fr; }
}
