/* Sold story page + archive. Light, near-black on white, one accent, lots of air. */
.asm-page,
.asm-story,
.asm-archive {
	--asm-accent: var(--wp--preset--color--primary, #1f2937);
	--asm-ink: #111827;
	--asm-muted: #6b7280;
	--asm-rule: #e5e7eb;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 1rem;
	color: var(--asm-ink);
	font-size: 1.05rem;
	line-height: 1.65;
}

.asm-story-header {
	padding: 2.5rem 0 1.5rem;
	border-bottom: 1px solid var(--asm-rule);
	margin-bottom: 2rem;
}

.asm-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.asm-eyebrow a {
	color: var(--asm-muted);
	text-decoration: none;
}

.asm-headline {
	margin: 0 0 0.35rem;
	font-size: clamp(1.9rem, 4.5vw, 2.8rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.asm-address {
	margin: 0;
	font-size: 1.15rem;
	color: var(--asm-muted);
}

.asm-source {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
	color: var(--asm-muted);
}

.asm-source a {
	margin-right: 0.5rem;
	color: var(--asm-accent) !important;
	font-size: 0.9rem;
}

.asm-maps-link {
	margin-left: 0.6rem;
	font-size: 0.95rem;
	color: var(--asm-accent) !important;
	white-space: nowrap;
}

.asm-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	margin: 1.5rem 0 0;
}

.asm-facts div {
	margin: 0;
}

.asm-facts dt {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--asm-muted);
}

.asm-facts dd {
	margin: 0;
	font-weight: 600;
}

.asm-hero img,
.asm-gallery img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.asm-hero {
	margin: 0 0 2.5rem;
}

.asm-video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0 0 2.5rem;
	border-radius: 14px;
	overflow: hidden;
	background: #000;
}

.asm-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.asm-section {
	margin: 0 0 2.5rem;
}

.asm-section h2 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

.asm-section p {
	margin: 0 0 1rem;
}

.asm-cta-row {
	margin: 0 0 2.5rem;
}

.asm-cta {
	display: inline-block;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	background: var(--asm-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
}

.asm-cta:hover {
	opacity: 0.92;
}

.asm-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
	margin: 0 0 2.5rem;
}

.asm-closing {
	padding: 2rem;
	border-radius: 14px;
	background: #f9fafb;
	text-align: center;
}

.asm-closing h2 {
	margin-bottom: 1rem;
}

.asm-faq details {
	border-top: 1px solid var(--asm-rule);
	padding: 0.9rem 0;
}

.asm-faq details:last-child {
	border-bottom: 1px solid var(--asm-rule);
}

.asm-faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.asm-faq summary::-webkit-details-marker {
	display: none;
}

.asm-faq summary::after {
	content: "+";
	float: right;
	color: var(--asm-muted);
}

.asm-faq details[open] summary::after {
	content: "\2212";
}

.asm-faq p {
	margin: 0.6rem 0 0;
	color: #374151;
}

/* Archive cards */
.asm-archive {
	max-width: 1100px !important;
}

.asm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin: 0 0 2.5rem;
}

.asm-card {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--asm-rule);
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.asm-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.asm-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.asm-card-body {
	display: block;
	padding: 0.9rem 1rem 1.1rem;
}

.asm-card-result {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--asm-accent);
}

.asm-card-address {
	display: block;
	font-weight: 600;
	margin-top: 0.2rem;
}

.asm-card-city {
	display: block;
	color: var(--asm-muted);
	font-size: 0.95rem;
}

.asm-archive .asm-map-footer {
	display: none;
}

.asm-archive .asm-map-section {
	margin-bottom: 2.5rem;
}
