

body:not(.home) {
	--container-width: 1560px;
	--inner-page-gutter: clamp(10px, 1.4vw, 16px);
	--inner-shell-radius: 10px;
	--inner-shell-shadow: 0 2px 16px rgba(26, 26, 26, 0.06);
}

body:not(.home):not(.single-lachtv) .site-header.site-header--magazine .header-top-inner,
body:not(.home):not(.single-lachtv) .site-header.site-header--magazine .header-nav-inner,
body:not(.home):not(.single-lachtv) .site-header.site-header--magazine .breaking-inner {
	max-width: var(--container-width, 1280px) !important;
	padding-inline: var(--inner-page-gutter, clamp(16px, 4vw, 48px)) !important;
}

body:not(.home) .site-main.container,
body:not(.home) .site-main--archive.container {
	width: 100%;
	max-width: var(--container-width) !important;
	margin-inline: auto !important;
	padding-inline: var(--inner-page-gutter) !important;
	padding-block: clamp(14px, 2.5vw, 24px) !important;
}

body:not(.home) .site-content {
	background: var(--news-canvas, #f4f5f7);
}

body.single-lachtv:not(.home) .site-main.single-layout--lachtv {
	max-width: var(--container-width, 1280px) !important;
	padding-inline: clamp(12px, 2.5vw, 20px) !important;
	padding-block: clamp(12px, 2vw, 20px) !important;
}

body:not(.home) .lachtv-breadcrumb {
	margin-block-end: clamp(12px, 2vw, 16px);
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: 8px;
	box-shadow: var(--inner-shell-shadow);
}

body:not(.home) .lachtv-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body:not(.home) .lachtv-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	line-height: 1.4;
}

body:not(.home) .lachtv-breadcrumb__link {
	color: var(--news-muted, #6b7280);
	text-decoration: none;
	transition: color 0.2s ease;
}

body:not(.home) .lachtv-breadcrumb__link:hover {
	color: var(--news-red, #c41e24);
}

body:not(.home) .lachtv-breadcrumb__current {
	color: var(--news-ink, #252525);
	font-weight: 600;
	max-width: min(36ch, 100%);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.single-lachtv .lachtv-breadcrumb__current {
	max-width: none !important;
	overflow: visible !important;
	text-overflow: unset !important;
	white-space: normal !important;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
}

body:not(.home) .lachtv-breadcrumb__sep {
	color: var(--news-muted, #6b7280);
	opacity: 0.55;
	font-size: 12px;
}

body:not(.home) .category-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	border-radius: var(--news-radius-pill, 999px);
	background: var(--news-orange, #e65100) !important;
	color: #fff !important;
}

body:not(.home) .post-card-thumb .category-badge,
body:not(.home) .archive-featured-thumb .category-badge {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	z-index: 2;
}

.archive-hero {
	margin-bottom: clamp(14px, 2vw, 20px);
	padding: clamp(16px, 2.5vw, 22px);
	background: linear-gradient(105deg, #111 0%, var(--news-charcoal, #1a1a1a) 50%, #222 100%);
	border-bottom: 3px solid var(--news-gold, #c9a227);
	border-radius: var(--inner-shell-radius);
	overflow: hidden;
	box-shadow: var(--inner-shell-shadow);
}

.archive-hero-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.archive-hero-title {
	margin: 0 !important;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	font-weight: 800 !important;
	color: #fff !important;
	line-height: 1.35;
}

.archive-hero-desc {
	margin: 8px 0 0;
	width: 100%;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.archive-hero-count {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 800;
	color: var(--news-charcoal, #1a1a1a);
	background: var(--news-gold, #c9a227);
	border-radius: 999px;
	white-space: nowrap;
}

.archive-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 0;
	margin-bottom: clamp(14px, 2vw, 18px);
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: var(--inner-shell-radius);
	overflow: hidden;
	box-shadow: var(--inner-shell-shadow);
}

.archive-featured-thumb {
	position: relative;
	display: block;
	min-height: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--news-canvas, #f4f5f7);
}

.archive-featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.archive-featured:hover .archive-featured-thumb img {
	transform: scale(1.03);
}

.archive-featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(14px, 2vw, 20px);
}

.archive-featured-title {
	margin: 0 0 8px;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 800;
	line-height: 1.4;
}

.archive-featured-title a {
	color: var(--news-ink, #252525);
	text-decoration: none;
	transition: color 0.2s ease;
}

.archive-featured-title a:hover {
	color: var(--news-red, #c41e24);
}

.archive-featured-meta {
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--news-muted, #6b7280);
}

.archive-featured-excerpt {
	margin: 0 0 12px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--news-text, #3d3d3d);
}

.archive-read-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--news-charcoal, #1a1a1a);
	text-decoration: none;
	padding: 8px 14px;
	background: var(--news-gold, #c9a227);
	border-radius: 6px;
	width: fit-content;
	transition: opacity 0.2s ease;
}

.archive-read-more:hover {
	opacity: 0.9;
	color: var(--news-charcoal, #1a1a1a);
}

.posts-grid,
.posts-grid--archive {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 16px);
	margin-bottom: clamp(14px, 2vw, 20px);
}

.post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed) !important;
	border-radius: var(--inner-shell-radius) !important;
	overflow: hidden;
	box-shadow: var(--inner-shell-shadow) !important;
	transition:
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.post-card:hover {
	box-shadow: 0 6px 22px rgba(26, 26, 26, 0.1) !important;
	transform: translateY(-2px);
}

.post-card-thumb {
	position: relative;
	display: block;
	flex-shrink: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--news-canvas, #f4f5f7);
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.post-card:hover .post-card-thumb img {
	transform: scale(1.04);
}

.post-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 12px 12px 14px;
}

.post-card-title {
	margin: 0 0 6px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
}

.post-card-title a {
	color: var(--news-ink, #252525);
	text-decoration: none;
	transition: color 0.2s ease;
}

.post-card-title a:hover {
	color: var(--news-red, #c41e24);
}

.post-card-meta {
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--news-muted, #6b7280);
}

.post-card-excerpt {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--news-text, #3d3d3d);
}

.search-header {
	margin-bottom: clamp(14px, 2vw, 18px);
	padding: clamp(14px, 2vw, 18px);
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: var(--inner-shell-radius);
	box-shadow: var(--inner-shell-shadow);
	border-inline-start: 4px solid var(--news-gold, #c9a227);
}

.search-title {
	margin: 0 !important;
	font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
	font-weight: 800 !important;
	color: var(--news-ink, #252525) !important;
	line-height: 1.4;
}

.search-title span {
	color: var(--news-red, #c41e24);
}

.page-layout .page-content {
	padding: clamp(16px, 2.5vw, 24px) !important;
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: var(--inner-shell-radius);
	box-shadow: var(--inner-shell-shadow);
}

.page-layout .entry-header {
	margin-bottom: clamp(12px, 2vw, 16px);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--news-gold, #c9a227);
}

.page-layout .entry-title {
	margin: 0 !important;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
	font-weight: 800 !important;
	color: var(--news-ink, #252525) !important;
}

.page-layout .entry-content {
	font-size: clamp(1rem, 1.35vw, 1.0625rem);
	line-height: 1.85;
	color: var(--news-text, #3d3d3d);
}

.page-layout .entry-content h2,
.page-layout .entry-content h3 {
	margin: 1.5em 0 0.6em;
	color: var(--news-ink, #252525);
	font-weight: 800;
}

.page-layout .entry-content a {
	color: #1565a8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-layout .entry-content a:hover {
	color: var(--news-red, #c41e24);
}

.contact-page .contact-info {
	margin-top: 20px;
	padding: 14px 16px;
	background: var(--news-canvas, #f4f5f7);
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: 8px;
	font-size: 0.9375rem;
}

.error-404,
.no-results {
	max-width: 520px;
	margin: clamp(24px, 5vw, 48px) auto;
	padding: clamp(24px, 4vw, 36px);
	text-align: center;
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: var(--inner-shell-radius);
	box-shadow: var(--inner-shell-shadow);
}

.error-404 .error-code {
	margin: 0 0 8px;
	font-size: clamp(3rem, 10vw, 4.5rem);
	font-weight: 900;
	line-height: 1;
	color: var(--news-gold, #c9a227);
}

.error-404 h2,
.no-results h2 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--news-ink, #252525);
}

.error-404 p,
.no-results p {
	margin: 0 0 18px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--news-muted, #6b7280);
}

.no-results .search-form {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.no-results .search-field {
	flex: 1;
	min-width: 200px;
	max-width: 320px;
	padding: 10px 14px;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: 8px;
	font-family: inherit;
	direction: rtl;
}

.no-results .search-submit {
	padding: 10px 18px;
	font-family: inherit;
	font-weight: 700;
	color: var(--news-charcoal, #1a1a1a);
	background: var(--news-gold, #c9a227);
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

body:not(.home) .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 700;
	color: var(--news-charcoal, #1a1a1a);
	background: var(--news-gold, #c9a227);
	border: none;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body:not(.home) .btn-primary:hover {
	opacity: 0.92;
	color: var(--news-charcoal, #1a1a1a);
	transform: translateY(-1px);
}

body:not(.home) .pagination,
body:not(.home) .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: clamp(16px, 2.5vw, 24px) 0 0;
	padding: 0;
}

body:not(.home) .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--news-ink, #252525);
	background: #fff;
	border: 1px solid var(--news-border, #e8eaed);
	border-radius: 8px;
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

body:not(.home) .page-numbers:hover {
	border-color: var(--news-gold, #c9a227);
	color: var(--news-charcoal, #1a1a1a);
}

body:not(.home) .page-numbers.current {
	background: var(--news-gold, #c9a227);
	border-color: var(--news-gold, #c9a227);
	color: var(--news-charcoal, #1a1a1a);
}

body:not(.home) .page-numbers.dots {
	border: none;
	background: transparent;
	min-width: auto;
}

body.dark-mode:not(.home) .site-content {
	background: var(--news-canvas, #141414);
}

body.dark-mode:not(.home) .lachtv-breadcrumb,
body.dark-mode:not(.home) .archive-featured,
body.dark-mode:not(.home) .post-card,
body.dark-mode:not(.home) .search-header,
body.dark-mode:not(.home) .page-content,
body.dark-mode:not(.home) .error-404,
body.dark-mode:not(.home) .no-results {
	background: var(--news-surface, #222);
	border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode:not(.home) .page-numbers {
	background: #1a1a1a;
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--news-ink, #f0f0f0);
}

@media (max-width: 1100px) {
	.posts-grid,
	.posts-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.archive-featured {
		grid-template-columns: 1fr;
	}

	.archive-featured-thumb {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 768px) {
	body:not(.home) {
		--inner-page-gutter: clamp(12px, 3vw, 20px);
	}

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