/* Costa Tropical Real Estate — News & Lifestyle (index + story).
   Tidewater tokens (--cse-*) come from the Costa Estates plugin on every page;
   fallbacks only keep the page legible if the plugin is ever off.
   Layout rule: .ctj is the ONE element that reads the viewport (full bleed);
   every band inside pads itself from its own width, so all edges line up. */

html:has(> body.ctj-page) { overflow-x: clip; }

.ctj-page .site-content > .ast-container { display: block; padding-inline: 20px; }

.ctj {
	--ctj-max: 1200px;
	--ctj-pad: max(20px, (100% - var(--ctj-max)) / 2);
	--ctj-read: 700px;
	--ctj-sea: var(--cse-primary, #0f5563);
	--ctj-clay: var(--cse-clay, #a8431f);
	--ctj-ink: var(--cse-ink, #12201f);
	--ctj-text: var(--cse-text, #44504e);
	--ctj-muted: var(--cse-muted, #5e6967);
	--ctj-line: var(--cse-line, #ddd6ca);
	--ctj-lime: var(--cse-surface-alt, #f4f0e8);
	/* The dark bands use the site header's own colour (Astra customizer, #29333d) so header and hero read as one block. */
	--ctj-slate: #29333d;
	--ctj-on-dark: var(--cse-on-dark, #f4f0e8);
	--ctj-display: var(--cse-font-display, 'Fraunces', Georgia, serif);
	--ctj-font: var(--cse-font, 'Instrument Sans', system-ui, sans-serif);
	position: relative;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	font-family: var(--ctj-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ctj-text);
	background: var(--cse-surface, #fff);
}

.ctj *, .ctj *::before, .ctj *::after { box-sizing: border-box; }
.ctj h1, .ctj h2, .ctj h3 {
	font-family: var(--ctj-display);
	font-optical-sizing: auto;
	color: var(--ctj-ink);
	text-transform: none;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.ctj a { color: var(--ctj-sea); }
.ctj a:focus-visible, .ctj button:focus-visible, .ctj summary:focus-visible {
	outline: 2px solid var(--ctj-sea);
	outline-offset: 3px;
	border-radius: 2px;
}
.ctj img { max-width: 100%; height: auto; display: block; }

.ctj-wrap { padding-inline: var(--ctj-pad); }

/* ------------------------------------------------------------- eyebrow */
.ctj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font: 600 13px/1.3 var(--ctj-font);
	letter-spacing: .01em;
	color: var(--ctj-clay);
}
.ctj-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.ctj-eyebrow--dark { color: var(--cse-clay-soft, #e6926f); }

/* ---------------------------------------------------------------- hero */
.ctj-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 112px) var(--ctj-pad) clamp(40px, 6vw, 72px);
	background: var(--ctj-slate);
	color: var(--ctj-on-dark);
	isolation: isolate;
}
/* The low terracotta sun on the horizon, as on the buyer's guide cover. */
.ctj-hero::before {
	content: "";
	position: absolute;
	right: max(20px, (100% - var(--ctj-max)) / 2 + 40px);
	bottom: -70px;
	z-index: -1;
	width: clamp(120px, 16vw, 200px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--cse-clay-soft, #e6926f);
	opacity: .9;
}
.ctj-hero--story::before { width: clamp(90px, 11vw, 140px); bottom: -50px; }
.ctj-hero__inner { max-width: 820px; }
.ctj-hero__title {
	margin: 0 0 20px;
	font-size: clamp(40px, 5.4vw, 68px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--ctj-on-dark) !important;
}
.ctj-hero__title em { font-style: italic; color: var(--cse-clay-soft, #e6926f); }
.ctj-hero__title--story { font-size: clamp(36px, 4.6vw, 58px); }
.ctj-hero__standfirst {
	max-width: 40rem;
	margin: 0;
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.55;
	color: color-mix(in srgb, var(--ctj-on-dark) 88%, transparent);
}
.ctj-hero__meta {
	margin: 24px 0 0;
	font-size: 14px;
	color: color-mix(in srgb, var(--ctj-on-dark) 72%, transparent);
}
.ctj-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; }
.ctj-crumbs a { color: var(--ctj-on-dark) !important; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ctj-crumbs span { color: color-mix(in srgb, var(--ctj-on-dark) 72%, transparent); }

/* --------------------------------------------------------- story cover */
.ctj-cover {
	margin: 0 auto;
	max-width: calc(var(--ctj-max) + 0px);
	padding-inline: var(--ctj-pad);
	padding-top: clamp(20px, 3vw, 32px);
}
@media (min-width: 1240px) { .ctj-cover { padding-inline: 0; } }
.ctj-cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 70vh;
	object-fit: cover;
	border-radius: var(--cse-radius-lg, 10px);
}
.ctj-credit, .ctj .ct-credits {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ctj-muted);
}
.ctj-credit a, .ctj .ct-credits a { color: inherit; }

/* ------------------------------------------------------------ sections */
.ctj-section { padding-block: clamp(40px, 6vw, 72px); }
.ctj-section--lead { padding-bottom: 0; }
.ctj-section--related { background: var(--ctj-lime); }
.ctj-h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); font-weight: 400; line-height: 1.1; }
.ctj-grid-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 28px;
}
.ctj-textlink { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; padding: 10px 0; }
.ctj-empty { color: var(--ctj-muted); }
.ctj-textbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ctj-sea); text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------ search + topics */
.ctj-search { margin-top: 32px; max-width: 560px; }
.ctj .ctj-search__input {
	width: 100%; height: 52px; padding: 0 18px 0 46px;
	border: 1px solid color-mix(in srgb, var(--ctj-on-dark) 35%, transparent);
	border-radius: var(--cse-radius, 6px);
	background: color-mix(in srgb, var(--ctj-on-dark) 8%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23f4f0e8' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m12.5 12.5 4 4'/%3E%3C/svg%3E") no-repeat 16px 50%;
	color: var(--ctj-on-dark); font: 16px/1 var(--ctj-font);
}
.ctj .ctj-search__input::placeholder { color: color-mix(in srgb, var(--ctj-on-dark) 65%, transparent); }
.ctj .ctj-search__input:focus { outline: 2px solid var(--cse-clay-soft, #e6926f); outline-offset: 2px; border-color: transparent; }
.ctj-topicnav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.ctj-topicnav a { padding: 10px 0; color: var(--ctj-on-dark) !important; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, var(--ctj-on-dark) 40%, transparent); }
.ctj-topicnav a:hover { text-decoration-color: currentColor; }
.ctj-section--topic { scroll-margin-top: 90px; }
.ctj-section--topic:nth-of-type(even) { background: var(--ctj-lime); }
.ctj-topic-desc { margin: 8px 0 0; max-width: 46rem; color: var(--ctj-muted); font-size: 16px; }
.ctj-h2--small { font-size: 24px; margin-bottom: 16px; }
.ctj-card--more { display: none; }
.ctj.is-searching .ctj-card--more:not([hidden]) { display: block; }

/* --------------------------------------------------------------- chips */
.ctj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ctj .ctj-chip {
	display: inline-flex; align-items: center; text-decoration: none;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--ctj-line);
	border-radius: var(--cse-radius, 6px);
	background: var(--cse-surface, #fff);
	color: var(--ctj-ink);
	font: 500 15px/1 var(--ctj-font);
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.ctj .ctj-chip:hover { border-color: var(--ctj-sea); background: var(--cse-surface, #fff); color: var(--ctj-ink); }
.ctj .ctj-chip[aria-pressed="true"] {
	background: var(--cse-panel-tint, #e6eeea);
	border-color: var(--ctj-sea);
	color: var(--ctj-sea);
	font-weight: 600;
}
@media (max-width: 640px) {
	.ctj-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--ctj-pad)); padding-inline: var(--ctj-pad); mask-image: linear-gradient(to right, #000 85%, transparent); }
	.ctj-chips::-webkit-scrollbar { display: none; }
	.ctj .ctj-chip { flex: none; }
}

/* --------------------------------------------------------------- cards */
.ctj-grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ctj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ctj-grid { grid-template-columns: repeat(3, 1fr); } }
.ctj-card[hidden] { display: none; }
.ctj-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none !important; color: inherit !important; }
.ctj-card__media { display: block; overflow: hidden; border-radius: var(--cse-radius-lg, 10px); background: var(--ctj-lime); aspect-ratio: 3 / 2; }
.ctj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--cse-ease, ease); }
.ctj-card__link:hover .ctj-card__media img { transform: scale(1.03); }
.ctj-card__body { display: flex; flex-direction: column; padding-top: 16px; }
.ctj-card__body .ctj-eyebrow { margin-bottom: 8px; }
.ctj-card__title {
	font-family: var(--ctj-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.22;
	color: var(--ctj-ink);
	text-wrap: balance;
}
.ctj-card__link:hover .ctj-card__title { color: var(--ctj-sea); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.ctj-card__excerpt { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ctj-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctj-card__meta { margin-top: 12px; font-size: 13px; color: var(--ctj-muted); }

.ctj-card--feature .ctj-card__link { gap: 0; }
@media (min-width: 900px) {
	.ctj-card--feature .ctj-card__link { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; }
	.ctj-card--feature .ctj-card__media { aspect-ratio: 4 / 3; }
	.ctj-card--feature .ctj-card__body { padding-top: 0; }
}
.ctj-card--feature .ctj-card__title { font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.ctj-card--feature .ctj-card__excerpt { font-size: 17px; -webkit-line-clamp: 4; margin-top: 12px; }

/* -------------------------------------------------------- closing band */
.ctj-close { background: var(--ctj-slate); color: var(--ctj-on-dark); padding: clamp(48px, 7vw, 96px) var(--ctj-pad); }
.ctj-close__inner { max-width: 680px; }
.ctj-close__title { margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; line-height: 1.08; color: var(--ctj-on-dark) !important; }
.ctj-close__title em { color: var(--cse-clay-soft, #e6926f); }
.ctj-close__text { margin: 0 0 28px; color: color-mix(in srgb, var(--ctj-on-dark) 85%, transparent); }
.ctj-close__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ctj-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 22px;
	border-radius: var(--cse-radius, 6px);
	font: 600 15px/1 var(--ctj-font);
	text-decoration: none !important;
	transition: background .15s, color .15s;
}
.ctj .ctj-btn--light { background: var(--ctj-on-dark); color: var(--ctj-slate); }
.ctj .ctj-btn--light:hover { background: #fff; color: var(--ctj-slate); }
.ctj .ctj-btn--ghost { border: 1px solid color-mix(in srgb, var(--ctj-on-dark) 55%, transparent); color: var(--ctj-on-dark); }
.ctj .ctj-btn--ghost:hover { border-color: var(--ctj-on-dark); color: var(--ctj-on-dark); background: color-mix(in srgb, var(--ctj-on-dark) 8%, transparent); }
.ctj .ctj-btn:focus-visible { outline-color: var(--ctj-on-dark); }
@media (max-width: 480px) { .ctj-btn { flex: 1 1 100%; } }

/* ============================================================ article */
.ctj-article { padding: clamp(32px, 5vw, 56px) var(--ctj-pad) clamp(56px, 8vw, 96px); }
.ctj-toc, .ctj-body { max-width: var(--ctj-read); margin-inline: auto; }
.ctj-toc { margin-bottom: 40px; }
.ctj-toc__box { border-top: 1px solid var(--ctj-line); border-bottom: 1px solid var(--ctj-line); }
.ctj-toc__label {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 52px; cursor: pointer; list-style: none;
	font: 600 15px/1.3 var(--ctj-font); color: var(--ctj-ink);
}
.ctj-toc__label::-webkit-details-marker { display: none; }
.ctj-toc__label::after { content: "+"; font: 400 24px/1 var(--ctj-font); color: var(--ctj-sea); }
.ctj-toc__box[open] .ctj-toc__label::after { content: "−"; }
.ctj-toc ol { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: toc; columns: 2 260px; column-gap: 32px; }
.ctj-toc li { counter-increment: toc; break-inside: avoid; display: flex; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.4; }
.ctj-toc li::before { content: counter(toc, decimal-leading-zero); font: 500 13px/1.6 var(--ctj-display); color: var(--ctj-clay); }
.ctj-toc a { color: var(--ctj-text); text-decoration: none; }
.ctj-toc a:hover { color: var(--ctj-sea); text-decoration: underline; }

.ctj-body > * { margin-top: 0; margin-bottom: 24px; }
.ctj-body p { font-size: 17px; }
.ctj-body h2 {
	margin: 64px 0 20px;
	padding-top: 28px;
	border-top: 1px solid var(--ctj-line);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.12;
	scroll-margin-top: 120px;
}
.ctj-body h3 { margin: 36px 0 12px; font-size: 22px; font-weight: 500; line-height: 1.25; }
.ctj-body ul:not([class]), .ctj-body ol:not([class]) { padding-left: 1.2em; margin-left: 0; }
.ctj-body li { margin-bottom: 6px; }
.ctj-body a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.ctj-body strong { color: var(--ctj-ink); }

.ctj-body .ct-lede { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: var(--ctj-ink); }

/* Wide things break out of the reading column, never past the page edge. */
.ctj-body .ct-fig--wide, .ctj-body .ct-map, .ctj-body .ct-months, .ctj-body .ct-cal {
	--ctj-wide: min(1000px, 100vw - 2 * max(20px, (100vw - var(--ctj-max)) / 2));
	width: var(--ctj-wide);
	max-width: none;
	margin-inline: calc((100% - var(--ctj-wide)) / 2);
}

/* stats */
.ctj-body .ct-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0;
	margin-block: 32px 40px;
	border-top: 1px solid var(--ctj-line);
	border-bottom: 1px solid var(--ctj-line);
}
.ctj-body .ct-stats > div { padding: 20px 16px 20px 0; }
.ctj-body .ct-stats b {
	display: block;
	font: 400 clamp(32px, 3.4vw, 42px)/1 var(--ctj-display);
	color: var(--ctj-sea);
	letter-spacing: -0.02em;
	font-variant-numeric: lining-nums;
}
.ctj-body .ct-stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ctj-muted); }

/* figures */
.ctj-body figure { margin-inline: 0; }
.ctj-body .ct-fig { margin-block: 36px; }
.ctj-body .ct-fig img { width: 100%; border-radius: var(--cse-radius-lg, 10px); aspect-ratio: 3 / 2; object-fit: cover; }
.ctj-body .ct-fig--wide img { aspect-ratio: 16 / 9; }
.ctj-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ctj-muted); }
.ctj-body figcaption .ct-fig__credit { display: block; font-size: 12px; margin-top: 2px; }
.ctj-body figcaption .ct-fig__credit a { color: inherit; }

/* notes */
.ctj-body .ct-note {
	margin-block: 32px;
	padding: 20px 24px;
	border-left: 3px solid var(--ctj-sea);
	border-radius: 0 var(--cse-radius-lg, 10px) var(--cse-radius-lg, 10px) 0;
	background: var(--cse-panel-tint, #e6eeea);
	font-size: 16px;
	color: var(--ctj-ink);
}
.ctj-body .ct-note--warn { border-left-color: var(--ctj-clay); background: color-mix(in srgb, var(--ctj-clay) 9%, var(--cse-surface, #fff)); }
.ctj-body .ct-note > :last-child { margin-bottom: 0; }

/* chart frames */
.ctj-body .ct-bars, .ctj-body .ct-months, .ctj-body .ct-cal {
	margin-block: 40px;
	padding: 24px clamp(16px, 3vw, 32px);
	border: 1px solid var(--ctj-line);
	border-radius: var(--cse-radius-lg, 10px);
	background: var(--cse-surface, #fff);
}
.ctj-body .ct-bars > figcaption, .ctj-body .ct-months > figcaption, .ctj-body .ct-cal > figcaption, .ctj-body .ct-map > figcaption {
	margin: 0 0 16px;
	font: 500 19px/1.3 var(--ctj-display);
	color: var(--ctj-ink);
}
.ctj-body .ct-source { margin: 16px 0 0; font-size: 13px; color: var(--ctj-muted); }
.ctj-body .ct-source a { color: inherit; }

/* bars */
.ctj-body .ct-bars ul { list-style: none; margin: 0; padding: 0; }
.ctj-body .ct-bar { display: grid; grid-template-columns: minmax(96px, 30%) 1fr auto; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; }
.ctj-body .ct-bar__name { color: var(--ctj-ink); line-height: 1.3; }
.ctj-body .ct-bar__track { height: 12px; border-radius: 2px; background: var(--ctj-lime); overflow: hidden; }
.ctj-body .ct-bar__fill { display: block; height: 100%; border-radius: 2px; background: color-mix(in srgb, var(--ctj-sea) 35%, var(--ctj-lime)); }
.ctj-body .ct-bar--here .ct-bar__fill { background: var(--ctj-sea); }
.ctj-body .ct-bar--here .ct-bar__name { font-weight: 600; }
.ctj-body .ct-bar__val { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ctj-text); white-space: nowrap; min-width: 4.5em; text-align: right; }
@media (max-width: 520px) {
	.ctj-body .ct-bar { grid-template-columns: 1fr auto; row-gap: 6px; }
	.ctj-body .ct-bar__track { grid-column: 1 / -1; grid-row: 2; }
}

/* month chart (SVG from the build) */
.ctj-body .ct-months__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; }
.ctj-body .ct-months__legend li { display: inline-flex; align-items: center; gap: 8px; }
.ctj-body .ct-months__legend i { width: 18px; height: 3px; border-radius: 2px; background: currentColor; }
.ctj-body .ct-months__scroll { overflow-x: auto; }
.ctj-body .ct-months svg { width: 100%; min-width: 520px; height: auto; display: block; font-family: var(--ctj-font); }
.ctj-body .ct-months .s0 { color: var(--ctj-sea); }
.ctj-body .ct-months .s1 { color: var(--ctj-clay); }
.ctj-body .ct-months .s2 { color: var(--ctj-ink); }

/* season calendar */
.ctj-body .ct-cal__scroll { overflow-x: auto; }
.ctj-body .ct-cal table { width: 100%; min-width: 420px; border-collapse: separate; border-spacing: 3px; margin: 0; font-size: 14px; table-layout: fixed; }
.ctj-body .ct-cal th, .ctj-body .ct-cal td { border: 0; padding: 0; background: none; }
.ctj-body .ct-cal thead th { font-weight: 500; font-size: 12px; color: var(--ctj-muted); text-align: center; padding-bottom: 4px; }
.ctj-body .ct-cal thead th:first-child { width: 30%; }
.ctj-body .ct-cal tbody th { text-align: left; font-weight: 500; color: var(--ctj-ink); padding-right: 8px; line-height: 1.25; }
.ctj-body .ct-cal td { height: 26px; border-radius: 3px; background: var(--ctj-lime); }
.ctj-body .ct-cal td.on { background: color-mix(in srgb, var(--ctj-sea) 40%, var(--ctj-lime)); }
.ctj-body .ct-cal td.peak { background: var(--ctj-sea); }
.ctj-body .ct-cal__key { display: flex; gap: 20px; margin-top: 12px; font-size: 13px; color: var(--ctj-muted); }
.ctj-body .ct-cal__key span { display: inline-flex; align-items: center; gap: 8px; }
.ctj-body .ct-cal__key i { width: 14px; height: 14px; border-radius: 3px; }

/* map */
.ctj-body .ct-map { margin-block: 40px; }
.ctj-body .ct-map__canvas {
	height: clamp(320px, 52vw, 520px);
	border-radius: var(--cse-radius-lg, 10px);
	border: 1px solid var(--ctj-line);
	background: var(--ctj-lime);
	z-index: 0;
}
.ctj-body .ct-map__list { margin: 16px 0 0; padding: 0; list-style: none; columns: 2 280px; column-gap: 32px; }
.ctj-body .ct-map__list li { display: flex; gap: 12px; break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--ctj-line); font-size: 15px; line-height: 1.45; }
.ctj-body .ct-map__list b { color: var(--ctj-ink); font-weight: 600; }
.ctj-body .ct-map__list button { all: unset; cursor: pointer; display: flex; gap: 12px; width: 100%; }
.ctj-body .ct-map__list button:focus-visible { outline: 2px solid var(--ctj-sea); outline-offset: 2px; }
.ctj .ct-pin {
	display: inline-grid; place-items: center; flex: none;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--ctj-sea); color: #fff;
	font: 600 12px/1 var(--ctj-font);
	box-shadow: 0 0 0 2px #fff;
}
.ctj .leaflet-div-icon { background: none; border: 0; }
/* Quieten the OSM palette so the sea-teal pins lead. */
.ctj .leaflet-tile-pane { filter: saturate(.45) contrast(.95) brightness(1.04); }
.ctj .leaflet-popup-content { font: 14px/1.45 var(--ctj-font); color: var(--ctj-text); margin: 12px 14px; }
.ctj .leaflet-popup-content b { display: block; font-family: var(--ctj-display); font-weight: 500; font-size: 16px; color: var(--ctj-ink); margin-bottom: 2px; }
.ctj .leaflet-container a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 22px; }
.ctj .leaflet-control-attribution { font-size: 11px; }

/* timeline */
.ctj-body .ct-timeline { list-style: none; margin: 32px 0 40px; padding: 0; }
.ctj-body .ct-timeline li { position: relative; display: grid; grid-template-columns: 104px 1fr; column-gap: 20px; padding-bottom: 24px; }
.ctj-body .ct-timeline li::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: -6px; width: 1px; background: var(--ctj-line); }
.ctj-body .ct-timeline li:last-child::before { display: none; }
.ctj-body .ct-timeline li::after { content: ""; position: absolute; left: 114px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ctj-clay); box-shadow: 0 0 0 3px #fff; }
.ctj-body .ct-timeline time { grid-row: 1 / span 2; font: 500 18px/1.2 var(--ctj-display); color: var(--ctj-clay); font-variant-numeric: lining-nums tabular-nums; }
.ctj-body .ct-timeline h3 { margin: 0 0 6px 16px; font-size: 20px; }
.ctj-body .ct-timeline p { margin: 0 0 0 16px; font-size: 16px; }
.ctj-body .ct-timeline li > :not(time) { grid-column: 2; }

/* table */
.ctj-body .ct-table-wrap { overflow-x: auto; margin-block: 32px 40px; }
.ctj-body .ct-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; margin: 0; border: 0; }
.ctj-body .ct-table th, .ctj-body .ct-table td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--ctj-line); background: none; line-height: 1.45; }
.ctj-body .ct-table thead th { font-size: 13px; font-weight: 600; color: var(--ctj-muted); border-bottom-color: var(--ctj-ink); }
.ctj-body .ct-table tbody th, .ctj-body .ct-table td:first-child { color: var(--ctj-ink); font-weight: 600; }

/* pull quote */
.ctj-body .ct-pull {
	margin: 48px 0;
	padding: 0 0 0 24px;
	border: 0;
	border-left: 3px solid var(--ctj-clay);
	font: 400 italic clamp(24px, 2.6vw, 30px)/1.3 var(--ctj-display);
	color: var(--ctj-ink);
	background: none;
	quotes: none;
}
.ctj-body .ct-pull p { margin: 0; font: inherit; }

/* property-search link card */
.ctj-body .ct-cta {
	display: flex; align-items: center; gap: 16px;
	margin-block: 32px;
	padding: 20px 24px;
	border: 1px solid var(--ctj-line);
	border-radius: var(--cse-radius-lg, 10px);
	background: var(--ctj-lime);
	color: var(--ctj-ink);
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.ctj-body .ct-cta:hover { border-color: var(--ctj-sea); background: var(--cse-panel-tint, #e6eeea); color: var(--ctj-ink); }
.ctj-body .ct-cta__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ctj-body .ct-cta__eyebrow { font-size: 13px; font-weight: 600; color: var(--ctj-clay); }
.ctj-body .ct-cta__label { font: 500 20px/1.25 var(--ctj-display); }
.ctj-body .ct-cta__arrow {
	flex: none; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ctj-sea); color: #fff; font-size: 20px;
	transition: transform .2s var(--cse-ease, ease);
}
.ctj-body .ct-cta:hover .ct-cta__arrow { transform: translateX(3px); }

/* faq */
.ctj-body .ct-faq { margin: 0; border-bottom: 1px solid var(--ctj-line); }
.ctj-body h2 + .ct-faq, .ctj-body .ct-faq:first-of-type { border-top: 1px solid var(--ctj-line); }
.ctj-body .ct-faq summary {
	display: flex; justify-content: space-between; gap: 16px; align-items: center;
	min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
	font: 600 17px/1.35 var(--ctj-font); color: var(--ctj-ink);
}
.ctj-body .ct-faq summary::-webkit-details-marker { display: none; }
.ctj-body .ct-faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--ctj-font); color: var(--ctj-sea); }
.ctj-body .ct-faq[open] summary::after { content: "−"; }
.ctj-body .ct-faq > :not(summary) { margin: 0 0 16px; font-size: 16px; }

/* sources + credits */
.ctj-body .ct-sources { margin-top: 64px; }
.ctj-body .ct-sources h2 { font-size: 22px; margin-top: 0; }
.ctj-body .ct-sources ol { padding-left: 1.4em; font-size: 14px; line-height: 1.5; color: var(--ctj-muted); }
.ctj-body .ct-sources li { margin-bottom: 6px; }
.ctj-body .ct-sources a { color: var(--ctj-muted); word-break: break-word; }
.ctj-body .ct-credits { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
	.ctj *, .ctj *::before, .ctj *::after { transition: none !important; }
}

/* ---------------------------------------------------- critic round 1 */
.ctj-section--topic .ctj-card .ctj-eyebrow, .ctj-section--alltopic .ctj-card .ctj-eyebrow { display: none; }
.ctj-nowrap { white-space: nowrap; }
.ctj-crumbs a { display: inline-block; padding-block: 10px; }
.ctj-toc a { display: block; padding: 11px 0; }
.ctj-toc li { padding: 0; }
.ctj-toc li::before { padding-top: 11px; }
.ctj-body .ct-map__list button { min-height: 44px; align-items: center; }
.ctj .leaflet-container .leaflet-bar a, .ctj .leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
.ctj-body .ct-months svg.ct-months__narrow { display: none; }
@media (max-width: 600px) {
	.ctj-body .ct-map__canvas { height: 320px; }
	.ctj .ct-map__canvas .ct-pin--dot { width: 14px; height: 14px; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.35); }
	.ctj-body .ct-map__hint { margin: 8px 0 0; font-size: 14px; color: var(--ctj-muted); }
	.ctj-body .ct-months svg.ct-months__wide { display: none; }
	.ctj-body .ct-months svg.ct-months__narrow { display: block; }
	.ctj-body .ct-months svg { min-width: 0; }
	.ctj-body .ct-cal table { min-width: 0; border-spacing: 2px; font-size: 13px; }
	.ctj-body .ct-cal thead th:first-child { width: 28%; }
	.ctj-body .ct-cal thead th { font-size: 11px; }
	.ctj-body .ct-cal td { height: 24px; }
	.ctj-body .ct-bars, .ctj-body .ct-months, .ctj-body .ct-cal { padding-inline: 12px; }
}
/* Anything that still scrolls sideways says so. */
.ctj-body .ct-table-wrap { position: relative; }
@media (max-width: 600px) {
	.ctj-body .ct-table-wrap { mask-image: linear-gradient(to right, #000 88%, transparent); }
	.ctj-body .ct-table-wrap::before { content: "Swipe the table to see more →"; display: block; margin-bottom: 6px; font-size: 13px; color: var(--ctj-muted); }
}

/* critic round 3 */
.ctj-body .ct-timeline time { font-size: 16px; line-height: 1.25; }
@media (max-width: 480px) {
	.ctj-body .ct-timeline li { grid-template-columns: 88px 1fr; column-gap: 16px; }
	.ctj-body .ct-timeline li::before { left: 98px; }
	.ctj-body .ct-timeline li::after { left: 94px; }
	.ctj-body .ct-timeline time { font-size: 15px; }
}
.ctj-crumbs { align-items: center; }
@media (max-width: 600px) {
	.ctj-hero__meta > .ctj-nowrap { display: block; margin-top: 2px; }
	.ctj-hero__meta > .ctj-nowrap > span[aria-hidden="true"]:first-child { display: none; }
}
