/*
Theme Name: motoare.ro
Theme URI: https://motoare.ro
Author: motoare.ro
Description: Custom automotive blog theme — electric vehicles, motorcycles, classic engines. Bilingual RO/EN, dark/light mode, fully responsive.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motoare-ro
Tags: blog, dark, two-columns, custom-colors, translation-ready, responsive-layout
*/

/* =============================================================
   DESIGN SYSTEM — motoare.ro
   Brand: Deep Navy + Electric Teal + Warm Amber
   Fonts: Syne (headings) + Inter (body)
============================================================= */
:root {
	--bg:       #0D1B2A;
	--bg2:      #132233;
	--bg3:      #0a1822;
	--bg4:      #060E16;
	--border:   #1E3448;
	--border2:  #2A4560;
	--text:     #F4F4F0;
	--text2:    #9BB3C9;
	--text3:    #7A9AB8;
	--text4:    #4A6880;
	--teal:     #00C9B1;
	--amber:    #F5A623;
	--teal-dim: rgba(0,201,177,0.12);
	--teal-bdr: rgba(0,201,177,0.28);
	--radius:   10px;
	--radius-lg:14px;
	--max-w:    1200px;
}

body.light-mode {
	--bg:       #F5F7FA;
	--bg2:      #FFFFFF;
	--bg3:      #EBEEf3;
	--bg4:      #E0E5EC;
	--border:   #D2DAE4;
	--border2:  #B0BECF;
	--text:     #0D1B2A;
	--text2:    #2A4560;
	--text3:    #4A6880;
	--text4:    #7A9AB8;
	--teal-dim: rgba(0,180,160,0.10);
	--teal-bdr: rgba(0,180,160,0.30);
}

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

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	transition: background 0.3s, color 0.3s;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Syne', system-ui, -apple-system, sans-serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.site-inner {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 32px;
}

/* ── Skip link ── */
.skip-link {
	position: absolute;
	top: -40px;
	left: 8px;
	background: var(--teal);
	color: #0D1B2A;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	z-index: 100;
	transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* =============================================================
   NAV
============================================================= */
#site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	transition: background 0.3s;
}

.nav-wrap {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	gap: 16px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
}

.logo-mark {
	width: 38px;
	height: 38px;
	background: var(--teal);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #0D1B2A;
	flex-shrink: 0;
	letter-spacing: -1px;
}

.site-name {
	font-family: 'Syne', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: -0.5px;
}

.site-name .tld { color: var(--teal); }

/* Primary menu */
#primary-nav {
	display: flex;
	gap: 26px;
}

#primary-nav a {
	color: var(--text3);
	font-size: 14px;
	transition: color 0.2s;
	white-space: nowrap;
}

#primary-nav a:hover { color: var(--teal); }
#primary-nav .current-menu-item > a,
#primary-nav .current-menu-ancestor > a { color: var(--teal); }

/* Nav controls */
.nav-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.nav-social {
	display: flex;
	gap: 6px;
}

.nav-social-btn {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
	flex-shrink: 0;
}
.nav-social-btn:hover { opacity: 0.82; color: #fff; }

.btn-yt { background: #FF0000; }
.btn-ig { background: #C13584; }
.btn-fb { background: #1877F2; }
.btn-tt { background: #111111; outline: 1px solid #333; }

/* Language toggle */
.lang-toggle {
	display: flex;
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 3px;
	gap: 2px;
}

.lang-btn {
	padding: 3px 11px;
	border-radius: 14px;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--text3);
	transition: background 0.2s, color 0.2s;
	font-family: 'Inter', sans-serif;
}
.lang-btn.is-active { background: var(--teal); color: #0D1B2A; }

/* Theme toggle */
.theme-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--bg2);
	border: 1px solid var(--border);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--text3);
	transition: background 0.2s;
	font-family: 'Inter', sans-serif;
}

/* Mobile toggle */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text3);
	font-size: 22px;
	padding: 4px;
	line-height: 1;
	font-family: 'Inter', sans-serif;
}

/* =============================================================
   HERO
============================================================= */
.hero-section {
	padding: 72px 32px 60px;
	position: relative;
	overflow: hidden;
	max-width: var(--max-w);
	margin: 0 auto;
}

.hero-glow {
	position: absolute;
	width: 480px;
	height: 480px;
	top: -100px;
	right: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0,201,177,0.09) 0%, transparent 70%);
	pointer-events: none;
}

.hero-glow2 {
	position: absolute;
	width: 320px;
	height: 320px;
	bottom: -100px;
	left: 28%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
	pointer-events: none;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--teal-dim);
	border: 1px solid var(--teal-bdr);
	border-radius: 20px;
	padding: 5px 15px;
	font-size: 12px;
	color: var(--teal);
	margin-bottom: 22px;
	animation: fadeUp 0.6s ease both;
}

.badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	flex-shrink: 0;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,100% { opacity: 1; }
	50%      { opacity: 0.4; }
}

.hero-h1 {
	font-family: 'Syne', sans-serif;
	font-size: clamp(32px, 5.5vw, 54px);
	font-weight: 700;
	color: var(--text);
	line-height: 1.12;
	letter-spacing: -1.5px;
	max-width: 620px;
	margin-bottom: 18px;
	animation: fadeUp 0.7s 0.1s ease both;
}

.hero-h1 em { font-style: normal; color: var(--amber); }

.hero-sub {
	color: var(--text3);
	font-size: 16px;
	max-width: 500px;
	line-height: 1.7;
	margin-bottom: 30px;
	font-weight: 300;
	animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	animation: fadeUp 0.7s 0.3s ease both;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   BUTTONS
============================================================= */
.btn-primary {
	display: inline-block;
	background: var(--teal);
	color: #0D1B2A;
	border: none;
	padding: 12px 24px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: opacity 0.2s, transform 0.15s;
	text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #0D1B2A; }

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border2);
	padding: 11px 20px;
	border-radius: var(--radius);
	font-size: 14px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: border-color 0.2s, transform 0.15s;
	text-decoration: none;
}
.btn-outline:hover { border-color: var(--teal); transform: translateY(-1px); }
.icon-yt { color: #FF0000; font-size: 15px; }

/* =============================================================
   CATEGORY BAR
============================================================= */
.cat-bar {
	padding: 16px 32px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--border);
}

.cat-bar-inner {
	max-width: var(--max-w);
	margin: 0 auto;
	width: 100%;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cat-pill {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	border: 1px solid var(--border);
	background: var(--bg2);
	color: var(--text3);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
	text-decoration: none;
}
.cat-pill:hover,
.cat-pill.is-active {
	background: var(--teal);
	color: #0D1B2A;
	border-color: var(--teal);
}

/* =============================================================
   SECTION LABELS
============================================================= */
.sec-label {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 16px;
}

/* =============================================================
   FEATURED POST
============================================================= */
.featured-section {
	padding: 40px 32px 0;
	max-width: var(--max-w);
	margin: 0 auto;
}

.featured-card {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	transition: border-color 0.2s;
}
.featured-card:hover { border-color: var(--border2); }

.featured-thumb {
	width: 340px;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--bg3);
	position: relative;
}

.featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.featured-card:hover .featured-thumb img { transform: scale(1.04); }

.featured-no-thumb {
	width: 100%;
	height: 100%;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	background: var(--bg3);
}

.featured-body {
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Post tags */
.post-tags {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.post-tag {
	display: inline-block;
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 10px;
	font-weight: 500;
	background: var(--teal-dim);
	color: var(--teal);
	text-decoration: none;
	transition: opacity 0.2s;
}
.post-tag:hover { opacity: 0.75; color: var(--teal); }
.post-tag.t-amber  { background: rgba(245,166,35,0.15);  color: var(--amber); }
.post-tag.t-red    { background: rgba(239,83,80,0.15);   color: #EF5350; }
.post-tag.t-blue   { background: rgba(120,180,240,0.15); color: #78B4F0; }
.post-tag.t-purple { background: rgba(198,120,224,0.15); color: #C678E0; }

.entry-title {
	font-family: 'Syne', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.25;
	margin-bottom: 12px;
	letter-spacing: -0.3px;
}
.entry-title a { color: inherit; transition: color 0.2s; }
.entry-title a:hover { color: var(--teal); }

.entry-excerpt {
	font-size: 14px;
	color: var(--text3);
	line-height: 1.7;
	margin-bottom: 18px;
	font-weight: 300;
}

.entry-meta {
	font-size: 12px;
	color: var(--text4);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.meta-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--border2);
	display: inline-block;
}

.read-more {
	display: inline-block;
	color: var(--teal);
	font-size: 13px;
	font-weight: 500;
	margin-top: 14px;
	transition: opacity 0.2s;
}
.read-more:hover { opacity: 0.75; color: var(--teal); }

/* =============================================================
   POST GRID
============================================================= */
.posts-section {
	padding: 36px 32px;
	max-width: var(--max-w);
	margin: 0 auto;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.post-card {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.post-card-thumb {
	display: block;
	height: 180px;
	overflow: hidden;
	background: var(--bg3);
	position: relative;
	text-decoration: none;
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-no-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
}

.thumb-cat {
	position: absolute;
	bottom: 8px;
	left: 8px;
	font-size: 10px;
	padding: 3px 9px;
	border-radius: 10px;
	font-weight: 500;
	background: var(--teal-dim);
	color: var(--teal);
}

.post-card-body { padding: 16px 18px; }

.post-card-title {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.4;
	margin-bottom: 8px;
}
.post-card-title a { color: inherit; transition: color 0.2s; }
.post-card-title a:hover { color: var(--teal); }

.post-card-meta { font-size: 11px; color: var(--text4); }

/* =============================================================
   YOUTUBE SECTION
============================================================= */
.yt-section {
	padding: 36px 32px;
	background: var(--bg3);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.yt-inner {
	max-width: var(--max-w);
	margin: 0 auto;
}

.yt-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.yt-title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: 'Syne', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
}

.yt-live {
	background: #FF0000;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.yt-sub {
	font-size: 13px;
	color: var(--teal);
	text-decoration: none;
	transition: opacity 0.2s;
}
.yt-sub:hover { opacity: 0.75; }

.yt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.yt-card {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: block;
	text-decoration: none;
	transition: border-color 0.2s;
}
.yt-card:hover { border-color: var(--border2); }

.yt-thumb {
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: #0a1018;
}

.yt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yt-play {
	position: absolute;
	width: 36px;
	height: 36px;
	background: rgba(255,0,0,0.85);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #fff;
}

.yt-dur {
	position: absolute;
	bottom: 6px;
	right: 8px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	font-size: 9px;
	padding: 2px 5px;
	border-radius: 3px;
}

.yt-info { padding: 10px 12px; }

.yt-video-title {
	font-size: 12px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.4;
	margin-bottom: 4px;
}

.yt-views { font-size: 10px; color: var(--text4); }

/* =============================================================
   SINGLE POST
============================================================= */
.single-wrap {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 40px 32px;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 32px;
}

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

.single-thumb {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: var(--radius-lg);
	margin-bottom: 28px;
	border: 1px solid var(--border);
}

.single-title {
	font-family: 'Syne', sans-serif;
	font-size: clamp(24px, 4vw, 38px);
	font-weight: 700;
	color: var(--text);
	line-height: 1.15;
	letter-spacing: -1px;
	margin-bottom: 16px;
}

.post-content {
	color: var(--text2);
	font-size: 16px;
	line-height: 1.8;
	font-weight: 300;
}
.post-content h2,
.post-content h3,
.post-content h4 { color: var(--text); margin: 2rem 0 1rem; }
.post-content p   { margin-bottom: 1.2rem; }
.post-content a   { color: var(--teal); }
.post-content img { border-radius: var(--radius); border: 1px solid var(--border); margin: 1.5rem 0; }
.post-content ul,
.post-content ol  { margin: 1rem 0 1rem 1.5rem; color: var(--text2); }
.post-content li  { margin-bottom: 0.5rem; }
.post-content blockquote {
	border-left: 3px solid var(--teal);
	padding: 12px 20px;
	margin: 1.5rem 0;
	background: var(--bg2);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--text3);
	font-style: italic;
}

/* =============================================================
   SIDEBAR
============================================================= */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.widget-title {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 14px;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
	color: var(--text2);
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: inherit; transition: color 0.2s; }
.widget ul li a:hover { color: var(--teal); }

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

.comments-title {
	font-family: 'Syne', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 20px;
}

.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment-author-name   { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.comment-date          { font-size: 11px; color: var(--text4); margin-bottom: 8px; }
.comment-body-text     { font-size: 14px; color: var(--text2); line-height: 1.6; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 10px 14px;
	font-size: 14px;
	color: var(--text);
	font-family: 'Inter', sans-serif;
	width: 100%;
	outline: none;
	transition: border-color 0.2s;
	margin-bottom: 12px;
	display: block;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--teal); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form label    { display: block; font-size: 12px; color: var(--text3); margin-bottom: 5px; }

input[type="submit"],
.submit {
	background: var(--teal);
	color: #0D1B2A;
	border: none;
	padding: 11px 22px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: opacity 0.2s;
}
input[type="submit"]:hover { opacity: 0.85; }

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

.page-numbers,
.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	font-size: 13px;
	background: var(--bg2);
	border: 1px solid var(--border);
	color: var(--text2);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover {
	background: var(--teal);
	color: #0D1B2A;
	border-color: var(--teal);
}

/* =============================================================
   FOOTER
============================================================= */
#site-footer {
	padding: 40px 32px 28px;
	background: var(--bg4);
	border-top: 1px solid var(--border);
}

.footer-inner {
	max-width: var(--max-w);
	margin: 0 auto;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 28px;
	flex-wrap: wrap;
	gap: 28px;
}

.footer-brand p {
	font-size: 13px;
	color: var(--text4);
	margin-top: 10px;
	max-width: 260px;
	line-height: 1.7;
	font-weight: 300;
}

.footer-cols {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
}

.footer-col h4 {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--text4); font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	font-size: 12px;
	color: var(--text4);
	flex-wrap: wrap;
	gap: 10px;
}

.footer-social { display: flex; gap: 8px; }

.footer-soc-btn {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--bg2);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
	color: var(--text3);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}
.footer-soc-btn:hover { border-color: var(--teal); color: var(--teal); }

/* =============================================================
   404
============================================================= */
.page-404 {
	text-align: center;
	padding: 80px 32px;
	max-width: 560px;
	margin: 0 auto;
}
.page-404 .icon-404  { font-size: 80px; margin-bottom: 24px; }
.page-404 h1 { font-family: 'Syne', sans-serif; font-size: 72px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.page-404 p  { font-size: 18px; color: var(--text3); margin-bottom: 32px; }

/* =============================================================
   SEARCH FORM
============================================================= */
.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1;
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 10px 14px;
	font-size: 14px;
	color: var(--text);
	font-family: 'Inter', sans-serif;
	outline: none;
	transition: border-color 0.2s;
}
.search-field:focus { border-color: var(--teal); }
.search-submit {
	background: var(--teal);
	color: #0D1B2A;
	border: none;
	padding: 10px 18px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 960px) {
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.single-wrap { grid-template-columns: 1fr; }
	.sidebar { display: none; }
	.yt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.nav-wrap { padding: 0 16px; }
	#primary-nav { display: none; }
	#primary-nav.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--bg2);
		border-bottom: 1px solid var(--border);
		padding: 16px 20px;
		gap: 16px;
		z-index: 40;
	}
	.menu-toggle { display: block; }
	.nav-social { display: none; }

	.hero-section,
	.featured-section,
	.posts-section,
	.yt-section { padding-left: 16px; padding-right: 16px; }

	.featured-card { flex-direction: column; }
	.featured-thumb { width: 100%; height: 200px; }
	.featured-no-thumb { min-height: 180px; }
	.featured-body { padding: 20px; }

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

	.cat-bar { padding: 12px 16px; }
	#site-footer { padding: 28px 16px 20px; }
	.footer-cols { gap: 24px; }

	.single-wrap { padding: 24px 16px; }
}

@media (max-width: 480px) {
	.hero-h1 { font-size: 26px; letter-spacing: -0.8px; }
	.hero-sub { font-size: 14px; }
	.footer-top { flex-direction: column; }
}
