/*
Theme Name: FilmiWire
Theme URI: https://filmiwire.com
Author: Tahseen Ashrafi
Author URI: https://filmiwire.com
Description: A bold, cinematic entertainment & film review news theme for FilmiWire. Dark-first design with dramatic typography, built for Bollywood, Hollywood & beyond.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: filmiwire
Tags: news, entertainment, film, reviews, dark-mode, responsive, custom-menu, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Cinzel:wght@400;700;900&display=swap');

:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A08020;
  --crimson: #C0152A;
  --bg-primary: #F7F3EE;
  --bg-secondary: #EDE8E0;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1209;
  --text-primary: #1A1209;
  --text-secondary: #5A4E3A;
  --text-muted: #8A7B65;
  --border: #D4C9B5;
  --shadow: rgba(26,18,9,0.12);
  --shadow-strong: rgba(26,18,9,0.25);
  --overlay-gradient: linear-gradient(to top, rgba(10,6,2,0.95) 0%, rgba(10,6,2,0.4) 60%, transparent 100%);
  --font-display: 'Bebas Neue', serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg-primary: #0D0A06;
  --bg-secondary: #161008;
  --bg-card: #1E1610;
  --text-primary: #F0EBE0;
  --text-secondary: #C4B89A;
  --text-muted: #7A6E5A;
  --border: #2E2618;
  --shadow: rgba(0,0,0,0.4);
  --shadow-strong: rgba(0,0,0,0.7);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; transition: background-color 0.4s, color 0.4s; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Layout */
.container-main { width: 90%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--bg-primary); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 500; transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 4px 30px var(--shadow-strong); }

.header-topbar { background: var(--bg-dark); padding: 7px 0; border-bottom: 2px solid var(--gold); }
.header-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-date { font-size: 11px; letter-spacing: 1px; color: #7A6E5A; text-transform: uppercase; white-space: nowrap; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: #7A6E5A; font-size: 14px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(212,175,55,0.25); transition: var(--transition); }
.topbar-social a:hover { background: var(--gold); color: #0D0A06; border-color: var(--gold); }

.header-logo-row { padding: 16px 0 12px; display: flex; align-items: center; justify-content: center; position: relative; }
.site-branding { text-align: center; }
.site-branding .logo-img { max-height: 65px; width: auto; display: inline-block; }
.site-title { font-family: var(--font-display); font-size: clamp(40px,6vw,72px); letter-spacing: 6px; line-height: 1; color: var(--text-primary); text-transform: uppercase; display: block; }
.site-title span { color: var(--gold); }
.site-description-tag { font-family: var(--font-body); font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; display: block; }

.header-actions { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; }
.btn-icon { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.btn-icon:hover { background: var(--gold); color: #0D0A06; border-color: var(--gold); }

/* Search Overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(10,6,2,0.96); z-index: 9000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner { width: 90%; max-width: 700px; text-align: center; }
.search-overlay-inner p { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.search-overlay-form { display: flex; border-bottom: 2px solid var(--gold); }
.search-overlay-form input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-heading); font-size: 30px; color: #F0EBE0; padding: 10px 16px; caret-color: var(--gold); }
.search-overlay-form input::placeholder { color: rgba(240,235,224,0.3); }
.search-overlay-form button { background: transparent; border: none; cursor: pointer; color: var(--gold); font-size: 24px; padding: 10px 18px; }
.search-close { position: fixed; top: 28px; right: 28px; background: transparent; border: 1px solid rgba(212,175,55,0.3); color: #F0EBE0; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.search-close:hover { background: var(--gold); color: #0D0A06; }

/* Navigation */
.main-navigation { background: var(--bg-card); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.primary-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0; }
.primary-menu li { position: relative; }
.primary-menu li a { display: block; padding: 14px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-primary); position: relative; transition: var(--transition); }
.primary-menu li a::after { content: ''; position: absolute; bottom: 0; left: 50%; right: 50%; height: 3px; background: var(--gold); transition: var(--transition); }
.primary-menu li a:hover::after, .primary-menu li.current-menu-item > a::after { left: 0; right: 0; }
.primary-menu li a:hover, .primary-menu li.current-menu-item > a { color: var(--gold); }

/* Dropdown */
.primary-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--bg-card); border-top: 3px solid var(--gold); box-shadow: 0 10px 40px var(--shadow-strong); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 200; }
.primary-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu li a { padding: 10px 18px; font-size: 11px; border-bottom: 1px solid var(--border); }
.primary-menu .sub-menu li a::after { display: none; }

.mobile-menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text-primary); padding: 8px 14px; border-radius: var(--radius-sm); cursor: pointer; font-size: 18px; transition: var(--transition); }
.mobile-menu-toggle:hover { background: var(--gold); color: #0D0A06; }

/* Breaking News */
.breaking-news-bar { background: var(--crimson); padding: 8px 0; overflow: hidden; }
.breaking-news-inner { display: flex; align-items: center; }
.breaking-label { background: #0D0A06; color: var(--gold); font-family: var(--font-display); font-size: 12px; letter-spacing: 3px; padding: 4px 22px 4px 16px; white-space: nowrap; flex-shrink: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.breaking-ticker { flex: 1; overflow: hidden; padding-left: 18px; }
.breaking-ticker-text { display: inline-block; white-space: nowrap; animation: breakTick 40s linear infinite; font-size: 13px; font-weight: 500; color: #fff; }
.breaking-ticker-text a { color: #fff; margin-right: 50px; }
.breaking-ticker-text a::before { content: '◆ '; color: var(--gold); margin-right: 4px; }
.breaking-ticker-text a:hover { color: var(--gold-light); }
@keyframes breakTick { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* Section Heading */
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-heading .heading-text { font-family: var(--font-display); font-size: clamp(20px,3vw,30px); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.section-heading::before { content: ''; display: block; width: 5px; height: 34px; background: linear-gradient(to bottom, var(--gold), var(--crimson)); border-radius: 3px; flex-shrink: 0; }
.section-heading::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, var(--border), transparent); }
.section-heading .see-all { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); white-space: nowrap; padding: 5px 14px; border: 1px solid var(--gold); border-radius: 20px; transition: var(--transition); }
.section-heading .see-all:hover { background: var(--gold); color: #0D0A06; }

/* Hero */
.hero-section { padding: 28px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.hero-main { grid-row: 1/3; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0D0A06; display: block; }
.hero-main-img { width: 100%; height: 530px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.hero-main:hover .hero-main-img { transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: var(--overlay-gradient); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.hero-content .cat-tag { display: inline-block; background: var(--crimson); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.hero-content h2 { font-family: var(--font-heading); font-size: clamp(20px,3vw,32px); font-weight: 900; color: #F0EBE0; line-height: 1.2; margin-bottom: 10px; }
.hero-content h2 a { color: #F0EBE0; }
.hero-content h2 a:hover { color: var(--gold-light); }
.hero-content .meta { font-size: 12px; color: rgba(240,235,224,0.65); display: flex; gap: 10px; flex-wrap: wrap; }
.hero-content .meta .sep { color: var(--gold); }

.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero-side-post { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); flex: 1; display: block; }
.hero-side-post:hover { border-color: var(--gold); transform: translateX(3px); box-shadow: -4px 0 18px rgba(212,175,55,0.12); }
.hero-side-post-img { width: 100%; height: 145px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.hero-side-post:hover .hero-side-post-img { transform: scale(1.05); }
.hero-side-post-body { padding: 14px; }
.hero-side-post-body .cat-tag { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: block; }
.hero-side-post-body h3 { font-family: var(--font-heading); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.hero-side-post-body h3 a { color: inherit; }
.hero-side-post-body h3 a:hover { color: var(--gold); }
.hero-side-post-body .meta { font-size: 11px; color: var(--text-muted); }

/* Layout */
.site-main { padding: 40px 0 60px; }
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }

/* Post Cards */
.news-section { margin-bottom: 50px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.post-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px var(--shadow-strong); border-color: var(--gold); }
.post-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-secondary); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.07); }
.cat-tag-overlay { position: absolute; top: 10px; left: 10px; z-index: 2; }
.rating-badge { position: absolute; top: 10px; right: 10px; background: rgba(10,6,2,0.85); color: var(--gold); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--gold); backdrop-filter: blur(4px); z-index: 2; }

.post-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text-primary); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.post-card-body h3 a { color: inherit; }
.post-card-body h3 a:hover { color: var(--gold); }
.post-card-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.post-card-meta { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; display: inline-block; }
.btn-read-more { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 4px; }
.btn-read-more::after { content: '→'; transition: transform 0.2s; }
.btn-read-more:hover { color: var(--crimson); }
.btn-read-more:hover::after { transform: translateX(4px); }

/* Category Tag */
.cat-tag { display: inline-block; background: var(--gold); color: #0D0A06; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; transition: var(--transition); }
.cat-tag:hover { background: var(--crimson); color: #fff; }
.cat-tag.dark { background: var(--crimson); color: #fff; }
.cat-tag.dark:hover { background: var(--gold); color: #0D0A06; }

/* List Card */
.cards-list { display: flex; flex-direction: column; gap: 14px; }
.list-card { display: grid; grid-template-columns: 110px 1fr; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); align-items: center; }
.list-card:hover { border-color: var(--gold); box-shadow: 0 6px 20px var(--shadow); transform: translateX(4px); }
.list-card-thumb { height: 82px; overflow: hidden; }
.list-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.list-card:hover .list-card-thumb img { transform: scale(1.1); }
.list-card-body { padding: 12px 14px 12px 0; }
.list-card-body h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--text-primary); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card-body h4 a { color: inherit; }
.list-card-body h4 a:hover { color: var(--gold); }
.list-card-body .meta { font-size: 11px; color: var(--text-muted); }

/* Image Credit */
.image-credit { font-size: 10px; color: var(--text-muted); text-align: right; padding: 4px 10px; font-style: italic; background: var(--bg-secondary); }

/* Sidebar */
.site-sidebar { position: sticky; top: 100px; }
.widget { background: var(--bg-card); border-radius: var(--radius-md); padding: 22px; margin-bottom: 26px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.widget::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--gold), var(--crimson)); }
.widget-title { font-family: var(--font-display); font-size: 15px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); transition: var(--transition); align-items: flex-start; }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { transform: translateX(3px); }
.sidebar-post-num { font-family: var(--font-display); font-size: 26px; color: var(--gold); opacity: 0.28; line-height: 1; flex-shrink: 0; width: 26px; }
.sidebar-post-thumb { width: 70px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.sidebar-post:hover .sidebar-post-thumb img { transform: scale(1.1); }
.sidebar-post-info h5 { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text-primary); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post-info h5 a { color: inherit; }
.sidebar-post-info h5 a:hover { color: var(--gold); }
.sidebar-post-info .time { font-size: 11px; color: var(--text-muted); }
.widget-categories li { border-bottom: 1px solid var(--border); }
.widget-categories li:last-child { border-bottom: none; }
.widget-categories li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: var(--transition); }
.widget-categories li a:hover { color: var(--gold); padding-left: 8px; }
.widget-categories .count { background: var(--bg-secondary); color: var(--text-muted); font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 11px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--border); border-radius: 20px; color: var(--text-secondary); transition: var(--transition); }
.tag-cloud a:hover { background: var(--gold); color: #0D0A06; border-color: var(--gold); transform: translateY(-2px); }

/* Single Post */
.single-post-wrap { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; }
.single-post-hero { position: relative; overflow: hidden; max-height: 500px; background: #0D0A06; }
.single-post-hero img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.single-post-hero:hover img { transform: scale(1.02); }
.single-post-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(10,6,2,0.6), transparent); }
.single-post-body { padding: 36px 40px; }
.single-post-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.entry-title { font-family: var(--font-heading); font-size: clamp(24px,4vw,38px); font-weight: 900; line-height: 1.2; color: var(--text-primary); margin-bottom: 16px; }
.entry-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); }
.entry-meta strong { color: var(--text-primary); font-weight: 600; }
.entry-meta .sep { color: var(--gold); }

.social-share { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 26px; flex-wrap: wrap; }
.social-share-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0; }
.share-btn { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: var(--transition); background: transparent; }
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn.fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn.tw:hover { background: #1DA1F2; color: #fff; border-color: #1DA1F2; }
.share-btn.wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn.tg:hover { background: #2CA5E0; color: #fff; border-color: #2CA5E0; }

.entry-content { font-size: 17px; line-height: 1.85; color: var(--text-secondary); }
.entry-content p { margin-bottom: 22px; }
.entry-content h2, .entry-content h3 { font-family: var(--font-heading); color: var(--text-primary); margin: 32px 0 14px; line-height: 1.3; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(212,175,55,0.4); }
.entry-content a:hover { text-decoration-color: var(--gold); }
.entry-content img { width: 100%; border-radius: var(--radius-md); margin: 24px 0; }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 28px 0; padding: 16px 22px; background: var(--bg-secondary); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-heading); font-size: 19px; font-style: italic; color: var(--text-primary); line-height: 1.6; }
.entry-content ul, .entry-content ol { margin: 16px 0 22px 22px; }
.entry-content li { margin-bottom: 8px; }

.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.post-tags-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.post-tags a { font-size: 12px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 15px; color: var(--text-secondary); transition: var(--transition); }
.post-tags a:hover { background: var(--gold); color: #0D0A06; border-color: var(--gold); }

.author-box { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 24px; margin-top: 28px; display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--border); }
.author-avatar { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--gold); overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.author-role { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.author-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Archive */
.archive-header { text-align: center; padding: 50px 0 34px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.archive-label { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.archive-header h1 { font-family: var(--font-display); font-size: clamp(34px,6vw,70px); letter-spacing: 4px; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.archive-desc { font-size: 15px; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* Search */
.search-header { margin-bottom: 34px; }
.search-header h1 { font-family: var(--font-heading); font-size: 26px; font-weight: 700; }
.search-header h1 span { color: var(--gold); }

/* 404 */
.error-404-wrap { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-num { font-family: var(--font-display); font-size: clamp(100px,18vw,200px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); opacity: 0.2; letter-spacing: 10px; }
.error-404-wrap h2 { font-family: var(--font-heading); font-size: clamp(22px,4vw,34px); margin-bottom: 14px; margin-top: -20px; }
.error-404-wrap p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; max-width: 440px; }

/* Pagination */
.pagination-wrap { margin-top: 46px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0; }
.page-item a, .page-item span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-primary); transition: var(--transition); }
.page-item a:hover, .page-item.active a, .page-item.active span { background: var(--gold); color: #0D0A06; border-color: var(--gold); transform: translateY(-2px); }

/* Comments */
.comments-area { background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 40px; border: 1px solid var(--border); margin-top: 28px; }
.comments-title { font-family: var(--font-display); font-size: 18px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.comment-list { padding: 0; }
.comment { margin-bottom: 22px; padding: 18px; background: var(--bg-secondary); border-radius: var(--radius-md); border: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author b { font-weight: 700; color: var(--text-primary); font-size: 14px; }
.comment-meta time { font-size: 11px; color: var(--text-muted); }
.comment-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.children { padding-left: 40px; }
.comment-respond { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 24px; margin-top: 26px; border: 1px solid var(--border); }
.comment-reply-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.comment-form label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-body); font-size: 14px; color: var(--text-primary); outline: none; transition: var(--transition); margin-bottom: 16px; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit input[type="submit"] { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0D0A06; border: none; padding: 13px 30px; border-radius: 30px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.comment-form .form-submit input[type="submit"]:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.3); }

/* Search Form */
.search-form { display: flex; border: 1px solid var(--border); border-radius: 30px; overflow: hidden; transition: var(--transition); }
.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }
.search-form input[type="search"] { flex: 1; background: transparent; border: none; outline: none; padding: 11px 18px; font-family: var(--font-body); font-size: 14px; color: var(--text-primary); }
.search-form input::placeholder { color: var(--text-muted); }
.search-form button { background: var(--gold); border: none; color: #0D0A06; padding: 11px 18px; cursor: pointer; font-size: 15px; transition: var(--transition); }
.search-form button:hover { background: var(--gold-dark); }

/* Footer */
.site-footer { background: #0D0A06; color: #C4B89A; margin-top: 80px; border-top: 3px solid var(--gold); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding: 56px 0 36px; }
.footer-brand-title { font-family: var(--font-display); font-size: 38px; letter-spacing: 5px; color: #F0EBE0; text-transform: uppercase; margin-bottom: 4px; }
.footer-brand-title span { color: var(--gold); }
.footer-brand-tagline { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #5A4E3A; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.3); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #7A6E5A; transition: var(--transition); }
.footer-social a:hover { background: var(--gold); color: #0D0A06; border-color: var(--gold); transform: translateY(-3px); }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #F0EBE0; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(212,175,55,0.18); }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { font-size: 13px; color: #5A4E3A; display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.footer-col li a::before { content: '›'; color: var(--gold); font-size: 17px; line-height: 1; }
.footer-col li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(212,175,55,0.12); padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copyright { font-size: 12px; color: #3A3020; }
.footer-copyright strong { color: var(--gold); }
.footer-bottom-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-nav a { font-size: 12px; color: #3A3020; transition: var(--transition); }
.footer-bottom-nav a:hover { color: var(--gold); }

/* Back to top */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--gold); color: #0D0A06; border: none; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(212,175,55,0.35); transition: var(--transition); opacity: 0; transform: translateY(20px); pointer-events: none; z-index: 1000; }
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-4px); }

/* No Results */
.no-results-inner { text-align: center; padding: 70px 20px; }
.no-results-inner .icon { font-size: 56px; opacity: 0.3; margin-bottom: 18px; }
.no-results-inner h2 { font-family: var(--font-heading); font-size: 26px; margin-bottom: 10px; }
.no-results-inner p { color: var(--text-muted); margin-bottom: 26px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 280px; }
  .content-sidebar-wrap { grid-template-columns: 1fr 290px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { grid-row: auto; }
  .hero-main-img { height: 380px; }
  .hero-side { flex-direction: row; }
  .hero-side-post { flex-direction: row; }
  .hero-side-post-img { width: 130px; height: 100%; flex-shrink: 0; min-height: 120px; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .site-sidebar { position: static; }
  .cards-grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .header-topbar { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.open { display: block; }
  .primary-menu { flex-direction: column; align-items: stretch; }
  .primary-menu li a { padding: 11px 18px; }
  .primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 18px; }
  .header-logo-row { padding: 12px 0; }
  .hero-side { flex-direction: column; }
  .hero-side-post { flex-direction: row; }
  .single-post-body { padding: 22px 18px; }
  .comments-area { padding: 22px 18px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cards-grid-3 { grid-template-columns: 1fr; }
  .hero-main-img { height: 260px; }
  .hero-side-post { flex-direction: column; }
  .hero-side-post-img { width: 100%; height: 170px; }
  .back-to-top { bottom: 18px; right: 18px; }
}

@media print {
  .site-header, .site-footer, .site-sidebar, .social-share,
  .back-to-top, .search-overlay, .breaking-news-bar { display: none !important; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}
