/*
 * KOT845 Newsroom Discovery
 * Shared editorial polish for homepage headlines, archives and story navigation.
 * Image-free stories are intentionally text-first; no simulated cover art.
 */

.kot845-editorial-archive.is-section-archive .knr-hero-inner {
	padding-top: clamp(34px, 5vw, 54px);
	padding-bottom: clamp(32px, 4.5vw, 50px);
}

.kot845-editorial-archive.is-section-archive .knr-hero-copy h1 {
	max-width: 980px;
	font-size: clamp(2.55rem, 6vw, 5.25rem);
	line-height: .9;
}

.kot845-editorial-archive.is-section-archive .knr-hero-copy > p {
	display: none;
}

.kot845-editorial-archive.is-section-archive .knr-search {
	align-self: end;
}

.knr-archive-context {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px 18px;
	margin-top: 22px;
	color: #aeb4bd;
	font-size: .66rem;
	font-weight: 950;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.knr-archive-context > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.knr-archive-context > span::before {
	width: 7px;
	height: 7px;
	background: var(--kot-gold);
	border-radius: 50%;
	content: "";
}

.knr-archive-context a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--kot-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.knr-archive-context a:hover,
.knr-archive-context a:focus-visible {
	color: var(--kot-gold);
}

.knr-section-context {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 28px;
	padding: 18px 20px;
	background: #fff;
	border-left: 5px solid var(--kot-gold);
	box-shadow: 0 6px 20px rgba(10, 12, 15, .06);
}

.knr-section-context > p {
	max-width: 760px;
	margin: 0;
	color: #3f454d;
	font-size: .91rem;
	line-height: 1.55;
}

.knr-section-context > div {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 14px;
	color: #5f656e;
	font-size: .63rem;
	font-weight: 950;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.knr-section-context a {
	color: #111318;
	text-decoration: underline;
	text-decoration-color: var(--kot-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.knr-section-context a:hover,
.knr-section-context a:focus-visible {
	color: #755600;
}

.knr-archive-grid .story-card.no-image {
	min-height: 300px;
}

.knr-archive-grid .story-card:first-child.no-image {
	grid-column: auto;
	min-height: 300px;
}

.knr-archive-grid .story-card.no-image .story-content h2 {
	max-width: 24ch;
	font-size: clamp(1.35rem, 2.15vw, 1.85rem);
	line-height: 1.03;
}

.knr-archive-grid .story-card.no-image .story-content p {
	max-width: 52ch;
}

.knr-archive-grid .story-card.no-image .story-link {
	padding: 23px;
}

.knr-archive-grid .story-card.has-image .story-content h2 {
	text-wrap: balance;
}

.knr-archive-grid .story-card.has-image:focus-within,
.knr-archive-grid .story-card.no-image:focus-within {
	outline: 4px solid var(--kot-gold);
	outline-offset: 3px;
}

.kot-headline-rail-card {
	position: relative;
}

.kot-headline-rail-number {
	display: inline-flex;
	width: 29px;
	height: 29px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	background: var(--kot-gold);
	color: #0c0d0f;
	font-size: .62rem;
	font-weight: 1000;
	letter-spacing: .04em;
}

.kot-headline-rail-card p {
	display: -webkit-box;
	margin: 10px 0 17px;
	overflow: hidden;
	color: #bfc4cc;
	font-size: .78rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.kot-headline-rail-card .kot-headline-rail-read {
	margin-top: auto;
}

.kot845-story-nav {
	padding: 0 0 clamp(44px, 7vw, 74px);
	background: #f2f3f5;
}

.kot845-story-nav .kot845-article-shell {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.kot845-story-nav-link {
	position: relative;
	display: flex;
	min-height: 150px;
	flex-direction: column;
	justify-content: space-between;
	padding: 21px;
	background: #fff;
	border-top: 4px solid #111318;
	box-shadow: 0 8px 20px rgba(10, 12, 15, .07);
	color: #111318;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.kot845-story-nav-link:hover,
.kot845-story-nav-link:focus-visible {
	border-top-color: var(--kot-gold);
	box-shadow: 0 12px 26px rgba(10, 12, 15, .12);
	color: #111318;
	transform: translateY(-2px);
}

.kot845-story-nav-link:focus-visible {
	outline: 3px solid var(--kot-gold);
	outline-offset: 3px;
}

.kot845-story-nav-link span {
	color: #755600;
	font-size: .61rem;
	font-weight: 1000;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.kot845-story-nav-link strong {
	display: block;
	margin-top: 16px;
	font-size: clamp(1rem, 1.65vw, 1.3rem);
	line-height: 1.1;
	text-wrap: balance;
}

.kot845-story-nav-link.kot845-story-nav-index {
	background: #111318;
	border-top-color: var(--kot-gold);
	color: #fff;
}

.kot845-story-nav-link.kot845-story-nav-index span {
	color: var(--kot-gold);
}

.kot845-story-nav-link.kot845-story-nav-index:hover,
.kot845-story-nav-link.kot845-story-nav-index:focus-visible {
	background: #1b1e23;
	color: #fff;
}

@media (max-width: 960px) {
	.kot845-story-nav .kot845-article-shell {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kot845-story-nav-index {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.knr-section-context {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-top: 20px;
		padding: 16px;
	}

	.knr-section-context > div {
		justify-content: flex-start;
	}

	.kot845-editorial-archive.is-section-archive .knr-hero-inner {
		padding-top: 33px;
		padding-bottom: 36px;
	}

	.kot845-editorial-archive.is-section-archive .knr-hero-copy h1 {
		font-size: clamp(2.45rem, 13vw, 3.8rem);
	}

	.knr-archive-context {
		margin-top: 18px;
	}

	.knr-archive-grid .story-card,
	.knr-archive-grid .story-card:first-child,
	.knr-archive-grid .story-card.no-image,
	.knr-archive-grid .story-card:first-child.no-image {
		min-height: 270px;
	}

	.kot-headline-rail-card p {
		-webkit-line-clamp: 2;
	}

	.kot845-story-nav .kot845-article-shell {
		grid-template-columns: 1fr;
	}

	.kot845-story-nav-index {
		grid-column: auto;
	}

	.kot845-story-nav-link {
		min-height: 128px;
	}
}

@media (max-width: 440px) {
	.knr-archive-grid .story-card.no-image .story-link {
		padding: 21px;
	}

	.kot845-story-nav {
		padding-bottom: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kot845-story-nav-link {
		transition: none;
	}
}
