/* =============================================
   AutoNews Theme — Main Stylesheet
   Mobile-First | Modern | Minimalistisch
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
	--accent: #e63946;
	--accent-hover: #c62d39;
	--text: #1a1a2e;
	--text-light: #555;
	--text-muted: #888;
	--bg: #ffffff;
	--bg-alt: #f7f7f9;
	--bg-dark: #1a1a2e;
	--border: #e8e8ed;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.08);
	--shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
	--transition: 0.2s ease;
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--container: 1200px;
	--container-narrow: 780px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.25;
	font-weight: 700;
}

/* --- Accessibility --- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100000;
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	font-weight: 600;
}

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

.container--narrow {
	max-width: var(--container-narrow);
}

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.9rem;
	border: none;
	cursor: pointer;
	transition: all var(--transition);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

.btn--primary:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* =============================================
   BREAKING NEWS BAR
   ============================================= */
.breaking-news {
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	font-size: 0.8rem;
	display: flex;
	align-items: center;
	gap: 12px;
	overflow: hidden;
}

.breaking-news__label {
	font-weight: 800;
	letter-spacing: 0.05em;
	white-space: nowrap;
	padding: 2px 8px;
	background: rgba(255,255,255,0.2);
	border-radius: 3px;
	font-size: 0.7rem;
}

.breaking-news__text {
	white-space: nowrap;
	animation: ticker 20s linear infinite;
}

@keyframes ticker {
	0%   { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
	background: rgba(255,255,255,0.95);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	gap: 16px;
}

/* Branding */
.site-branding {
	flex-shrink: 0;
}

.site-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text);
}

.site-title__icon {
	display: flex;
	color: var(--accent);
}

.site-title:hover {
	color: var(--accent);
}

.custom-logo-link img {
	max-height: 40px;
	width: auto;
}

/* Navigation */
.main-nav {
	display: none;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 4px;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: block;
	padding: 8px 14px;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text-light);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--accent);
	background: rgba(230, 57, 70, 0.06);
}

/* Dropdown */
.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	min-width: 200px;
	padding: 6px;
	list-style: none;
	z-index: 100;
}

.nav-menu li:hover > .sub-menu {
	display: block;
}

.nav-menu .sub-menu a {
	padding: 8px 12px;
	font-size: 0.85rem;
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.header-actions__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-light);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.header-actions__btn:hover {
	background: var(--bg-alt);
	color: var(--accent);
}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 26, 46, 0.9);
	backdrop-filter: blur(8px);
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 20vh;
}

.search-overlay[hidden] {
	display: none;
}

.search-overlay__inner {
	width: 90%;
	max-width: 600px;
	position: relative;
}

.search-overlay__close {
	position: absolute;
	top: -50px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	padding: 8px;
	line-height: 1;
}

.search-overlay .search-form__input {
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.2);
	color: #fff;
	font-size: 1.2rem;
	padding: 16px 20px;
}

.search-overlay .search-form__input::placeholder {
	color: rgba(255,255,255,0.5);
}

.search-overlay .search-form__btn {
	color: #fff;
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
	position: fixed;
	inset: 0;
	background: var(--bg);
	z-index: 10000;
	overflow-y: auto;
	padding: 20px;
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: var(--text);
	padding: 8px;
	line-height: 1;
}

.mobile-nav-menu {
	list-style: none;
	padding-top: 50px;
}

.mobile-nav-menu a {
	display: block;
	padding: 14px 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}

.mobile-nav-menu a:hover {
	color: var(--accent);
}

.mobile-nav-menu .sub-menu {
	list-style: none;
	padding-left: 20px;
}

.mobile-nav-menu .sub-menu a {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-light);
}

/* =============================================
   SEARCH FORM
   ============================================= */
.search-form {
	display: flex;
	position: relative;
}

.search-form__input {
	width: 100%;
	padding: 12px 16px;
	padding-right: 48px;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 1rem;
	background: var(--bg);
	color: var(--text);
	transition: border-color var(--transition);
	outline: none;
}

.search-form__input:focus {
	border-color: var(--accent);
}

.search-form__btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--text-muted);
	display: flex;
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
	padding: 16px 0;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.breadcrumbs a {
	color: var(--text-light);
}

.breadcrumbs a:hover {
	color: var(--accent);
}

.breadcrumbs__sep {
	margin: 0 6px;
	opacity: 0.4;
}

.breadcrumbs__current {
	color: var(--text);
	font-weight: 500;
}

/* =============================================
   CONTENT AREA LAYOUT
   ============================================= */
.site-content {
	min-height: 60vh;
}

.content-area {
	display: grid;
	gap: 40px;
}

.section-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--text);
	display: inline-block;
}

/* =============================================
   FEATURED POST (Hero)
   ============================================= */
.featured-post {
	margin-bottom: 40px;
	border-radius: var(--radius);
	overflow: hidden;
}

.featured-post__link {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--bg-dark);
}

.featured-post__image {
	position: absolute;
	inset: 0;
}

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

.featured-post__link:hover .featured-post__image img {
	transform: scale(1.03);
}

.featured-post__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 24px;
}

.featured-post__content {
	color: #fff;
	max-width: 700px;
}

.featured-post__category {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	padding: 3px 10px;
	border-radius: 3px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.featured-post__title {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 8px;
}

.featured-post__meta {
	font-size: 0.8rem;
	opacity: 0.75;
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}

.featured-post__excerpt {
	font-size: 0.9rem;
	opacity: 0.85;
	line-height: 1.5;
	display: none;
}

/* =============================================
   POST CARD
   ============================================= */
.post-grid {
	display: grid;
	gap: 24px;
}

.post-card {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg);
	border: 1px solid var(--border);
	transition: all var(--transition);
}

.post-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
	border-color: transparent;
}

.post-card__link {
	display: block;
}

.post-thumbnail {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bg-alt);
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

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

.post-thumbnail--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-thumbnail--placeholder svg {
	width: 60%;
	height: 60%;
	opacity: 0.3;
}

.post-card__body {
	padding: 16px;
}

.post-card__category {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.post-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 8px;
	color: var(--text);
}

.post-card__excerpt {
	font-size: 0.85rem;
	color: var(--text-light);
	line-height: 1.5;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__meta {
	font-size: 0.78rem;
	color: var(--text-muted);
	display: flex;
	gap: 6px;
	align-items: center;
}

/* =============================================
   SINGLE POST
   ============================================= */
.single-post__hero {
	width: 100%;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	background: var(--bg-dark);
}

.single-post__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post__main {
	min-width: 0;
}

.single-post .sidebar {
	position: sticky;
	top: 88px;
	align-self: start;
}

.single-post__header {
	padding: 24px 0 20px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 28px;
}

.single-post__category {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
}

.single-post__category:hover {
	text-decoration: underline;
}

.single-post__title {
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

/* Post Meta */
.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0.82rem;
	color: var(--text-muted);
	align-items: center;
}

.post-meta a {
	color: var(--accent);
	font-weight: 500;
}

.post-meta a:hover {
	text-decoration: underline;
}

/* Entry Content */
.entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--text);
}

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

.entry-content h2 {
	font-size: 1.5rem;
	margin: 2em 0 0.8em;
}

.entry-content h3 {
	font-size: 1.25rem;
	margin: 1.8em 0 0.6em;
}

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

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content blockquote {
	border-left: 3px solid var(--accent);
	padding: 16px 20px;
	margin: 1.5em 0;
	background: var(--bg-alt);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--text-light);
}

.entry-content img {
	border-radius: var(--radius);
	margin: 1.5em 0;
}

.entry-content ul,
.entry-content ol {
	margin: 1em 0 1.4em 1.5em;
}

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

.entry-content pre {
	background: var(--bg-dark);
	color: #e0e0e0;
	padding: 20px;
	border-radius: var(--radius);
	overflow-x: auto;
	font-size: 0.9rem;
	margin: 1.5em 0;
}

.entry-content code {
	background: var(--bg-alt);
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 0.9em;
}

.entry-content pre code {
	background: none;
	padding: 0;
}

.entry-content figure {
	margin: 1.5em 0;
}

.entry-content figcaption {
	font-size: 0.82rem;
	color: var(--text-muted);
	text-align: center;
	margin-top: 8px;
}

/* Single Footer */
.single-post__footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.single-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.tag {
	display: inline-block;
	padding: 4px 12px;
	background: var(--bg-alt);
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-light);
	transition: all var(--transition);
}

.tag:hover {
	background: var(--accent);
	color: #fff;
}

/* Author Box */
.author-box {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: var(--bg-alt);
	border-radius: var(--radius);
	margin-bottom: 28px;
}

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

.author-box__name {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.author-box__bio {
	font-size: 0.88rem;
	color: var(--text-light);
	line-height: 1.5;
}

/* Post Navigation */
.post-navigation {
	margin: 28px 0;
}

.post-navigation .nav-links {
	display: grid;
	gap: 16px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	padding: 16px;
	background: var(--bg-alt);
	border-radius: var(--radius);
	transition: all var(--transition);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
	background: var(--border);
}

.post-nav-label {
	display: block;
	font-size: 0.75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.post-nav-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text);
}

/* Related Posts */
.related-posts {
	margin: 40px 0;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.related-posts__title {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

/* =============================================
   ARCHIVE HEADER
   ============================================= */
.archive-header {
	margin-bottom: 28px;
}

.archive-header__title {
	font-size: 1.6rem;
	font-weight: 800;
}

.archive-header__description {
	margin-top: 8px;
	color: var(--text-light);
	font-size: 0.95rem;
}

/* =============================================
   404 PAGE
   ============================================= */
.error-404 {
	text-align: center;
	padding: 60px 0;
}

.error-404__code {
	font-size: 6rem;
	font-weight: 900;
	color: var(--accent);
	line-height: 1;
	letter-spacing: -0.04em;
}

.error-404__title {
	font-size: 1.6rem;
	margin: 16px 0;
}

.error-404__text {
	color: var(--text-light);
	margin-bottom: 24px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.error-404 .search-form {
	max-width: 400px;
	margin: 0 auto 20px;
}

/* =============================================
   NO RESULTS
   ============================================= */
.no-results {
	text-align: center;
	padding: 40px 0;
}

.no-results__title {
	font-size: 1.4rem;
	margin-bottom: 10px;
}

.no-results__text {
	color: var(--text-light);
	margin-bottom: 20px;
}

.no-results .search-form {
	max-width: 400px;
	margin: 0 auto;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.widget {
	margin-bottom: 28px;
}

.widget-title {
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 14px;
}

.widget ul {
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}

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

.widget a {
	font-size: 0.9rem;
	color: var(--text-light);
}

.widget a:hover {
	color: var(--accent);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 32px 0;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text-light);
	background: var(--bg-alt);
	transition: all var(--transition);
}

.page-numbers:hover {
	background: var(--border);
	color: var(--text);
}

.page-numbers.current {
	background: var(--accent);
	color: #fff;
}

/* =============================================
   COMMENTS
   ============================================= */
.comments-area {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.comments-title {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

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

.comment-list .comment {
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-body {
	font-size: 0.92rem;
}

.comment-author {
	font-weight: 600;
	margin-bottom: 4px;
}

.comment-author img {
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

.comment-metadata {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.comment-content p {
	margin-bottom: 0.8em;
}

.reply a {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent);
}

/* Comment Form */
.comment-respond {
	margin-top: 28px;
}

.comment-reply-title {
	font-size: 1.1rem;
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--text-light);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.95rem;
	background: var(--bg);
	color: var(--text);
	transition: border-color var(--transition);
	outline: none;
	margin-bottom: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--accent);
}

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

.comment-form .submit {
	background: var(--accent);
	color: #fff;
	border: none;
	padding: 10px 28px;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
}

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

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
	margin-top: 60px;
}

.footer-widgets {
	background: var(--bg-dark);
	color: rgba(255,255,255,0.8);
	padding: 40px 0;
}

.footer-widgets__grid {
	display: grid;
	gap: 28px;
}

.footer-widgets .widget-title {
	color: #fff;
	border-bottom-color: var(--accent);
}

.footer-widgets .widget a {
	color: rgba(255,255,255,0.65);
}

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

.footer-widgets .widget li {
	border-bottom-color: rgba(255,255,255,0.1);
}

.footer-bar {
	background: #12121f;
	color: rgba(255,255,255,0.5);
	padding: 20px 0;
}

.footer-bar__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	font-size: 0.82rem;
}

.footer-menu {
	display: flex;
	list-style: none;
	gap: 16px;
}

.footer-menu a {
	color: rgba(255,255,255,0.5);
	font-size: 0.82rem;
}

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

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-md);
	transition: all var(--transition);
	z-index: 99;
	opacity: 0;
	transform: translateY(10px);
}

.back-to-top[hidden] {
	display: flex;
	pointer-events: none;
}

.back-to-top.visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.back-to-top:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
}

/* Page Title */
.page-title {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 24px;
}

/* =============================================
   RESPONSIVE — Tablet (≥ 640px)
   ============================================= */
@media (min-width: 640px) {
	.container {
		padding: 0 24px;
	}

	.featured-post__title {
		font-size: 2rem;
	}

	.featured-post__excerpt {
		display: block;
	}

	.featured-post__overlay {
		padding: 32px;
	}

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

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

	.single-post__title {
		font-size: 2.2rem;
	}

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

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

	.footer-bar__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* =============================================
   RESPONSIVE — Desktop (≥ 1024px)
   ============================================= */
@media (min-width: 1024px) {
	.main-nav {
		display: block;
	}

	.menu-toggle {
		display: none;
	}

	.site-header__inner {
		height: 68px;
	}

	.featured-post__title {
		font-size: 2.5rem;
	}

	.featured-post__overlay {
		padding: 48px;
	}

	.content-area {
		grid-template-columns: 1fr 300px;
	}

	.sidebar {
		padding-top: 0;
		border-top: none;
	}

	.single-post__title {
		font-size: 2.6rem;
	}

	.post-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

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

/* =============================================
   RESPONSIVE — Large Desktop (≥ 1280px)
   ============================================= */
@media (min-width: 1280px) {
	.container {
		padding: 0 32px;
	}
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
	.site-header,
	.breaking-news,
	.search-overlay,
	.mobile-menu,
	.sidebar,
	.footer-widgets,
	.back-to-top,
	.post-navigation,
	.comments-area,
	.related-posts {
		display: none !important;
	}

	body {
		font-size: 12pt;
		color: #000;
	}

	.entry-content a {
		text-decoration: underline;
	}
}
