/*
Theme Name: F1veArt News
Theme URI: https://f1veart.com
Author: Deepak
Description: Fast, lightweight newspaper-style WordPress theme for breaking Crime, Politics & Weather news. Auto-creates categories and all legal pages on activation. No jQuery/CDN dependency — built for speed.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: f1veart-news
*/

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
	background: #f7f6f4;
	line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b40000; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .4em; color: #111; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ TOP STRIP ============ */
.f1a-top-strip {
	background: #111;
	color: #eee;
	font-size: 12px;
	padding: 6px 0;
}
.f1a-top-strip .container { display: flex; justify-content: space-between; align-items: center; }
.f1a-top-strip .f1a-date { opacity: .7; }
.f1a-top-strip .f1a-breaking { color: #ff4d4d; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* ============ HEADER / MASTHEAD ============ */
.f1a-header {
	background: #fff;
	border-bottom: 4px solid #b40000;
	padding: 22px 0 14px;
}
.f1a-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.f1a-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.f1a-logo-mark {
	width: 44px; height: 44px; border-radius: 6px;
	background: #b40000; color: #fff; font-family: Georgia, serif; font-weight: 700;
	display: flex; align-items: center; justify-content: center; font-size: 22px;
	flex-shrink: 0;
}
.f1a-logo-text { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 30px; color: #111; letter-spacing: -.5px; }
.f1a-logo-text span { color: #b40000; }
.f1a-tagline { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #777; margin-top: 2px; }
.custom-logo-link img { max-height: 56px; width: auto; }

/* ============ NAV ============ */
.f1a-nav { background: #111; }
.f1a-nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.f1a-nav li { position: relative; }
.f1a-nav a {
	display: block; padding: 13px 18px; color: #fff; font-weight: 600;
	font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
}
.f1a-nav a:hover, .f1a-nav .current-menu-item > a { background: #b40000; text-decoration: none; }
.f1a-nav-toggle { display: none; }

/* ============ LAYOUT ============ */
.f1a-layout { display: grid; grid-template-columns: 2.4fr 1fr; gap: 34px; padding: 32px 0; align-items: start; }
@media (max-width: 860px) { .f1a-layout { grid-template-columns: 1fr; } }

/* ============ POSTS / CARDS ============ */
.f1a-featured {
	position: relative; margin-bottom: 30px; border-radius: 4px; overflow: hidden;
	background: #111;
}
.f1a-featured img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .85; }
.f1a-featured .f1a-featured-body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
	background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,0));
}
.f1a-featured .f1a-cat { color: #ff5c5c; }
.f1a-featured h2 { color: #fff; font-size: 30px; margin: 8px 0; }
.f1a-featured h2 a { color: #fff; }
.f1a-featured .f1a-meta { color: #ccc; font-size: 12px; }

.f1a-cat {
	display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1px; color: #b40000;
}
.f1a-card { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e3e1dc; }
.f1a-card:first-child { padding-top: 0; }
.f1a-card-thumb { flex: 0 0 200px; }
.f1a-card-thumb img { border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; }
.f1a-card-body { flex: 1; min-width: 0; }
.f1a-card h3 { font-size: 20px; margin: 6px 0 8px; }
.f1a-card p { color: #444; font-size: 14.5px; margin: 0 0 8px; }
.f1a-meta { color: #888; font-size: 12px; }
@media (max-width: 560px) { .f1a-card { flex-direction: column; } .f1a-card-thumb { flex-basis: auto; } }

.f1a-section-title {
	font-size: 15px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800;
	border-bottom: 3px solid #b40000; padding-bottom: 8px; margin-bottom: 14px; color: #111;
}

/* ============ SIDEBAR ============ */
.f1a-sidebar { display: flex; flex-direction: column; gap: 26px; }
.f1a-widget { background: #fff; border: 1px solid #e3e1dc; border-radius: 6px; padding: 18px; }
.f1a-widget h2, .f1a-widget .widget-title {
	font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800;
	border-bottom: 3px solid #b40000; padding-bottom: 8px; margin-bottom: 12px;
}
.f1a-widget ul { list-style: none; margin: 0; padding: 0; }
.f1a-widget li { padding: 8px 0; border-bottom: 1px dashed #e3e1dc; font-size: 14px; }
.f1a-widget li:last-child { border-bottom: none; }

.f1a-masthead-badge {
	text-align: center; padding: 22px 16px; background: #111; color: #fff; border-radius: 6px;
}
.f1a-masthead-badge .f1a-badge-mark {
	width: 46px; height: 46px; border-radius: 6px; background: #b40000; color: #fff;
	display: flex; align-items: center; justify-content: center; font-family: Georgia, serif;
	font-weight: 700; font-size: 22px; margin: 0 auto 10px;
}
.f1a-masthead-badge .f1a-badge-name { font-family: Georgia, serif; font-weight: 700; font-size: 20px; }
.f1a-masthead-badge .f1a-badge-name span { color: #ff5c5c; }
.f1a-masthead-badge .f1a-badge-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa; margin-top: 6px; }

/* ============ SINGLE POST ============ */
.f1a-single-header { margin-bottom: 18px; }
.f1a-single-header h1 { font-size: 38px; margin: 10px 0; }
.f1a-single-thumb img { border-radius: 6px; margin-bottom: 20px; }
.f1a-content { font-size: 17px; color: #222; }
.f1a-content p { margin: 0 0 1.2em; }
.f1a-content img { border-radius: 4px; margin: 1em 0; }
.f1a-content h2, .f1a-content h3 { margin-top: 1.4em; }
.f1a-breadcrumb { font-size: 12px; color: #888; margin-bottom: 10px; }
.f1a-breadcrumb a { color: #888; }

/* ============ FOOTER ============ */
.f1a-footer { background: #111; color: #ccc; margin-top: 40px; padding: 36px 0 18px; font-size: 13px; }
.f1a-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
@media (max-width: 700px) { .f1a-footer-grid { grid-template-columns: 1fr; } }
.f1a-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.f1a-footer ul { list-style: none; margin: 0; padding: 0; }
.f1a-footer li { padding: 4px 0; }
.f1a-footer a { color: #bbb; }
.f1a-footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 16px; text-align: center; color: #888; font-size: 12px; }

/* ============ MOBILE NAV ============ */
@media (max-width: 700px) {
	.f1a-nav ul { flex-direction: column; display: none; }
	.f1a-nav.f1a-nav-open ul { display: flex; }
	.f1a-nav-toggle {
		display: block; background: none; border: none; color: #fff; padding: 13px 18px;
		font-size: 13px; font-weight: 700; text-transform: uppercase; width: 100%; text-align: left;
	}
}

.skip-link { position: absolute; left: -9999px; top: 0; background: #b40000; color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
