/*
Theme Name: توتم‌نیوز
Theme URI: https://totemnews.ir
Author: تحریریه توتم‌نیوز
Author URI: https://totemnews.ir
Description: قالب خبری حرفه‌ای، سریع و کاملاً واکنش‌گرا برای پایگاه خبری توتم‌نیوز؛ همراه با صفحه نخست پویا، تیترهای اصلی، خبر فوری، بخش‌های موضوعی، صفحه خبر، سئو پایه و تنظیمات اختصاصی.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.0
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: totemnews
Tags: news, blog, rtl-language-support, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--tn-primary: #146c55;
	--tn-primary-dark: #0c493a;
	--tn-primary-soft: #e6f3ee;
	--tn-accent: #d8352a;
	--tn-accent-soft: #fff0ee;
	--tn-gold: #c89a3d;
	--tn-ink: #142a24;
	--tn-text: #29443c;
	--tn-muted: #6d7f79;
	--tn-line: #dde8e3;
	--tn-surface: #ffffff;
	--tn-canvas: #f4f8f6;
	--tn-shadow-sm: 0 7px 22px rgba(10, 57, 45, .07);
	--tn-shadow-lg: 0 24px 60px rgba(10, 57, 45, .14);
	--tn-radius-sm: 12px;
	--tn-radius: 20px;
	--tn-radius-lg: 28px;
	--tn-container: 1220px;
	--tn-content: 820px;
	--tn-header-height: 74px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	direction: rtl;
	background: var(--tn-canvas);
	color: var(--tn-text);
	font-family: "Vazirmatn Variable", Tahoma, Arial, sans-serif;
	font-size: 16px;
	font-weight: 430;
	line-height: 1.85;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-open {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
}

figure {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

a:hover {
	color: var(--tn-primary);
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(20, 108, 85, .28);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .7em;
	color: var(--tn-ink);
	font-weight: 850;
	line-height: 1.55;
	letter-spacing: -.025em;
}

p {
	margin: 0 0 1.3em;
}

ul,
ol {
	margin: 0 0 1.3em;
}

::selection {
	background: var(--tn-primary);
	color: #fff;
}

.site-container {
	width: min(calc(100% - 36px), var(--tn-container));
	margin-inline: auto;
}

.site-container-wide {
	--tn-container: 1380px;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	z-index: 100000;
	top: 8px;
	right: 8px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	border-radius: 9px;
	background: #fff;
	color: var(--tn-primary-dark);
	box-shadow: var(--tn-shadow-lg);
}

.tn-icon {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
}

.eyebrow {
	display: inline-block;
	color: var(--tn-primary);
	font-size: .73rem;
	font-weight: 850;
	letter-spacing: .015em;
}

.reading-progress {
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: transparent;
}

.reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--tn-accent), var(--tn-gold));
	transition: width .08s linear;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid var(--tn-line);
}

.top-strip {
	background: var(--tn-primary-dark);
	color: rgba(255, 255, 255, .83);
	font-size: .72rem;
}

.top-strip-inner {
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.top-date,
.top-links {
	display: flex;
	align-items: center;
	gap: 13px;
}

.top-links a:hover {
	color: #fff;
}

.live-dot,
.ticker-pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tn-accent);
	box-shadow: 0 0 0 4px rgba(216, 53, 42, .16);
}

.branding-row {
	min-height: 112px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand-lockup {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 15px;
}

.custom-logo-link {
	width: 98px;
	height: 88px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	overflow: hidden;
	border: 1px solid #e4ece8;
	border-radius: 18px;
	background: #fff;
}

.custom-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-copy {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.62rem;
	line-height: 1.25;
}

.site-title a {
	color: var(--tn-primary-dark);
}

.brand-copy > p:last-child {
	margin: 6px 0 0;
	color: var(--tn-muted);
	font-size: .75rem;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 9px;
}

.latest-button {
	height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid #d3e3dd;
	border-radius: 12px;
	background: #f6faf8;
	color: var(--tn-primary-dark);
	padding: 0 15px;
	font-size: .76rem;
	font-weight: 780;
}

.latest-button:hover {
	border-color: var(--tn-primary);
	background: var(--tn-primary-soft);
}

.header-icon-button,
.mobile-menu-close,
.search-close {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--tn-line);
	border-radius: 12px;
	background: #fff;
	color: var(--tn-primary-dark);
}

.header-icon-button:hover,
.mobile-menu-close:hover,
.search-close:hover {
	border-color: var(--tn-primary);
	background: var(--tn-primary-soft);
}

.menu-toggle {
	display: none;
}

.menu-toggle-close {
	display: none;
}

.primary-navigation {
	border-top: 1px solid #edf2f0;
	background: #fff;
}

.primary-navigation-inner {
	min-height: 54px;
	display: flex;
	align-items: center;
}

.primary-menu,
.mobile-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 3px;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	min-height: 54px;
	display: flex;
	align-items: center;
	padding: 0 15px;
	color: #334f47;
	font-size: .82rem;
	font-weight: 750;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	color: var(--tn-primary);
}

.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	right: 15px;
	left: 15px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--tn-primary);
}

.primary-menu .sub-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	right: 0;
	width: 230px;
	visibility: hidden;
	opacity: 0;
	list-style: none;
	margin: 0;
	padding: 9px;
	border: 1px solid var(--tn-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--tn-shadow-lg);
	transform: translateY(6px);
	transition: .18s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.primary-menu .sub-menu a {
	display: block;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: .76rem;
}

.primary-menu .sub-menu a:hover {
	background: var(--tn-primary-soft);
}

.mobile-navigation,
.mobile-backdrop {
	display: none;
}

/* The hidden attribute must always win over the mobile media-query below. */
.mobile-backdrop[hidden] {
	display: none !important;
}

.search-panel {
	position: fixed;
	z-index: 300;
	inset: 0;
	visibility: hidden;
	opacity: 0;
	background: rgba(8, 34, 27, .88);
	backdrop-filter: blur(10px);
	transition: .2s ease;
}

body.search-open .search-panel {
	visibility: visible;
	opacity: 1;
}

.search-panel-inner {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.search-panel-inner > div {
	width: min(100%, 760px);
}

.search-panel .eyebrow {
	margin-bottom: 12px;
	color: #bfe1d4;
	font-size: .85rem;
}

.search-close {
	position: absolute;
	top: max(24px, env(safe-area-inset-top));
	left: 0;
}

.search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 9px;
}

.search-form label {
	display: block;
}

.search-field {
	width: 100%;
	height: 54px;
	border: 1px solid var(--tn-line);
	border-radius: 14px;
	background: #fff;
	color: var(--tn-ink);
	padding: 0 17px;
	outline: 0;
}

.search-field:focus {
	border-color: var(--tn-primary);
	box-shadow: 0 0 0 4px rgba(20, 108, 85, .12);
}

.search-submit,
.button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--tn-primary);
	border-radius: 13px;
	background: var(--tn-primary);
	color: #fff;
	padding: 0 19px;
	font-size: .8rem;
	font-weight: 780;
	box-shadow: 0 8px 18px rgba(20, 108, 85, .17);
}

.search-submit {
	height: 54px;
}

.search-submit:hover,
.button:hover {
	background: var(--tn-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.button-secondary {
	border-color: var(--tn-line);
	background: #fff;
	color: var(--tn-primary-dark);
	box-shadow: none;
}

/* Ticker */
.news-ticker {
	border-bottom: 1px solid #dce8e3;
	background: #edf6f2;
}

.news-ticker-inner {
	min-height: 48px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
}

.ticker-label {
	height: 30px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
	background: var(--tn-primary);
	color: #fff;
	padding: 0 11px;
	font-size: .7rem;
	font-weight: 820;
}

.ticker-label.is-breaking {
	background: var(--tn-accent);
}

.ticker-label .ticker-pulse {
	width: 7px;
	height: 7px;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .2);
}

.ticker-items {
	display: flex;
	align-items: center;
	gap: 26px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
}

.ticker-items::-webkit-scrollbar {
	display: none;
}

.ticker-items a {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #36544b;
	font-size: .73rem;
	font-weight: 650;
}

.ticker-items a:not(:last-child)::after {
	content: "";
	position: absolute;
	left: -14px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #94b3a8;
}

.ticker-items time {
	direction: ltr;
	color: var(--tn-primary);
	font-size: .68rem;
	font-weight: 800;
}

/* Homepage */
.homepage-main {
	overflow: hidden;
}

.hero-section {
	padding-block: 34px 42px;
}

.section-kicker {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 15px;
}

.section-kicker span {
	color: var(--tn-accent);
	font-size: .7rem;
	font-weight: 850;
}

.section-kicker h2 {
	margin: 0;
	font-size: 1rem;
}

.hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(380px, .85fr);
	gap: 16px;
}

.hero-lead {
	position: relative;
	min-height: 520px;
	overflow: hidden;
	border-radius: var(--tn-radius-lg);
	background: var(--tn-primary-dark);
	box-shadow: var(--tn-shadow-lg);
}

.hero-image,
.hero-image img,
.hero-image .post-image-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.hero-image img {
	object-fit: cover;
	transition: transform .55s ease;
}

.hero-lead:hover .hero-image img {
	transform: scale(1.035);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 21, 17, .02) 20%, rgba(5, 24, 19, .9) 100%);
	pointer-events: none;
}

.hero-content {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 36px;
	color: #fff;
}

.hero-content > div {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.hero-content .category-pill {
	background: var(--tn-accent);
	color: #fff;
}

.hero-content time {
	color: rgba(255, 255, 255, .76);
	font-size: .69rem;
}

.hero-content h2 {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.6rem, 2.6vw, 2.55rem);
	line-height: 1.5;
}

.hero-content h2 a:hover {
	color: #fff;
}

.hero-content p {
	max-width: 720px;
	margin: 13px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: .86rem;
	line-height: 1.85;
}

.hero-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hero-small-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	background: #fff;
	box-shadow: var(--tn-shadow-sm);
}

.hero-small-image {
	display: block;
	height: 150px;
	overflow: hidden;
	background: #dcebe5;
}

.hero-small-image img,
.hero-small-image .post-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.hero-small-card:hover .hero-small-image img {
	transform: scale(1.04);
}

.hero-small-content {
	padding: 13px 14px 15px;
}

.hero-small-content h3 {
	display: -webkit-box;
	min-height: 4.5em;
	margin: 8px 0;
	overflow: hidden;
	font-size: .9rem;
	line-height: 1.65;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.hero-small-content time {
	color: var(--tn-muted);
	font-size: .66rem;
}

.post-image-fallback {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 5px;
	background:
		radial-gradient(circle at 70% 10%, rgba(255, 255, 255, .2), transparent 36%),
		linear-gradient(145deg, var(--tn-primary), var(--tn-primary-dark));
	color: rgba(255, 255, 255, .82);
	font-size: .7rem;
	font-weight: 730;
}

.fallback-mark {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, .75);
	border-radius: 16px;
	color: #fff;
	font-family: Georgia, serif;
	font-size: 2rem;
	font-weight: 800;
}

.latest-section {
	padding-bottom: 54px;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.section-heading h2 {
	margin: 3px 0 0;
	font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.section-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-bottom: 1px solid #b7cec5;
	color: var(--tn-primary);
	padding-bottom: 3px;
	font-size: .74rem;
	font-weight: 780;
}

.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	align-items: start;
}

.latest-news-grid,
.archive-grid,
.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 19px;
}

/* Homepage video desk */
.video-news-section {
	padding-block: 52px;
	border-top: 1px solid #cfe0d9;
	background: linear-gradient(145deg, #eaf5f1 0%, #f8fbfa 70%);
}

.video-section-heading {
	align-items: center;
}

.video-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(310px, .8fr);
	gap: 20px;
}

.video-feature,
.video-playlist {
	min-width: 0;
}

.video-feature {
	overflow: hidden;
	border: 1px solid #cddfd8;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--tn-shadow-sm);
}

.video-player-shell {
	position: relative;
	width: 100%;
	min-height: 390px;
	overflow: hidden;
	background: #082e25;
}

.video-player-shell iframe,
.video-player-shell video,
.video-player-shell .wp-video,
.video-player-shell .mejs-container,
.video-poster-link,
.video-poster-link img,
.video-poster-link .post-image-fallback {
	width: 100% !important;
	height: 100% !important;
	min-height: 390px;
}

.video-player-shell iframe,
.video-player-shell video,
.video-poster-link img {
	display: block;
	border: 0;
	object-fit: cover;
}

.video-poster-link {
	position: relative;
	display: block;
}

.video-poster-link::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(5, 29, 23, .28));
	content: "";
}

.video-play-icon,
.video-playlist-thumb > span {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tn-accent);
	color: #fff;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
	transform: translate(-50%, -50%);
}

.video-play-icon {
	width: 68px;
	height: 68px;
}

.video-feature-copy {
	padding: 20px 23px 22px;
}

.video-feature-copy h3 {
	margin: 10px 0 7px;
	font-size: 1.32rem;
}

.video-feature-copy p {
	margin: 0;
	color: var(--tn-muted);
	font-size: .78rem;
}

.video-playlist {
	display: grid;
	align-content: start;
	gap: 12px;
}

.video-playlist-card {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 13px;
	min-height: 105px;
	padding: 10px;
	border: 1px solid #d3e3dd;
	border-radius: 16px;
	background: rgba(255, 255, 255, .9);
}

.video-playlist-thumb {
	position: relative;
	display: block;
	min-height: 86px;
	overflow: hidden;
	border-radius: 11px;
	background: var(--tn-primary-dark);
}

.video-playlist-thumb img,
.video-playlist-thumb .post-image-fallback {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.video-playlist-thumb > span {
	width: 38px;
	height: 38px;
}

.video-playlist-card h3 {
	display: -webkit-box;
	margin: 3px 0 8px;
	overflow: hidden;
	font-size: .83rem;
	line-height: 1.7;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.video-playlist-card time {
	color: var(--tn-muted);
	font-size: .65rem;
}

.news-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	background: #fff;
	box-shadow: 0 6px 20px rgba(10, 57, 45, .045);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.news-card:hover {
	border-color: #c6dcd3;
	box-shadow: var(--tn-shadow-sm);
	transform: translateY(-2px);
}

.news-card-image {
	display: block;
	height: 224px;
	overflow: hidden;
	background: #dfece7;
}

.news-card-image img,
.news-card-image .post-image-fallback {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .38s ease;
}

.news-card:hover .news-card-image img {
	transform: scale(1.035);
}

.news-card-body {
	padding: 16px 17px 17px;
}

.news-card-taxonomy {
	min-height: 25px;
}

.category-pill {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	border-radius: 7px;
	background: var(--tn-primary-soft);
	color: var(--tn-primary);
	padding: 2px 8px;
	font-size: .65rem;
	font-weight: 820;
}

.category-palette-1 { background: #edf2ff; color: #3d5b9b; }
.category-palette-2 { background: #fff3dc; color: #93610d; }
.category-palette-3 { background: #f4ecff; color: #72449a; }
.category-palette-4 { background: #e8f5f1; color: #146c55; }
.category-palette-5 { background: #fff0ee; color: #b9342b; }

.news-card-title {
	display: -webkit-box;
	margin: 10px 0 7px;
	overflow: hidden;
	font-size: 1.03rem;
	line-height: 1.68;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.news-card-excerpt {
	display: -webkit-box;
	margin-bottom: 12px;
	overflow: hidden;
	color: var(--tn-muted);
	font-size: .75rem;
	line-height: 1.85;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid #edf2f0;
	padding-top: 11px;
	color: #84948e;
	font-size: .65rem;
}

.topic-section {
	padding-block: 54px;
	border-top: 1px solid var(--tn-line);
	background: #fff;
}

.topic-section-tinted {
	background: #edf6f2;
}

.topic-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.news-card-section-lead {
	grid-row: span 2;
}

.news-card-section-lead .news-card-image {
	height: 330px;
}

.news-card-section-lead .news-card-title {
	font-size: 1.28rem;
}

.news-card-compact {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	align-items: stretch;
	border-radius: 16px;
}

.news-card-compact .news-card-image {
	height: 100%;
	min-height: 146px;
}

.news-card-compact .news-card-body {
	padding: 12px;
}

.news-card-compact .news-card-title {
	font-size: .83rem;
	line-height: 1.7;
	-webkit-line-clamp: 3;
}

.news-card-compact .card-meta {
	padding-top: 7px;
}

.news-card-compact .card-meta span {
	display: none;
}

/* Widgets */
.site-sidebar {
	position: sticky;
	top: 18px;
	display: grid;
	gap: 18px;
}

.admin-bar .site-sidebar {
	top: 50px;
}

.widget {
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	background: #fff;
	padding: 18px;
	box-shadow: 0 6px 20px rgba(10, 57, 45, .04);
}

.widget-title {
	position: relative;
	margin: 0 0 15px;
	border-bottom: 1px solid var(--tn-line);
	padding-bottom: 11px;
	font-size: .98rem;
}

.widget-title span::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 52px;
	height: 3px;
	border-radius: 3px;
	background: var(--tn-primary);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	border-bottom: 1px dashed #e1eae6;
	padding: 8px 0;
	font-size: .77rem;
}

.widget li:last-child {
	border-bottom: 0;
}

.widget select,
.widget input:not([type="submit"]) {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--tn-line);
	border-radius: 10px;
	padding: 0 10px;
}

.ranked-news {
	display: grid;
	gap: 4px;
}

.ranked-news article {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 10px;
	align-items: start;
	border-bottom: 1px dashed #e1eae6;
	padding: 9px 0;
}

.ranked-news article:last-child {
	border-bottom: 0;
}

.ranked-news article > span {
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: var(--tn-primary-soft);
	color: var(--tn-primary);
	font-size: .72rem;
	font-weight: 900;
}

.ranked-news h3 {
	margin: 0 0 4px;
	font-size: .77rem;
	line-height: 1.68;
}

.ranked-news time {
	color: var(--tn-muted);
	font-size: .62rem;
}

.category-widget li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.category-widget .count {
	color: var(--tn-muted);
}

/* Archives and search */
.inner-main {
	padding-block: 24px 64px;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	color: #7a8d86;
	font-size: .69rem;
}

.breadcrumbs a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.breadcrumbs span[aria-current="page"] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.archive-header,
.page-header {
	margin-bottom: 25px;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	background: #fff;
	padding: 28px 31px;
	box-shadow: 0 8px 28px rgba(10, 57, 45, .05);
}

.archive-header-accented {
	position: relative;
	overflow: hidden;
}

.archive-header-accented::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 7px;
	height: 100%;
	background: var(--tn-primary);
}

.archive-header h1,
.page-header h1 {
	margin: 3px 0;
	font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.archive-header p,
.archive-description {
	max-width: 780px;
	margin: 7px 0 0;
	color: var(--tn-muted);
	font-size: .82rem;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-layout {
	grid-template-columns: minmax(0, 1fr) 310px;
}

.archive-list {
	display: grid;
	gap: 14px;
}

.news-card-horizontal {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	min-height: 190px;
}

.news-card-horizontal .news-card-image {
	height: 100%;
	min-height: 190px;
}

.news-card-horizontal .news-card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 20px;
}

.news-card-horizontal .news-card-title {
	font-size: 1.08rem;
}

.news-card-horizontal .card-meta {
	margin-top: auto;
}

.search-results-header .search-form {
	max-width: 700px;
	margin-top: 17px;
}

.pagination {
	margin-top: 27px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--tn-line);
	border-radius: 10px;
	background: #fff;
	color: #597068;
	padding-inline: 10px;
	font-size: .75rem;
	font-weight: 700;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	border-color: var(--tn-primary);
	background: var(--tn-primary);
	color: #fff;
}

.empty-state {
	display: grid;
	justify-items: center;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	background: #fff;
	padding: 50px 24px;
	text-align: center;
}

.empty-state-icon {
	width: 74px;
	height: 74px;
	display: grid;
	place-items: center;
	border-radius: 24px;
	background: var(--tn-primary-soft);
	color: var(--tn-primary);
}

.empty-state h2 {
	margin: 17px 0 4px;
}

.empty-state p {
	color: var(--tn-muted);
}

.empty-state .search-form {
	width: min(100%, 570px);
	margin-bottom: 16px;
}

/* Single article */
.article-header {
	width: min(100%, 1040px);
	margin: 10px auto 28px;
	text-align: center;
}

.article-categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 13px;
}

.article-header h1 {
	margin: 0;
	font-size: clamp(1.85rem, 4.3vw, 3.35rem);
	line-height: 1.55;
}

.article-lead {
	max-width: 890px;
	margin: 18px auto 0;
	color: #577168;
	font-size: 1.03rem;
	font-weight: 560;
	line-height: 1.95;
}

.article-meta-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
}

.post-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 13px;
	color: var(--tn-muted);
	font-size: .7rem;
}

.post-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-code {
	border-right: 1px solid var(--tn-line);
	color: #83948e;
	padding-right: 16px;
	font-size: .67rem;
}

.article-featured-image {
	width: min(100%, 1100px);
	margin: 0 auto 30px;
	overflow: hidden;
	border-radius: var(--tn-radius-lg);
	background: #dfe9e5;
	box-shadow: var(--tn-shadow-sm);
}

.article-video-player {
	width: min(100%, 1040px);
	min-height: 440px;
	margin: 0 auto 28px;
	overflow: hidden;
	border-radius: var(--tn-radius-lg);
	background: #082e25;
	box-shadow: var(--tn-shadow-sm);
}

.article-video-player iframe,
.article-video-player video,
.article-video-player .wp-video,
.article-video-player .mejs-container {
	width: 100% !important;
	height: 100% !important;
	min-height: 440px;
	border: 0;
}

.article-featured-image img {
	width: 100%;
	max-height: 690px;
	display: block;
	object-fit: cover;
}

.article-featured-image figcaption {
	background: #fff;
	color: var(--tn-muted);
	padding: 9px 15px;
	font-size: .68rem;
}

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 30px;
	align-items: start;
}

.article-column {
	min-width: 0;
}

.article-body-layout {
	display: grid;
	grid-template-columns: 54px minmax(0, var(--tn-content));
	justify-content: center;
	gap: 20px;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	background: #fff;
	padding: 35px 32px 42px;
	box-shadow: 0 8px 28px rgba(10, 57, 45, .045);
}

.share-rail {
	position: sticky;
	top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	align-self: start;
}

.admin-bar .share-rail {
	top: 52px;
}

.share-rail > span {
	margin-bottom: 2px;
	color: var(--tn-muted);
	font-size: .62rem;
}

.share-rail a,
.share-rail button {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--tn-line);
	border-radius: 12px;
	background: #fff;
	color: #5c726b;
}

.share-rail a:hover,
.share-rail button:hover {
	border-color: var(--tn-primary);
	background: var(--tn-primary-soft);
	color: var(--tn-primary);
}

.article-content {
	min-width: 0;
	color: #263f37;
	font-size: 1.02rem;
	line-height: 2.18;
}

.article-content > *:first-child {
	margin-top: 0;
}

.article-content p {
	margin-bottom: 1.45em;
}

.article-content h2 {
	margin: 2em 0 .75em;
	border-right: 4px solid var(--tn-primary);
	padding-right: 13px;
	font-size: 1.5rem;
}

.article-content h3 {
	margin: 1.8em 0 .7em;
	font-size: 1.24rem;
}

.article-content a {
	color: var(--tn-primary);
	text-decoration: underline;
	text-decoration-color: #a9cbbf;
	text-underline-offset: 4px;
}

.article-content blockquote {
	position: relative;
	margin: 2em 0;
	border: 0;
	border-radius: 18px;
	background: #eef7f3;
	color: #31584c;
	padding: 24px 27px;
	font-size: 1.08rem;
	font-weight: 650;
}

.article-content blockquote::before {
	content: "“";
	position: absolute;
	top: -14px;
	right: 16px;
	color: var(--tn-primary);
	font-family: Georgia, serif;
	font-size: 4rem;
	line-height: 1;
	opacity: .25;
}

.article-content blockquote p:last-child {
	margin-bottom: 0;
}

.article-content ul,
.article-content ol {
	padding-right: 1.35em;
}

.article-content li {
	margin-bottom: .45em;
}

.article-content img,
.article-content .wp-block-image {
	border-radius: 17px;
}

.article-content figure {
	margin-block: 2em;
}

.article-content figcaption {
	color: var(--tn-muted);
	font-size: .72rem;
	text-align: center;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 1.7em;
	font-size: .86rem;
}

.article-content th,
.article-content td {
	border: 1px solid var(--tn-line);
	padding: 9px 12px;
}

.article-content th {
	background: var(--tn-primary-soft);
	color: var(--tn-primary-dark);
}

.article-content iframe {
	max-width: 100%;
}

.alignwide {
	width: min(1100px, calc(100vw - 50px));
	max-width: none;
	margin-right: 50%;
	transform: translateX(50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-right: 50%;
	transform: translateX(50%);
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 25px;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 17px;
	border: 1px solid var(--tn-line);
	border-radius: 15px;
	background: #fff;
	padding: 13px 15px;
	font-size: .72rem;
}

.article-tags a {
	border-radius: 8px;
	background: #eff5f2;
	color: #527068;
	padding: 4px 8px;
}

.author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: center;
	margin-top: 17px;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	background: #fff;
	padding: 18px;
}

.author-avatar {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: var(--tn-primary-soft);
	color: var(--tn-primary);
}

.author-box span {
	color: var(--tn-muted);
	font-size: .65rem;
}

.author-box h2 {
	margin: 1px 0;
	font-size: 1rem;
}

.author-box p {
	margin: 4px 0 0;
	color: var(--tn-muted);
	font-size: .72rem;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 17px;
}

.post-navigation-item {
	min-width: 0;
	border: 1px solid var(--tn-line);
	border-radius: 15px;
	background: #fff;
	padding: 14px;
}

.post-navigation-item > span {
	display: block;
	margin-bottom: 4px;
	color: var(--tn-muted);
	font-size: .62rem;
}

.post-navigation-item a {
	display: -webkit-box;
	overflow: hidden;
	font-size: .76rem;
	font-weight: 750;
	line-height: 1.65;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.post-navigation-item.next {
	text-align: left;
}

.related-news {
	margin-top: 55px;
	border-block: 1px solid var(--tn-line);
	background: #edf6f2;
	padding-block: 45px;
}

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

.related-grid .news-card-image {
	height: 155px;
}

.related-grid .news-card-title {
	font-size: .87rem;
}

.comments-container {
	max-width: 920px;
}

.comments-area {
	margin-top: 45px;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	background: #fff;
	padding: 28px;
}

.comments-title,
.comment-reply-title {
	font-size: 1.2rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .comment-body {
	margin-bottom: 13px;
	border: 1px solid var(--tn-line);
	border-radius: 15px;
	background: #f9fbfa;
	padding: 15px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 9px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	margin: 5px 0 10px;
	color: var(--tn-muted);
	font-size: .65rem;
}

.comment-content {
	font-size: .82rem;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.comment-notes,
.logged-in-as {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: .72rem;
	font-weight: 700;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--tn-line);
	border-radius: 11px;
	background: #fff;
	padding: 10px 12px;
	outline: 0;
}

.comment-form input:not([type="checkbox"]):focus,
.comment-form textarea:focus {
	border-color: var(--tn-primary);
}

.comment-form .submit {
	min-height: 45px;
	border: 0;
	border-radius: 11px;
	background: var(--tn-primary);
	color: #fff;
	padding-inline: 20px;
	font-weight: 750;
}

/* Pages */
.page-article {
	width: min(100%, 960px);
	margin: 0 auto;
}

.page-header {
	text-align: center;
}

.page-featured-image {
	overflow: hidden;
	margin-bottom: 20px;
	border-radius: var(--tn-radius-lg);
}

.page-content {
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	background: #fff;
	padding: 36px;
	font-size: .96rem;
	line-height: 2.05;
}

.fullwidth-page {
	width: 100%;
}

.error-404 {
	min-height: 55vh;
	display: grid;
	place-content: center;
	justify-items: center;
	text-align: center;
}

.error-code {
	color: var(--tn-primary-soft);
	font-size: clamp(6rem, 18vw, 12rem);
	font-weight: 950;
	line-height: .9;
	text-shadow: 0 2px 0 #cde4da;
}

.error-404 h1 {
	max-width: 720px;
	margin: 8px 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.error-404 p {
	max-width: 650px;
	color: var(--tn-muted);
}

.error-404 .search-form {
	width: min(100%, 620px);
	margin: 10px 0 17px;
}

/* Footer */
.site-footer {
	background: #092e25;
	color: rgba(255, 255, 255, .76);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 26px;
	padding-block: 38px 32px;
}

.footer-brand .custom-logo-link {
	width: 94px;
	height: 84px;
	border-color: rgba(255, 255, 255, .12);
}

.footer-brand > p {
	max-width: 330px;
	margin: 16px 0;
	font-size: .75rem;
	line-height: 1.9;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.footer-socials a {
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	padding: 5px 9px;
	font-size: .67rem;
}

.footer-socials a:hover {
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

.footer-column h2,
.footer-column .widget-title {
	margin: 0 0 15px;
	border: 0;
	color: #fff;
	padding: 0;
	font-size: .92rem;
}

.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-column li {
	border: 0;
	padding: 4px 0;
	font-size: .72rem;
}

.footer-column p {
	font-size: .73rem;
	line-height: 1.9;
}

.footer-widget-column .widget {
	border: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.footer-limit-3 .footer-column li:nth-child(n+4),
.footer-limit-4 .footer-column li:nth-child(n+5),
.footer-limit-5 .footer-column li:nth-child(n+6),
.footer-limit-6 .footer-column li:nth-child(n+7) {
	display: none;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: #07261f;
}

.footer-bottom-inner {
	min-height: 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.footer-bottom p {
	margin: 0;
	font-size: .65rem;
}

.theme-credit {
	color: rgba(255, 255, 255, .5);
}

.back-to-top {
	position: fixed;
	z-index: 90;
	left: 18px;
	bottom: 18px;
	width: 45px;
	height: 45px;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	border: 0;
	border-radius: 14px;
	background: var(--tn-primary);
	color: #fff;
	box-shadow: var(--tn-shadow-lg);
	transform: translateY(10px);
	transition: .2s ease;
}

.back-to-top.is-visible {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.site-toast {
	position: fixed;
	z-index: 1000;
	left: 50%;
	bottom: 25px;
	width: min(calc(100% - 30px), 420px);
	visibility: hidden;
	opacity: 0;
	border-radius: 12px;
	background: var(--tn-primary-dark);
	color: #fff;
	padding: 11px 15px;
	font-size: .75rem;
	text-align: center;
	box-shadow: var(--tn-shadow-lg);
	transform: translate(-50%, 10px);
	transition: .2s ease;
}

.site-toast.is-visible {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

/* WordPress core */
.sticky {
	position: relative;
}

.bypostauthor {
	border-color: var(--tn-primary);
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.wp-caption-text {
	color: var(--tn-muted);
	font-size: .72rem;
}

.alignleft {
	float: left;
	margin: .5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: .5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

@media (max-width: 1100px) {
	.hero-layout {
		grid-template-columns: minmax(0, 1.3fr) minmax(330px, .9fr);
	}

	.hero-lead {
		min-height: 480px;
	}

	.hero-small-image {
		height: 130px;
	}

	.content-with-sidebar,
	.archive-layout,
	.single-layout {
		grid-template-columns: minmax(0, 1fr) 285px;
		gap: 20px;
	}

	.topic-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}

	.news-card-section-lead {
		grid-row: span 4;
	}

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

	.video-news-layout {
		grid-template-columns: minmax(0, 1.45fr) minmax(285px, .8fr);
	}

	.footer-grid {
		grid-template-columns: 1.2fr repeat(2, 1fr);
	}

	.footer-widget-column:last-child {
		display: none;
	}
}

@media (max-width: 900px) {
	.top-links {
		display: none;
	}

	.branding-row {
		min-height: 94px;
	}

	.custom-logo-link {
		width: 78px;
		height: 72px;
	}

	.site-title {
		font-size: 1.35rem;
	}

	.primary-navigation {
		display: none;
	}

	.menu-toggle {
		display: grid;
	}

	body.menu-open .menu-toggle-open {
		display: none;
	}

	body.menu-open .menu-toggle-close {
		display: inline-flex;
	}

	.mobile-navigation {
		position: fixed;
		z-index: 250;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(88vw, 380px);
		display: block;
		visibility: hidden;
		overflow-y: auto;
		background: #fff;
		padding: max(20px, env(safe-area-inset-top)) 20px 30px;
		box-shadow: -20px 0 55px rgba(7, 38, 31, .18);
		transform: translateX(104%);
		transition: .24s ease;
	}

	body.menu-open .mobile-navigation {
		visibility: visible;
		transform: none;
	}

	.mobile-backdrop {
		position: fixed;
		z-index: 240;
		inset: 0;
		display: none;
		background: rgba(7, 38, 31, .56);
		backdrop-filter: blur(3px);
	}

	body.menu-open .mobile-backdrop:not([hidden]) {
		display: block;
	}

	.mobile-navigation-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 15px;
		border-bottom: 1px solid var(--tn-line);
		padding-bottom: 14px;
	}

	.mobile-navigation-head strong {
		color: var(--tn-primary-dark);
		font-size: .92rem;
	}

	.mobile-menu {
		padding-block: 12px;
	}

	.mobile-menu li {
		border-bottom: 1px solid #e9efec;
	}

	.mobile-menu a {
		display: block;
		padding: 10px 3px;
		font-size: .84rem;
		font-weight: 720;
	}

	.mobile-menu .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0 14px 8px 0;
	}

	.mobile-menu .sub-menu li {
		border: 0;
	}

	.mobile-menu .sub-menu a {
		color: var(--tn-muted);
		font-size: .76rem;
		font-weight: 600;
	}

	.mobile-socials {
		display: flex;
		flex-wrap: wrap;
		gap: 7px;
		margin-top: 12px;
	}

	.mobile-socials a {
		border: 1px solid var(--tn-line);
		border-radius: 8px;
		padding: 5px 9px;
		font-size: .68rem;
	}

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

	.hero-lead {
		min-height: 470px;
	}

	.hero-secondary {
		grid-template-columns: repeat(4, minmax(235px, 1fr));
		overflow-x: auto;
		padding: 2px 1px 12px;
		scroll-snap-type: x mandatory;
	}

	.hero-small-card {
		scroll-snap-align: start;
	}

	.content-with-sidebar,
	.archive-layout,
	.single-layout {
		grid-template-columns: 1fr;
	}

	.video-news-layout {
		grid-template-columns: 1fr;
	}

	.video-playlist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.news-card-horizontal {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.article-body-layout {
		grid-template-columns: 1fr;
	}

	.share-rail {
		position: static;
		flex-direction: row;
		justify-content: flex-start;
	}

	.share-rail > span {
		margin: 0 0 0 4px;
	}

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

	.footer-widget-column:last-child {
		display: block;
	}
}

@media (max-width: 680px) {
	.site-container {
		width: min(calc(100% - 24px), var(--tn-container));
	}

	.top-strip-inner {
		justify-content: center;
	}

	.brand-copy > p:last-child,
	.latest-button {
		display: none;
	}

	.brand-lockup {
		gap: 10px;
	}

	.custom-logo-link {
		width: 64px;
		height: 60px;
		border-radius: 14px;
	}

	.site-title {
		font-size: 1.12rem;
	}

	.header-actions {
		gap: 6px;
	}

	.header-icon-button {
		width: 40px;
		height: 40px;
	}

	.news-ticker-inner {
		width: 100%;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 8px;
		padding-right: 12px;
	}

	.ticker-label {
		border-radius: 0 8px 8px 0;
	}

	.hero-section {
		padding-block: 22px 34px;
	}

	.hero-lead {
		min-height: 410px;
		border-radius: 22px;
	}

	.hero-content {
		padding: 22px;
	}

	.hero-content h2 {
		font-size: 1.52rem;
	}

	.hero-content p {
		display: none;
	}

	.hero-small-image {
		height: 142px;
	}

	.latest-news-grid,
	.archive-grid,
	.related-grid {
		grid-template-columns: 1fr;
	}

	.news-card-image {
		height: 215px;
	}

	.topic-section {
		padding-block: 38px;
	}

	.video-news-section {
		padding-block: 38px;
	}

	.video-player-shell,
	.video-player-shell iframe,
	.video-player-shell video,
	.video-player-shell .wp-video,
	.video-player-shell .mejs-container,
	.video-poster-link,
	.video-poster-link img,
	.video-poster-link .post-image-fallback {
		min-height: 260px;
	}

	.video-playlist {
		grid-template-columns: 1fr;
	}

	.topic-grid {
		grid-template-columns: 1fr;
	}

	.news-card-section-lead {
		grid-row: auto;
	}

	.news-card-section-lead .news-card-image {
		height: 250px;
	}

	.news-card-compact {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.site-sidebar {
		grid-template-columns: 1fr;
	}

	.section-heading {
		align-items: center;
	}

	.section-heading h2 {
		font-size: 1.25rem;
	}

	.section-more {
		font-size: .67rem;
	}

	.archive-header,
	.page-header {
		border-radius: 20px;
		padding: 20px;
	}

	.news-card-horizontal {
		grid-template-columns: 118px minmax(0, 1fr);
		min-height: 145px;
		border-radius: 16px;
	}

	.news-card-horizontal .news-card-image {
		min-height: 145px;
	}

	.news-card-horizontal .news-card-body {
		padding: 12px;
	}

	.news-card-horizontal .news-card-title {
		font-size: .84rem;
		-webkit-line-clamp: 3;
	}

	.news-card-horizontal .news-card-excerpt,
	.news-card-horizontal .card-meta span {
		display: none;
	}

	.article-header {
		text-align: right;
	}

	.article-categories,
	.article-meta-row,
	.post-meta {
		justify-content: flex-start;
	}

	.article-header h1 {
		font-size: 1.72rem;
		line-height: 1.62;
	}

	.article-lead {
		font-size: .9rem;
	}

	.news-code {
		width: 100%;
		border-right: 0;
		padding-right: 0;
	}

	.article-featured-image {
		border-radius: 20px;
	}

	.article-video-player,
	.article-video-player iframe,
	.article-video-player video,
	.article-video-player .wp-video,
	.article-video-player .mejs-container {
		min-height: 250px;
		border-radius: 20px;
	}

	.article-body-layout {
		border-radius: 20px;
		padding: 18px 16px 27px;
	}

	.article-content {
		font-size: .96rem;
		line-height: 2.1;
	}

	.article-content h2 {
		font-size: 1.28rem;
	}

	.alignwide,
	.alignfull {
		width: 100%;
		margin-right: 0;
		transform: none;
	}

	.post-navigation,
	.comment-form {
		grid-template-columns: 1fr;
	}

	.post-navigation-item.next {
		text-align: right;
	}

	.comments-area,
	.page-content {
		border-radius: 20px;
		padding: 18px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 13px;
	}

	.search-form {
		grid-template-columns: 1fr;
	}

	.search-submit {
		height: 48px;
	}
}

@media (max-width: 400px) {
	.brand-copy {
		display: none;
	}

	.hero-lead {
		min-height: 380px;
	}

	.hero-content h2 {
		font-size: 1.34rem;
	}

	.news-card-compact,
	.news-card-horizontal {
		grid-template-columns: 105px minmax(0, 1fr);
	}
}

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

@media print {
	.top-strip,
	.primary-navigation,
	.news-ticker,
	.header-actions,
	.site-sidebar,
	.share-rail,
	.related-news,
	.comments-area,
	.site-footer,
	.back-to-top,
	.reading-progress {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.article-body-layout {
		display: block;
		border: 0;
		box-shadow: none;
		padding: 0;
	}

	.article-header h1 {
		font-size: 28pt;
	}
}
