:root {
    --cream: #fdf8f3;
    --warm-white: #fffcf8;
    --bg2: #ffffff;
    --border: #e8ddd0;
    --accent: #c0392b;
    --accent2: #e67e22;
    --accent-light: #fef0ed;
    --text: #1a1008;
    --text-muted: #6b5c4a;
    --text-light: #9c8572;
    --success: #27ae60;
    --radius: 6px;
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow: 0 2px 12px rgba(192,57,43,0.08);
    --shadow-lg: 0 8px 32px rgba(192,57,43,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header-top { background: var(--accent); padding: 8px 0; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.header-tagline { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 500; letter-spacing: 0.5px; }
.header-search { display: flex; gap: 0; }
.header-search input { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 12px; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font-body); font-size: 13px; outline: none; width: 200px; }
.header-search input::placeholder { color: rgba(255,255,255,0.6); }
.header-search input:focus { background: rgba(255,255,255,0.25); }
.header-search button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-left: none; color: #fff; padding: 6px 14px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 12px; font-weight: 600; font-family: var(--font-body); transition: background 0.2s; }
.header-search button:hover { background: rgba(255,255,255,0.35); }

.header-main { background: var(--warm-white); border-bottom: 2px solid var(--accent); padding: 16px 0; }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--text); white-space: nowrap; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { color: var(--text-muted); font-size: 14px; font-weight: 600; letter-spacing: 0.3px; transition: color 0.2s; text-transform: uppercase; font-size: 12px; }
nav a:hover { color: var(--accent); }

main.container { padding-top: 0; padding-bottom: 60px; }

/* HERO */
.hero-section { margin: 0 0 40px; }
.hero-card { display: block; border-radius: var(--radius); overflow: hidden; }
.hero-img { height: 500px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,5,0.9) 0%, rgba(20,10,5,0.3) 50%, transparent 100%); }
.hero-content { position: relative; padding: 40px; color: #fff; max-width: 700px; }
.hero-content h1 { font-family: var(--font-head); font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.15; margin: 10px 0 12px; }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 16px; }
.hero-read { display: inline-block; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 14px; transition: background 0.2s; }
.hero-card:hover .hero-read { background: #a93226; }

/* CAT PILL */
.cat-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.cat-pill-sm { font-size: 10px; padding: 3px 8px; }

/* SECTION */
.section { margin: 40px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.section-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); }
.section-link { color: var(--accent); font-size: 14px; font-weight: 600; }

/* FEATURED GRID */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.featured-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.featured-img { height: 200px; background-size: cover; background-position: center; }
.featured-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.featured-body h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.3; }
.featured-body p { color: var(--text-muted); font-size: 14px; line-height: 1.6; flex: 1; }
.read-more { color: var(--accent); font-weight: 600; font-size: 13px; margin-top: auto; }

/* ARTICLE GRID */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-img { height: 200px; background-size: cover; background-position: center; }
.article-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-body h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; }
.article-body p { color: var(--text-muted); font-size: 14px; flex: 1; }

/* CATEGORY GRID */
.cat-grid { display: flex; flex-direction: column; gap: 2px; }
.cat-card { background: var(--bg2); border: 1px solid var(--border); padding: 16px 20px; display: flex; align-items: center; gap: 16px; transition: background 0.2s, border-color 0.2s; }
.cat-card:hover { background: var(--accent-light); border-color: var(--accent); }
.cat-icon { font-size: 28px; flex-shrink: 0; }
.cat-info { flex: 1; }
.cat-name { display: block; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.cat-desc { font-size: 13px; color: var(--text-muted); }
.cat-arrow { color: var(--accent); font-weight: 700; font-size: 18px; }

/* PAGE HEADER */
.page-header { margin: 30px 0 24px; padding: 24px; background: var(--bg2); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.page-header-inner { display: flex; align-items: center; gap: 16px; }
.page-header-icon { font-size: 40px; }
.page-header h1 { font-family: var(--font-head); font-size: clamp(22px, 4vw, 36px); font-weight: 900; }
.page-header h1 em { color: var(--accent); font-style: normal; }
.page-header p { color: var(--text-muted); margin-top: 4px; }

/* ARTICLE DETAIL */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-top: 30px; }
.article-hero { height: 420px; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 28px; }
.article-body { }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.article-body h1 { font-family: var(--font-head); font-size: clamp(24px, 4vw, 40px); font-weight: 900; line-height: 1.2; margin: 10px 0 12px; }
.article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.article-excerpt { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; color: var(--text); margin-bottom: 24px; font-style: italic; }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 8px; }
.article-content p { margin-bottom: 18px; color: var(--text-muted); }
.article-content strong { color: var(--text); }
.article-content a { color: var(--accent); text-decoration: underline; }

/* SHARE */
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 2px solid var(--border); flex-wrap: wrap; }
.article-share span { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.share-btn { padding: 8px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; border: none; cursor: pointer; font-family: var(--font-body); }
.share-tw { background: #1da1f2; color: #fff; }
.share-fb { background: #1877f2; color: #fff; }
.share-pin { background: #e60023; color: #fff; }
.share-copy { background: var(--cream); color: var(--text); border: 1px solid var(--border); }

/* SIDEBAR */
.article-sidebar { }
.sidebar-widget { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.widget-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.sidebar-item { display: flex; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sidebar-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-thumb { width: 65px; height: 65px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 4px; }
.sidebar-item-body p { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.sidebar-item-body span { font-size: 11px; color: var(--text-light); }
.sidebar-link { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--accent); }

/* STATIC PAGES */
.static-page { max-width: 800px; margin: 30px auto 60px; }
.static-page h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 8px; }
.static-page h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 28px 0 8px; color: var(--accent); }
.static-page p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.static-page a { color: var(--accent); text-decoration: underline; }
.static-date { font-size: 13px; color: var(--text-light); margin-bottom: 24px !important; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.contact-link { color: var(--accent) !important; font-weight: 600; font-size: 13px; text-decoration: none !important; word-break: break-all; }

/* UTILS */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 14px; transition: background 0.2s; margin-top: 16px; }
.btn-primary:hover { background: #a93226; }
.ad-native-wrap { margin: 28px 0; min-height: 60px; }

/* FOOTER */
.site-footer { background: #1a0e08; color: rgba(255,255,255,0.65); padding: 52px 0 24px; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer-logo { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--accent2); }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.footer-disclaimer { font-size: 11px !important; color: rgba(255,255,255,0.35) !important; margin-top: 12px !important; }
.footer-links-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { font-size: 14px; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom p { font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 960px) {
    .featured-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-img { height: 380px; }
}
@media (max-width: 640px) {
    nav { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .hero-img { height: 300px; }
    .hero-content { padding: 24px; }
    .footer-top { grid-template-columns: 1fr; }
    .header-search { display: none; }
}
