/*
 * wende-theme :: supplemental styles.
 *
 * What it does: styles the classes the WordPress conversion introduced but the
 * static export did not have a stylesheet for — either because the export used
 * inline style attributes (which have no place in a template) or because the
 * markup is new to WordPress (pagination, empty states, skip link, accessible
 * FAQ disclosures, breadcrumbs).
 * Where it connects: enqueued globally as the `wende-support` handle in
 * inc/assets.php, after pages.css and before style.css. It only adds; it never
 * overrides a rule from the exported design system.
 */

/* ---------------------------------------------------------------------------
 * Accessibility primitives
 * Used by: header.php skip link, every visually-hidden <label>.
 * ------------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 16px;
	left: 16px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip-path: none;
	background: var(--color-bg-soft, #fff);
	color: inherit;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

:where(a, button, input, textarea, summary):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Buyer guide split hero
 * Replaces the inline grid on buyer-guide.html; used by page-buyer-guide.php.
 * ------------------------------------------------------------------------- */
.guide-split-hero {
	padding: 96px 64px;
	background: #F3ECE3;
}

.guide-split-hero__inner {
	max-width: var(--container-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 64px;
	align-items: center;
}

.guide-split-hero .eyebrow {
	margin-bottom: 24px;
}

.guide-split-hero__title {
	font-family: var(--font-serif);
	font-size: 56px;
	line-height: 1.1;
	margin-bottom: 24px;
}

.guide-split-hero__lead {
	max-width: 448px;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.625;
	color: var(--color-text-body);
}

.guide-split-hero__image {
	height: 600px;
	max-width: 462px;
	border-radius: 2px;
	overflow: hidden;
}

.guide-split-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.guide-split-hero {
		padding: 56px 24px;
	}

	.guide-split-hero .eyebrow {
		margin-bottom: 16px;
	}

	.guide-split-hero__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.guide-split-hero__title {
		font-size: 36px;
	}

	.guide-split-hero__image {
		height: 320px;
	}

	.editorial-phase:nth-child(odd) .editorial-phase__text {
		display: flex;
		flex-direction: column;
	}

	.editorial-phase:nth-child(odd) .editorial-phase__text .editorial-phase__image {
		order: -1;
		margin-top: 0;
		margin-bottom: 32px;
	}

	.editorial-phase:nth-child(even) .editorial-phase__text .editorial-phase__image {
		margin-top: 32px;
		margin-botton: 32px;
	}

	.editorial-phase:nth-child(even) {
		margin-top: 0%;
	}

	.editorial-phase:last-child {
		margin-top: 0%;
	}

	.editorial-phase__image img {
		height: 100%;
	}
}

/* ---------------------------------------------------------------------------
 * Property detail: values that were inline in property-detail.html
 * Used by: single-properties.php.
 * ------------------------------------------------------------------------- */
.detail-back {
	max-width: var(--container-max, 1280px);
	margin: 24px auto 0;
	padding: 0 64px;
}

.detail-header__title {
	font-size: 48px;
}

.detail-media .h2,
.detail-location .h2 {
	font-size: 30px;
}

.detail-body__content>h2 {
	margin-bottom: 16px;
}

.listing-card__city {
	color: rgba(255, 255, 255, .6);
}

@media (max-width: 900px) {
	.detail-back {
		padding: 0 24px;
	}

	.detail-header__title {
		font-size: 32px;
	}
}

/* ---------------------------------------------------------------------------
 * Testimonials: aggregate rating line
 * Used by: page-testimonials.php.
 * ------------------------------------------------------------------------- */
.testimonials-hero .h1 {
	font-size: 48px;
}

.testimonials-hero .reviews-rating {
	margin-bottom: 120px;
}

.testimonials-hero .reviews-rating__score {
	font-size: 32px;
}

.reviews-rating__count {
	align-self: center;
	font-size: 12px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--color-text-body);
}

/* ---------------------------------------------------------------------------
 * About: last method row loses its divider (was an inline border-bottom:none)
 * Used by: page-about.php.
 * ------------------------------------------------------------------------- */
.werkwijze-item--last {
	border-bottom: none;
}

/* ---------------------------------------------------------------------------
 * FAQ as native <details> disclosures
 * Used by: page-waardebepaling-advies.php. Keeps the exported .faq-item look
 * while making each entry keyboard- and screen-reader-operable without JS.
 * ------------------------------------------------------------------------- */
.faq-item>summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
	pointer-events: none;
}

/* .faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary h3 { margin: 0; }

.faq-item > summary::after {
	content: "+";
	flex: none;
	font-size: 22px;
	line-height: 1;
	color: var(--color-text-body);
	transition: transform .2s ease;
}

.faq-item[open] > summary::after { content: "−"; }

@media (prefers-reduced-motion: reduce) {
	.faq-item > summary::after { transition: none; }
} */

/* ---------------------------------------------------------------------------
 * Pagination, empty states and admin notices
 * Used by: home.php, archive.php, search.php, archive-services.php,
 * template-parts/content/none.php, page-properties.php.
 * ------------------------------------------------------------------------- */
.wende-pagination {
	max-width: var(--container-max, 1280px);
	margin: 0 auto;
	padding: 0 64px 96px;
}

.wende-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.wende-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(106, 111, 73, .25);
	border-radius: 2px;
	font-size: 14px;
	text-decoration: none;
	color: inherit;
}

.wende-pagination .page-numbers.current,
.wende-pagination .page-numbers:hover {
	background: var(--color-olive-dark, #3f4630);
	border-color: transparent;
	color: #fff;
}

.wende-no-results,
.wende-notice,
.wende-empty {
	max-width: 640px;
	margin: 0 auto;
	padding: 64px 24px;
	text-align: center;
	color: var(--color-text-body);
}

.wende-search-form {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 24px;
}

.wende-search-form input[type="search"] {
	flex: 1 1 260px;
	max-width: 360px;
	padding: 12px 16px;
	border: 1px solid rgba(106, 111, 73, .25);
	border-radius: 2px;
	font: inherit;
}

/* ---------------------------------------------------------------------------
 * Generic page fallback (page.php) — breadcrumbs and optional hero image
 * ------------------------------------------------------------------------- */
.breadcrumbs {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 12px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--color-text-body);
}

.breadcrumbs a {
	color: inherit;
}

.page-hero--image .page-hero__media {
	max-width: var(--container-max, 1280px);
	margin: 0 auto 40px;
	border-radius: 2px;
	overflow: hidden;
}

.page-hero--image .page-hero__media img {
	width: 100%;
	height: auto;
	display: block;
}

.page-content>.container {
	max-width: 800px;
}

.page-content p {
	font-weight: 300;
	line-height: 1.75;
}

/* ---------------------------------------------------------------------------
 * Article extras introduced by the WordPress conversion
 * Used by: single.php.
 * ------------------------------------------------------------------------- */
.article-byline-row img,
.article-byline__avatar {
	border-radius: 50%;
}

.article-tags {
	margin: 32px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.article-tags a {
	font-size: 12px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.article-share a+a {
	margin-left: 8px;
}

.page-links {
	margin: 24px 0;
	display: flex;
	gap: 8px;
}

/* Editor alignment classes, so block content behaves inside .page-content. */
.alignwide {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: none;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text,
figcaption {
	font-size: 14px;
	color: var(--color-text-body);
}

.guide-btn {
	background: var(--color-accent);
	color: var(--color-white);
	display: block;
	width: fit-content;
	margin-top: 32px;
	border-radius: 12px;
	min-height: 48px;
	box-shadow: 0px 4px 6px -4px #0000001A;
	box-shadow: 0px 10px 15px -3px #0000001A;
	cursor: pointer;

}


@media (max-width: 900px) {
	.wende-pagination {
		padding: 0 24px 64px;
	}
}

@media (max-width: 767px) {
	.guide-split-hero {
		padding: 48px 20px 32px;
	}

	.guide-split-hero__image {
		height: 325px;
	}

	.guide-split-hero__inner> :first-child {
		order: 2;
	}

	.guide-split-hero__inner> :last-child {
		order: 1;
	}

	#site-content {
		background: linear-gradient(to bottom, #FFF8F3 10%, #ffffff 50%, #ffffff 100%);
	}

	.guide-btn {
		min-height: 40px;
		font-size: 13px;
		padding: 15px 20px;
	}

	.site-footer .footer-inner h4 {
		font-size: 12px !important;
	}
}

@media(max-width: 340px) {
	body {
		min-width: 340px !important;
		overflow: auto !important;
	}
}