/*
Theme Name: Alorchhuya
Theme URI: https://alorchhuya.com
Author: RongPixel
Author URI: https://rongpixel.com
Description: A fast, clean and Bengali-first WordPress news theme for Alorchhuya. Hardcoded homepage sections, no settings panel, no CSS framework.
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: alorchhuya
Tags: news, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--ink: #151515;
	--ink-soft: #4f4a45;
	--muted: #7b746c;
	--paper: #ffffff;
	--cream: #f5f1ea;
	--cream-dark: #ebe4d9;
	--line: #e3dbd0;
	--red: #d51f2a;
	--red-dark: #a9151f;
	--gold: #d7a643;
	--container: 1240px;
	--radius: 9px;
	--shadow: 0 14px 35px rgba(21, 21, 21, 0.07);
	--font: "Noto Sans Bengali", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--cream);
	background-image: radial-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px);
	background-size: 26px 26px;
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
	color: var(--red);
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

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

button {
	cursor: pointer;
}

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

:focus-visible {
	outline: 3px solid rgba(213, 31, 42, 0.35);
	outline-offset: 3px;
}

.container {
	width: min(100% - 40px, var(--container));
	margin-inline: auto;
}

.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;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 9999;
	background: var(--red);
	color: #fff;
	padding: 10px 16px;
	border-radius: 4px;
	font-weight: 700;
}

.skip-link:focus {
	top: 14px;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
	background: var(--ink);
	color: #ddd7cf;
	font-size: 12.5px;
	letter-spacing: 0.01em;
}

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

.topbar-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.live-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 4px rgba(213, 31, 42, 0.18);
	animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 3px rgba(213, 31, 42, 0.18);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(213, 31, 42, 0.05);
	}
}

.topbar-links {
	display: flex;
	align-items: center;
	gap: 16px;
}

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

.topbar-divider {
	width: 1px;
	height: 13px;
	background: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding: 22px 0 20px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.custom-logo-link,
.site-branding > a {
	display: inline-flex;
	flex: 0 0 auto;
}

.custom-logo-link img,
.site-branding > a img {
	width: auto;
	max-height: 68px;
}

.site-tagline {
	margin: 0;
	padding-left: 22px;
	border-left: 1px solid var(--line);
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.6;
	max-width: 220px;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.header-search {
	width: 300px;
}

.search-form {
	display: flex;
	align-items: stretch;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 5px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(213, 31, 42, 0.08);
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 10px 13px;
	font-size: 13.5px;
	color: var(--ink);
	outline: 0;
}

.search-form input[type="search"]::placeholder {
	color: #9b938a;
}

.search-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	border: 0;
	background: var(--red);
	color: #fff;
	transition: background-color 0.2s ease;
}

.search-form button:hover {
	background: var(--red-dark);
}

.search-form button svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.main-nav {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(21, 21, 21, 0.05);
}

.nav-inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
}

.nav-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list li {
	position: relative;
}

.nav-list a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 0 14px;
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s ease;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list a[aria-current="page"] {
	color: var(--red);
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list a[aria-current="page"]::after {
	transform: scaleX(1);
}

.nav-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	padding: 6px 12px;
	border: 1px solid rgba(213, 31, 42, 0.25);
	border-radius: 999px;
	color: var(--red);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
}

.nav-live span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--red);
	animation: live-pulse 2s infinite;
}

.nav-live:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	color: var(--ink);
	padding: 10px 0;
	font-size: 14px;
	font-weight: 700;
}

.nav-toggle-lines {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 19px;
}

.nav-toggle-lines i {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
}

/* --------------------------------------------------------------------------
   Breaking ticker
   -------------------------------------------------------------------------- */

.breaking-bar {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.breaking-inner {
	display: flex;
	align-items: stretch;
	min-height: 46px;
	overflow: hidden;
}

.breaking-label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0 20px;
	background: var(--red);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.breaking-window {
	display: flex;
	align-items: center;
	overflow: hidden;
	flex: 1;
	min-width: 0;
}

.breaking-track {
	display: flex;
	align-items: center;
	gap: 38px;
	width: max-content;
	padding-left: 22px;
	animation: alorchhuya-ticker 38s linear infinite;
}

.breaking-track:hover {
	animation-play-state: paused;
}

.breaking-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 500;
	white-space: nowrap;
}

.breaking-item::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--red);
	flex: 0 0 auto;
}

@keyframes alorchhuya-ticker {
	to {
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   Common typography / blocks
   -------------------------------------------------------------------------- */

.site-main {
	min-height: 50vh;
	padding-bottom: 20px;
}

.section {
	padding-top: 40px;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	padding-bottom: 11px;
	border-bottom: 2px solid var(--ink);
}

.section-head h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: clamp(21px, 2.3vw, 27px);
	font-weight: 800;
	line-height: 1.25;
}

.section-head h2::before {
	content: "";
	width: 5px;
	height: 25px;
	border-radius: 2px;
	background: var(--red);
	flex: 0 0 auto;
}

.see-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--red);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.see-all:hover {
	color: var(--red-dark);
}

.meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 9px;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.5;
}

.cat-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--red);
	color: #fff !important;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.cat-badge:hover {
	background: var(--red-dark);
	color: #fff !important;
}

.thumb {
	position: relative;
	display: block;
	overflow: hidden;
	background: linear-gradient(135deg, var(--cream-dark), #e0d6c8);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
}

.thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 12px;
	background:
		radial-gradient(circle at 18% 22%, rgba(213, 31, 42, 0.45), transparent 36%),
		linear-gradient(135deg, #171717, #3d161a);
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
}

a.thumb:hover img {
	transform: scale(1.045);
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--red);
	font-size: 13px;
	font-weight: 700;
}

.read-more span {
	transition: transform 0.2s ease;
}

.read-more:hover span {
	transform: translateX(4px);
}

.empty-note {
	margin: 0;
	padding: 20px 0;
	color: var(--muted);
	font-size: 14px;
}

.empty-note--light {
	color: #b8b1a8;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-section {
	padding-top: 28px;
	scroll-margin-top: 86px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 305px minmax(0, 1fr) 305px;
	gap: 22px;
	align-items: stretch;
}

.hero-tabs {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.tab-list {
	display: flex;
	background: var(--cream-dark);
}

.tab-btn {
	position: relative;
	flex: 1;
	border: 0;
	background: transparent;
	padding: 15px 8px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
}

.tab-btn:hover {
	color: var(--ink);
}

.tab-btn.is-active {
	background: var(--paper);
	color: var(--ink);
}

.tab-btn.is-active::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 3px;
	background: var(--red);
}

.tab-panel {
	padding: 6px 18px 14px;
}

.tab-panel[hidden] {
	display: none;
}

.tab-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tab-news-list li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 10px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}

.tab-news-list li:last-child {
	border-bottom: 0;
	padding-bottom: 4px;
}

.tab-number {
	padding-top: 2px;
	color: var(--red);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
}

.tab-news-title {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
}

.tab-news-meta {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 10.5px;
}

.hero-lead {
	min-width: 0;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero-lead-article {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hero-lead .thumb {
	aspect-ratio: 16 / 9;
}

.hero-lead-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 26px 24px;
}

.hero-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 2.9vw, 37px);
	font-weight: 800;
	letter-spacing: -0.018em;
	line-height: 1.3;
}

.hero-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 17px;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hero-picks {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
	background: var(--ink);
	border-radius: var(--radius);
	border-top: 4px solid var(--red);
	color: #fff;
	box-shadow: var(--shadow);
}

.picks-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 3px;
	padding-bottom: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.picks-head span {
	position: relative;
	padding-left: 13px;
	font-size: 18px;
	font-weight: 800;
}

.picks-head span::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: 4px;
	border-radius: 2px;
	background: var(--red);
}

.picks-head small {
	color: #b8b1a8;
	font-size: 10.5px;
}

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

.picks-list li {
	display: flex;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.picks-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.pick-number {
	min-width: 24px;
	color: var(--red);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.picks-list a {
	display: block;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.5;
}

.picks-list a:hover {
	color: var(--gold);
}

.pick-meta {
	display: block;
	margin-top: 3px;
	color: #9f9890;
	font-size: 10.5px;
}

.picks-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.picks-more:hover {
	color: var(--gold);
}

/* --------------------------------------------------------------------------
   Four-card grid
   -------------------------------------------------------------------------- */

.story-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.news-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.news-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.news-card .thumb {
	aspect-ratio: 16 / 10;
}

.card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 17px 18px;
}

.card-title {
	margin: 0 0 7px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.5;
}

.card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* --------------------------------------------------------------------------
   Category spotlight
   -------------------------------------------------------------------------- */

.spotlight-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 325px;
	gap: 22px;
}

.spotlight-main {
	min-width: 0;
	padding: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.spotlight-lead {
	display: grid;
	grid-template-columns: 1.12fr 1fr;
	gap: 20px;
	margin-bottom: 17px;
	padding-bottom: 17px;
	border-bottom: 1px solid var(--line);
}

.spotlight-lead .thumb {
	height: 100%;
	min-height: 235px;
}

.spotlight-lead-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.spotlight-lead h3 {
	margin: 0 0 9px;
	font-size: clamp(21px, 2.3vw, 27px);
	font-weight: 800;
	line-height: 1.35;
}

.spotlight-lead p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 13px;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.spotlight-subs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.sub-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 9px;
}

.sub-card .thumb {
	aspect-ratio: 16 / 10;
}

.sub-card h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.sub-meta {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 10.5px;
}

.spotlight-side {
	min-width: 0;
	padding: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 4px solid var(--red);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.spotlight-section.is-alt .spotlight-side {
	border-top-color: var(--ink);
}

.spotlight-side > h3 {
	margin: 0 0 8px;
	padding-bottom: 11px;
	border-bottom: 2px solid var(--ink);
	font-size: 18px;
	font-weight: 800;
}

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

.side-list li {
	display: flex;
	gap: 11px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.side-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.side-number {
	min-width: 23px;
	color: var(--red);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.side-list a {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.5;
}

.side-list time {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 10.5px;
}

/* --------------------------------------------------------------------------
   Three category columns
   -------------------------------------------------------------------------- */

.triple-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.triple-col,
.mini-card {
	min-width: 0;
	padding: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.triple-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--ink);
}

.triple-head h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.triple-head h2::before {
	content: "";
	width: 4px;
	height: 19px;
	border-radius: 2px;
	background: var(--red);
	flex: 0 0 auto;
}

.triple-head > a {
	color: var(--red);
	font-size: 11.5px;
	font-weight: 700;
}

.triple-lead .thumb {
	aspect-ratio: 16 / 10;
}

.triple-lead h3 {
	margin: 11px 0 0;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.45;
}

.triple-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.triple-list li {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 11px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
}

.triple-list .thumb {
	aspect-ratio: 1;
	border-radius: 4px;
}

.triple-list h4 {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Mini category cards
   -------------------------------------------------------------------------- */

.mini-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.mini-lead .thumb {
	aspect-ratio: 16 / 9;
}

.mini-lead h3 {
	margin: 11px 0 0;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.5;
}

.mini-links {
	list-style: none;
	margin: 13px 0 0;
	padding: 0;
}

.mini-links li {
	position: relative;
	padding: 9px 0 9px 15px;
	border-top: 1px solid var(--line);
}

.mini-links li::before {
	content: "";
	position: absolute;
	top: 17px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--red);
}

.mini-links a {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Archive, page header, pagination
   -------------------------------------------------------------------------- */

.page-header {
	margin-top: 28px;
	margin-bottom: 24px;
	padding: 26px 30px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 5px solid var(--red);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.page-kicker {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--red);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.page-title {
	margin: 0;
	font-size: clamp(27px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.25;
}

.page-description {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.page-description p {
	margin-bottom: 0;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.content-none {
	padding: 30px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.content-none h2 {
	font-size: 24px;
}

.content-none p {
	color: var(--muted);
}

.pagination {
	margin-top: 30px;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
}

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

.page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
	padding-top: 28px;
}

.single-article,
.page-article {
	min-width: 0;
	padding: clamp(22px, 4vw, 40px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.page-article {
	margin-top: 28px;
	margin-bottom: 30px;
}

.article-header {
	margin-bottom: 24px;
}

.article-title {
	margin: 9px 0 14px;
	font-size: clamp(29px, 4.2vw, 46px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 12.5px;
}

.article-featured {
	margin: 0 0 26px;
	overflow: hidden;
	border-radius: 6px;
}

.article-featured img {
	width: 100%;
}

.entry-content {
	font-size: 16.5px;
	line-height: 1.9;
	color: #2c2926;
	word-wrap: break-word;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.6em 0 0.65em;
	color: var(--ink);
	font-weight: 800;
	line-height: 1.35;
}

.entry-content h2 {
	font-size: 28px;
}

.entry-content h3 {
	font-size: 23px;
}

.entry-content h4 {
	font-size: 19px;
}

.entry-content p {
	margin-bottom: 1.25em;
}

.entry-content a {
	color: var(--red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img,
.entry-content iframe {
	max-width: 100%;
	border-radius: 5px;
}

.entry-content blockquote {
	margin: 26px 0;
	padding: 18px 22px;
	background: var(--cream);
	border-left: 4px solid var(--red);
	color: var(--ink);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25em;
	padding-left: 24px;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 9px 12px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--cream);
}

.article-footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.post-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 17px;
	font-size: 12.5px;
}

.post-tags span {
	color: var(--muted);
	font-weight: 600;
}

.post-tags a {
	display: inline-flex;
	padding: 4px 9px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 11.5px;
}

.share-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.share-box > span {
	margin-right: 3px;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 600;
}

.share-box a {
	display: inline-flex;
	padding: 6px 12px;
	background: var(--ink);
	border-radius: 3px;
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
}

.share-box a:hover {
	background: var(--red);
	color: #fff;
}

.edit-link {
	display: inline-block;
	margin-top: 16px;
	font-size: 12px;
}

.edit-link a {
	color: var(--red);
	text-decoration: underline;
}

.page-links {
	margin-top: 24px;
	font-weight: 700;
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-left: 4px;
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 12px;
}

.post-navigation {
	margin-top: 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: block;
	padding: 15px 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.post-navigation a:hover {
	border-color: rgba(213, 31, 42, 0.4);
}

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

.post-navigation span {
	display: block;
	margin-bottom: 3px;
	color: var(--red);
	font-size: 11px;
	font-weight: 700;
}

.post-navigation strong {
	display: block;
	font-size: 13.5px;
	line-height: 1.5;
}

.related-section {
	padding-top: 34px;
}

.comments-wrap {
	margin-top: 30px;
	margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */

.widget-area {
	min-width: 0;
}

.widget {
	margin-bottom: 22px;
	padding: 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.widget-title {
	position: relative;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 52px;
	height: 2px;
	background: var(--red);
}

.widget-popular {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.widget-popular .widget-title {
	border-bottom-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.widget-popular .widget-title::after {
	background: var(--gold);
}

.widget-popular .side-list li {
	border-bottom-color: rgba(255, 255, 255, 0.11);
}

.widget-popular .side-list a {
	color: #fff;
}

.widget-popular .side-list a:hover {
	color: var(--gold);
}

.widget-popular .side-list time {
	color: #a49d95;
}

.widget-popular .side-number {
	color: var(--gold);
}

.category-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.category-cloud a {
	display: inline-flex;
	padding: 5px 10px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 600;
}

.category-cloud a:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Comments
   -------------------------------------------------------------------------- */

.comments-area {
	padding: clamp(22px, 4vw, 36px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.comments-title,
.comment-reply-title {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	font-size: 23px;
	font-weight: 800;
}

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

.comment-list .children {
	padding-left: 28px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.comment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
}

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

.comment-metadata {
	color: var(--muted);
	font-size: 11px;
}

.comment-metadata a {
	color: var(--muted);
}

.comment-content {
	font-size: 14.5px;
	line-height: 1.8;
}

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

.reply a {
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
}

.comment-form p {
	margin: 0 0 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 12.5px;
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 13px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--ink);
	font-size: 14px;
}

.comment-form textarea {
	min-height: 130px;
	resize: vertical;
}

.comment-form .submit {
	padding: 10px 22px;
	background: var(--red);
	border: 0;
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.comment-form .submit:hover {
	background: var(--red-dark);
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.no-comments {
	padding: 10px 0;
	color: var(--muted);
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
	margin-top: 28px;
	padding: clamp(30px, 6vw, 60px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
}

.error-code {
	display: block;
	margin-bottom: 8px;
	color: var(--red);
	font-size: clamp(60px, 12vw, 120px);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
}

.not-found h1 {
	margin-bottom: 10px;
	font-size: clamp(25px, 4vw, 38px);
	font-weight: 800;
}

.not-found p {
	max-width: 560px;
	margin: 0 auto 20px;
	color: var(--muted);
}

.not-found .search-form {
	max-width: 420px;
	margin: 0 auto 18px;
}

.button-link {
	display: inline-flex;
	padding: 10px 20px;
	background: var(--ink);
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.button-link:hover {
	background: var(--red);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	margin-top: 50px;
	padding-top: 44px;
	background: var(--ink);
	color: #d5cfc7;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
	gap: 34px;
	padding-bottom: 34px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 14px;
}

.footer-logo img {
	width: auto;
	max-width: 205px;
	max-height: 54px;
}

.footer-brand p {
	max-width: 350px;
	margin: 0;
	color: #a9a29a;
	font-size: 13.5px;
	line-height: 1.8;
}

.socials {
	display: flex;
	gap: 9px;
	margin-top: 18px;
}

.socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.socials a:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

.footer-widget h2 {
	position: relative;
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.footer-widget h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 42px;
	height: 2px;
	background: var(--red);
}

.footer-widget ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-widget a,
.footer-widget li {
	color: #b7b0a8;
	font-size: 13px;
	line-height: 1.6;
}

.footer-widget a:hover {
	color: #fff;
}

.footer-contact li {
	color: #b7b0a8;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #928b83;
	font-size: 12px;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: var(--gold);
	font-weight: 600;
}

.footer-bottom a:hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.hero-grid {
		grid-template-columns: 275px minmax(0, 1fr) 275px;
	}

	.header-search {
		width: 250px;
	}

	.site-tagline {
		display: none;
	}
}

@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 255px minmax(0, 1fr) 255px;
		gap: 18px;
	}

	.hero-lead-body {
		padding: 19px 21px 21px;
	}

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

	.spotlight-grid {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 18px;
	}

	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.footer-widget:last-child {
		grid-column: 1 / -1;
	}

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

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav-list {
		display: none;
		position: absolute;
		top: 100%;
		left: -20px;
		right: -20px;
		z-index: 90;
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		padding: 8px 20px 14px;
		background: var(--paper);
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(21, 21, 21, 0.12);
	}

	.nav-list.is-open {
		display: flex;
	}

	.nav-list a {
		min-height: 44px;
		padding: 0 4px;
		border-bottom: 1px solid var(--line);
	}

	.nav-list li:last-child a {
		border-bottom: 0;
	}

	.nav-list a::after {
		left: 4px;
		right: auto;
		width: 36px;
	}

	.nav-live {
		margin-left: auto;
	}

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

	.hero-tabs {
		grid-column: 1;
		grid-row: 1;
	}

	.hero-lead {
		grid-column: 2;
		grid-row: 1;
	}

	.hero-picks {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.picks-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 26px;
	}

	.picks-list li:nth-last-child(2) {
		border-bottom: 0;
	}

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

	.spotlight-side {
		padding-bottom: 12px;
	}

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

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

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

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

	.widget-area {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.widget {
		margin-bottom: 0;
	}

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

	.footer-widget:last-child {
		grid-column: auto;
	}

	.footer-widget:last-child ul {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.container {
		width: min(100% - 32px, var(--container));
	}

	.topbar-links a:first-child,
	.topbar-divider {
		display: none;
	}

	.site-header {
		padding: 18px 0;
	}

	.header-inner {
		flex-wrap: wrap;
		gap: 15px;
	}

	.site-branding {
		width: 100%;
	}

	.header-tools {
		width: 100%;
	}

	.header-search {
		width: 100%;
	}

	.custom-logo-link img,
	.site-branding > a img {
		max-height: 58px;
	}

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

	.hero-tabs,
	.hero-lead,
	.hero-picks {
		grid-column: auto;
		grid-row: auto;
	}

	.hero-lead .thumb {
		aspect-ratio: 16 / 10;
	}

	.picks-list {
		grid-template-columns: 1fr;
	}

	.picks-list li:nth-last-child(2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.spotlight-lead {
		grid-template-columns: 1fr;
	}

	.spotlight-lead .thumb {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

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

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

	.widget-area {
		grid-template-columns: 1fr;
	}

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

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.comment-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
}

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

	.topbar-inner {
		justify-content: center;
	}

	.breaking-label {
		padding: 0 14px;
		font-size: 11.5px;
	}

	.breaking-item {
		font-size: 12.5px;
	}

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

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

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

	.section-head h2 {
		font-size: 20px;
	}

	.see-all {
		font-size: 11.5px;
	}

	.hero-title {
		font-size: 27px;
	}

	.hero-lead-body {
		padding: 18px;
	}

	.hero-picks,
	.spotlight-side,
	.spotlight-main,
	.triple-col,
	.mini-card {
		padding: 16px;
	}

	.article-title {
		font-size: 29px;
	}

	.article-meta {
		gap: 8px 14px;
	}

	.single-article,
	.page-article {
		padding: 20px;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

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

	.nav-live {
		display: none;
	}

	.footer-logo img {
		max-width: 175px;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.breaking-track {
		animation: none;
		overflow-x: auto;
	}
}
