/*
Theme Name: The Concrete News
Theme URI: https://theconcretenews.com/
Author: The Concrete News
Author URI: https://theconcretenews.com/
Description: A bold, fast, responsive news theme for The Concrete News. Red/white/black brand system, breaking news ticker, 3-column hero grid, sticky sidebar and clean single-post layout. No external CSS frameworks.
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: the-concrete-news
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--tcn-red: #E60000;
	--tcn-red-dark: #B30000;
	--tcn-white: #FFFFFF;
	--tcn-dark: #111111;
	--tcn-charcoal: #222222;
	--tcn-muted: #666666;
	--tcn-bg: #F4F5F7;
	--tcn-border: #E2E4E8;
	--font-heading: 'Oswald', sans-serif;
	--font-body: 'Inter', sans-serif;
	--tcn-container: 1240px;
	--tcn-gap: 24px;
	--tcn-radius: 2px;
	--tcn-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	--tcn-nav-height: 52px;
}

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

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

body {
	margin: 0;
	background: var(--tcn-bg);
	color: var(--tcn-charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.tcn-menu-open { overflow: hidden; }

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

a { color: var(--tcn-red); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
a:hover, a:focus { color: var(--tcn-red-dark); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--tcn-dark);
}

p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }

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

:focus-visible { outline: 2px solid var(--tcn-red); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--tcn-white); clip: auto !important; clip-path: none;
	color: var(--tcn-dark); display: block; font-weight: 700; height: auto;
	left: 8px; top: 8px; padding: 12px 20px; width: auto; z-index: 100000;
}

.tcn-container {
	width: 100%;
	max-width: var(--tcn-container);
	margin: 0 auto;
	padding: 0 16px;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--tcn-muted); padding-top: 6px; }

/* ==========================================================================
   3. Top utility bar
   ========================================================================== */
.tcn-topbar {
	background: var(--tcn-dark);
	color: #cfcfcf;
	font-size: 13px;
}
.tcn-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.tcn-topbar__date { margin: 0; font-weight: 600; letter-spacing: .02em; }
.tcn-topbar__right { display: flex; align-items: center; gap: 14px; }

.tcn-social { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tcn-social a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 28px; height: 28px; padding: 0 6px;
	font-family: var(--font-heading); font-size: 12px; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase;
	color: #cfcfcf; border: 1px solid #333; border-radius: var(--tcn-radius);
}
.tcn-social a:hover, .tcn-social a:focus { background: var(--tcn-red); border-color: var(--tcn-red); color: var(--tcn-white); }

/* ==========================================================================
   4. Main header + logo
   ========================================================================== */
.tcn-header {
	background: var(--tcn-red);
	border-bottom: 3px solid var(--tcn-white);
}
.tcn-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.tcn-header__brand { flex: 0 0 auto; }

.tcn-header__brand .custom-logo-link { display: block; line-height: 0; }
.tcn-header__brand .custom-logo { max-height: 90px; width: auto; }

.tcn-logo { display: inline-block; line-height: 0; color: var(--tcn-white); text-decoration: none; }
.tcn-logo:hover, .tcn-logo:focus { color: var(--tcn-white); }
.tcn-logo__svg { display: block; width: clamp(200px, 20vw, 250px); height: auto; overflow: visible; }
.tcn-logo__svg { fill: var(--tcn-white); fill-rule: evenodd; aspect-ratio: 1377 / 587; }
.tcn-logo--nav { display: none; }
.tcn-date-short { display: none; }
.tcn-site-title-hidden {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

.tcn-header__ad {
	flex: 0 1 728px;
	max-width: 728px;
	width: 100%;
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.tcn-header__ad .widget { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; width: 100%; }
.tcn-header__ad img, .tcn-header__ad iframe { max-width: 100%; height: auto; margin-left: auto; }

/* ==========================================================================
   5. Sticky navigation
   ========================================================================== */
.tcn-nav {
	background: var(--tcn-dark);
	position: sticky;
	top: 0;
	z-index: 900;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
body.admin-bar .tcn-nav { top: 32px; }

.tcn-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--tcn-nav-height);
	position: relative;
}

.tcn-menu-toggle, .tcn-search-toggle, .tcn-drawer-close {
	background: transparent;
	border: 0;
	color: var(--tcn-white);
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tcn-menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; }
.tcn-menu-toggle__bar { display: block; width: 24px; height: 2px; background: var(--tcn-white); transition: transform .25s ease, opacity .25s ease; }
.tcn-menu-toggle[aria-expanded="true"] .tcn-menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tcn-menu-toggle[aria-expanded="true"] .tcn-menu-toggle__bar:nth-child(2) { opacity: 0; }
.tcn-menu-toggle[aria-expanded="true"] .tcn-menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tcn-search-toggle { width: 44px; height: var(--tcn-nav-height); }
.tcn-search-toggle:hover, .tcn-search-toggle[aria-expanded="true"] { background: var(--tcn-red); }
.tcn-search-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.tcn-nav__menu-wrap { flex: 1 1 auto; }
.tcn-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tcn-menu li { position: relative; margin: 0; }
.tcn-menu a {
	display: block;
	padding: 0 18px;
	line-height: var(--tcn-nav-height);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--tcn-white);
}
.tcn-menu a:hover, .tcn-menu a:focus,
.tcn-menu .current-menu-item > a,
.tcn-menu .current-menu-ancestor > a,
.tcn-menu .current_page_item > a,
.tcn-menu .current-post-ancestor > a { background: var(--tcn-red); color: var(--tcn-white); }

/* Dropdowns */
.tcn-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: var(--tcn-charcoal);
	list-style: none; margin: 0; padding: 0;
	border-top: 3px solid var(--tcn-red);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
	z-index: 10;
}
.tcn-menu li:hover > .sub-menu,
.tcn-menu li:focus-within > .sub-menu { display: block; }
.tcn-menu .sub-menu a { line-height: 1.4; padding: 12px 18px; font-size: 14px; border-bottom: 1px solid #333; }

/* Search panel */
.tcn-search-panel {
	display: none;
	background: var(--tcn-charcoal);
	border-top: 1px solid #333;
	padding: 14px 0;
}
.tcn-search-panel.is-open { display: block; }
.tcn-search-form { display: flex; max-width: 640px; margin: 0 auto; }
.tcn-search-form input[type="search"] {
	flex: 1 1 auto; min-width: 0;
	padding: 11px 14px;
	border: 2px solid var(--tcn-white);
	border-right: 0;
	background: var(--tcn-white);
	color: var(--tcn-dark);
	border-radius: 0;
	-webkit-appearance: none;
}
.tcn-search-form button {
	flex: 0 0 auto;
	padding: 0 22px;
	background: var(--tcn-red);
	color: var(--tcn-white);
	border: 2px solid var(--tcn-red);
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	cursor: pointer;
}
.tcn-search-form button:hover { background: var(--tcn-red-dark); border-color: var(--tcn-red-dark); }

.tcn-drawer-head, .tcn-drawer-overlay { display: none; }

/* ==========================================================================
   6. Breaking news ticker
   ========================================================================== */
.tcn-ticker { background: var(--tcn-white); border-bottom: 1px solid var(--tcn-border); }
.tcn-ticker__inner { display: flex; align-items: stretch; min-height: 42px; }
.tcn-ticker__badge {
	flex: 0 0 auto;
	display: flex; align-items: center;
	background: var(--tcn-red);
	color: var(--tcn-white);
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 14px;
	padding: 0 18px;
	position: relative;
	z-index: 2;
}
.tcn-ticker__badge::after {
	content: ""; position: absolute; right: -10px; top: 0;
	border-style: solid; border-width: 21px 0 21px 10px;
	border-color: transparent transparent transparent var(--tcn-red);
}
.tcn-ticker__viewport { flex: 1 1 auto; overflow: hidden; position: relative; margin-left: 14px; }
.tcn-ticker__track {
	display: inline-flex;
	white-space: nowrap;
	min-width: 100%;
	height: 100%;
	align-items: center;
	animation: tcn-ticker-scroll 45s linear infinite;
	will-change: transform;
}
.tcn-ticker__viewport:hover .tcn-ticker__track,
.tcn-ticker__viewport:focus-within .tcn-ticker__track { animation-play-state: paused; }
.tcn-ticker__item { display: inline-flex; align-items: center; padding: 0 28px 0 0; font-weight: 600; font-size: 14px; }
.tcn-ticker__item::before {
	content: ""; width: 7px; height: 7px; background: var(--tcn-red);
	margin-right: 12px; flex: 0 0 auto;
}
.tcn-ticker__item a { color: var(--tcn-dark); }
.tcn-ticker__item a:hover { color: var(--tcn-red); }

@keyframes tcn-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.tcn-ticker__track { animation: none; overflow-x: auto; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   7. Layout wrappers
   ========================================================================== */
.tcn-main { padding: 28px 0 40px; }

.tcn-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}
.tcn-layout--full { grid-template-columns: minmax(0, 1fr); }

.tcn-section-title {
	display: flex; align-items: center;
	margin: 0 0 20px;
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 20px;
	color: var(--tcn-dark);
	border-bottom: 2px solid var(--tcn-dark);
}
.tcn-section-title span {
	display: inline-block;
	background: var(--tcn-red);
	color: var(--tcn-white);
	padding: 6px 16px;
	margin-bottom: -2px;
}

.tcn-archive-header { margin-bottom: 24px; }
.tcn-archive-header .tcn-archive-title {
	font-size: 32px; text-transform: uppercase; letter-spacing: .04em;
	padding-left: 14px; border-left: 6px solid var(--tcn-red); margin-bottom: 6px;
}
.tcn-archive-desc { color: var(--tcn-muted); margin: 0; }

/* ==========================================================================
   8. Hero grid (front page)
   ========================================================================== */
.tcn-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--tcn-gap);
	margin-bottom: 36px;
}

.tcn-hero__lead { position: relative; background: var(--tcn-dark); overflow: hidden; min-height: 460px; }
.tcn-hero__lead .tcn-hero__media { position: absolute; inset: 0; }
.tcn-hero__lead .tcn-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.tcn-hero__lead .tcn-hero__content {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 60px 22px 22px;
	background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, 0) 100%);
	color: var(--tcn-white);
}
.tcn-hero__lead .tcn-hero__title { font-size: 30px; line-height: 1.15; margin: 10px 0 8px; color: var(--tcn-white); }
.tcn-hero__lead .tcn-hero__title a { color: var(--tcn-white); }
.tcn-hero__lead .tcn-hero__title a:hover { color: #ffd0d0; }
.tcn-hero__lead .tcn-meta, .tcn-hero__lead .tcn-meta a { color: #dcdcdc; }
.tcn-hero__lead .tcn-badge { position: static; display: inline-block; }

.tcn-hero__secondary { display: grid; grid-template-rows: 1fr 1fr; gap: var(--tcn-gap); }
.tcn-hero__secondary-item { position: relative; background: var(--tcn-dark); overflow: hidden; min-height: 218px; }
.tcn-hero__secondary-item .tcn-hero__media { position: absolute; inset: 0; }
.tcn-hero__secondary-item .tcn-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.tcn-hero__secondary-item .tcn-hero__content {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 100%);
}
.tcn-hero__secondary-item .tcn-hero__title { font-size: 19px; margin: 8px 0 0; line-height: 1.2; }
.tcn-hero__secondary-item .tcn-hero__title a { color: var(--tcn-white); }
.tcn-hero__secondary-item .tcn-hero__title a:hover { color: #ffd0d0; }
.tcn-hero__secondary-item .tcn-badge { position: static; display: inline-block; }

.tcn-latest { background: var(--tcn-white); border-top: 4px solid var(--tcn-red); box-shadow: var(--tcn-shadow); display: flex; flex-direction: column; }
.tcn-latest__title {
	margin: 0; padding: 12px 16px;
	font-size: 18px; text-transform: uppercase; letter-spacing: .06em;
	border-bottom: 1px solid var(--tcn-border);
}
.tcn-latest__list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.tcn-latest__item { padding: 12px 16px; border-bottom: 1px solid var(--tcn-border); margin: 0; }
.tcn-latest__item:last-child { border-bottom: 0; }
.tcn-latest__time {
	display: block; font-size: 12px; font-weight: 600; color: var(--tcn-red);
	text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.tcn-latest__link {
	font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.3;
	color: var(--tcn-dark); display: block;
}
.tcn-latest__link:hover { color: var(--tcn-red); }

/* ==========================================================================
   9. Badges, meta, post cards
   ========================================================================== */
.tcn-badge {
	display: inline-block;
	background: var(--tcn-red);
	color: var(--tcn-white);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1;
	padding: 6px 10px;
	border-radius: var(--tcn-radius);
}
a.tcn-badge:hover, a.tcn-badge:focus { background: var(--tcn-red-dark); color: var(--tcn-white); }

.tcn-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
	font-size: 13px; color: var(--tcn-muted); font-weight: 600;
}
.tcn-meta a { color: var(--tcn-muted); }
.tcn-meta a:hover { color: var(--tcn-red); }
.tcn-meta__author { text-transform: uppercase; letter-spacing: .03em; }

.tcn-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tcn-gap); }

.tcn-card {
	background: var(--tcn-white);
	border: 1px solid var(--tcn-border);
	display: flex; flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.tcn-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); transform: translateY(-2px); }

.tcn-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--tcn-border); overflow: hidden; }
.tcn-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tcn-card:hover .tcn-card__thumb img { transform: scale(1.04); }
.tcn-card__thumb .tcn-badge { position: absolute; left: 12px; top: 12px; z-index: 2; }
.tcn-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--tcn-charcoal), var(--tcn-dark)); }

.tcn-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.tcn-card__title { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.tcn-card__title a { color: var(--tcn-dark); }
.tcn-card__title a:hover { color: var(--tcn-red); }
.tcn-card__excerpt { margin: 10px 0 0; color: var(--tcn-muted); font-size: 15px; }
.tcn-card__excerpt p { margin: 0; }

.tcn-card--wide { flex-direction: row; }
.tcn-card--wide .tcn-card__thumb { flex: 0 0 38%; aspect-ratio: 16 / 9; align-self: flex-start; }

/* Pagination */
.tcn-pagination { margin-top: 32px; }
.tcn-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tcn-pagination .page-numbers {
	display: inline-block; padding: 8px 14px;
	background: var(--tcn-white); border: 1px solid var(--tcn-border);
	color: var(--tcn-dark); font-family: var(--font-heading); font-weight: 700;
}
.tcn-pagination .page-numbers.current,
.tcn-pagination a.page-numbers:hover { background: var(--tcn-red); border-color: var(--tcn-red); color: var(--tcn-white); }

/* ==========================================================================
   10. Sidebar + widgets
   ========================================================================== */
.tcn-sidebar { position: sticky; top: calc(var(--tcn-nav-height) + 20px); }
body.admin-bar .tcn-sidebar { top: calc(var(--tcn-nav-height) + 52px); }

.widget { background: var(--tcn-white); border: 1px solid var(--tcn-border); padding: 18px; margin-bottom: 24px; }
.widget-title {
	font-size: 17px; text-transform: uppercase; letter-spacing: .06em;
	margin: -18px -18px 16px; padding: 10px 18px;
	background: var(--tcn-dark); color: var(--tcn-white);
	border-bottom: 3px solid var(--tcn-red);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--tcn-border); font-weight: 600; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li a { color: var(--tcn-dark); }
.widget li a:hover { color: var(--tcn-red); }
.widget .search-form { display: flex; }
.widget .search-field { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--tcn-border); }
.widget .search-submit { background: var(--tcn-red); color: var(--tcn-white); border: 0; padding: 0 16px; cursor: pointer; font-family: var(--font-heading); text-transform: uppercase; }

/* ==========================================================================
   11. Single post
   ========================================================================== */
.tcn-article { background: var(--tcn-white); border: 1px solid var(--tcn-border); padding: 32px 36px; }
.tcn-article__header { margin-bottom: 20px; }
.tcn-article__title { font-size: 40px; line-height: 1.12; margin: 14px 0 16px; }

.tcn-article__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 0; margin-bottom: 22px;
	border-top: 1px solid var(--tcn-border); border-bottom: 1px solid var(--tcn-border);
}

/* Share buttons */
.tcn-share-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin: 0 0 26px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--tcn-border);
}
.tcn-share-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tcn-dark);
}
.tcn-share-label::before {
	content: "";
	width: 4px;
	height: 22px;
	background: var(--tcn-red);
	border-radius: 2px;
}
.tcn-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 1 1 auto;
}
.tcn-share-btn {
	--btn-bg: var(--tcn-dark);
	--btn-bg-hover: var(--tcn-charcoal);
	--btn-shadow: rgba(0, 0, 0, .28);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 20px;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: var(--btn-bg);
	color: var(--tcn-white);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.tcn-share-btn:hover,
.tcn-share-btn:focus-visible {
	background: var(--btn-bg-hover);
	color: var(--tcn-white);
	transform: translateY(-3px);
	box-shadow: 0 8px 18px var(--btn-shadow);
}
.tcn-share-btn:active { transform: translateY(-1px); box-shadow: 0 3px 8px var(--btn-shadow); }
.tcn-share-btn:focus-visible { outline: 2px solid var(--tcn-dark); outline-offset: 3px; }

.tcn-share-btn__icon { flex: 0 0 auto; width: 18px; height: 18px; display: block; }
.tcn-share-btn__text { display: block; }

.tcn-share-btn--whatsapp { --btn-bg: #25D366; --btn-bg-hover: #1EBE5A; --btn-shadow: rgba(37, 211, 102, .45); }
.tcn-share-btn--telegram { --btn-bg: #26A5E4; --btn-bg-hover: #1B8DC4; --btn-shadow: rgba(38, 165, 228, .45); }
.tcn-share-btn--native   { --btn-bg: var(--tcn-charcoal); --btn-bg-hover: #3a3a3a; --btn-shadow: rgba(0, 0, 0, .35); }
.tcn-share-btn[hidden]   { display: none; }
.tcn-share-btn--x        { --btn-bg: #000000; --btn-bg-hover: #2B2B2B; --btn-shadow: rgba(0, 0, 0, .40); }
.tcn-share-btn--facebook { --btn-bg: #1877F2; --btn-bg-hover: #0F63D0; --btn-shadow: rgba(24, 119, 242, .45); }
.tcn-share-btn--copy     { --btn-bg: var(--tcn-red); --btn-bg-hover: var(--tcn-red-dark); --btn-shadow: rgba(230, 0, 0, .40); }
.tcn-share-btn--copy.is-copied { --btn-bg: #1B8A3A; --btn-bg-hover: #1B8A3A; }

@media (prefers-reduced-motion: reduce) {
	.tcn-share-btn { transition: none; }
	.tcn-share-btn:hover, .tcn-share-btn:focus-visible, .tcn-share-btn:active { transform: none; }
}

.tcn-article__figure { margin: 0 0 26px; }
.tcn-article__figure img { width: 100%; }

.tcn-content { font-size: 18px; line-height: 1.8; color: #1c1c1c; }
.tcn-content > * + * { margin-top: 1.2em; }
.tcn-content h2 { font-size: 28px; margin-top: 1.6em; }
.tcn-content h3 { font-size: 23px; margin-top: 1.4em; }
.tcn-content a { text-decoration: underline; }
.tcn-content blockquote {
	margin: 1.6em 0; padding: 12px 22px;
	border-left: 5px solid var(--tcn-red); background: var(--tcn-bg);
	font-size: 20px; font-style: italic;
}
.tcn-content blockquote p:last-child { margin-bottom: 0; }
.tcn-content img { height: auto; }
.tcn-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tcn-content th, .tcn-content td { border: 1px solid var(--tcn-border); padding: 8px 12px; text-align: left; }
.tcn-content th { background: var(--tcn-bg); }

.tcn-tags { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--tcn-border); display: flex; flex-wrap: wrap; gap: 8px; }
.tcn-tags a {
	background: var(--tcn-bg); color: var(--tcn-charcoal);
	font-size: 13px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--tcn-border);
}
.tcn-tags a:hover { background: var(--tcn-red); border-color: var(--tcn-red); color: var(--tcn-white); }

.tcn-related { margin-top: 36px; }
.tcn-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tcn-gap); }
.tcn-related .tcn-card__title { font-size: 18px; }

/* Comments */
.comments-area { background: var(--tcn-white); border: 1px solid var(--tcn-border); padding: 28px 36px; margin-top: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--tcn-border); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--tcn-border);
}
.comment-respond .submit {
	background: var(--tcn-red); color: var(--tcn-white); border: 0; padding: 11px 24px; cursor: pointer;
	font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.comment-respond .submit:hover { background: var(--tcn-red-dark); }

/* 404 / no results */
.tcn-empty { background: var(--tcn-white); border: 1px solid var(--tcn-border); padding: 48px 32px; text-align: center; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.tcn-footer { background: var(--tcn-dark); color: #bdbdbd; border-top: 4px solid var(--tcn-red); margin-top: 20px; }
.tcn-footer__widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 40px 0 24px; }
.tcn-footer .widget { background: transparent; border: 0; padding: 0; margin-bottom: 0; }
.tcn-footer .widget-title { background: transparent; margin: 0 0 14px; padding: 0 0 8px; border-bottom: 2px solid var(--tcn-red); display: inline-block; }
.tcn-footer .widget li { border-bottom-color: #2c2c2c; }
.tcn-footer .widget li a, .tcn-footer a { color: #d6d6d6; }
.tcn-footer .widget li a:hover, .tcn-footer a:hover { color: var(--tcn-red); }
.tcn-footer__brand { padding: 32px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid #2c2c2c; }
.tcn-footer__brand .tcn-logo { background: var(--tcn-red); padding: 14px 18px; }
.tcn-footer__brand .tcn-logo__svg { width: 190px; }
.tcn-footer__menu { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.tcn-footer__menu a { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 700; }
.tcn-footer__bottom { padding: 18px 0; font-size: 13px; }
.tcn-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.tcn-footer__bottom p { margin: 0; }

.tcn-back-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 800;
	width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
	background: var(--tcn-red); color: var(--tcn-white); border: 0; cursor: pointer;
	font-family: var(--font-heading); font-size: 20px; line-height: 1; box-shadow: var(--tcn-shadow);
}
.tcn-back-top.is-visible { display: flex; }
.tcn-back-top:hover { background: var(--tcn-red-dark); }

/* ==========================================================================
   13. Responsive: <= 992px
   ========================================================================== */
@media (max-width: 992px) {
	.tcn-header__inner { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
	.tcn-header__ad { flex: 1 1 auto; justify-content: center; min-height: 0; overflow: hidden; }
	.tcn-header__ad img, .tcn-header__ad iframe { margin: 0 auto; }

	.tcn-menu-toggle { display: inline-flex; }

	/* Nav sits above the drawer overlay (overlay z-index 1000) so the drawer stays tappable. */
	.tcn-nav { z-index: 1100; }
	.tcn-nav__inner { gap: 10px; }

	/* Mobile bar on brand red: .tcn-container.tcn-nav__inner > hamburger | logo | search */
	.tcn-nav { background: var(--tcn-red); border-bottom: 3px solid var(--tcn-white); }
	.tcn-nav__inner { min-height: 64px; }
	.tcn-menu-toggle[aria-expanded="true"],
	.tcn-menu-toggle:hover,
	.tcn-search-toggle:hover,
	.tcn-search-toggle[aria-expanded="true"] { background: var(--tcn-red-dark); }
	.tcn-search-toggle { height: 64px; }
	.tcn-logo--nav { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin: 0 auto; }
	.tcn-logo--nav .tcn-logo__svg { width: 112px; }
	.tcn-nav-logo-img { max-height: 46px; width: auto; }

	/* The big header logo is replaced by the nav-bar logo; the <h1> stays in the DOM for SEO/a11y. */
	.tcn-header__brand { width: 0; height: 0; overflow: hidden; }
	.tcn-header__inner { gap: 0; }
	.tcn-header--no-ad { border-bottom: 0; }
	.tcn-header--no-ad .tcn-header__inner { padding-top: 0; padding-bottom: 0; }

	/* Off-canvas drawer */
	.tcn-nav__menu-wrap {
		position: fixed; top: 0; left: 0; bottom: 0;
		width: min(320px, 85vw);
		background: var(--tcn-dark);
		transform: translateX(-100%);
		transition: transform .3s ease;
		z-index: 1001;
		overflow-y: auto;
		flex: none;
		visibility: hidden;
	}
	.tcn-nav__menu-wrap.is-open { transform: translateX(0); visibility: visible; }
	body.admin-bar .tcn-nav__menu-wrap { top: 46px; }

	.tcn-drawer-head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 12px 16px; background: var(--tcn-red); color: var(--tcn-white);
		font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	}
	.tcn-drawer-close { width: 36px; height: 36px; font-size: 28px; line-height: 1; }
	.tcn-drawer-overlay {
		display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
		opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 1000;
	}
	.tcn-drawer-overlay.is-open { opacity: 1; visibility: visible; }

	.tcn-menu { flex-direction: column; }
	.tcn-menu a { line-height: 1.4; padding: 14px 18px; border-bottom: 1px solid #2a2a2a; }
	.tcn-menu .sub-menu { display: block; position: static; box-shadow: none; border-top: 0; background: #1a1a1a; min-width: 0; }
	.tcn-menu .sub-menu a { padding-left: 34px; }

	.tcn-nav__inner { justify-content: space-between; }

	.tcn-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tcn-hero__lead { grid-column: 1 / -1; min-height: 400px; }
	.tcn-hero__secondary { grid-template-rows: none; grid-template-columns: 1fr; }

	.tcn-layout { grid-template-columns: minmax(0, 1fr); }
	.tcn-sidebar { position: static; }

	.tcn-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tcn-footer__widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tcn-article { padding: 24px; }
	.tcn-article__title { font-size: 34px; }
}

@media (max-width: 782px) {
	body.admin-bar .tcn-nav { top: 46px; }
}

/* ==========================================================================
   14. Responsive: <= 640px
   ========================================================================== */
@media (max-width: 640px) {
	body { font-size: 15px; }
	.tcn-topbar__inner { min-height: 34px; gap: 10px; flex-wrap: nowrap; }
	.tcn-topbar__date { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
	.tcn-topbar__right { flex: 0 0 auto; gap: 8px; }
	.tcn-social a { min-width: 26px; height: 26px; padding: 0 5px; font-size: 11px; }

	.tcn-logo__svg { width: 190px; }
	.tcn-header__inner { padding-top: 12px; padding-bottom: 12px; }

	.tcn-ticker__badge { font-size: 12px; padding: 0 12px; }
	.tcn-ticker__item { font-size: 13px; }

	.tcn-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tcn-hero__lead { min-height: 340px; }
	.tcn-hero__lead .tcn-hero__title { font-size: 24px; }
	.tcn-hero__secondary-item { min-height: 220px; }

	.tcn-post-grid, .tcn-related__grid, .tcn-footer__widgets { grid-template-columns: minmax(0, 1fr); }
	.tcn-card--wide { flex-direction: column; }
	.tcn-card--wide .tcn-card__thumb { flex: none; width: 100%; }
	.tcn-card__title { font-size: 20px; }

	.tcn-article { padding: 18px 16px; }
	.tcn-article__title { font-size: 28px; }
	.tcn-content { font-size: 17px; }
	.tcn-content h2 { font-size: 24px; }
	.tcn-article__bar { flex-direction: column; align-items: flex-start; }

	.tcn-share-container { flex-direction: column; align-items: stretch; gap: 12px; }
	.tcn-share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.tcn-share-btn { padding: 0 12px; width: 100%; }
	.comments-area { padding: 20px 16px; }
	.tcn-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.tcn-archive-header .tcn-archive-title { font-size: 26px; }
}

/* ==========================================================================
   15. Responsive: <= 480px
   ========================================================================== */
@media (max-width: 480px) {
	.tcn-date-full { display: none; }
	.tcn-date-short { display: inline; }
	.tcn-nav__inner { min-height: 60px; }
	.tcn-search-toggle { height: 60px; }
	.tcn-logo--nav .tcn-logo__svg { width: 100px; }
	.tcn-share-btn { font-size: 13px; letter-spacing: .06em; }
}

/* Print */
@media print {
	.tcn-topbar, .tcn-nav, .tcn-ticker, .tcn-sidebar, .tcn-footer, .tcn-share-container, .tcn-related, .tcn-header__ad, .tcn-back-top { display: none !important; }
	body { background: #fff; }
	.tcn-layout { display: block; }
}
