@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
	--ink: #122033;
	--muted: #5d6d82;
	--paper: #f4f7fb;
	--card: #ffffff;
	--line: #e3ebf5;
	--forest: #013580;
	--clay: #1863d8;
	--brass: #1863d8;
	--serif: "Plus Jakarta Sans", system-ui, sans-serif;
	--sans: "Plus Jakarta Sans", system-ui, sans-serif;
	--shadow: 0 14px 34px rgba(1, 53, 128, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
}

button, input, textarea, select { font-family: inherit; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); }

a:hover { color: var(--clay); }

:focus-visible {
	outline: 2px solid var(--forest);
	outline-offset: 3px;
}

h1, h2, h3, .wordmark, .footer-name, .card-title {
	font-family: var(--sans);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 0.35em; }

h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); margin: 1.8em 0 0.45em; }

h3 { font-size: 1.2rem; margin: 1.3em 0 0.35em; }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip {
	position: absolute;
	left: -999px;
	top: 0;
}

.skip:focus {
	left: 1rem;
	top: 1rem;
	background: var(--card);
	padding: 0.75rem 1rem;
	z-index: 40;
}

.wrap {
	width: min(1270px, calc(100% - 2rem));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #013580;
	border-bottom: 0;
}

body.admin-bar .site-header { top: 32px; }

.header-inner, .header-nav {
	width: min(1270px, calc(100% - 2rem));
	margin-inline: auto;
}

.header-inner {
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.header-nav {
	border-top: 1px solid var(--line);
	overflow-x: auto;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.brand-logo {
	display: block;
	height: 22px;
	width: auto;
	max-width: min(312px, 58vw);
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.wordmark-mark {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--serif);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.wordmark-name {
	font-family: var(--serif);
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.primary-nav {
	display: flex;
	gap: 0.125rem;
	align-items: center;
	flex-wrap: nowrap;
	min-width: max-content;
}

.primary-nav .head-link {
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-bottom: 0;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0;
}

.head-link svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.primary-nav .head-link:hover,
.primary-nav .head-link[aria-current="page"] { border-bottom-color: transparent; color: #d7e8ff; }

.primary-nav a, .lang-switch, .pagination a, .sa-btn, .toc a, .related a, .apartment-embed a {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
}

.primary-nav a, .footer-nav a, .lang-switch {
	color: #fff;
	text-decoration: none;
}

.primary-nav a {
	padding: 0.5rem 1rem;
	border-bottom: 0;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { border-bottom-color: #fff; color: #fff; }

.lang-menu { position: relative; }

.lang-current {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 48px;
	margin: 0;
	padding: 0.5rem 0.15rem 0.5rem 0.5rem;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0;
	list-style: none;
	cursor: pointer;
}

.lang-current::-webkit-details-marker { display: none; }

.lang-caret {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lang-menu:not([open]) .lang-panel { display: none; }

.lang-panel {
	position: absolute;
	right: 0;
	top: calc(100% - 2px);
	min-width: 168px;
	padding: 0.35rem;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(1, 53, 128, 0.18);
	z-index: 30;
}

.lang-panel a,
.lang-panel .is-current {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 0.65rem;
	border-radius: 8px;
	color: #122033;
	text-decoration: none;
}

.lang-panel a:hover { background: #e7f0ff; color: #013580; }

.lang-panel .is-current { font-weight: 700; }

.flag {
	display: block;
	width: 22px;
	height: 16px;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
	flex: 0 0 22px;
}

.site-footer {
	margin-top: 4rem;
	background: #f4f7fb;
	color: #66758a;
}

.footer-news {
	background: linear-gradient(180deg, #0c5cb8 0%, #01408f 46%, #01285f 100%);
	color: #fff;
	text-align: center;
	padding: 2.75rem 1.25rem 2.4rem;
}

.footer-news-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 0.9rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.footer-news-icon svg,
.footer-news-mail svg { width: 22px; height: 22px; fill: currentColor; }

.footer-news h2 {
	margin: 0 0 0.4rem;
	color: #fff;
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.footer-news-lead {
	max-width: 34rem;
	margin: 0 auto 1.15rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.5;
}

.footer-news-form {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	width: min(540px, 100%);
	margin: 0 auto;
	padding: 6px 6px 6px 0.85rem;
	border-radius: 12px;
	background: #fff;
}

.footer-news-mail { display: grid; place-items: center; color: #8aa0bd; }

.footer-news-form input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 0.4rem;
	border: 0;
	background: transparent;
	color: #122033;
}

.footer-news-form button {
	min-height: 44px;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 8px;
	background: #1863d8;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.footer-news-form button:hover { background: #013580; }

.footer-news-fine,
.footer-news-note {
	margin: 0.75rem 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.88rem;
}

.footer-inner {
	width: min(1180px, calc(100% - 2rem));
	margin-inline: auto;
	padding: 2.5rem 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr));
	gap: 1.75rem 1.4rem;
	align-items: start;
}

.footer-brand { max-width: 16rem; }

.footer-brand p { margin: 0; color: #7b8798; font-size: 0.92rem; line-height: 1.55; }

.footer-word {
	display: inline-block;
	margin: 0 0 0.65rem;
	color: #013580;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.footer-word span { color: #013580; }

.footer-social { display: flex; gap: 0.15rem; margin-top: 0.85rem; }

.footer-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #013580;
}

.footer-social a:hover { background: #e7f0ff; color: #013580; }

.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-label {
	margin: 0 0 0.7rem;
	color: #013580;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.footer-col a,
.footer-link {
	display: block;
	width: 100%;
	padding: 0.22rem 0;
	border: 0;
	background: none;
	color: #66758a;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.footer-col a:hover,
.footer-link:hover,
.footer-col a.is-accent { color: #1863d8; }

.footer-col a.is-accent { font-weight: 700; }

.colophon { margin: 1.6rem 0 0; color: #8b97a8; font-size: 0.92rem; }

.masthead, .page-head, .article-head { padding: 2.4rem 0 1.4rem; max-width: 46rem; }

.masthead-slim { padding-bottom: 0.2rem; }

.masthead-slim h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.masthead h1, .cover h1 { max-width: 16ch; }

.brand-hero {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: visible;
	min-height: 400px;
	color: #fff;
	padding: 5.5rem 1.25rem 7.5rem;
	text-align: center;
	background: #0c224b;
}

.brand-hero-img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.brand-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(1, 24, 72, 0.42) 0%, rgba(1, 36, 100, 0.55) 48%, rgba(1, 24, 72, 0.72) 100%);
}

.brand-hero-inner { position: relative; z-index: 2; width: min(760px, 100%); margin: 0 auto; }

.brand-hero .seek-bar {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 0;
	width: min(760px, calc(100% - 2rem));
	margin: 0;
	transform: translate(-50%, 50%);
}

.brand-hero + .wrap { padding-top: 3.2rem; }

.brand-hero h1 {
	margin: 0 0 0.45em;
	color: #fff;
	font-size: clamp(2.1rem, 4.5vw, 3.3rem);
	max-width: none;
}

.brand-hero p {
	margin: 0 auto;
	max-width: 38rem;
	color: #d7e4f7;
	font-size: 1.125rem;
}

.seek-bar {
	width: min(760px, calc(100% - 2rem));
	margin: -1.7rem auto 0;
	position: relative;
	z-index: 3;
	display: flex;
	gap: 0.6rem;
	align-items: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(1, 53, 128, 0.16);
	padding: 0.55rem;
}

.seek-bar input[type="search"] {
	flex: 1;
	min-height: 48px;
	border: 0;
	font: inherit;
	font-size: 1rem;
	padding: 0 0.9rem;
	background: transparent;
	color: var(--ink);
}

.seek-bar input[type="search"]:focus { outline: none; }

.seek-bar button, .seek-bar .sa-btn { min-width: 7.5rem; justify-content: center; }

.seek-bar button {
	background: #1863d8;
	color: #fff;
	border: 0;
	border-radius: 10px;
	min-height: 48px;
	padding: 0 1.2rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.seek-bar button:hover { background: #013580; }

.seek-bar-links { justify-content: center; padding: 0.7rem; }

.home-hero {
	position: relative;
	isolation: isolate;
	min-height: 460px;
	margin: 0.4rem 0 2.4rem;
	overflow: hidden;
	background: #013580;
}

.home-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-hero-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	max-width: 40rem;
	padding: 2.2rem 1.6rem 1.8rem;
	color: #fffdf8;
	background: linear-gradient(90deg, rgba(16, 32, 26, 0.92) 0%, rgba(16, 32, 26, 0.72) 62%, rgba(16, 32, 26, 0.15) 100%);
}

.home-hero .kicker a { color: #e7c98a; }

.home-hero h2 {
	margin: 0 0 0.35em;
	font-size: clamp(2rem, 4vw, 3.3rem);
}

.home-hero h2 a { color: #fffdf8; text-decoration: none; }

.home-hero h2 a:hover { color: #fff; }

.home-hero-excerpt { color: #efe8dc; max-width: 36rem; }

.home-hero-meta { color: #d9d0c3; font-size: 0.95rem; }

.home-hero .sa-btn { background: #fffdf8; color: var(--ink); border-color: #fffdf8; align-self: flex-start; }

.home-hero .sa-btn:hover { background: var(--ink); color: #fffdf8; }

.lede { font-size: 1.25rem; color: var(--muted); max-width: 38rem; }

.kicker {
	font-family: var(--sans);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
	margin: 0 0 0.55rem;
}

.kicker a { color: inherit; text-decoration: none; }

.section-block { margin-top: 3.2rem; }

.section-head { margin-bottom: 1rem; }

.section-head h2 { margin: 0 0 0.25rem; color: #013580; }

.section-head p { color: var(--muted); margin: 0; }

.article.wrap { width: min(1080px, calc(100% - 2rem)); }

.article-head {
	max-width: 42rem;
	padding: 1.6rem 0 0.2rem;
}

.article-head .kicker {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin: 0 0 0.85rem;
	padding: 0 0.8rem;
	border-radius: 999px;
	background: #e7f0ff;
	color: #013580;
	letter-spacing: 0.08em;
}

.article-head h1 {
	max-width: 16em;
	margin: 0 0 0.7rem;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	letter-spacing: -0.035em;
}

.entry, .article-body { font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; }

.article-body > p:first-of-type::first-letter {
	float: none;
	font-size: inherit;
	line-height: inherit;
	padding: 0;
	color: inherit;
}

.byline, .card-meta, .role, .as-of, .card-excerpt {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.98rem;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0;
	align-items: center;
	margin: 0 0 1.2rem;
}

.byline > * + *::before {
	content: "·";
	margin: 0 0.55rem;
	color: #9aabc2;
}

.byline a, .byline-author {
	color: #013580;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 0;
}

.guest {
	border: 1px solid var(--line);
	padding: 0.15rem 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.article-hero {
	margin: 0 0 1.6rem;
	border-radius: 20px;
	overflow: hidden;
	background: #013580;
	box-shadow: var(--shadow);
}

.sa-hero {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	object-position: center;
	background: #013580;
	margin: 0;
	border-radius: 0;
}

.takeaways, .callout, .price-box, .city-card, .author-box {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 1.15rem 1.25rem;
	margin: 1.35rem 0;
	box-shadow: var(--shadow);
}

.takeaways {
	border: 1px solid #d5e4fb;
	border-left: 4px solid #1863d8;
	border-radius: 16px;
	background: #f7faff;
	box-shadow: none;
}

.takeaways ul, .toc ol, .related ul, .sources ol, .steps { margin: 0; padding-left: 1.15rem; }

.takeaways li + li { margin-top: 0.35rem; }

.toc {
	margin: 0 0 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--line);
}

.toc a { text-decoration: none; color: var(--ink); }

.toc a:hover { color: var(--clay); }

.toc .toc-h3 { margin-left: 0.8rem; }

.article-layout { margin-top: 0.5rem; }

.post-list { display: grid; gap: 0.9rem; }

.post-list .post-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
}

.post-list .card-media {
	display: block;
	background: var(--forest);
	min-height: 168px;
}

.post-list .card-media img {
	width: 100%;
	height: 168px;
	aspect-ratio: auto;
	object-fit: cover;
}

.post-list .card-body { justify-content: center; }

.post-list h2 { margin-top: 0; }

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.post-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-grid .kicker {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 0.45rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: #e7f0ff;
	color: #013580;
	letter-spacing: 0.06em;
}

.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.post-card h2 { font-size: 1.35rem; margin: 0.15em 0 0.35em; }

.post-card h2 a, .author-name a, .card-title a { color: var(--ink); text-decoration: none; }

.post-card h2 a:hover, .card-title a:hover { color: var(--clay); }

.card-body { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }

.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ddd4c6; }

.card-excerpt { margin-top: 0.2rem; }

.post-card.is-lead {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	min-height: 360px;
}

.post-card.is-lead .card-media { background: var(--forest); }

.post-card.is-lead .card-media img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	max-height: 440px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}

.post-card.is-lead h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.post-card.is-lead .card-body { padding: 1.6rem 1.7rem; justify-content: center; }

.hub-intro { max-width: 42rem; margin-bottom: 1.5rem; font-family: var(--serif); font-size: 1.12rem; }

.sa-btn {
	background: #1863d8;
	color: #fff;
	text-decoration: none;
	padding: 0 1.15rem;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
}

.sa-btn:hover { background: #013580; color: #fff; }

.sa-btn-quiet {
	background: #fff;
	color: #013580;
	border: 1px solid #d5e2f5;
}

.sa-btn-quiet:hover { background: #e7f0ff; color: #013580; }

.find-apartments { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.sa-table-scroll { overflow-x: auto; max-width: 100%; margin: 1.25rem 0; background: var(--card); border: 1px solid var(--line); }

.sa-table-scroll table { border-collapse: collapse; min-width: 36rem; width: 100%; }

.sa-table-scroll th, .sa-table-scroll td {
	border-bottom: 1px solid var(--line);
	text-align: left;
	padding: 0.75rem 0.85rem;
	font-family: var(--sans);
}

.sa-table-scroll th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.apartment-embed, .city-articles, .related, .faq, .sources {
	margin: 2rem 0;
}

.apartment-embed ul, .city-articles ul, .related ul { list-style: none; padding: 0; }

.apartment-embed a, .related a, .city-articles a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	text-decoration: none;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
	padding: 0.15rem 0;
}

.apartment-embed a:hover, .related a:hover, .city-articles a:hover { color: var(--clay); }

.listing-name { font-family: var(--serif); font-size: 1.15rem; }

.district { color: var(--muted); font-size: 0.95rem; }

.price, .price-figure { font-variant-numeric: tabular-nums; }

.price { color: var(--forest); font-weight: 600; white-space: nowrap; }

.price-figure {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin: 0.2rem 0 1rem;
}

.author-row { display: flex; gap: 1rem; align-items: flex-start; }

.author-photo, .author-fallback {
	width: 88px;
	height: 88px;
	object-fit: cover;
	background: var(--forest);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--serif);
	font-size: 2rem;
	flex: 0 0 88px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.15rem;
	list-style: none;
	padding: 0;
	margin: 0 0 1.1rem;
	font-family: var(--sans);
	font-size: 0.92rem;
	color: var(--muted);
}

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

.breadcrumbs a:hover { color: var(--ink); }

.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: var(--brass); }

.pagination ul { display: flex; gap: 0.4rem; list-style: none; padding: 2rem 0 0; flex-wrap: wrap; }

.pagination a, .pagination span {
	min-width: 48px;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--card);
	text-decoration: none;
	color: var(--ink);
	padding: 0 0.7rem;
}

.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sa-facade {
	display: flex;
	align-items: center;
	min-height: 48px;
	width: 100%;
	text-align: left;
	background: var(--card);
	border: 1px solid var(--line);
	padding: 0.75rem 1rem;
	font: inherit;
	cursor: pointer;
}

.faq-item { border-top: 1px solid var(--line); padding: 0.35rem 0 0.6rem; }

.faq-item h3 { margin-bottom: 0.2rem; }

.steps { list-style: none; padding: 0; counter-reset: step; }

.steps li {
	counter-increment: step;
	position: relative;
	padding: 0.85rem 0 0.85rem 3.2rem;
	border-bottom: 1px solid var(--line);
	font-family: var(--sans);
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 2.2rem;
	height: 2.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.9rem;
}

.callout-deadline { border-left: 3px solid var(--clay); }

.callout-legal { border-left: 3px solid var(--brass); }

.enquiry {
	background: var(--card);
	border: 1px solid var(--line);
	padding: 1.25rem 1.3rem 0.4rem;
	margin: 1.5rem 0 2rem;
	max-width: 36rem;
}

.enquiry label { display: grid; gap: 0.35rem; font-family: var(--sans); }

.enquiry input, .enquiry textarea, .search-form input[type="search"] {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	padding: 0.75rem 0.8rem;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
}

.search-form { display: flex; gap: 0.5rem; margin: 0 0 1.6rem; align-items: center; max-width: 40rem; }

.search-form label { flex: 1; }

.search-form input[type="submit"], .enquiry button { min-height: 48px; }

.search-form input[type="submit"] {
	background: var(--forest);
	color: #fffdf9;
	border: 0;
	padding: 0 1.1rem;
	font: inherit;
	cursor: pointer;
}

.hp { position: absolute; left: -9999px; }

.consent[hidden] { display: none !important; }

.consent {
	position: fixed;
	z-index: 30;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	width: min(760px, calc(100% - 2rem));
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	background: var(--ink);
	color: #fffdf9;
	padding: 0.95rem 1rem;
	box-shadow: 0 16px 40px rgba(28, 25, 21, 0.28);
}

.consent p { margin: 0; flex: 1 1 16rem; }

.consent .sa-btn-quiet { color: #fffdf9; border-color: #fffdf9; }

.city-index ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.7rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.city-index a {
	display: flex;
	align-items: flex-end;
	min-height: 96px;
	padding: 0.9rem 1rem;
	background: #fff;
	color: #013580;
	text-decoration: none;
	font-family: var(--sans);
	font-size: 1.2rem;
	font-weight: 700;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.city-index a:hover { background: #013580; color: #fff; }

.empty { color: var(--muted); }

@media (min-width: 960px) {
	.article-layout {
		display: grid;
		grid-template-columns: 210px minmax(0, 42rem);
		justify-content: space-between;
		gap: 2.5rem;
		align-items: start;
	}

	.article-rail {
		position: sticky;
		top: 8.5rem;
	}

	.article-body > p:first-of-type::first-letter { font-size: inherit; }
}

@media (max-width: 900px) {
	.post-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; max-width: none; }
	.home-hero-copy { max-width: none; background: linear-gradient(180deg, rgba(16, 32, 26, 0.05) 0%, rgba(16, 32, 26, 0.25) 38%, rgba(16, 32, 26, 0.9) 72%); }
}

@media (max-width: 800px) {
	body.admin-bar .site-header { top: 46px; }
	.masthead, .page-head { padding-top: 1.6rem; }
	.brand-hero { min-height: 460px; padding-bottom: 6.5rem; }
	.footer-news-form { width: min(540px, 100%); }
}

@media (max-width: 720px) {
	.header-inner { flex-wrap: wrap; padding: 0.35rem 0; }
	.header-tools { width: 100%; overflow-x: auto; }
}

@media (max-width: 640px) {
	.wrap, .header-inner, .header-nav, .footer-inner { width: min(1270px, calc(100% - 1.25rem)); }
	.post-grid, .post-list .post-card, .footer-grid { grid-template-columns: 1fr; }
	.post-list .card-media img { height: 200px; aspect-ratio: auto; }
	.home-hero, .home-hero-copy { min-height: 380px; }
	.search-form { flex-direction: column; align-items: stretch; }
	.author-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.post-card { transition: none; }
	.post-card:hover { transform: none; }
}

.feed-home { padding-top: 0.4rem; }

.feed-intro {
	max-width: 1000px;
	margin: 0.8rem auto 1.6rem;
	text-align: center;
}

.feed-intro h2 {
	margin: 0;
	color: #122033;
	font-size: clamp(2rem, 4.2vw, 3.15rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.feed-intro h2 span { color: #1863d8; }

.feed-intro p {
	max-width: 1000px;
	margin: 1rem auto 0;
	color: #5d6b80;
	font-size: 1.05rem;
	line-height: 1.65;
}

.topic-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 0 0 1.75rem;
}

.topic-row a, .tag-pills a, .side-links a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	text-decoration: none;
}

.topic-row a {
	padding: 0 1rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e4ebf5;
	color: #013580;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.topic-row a:hover { background: #e7f0ff; }

.topic-row a[aria-current="page"] {
	background: #013580;
	border-color: #013580;
	color: #fff;
}

.feed-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 1.75rem;
	align-items: start;
}

.feed-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.75rem 1.25rem;
}

.feed-card { min-width: 0; }

.feed-media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #d7e2f2;
	aspect-ratio: 16 / 10;
}

.feed-media > a:not(.feed-badge) {
	position: absolute;
	inset: 0;
	display: block;
}

.feed-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.feed-badge, .feed-time { z-index: 1; }

.feed-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 0.7rem;
	border-radius: 999px;
	background: #fff;
	color: #013580;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.feed-time {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(12, 28, 58, 0.78);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}

.feed-body h2 {
	margin: 0.85rem 0 0.3rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.feed-body h2 a { color: var(--ink); text-decoration: none; }

.feed-body h2 a:hover { color: #1863d8; }

.feed-by {
	margin: 0;
	color: #5d6b80;
	font-size: 0.95rem;
}

.feed-excerpt { margin: 0.45rem 0 0; }

.feed-side { display: grid; gap: 1rem; }

.side-card {
	background: #fff;
	border: 1px solid #e4ebf5;
	border-radius: 18px;
	padding: 1rem 1rem 1.1rem;
}

.side-label {
	margin: 0 0 0.7rem;
	color: #7b8798;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.side-name {
	margin: 0 0 0.35rem;
	color: #122033;
	font-size: 1.15rem;
	font-weight: 700;
}

.side-about p:last-child { margin: 0; }

.side-feature {
	display: block;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	min-height: 180px;
	color: #fff;
	text-decoration: none;
}

.side-feature img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.side-feature span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.2rem 0.9rem 0.85rem;
	background: linear-gradient(180deg, transparent, rgba(8, 22, 48, 0.88));
	font-weight: 700;
	line-height: 1.3;
}

.side-feature + .feed-by { margin-top: 0.55rem; }

.side-links { list-style: none; margin: 0; padding: 0; }

.side-links a {
	color: #122033;
	border-bottom: 1px solid #eef2f7;
}

.side-links a:hover { color: #1863d8; }

.side-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }

.side-mini a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	min-height: 64px;
	color: inherit;
	text-decoration: none;
}

.side-mini img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 12px;
}

.side-mini strong {
	display: block;
	color: #122033;
	font-size: 0.98rem;
	line-height: 1.3;
}

.side-mini a:hover strong { color: #1863d8; }

.side-mini em {
	display: block;
	margin-top: 0.2rem;
	color: #5d6b80;
	font-style: normal;
	font-size: 0.85rem;
}

.tag-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.tag-pills a {
	padding: 0 0.85rem;
	border-radius: 999px;
	border: 1px solid #e4ebf5;
	background: #f7f9fc;
	color: #122033;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tag-pills a:hover { background: #e7f0ff; color: #013580; }

.tag-pills a[aria-current="page"] {
	background: #013580;
	border-color: #013580;
	color: #fff;
}

.feed-home > .tag-pills { justify-content: center; margin: -0.8rem 0 1.5rem; }

.story-head {
	width: min(1270px, calc(100% - 2rem));
	margin: 2rem auto 0;
	text-align: left;
}

.story-head h1 {
	max-width: 18em;
	margin: 0 0 0.85rem;
	color: #122033;
	font-size: clamp(2.1rem, 4.4vw, 3.3rem);
}

.story-head .breadcrumbs { font-size: 0.92rem; margin-bottom: 0.85rem; }

.story-head .breadcrumbs ol { justify-content: flex-start; flex-wrap: wrap; }

.story-banner {
	width: min(1270px, calc(100% - 2rem));
	height: 420px;
	margin: 1.6rem auto 0;
	overflow: hidden;
	border-radius: 28px;
	background: #071433;
}

.story-banner .sa-hero {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}

.story-meta { margin: 0 0 0.9rem; color: #5d6d82; }

.story-badge {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 0.85rem;
	border-radius: 999px;
	background: #013580;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.story-badge:hover { color: #fff; background: #1863d8; }

.story-layout {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 300px;
	gap: 1.75rem 2rem;
	width: min(1270px, calc(100% - 2rem));
	margin: 2rem auto 0;
	align-items: start;
}

.story-tools { position: sticky; top: 6.5rem; display: grid; justify-items: center; gap: 0.8rem; }

.read-time {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0;
	border: 1px solid #e4ebf5;
	border-radius: 50%;
	background: #fff;
	text-align: center;
	line-height: 1.1;
}

.read-time span:first-child { font-weight: 800; color: #122033; }

.read-time span:last-child { color: #7b8798; font-size: 0.75rem; }

.share-links { display: grid; gap: 0.35rem; }

.share-links a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #122033;
}

.share-links a:hover { background: #e7f0ff; color: #013580; }

.share-links svg { width: 18px; height: 18px; fill: currentColor; }

.story-body { min-width: 0; }

.story-side { display: grid; gap: 1rem; }

.story-side .side-links a {
	display: flex;
	width: 100%;
	border-bottom: 1px solid #eef2f7;
}

.story-side .author-box {
	margin: 0;
	box-shadow: none;
}

.story-side .author-box h2 {
	margin: 0 0 0.7rem;
	color: #7b8798;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.story-side .author-fallback {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	flex: 0 0 56px;
}

.story-body img,
.story-body figure {
	border-radius: 18px;
}

.story-body > p:first-of-type::first-letter { font-size: inherit; float: none; }

.story-side .toc {
	background: #fff;
	border: 1px solid #e4ebf5;
	border-radius: 18px;
	padding: 1rem 1rem 1.1rem;
}

@media (max-width: 960px) {
	.story-layout { grid-template-columns: 1fr; }
	.story-tools { position: static; grid-auto-flow: column; justify-content: start; }
	.share-links { grid-auto-flow: column; }
}

@media (max-width: 900px) {
	.feed-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.feed-grid { grid-template-columns: 1fr; }
	.story-banner { height: 240px; border-radius: 18px; }
}


/* v1.0.1 design pass */
.breadcrumbs ol { gap: 0.3rem 0.45rem; }
.breadcrumbs li:not(:last-child)::after { margin-left: 0.45rem; }

.primary-nav .head-link-text { font-weight: 600; }

.story-banner {
	height: auto;
	aspect-ratio: 21 / 9;
	max-height: 460px;
}

.story-side { align-self: stretch; align-content: start; }

.story-side .toc {
	position: sticky;
	top: 6.5rem;
	max-height: calc(100vh - 8rem);
	overflow-y: auto;
	padding: 0.9rem 1rem 1rem;
}

.story-side .toc ol { padding-left: 0; list-style: none; counter-reset: toc; }

.story-side .toc li { counter-increment: toc; display: flex; gap: 0.55rem; padding: 0.3rem 0; font-size: 0.92rem; line-height: 1.35; }

.story-side .toc li::before { content: counter(toc); color: #7b8798; font-weight: 700; min-width: 1.2rem; }

.sa-table-scroll { border-radius: 14px; }

.sa-table-scroll th, .sa-table-scroll td { padding: 0.55rem 0.8rem; line-height: 1.4; }

.sa-table-scroll td:first-child { font-weight: 600; color: #122033; white-space: nowrap; }

.faq { margin: 2.5rem 0; }

.faq-item {
	background: #fff;
	border: 1px solid #e4ebf5;
	border-radius: 14px;
	padding: 1rem 1.15rem;
	margin: 0 0 0.7rem;
}

.faq-item h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: #013580; }

.faq-item .faq-answer p:last-child { margin-bottom: 0; }

.story-body .find-apartments {
	margin: 2.5rem 0 1rem;
	padding: 1.4rem 1.5rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #013580, #1863d8);
	justify-content: space-between;
}

.story-body .find-apartments .sa-btn { background: #fff; color: #013580; border-color: #fff; }

.story-body .find-apartments .sa-btn:hover { background: #e7f0ff; }

@media (max-width: 960px) {
	.story-side .toc { position: static; max-height: none; }
}

@media (max-width: 640px) {
	.story-banner { aspect-ratio: 16 / 9; max-height: none; }
	.sa-table-scroll td:first-child { white-space: normal; }
}

/* v1.0.2 image ratios: feature images are 16:9 (1600x900). Cards show them uncropped. */
.feed-media { aspect-ratio: 16 / 9; }
.story-banner { aspect-ratio: 16 / 9; max-height: 560px; }
.story-banner .sa-hero { object-position: center; }
.side-feature img { height: auto; aspect-ratio: 16 / 9; }
