@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #131b2f;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #1d4ed8;
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-2: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --gradient-3: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 40px rgba(0,0,0,0.5);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Background Orbs */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.4;
}
body::before { top: -10%; left: -10%; width: 500px; height: 500px; background: #3b82f6; animation: float1 20s infinite alternate; }
body::after { bottom: -10%; right: -10%; width: 600px; height: 600px; background: #8b5cf6; animation: float2 25s infinite alternate; }

@keyframes float1 { 0% { transform: translate(0, 0); } 100% { transform: translate(100px, 100px); } }
@keyframes float2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-100px, -100px); } }

a { color: var(--text-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== PREMIUM HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.site-logo {
  display: flex; align-items: center; gap: 12px;
}
.site-logo img { width: 40px; height: 40px; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6)); }
.logo-text-group { display: flex; flex-direction: column; }
.site-logo span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 900; letter-spacing: 1px;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.header-tagline { font-size: 0.6rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
}
.main-nav a:hover, .main-nav a.active { background: var(--bg-glass); color: #fff; box-shadow: inset 0 0 0 1px var(--border); }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* Mobile Nav */
.mobile-nav {
  display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: -100%; width: 100%; height: calc(100vh - var(--header-h));
  background: rgba(10, 15, 26, 0.98); backdrop-filter: blur(20px); z-index: 999; padding: 30px 24px; gap: 10px; transition: var(--transition); overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav a { padding: 16px 20px; font-size: 1.2rem; font-weight: 600; border-radius: var(--radius-sm); border: 1px solid transparent; }
.mobile-nav a:hover { background: var(--bg-glass); border-color: var(--border); padding-left: 30px; }

/* ===== HERO GRID ===== */
.hero-grid-section { padding: calc(var(--header-h) + 40px) 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; height: 500px;
}
.hero-tile { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--border); }
.hero-tile:first-child { grid-column: 1 / 2; grid-row: 1 / 3; }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.hero-tile:hover img { transform: scale(1.08); }

/* Deep Gradient Overlay to make text perfectly readable */
.hero-tile-overlay {
  position: absolute; inset: 0; padding: 30px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-tile-category {
  align-self: flex-start; background: var(--gradient-2); padding: 6px 14px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.hero-tile-overlay h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 8px; color: #fff; text-shadow: 0 4px 12px rgba(0,0,0,0.8); }
.hero-tile:first-child .hero-tile-overlay h2 { font-size: 2.6rem; }
.hero-meta { font-size: 0.85rem; color: #cbd5e1; font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 400px 250px 250px; height: auto; }
  .hero-tile:first-child { grid-column: 1; grid-row: 1; }
}

/* ===== BLOG CARDS (GLASSMORPHISM) ===== */
.section { padding: 60px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 8px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.blog-card {
  background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: pointer; box-shadow: var(--shadow);
}
.blog-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15); }
.card-image { position: relative; height: 220px; overflow: hidden; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .card-image img { transform: scale(1.05); }
.card-category { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; color: var(--text-primary); }
.card-body .excerpt { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border); }

/* ===== CATEGORY NAV ===== */
.category-header { padding: calc(var(--header-h) + 40px) 0 40px; text-align: center; }
.category-header h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 12px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.category-nav a { padding: 10px 24px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; background: var(--bg-secondary); border: 1px solid var(--border); transition: var(--transition); }
.category-nav a:hover, .category-nav a.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); transform: translateY(-2px); }

/* ===== ARTICLE PAGE ===== */
.article-header { text-align: center; max-width: 900px; margin: 0 auto 40px; padding-top: calc(var(--header-h) + 40px); }
.article-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.article-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.95rem; padding: 16px; background: var(--bg-secondary); border-radius: 50px; border: 1px solid var(--border); width: fit-content; margin: 0 auto; }

.article-featured-img { max-width: 1000px; margin: 0 auto 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.article-content { max-width: 800px; margin: 0 auto; font-size: 1.15rem; line-height: 1.9; color: #e2e8f0; }
.article-content h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin: 50px 0 20px; color: var(--accent-light); }
.article-content h3 { font-size: 1.4rem; margin: 30px 0 16px; color: #fff; }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 20px 30px; margin: 30px 0; background: var(--bg-secondary); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 1.2rem; }

/* ===== FOOTER ===== */
.site-footer { background: #050810; border-top: 1px solid var(--border); padding: 80px 0 40px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-col h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 24px; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 12px; display: inline-block; }
.footer-about-text { color: var(--text-secondary); line-height: 1.8; margin: 20px 0; }
.footer-links-bar { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-links-bar a { color: var(--text-muted); }
.footer-links-bar a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Footer Popular Posts (Fixing visibility) */
.fp-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fp-item img { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; }
.fp-item h4 { font-size: 0.9rem; font-weight: 500; color: #e2e8f0; line-height: 1.4; transition: var(--transition); }
.fp-item:hover h4 { color: var(--accent-light); }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-content {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg-secondary); min-width: 220px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  padding: 10px 0; z-index: 2000; flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-content { display: flex; }
.nav-dropdown-content a { padding: 10px 20px !important; border-radius: 0 !important; font-size: 0.88rem !important; white-space: nowrap; }
.nav-dropdown-content a:hover { background: var(--bg-glass) !important; }

/* ===== LATEST ARTICLES ===== */
.latest-articles-section { padding: 10px 0 50px; }
.la-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); display: inline-block; }
.la-top-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.la-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; cursor: pointer; border: 1px solid var(--border); }
.la-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.la-card:hover img { transform: scale(1.06); }
.la-card-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.la-card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); margin-bottom: 6px; }
.la-meta { font-size: 0.8rem; color: #cbd5e1; }
.la-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.la-list-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.la-list-item:hover { padding-left: 8px; }
.la-list-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.la-list-item h4 { font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); }

/* ===== CATEGORY SPOTLIGHT ===== */
.cat-spotlight-section { padding: 50px 0; }
.cat-spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cat-spotlight-col { border-top: 3px solid var(--accent); padding-top: 20px; }
.cat-spotlight-col h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; text-align: center; }
.cat-spot-featured { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 240px; cursor: pointer; margin-bottom: 16px; border: 1px solid var(--border); }
.cat-spot-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-spot-featured:hover img { transform: scale(1.05); }
.cs-overlay { position: absolute; inset: 0; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.cs-overlay h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.cat-spot-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.cat-spot-list-item:hover { padding-left: 6px; }
.cat-spot-list-item img { width: 70px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cat-spot-list-item h5 { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }

/* ===== BOTTOM BANNER ===== */
.bottom-banner-section { padding: 20px 0 60px; }
.bottom-banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bb-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 280px; cursor: pointer; border: 1px solid var(--border); }
.bb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bb-card:hover img { transform: scale(1.06); }
.bb-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.bb-cat { background: var(--gradient-2); padding: 5px 14px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.bb-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination button { background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-secondary); padding: 10px 18px; border-radius: 50px; cursor: pointer; font-weight: 600; transition: var(--transition); font-family: 'Outfit', sans-serif; }
.pagination button:hover, .pagination button.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(59,130,246,0.3); }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent-light); }

/* ===== TOC ===== */
.toc-container { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 30px; margin: 0 0 40px; }
.toc-container h3 { font-size: 1.1rem; margin-bottom: 12px; }
.toc-list { list-style: none; padding: 0; }
.toc-list li { padding: 6px 0; }
.toc-list li a { color: var(--text-secondary); font-size: 0.95rem; }
.toc-list li a:hover { color: var(--accent-light); }

/* ===== ARTICLE EXTRAS ===== */
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 28px; }
.article-content li { margin-bottom: 8px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--bg-secondary); border-radius: var(--radius-sm); overflow: hidden; }
.article-content th, .article-content td { padding: 14px 18px; border: 1px solid var(--border); text-align: left; }
.article-content th { background: rgba(59,130,246,0.15); font-weight: 700; }
.article-content a { color: var(--accent-light); text-decoration: underline; }
.article-tags { max-width: 800px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags span { padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-secondary); }

/* ===== SOCIAL SHARE ===== */
.social-share { max-width: 800px; margin: 30px auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.share-btn { padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; color: #fff !important; background: #1DA1F2; transition: var(--transition); }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ===== AUTHOR BOX ===== */
.author-box { max-width: 800px; margin: 40px auto; display: flex; gap: 24px; padding: 30px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--accent); }
.author-info h4 { font-size: 1.1rem; margin-bottom: 8px; }
.author-info p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== SIDEBAR ===== */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-widget { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-widget .popular-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.sidebar-widget .popular-post:last-child { border-bottom: none; }
.sidebar-widget .popular-post .thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sidebar-widget .popular-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-widget .popular-post .info h4 { font-size: 0.85rem; font-weight: 600; line-height: 1.4; }
.sidebar-widget .popular-post .info .meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ===== NEW BADGE ===== */
.new-badge { background: var(--gradient-2); color: #fff; padding: 2px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; margin-left: 6px; vertical-align: middle; }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-1); border: none; color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px); transition: var(--transition); box-shadow: 0 8px 24px rgba(59,130,246,0.4); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }

/* ===== FOOTER EXTRAS ===== */
.footer-grid-new { grid-template-columns: 1.2fr 1.5fr 1fr; }
.footer-contact { font-size: 0.88rem; color: var(--text-secondary); }
.footer-contact a { color: var(--accent-light); font-weight: 600; }
.footer-col p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--accent-light); }
.fc-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.fc-item:hover { padding-left: 4px; }
.fc-item span:first-child { color: var(--text-secondary); font-size: 0.88rem; }
.fc-item .count { background: var(--bg-glass); padding: 2px 10px; border-radius: 50px; font-size: 0.75rem; color: var(--text-muted); }

/* ===== FEATURED CARD ===== */
.featured-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; }
.featured-card .card-image { height: 100%; min-height: 300px; border-radius: var(--radius) 0 0 var(--radius); }
.featured-card .card-body { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.featured-card .card-body h3 { font-size: 1.5rem; }

/* ===== HERO CARD ALIASES (for sites using older class names) ===== */
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero-cat { background: var(--gradient-2); padding: 5px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; width: fit-content; margin-bottom: 10px; }
.hero-overlay h2, .hero-overlay h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.25; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero-overlay h2 { font-size: 1.8rem; }
.hero-overlay h3 { font-size: 1.1rem; }
.hero-meta, .hero-overlay .hero-meta { font-size: 0.82rem; color: #cbd5e1; }
.hero-card-large { grid-row: 1 / 3; }
.hero-stack { display: flex; flex-direction: column; gap: 16px; }

/* Latest card/list aliases */
.latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.latest-cards { display: flex; flex-direction: column; gap: 16px; }
.latest-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 200px; cursor: pointer; background-size: cover; background-position: center; }
.latest-card-overlay { position: absolute; inset: 0; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.latest-card-overlay h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.latest-list-item { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.latest-list-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.latest-list-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.latest-list-meta { font-size: 0.78rem; color: var(--text-muted); }

/* Spotlight aliases */
.spotlight-col { border-top: 3px solid var(--accent); padding-top: 16px; }
.spotlight-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; text-align: center; }
.spotlight-featured { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 220px; cursor: pointer; margin-bottom: 12px; background-size: cover; background-position: center; }
.spotlight-overlay { position: absolute; inset: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.spotlight-overlay h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.spotlight-list-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.spotlight-list-item img { width: 65px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.spotlight-list-item span { font-size: 0.83rem; font-weight: 600; color: var(--text-primary); }

/* Banner card alias */
.banner-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 260px; display: block; background-size: cover; background-position: center; }
.banner-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; color: #fff; }
.banner-overlay h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* ===== LATEST ARTICLES SECTION ===== */
.latest-articles-section { padding: 10px 0 40px; }
.la-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); display: inline-block; }
.la-top-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.la-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 280px; cursor: pointer; border: 1px solid var(--border); }
.la-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.la-card:hover img { transform: scale(1.06); }
.la-card-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.la-card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); margin-bottom: 6px; }
.la-meta { font-size: 0.78rem; color: #cbd5e1; }
.la-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.la-list-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.la-list-item:hover { padding-left: 8px; background: var(--bg-glass); border-radius: 8px; }
.la-list-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.la-list-item h4 { font-size: 0.88rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); }

/* ===== CATEGORY SPOTLIGHT ===== */
.cat-spotlight-section { padding: 40px 0; }
.cat-spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cat-spotlight-col { border-top: 3px solid var(--accent); padding-top: 16px; }
.cat-spotlight-col h3 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; text-align: center; }
.cat-spot-featured { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 220px; cursor: pointer; margin-bottom: 16px; border: 1px solid var(--border); }
.cat-spot-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-spot-featured:hover img { transform: scale(1.05); }
.cs-overlay { position: absolute; inset: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cs-overlay h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.cat-spot-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.cat-spot-list-item:hover { padding-left: 6px; background: var(--bg-glass); border-radius: 6px; }
.cat-spot-list-item img { width: 70px; height: 52px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cat-spot-list-item h5 { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }

/* ===== BOTTOM BANNER ===== */
.bottom-banner-section { padding: 20px 0 50px; }
.bottom-banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bb-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 260px; cursor: pointer; border: 1px solid var(--border); }
.bb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bb-card:hover img { transform: scale(1.06); }
.bb-overlay { position: absolute; inset: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.bb-cat { display: inline-block; background: var(--gradient-2); padding: 5px 14px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.bb-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; line-height: 1.35; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid, .footer-grid-new { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .la-top-row, .la-list, .cat-spotlight-grid, .bottom-banner-grid { grid-template-columns: 1fr; }
  .la-card, .bb-card { height: 240px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 350px 220px 220px; height: auto; }
  .hero-tile:first-child { grid-column: 1; grid-row: 1; }
  .hero-tile:first-child .hero-tile-overlay h2 { font-size: 1.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .card-image { min-height: 200px; border-radius: var(--radius) var(--radius) 0 0; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .latest-grid { grid-template-columns: 1fr; }
}
