/*
Theme Name: ThaiPadelNews Editorial
Theme URI: https://thaipadelnews.com/
Author: ThaiPadelNews
Description: Lightweight evidence-led editorial theme for ThaiPadelNews.com.
Version: 0.2.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thaipadelnews
Tags: news, blog, custom-logo, featured-images, translation-ready, wide-blocks
*/

@font-face {
	font-family: "Ahrefs";
	src: url("ahrefs-regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Ahrefs";
	src: url("ahrefs-bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("inter-regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("inter-bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("inter-italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}

:root {
	--tpn-ink: #112447;
	--tpn-paper: #ffffff;
	--tpn-surface: #ffffff;
	--tpn-mist: #f0f6ff;
	--tpn-line: #cbdcf2;
	--tpn-lime: #e21b39;
	--tpn-amber: #e21b39;
	--tpn-blue: #125acb;
	--tpn-muted: #4d6381;
	--tpn-red: #e21b39;
	--tpn-green: #e21b39;
	--tpn-navy: #073484;
	--tpn-max: 78rem;
	--tpn-reading: 48rem;
	--tpn-gap: clamp(1rem, 2.5vw, 2rem);
	--tpn-sans: "Inter", Arial, Helvetica, system-ui, sans-serif;
	--tpn-serif: "Ahrefs", Arial, Helvetica, system-ui, sans-serif;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 112.5%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tpn-paper);
	color: var(--tpn-ink);
	font: 1rem/1.6 var(--tpn-sans);
}

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

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

figure,
blockquote {
	margin: 0;
}

a {
	color: var(--tpn-blue);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 0.2rem solid var(--tpn-amber);
	outline-offset: 0.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-family: var(--tpn-serif);
	line-height: 1.05;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.5rem, 7vw, 5.6rem);
}

h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p,
ul,
ol,
table,
pre {
	margin-top: 0;
	margin-bottom: 1.3em;
}

table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

th,
td {
	padding: 0.7rem;
	border: 1px solid var(--tpn-line);
	text-align: left;
	vertical-align: top;
}

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

.skip-link:focus {
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.7rem 1rem;
	clip: auto;
	background: var(--tpn-lime);
	color: var(--tpn-ink);
	font-weight: 800;
}

.local-preview-banner {
	padding: 0.45rem 1rem;
	background: var(--tpn-lime);
	color: var(--tpn-ink);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	text-align: center;
}

.site-shell {
	width: min(calc(100% - 2rem), var(--tpn-max));
	margin-inline: auto;
}

.site-header {
	position: relative;
	z-index: 20;
	background: var(--tpn-ink);
	color: #fff;
	border-bottom: 0.3rem solid var(--tpn-lime);
}

.masthead {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
	min-height: 5rem;
}

.site-branding {
	display: flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-height: 3.5rem;
}

.site-title {
	margin: 0;
	font-family: var(--tpn-sans);
	font-size: clamp(1rem, 2vw, 1.35rem);
	font-weight: 900;
	letter-spacing: -0.045em;
}

.site-title a {
	color: #fff;
	text-decoration: none;
}

.site-title span {
	color: var(--tpn-lime);
}

.primary-navigation {
	justify-self: end;
}

.site-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu a {
	display: block;
	padding: 1rem 0.52rem;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current-menu-ancestor > a {
	color: var(--tpn-lime);
}

.mobile-navigation {
	display: none;
}

.site-main {
	min-height: 60vh;
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.eyebrow,
.entry-kicker {
	margin: 0 0 0.45rem;
	color: var(--tpn-green);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.55fr);
	gap: var(--tpn-gap);
	align-items: stretch;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	border-bottom: 1px solid var(--tpn-line);
}

.hero h1 {
	max-width: 13ch;
	margin-bottom: 0.25em;
}

.hero-lede,
.entry-lede {
	max-width: 60ch;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-data {
	display: grid;
	align-content: end;
	min-height: 18rem;
	padding: 1.25rem;
	background:
		linear-gradient(135deg, var(--tpn-ink) 0 48%, var(--tpn-lime) 48% 52%, var(--tpn-amber) 52%);
	color: #fff;
}

.hero-data strong {
	font: 800 clamp(4rem, 10vw, 8rem)/0.8 var(--tpn-serif);
}

.hero-data span {
	max-width: 14rem;
	margin-top: 1rem;
	font-weight: 800;
}

.button-link {
	display: inline-block;
	padding: 0.75rem 1rem;
	background: var(--tpn-lime);
	color: var(--tpn-ink);
	font-weight: 850;
	text-decoration: none;
}

.section {
	padding: clamp(2.2rem, 5vw, 4rem) 0;
	border-bottom: 1px solid var(--tpn-line);
}

.section-heading {
	display: flex;
	gap: 1rem;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	border-bottom: 0.2rem solid var(--tpn-ink);
}

.section-heading h2 {
	margin-bottom: 0.35rem;
}

.card-grid,
.archive-grid,
.directory-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--tpn-gap);
}

.story-card,
.profile-card {
	padding-top: 0.9rem;
	border-top: 1px solid var(--tpn-line);
}

.story-card__image,
.profile-card__image {
	margin-bottom: 0.9rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--tpn-mist);
}

.story-card__image img,
.profile-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-card h3,
.profile-card h2 {
	margin-bottom: 0.35rem;
}

.story-card h3 a,
.profile-card h2 a {
	color: var(--tpn-ink);
	text-decoration: none;
}

.story-card h3 a:hover,
.profile-card h2 a:hover {
	color: var(--tpn-blue);
}

.meta-line {
	color: var(--tpn-muted);
	font-size: 0.84rem;
}

.archive-header,
.entry-header {
	max-width: var(--tpn-reading);
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.archive-description,
.entry-summary {
	font-size: 1.12rem;
}

.entry-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--tpn-reading)) minmax(13rem, 18rem);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.entry-content > * {
	max-width: var(--tpn-reading);
}

.entry-content > .alignwide {
	max-width: 62rem;
	margin-left: min(0px, calc((var(--tpn-reading) - 62rem) / 2));
}

.entry-content p,
.entry-content li {
	font-size: 1.06rem;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.2rem;
	border-left: 0.35rem solid var(--tpn-amber);
	background: var(--tpn-surface);
	font-family: var(--tpn-serif);
	font-size: 1.16rem;
}

.entry-sidebar {
	position: sticky;
	top: 1.5rem;
}

.verification-box,
.profile-facts,
.sidebar-card {
	margin-bottom: 1.25rem;
	padding: 1rem;
	background: var(--tpn-surface);
	border-top: 0.28rem solid var(--tpn-lime);
}

.verification-box--hold,
.verification-box--grade-d {
	border-color: var(--tpn-red);
}

.verification-box h2,
.profile-facts h2,
.sidebar-card h2 {
	font-size: 1.25rem;
}

.verification-list,
.source-list,
.correction-list,
.profile-facts dl {
	margin: 0;
	padding: 0;
	list-style: none;
}

.verification-list li,
.source-list li,
.correction-list li {
	margin-bottom: 0.65rem;
	font-size: 0.88rem;
	overflow-wrap: anywhere;
}

.profile-facts dl > div {
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--tpn-line);
}

.profile-facts dt {
	color: var(--tpn-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.profile-facts dd {
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	white-space: pre-line;
}

.pagination {
	margin-top: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.nav-links .page-numbers {
	padding: 0.45rem 0.7rem;
	background: var(--tpn-surface);
	text-decoration: none;
}

.nav-links .current {
	background: var(--tpn-ink);
	color: #fff;
}

.empty-state {
	max-width: 44rem;
	padding: 1.5rem;
	background: var(--tpn-surface);
	border-left: 0.3rem solid var(--tpn-amber);
}

.site-footer {
	padding: 2.5rem 0;
	background: var(--tpn-ink);
	color: #c8d0d3;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(10rem, 1fr));
	gap: var(--tpn-gap);
}

.site-footer a {
	color: #fff;
}

.footer-title {
	color: #fff;
	font-weight: 900;
}

.footer-title span {
	color: var(--tpn-lime);
}

@media (max-width: 64rem) {
	.primary-navigation {
		display: none;
	}

	.mobile-navigation {
		display: block;
		justify-self: end;
		position: relative;
	}

	.mobile-navigation summary {
		padding: 0.55rem 0.75rem;
		border: 1px solid #fff;
		color: #fff;
		cursor: pointer;
		font-weight: 800;
		list-style: none;
	}

	.mobile-navigation[open] .site-menu {
		position: absolute;
		top: calc(100% + 0.5rem);
		right: 0;
		display: block;
		width: min(20rem, calc(100vw - 2rem));
		padding: 0.5rem;
		background: var(--tpn-ink);
		border: 1px solid #43505c;
	}

	.mobile-navigation .site-menu a {
		padding: 0.65rem;
	}

	.card-grid,
	.archive-grid,
	.directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.masthead {
		gap: 1rem;
	}

	.hero,
	.entry-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-data {
		min-height: 12rem;
	}

	.entry-sidebar {
		position: static;
	}

	.card-grid,
	.archive-grid,
	.directory-grid {
		grid-template-columns: 1fr;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Thai flag identity: shared by every editorial and directory template. */
body { line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.7rem,5.4vw,4.7rem); }
h2 { font-size: clamp(1.9rem,3.5vw,3rem); }
h3 { letter-spacing: -.025em; }
a:hover { color: var(--tpn-red); }
.site-shell { width: min(calc(100% - 5rem),var(--tpn-max)); }
table { max-width: 100%; width: 100%; font-size: .92rem; line-height: 1.5; }
th, td { padding: .9rem 1rem; }
th { background: var(--tpn-navy); color: #fff; font-weight: 600; }
th a { color: #fff; }
tbody tr:nth-child(even) { background: var(--tpn-mist); }
pre { max-width: 100%; padding: 1.25rem; overflow: auto; background: var(--tpn-mist); }
input, select, textarea, button { max-width: 100%; font: inherit; }
input, select, textarea { padding: .7rem .9rem; border: 1px solid var(--tpn-line); background: #fff; color: var(--tpn-ink); border-radius: 3px; }
button, input[type="submit"] { cursor: pointer; }
.skip-link:focus { background: #fff; color: var(--tpn-navy); }
.local-preview-banner { background: var(--tpn-mist); color: var(--tpn-navy); }
.site-header { background: var(--tpn-navy); border-bottom: 0; border-top: 8px solid transparent; border-image: linear-gradient(to right,#e21b39 0 16.667%,#fff 16.667% 33.333%,#073484 33.333% 66.667%,#fff 66.667% 83.333%,#e21b39 83.333%) 1; }
.masthead { min-height: 6rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-title { font-family: "Ahrefs", Arial, sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.site-title a { display: flex; align-items: center; gap: .75rem; }
.site-title span { color: #fff; }
.brand-icon { display: block; flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.brand-logo { display: block; width: 252px; height: auto; margin-block: 6px; }
.site-title .brand-initial { color: #ff8798; }
.brand-wordmark { display: grid; gap: .16rem; line-height: 1; }
.brand-name { font-size: 1.7rem; letter-spacing: -.04em; }
.site-title .brand-thai { color: #ff8798; }
.brand-news { font-family: "Inter", Arial, sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .32em; }
.site-menu, .mobile-navigation summary, .button-link, button, input[type="submit"], .hero-data strong, .home-stat strong { font-family: var(--tpn-serif); }
.site-menu { flex-wrap: nowrap; gap: .15rem; }
.site-menu li { position: relative; }
.site-menu a { padding: .75rem .6rem; color: #edf5ff; font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.site-menu a:hover, .site-menu .current-menu-item > a, .site-menu .current-menu-ancestor > a { color: #fff; text-decoration: underline; text-underline-offset: .45em; }
.site-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 13rem; padding: .6rem; margin: 0; background: var(--tpn-navy); list-style: none; border: 1px solid #80a9df; }
.site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu { display: block; }
:is(.site-header,.home-hero,.site-footer) :focus-visible { outline-color: #fff; }
.site-main { padding: clamp(2.5rem,5vw,5rem) 0 5rem; }
.eyebrow, .entry-kicker { margin-bottom: 1rem; font-size: .74rem; font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.home-main { padding: 0; }
.home-hero { background: var(--tpn-navy); color: #fff; padding: clamp(3rem,6vw,5.5rem) 0 0; }
.hero { grid-template-columns: minmax(0,1.6fr) minmax(15rem,.7fr); align-items: center; gap: clamp(2rem,5vw,5rem); padding-bottom: 4.5rem; border-bottom: 0; }
.hero .eyebrow { color: #e2efff; }
.hero h1 { max-width: 17ch; margin-bottom: .4em; font-size: clamp(3rem,6.2vw,5.5rem); font-weight: 400; line-height: 1.03; letter-spacing: -.05em; }
.hero-lede { max-width: 39rem; margin-bottom: 1.5rem; color: var(--tpn-ink); font-size: clamp(1.08rem,1.7vw,1.25rem); line-height: 1.6; }
.home-hero .hero-lede { color: #f0f6ff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin: 1.8rem 0 0; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.3rem; padding: .85rem 1.45rem; border: 1px solid var(--tpn-red); border-radius: 3px; background: var(--tpn-red); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.4; transition: background-color .16s,border-color .16s; }
.button-link:hover { background: #bf102d; border-color: #bf102d; color: #fff; }
.button-link--outline { border-color: #a4c7f4; background: transparent; color: #fff; }
.button-link--outline:hover { background: #fff; border-color: #fff; color: var(--tpn-navy); }
.hero-data { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; min-height: 23rem; padding: 2rem; overflow: hidden; border: 1px solid #83b4ef; border-radius: 4px; background: #0b4293; }
.hero-data::before { content: ""; position: absolute; top: 2rem; left: 2rem; right: 2rem; height: 10rem; border: 2px solid rgba(255,255,255,.45); background: linear-gradient(to right,transparent calc(50% - 1px),rgba(255,255,255,.45) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(to bottom,transparent 25%,rgba(255,255,255,.45) 25% calc(25% + 2px),transparent calc(25% + 2px) calc(75% - 2px),rgba(255,255,255,.45) calc(75% - 2px) 75%,transparent 75%); transform: rotate(-8deg); }
.hero-data::after { content: ""; position: absolute; width: 3.1rem; height: 3.1rem; right: 2rem; top: 3rem; border: 2px solid #fff; border-radius: 50%; background: var(--tpn-red); }
.hero-data strong { position: relative; margin-top: 11rem; font: 400 clamp(4rem,7vw,6rem)/1 var(--tpn-serif); letter-spacing: -.07em; }
.hero-data span { display: block; max-width: 15rem; margin-top: .6rem; color: #edf5ff; font-size: .93rem; font-weight: 400; line-height: 1.5; }
.hero-data a { margin-top: 1.3rem; color: #fff; font-size: .9rem; text-underline-offset: .3em; }
.home-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #6795d1; }
.home-stat { display: flex; align-items: baseline; gap: .8rem; padding: 1.5rem 1rem 1.5rem 0; color: #fff; text-decoration: none; }
.home-stat:hover { color: #fff; background: rgba(255,255,255,.05); }
.home-stat strong { font-size: 2rem; font-weight: 500; letter-spacing: -.05em; }
.home-stat span { color: #e6f1ff; font-size: .875rem; }
.section { padding: clamp(3rem,6vw,5.5rem) 0; border-bottom: 0; }
.section + .section { border-top: 1px solid var(--tpn-line); }
.section-heading { align-items: flex-end; gap: 1.5rem; margin-bottom: 2.25rem; border-bottom: 0; }
.section-heading h2 { max-width: 25ch; margin: 0; }
.section-heading p { margin-bottom: .75rem; }
.section-heading > a { flex-shrink: 0; font-size: .95rem; font-weight: 600; }
.section-heading > span { color: var(--tpn-muted); font-size: .9rem; }
.section-intro { max-width: 40rem; color: var(--tpn-muted); font-size: 1.1rem; }
.story-card, .profile-card { min-width: 0; padding: 1.65rem; border: 1px solid var(--tpn-line); border-radius: 4px; background: #fff; transition: border-color .16s,box-shadow .16s; }
.story-card:hover, .profile-card:hover { border-color: #4384dc; box-shadow: 0 4px 18px rgba(7,52,132,.1); }
.story-card p:last-child, .profile-card p:last-child { margin-bottom: 0; }
.story-card p:not(.entry-kicker), .profile-card p:not(.entry-kicker) { color: var(--tpn-muted); font-size: .95rem; }
.story-card__image, .profile-card__image { display: block; margin: -1.65rem -1.65rem 1.5rem; border-radius: 3px 3px 0 0; }
.story-card h3, .profile-card h2, .profile-card h3 { margin-bottom: .7rem; font-size: 1.45rem; line-height: 1.25; }
.profile-card h3 a { color: var(--tpn-ink); text-decoration: none; }
.story-card h3 a:hover, .profile-card h2 a:hover, .profile-card h3 a:hover { color: var(--tpn-red); }
.story-card .entry-kicker, .profile-card .entry-kicker { margin-bottom: 1.1rem; font-size: .68rem; }
.desk-grid { gap: 0; border: 1px solid var(--tpn-line); border-radius: 4px; overflow: hidden; }
.desk-card { position: relative; display: flex; flex-direction: column; min-height: 17rem; padding: 2rem; border: 0; border-right: 1px solid var(--tpn-line); border-bottom: 1px solid var(--tpn-line); border-radius: 0; }
.desk-card:nth-child(3n) { border-right: 0; }
.desk-card:nth-last-child(-n+3) { border-bottom: 0; }
.desk-card:hover { background: var(--tpn-mist); box-shadow: none; }
.desk-card .desk-number { margin-bottom: 1.7rem; color: var(--tpn-red); font-size: .8rem; font-weight: 700; }
.desk-card h3 { max-width: 20ch; }
.desk-card h3 a::after { content: ""; position: absolute; inset: 0; }
.desk-card p { max-width: 30ch; }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem; }
.trust-grid article { border-top: 3px solid var(--tpn-red); padding-top: 1.5rem; }
.trust-grid h3 { font-size: 1.3rem; }
.trust-grid p { color: var(--tpn-muted); font-size: .97rem; }
.archive-header { max-width: 55rem; margin-bottom: 3rem; }
.archive-header h1 { margin-bottom: .45em; }
.archive-description, .entry-summary { max-width: 48rem; color: var(--tpn-muted); font-size: 1.15rem; line-height: 1.65; }
.entry-header { max-width: 63rem; margin-bottom: clamp(2rem,4vw,3.5rem); padding-bottom: 2rem; border-bottom: 1px solid var(--tpn-line); }
.entry-header h1 { max-width: 23ch; }
.entry-header .meta-line { margin-bottom: 0; }
.entry-layout { grid-template-columns: minmax(0,var(--tpn-reading)) minmax(15rem,20rem); }
.entry-layout > * { min-width: 0; }
.entry-content { overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content > .alignwide { max-width: 100%; margin-left: 0; }
.entry-content h2 { margin-top: 1.7em; font-size: clamp(1.7rem,2.8vw,2.35rem); }
.entry-content a { overflow-wrap: anywhere; }
.entry-content blockquote { padding: 1.3rem 1.5rem; border-left: 4px solid var(--tpn-red); background: var(--tpn-mist); }
.entry-featured-image { margin-bottom: 2.5rem; }
.entry-featured-image img { max-height: 42rem; object-fit: cover; border-radius: 4px; }
.verification-box, .profile-facts, .sidebar-card { margin-bottom: 1.5rem; padding: 1.5rem; border: 1px solid var(--tpn-line); border-top: 4px solid var(--tpn-navy); border-radius: 3px; background: var(--tpn-mist); }
.verification-box--hold, .verification-box--grade-d { border-top-color: var(--tpn-red); }
.verification-box h2, .profile-facts h2, .sidebar-card h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.verification-box h3 { margin: 1.4rem 0 .6rem; font-size: 1rem; }
.verification-list li, .source-list li, .correction-list li { margin-bottom: .8rem; font-size: .85rem; line-height: 1.6; }
.profile-facts dl > div { padding: .8rem 0; }
.profile-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-facts dd { margin-top: .3rem; font-size: .88rem; overflow-wrap: anywhere; }
.pagination { margin-top: 3rem; }
.nav-links .page-numbers { display: inline-flex; min-width: 2.8rem; min-height: 2.8rem; align-items: center; justify-content: center; padding: .5rem .8rem; border: 1px solid var(--tpn-line); border-radius: 3px; }
.nav-links .current { background: var(--tpn-navy); color: #fff; border-color: var(--tpn-navy); }
.empty-state { padding: 2rem; background: var(--tpn-mist); }
.site-footer { position: relative; padding: 4rem 0 1.5rem; background: var(--tpn-navy); color: #e6f1ff; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(to right,#e21b39 0 16.667%,#fff 16.667% 33.333%,#073484 33.333% 66.667%,#fff 66.667% 83.333%,#e21b39 83.333%); }
.footer-grid { gap: 3rem; }
.footer-title { margin-bottom: .8rem; font-family: var(--tpn-serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0; }
.footer-title span { color: #fff; }
.footer-heading { color: #fff; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: .7rem; }
.site-footer a { color: #f0f6ff; font-size: .92rem; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { max-width: 25rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #6795d1; color: #d5e7ff; font-size: .75rem; }

@media (max-width: 74rem) {
	.primary-navigation { display: none; }
	.mobile-navigation { display: block; justify-self: end; position: relative; }
	.mobile-navigation summary { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid #96bdf0; border-radius: 3px; color: #fff; cursor: pointer; font-size: .9rem; list-style: none; }
	.mobile-navigation summary::-webkit-details-marker { display: none; }
	.mobile-navigation summary::after { content: "+"; font-size: 1.25rem; line-height: 1; }
	.mobile-navigation[open] summary::after { content: "−"; }
	.mobile-navigation[open] .site-menu { position: absolute; top: calc(100% + .8rem); right: 0; display: block; width: min(22rem,calc(100vw - 2rem)); padding: .75rem; border: 1px solid #80a9df; border-radius: 4px; background: var(--tpn-navy); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
	.mobile-navigation .site-menu a { padding: .7rem .8rem; font-size: 1rem; }
	.mobile-navigation .site-menu .sub-menu { display: block; position: static; padding: 0 0 0 1rem; border: 0; }
}
@media (max-width: 60rem) {
	.site-shell { width: min(calc(100% - 3rem),var(--tpn-max)); }
	.hero { grid-template-columns: minmax(0,1.5fr) minmax(13rem,.7fr); gap: 2rem; }
	.hero-data { padding: 1.5rem; }
	.hero-data::before { left: 1.5rem; right: 1.5rem; }
	.card-grid, .archive-grid, .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.desk-card:nth-child(3n) { border-right: 1px solid var(--tpn-line); }
	.desk-card:nth-child(2n) { border-right: 0; }
	.desk-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--tpn-line); }
	.desk-card:nth-last-child(-n+2) { border-bottom: 0; }
	.home-stat { display: block; }
	.home-stat span { display: block; }
	.entry-layout { grid-template-columns: minmax(0,1fr) minmax(14rem,.65fr); gap: 1.75rem; }
}
@media (max-width: 44rem) {
	.site-shell { width: calc(100% - 2.5rem); }
	.masthead { min-height: 4.75rem; gap: .65rem; }
	.site-title { font-size: clamp(1rem,4.8vw,1.2rem); }
	.site-title a { gap: .55rem; }
	.brand-icon { flex-basis: 48px; width: 48px; height: 48px; }
	.brand-logo { width: 198px; max-width: 58vw; margin-block: 2px; }
	.home-hero { padding-top: 2.75rem; }
	.hero { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
	.hero h1 { max-width: 16ch; font-size: clamp(2.65rem,10.8vw,4.3rem); }
	.hero .eyebrow { font-size: .64rem; letter-spacing: .09em; }
	.hero-lede { font-size: 1.05rem; }
	.hero-actions { gap: .75rem; }
	.hero-actions .button-link { flex: 1 1 auto; padding-inline: 1rem; }
	.hero-data { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 1.25rem; align-items: center; min-height: 0; padding: 1.3rem; }
	.hero-data::before, .hero-data::after { display: none; }
	.hero-data strong { grid-row: 1/3; margin-top: 0; font-size: 4.25rem; }
	.hero-data span { max-width: none; margin-top: 0; font-size: .85rem; }
	.hero-data a { margin-top: .35rem; font-size: .85rem; }
	.home-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.home-stat { padding: 1rem .5rem 1rem 0; }
	.home-stat:nth-child(-n+2) { border-bottom: 1px solid #6795d1; }
	.home-stat strong { font-size: 1.6rem; }
	.home-stat span { font-size: .8rem; }
	.card-grid, .archive-grid, .directory-grid, .entry-layout, .trust-grid { grid-template-columns: 1fr; }
	.section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.7rem; }
	.desk-card { min-height: 0; padding: 1.5rem; }
	.desk-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--tpn-line); }
	.desk-card:last-child { border-bottom: 0; }
	.desk-card .desk-number { margin-bottom: 1rem; }
	.desk-card h3, .desk-card p { max-width: none; }
	.trust-grid { gap: 1.5rem; }
	.entry-sidebar { position: static; }
	.entry-header h1 { font-size: clamp(2.3rem,9vw,3.6rem); }
	.entry-summary { font-size: 1.05rem; }
	.entry-content p, .entry-content li { font-size: 1rem; }
	.entry-content table { font-size: .85rem; }
	.entry-content th, .entry-content td { padding: .65rem; }
	.footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
	.footer-grid > div:first-child { grid-column: 1/-1; }
	.footer-bottom { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* News-led homepage. */
.news-home-header { padding: 2.25rem 0 1.5rem; }
.news-home-header .eyebrow { margin-bottom: .65rem; }
.news-home-header h1 { margin-bottom: .3em; font-size: clamp(2.2rem,4.2vw,3.6rem); }
.news-home-header > p:last-child { margin: 0; max-width: 52rem; color: var(--tpn-muted); font-size: 1.05rem; }
.news-topics { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; align-items: center; padding: .85rem 0; margin-bottom: 1.6rem; border-block: 1px solid var(--tpn-line); font-family: var(--tpn-serif); font-size: .9rem; }
.news-topics a { text-decoration: none; }
.news-topics-all { color: var(--tpn-red); font-weight: 700; }
.news-featured { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 1.4rem; }
.news-feature { min-width: 0; border: 1px solid var(--tpn-line); background: #fff; }
.news-feature-copy { padding: 1.45rem; }
.news-feature .entry-kicker { margin-bottom: .8rem; font-size: .75rem; }
.news-feature h2 { margin-bottom: .6em; font-size: clamp(1.5rem,2.2vw,1.95rem); line-height: 1.18; }
.news-feature h2 a { color: inherit; text-decoration: none; }
.news-feature h2 a:hover { text-decoration: underline; text-underline-offset: .12em; }
.news-feature--lead { grid-row: span 2; background: var(--tpn-navy); color: #fff; border-color: var(--tpn-navy); display: flex; flex-direction: column; }
.news-feature--lead .news-feature-copy { display: flex; flex-direction: column; flex: 1; padding: 2rem; }
.news-feature--lead h2 { font-size: clamp(2rem,3.2vw,2.8rem); }
.news-feature--lead .entry-kicker { color: #fff; }
.news-feature-excerpt { color: #edf5ff; line-height: 1.6; }
.news-date { margin: 0; color: var(--tpn-muted); font-size: .82rem; }
.news-feature--lead .news-date { color: #d5e7ff; margin-top: auto; }
.news-read-story { align-self: flex-start; margin-top: 1rem; color: #fff; font-family: var(--tpn-serif); }
.news-read-story:hover { color: #fff; }
.news-feature-image { display: block; }
.news-feature-image img { width: 100%; max-height: 19rem; aspect-ratio: 16/9; object-fit: cover; }
.news-feed { padding: 3rem 0; scroll-margin-top: 7rem; }
.news-feed .section-heading { margin-bottom: 1.5rem; }
.news-feed .section-heading h2 { font-size: clamp(1.6rem,3vw,2.2rem); }
.news-grid .story-card h3 { font-size: 1.5rem; }
.news-grid .story-card p:not(.entry-kicker) { font-size: 1rem; }
.news-grid .story-card .meta-line { font-size: .82rem; }
.news-feed .nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.news-directory { border-top: 1px solid var(--tpn-line); padding: 2rem 0 3rem; }
.news-directory h2 { font-size: 1.5rem; }
.news-directory-links { display: flex; flex-wrap: wrap; gap: .8rem 1.7rem; }
.news-directory-links a { font-family: var(--tpn-serif); font-size: 1rem; }
@media (max-width: 44rem) {
 .news-home-header { padding-top: 1.5rem; }
 .news-home-header > p:last-child { font-size: 1rem; }
 .news-topics { flex-wrap: nowrap; gap: .65rem 1rem; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; font-size: .85rem; }
 .news-featured { grid-template-columns: minmax(0,1fr); gap: 1rem; }
 .news-feature--lead { grid-row: auto; }
 .news-feature--lead .news-feature-copy, .news-feature-copy { padding: 1.25rem; }
 .news-feature--lead h2 { font-size: 2rem; }
 .news-feed { padding: 2rem 0; }
}

/* City event calendar. */
.events-header { max-width: 58rem; margin-bottom: 2rem; }
.events-header h1 { font-size: clamp(2.2rem,4.5vw,4rem); }
.event-city-nav, .event-month-nav { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.7rem; }
.event-city-nav a, .event-month-nav a { display: inline-flex; padding: .55rem .9rem; border: 1px solid var(--tpn-line); border-radius: 3px; font-family: var(--tpn-serif); text-decoration: none; font-size: .95rem; }
.event-city-nav a[aria-current], .event-month-nav a[aria-current] { background: var(--tpn-navy); border-color: var(--tpn-navy); color: #fff; }
.event-city-nav a:hover, .event-month-nav a:hover { border-color: var(--tpn-red); }
.event-calendar { padding: 1.5rem 0 2rem; }
.event-calendar .section-heading h2 { font-size: clamp(1.8rem,3vw,2.7rem); }
.event-calendar .section-heading { margin-bottom: 1.3rem; }
.event-calendar-list { display: grid; gap: 1.25rem; }
.calendar-event { display: grid; grid-template-columns: 12rem minmax(0,1fr); border: 1px solid var(--tpn-line); border-radius: 4px; overflow: hidden; }
.calendar-event-date { padding: 1.4rem; background: var(--tpn-navy); color: #fff; font-family: var(--tpn-serif); }
.calendar-event-date time { display: block; font-size: 1.35rem; line-height: 1.25; }
.calendar-event-date > span { display: block; margin-top: .7rem; font-size: .95rem; }
.calendar-event-copy { min-width: 0; padding: 1.4rem 1.6rem; }
.calendar-event-copy h3 { margin-bottom: .5rem; font-size: 1.65rem; line-height: 1.2; }
.calendar-event-copy > p:not(.entry-kicker) { margin-bottom: .85rem; font-size: .95rem; color: var(--tpn-muted); }
.calendar-event-copy .entry-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: .8rem; font-size: .7rem; }
.calendar-event-copy .calendar-event-venue { font-weight: 700; color: var(--tpn-ink); }
.event-status { display: inline-block; padding: .2rem .5rem; color: var(--tpn-navy); background: var(--tpn-mist); letter-spacing: 0; text-transform: none; }
.event-status--provisional { color: #a5112a; background: #fff0f3; }
.calendar-event-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; font-size: .9rem; }
.event-calendar-note { margin-top: 1.5rem; font-size: .9rem; color: var(--tpn-muted); }
.event-recurring { padding: 2rem 0; border-top: 1px solid var(--tpn-line); }
.event-recurring .section-heading h2, .event-sources-note h2 { font-size: 1.8rem; }
.event-sources-note { padding: 1.5rem; margin-top: 1.5rem; background: var(--tpn-mist); }
.event-sources-note p { margin-bottom: 0; }
@media (max-width: 44rem) {
 .calendar-event { grid-template-columns: minmax(0,1fr); }
 .calendar-event-date, .calendar-event-copy { padding: 1.15rem; }
 .calendar-event-date { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
 .calendar-event-date > span { margin-top: 0; }
 .calendar-event-copy h3 { font-size: 1.5rem; }
 .event-city-nav a, .event-month-nav a { font-size: .85rem; padding: .45rem .65rem; }
}

/* Reader discussion on news articles. */
.tpn-reader-comments { max-width: 52rem; margin: 3.5rem 0; padding-top: 2rem; border-top: 3px solid var(--tpn-navy); }
.tpn-reader-comments > p, .tpn-reader-comments .comment-notes, .tpn-reader-comments .logged-in-as { color: var(--tpn-muted); font-size: .95rem; }
.tpn-reader-comments .comment-form label { display: block; margin-bottom: .4rem; font-weight: 600; }
.tpn-reader-comments .comment-form textarea, .tpn-reader-comments .comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) { width: 100%; }
.tpn-reader-comments .comment-form textarea { min-height: 10rem; resize: vertical; }
.tpn-reader-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .6rem; }
.tpn-reader-comments .comment-form-cookies-consent label { font-weight: 400; }
.tpn-reader-comments .submit { border: 0; border-radius: 3px; padding: .85rem 1.4rem; background: var(--tpn-red); color: #fff; font-weight: 600; }
.tpn-reader-comments .submit:hover { background: #bf102d; }
.tpn-reader-comments .wp-block-comment-template { padding: 0; list-style: none; }
.tpn-reader-comments .wp-block-comment-template > li { padding: 1.5rem 0; border-bottom: 1px solid var(--tpn-line); }
.tpn-reader-comments .wp-block-comment-author-name { font-weight: 700; }
.tpn-reader-comments .wp-block-comment-date { color: var(--tpn-muted); font-size: .85rem; }
.tpn-reader-comments .wp-block-comments-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
