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

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(5, 150, 105, 0.04);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #059669;
  --accent-light: #10b981;
  --accent-dark: #047857;
  --accent-2: #f59e0b;
  --gradient-1: linear-gradient(135deg, #059669, #10b981);
  --gradient-2: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-3: linear-gradient(135deg, #059669, #0d9488);
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(5,150,105,0.15);
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
  --header-h: 72px;
}

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

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

a { color: var(--text-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
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 (Dark Slate) ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: #1e293b;
  backdrop-filter: blur(24px);
  border-bottom: 3px solid #059669;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.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(5,150,105,0.4)); }
.logo-text-group { display: flex; flex-direction: column; }
.site-logo span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900; letter-spacing: 1px;
  color: #ffffff;
}
.header-tagline { font-size: 0.6rem; font-weight: 500; color: #94a3b8; 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.88rem; font-weight: 500; color: #cbd5e1;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }

.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: #1e293b; z-index: 999; padding: 30px 24px; gap: 6px; transition: var(--transition); overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav a { padding: 14px 20px; font-size: 1.1rem; font-weight: 600; border-radius: var(--radius-sm); color: #e2e8f0; border: 1px solid transparent; }
.mobile-nav a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); padding-left: 28px; color: #fff; }

/* ===== 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: #fff; min-width: 220px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  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; color: var(--text-primary) !important; }
.nav-dropdown-content a:hover { background: var(--bg-glass) !important; color: var(--accent) !important; }

/* ===== HERO GRID ===== */
.hero-grid-section { padding: calc(var(--header-h) + 30px) 0 30px; }
.hero-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 480px;
}
.hero-tile { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); }
.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.06); }

.hero-tile-overlay {
  position: absolute; inset: 0; padding: 28px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.05) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-tile-category {
  align-self: flex-start; background: var(--gradient-1); padding: 5px 14px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: #fff;
}
.hero-tile-overlay h2 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; line-height: 1.25; margin-bottom: 6px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-tile:first-child .hero-tile-overlay h2 { font-size: 2.2rem; }
.hero-meta { font-size: 0.78rem; color: #e2e8f0; font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 340px repeat(4, 180px); height: auto; }
  .hero-tile:first-child { grid-column: 1; grid-row: 1; }
  .hero-tile-overlay h2 { font-size: 0.95rem; }
  .hero-tile:first-child .hero-tile-overlay h2 { font-size: 1.7rem; }
}

/* ===== BLOG CARDS ===== */
.section { padding: 50px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 8px; color: var(--text-primary); }
.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: 28px; }
.blog-card {
  background: var(--bg-card); 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(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.card-image { position: relative; height: 210px; 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: 14px; left: 14px; background: var(--gradient-1); padding: 5px 14px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--text-primary); }
.card-body .excerpt { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); padding-top: 14px; border-top: 1px solid var(--border); }

/* ===== CATEGORY NAV ===== */
.category-header { padding: calc(var(--header-h) + 40px) 0 30px; text-align: center; }
.category-header h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 12px; color: var(--text-primary); }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.category-nav a { padding: 9px 22px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; background: #fff; border: 1px solid var(--border); color: var(--text-secondary); transition: var(--transition); }
.category-nav a:hover, .category-nav a.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(5,150,105,0.25); 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(1.8rem, 4.5vw, 3.2rem); line-height: 1.2; margin-bottom: 24px; color: var(--text-primary); }
.article-meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.9rem; padding: 14px 24px; background: #fff; border-radius: 50px; border: 1px solid var(--border); width: fit-content; margin: 0 auto; box-shadow: var(--shadow); }

.article-featured-img { max-width: 1000px; margin: 0 auto 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.article-content { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.9; color: var(--text-secondary); }
.article-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 45px 0 18px; color: var(--accent-dark); }
.article-content h3 { font-size: 1.35rem; margin: 30px 0 14px; color: var(--text-primary); }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 18px 28px; margin: 28px 0; background: #f0fdf4; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 1.15rem; color: var(--text-secondary); }

/* ===== 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: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.article-content th, .article-content td { padding: 14px 18px; border: 1px solid var(--border); text-align: left; }
.article-content th { background: #f0fdf4; font-weight: 700; color: var(--accent-dark); }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-tags { max-width: 800px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags span { padding: 7px 16px; border-radius: 50px; font-size: 0.82rem; background: #f0fdf4; border: 1px solid #d1fae5; color: var(--accent-dark); font-weight: 500; }

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

/* ===== AUTHOR BOX ===== */
.author-box { max-width: 800px; margin: 40px auto; display: flex; gap: 24px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.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: 6px; color: var(--text-primary); }
.author-info p { font-size: 0.9rem; 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) + 20px); }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); color: var(--text-primary); }
.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.82rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.sidebar-widget .popular-post .info .meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TOC ===== */
.toc-container { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 35px; box-shadow: var(--shadow); }
.toc-container h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text-primary); }
.toc-list { list-style: none; padding: 0; }
.toc-list li { padding: 5px 0; }
.toc-list li a { color: var(--text-secondary); font-size: 0.92rem; }
.toc-list li a:hover { color: var(--accent); }

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

/* ===== LATEST ARTICLES SECTION ===== */
.latest-articles-section { padding: 10px 0 40px; }
.la-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; color: var(--text-primary); }
.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; box-shadow: var(--shadow-md); }
.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: 22px; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.la-card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; line-height: 1.35; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.5); margin-bottom: 5px; }
.la-meta { font-size: 0.76rem; color: #e2e8f0; }
.la-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.la-list-item { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); border-radius: 8px; }
.la-list-item:hover { padding-left: 14px; background: var(--bg-glass); }
.la-list-item img { width: 78px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.la-list-item h4 { font-size: 0.86rem; 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.92rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; text-align: center; color: var(--text-primary); }
.cat-spot-featured { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 210px; cursor: pointer; margin-bottom: 14px; box-shadow: var(--shadow-md); }
.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.85) 0%, rgba(0,0,0,0.25) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cs-overlay h4 { font-family: 'Playfair Display', serif; font-size: 0.92rem; 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: 9px 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: 68px; height: 50px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cat-spot-list-item h5 { font-size: 0.8rem; 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; box-shadow: var(--shadow-md); }
.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: 22px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 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-1); padding: 5px 14px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.bb-overlay h3 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; line-height: 1.35; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination button { background: #fff; 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: 'Inter', sans-serif; }
.pagination button:hover, .pagination button.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(5,150,105,0.25); }

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

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-1); border: none; color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px); transition: var(--transition); box-shadow: 0 6px 20px rgba(5,150,105,0.35); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
.site-footer { background: #1e293b; border-top: 3px solid var(--accent); padding: 70px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-grid-new { grid-template-columns: 1.2fr 1.5fr 1fr; }
.footer-col h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 20px; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; }
.footer-about-text { color: #94a3b8; line-height: 1.8; margin: 18px 0; font-size: 0.88rem; }
.footer-contact { font-size: 0.85rem; color: #94a3b8; }
.footer-contact a { color: var(--accent-light); font-weight: 600; }
.footer-col p { font-size: 0.85rem; color: #94a3b8; line-height: 1.7; }
.footer-links-bar { display: flex; justify-content: center; gap: 28px; margin-bottom: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-links-bar a { color: #64748b; font-size: 0.88rem; }
.footer-links-bar a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; color: #64748b; font-size: 0.85rem; }

/* Footer Popular Posts */
.fp-item { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.fp-item img { width: 78px; height: 58px; border-radius: 8px; object-fit: cover; }
.fp-item h4 { font-size: 0.85rem; font-weight: 500; color: #e2e8f0; line-height: 1.4; transition: var(--transition); }
.fp-item:hover h4 { color: var(--accent-light); }

/* ===== STATIC PAGES ===== */
.static-page { max-width: 800px; margin: calc(var(--header-h) + 40px) auto 60px; padding: 0 24px; }
.static-page h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; margin-bottom: 16px; color: var(--text-primary); }
.static-page h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--accent-dark); margin: 30px 0 12px; border-left: 4px solid var(--accent); padding-left: 14px; }
.static-page p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }

/* ===== CONTACT FORM ===== */
.contact-form { margin-top: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--text-primary); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(5,150,105,0.12); }
.form-group textarea { min-height: 160px; resize: vertical; }
.btn-submit { background: var(--gradient-1); color: #fff; border: none; padding: 14px 36px; border-radius: 50px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(5,150,105,0.3); }

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

/* ===== SEARCH OVERLAY ===== */
.nav-search {
  display: inline-flex; align-items: center; padding: 8px; cursor: pointer;
  color: #e2e8f0; font-size: 1.1rem; transition: 0.3s ease;
}
.nav-search:hover { opacity: 0.7; transform: scale(1.1); }

.search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(12px);
  z-index: 9999; display: none; align-items: flex-start; justify-content: center;
  padding-top: 10vh; opacity: 0; transition: opacity 0.3s ease;
}
.search-overlay.active { display: flex; opacity: 1; }

.search-overlay-inner { width: 90%; max-width: 720px; position: relative; }

.search-close {
  position: absolute; top: -48px; right: 0; background: none; border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer; opacity: 0.7; transition: 0.3s ease; line-height: 1;
}
.search-close:hover { opacity: 1; transform: scale(1.15); }

.search-box { position: relative; }
.search-box input {
  width: 100%; padding: 18px 24px 18px 54px; font-size: 1.15rem; font-family: inherit;
  border: none; border-radius: 12px; background: #fff; color: #1a1a1a;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2); outline: none;
}
.search-box input::placeholder { color: #aaa; font-style: italic; }
.search-box::before { content: '🔍'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; pointer-events: none; }

.search-results { margin-top: 20px; max-height: 55vh; overflow-y: auto; padding-right: 4px; }
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.search-hint { color: rgba(255,255,255,0.5); text-align: center; font-size: 0.95rem; padding: 40px 0; font-style: italic; }
.search-no-results { color: rgba(255,255,255,0.6); text-align: center; padding: 40px 0; font-size: 1rem; }

.search-result-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  background: rgba(255,255,255,0.08); border-radius: 10px; margin-bottom: 8px;
  cursor: pointer; transition: 0.3s ease; border: 1px solid rgba(255,255,255,0.06);
}
.search-result-item:hover { background: rgba(255,255,255,0.15); transform: translateX(4px); border-color: rgba(255,255,255,0.12); }

.search-result-img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-cat { display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #10b981; margin-bottom: 4px; }
.search-result-title { font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result-excerpt { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-count { color: rgba(255,255,255,0.4); font-size: 0.8rem; padding: 8px 0 4px; text-align: right; }

/* ===== 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: 36px; }
}
@media (max-width: 768px) {
  .la-top-row, .la-list, .cat-spotlight-grid, .bottom-banner-grid { grid-template-columns: 1fr; }
  .la-card, .bb-card { height: 220px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 320px repeat(4, 180px); height: auto; }
  .hero-tile:first-child { grid-column: 1; grid-row: 1; }
  .hero-tile:first-child .hero-tile-overlay h2 { font-size: 1.7rem; }
  .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; }
  .search-overlay { padding-top: 5vh; }
  .search-overlay-inner { width: 95%; }
  .search-box input { font-size: 1rem; padding: 16px 20px 16px 46px; }
  .search-result-img { width: 60px; height: 44px; }
  .about-stats { grid-template-columns: 1fr; }
  .static-page h1 { font-size: 1.8rem; }
}

/* ===== ARTICLE PAGE SPECIFICS ===== */
.article-page { padding-top: var(--header-h); }
.pt-0 { padding-top: 0; }
