/* =========================================================
   AMT Registry — Flightline skin
   Mobile-first. Tokens come from theme.json custom properties.
   ========================================================= */

:root {
	--amt-radius: 6px;
	--amt-radius-lg: 10px;
	--amt-shadow: 0 1px 2px rgba(3, 36, 48, 0.06), 0 4px 12px rgba(3, 36, 48, 0.08);
	--amt-shadow-lift: 0 2px 4px rgba(3, 36, 48, 0.08), 0 12px 28px rgba(3, 36, 48, 0.14);
}

/* ---------- Header ---------- */

.amt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.75rem 1.25rem;
}

.amt-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	align-items: center;
	gap: 1rem;
}

.amt-brand { gap: 0.65rem; align-items: center; }
.amt-brand .wp-block-site-logo img { display: block; }

.amt-header .wp-block-navigation a { padding: 0.35rem 0.15rem; }
.amt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent-deep); }

.amt-header-cta .wp-block-button__link {
	padding: 0.6rem 1.15rem;
	font-size: 0.9375rem;
}

/* Hide the header CTA on small phones; nav burger + hero CTA cover it */
@media (max-width: 480px) {
	.amt-header-cta { display: none; }
}

/* ---------- Runway threshold divider ---------- */

.amt-threshold {
	height: 22px;
	background-image: repeating-linear-gradient(
		90deg,
		currentColor 0 14px,
		transparent 14px 34px
	);
	color: rgba(255, 255, 255, 0.28);
	opacity: 1;
	border: 0;
	margin: 0 auto;
	max-width: 420px;
	width: 100%;
}

.amt-threshold.is-dark { color: rgba(0, 48, 66, 0.18); }

/* ---------- Hero ---------- */

.amt-hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(31, 156, 189, 0.28), transparent 60%),
		var(--wp--preset--color--navy);
	color: #fff;
	padding: clamp(3rem, 7vw, 5.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
}

.amt-hero h1,
.amt-hero h2 { color: #fff; }

.amt-hero p { color: #B9D4DE; max-width: 42rem; }

/* ---------- Remove-before-flight tag ---------- */

.amt-tag {
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--color--accent-deep);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 0.45rem 0.9rem 0.45rem 1.35rem;
	border-radius: 3px;
	clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%);
	position: relative;
}

.amt-tag::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
}

/* ---------- Stats placard row ---------- */

.amt-stats {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--amt-radius-lg);
	box-shadow: var(--amt-shadow);
	padding: 1.5rem 1rem;
	gap: 1.5rem;
}

.amt-stat-number {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(2.25rem, 5vw, 3rem);
	line-height: 1;
	color: var(--wp--preset--color--navy);
}

.amt-stat-label {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
}

/* ---------- Data plate (spec list) ---------- */

.amt-dataplate {
	background: var(--wp--preset--color--overcast);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--amt-radius-lg);
	padding: 0.5rem 1.25rem;
}

.amt-dataplate .amt-spec {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px dashed var(--wp--preset--color--line);
	margin: 0;
}

.amt-dataplate .amt-spec:last-child { border-bottom: 0; }

.amt-spec-key { color: var(--wp--preset--color--slate); font-size: 0.9375rem; }
.amt-spec-value {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--wp--preset--color--contrast);
	text-align: right;
}

/* ---------- Section rhythm ---------- */

.amt-section { padding: clamp(3rem, 6vw, 4.75rem) 1.25rem; }
.amt-section.is-overcast { background: var(--wp--preset--color--overcast); }
.amt-section.is-navy { background: var(--wp--preset--color--navy); color: #fff; }
.amt-section.is-navy h2, .amt-section.is-navy h3 { color: #fff; }
.amt-section.is-navy p { color: #B9D4DE; }

/* =========================================================
   Listdom overrides — search, cards, single listing
   ========================================================= */

/* --- Search bar --- */

.lsd-search {
	background: #fff !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--amt-radius-lg) !important;
	box-shadow: var(--amt-shadow-lift) !important;
	padding: 1rem !important;
}

.lsd-search select,
.lsd-search input[type="text"],
.lsd-search input[type="search"] {
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--amt-radius) !important;
	background-color: #fff !important;
	color: var(--wp--preset--color--contrast) !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	min-height: 48px !important;
	padding: 0.65rem 0.85rem !important;
	width: 100%;
}

.lsd-search select:focus,
.lsd-search input:focus {
	outline: 2px solid var(--wp--preset--color--accent) !important;
	outline-offset: 1px;
	border-color: var(--wp--preset--color--accent) !important;
}

.lsd-search-button,
.lsd-search button[type="submit"],
.lsd-search .lsd-search-buttons-submit button {
	background: var(--wp--preset--color--accent-deep) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--amt-radius) !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	min-height: 48px !important;
	padding: 0.65rem 1.75rem !important;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.lsd-search-button:hover,
.lsd-search button[type="submit"]:hover,
.lsd-search .lsd-search-buttons-submit button:hover {
	background: #116E88 !important;
}

/* --- Listing cards --- */

.lsd-listing-wrapper,
.lsd-listing {
	font-family: var(--wp--preset--font-family--body);
}

.lsd-listing {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--amt-radius-lg) !important;
	overflow: hidden;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lsd-listing:hover {
	border-color: var(--wp--preset--color--navy) !important;
	box-shadow: var(--amt-shadow) !important;
}

.lsd-listing-image img,
.lsd-cover-img-wrapper img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	display: block;
}

.lsd-listing-body { padding: 1rem 1.15rem 1.25rem !important; }

.lsd-listing-title,
.lsd-listing-title a {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 600 !important;
	font-size: 1.375rem !important;
	line-height: 1.15 !important;
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none !important;
}

.lsd-listing-title a:hover { color: var(--wp--preset--color--accent-deep) !important; }

.lsd-listing-address,
.lsd-address-text {
	color: var(--wp--preset--color--slate) !important;
	font-size: 0.875rem !important;
	line-height: 1.45 !important;
}

.lsd-listing-rate { color: var(--wp--preset--color--accent) !important; }

/* Listing labels become remove-before-flight tags */
.lsd-listing-labels span,
.lsd-listing-labels .lsd-label {
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--color--accent-deep) !important;
	color: #fff !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 0.4rem 0.75rem 0.4rem 1.1rem !important;
	border-radius: 2px !important;
	clip-path: polygon(0 50%, 8px 0, 100% 0, 100% 100%, 8px 100%);
}

/* --- Pagination / load more --- */

.lsd-pagination a,
.lsd-load-more button {
	border-radius: var(--amt-radius) !important;
	font-weight: 600;
}

/* =========================================================
   Blog cards (query loop)
   ========================================================= */

.amt-post-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--amt-radius-lg);
	overflow: hidden;
	height: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.amt-post-card:hover {
	border-color: var(--wp--preset--color--navy);
	box-shadow: var(--amt-shadow);
}

.amt-post-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.amt-post-card .amt-post-card-body { padding: 1.15rem 1.25rem 1.4rem; }

.amt-post-card .wp-block-post-title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.amt-post-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--contrast); }
.amt-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--accent-deep); }

.amt-post-card .wp-block-post-date {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--slate);
}

.amt-post-card .wp-block-post-excerpt { font-size: 0.9375rem; }
.amt-post-card .wp-block-post-excerpt__more-link { font-weight: 600; }

/* ---------- Single post ---------- */

.amt-post-hero {
	background: var(--wp--preset--color--overcast);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.amt-post-hero .wp-block-post-title { margin-top: 0.5rem; }

.amt-prose .wp-block-post-content h2 { margin-top: 2.5rem; }
.amt-prose .wp-block-post-content h3 { margin-top: 2rem; }
.amt-prose .wp-block-post-content img { border-radius: var(--amt-radius-lg); }

/* ---------- Footer ---------- */

.amt-footer {
	background: var(--wp--preset--color--navy-deep);
	color: #A9C6D2;
	padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 2rem;
	font-size: 0.9375rem;
}

.amt-footer h4 {
	color: #fff;
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.amt-footer a { color: #A9C6D2; text-decoration: none; }
.amt-footer a:hover { color: #fff; }

.amt-footer .amt-footer-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	font-size: 0.8125rem;
	color: #6E93A2;
}

/* ---------- Two-path cards ---------- */

.amt-path-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-top: 3px solid var(--wp--preset--color--navy);
	border-radius: var(--amt-radius-lg);
	padding: 1.75rem 1.5rem;
	height: 100%;
}

.amt-path-card.is-accent { border-top-color: var(--wp--preset--color--accent-deep); }
.amt-path-card h3 { margin-top: 0; }

/* ---------- Accessibility & motion ---------- */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* =========================================================
   v1.0.1 — live-site fixes
   ========================================================= */

/* Hero paragraph: align with the headline's content column
   (overrides WP constrained layout's auto-centering) */
.amt-hero p {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	margin-right: 0 !important;
}

/* Streamer tag inside full-width sections: sit above the heading,
   aligned to the content column instead of the viewport edge */
.amt-section > .amt-tag {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	margin-bottom: 1rem;
}

/* Stats placard: spread the three stats and center them */
.amt-stats {
	justify-content: space-around;
	text-align: center;
}
.amt-stats > .wp-block-group { min-width: 120px; }

/* Threshold divider: keep it pure bars, no separator chrome */
.amt-threshold {
	background-color: transparent !important;
	border: none !important;
}

/* Listing cards: equal heights, two-line address clamp */
.lsd-listing {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.lsd-address-text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lsd-carousel-view-listings-wrapper .lsd-listing-wrapper { height: 100%; }
.lsd-carousel-view-listings-wrapper .owl-stage {
	display: flex;
	align-items: stretch;
}
.lsd-carousel-view-listings-wrapper .owl-item > * { height: 100%; }

/* =========================================================
   v1.0.2 — carousel gutters and card fill
   ========================================================= */

/* Even gutters: put the gap inside each item, and cancel it at
   the outer edges so the row lines up with the section content. */
.lsd-carousel-view-listings-wrapper .owl-stage {
	display: flex;
	align-items: stretch;
	padding-left: 0 !important;
}

.lsd-carousel-view-listings-wrapper .owl-item {
	display: flex;
	padding: 0 !important;
}

.lsd-carousel-view-listings-wrapper .owl-item > * {
	width: 100%;
	height: auto;
	margin: 0 !important;
}

.lsd-carousel-view-listings-wrapper .lsd-listing-wrapper {
	height: auto;
	padding: 0 0.625rem !important;
	margin: 0 !important;
}

/* Card fills its slot, content sits at the top, no dead space below */
.lsd-carousel-view-listings-wrapper .lsd-listing {
	width: 100%;
	height: 100%;
	margin: 0 !important;
}

.lsd-listing-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	flex: 0 0 auto;
}

/* Image sits flush to the card edge */
.lsd-listing-image,
.lsd-cover-img-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0;
}

/* Grid view gets the same even gutters */
.lsd-listing-wrapper.lsd-col,
.lsd-row > .lsd-listing-wrapper {
	padding: 0.625rem !important;
}

/* Carousel dots in brand color */
.lsd-carousel-view-listings-wrapper .owl-dots { margin-top: 1.25rem; }
.lsd-carousel-view-listings-wrapper .owl-dot span {
	background: var(--wp--preset--color--line) !important;
}
.lsd-carousel-view-listings-wrapper .owl-dot.active span {
	background: var(--wp--preset--color--accent) !important;
}

/* =========================================================
   v1.0.3 — single listing page + list view (state pages)
   ========================================================= */

/* ---------- Single listing ---------- */

.amt-listing .lsd-single-page-wrapper { margin-top: 2rem; }

/* Listdom prints its own H1; the template already shows the
   featured image, so promote Listdom's title as the page heading. */
.lsd-single-title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(2.125rem, 4.5vw, 2.75rem);
	line-height: 1.05;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 0.75rem;
}

.lsd-single-category a {
	display: inline-block;
	background: var(--wp--preset--color--accent-tint) !important;
	color: var(--wp--preset--color--navy) !important;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	text-decoration: none;
}

.lsd-single-page-section { margin-top: 2.5rem; }

.lsd-single-page-section-title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.625rem;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--wp--preset--color--line);
}

/* Details block reads like the homepage data plate */
.lsd-single-attributes-box {
	background: var(--wp--preset--color--overcast);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	padding: 0.5rem 1.25rem;
}

.lsd-single-attributes-box .lsd-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0 !important;
}

@media (min-width: 700px) {
	.lsd-single-attributes-box .lsd-row { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
}

.lsd-single-attributes-box .lsd-attr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	width: auto !important;
	max-width: none !important;
	flex: initial !important;
	padding: 0.8rem 0 !important;
	border-bottom: 1px dashed var(--wp--preset--color--line);
	margin: 0 !important;
}

.lsd-single-attributes-box .lsd-attr-key,
.lsd-single-attributes-box .lsd-attr-label {
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
	font-weight: 400;
}

.lsd-single-attributes-box .lsd-attr-value,
.lsd-single-attributes-box .lsd-attr-value-item {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--wp--preset--color--contrast);
	text-align: right;
	background: none !important;
	padding: 0 !important;
	border: 0 !important;
}

.lsd-single-address {
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
	margin-top: 1rem;
}

.lsd-single-content-wrapper p { margin-bottom: 1.15rem; }

.lsd-single-map,
.lsd-single-page-section-map .lsd-map-canvas {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
}

.lsd-single-share-box { border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.25rem; }

/* ---------- List view (state / category pages) ---------- */

.lsd-list-view-listings-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.lsd-list-view-listings-wrapper { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
	.lsd-list-view-listings-wrapper { grid-template-columns: repeat(3, 1fr); }
}

.lsd-list-view-listings-wrapper .lsd-listing-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.lsd-list-view-listings-wrapper .lsd-listing {
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
}

.lsd-list-view-listings-wrapper .lsd-listing-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

/* Sort bar sits quietly above the grid */
.lsd-view-sortbar-wrapper {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}

.lsd-sortbar-dropdown select {
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 6px !important;
	min-height: 40px;
	padding: 0.4rem 0.65rem !important;
	font-family: var(--wp--preset--font-family--body) !important;
}

/* Load more button in brand style */
.lsd-load-more-wrapper { margin-top: 2rem; text-align: center; }

.lsd-load-more,
.lsd-load-more-title {
	display: inline-block;
	background: var(--wp--preset--color--accent-deep) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	padding: 0.75rem 1.75rem !important;
	cursor: pointer;
}

.lsd-load-more:hover,
.lsd-load-more-title:hover { background: #116E88 !important; }

/* Map above the results */
.lsd-skin-wrapper .lsd-map-canvas,
.lsd-listing-leaflet {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
}

/* =========================================================
   v1.0.4 — listing hero overlay + prominent address
   ========================================================= */

/* ---------- Cover hero on school listings ---------- */

.amt-listing-hero {
	min-height: 420px;
	display: flex;
	align-items: flex-end;
}

.amt-listing-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1000px;
	margin-inline: auto;
}

.amt-listing-hero-title {
	color: #fff !important;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.03;
	margin: 0;
	text-wrap: balance;
	text-shadow: 0 1px 16px rgba(0, 33, 46, 0.45);
}

/* Shorter hero on phones so the content starts sooner */
@media (max-width: 600px) {
	.amt-listing-hero { min-height: 300px; }
}

/* Listdom repeats the school name — the hero carries it now.
   Kept in the DOM for the plugin's schema markup. */
.amt-listing .lsd-single-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* The featured image is the hero now; don't print it twice */
.amt-listing > .wp-block-post-featured-image { display: none; }

.amt-listing .lsd-single-page-wrapper { margin-top: 0; }

/* ---------- Address moves up and reads like a placard ---------- */

.lsd-single-page-wrapper {
	display: flex;
	flex-direction: column;
}

.lsd-single-page-wrapper > .lsd-single-category { order: 1; }
.lsd-single-page-wrapper > .lsd-single-page-section:has(.lsd-single-address) { order: 2; }
.lsd-single-page-wrapper > .lsd-single-page-attributes { order: 3; }
.lsd-single-page-wrapper > .lsd-single-page-section-content { order: 4; }
.lsd-single-page-wrapper > .lsd-single-locations { order: 5; }
.lsd-single-page-wrapper > .lsd-single-page-section-map { order: 6; }
.lsd-single-page-wrapper > .lsd-single-page-section-share { order: 7; }

.lsd-single-page-section:has(.lsd-single-address) { margin-top: 1.25rem; }

.lsd-single-address {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	background: var(--wp--preset--color--accent-tint);
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 0 8px 8px 0;
	padding: 0.9rem 1.15rem;
	margin: 0;
}

.lsd-single-address::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	background-color: var(--wp--preset--color--accent-deep);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>") no-repeat center / contain;
}

.lsd-single-address .lsd-address-text {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 600 !important;
	font-size: 1.1875rem !important;
	line-height: 1.3 !important;
	color: var(--wp--preset--color--navy) !important;
}

/* Fallback for browsers without :has() — address still stands out,
   it just stays in its original position. */
@supports not selector(:has(*)) {
	.lsd-single-page-wrapper { display: block; }
}

/* =========================================================
   v1.1.0 — Offer slot (one source, two presentations)
   ========================================================= */

.amt-offer .amt-offer-inner { display: flex; flex-direction: column; }
.amt-offer .amt-offer-eyebrow { margin: 0; }
.amt-offer .amt-offer-title { margin: 0; }
.amt-offer .amt-offer-text { margin: 0; }
.amt-offer .amt-offer-note { margin: 0; }
.amt-offer .wp-block-buttons { margin: 0; }

/* ---------- Band: homepage, list pages, blog index ---------- */

.amt-offer.is-band {
	background: var(--wp--preset--color--navy);
	padding: clamp(2.25rem, 5vw, 3.5rem) 1.25rem clamp(1.75rem, 3vw, 2.25rem);
}

.amt-offer.is-band .amt-offer-inner {
	gap: 0.875rem;
	max-width: 1200px;
	margin-inline: auto;
	position: relative;
	padding-bottom: 2rem;
}

/* runway threshold under the band */
.amt-offer.is-band .amt-offer-inner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 14px;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 14px, transparent 14px 34px);
}

.amt-offer.is-band .amt-offer-eyebrow {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 0.5rem 0.9rem 0.5rem 1.25rem;
	border-radius: 3px;
	clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%);
}

.amt-offer.is-band .amt-offer-title {
	color: #fff;
	font-size: clamp(1.875rem, 4vw, 2.875rem);
	line-height: 1.04;
	max-width: 18em;
	text-wrap: balance;
}

.amt-offer.is-band .amt-offer-text {
	color: #B9D4DE;
	font-size: 1.0625rem;
	max-width: 40rem;
}

.amt-offer.is-band .amt-offer-action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.amt-offer.is-band .amt-offer-note {
	color: #8FB3C2;
	font-size: 0.8125rem;
}

.amt-offer.is-band .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-size: 1.0625rem;
}

.amt-offer.is-band .wp-block-button__link:hover { background: var(--wp--preset--color--accent-deep); }

/* Desktop: text left, action right */
@media (min-width: 860px) {
	.amt-offer.is-band .amt-offer-inner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"eyebrow action"
			"title   action"
			"text    action";
		column-gap: 3rem;
		align-items: center;
	}
	.amt-offer.is-band .amt-offer-eyebrow { grid-area: eyebrow; margin-bottom: 0.25rem; }
	.amt-offer.is-band .amt-offer-title { grid-area: title; }
	.amt-offer.is-band .amt-offer-text { grid-area: text; margin-top: 0.5rem; }
	.amt-offer.is-band .amt-offer-action {
		grid-area: action;
		align-self: center;
		align-items: center;
		margin-top: 0;
	}
	.amt-offer.is-band .wp-block-button__link { width: auto; padding-inline: 2rem; white-space: nowrap; }
}

/* ---------- Card: school pages, blog posts ---------- */

.amt-offer.is-card {
	background: var(--wp--preset--color--accent-tint);
	border: 1px solid var(--wp--preset--color--line);
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 0 10px 10px 0;
	padding: 1.75rem;
	margin-block: var(--wp--preset--spacing--50);
}

.amt-offer.is-card .amt-offer-inner { gap: 0.625rem; }

.amt-offer.is-card .amt-offer-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
}

.amt-offer.is-card .amt-offer-title {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	line-height: 1.08;
	color: var(--wp--preset--color--contrast);
}

.amt-offer.is-card .amt-offer-text {
	font-size: 1rem;
	color: var(--wp--preset--color--slate);
}

.amt-offer.is-card .amt-offer-action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.amt-offer.is-card .amt-offer-note {
	font-size: 0.75rem;
	color: #5C7A87;
}

.amt-offer.is-card .wp-block-button__link {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

@media (min-width: 760px) {
	.amt-offer.is-card {
		padding: 1.75rem 2rem;
	}
	.amt-offer.is-card .amt-offer-inner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"eyebrow action"
			"title   action"
			"text    action";
		column-gap: 2rem;
		align-items: center;
	}
	.amt-offer.is-card .amt-offer-eyebrow { grid-area: eyebrow; }
	.amt-offer.is-card .amt-offer-title { grid-area: title; }
	.amt-offer.is-card .amt-offer-text { grid-area: text; }
	.amt-offer.is-card .amt-offer-action { grid-area: action; align-self: center; align-items: center; margin-top: 0; }
	.amt-offer.is-card .wp-block-button__link { width: auto; padding-inline: 1.75rem; white-space: nowrap; }
}

/* Hide the whole slot by emptying the template part:
   no children means nothing renders, no stray padding. */
.amt-offer:not(:has(.amt-offer-inner)) { display: none; }

/* =========================================================
   v1.4.0 — AdSense slots
   ========================================================= */

.amt-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	margin-block: clamp(1.75rem, 4vw, 2.75rem);
	padding-inline: 1.25rem;
	box-sizing: border-box;
	overflow: hidden;
	clear: both;
}

.amt-ad-label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8A9AA3;
	line-height: 1;
}

.amt-ad-inner {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* Ads never exceed their column */
.amt-ad-inner ins,
.amt-ad-inner iframe,
.amt-ad-inner img {
	max-width: 100% !important;
}

/* Bottom slot gets breathing room from the footer */
.amt-ad-3 { margin-bottom: clamp(2rem, 5vw, 3.25rem); }

/* Inside dark sections the label needs to stay readable */
.is-navy .amt-ad-label,
.amt-hero .amt-ad-label { color: #8FB3C2; }

/* In-content ad inside articles keeps the reading column width */
.amt-prose .amt-ad,
.entry-content .amt-ad { max-width: 100%; padding-inline: 0; }

/* =========================================================
   v1.5.0 — sponsored / featured listings
   ========================================================= */

/* Listdom marks promoted listings with one of these hooks depending
   on version and skin. Style them all so sponsorship is visible. */
.lsd-listing.lsd-featured,
.lsd-listing.lsd-listing-featured,
.lsd-featured .lsd-listing,
.lsd-listing-wrapper.lsd-featured .lsd-listing {
	border: 1px solid var(--wp--preset--color--accent) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 8px 24px rgba(3, 36, 48, 0.12) !important;
	position: relative;
}

.lsd-listing.lsd-featured::before,
.lsd-listing.lsd-listing-featured::before,
.lsd-featured .lsd-listing::before,
.lsd-listing-wrapper.lsd-featured .lsd-listing::before {
	content: "Sponsored";
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 3;
	background: var(--wp--preset--color--navy);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	padding: 0.4rem 0.7rem;
	border-radius: 3px;
}

.lsd-listing.lsd-featured:hover,
.lsd-listing.lsd-listing-featured:hover,
.lsd-featured .lsd-listing:hover {
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 12px 32px rgba(3, 36, 48, 0.18) !important;
}

/* Single listing: sponsored notice sits above the title */
.lsd-single-page-wrapper.lsd-featured::before {
	content: "Sponsored listing";
	display: inline-block;
	background: var(--wp--preset--color--overcast);
	border: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--slate);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}
