/*
Theme Name: TGNNs Newsroom
Theme URI: https://tgnns.com
Author: TGNNs Editorial
Author URI: https://tgnns.com
Description: A fast, SEO-optimised newspaper-style theme built for TGNNs.com, a Telangana-focused digital news publication. Ships with a breaking-news ticker, category-coded story cards, NewsArticle/Organization/BreadcrumbList structured data, Open Graph & Twitter Card meta, and a classic masthead layout tuned for news publishing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: tgnns-news
Tags: news, blog, one-column, two-columns, three-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options, full-width-template, sticky-post

TGNNs Newsroom is designed and built for tgnns.com.
*/

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */
:root {
	--tgnns-ink: #161616;
	--tgnns-ink-soft: #3a3a3a;
	--tgnns-paper: #fdfcf9;
	--tgnns-paper-alt: #f4f2ec;
	--tgnns-line: #1a1a1a;
	--tgnns-line-soft: #ddd8cc;
	--tgnns-gray: #6b6b6b;
	--tgnns-red: #c8102e;
	--tgnns-red-dark: #96081f;
	--tgnns-gold: #b9862a;
	--tgnns-white: #ffffff;

	--tgnns-font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--tgnns-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--tgnns-font-meta: 'Oswald', Impact, 'Segoe UI', sans-serif;

	--tgnns-max: 1240px;
	--tgnns-radius: 2px;

	/* category accent colors, keyed to config/categories.yaml slugs */
	--cat-telangana-news: #c8102e;
	--cat-hyderabad-news: #0f6b3f;
	--cat-district-news: #1c5d99;
	--cat-politics: #7a1f2b;
	--cat-crime: #8c0f0f;
	--cat-education: #1c5d99;
	--cat-jobs: #b9700a;
	--cat-business: #0f6b3f;
	--cat-technology: #2b6ca3;
	--cat-health: #a3216b;
	--cat-weather: #2a8fa3;
	--cat-government-schemes: #6a4c1e;
	--cat-real-estate: #6a5f1e;
	--cat-transport: #4a5a1e;
	--cat-railways: #5a3d8c;
	--cat-tgsrtc: #4a5a1e;
	--cat-hyderabad-metro: #1c5d99;
	--cat-sports: #0f6b3f;
	--cat-entertainment: #8c1f8c;
	--cat-lifestyle: #a3216b;
	--cat-events: #b9862a;
	--cat-agriculture: #4a6a1e;
	--cat-civic-issues: #8c5a0f;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--tgnns-paper);
	color: var(--tgnns-ink);
	font-family: var(--tgnns-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
figure { margin: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--tgnns-red); }

ul, ol { padding-left: 1.2em; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tgnns-font-headline);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 0.5em;
	color: var(--tgnns-ink);
}

p { margin: 0 0 1.2em; }

button, input, select, textarea { font-family: inherit; font-size: 1rem; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	padding: 12px 18px;
	background: var(--tgnns-ink);
	color: #fff;
	z-index: 100000;
	border-radius: var(--tgnns-radius);
}

.container {
	max-width: var(--tgnns-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   3. Top Utility Bar
   ========================================================================== */
.top-bar {
	background: var(--tgnns-ink);
	color: #cfcfcf;
	font-family: var(--tgnns-font-meta);
	font-size: 12.5px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.top-bar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 38px;
}
.top-bar__date { opacity: 0.85; }
.top-bar__social { display: flex; gap: 14px; align-items: center; }
.top-bar__social a { color: #cfcfcf; display: flex; }
.top-bar__social a:hover { color: var(--tgnns-white); }
.top-bar__social svg { width: 15px; height: 15px; }

/* ==========================================================================
   4. Breaking News Ticker
   ========================================================================== */
.breaking-ticker {
	background: var(--tgnns-red);
	color: #fff;
	overflow: hidden;
}
.breaking-ticker .container {
	display: flex;
	align-items: center;
	height: 42px;
	gap: 14px;
}
.breaking-ticker__label {
	flex: none;
	font-family: var(--tgnns-font-meta);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
	background: var(--tgnns-red-dark);
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 14px;
	margin-left: -20px;
}
.breaking-ticker__viewport {
	flex: 1 1 auto;
	overflow: hidden;
	position: relative;
	height: 100%;
}
.breaking-ticker__track {
	display: flex;
	align-items: center;
	gap: 60px;
	white-space: nowrap;
	position: absolute;
	height: 100%;
	animation: tgnns-ticker 32s linear infinite;
	will-change: transform;
}
.breaking-ticker:hover .breaking-ticker__track,
.breaking-ticker__track:focus-within { animation-play-state: paused; }
.breaking-ticker__track a { font-size: 14.5px; font-weight: 600; }
.breaking-ticker__track a:hover { color: #ffe3e3; }
@keyframes tgnns-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.breaking-ticker__track { animation: none; overflow-x: auto; }
}

/* ==========================================================================
   5. Masthead
   ========================================================================== */
.masthead {
	background: var(--tgnns-paper);
	border-bottom: 4px double var(--tgnns-line);
	padding: 26px 0 18px;
	text-align: center;
}
.masthead__brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.masthead__logo-img { max-height: 76px; width: auto; }
.masthead__title {
	font-family: var(--tgnns-font-headline);
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 900;
	letter-spacing: -0.01em;
	margin: 0;
}
.masthead__tagline {
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12.5px;
	color: var(--tgnns-gray);
	margin-top: 2px;
}
.masthead__strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	color: var(--tgnns-gray);
	font-size: 12.5px;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.masthead__strip span::before { content: '\2022'; margin-right: 10px; color: var(--tgnns-red); }
.masthead__strip span:first-child::before { content: none; }

/* ==========================================================================
   6. Primary Navigation
   ========================================================================== */
.site-nav {
	background: var(--tgnns-ink);
	border-bottom: 1px solid #000;
	position: sticky;
	top: 0;
	z-index: 500;
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-toggle {
	display: none;
	background: none;
	border: 0;
	color: #fff;
	padding: 14px 4px;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.05em;
}
.nav-toggle svg { width: 20px; height: 20px; }

.primary-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.primary-menu li { position: relative; }
.primary-menu a {
	display: block;
	color: #f2f2f2;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	padding: 14px 15px;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: #fff;
	border-bottom-color: var(--tgnns-red);
}
.primary-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	position: absolute;
	left: 0;
	top: 100%;
	background: var(--tgnns-ink);
	min-width: 200px;
	box-shadow: 0 10px 24px rgba(0,0,0,0.25);
	display: none;
	z-index: 50;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 10px 16px; border-bottom: 0; }

.nav-search { display: flex; align-items: center; }
.nav-search-toggle {
	background: none; border: 0; color: #fff; cursor: pointer; padding: 12px 8px; display: flex;
}
.nav-search-toggle svg { width: 18px; height: 18px; }
.nav-search-form { display: none; align-items: center; }
.nav-search-form.is-open { display: flex; }
.nav-search-form input[type="search"] {
	border: 0; padding: 8px 10px; width: 170px; font-size: 14px; border-radius: var(--tgnns-radius) 0 0 var(--tgnns-radius);
}
.nav-search-form button {
	border: 0; background: var(--tgnns-red); color: #fff; padding: 8px 12px; cursor: pointer; border-radius: 0 var(--tgnns-radius) var(--tgnns-radius) 0;
}

/* ==========================================================================
   7. Category Badges & Meta
   ========================================================================== */
.cat-badge {
	display: inline-block;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #fff;
	background: var(--tgnns-red);
	padding: 4px 9px;
	border-radius: var(--tgnns-radius);
}
.entry-meta {
	font-size: 13px;
	color: var(--tgnns-gray);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
}
.entry-meta a { color: var(--tgnns-gray); }
.entry-meta a:hover { color: var(--tgnns-red); }

/* ==========================================================================
   8. Layout Grid
   ========================================================================== */
.content-area { padding: 34px 0 50px; }
.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 42px;
	align-items: start;
}
.section-heading {
	font-family: var(--tgnns-font-headline);
	font-size: 24px;
	font-weight: 800;
	border-bottom: 3px solid var(--tgnns-ink);
	padding-bottom: 8px;
	margin-bottom: 18px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.section-heading a.more-link {
	font-family: var(--tgnns-font-meta);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--tgnns-red);
}

/* Hero / featured block */
.hero-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
	margin-bottom: 44px;
}
.hero-main { position: relative; }
.hero-main a.hero-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: #ddd; border-radius: var(--tgnns-radius); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-main a.hero-media:hover img { transform: scale(1.04); }
.hero-main .hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 75%);
	display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
}
.hero-main .hero-overlay .cat-badge { margin-bottom: 10px; }
.hero-main .hero-overlay h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.hero-main .hero-overlay .entry-meta { color: #e6e6e6; }
.hero-main .hero-overlay .entry-meta a { color: #e6e6e6; }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.hero-side-item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.hero-side-item .thumb { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--tgnns-radius); background: #ddd; }
.hero-side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-item h3 { font-size: 16px; margin-bottom: 4px; }
.hero-side-item h3 a:hover { color: var(--tgnns-red); }

/* Story card grid */
.story-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 46px;
}
.story-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.story-card { display: flex; flex-direction: column; }
.story-card .thumb {
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: var(--tgnns-radius);
	background: #ddd;
	margin-bottom: 12px;
}
.story-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story-card:hover .thumb img { transform: scale(1.06); }
.story-card .cat-badge { align-self: flex-start; margin-bottom: 8px; }
.story-card h3 { font-size: 18px; margin-bottom: 8px; }
.story-card h3 a:hover { color: var(--tgnns-red); }
.story-card .excerpt { font-size: 14.5px; color: var(--tgnns-ink-soft); margin-bottom: 8px; }

/* Compact list (sidebar / secondary lists) */
.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 10px;
	padding: 14px 0;
	border-bottom: 1px solid var(--tgnns-line-soft);
}
.story-list li:first-child { padding-top: 0; }
.story-list .rank {
	font-family: var(--tgnns-font-headline);
	font-size: 22px;
	font-weight: 800;
	color: var(--tgnns-line-soft);
	-webkit-text-stroke: 1px var(--tgnns-gray);
}
.story-list h4 { font-size: 15px; margin: 0 0 4px; }
.story-list h4 a:hover { color: var(--tgnns-red); }

/* Category rail (multi-category home sections) */
.category-rail { margin-bottom: 46px; }

/* ==========================================================================
   9. Single Post
   ========================================================================== */
.article-header { max-width: 820px; margin: 0 auto 24px; text-align: left; }
.article-header .cat-badge { margin-bottom: 14px; }
.article-header h1 {
	font-size: clamp(28px, 4.4vw, 46px);
	margin-bottom: 14px;
}
.article-header .entry-excerpt {
	font-size: 19px;
	color: var(--tgnns-ink-soft);
	font-family: var(--tgnns-font-headline);
	font-style: italic;
	margin-bottom: 16px;
}
.byline {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--tgnns-line-soft);
	border-bottom: 1px solid var(--tgnns-line-soft);
}
.byline img.avatar { border-radius: 50%; width: 44px; height: 44px; }
.byline .byline-name { font-weight: 700; font-size: 14.5px; }
.byline .byline-meta { font-size: 12.5px; color: var(--tgnns-gray); }
.byline .share-links { margin-left: auto; display: flex; gap: 8px; }
.byline .share-links a {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tgnns-line-soft);
	display: flex; align-items: center; justify-content: center;
}
.byline .share-links a:hover { background: var(--tgnns-ink); color: #fff; border-color: var(--tgnns-ink); }
.byline .share-links svg { width: 15px; height: 15px; }

.article-featured-media { max-width: 980px; margin: 24px auto; }
.article-featured-media img { width: 100%; border-radius: var(--tgnns-radius); }
.article-featured-media figcaption {
	font-size: 13px; color: var(--tgnns-gray); padding: 8px 2px 0; border-left: 3px solid var(--tgnns-red); padding-left: 10px; margin-top: 8px;
}

.entry-content {
	max-width: 720px;
	margin: 0 auto;
	font-size: 18.5px;
	line-height: 1.75;
}
.entry-content > p:first-of-type::first-letter {
	font-family: var(--tgnns-font-headline);
	float: left;
	font-size: 68px;
	line-height: 0.8;
	font-weight: 800;
	padding: 8px 8px 0 0;
	color: var(--tgnns-red);
}
.entry-content h2 { font-size: 27px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { color: var(--tgnns-red-dark); text-decoration: underline; text-underline-offset: 2px; }
.entry-content blockquote {
	margin: 28px 0;
	padding: 6px 0 6px 22px;
	border-left: 4px solid var(--tgnns-red);
	font-family: var(--tgnns-font-headline);
	font-style: italic;
	font-size: 21px;
	color: var(--tgnns-ink-soft);
}
.entry-content img, .entry-content figure { margin: 24px auto; border-radius: var(--tgnns-radius); }
.entry-content figcaption { font-size: 13px; color: var(--tgnns-gray); text-align: center; margin-top: 6px; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--tgnns-line-soft); padding: 8px 10px; text-align: left; }
.entry-content table th { background: var(--tgnns-paper-alt); }
.entry-content hr { border: 0; border-top: 1px solid var(--tgnns-line-soft); margin: 2em 0; }
.entry-content .wp-caption, .entry-content .aligncenter { text-align: center; }

.article-footer { max-width: 720px; margin: 34px auto 0; }
.tag-cloud-links, .post-tags {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0;
}
.post-tags a {
	font-size: 12.5px;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 1px solid var(--tgnns-line-soft);
	padding: 6px 12px;
	border-radius: 20px;
}
.post-tags a:hover { background: var(--tgnns-ink); color: #fff; border-color: var(--tgnns-ink); }

.author-box {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 16px;
	background: var(--tgnns-paper-alt);
	padding: 22px;
	border-radius: var(--tgnns-radius);
	margin: 34px 0;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
.author-box img { border-radius: 50%; width: 76px; height: 76px; }
.author-box h4 { font-size: 15px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; font-family: var(--tgnns-font-meta); }
.author-box p { font-size: 14.5px; margin-bottom: 0; color: var(--tgnns-ink-soft); }

.related-posts { max-width: 980px; margin: 50px auto 0; }

.breadcrumbs {
	font-size: 12.5px;
	color: var(--tgnns-gray);
	max-width: 980px;
	margin: 0 auto 18px;
	font-family: var(--tgnns-font-meta);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.breadcrumbs a { color: var(--tgnns-gray); }
.breadcrumbs a:hover { color: var(--tgnns-red); }
.breadcrumbs .sep { margin: 0 6px; }

/* ==========================================================================
   10. Sidebar / Widgets
   ========================================================================== */
.widget { margin-bottom: 40px; }
.widget-title {
	font-family: var(--tgnns-font-headline);
	font-size: 19px;
	font-weight: 800;
	border-bottom: 3px solid var(--tgnns-ink);
	padding-bottom: 8px;
	margin-bottom: 16px;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget_search .search-form { display: flex; }
.widget_search input[type="search"] { flex: 1; border: 1px solid var(--tgnns-line-soft); padding: 10px 12px; }
.widget_search button { border: 0; background: var(--tgnns-ink); color: #fff; padding: 0 16px; cursor: pointer; }
.widget_categories ul li, .widget_archive ul li {
	display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--tgnns-line-soft); font-size: 14.5px;
}
.widget_tag_cloud .tagcloud a {
	display: inline-block; font-size: 12.5px !important; border: 1px solid var(--tgnns-line-soft); padding: 5px 10px; margin: 0 6px 6px 0; border-radius: 20px;
}

.newsletter-box {
	background: var(--tgnns-ink);
	color: #fff;
	padding: 26px;
	border-radius: var(--tgnns-radius);
}
.newsletter-box h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.newsletter-box p { color: #cfcfcf; font-size: 14px; margin-bottom: 14px; }
.newsletter-box form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-box input[type="email"] { padding: 10px 12px; border: 0; border-radius: var(--tgnns-radius); }
.newsletter-box button {
	background: var(--tgnns-red); color: #fff; border: 0; padding: 11px; font-weight: 700; cursor: pointer; border-radius: var(--tgnns-radius);
	text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
}
.newsletter-box button:hover { background: var(--tgnns-red-dark); }

.ad-slot {
	border: 1px dashed var(--tgnns-line-soft);
	color: var(--tgnns-gray);
	font-size: 12px;
	text-align: center;
	padding: 20px 10px;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-family: var(--tgnns-font-meta);
}

/* ==========================================================================
   11. Pagination / Comments / Forms
   ========================================================================== */
.pagination, .nav-links {
	display: flex; justify-content: center; gap: 8px; margin: 30px 0 10px; flex-wrap: wrap;
}
.pagination a, .pagination span, .nav-links a, .nav-links span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--tgnns-line-soft);
	font-family: var(--tgnns-font-meta); font-size: 13px;
}
.pagination .current, .nav-links .current { background: var(--tgnns-ink); color: #fff; border-color: var(--tgnns-ink); }

.comments-area { max-width: 720px; margin: 50px auto 0; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--tgnns-line-soft); }
.comment-author .avatar { border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.comment-metadata { font-size: 12.5px; color: var(--tgnns-gray); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--tgnns-line-soft); margin-bottom: 12px; border-radius: var(--tgnns-radius);
}
.comment-form .form-submit input {
	background: var(--tgnns-ink); color: #fff; border: 0; padding: 12px 22px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--tgnns-ink); color: #cfcfcf; margin-top: 40px; padding: 50px 0 0; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-bottom: 34px; }
.site-footer .widget-title { color: #fff; border-bottom-color: #444; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.footer-about .footer-logo { font-family: var(--tgnns-font-headline); font-size: 26px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.footer-about p { font-size: 14px; color: #b8b8b8; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid #444; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom {
	border-top: 1px solid #333;
	padding: 18px 0 26px;
	font-size: 12.5px;
	color: #999;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.footer-bottom nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--tgnns-red); }

/* ==========================================================================
   13. Misc / Utility pages
   ========================================================================== */
.page-header-block { max-width: 820px; margin: 0 auto 30px; }
.page-header-block h1 { font-size: clamp(26px, 4vw, 40px); }
.archive-description { color: var(--tgnns-ink-soft); font-size: 16px; }

.not-found-block { text-align: center; padding: 60px 0; }
.not-found-block .big { font-family: var(--tgnns-font-headline); font-size: 120px; font-weight: 900; color: var(--tgnns-line-soft); line-height: 1; }

.reading-time::before { content: '\1F55B\0020'; }
.sticky .cat-badge::after { content: ' \00B7 Editor\2019s Pick'; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.layout-with-sidebar { grid-template-columns: 1fr; }
	.story-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.top-bar .top-bar__date { display: none; }
	.nav-toggle { display: inline-flex; }
	.primary-menu {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--tgnns-ink);
		border-top: 1px solid #333;
	}
	.primary-menu.is-open { display: flex; }
	.primary-menu .sub-menu { position: static; box-shadow: none; display: none; padding-left: 14px; }
	.primary-menu li.submenu-open > .sub-menu { display: block; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-side { flex-direction: row; overflow-x: auto; }
	.hero-side-item { min-width: 240px; }
	.story-grid { grid-template-columns: 1fr 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.author-box { grid-template-columns: 1fr; text-align: center; }
	.author-box img { margin: 0 auto; }
}

@media (max-width: 520px) {
	.masthead__title { font-size: 34px; }
	.story-grid { grid-template-columns: 1fr; }
	.byline { flex-wrap: wrap; }
	.byline .share-links { margin-left: 0; }
}

/* ==========================================================================
   15. Print
   ========================================================================== */
@media print {
	.top-bar, .breaking-ticker, .site-nav, .sidebar, .site-footer, .newsletter-box, .ad-slot, .byline .share-links { display: none !important; }
	.entry-content { max-width: 100%; font-size: 12pt; }
	a { color: #000 !important; text-decoration: none !important; }
}
