/*
 * The Strategic Current — publishing theme
 * v0.2.6.3 development acceptance candidate
 * Visual migration baseline: preserves the established white/red/dark editorial identity.
 */

:root {
	--tsc-ink: #0B0F14;
	--tsc-navy: #0C1622;
	--tsc-paper: #F5F5F4;
	--tsc-white: #FFFFFF;
	--tsc-line: #D6D6D3;
	--tsc-muted: #666D76;
	--tsc-red: #C51E25;
	--tsc-red-dark: #A8171D;
	--tsc-footer: #181818;
}

body {
	margin: 0;
	background: var(--tsc-paper);
	color: var(--tsc-ink);
	font-family: Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-underline-offset: 0.15em;
}

.tsc-site-header {
	background: rgba(255, 255, 255, 0.98);
	border-top: 3px solid #2F2F2F;
	border-bottom: 1px solid #E7E7E7;
	position: sticky;
	top: 0;
	z-index: 60;
}

.tsc-header-inner {
	min-height: 78px;
	gap: 1.5rem;
}

.tsc-brand-wrap {
	min-width: 150px;
	gap: 0.65rem;
}

.tsc-brand-title {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.05;
}

.tsc-brand-title a {
	text-decoration: none;
}

.tsc-navigation {
	font-size: 0.98rem;
	font-weight: 500;
}

.tsc-navigation .wp-block-navigation-item {
	padding: 0 0.75rem;
	border-right: 1px solid #1E1E1E;
}

.tsc-navigation .wp-block-navigation-item:last-child {
	border-right: 0;
}

.tsc-navigation a {
	text-decoration: none;
}

.tsc-navigation a:hover,
.tsc-navigation a:focus {
	color: var(--tsc-red);
}

.tsc-header-actions {
	min-width: 155px;
	justify-content: flex-end;
	gap: 0.7rem;
}

.tsc-header-actions .wp-block-search {
	margin: 0;
}

.tsc-header-actions .wp-block-search__button {
	background: transparent;
	color: var(--tsc-ink);
	border: 0;
	padding: 0.45rem;
}

.tsc-subscribe-button .wp-block-button__link {
	background: var(--tsc-red);
	border-radius: 8px;
	color: #FFF;
	font-weight: 700;
	padding: 0.7rem 1rem;
	text-decoration: none;
}

.tsc-subscribe-button .wp-block-button__link:hover,
.tsc-subscribe-button .wp-block-button__link:focus {
	background: var(--tsc-red-dark);
}

.tsc-home {
	background: var(--tsc-paper);
}

.tsc-hero {
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		linear-gradient(rgba(3, 9, 15, 0.82), rgba(3, 9, 15, 0.86)),
		radial-gradient(circle at 50% 20%, #173049 0, #08121D 48%, #03070B 100%);
	color: #FFF;
	text-align: center;
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

.tsc-hero-title {
	margin: 0 auto 1.3rem;
	max-width: 900px;
	font-size: clamp(4rem, 8vw, 7.25rem);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.055em;
}

.tsc-hero-copy {
	max-width: 760px;
	margin: 0 auto 2.5rem;
	font-size: clamp(1.15rem, 2.2vw, 1.65rem);
	line-height: 1.35;
}

.tsc-subscribe-shell {
	width: min(100%, 600px);
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0.35rem;
	background: #FFF;
	border: 1px solid #D4D4D4;
	border-radius: 10px;
	color: #374151;
	box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.tsc-email-placeholder {
	margin: 0;
	padding-left: 0.75rem;
	color: #4B5563;
	font-size: 1rem;
}

.tsc-newsletter-form {
	width: min(100%, 620px);
	margin: 0 auto;
}

.tsc-newsletter-form form {
	display: flex;
	align-items: stretch;
	gap: 0.55rem;
}

.tsc-newsletter-form input[type="email"] {
	min-width: 0;
	flex: 1 1 auto;
	box-sizing: border-box;
	border: 1px solid #C9CDD2;
	border-radius: 8px;
	background: #FFF;
	color: var(--tsc-ink);
	font: inherit;
	padding: 0.8rem 0.95rem;
}

.tsc-newsletter-form button,
.tsc-newsletter-form input[type="submit"] {
	flex: 0 0 auto;
	border: 0;
	border-radius: 8px;
	background: var(--tsc-red);
	color: #FFF;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.8rem 1.1rem;
}

.tsc-newsletter-form button:hover,
.tsc-newsletter-form button:focus,
.tsc-newsletter-form input[type="submit"]:hover,
.tsc-newsletter-form input[type="submit"]:focus {
	background: var(--tsc-red-dark);
}

.tsc-newsletter-form input:focus-visible,
.tsc-newsletter-form button:focus-visible {
	outline: 3px solid rgba(197, 30, 37, 0.32);
	outline-offset: 2px;
}

.tsc-home-section {
	background: #F7F7F6;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.tsc-section-label {
	margin: 0 0 1.5rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tsc-feature-card {
	background: #FFF;
	border-radius: 7px;
	overflow: hidden;
	padding-bottom: 1.5rem;
}

.tsc-feature-card > *:not(.wp-block-post-featured-image) {
	margin-left: 1.2rem;
	margin-right: 1.2rem;
}

.tsc-feature-card .wp-block-post-featured-image {
	margin: 0 0 1.1rem;
}

.tsc-feature-title {
	margin-top: 0.35rem;
	margin-bottom: 0.5rem;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.1;
}

.tsc-feature-title a,
.tsc-story-title a,
.tsc-archive-story-title a {
	text-decoration: none;
}

.tsc-feature-title a:hover,
.tsc-story-title a:hover,
.tsc-archive-story-title a:hover {
	color: var(--tsc-red);
}

.tsc-story-kicker {
	margin-bottom: 0.35rem;
	color: var(--tsc-red);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tsc-latest-section {
	padding-top: 0;
}

.tsc-section-heading {
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #1A1A1A;
}

.tsc-section-heading h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.tsc-section-heading p {
	margin: 0;
}

.tsc-list-card {
	padding: 1.8rem 0;
	border-bottom: 1px solid var(--tsc-line);
}

.tsc-story-title {
	margin: 0.2rem 0 0.55rem;
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	line-height: 1.1;
}

.tsc-empty-state {
	padding: 2rem 0;
	color: var(--tsc-muted);
}

.tsc-briefing-band {
	background:
		linear-gradient(rgba(4, 8, 11, .90), rgba(4, 8, 11, .92)),
		radial-gradient(circle at 50% 0, #1A2A3A 0, #060A0E 65%);
	color: #FFF;
	padding-top: clamp(4rem, 7vw, 6rem);
	padding-bottom: clamp(4rem, 7vw, 6rem);
	text-align: center;
}

.tsc-briefing-band h2 {
	margin: 0 0 2rem;
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	line-height: 1;
}

.tsc-index-shell,
.tsc-archive-shell,
.tsc-page-shell,
.tsc-article-shell {
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.tsc-archive-title,
.tsc-page-title {
	margin: 0 0 0.7rem;
	text-align: center;
	font-size: clamp(2.25rem, 4vw, 3.4rem);
	line-height: 1.05;
}

.tsc-archive-deck {
	max-width: 820px;
	margin: 0 auto 2.6rem;
	font-size: 1.1rem;
}

.tsc-archive-search {
	margin-bottom: 2.5rem;
}

.tsc-archive-search .wp-block-search__inside-wrapper {
	border: 1px solid #C9C9C9;
	border-radius: 28px;
	background: #FFF;
	padding: 0.3rem 0.6rem;
}

.tsc-archive-search .wp-block-search__input {
	border: 0;
	background: transparent;
}

.tsc-archive-search .wp-block-search__button {
	border: 0;
	background: transparent;
	color: var(--tsc-ink);
}

.tsc-archive-row {
	margin: 0;
	padding: 1.4rem 0 2rem;
	border-bottom: 1px solid var(--tsc-line);
	align-items: center !important;
}

.tsc-archive-story-title {
	margin: 0.35rem 0 0.9rem;
	font-size: clamp(1.7rem, 3.5vw, 2.55rem);
	line-height: 1.1;
}

.tsc-page-title {
	text-align: left;
}

.tsc-page-content {
	font-size: 1.08rem;
	line-height: 1.7;
}

.tsc-page-content h2 {
	margin-top: 2.2rem;
}

.tsc-article-title {
	max-width: 1000px;
	margin-top: 0.4rem;
	margin-bottom: 1rem;
	font-size: clamp(2.6rem, 6vw, 5.3rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.tsc-article-meta {
	color: var(--tsc-muted);
	font-size: 0.9rem;
	margin-bottom: 2rem;
}

.tsc-article-content {
	font-size: 1.12rem;
	line-height: 1.78;
}

.tsc-site-footer {
	background: var(--tsc-footer);
	color: #F0F0F0;
	padding-top: 3.5rem;
	padding-bottom: 1.2rem;
}

.tsc-footer-grid {
	gap: 2rem;
}

.tsc-footer-brand {
	margin-top: 0;
	font-size: 1.5rem;
}

.tsc-footer-brand a {
	color: #FFF;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.tsc-footer-heading {
	margin-top: 0;
	font-size: 1.25rem;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.tsc-footer-copy {
	color: #D1D5DB;
	font-size: 0.95rem;
}

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

.tsc-footer-links li {
	margin: 0 0 0.7rem;
}

.tsc-footer-links a {
	color: #FFF;
	text-decoration: none;
}

.tsc-footer-links a:hover {
	color: #F2A6AA;
}

.tsc-footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid #3A3A3A;
	color: #D1D1D1;
	font-size: 0.76rem;
}

@media (max-width: 960px) {
	.tsc-brand-wrap {
		min-width: auto;
	}

	.tsc-brand-title {
		display: none;
	}

	.tsc-header-actions {
		min-width: auto;
	}

	.tsc-navigation .wp-block-navigation-item {
		border-right: 0;
		padding: 0;
	}
}

@media (max-width: 781px) {
	.tsc-header-inner {
		min-height: 68px;
	}

	.tsc-header-actions .wp-block-search {
		display: none;
	}

	.tsc-hero {
		min-height: 430px;
	}

	.tsc-hero-title {
		font-size: clamp(3.3rem, 15vw, 5rem);
	}

	.tsc-hero-copy {
		font-size: 1.08rem;
	}

	.tsc-feature-card {
		margin-bottom: 1rem;
	}

	.tsc-archive-row {
		gap: 1rem;
	}

	.tsc-newsletter-form form {
		flex-direction: column;
	}

	.tsc-newsletter-form button,
	.tsc-newsletter-form input[type="submit"] {
		width: 100%;
	}

	.tsc-footer-grid {
		gap: 2.5rem;
	}
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--tsc-red);
	outline-offset: 3px;
}
