/* Hero stats: trend indicators are directional, not good-vs-bad.
   Rising DOM, falling list-to-sale, and rising inventory all read
   "easing toward buyers" — keep both arrows the same neutral color. */
.stats-item_caption,
.stats-item_caption._decline {
	color: var(--color-grey);
	text-wrap: balance;
	/* inline-flex floats the arrow to the left edge when the text wraps;
	   block flow keeps it attached to the first word */
	display: block;
}

.stats-item_caption:before {
	margin-right: 0.3em;
}

.stats-item_label {
	text-wrap: balance;
}

.stats-source_note {
	font-size: 1.1rem;
	line-height: 1.5;
	color: var(--color-grey);
	margin: 1.5rem 0 0;
	text-wrap: balance;
}

/* Card grid, 3 across and wrapping (step_row_content_with_cards with 6+ cards,
   e.g. Move to Cville "Plan an Exploratory Visit"). Mirrors ._cols-desktop-2. */
.cols._cols-desktop-3 {
	flex-wrap: wrap;
}

.cols._cols-desktop-3 .col {
	width: calc((100% - 4rem) / 3);
	flex: initial;
}

@media (max-width: 1023px) {
	.cols._cols-desktop-3 .col {
		width: calc(50% - 1rem);
	}
}

@media (max-width: 767px) {
	.cols._cols-desktop-3 .col {
		width: 100%;
	}
}

/* Link in Bio page (page-templates/link-in-bio.php): one narrow centered column */
.linkbio {
	padding-block: clamp(40px, calc(40px + 2.5vw), 80px);
	background-color: var(--color-light);
}

.linkbio .container {
	max-width: 64rem;
}

.linkbio_card {
	text-align: center;
	margin-bottom: clamp(24px, calc(24px + 1vw), 36px);
}

.linkbio_img {
	margin: 0 auto clamp(18px, calc(18px + 0.6vw), 26px);
	width: 16rem;
	height: 16rem;
}

.linkbio_handle {
	margin-bottom: 0.6rem;
}

.linkbio_title {
	margin-bottom: 0.6rem;
}

.linkbio_tagline {
	color: var(--color-grey);
	font-size: 1.6rem;
	margin-bottom: 1.2rem;
}

.linkbio_intro {
	font-size: 1.7rem;
	text-wrap: balance;
	margin-bottom: clamp(18px, calc(18px + 0.6vw), 26px);
}

.linkbio_buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.2rem;
}

.linkbio_links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.linkbio_link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	padding: 1.8rem 2.2rem;
	color: var(--base-text-color);
	text-decoration: none;
	transition: transform var(--animation-duration) var(--animation-timing-function),
	            box-shadow var(--animation-duration) var(--animation-timing-function);
}

.linkbio_link:hover,
.linkbio_link:focus-visible {
	transform: translateY(-2px);
	color: var(--base-text-color);
}

.linkbio_link:hover .linkbio_link-title,
.linkbio_link:focus-visible .linkbio_link-title {
	color: var(--color-green);
}

.linkbio_link-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.linkbio_link-title {
	font-weight: 700;
	color: var(--accent-color);
	transition: color var(--animation-duration) var(--animation-timing-function);
}

.linkbio_link-desc {
	color: var(--color-grey);
	font-size: 1.5rem;
}

.linkbio_link-chevron {
	color: var(--accent-color);
	font-weight: 700;
	font-size: 2rem;
	flex-shrink: 0;
}

.linkbio_content {
	margin-top: clamp(24px, calc(24px + 1vw), 36px);
}

/* Footer social icons (template-parts/footer-socials.php, URLs from Theme Settings > Socials) */
.footer_socials {
	list-style: none;
	margin: 1.8rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.footer_socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.6rem;
	height: 3.6rem;
	border-radius: 100%;
	color: var(--color-grey-2);
	background-color: rgba(255, 255, 255, 0.06);
	transition: color var(--animation-duration) var(--animation-timing-function),
	            background-color var(--animation-duration) var(--animation-timing-function);
}

.footer_socials a:hover,
.footer_socials a:focus-visible {
	color: #fff;
	background-color: var(--accent-color);
}

.footer_socials svg {
	width: 2rem;
	height: 2rem;
}

/* Archives page (page-templates/archives.php): month chips grouped by year */
.archives_summary {
	color: var(--color-grey);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
	align-items: baseline;
}

.archives_year {
	margin-top: clamp(28px, calc(28px + 1vw), 40px);
}

.archives_year-title {
	display: flex;
	align-items: baseline;
	gap: 1.2rem;
	margin-bottom: 1.2rem;
}

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

.archives_year-title a:hover {
	color: var(--accent-color);
}

.archives_year-count {
	font-family: var(--base-font);
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--color-grey);
	letter-spacing: 0.02em;
}

.archives_months {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 1rem;
}

.archives_month {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.8rem;
	padding: 1rem 1.2rem;
	background-color: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--base-text-color);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.5rem;
	transition: transform var(--animation-duration) var(--animation-timing-function),
	            color var(--animation-duration) var(--animation-timing-function);
}

.archives_month:hover,
.archives_month:focus-visible {
	transform: translateY(-2px);
	color: var(--accent-color);
}

.archives_month-count {
	font-weight: 500;
	color: var(--color-grey);
	font-size: 1.3rem;
}

/* Neighborhood stats bar (dark .stats, single-neighborhood.php): median price
   caption, adjacent footnote, and full-width source/methodology note. The
   caption carries sample size + window, which must stay visible in the layout
   (site policy: never tooltip/hover). Distinct from .stats-item (hyphen), the
   white flexible-sections hero cards. */
.stats_item-caption {
    font-size: 1.3rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.8rem;
}
.stats_item-footnote {
    font-size: 1.2rem;
    line-height: 1.45;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.6rem;
    max-width: 32em;
    margin-left: auto;
    margin-right: auto;
}
.stats_note {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.4rem 1rem 1.8rem;
    margin: 0;
}
.stats_note a {
    color: #fff;
    text-decoration: underline;
}
