/* YYC Today City Desk homepage — scoped to the root posts index only. */
:root {
	--yyc-blue: #0025ff;
	--yyc-blue-deep: #061633;
	--yyc-ink: #141b2a;
	--yyc-muted: #5f6d82;
	--yyc-paper: #ffffff;
	--yyc-wash: #f3f6fb;
	--yyc-gold: #f1b42a;
	--yyc-rule: #dbe2ec;
	--yyc-shadow: 0 1.15rem 3rem rgba( 12, 30, 70, 0.12 );
}

body.yyc-city-desk {
	margin: 0;
	background: var( --yyc-paper );
	color: var( --yyc-ink );
	font-family: var( --bodyFont, "Rubik", Arial, sans-serif );
	line-height: 1.55;
}

body.yyc-city-desk *,
body.yyc-city-desk *::before,
body.yyc-city-desk *::after {
	box-sizing: border-box;
}

body.yyc-city-desk a {
	color: inherit;
	text-decoration: none;
}

body.yyc-city-desk a:focus-visible,
body.yyc-city-desk button:focus-visible,
body.yyc-city-desk input:focus-visible {
	outline: 0.2rem solid var( --yyc-gold );
	outline-offset: 0.22rem;
}

.screen-reader-text,
.yyc-skip-link:not( :focus ) {
	clip: rect( 1px, 1px, 1px, 1px );
	clip-path: inset( 50% );
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.yyc-skip-link:focus {
	background: var( --yyc-gold );
	clip: auto;
	clip-path: none;
	color: var( --yyc-ink );
	height: auto;
	left: 1rem;
	margin: 0;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 1rem;
	width: auto;
	z-index: 100;
}

.yyc-home-shell {
	overflow: hidden;
}

.yyc-home-header {
	background: var( --yyc-paper );
	border-bottom: 1px solid var( --yyc-rule );
	position: relative;
	z-index: 20;
}

.yyc-home-header__inner,
.yyc-home-nav__inner,
.yyc-home-main,
.yyc-home-footer__inner {
	margin: 0 auto;
	max-width: 76rem;
	padding-left: 1.1rem;
	padding-right: 1.1rem;
}

.yyc-home-header__inner {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	min-height: 4.9rem;
}

.yyc-home-brand {
	align-items: center;
	display: inline-flex;
	flex: 0 1 auto;
	gap: 0.65rem;
	min-width: 0;
}

.yyc-home-brand__logo {
	display: block;
	height: 3.15rem;
	object-fit: contain;
	width: 3.15rem;
}

.yyc-home-brand__name,
.yyc-home-brand__wordmark {
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
}

.yyc-home-search {
	align-items: center;
	border-bottom: 1px solid var( --yyc-ink );
	display: none;
	min-height: 2.75rem;
	width: min( 17rem, 32vw );
}

.yyc-home-search input {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var( --yyc-ink );
	font: inherit;
	min-width: 0;
	padding: 0.4rem 0.25rem;
	width: 100%;
}

.yyc-home-search input::placeholder {
	color: var( --yyc-muted );
	opacity: 1;
}

.yyc-home-search button,
.yyc-home-menu-button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var( --yyc-ink );
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0.35rem;
}

.yyc-home-search svg,
.yyc-home-menu-button svg {
	fill: none;
	height: 1.25rem;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
	width: 1.25rem;
}

.yyc-home-menu-button {
	border-left: 1px solid var( --yyc-rule );
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.35rem;
	letter-spacing: 0.05em;
	padding-left: 0.7rem;
}

.yyc-home-nav {
	background: var( --yyc-blue );
	display: none;
}

.yyc-home-nav.is-open {
	display: block;
}

.yyc-home-nav__inner {
	display: grid;
	padding-bottom: 0.5rem;
	padding-top: 0.5rem;
}

.yyc-home-nav a {
	align-items: center;
	color: var( --yyc-paper );
	display: inline-flex;
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	min-height: 2.75rem;
	padding: 0.4rem 0.25rem;
}

.yyc-home-nav a[aria-current="page"] {
	color: var( --yyc-gold );
}

.yyc-home-main {
	padding-bottom: 4rem;
}

.yyc-home-intro {
	background-color: var( --yyc-blue-deep );
	color: var( --yyc-paper );
	isolation: isolate;
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
	min-height: 17.25rem;
	overflow: hidden;
	padding: 3rem max( 1.1rem, calc( ( 100vw - 76rem ) / 2 + 1.1rem ) );
	position: relative;
}

.yyc-home-intro::before {
	background: var( --yyc-blue );
	bottom: 0;
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: min( 23vw, 17rem );
	z-index: 0;
}

.yyc-home-intro::after {
	background: var( --yyc-gold );
	bottom: 1.45rem;
	content: "";
	height: 0.2rem;
	position: absolute;
	right: max( 1.1rem, calc( ( 100vw - 76rem ) / 2 + 1.1rem ) );
	width: 3.75rem;
	z-index: 1;
}

.yyc-home-intro__inner {
	max-width: 41rem;
	position: relative;
	z-index: 2;
}

.yyc-home-intro h1,
.yyc-section-heading h2,
.yyc-topic-rail h2,
.yyc-lead-story h3,
.yyc-side-story h3,
.yyc-stream-story h3,
.yyc-more-story h3,
.yyc-home-footer__brand {
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
}

.yyc-home-intro h1 {
	color: var( --yyc-paper );
	font-size: clamp( 2.25rem, 8vw, 4.75rem );
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.94;
	margin: 0;
	max-width: 37rem;
}

.yyc-home-intro p {
	font-size: 1rem;
	margin: 1.15rem 0 0;
	max-width: 33rem;
}

.yyc-section {
	margin-top: 3rem;
}

.yyc-section-heading {
	align-items: baseline;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.yyc-section-heading h2,
.yyc-topic-rail h2 {
	font-size: clamp( 1.85rem, 5vw, 2.75rem );
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0;
}

.yyc-section-heading > a,
.yyc-story-link {
	align-items: center;
	color: var( --yyc-blue );
	display: inline-flex;
	flex: 0 0 auto;
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
	font-size: 0.93rem;
	font-weight: 700;
	gap: 0.45rem;
	letter-spacing: 0.035em;
	min-height: 2.75rem;
}

.yyc-section-heading > a span,
.yyc-story-link span {
	font-size: 1.2em;
	line-height: 1;
}

.yyc-featured-grid {
	display: grid;
	gap: 1.25rem;
}

.yyc-lead-story,
.yyc-side-story,
.yyc-more-story {
	background: var( --yyc-paper );
	box-shadow: var( --yyc-shadow );
}

.yyc-lead-story {
	overflow: hidden;
}

.yyc-lead-story__media-link,
.yyc-side-story__media-link,
.yyc-stream-story__media-link,
.yyc-more-story__media-link {
	display: block;
	overflow: hidden;
}

.yyc-lead-story__media-link {
	aspect-ratio: 1.38;
}

.yyc-lead-story__media,
.yyc-side-story__media,
.yyc-stream-story__media,
.yyc-more-story__media,
.yyc-story-media--fallback {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 280ms ease;
	width: 100%;
}

.yyc-story-media--fallback {
	background-color: var( --yyc-blue-deep );
	background-image: url( "city-desk-backdrop.webp" );
	background-position: center;
	background-size: cover;
}

.yyc-lead-story__media-link:hover img,
.yyc-side-story__media-link:hover img,
.yyc-stream-story__media-link:hover img,
.yyc-more-story__media-link:hover img {
	transform: scale( 1.035 );
}

.yyc-lead-story__body {
	padding: 1.35rem 1.25rem 1.5rem;
}

.yyc-story-meta {
	align-items: center;
	color: var( --yyc-muted );
	display: flex;
	flex-wrap: wrap;
	font-size: 0.76rem;
	font-weight: 600;
	gap: 0.35rem;
	letter-spacing: 0.02em;
	line-height: 1.35;
	margin-bottom: 0.7rem;
}

.yyc-story-meta a {
	color: var( --yyc-blue );
}

.yyc-lead-story h3,
.yyc-side-story h3,
.yyc-stream-story h3,
.yyc-more-story h3 {
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin: 0;
}

.yyc-lead-story h3 {
	font-size: clamp( 1.7rem, 5.5vw, 2.65rem );
}

.yyc-lead-story p,
.yyc-stream-story p {
	color: var( --yyc-muted );
	font-size: 0.96rem;
	margin: 0.85rem 0 1rem;
}

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

.yyc-side-story {
	display: grid;
	grid-template-columns: 7.25rem minmax( 0, 1fr );
	min-height: 8.1rem;
}

.yyc-side-story__media-link {
	min-height: 100%;
}

.yyc-side-story__body {
	align-self: center;
	padding: 1rem;
}

.yyc-side-story h3 {
	display: -webkit-box;
	font-size: 1.16rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.yyc-home-lower {
	display: grid;
	gap: 2.25rem;
}

.yyc-stream-list {
	border-top: 0.22rem solid var( --yyc-ink );
}

.yyc-stream-story {
	border-bottom: 1px solid var( --yyc-rule );
	display: grid;
	gap: 1rem;
	grid-template-columns: 6.75rem minmax( 0, 1fr );
	padding: 1.15rem 0;
}

.yyc-stream-story__media-link {
	aspect-ratio: 1;
}

.yyc-stream-story__body {
	align-self: center;
}

.yyc-stream-story h3 {
	font-size: 1.34rem;
}

.yyc-stream-story p {
	display: none;
}

.yyc-topic-rail {
	background: var( --yyc-wash );
	box-shadow: inset 0 0.25rem 0 var( --yyc-gold );
	padding: 1.5rem 1.25rem;
}

.yyc-topic-rail p {
	color: var( --yyc-muted );
	margin: 0.7rem 0 1.15rem;
}

.yyc-topic-rail nav {
	display: grid;
	gap: 0.25rem;
}

.yyc-topic-rail nav a {
	align-items: center;
	border-bottom: 1px solid rgba( 20, 27, 42, 0.17 );
	display: flex;
	font-family: var( --headFont, "Josefin Sans", Arial, sans-serif );
	font-size: 1rem;
	font-weight: 700;
	gap: 0.75rem;
	justify-content: space-between;
	min-height: 2.9rem;
	padding: 0.35rem 0;
}

.yyc-topic-rail nav a:last-child {
	border-bottom: 0;
}

.yyc-topic-rail small {
	color: var( --yyc-muted );
	font-family: var( --bodyFont, "Rubik", Arial, sans-serif );
	font-size: 0.72rem;
	font-weight: 500;
}

.yyc-more-stories__grid {
	display: grid;
	gap: 1.25rem;
}

.yyc-more-story__media-link {
	aspect-ratio: 1.35;
}

.yyc-more-story__body {
	padding: 1.05rem 1rem 1.2rem;
}

.yyc-more-story--text-only {
	background: var( --yyc-wash );
	box-shadow: inset 0 0.24rem 0 var( --yyc-blue );
}

.yyc-more-story--text-only .yyc-more-story__body {
	padding: 1.35rem 1rem 1.5rem;
}

.yyc-more-story h3 {
	font-size: 1.3rem;
}

.yyc-home-footer {
	background: var( --yyc-blue-deep );
	border-top: 0.25rem solid var( --yyc-gold );
	color: var( --yyc-paper );
}

.yyc-home-footer__inner {
	padding-bottom: 2rem;
	padding-top: 2.2rem;
}

.yyc-home-footer__brand {
	display: inline-block;
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.yyc-home-footer p {
	color: rgba( 255, 255, 255, 0.78 );
	margin: 0.55rem 0 1.25rem;
}

.yyc-home-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.15rem;
}

.yyc-home-footer nav a {
	font-size: 0.93rem;
	font-weight: 600;
	min-height: 2.75rem;
	padding: 0.55rem 0;
}

.yyc-home-footer__copyright {
	font-size: 0.8rem;
	margin-top: 1.5rem !important;
}

@media ( min-width: 40rem ) {
	.yyc-home-header__inner,
	.yyc-home-nav__inner,
	.yyc-home-main,
	.yyc-home-footer__inner {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.yyc-home-brand__logo {
		height: 3.6rem;
		width: 3.6rem;
	}

	.yyc-side-story {
		grid-template-columns: 9.25rem minmax( 0, 1fr );
	}

	.yyc-stream-story {
		grid-template-columns: 10.5rem minmax( 0, 1fr );
	}

	.yyc-stream-story__media-link {
		aspect-ratio: 1.35;
	}

	.yyc-more-stories__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( min-width: 48rem ) {
	.yyc-home-header__inner {
		min-height: 5.7rem;
	}

	.yyc-home-search {
		display: flex;
	}

	.yyc-home-menu-button {
		display: none;
	}

	.yyc-home-nav {
		display: block;
	}

	.yyc-home-nav__inner {
		display: flex;
		gap: 1.2rem;
		overflow-x: auto;
		padding-bottom: 0;
		padding-top: 0;
	}

	.yyc-home-nav a {
		font-size: 0.94rem;
		min-height: 3.15rem;
		white-space: nowrap;
	}

	.yyc-home-intro {
		min-height: 21rem;
		padding-bottom: 4.25rem;
		padding-top: 4.25rem;
	}

	.yyc-section {
		margin-top: 4.25rem;
	}

	.yyc-home-lower {
		gap: 3.25rem;
	}

	.yyc-stream-story {
		gap: 1.3rem;
		grid-template-columns: 12rem minmax( 0, 1fr );
		padding: 1.4rem 0;
	}

	.yyc-stream-story h3 {
		font-size: 1.55rem;
	}

	.yyc-stream-story p {
		display: block;
	}
}

@media ( min-width: 64rem ) {
	.yyc-home-header__inner,
	.yyc-home-nav__inner,
	.yyc-home-main,
	.yyc-home-footer__inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.yyc-home-brand__logo {
		height: 4rem;
		width: 4rem;
	}

	.yyc-home-brand__name,
	.yyc-home-brand__wordmark {
		font-size: 1.3rem;
	}

	.yyc-home-nav__inner {
		gap: 1.65rem;
	}

	.yyc-featured-grid {
		align-items: stretch;
		grid-template-columns: minmax( 0, 1.32fr ) minmax( 20rem, 0.9fr );
	}

	.yyc-lead-story {
		display: grid;
		grid-template-columns: minmax( 0, 1.1fr ) minmax( 17rem, 0.9fr );
	}

	.yyc-lead-story__media-link {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.yyc-lead-story__body {
		align-self: center;
		padding: 2rem;
	}

	.yyc-side-story {
		grid-template-columns: 9.75rem minmax( 0, 1fr );
	}

	.yyc-home-lower {
		align-items: start;
		grid-template-columns: minmax( 0, 1.55fr ) minmax( 18rem, 0.72fr );
	}

	.yyc-topic-rail {
		position: sticky;
		top: 1.5rem;
	}

	.yyc-more-stories__grid {
		grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	}
}

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