/*
Theme Name: SchemePress
Theme URI: https://example.com
Author: SchemePress
Description: A fast, AdSense-friendly theme for government scheme and scholarship information websites. Bilingual (English + Bengali) ready, clean layout with sidebar, two navigation bars, and optimized ad placement zones.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, government, scheme, scholarship, two-columns, right-sidebar, custom-menu, adsense
Text Domain: schemepress
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --primary:       #1a3a6b;
  --primary-dark:  #0f2447;
  --primary-light: #2563b0;
  --accent:        #e8a020;
  --accent-dark:   #c47d00;
  --bg:            #f4f6fa;
  --surface:       #ffffff;
  --border:        #dde3ee;
  --text:          #1e2535;
  --text-muted:    #5a6478;
  --link:          #1a3a6b;
  --link-hover:    #e8a020;
  --notice-bg:     #fff8e6;
  --notice-border: #e8a020;
  --success:       #2d7a3a;
  --radius:        6px;
  --shadow:        0 2px 10px rgba(26,58,107,0.09);
  --shadow-md:     0 4px 24px rgba(26,58,107,0.14);
  --font-main:     'Noto Sans Bengali', 'Noto Sans', sans-serif;
  --font-head:     'Tiro Bangla', 'Noto Serif Bengali', Georgia, serif;
  --max-width:     1200px;
  --content-width: 760px;
  --sidebar-width: 300px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* =============================================
   GOOGLE FONTS IMPORT
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;600;700&family=Noto+Sans:wght@400;600;700&family=Tiro+Bangla:ital@0;1&display=swap');

/* =============================================
   SKIP LINK
============================================= */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--primary); color: #fff;
  padding: 8px 16px; z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* =============================================
   TOP BAR (Secondary Nav)
============================================= */
#topbar {
  background: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
}
#topbar .topbar-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#topbar .topbar-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 0;
}
#top-menu { display: flex; flex-wrap: wrap; }
#top-menu li a {
  display: block;
  color: #c8d6f0;
  font-size: 12.5px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background .2s, color .2s;
}
#top-menu li a:hover,
#top-menu li.current-menu-item a {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

/* =============================================
   HEADER
============================================= */
#masthead {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-branding img { height: 50px; width: auto; }
.site-title { margin: 0; font-size: 20px; font-family: var(--font-head); line-height: 1.2; }
.site-title a { color: #fff; font-weight: 700; }
.site-title a:hover { color: var(--accent); }
.site-description { color: #a8c0e0; font-size: 12px; margin-top: 2px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* Main Navigation */
#site-navigation { flex: 1; }
#primary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}
#primary-menu li { position: relative; }
#primary-menu li a {
  display: block;
  color: #dce9ff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a {
  background: var(--accent);
  color: #fff;
}
/* Dropdown */
#primary-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--primary-dark);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 200;
  border-radius: 0 0 var(--radius) var(--radius);
}
#primary-menu li:hover > ul { display: block; }
#primary-menu li ul li a {
  padding: 9px 16px;
  border-radius: 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* =============================================
   NOTICE BAR
============================================= */
.notice-bar {
  background: var(--notice-bg);
  border-bottom: 2px solid var(--notice-border);
  padding: 10px 16px;
}
.notice-bar-inner {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #5a3d00;
}
.notice-bar-inner .notice-icon {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.notice-bar-inner strong { color: #7a4c00; }

/* =============================================
   MAIN WRAPPER
============================================= */
#page-wrapper {
  max-width: var(--max-width);
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 24px;
  align-items: start;
}
#primary { min-width: 0; }

/* =============================================
   HERO BANNER (Homepage)
============================================= */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  padding: 36px 32px;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hero-banner h1 {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.hero-banner p { color: rgba(255,255,255,0.85); font-size: 14.5px; margin-bottom: 18px; }
.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .15s;
  margin-right: 8px;
  margin-bottom: 6px;
}
.hero-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hero-btn.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff !important;
}
.hero-btn.outline:hover { background: rgba(255,255,255,0.12); }

/* =============================================
   AD ZONE PLACEHOLDER
============================================= */
.ad-zone {
  background: #f0f3fa;
  border: 1px dashed #b0bbcc;
  border-radius: var(--radius);
  text-align: center;
  padding: 6px;
  margin-bottom: 20px;
  font-size: 11px;
  color: #8a95a5;
  overflow: hidden;
}
.ad-zone-label { margin-bottom: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.ad-zone-top    { min-height: 100px; }
.ad-zone-mid    { min-height: 90px; }
.ad-zone-bottom { min-height: 90px; }

/* =============================================
   ARTICLE / ENTRY
============================================= */
.entry-card {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
  transition: box-shadow .2s;
  border: 1px solid var(--border);
}
.entry-card:hover { box-shadow: var(--shadow-md); }
.entry-card .entry-thumb { width: 100%; height: 200px; object-fit: cover; }
.entry-card-body { padding: 20px 22px 22px; }

.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted); margin-bottom: 8px;
}
.entry-meta .cat-badge {
  background: var(--primary);
  color: #fff;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.entry-card .entry-title { font-family: var(--font-head); font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.entry-card .entry-title a { color: var(--text); }
.entry-card .entry-title a:hover { color: var(--primary-light); }
.entry-excerpt { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
.read-more {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.read-more:hover { background: var(--primary-light); }

/* =============================================
   SINGLE POST
============================================= */
.single-article {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.single-article .featured-image { width: 100%; max-height: 400px; object-fit: cover; }
.single-article-body { padding: 28px 32px 32px; }

.single-article .entry-title {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}
.single-article .entry-meta { margin-bottom: 16px; }
.single-article .entry-meta a { color: var(--primary-light); }

/* Post Content Typography */
.entry-content { font-size: 15.5px; line-height: 1.8; color: var(--text); }
.entry-content h2 {
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--border);
}
.entry-content h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--primary-dark);
  margin: 22px 0 10px;
}
.entry-content h4 { font-size: 15px; margin: 16px 0 8px; color: var(--text); }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol {
  margin: 12px 0 16px 22px;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--primary-light); text-decoration: underline; }
.entry-content a:hover { color: var(--accent-dark); }
.entry-content strong { color: var(--primary-dark); }

/* Tables in content */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.entry-content th {
  background: var(--primary);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
}
.entry-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.entry-content tr:nth-child(even) td { background: #f5f8ff; }
.entry-content tr:last-child td { border-bottom: none; }

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--notice-bg);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #5a3d00;
  font-style: italic;
}

/* Notice / Alert in content */
.entry-content .notice, .notice-box {
  background: var(--notice-bg);
  border-left: 4px solid var(--accent);
  padding: 13px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 18px 0;
  font-size: 14px;
  color: #5a3d00;
}

/* Images in content */
.entry-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 14px 0;
}
.entry-content figure { margin: 18px 0; }
.entry-content figcaption { font-size: 12.5px; color: var(--text-muted); text-align: center; margin-top: 6px; }

/* Post Tags */
.post-tags { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.post-tags span { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.post-tags a {
  display: inline-block;
  background: #eef2fa;
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin: 3px 2px;
  border: 1px solid var(--border);
  transition: background .2s;
}
.post-tags a:hover { background: var(--primary); color: #fff; }

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.nav-previous, .nav-next {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
}
.nav-next { text-align: right; }
.nav-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.nav-previous a, .nav-next a { color: var(--primary); font-weight: 600; }
.nav-previous a:hover, .nav-next a:hover { color: var(--accent-dark); }

/* =============================================
   QUICK INFO BOX (page sections)
============================================= */
.info-box {
  background: #eef5ff;
  border: 1px solid #cce0ff;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}
.info-box h4 { color: var(--primary); font-size: 15px; margin-bottom: 10px; }
.info-box ul { list-style: none; }
.info-box ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px dashed #cde;
}
.info-box ul li:last-child { border-bottom: none; }
.info-box ul li::before { content: '✔'; position: absolute; left: 0; color: var(--primary-light); font-size: 12px; top: 7px; }

/* =============================================
   OVERVIEW TABLE SHORTCODE STYLE
============================================= */
.overview-table-wrap { overflow-x: auto; margin: 20px 0; }
.overview-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  border-radius: var(--radius); overflow: hidden;
}
.overview-table th { background: var(--primary); color: #fff; padding: 10px 14px; font-weight: 600; }
.overview-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.overview-table tr:nth-child(even) td { background: #f5f8ff; }
.overview-table td:first-child { font-weight: 600; color: var(--primary-dark); width: 42%; }

/* =============================================
   STEP PROCESS LIST
============================================= */
.step-list { counter-reset: steps; list-style: none; margin: 20px 0; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.step-list li::before {
  content: counter(steps);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-list li .step-content strong { display: block; color: var(--primary-dark); margin-bottom: 3px; font-size: 14.5px; }
.step-list li .step-content { font-size: 14px; color: var(--text-muted); }

/* =============================================
   FAQ ACCORDION
============================================= */
.faq-list { margin: 20px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%; background: var(--surface);
  border: none; cursor: pointer;
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  transition: background .2s;
}
.faq-question:hover { background: #eef3ff; }
.faq-question.active { background: var(--primary); color: #fff; }
.faq-icon { font-size: 18px; transition: transform .3s; flex-shrink: 0; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  background: #f9fbff;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  padding: 0 18px;
}
.faq-answer.open { max-height: 600px; padding: 14px 18px; }

/* =============================================
   SIDEBAR
============================================= */
#secondary { position: sticky; top: 80px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .15s, padding-left .15s;
}
.widget ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.widget ul li a::before { content: '›'; color: var(--accent); font-size: 16px; font-weight: 700; }

.widget_recent_entries li { display: block; }
.widget_recent_entries .post-date { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Categories widget */
.widget_categories li { display: flex; justify-content: space-between; align-items: center; }
.widget_categories .cat-count {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
}

/* Social Widget */
.social-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  transition: opacity .2s, transform .15s;
}
.social-btn:hover { opacity: .88; transform: translateY(-1px); }
.social-btn.fb   { background: #1877f2; }
.social-btn.tg   { background: #229ed9; }
.social-btn.wa   { background: #25d366; }
.social-btn.yt   { background: #ff0000; }

/* =============================================
   ARCHIVE / CATEGORY PAGE
============================================= */
.archive-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 22px;
  border-left: 4px solid var(--primary);
}
.archive-header .archive-title { font-family: var(--font-head); font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.archive-header .archive-description { font-size: 14px; color: var(--text-muted); }

/* =============================================
   PAGINATION
============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.pagination .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-numbers.dots { background: transparent; border: none; color: var(--text-muted); }

/* =============================================
   FOOTER
============================================= */
#colophon {
  background: var(--primary-dark);
  color: #a8c0e0;
  margin-top: 40px;
}
.footer-widgets {
  max-width: var(--max-width);
  margin: auto;
  padding: 36px 16px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-widget ul li {
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-widget ul li:last-child { border: none; }
.footer-widget ul li a { color: #9ab3d0; }
.footer-widget ul li a:hover { color: var(--accent); }
.footer-widget p { font-size: 13px; line-height: 1.7; color: #8aa5c2; }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 14px 16px;
  font-size: 12.5px;
  color: #7a99bb;
}
.footer-bottom a { color: #9ab3d0; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .disclaimer {
  max-width: 900px;
  margin: 6px auto 0;
  font-size: 11.5px;
  color: #607a99;
  line-height: 1.6;
}

/* =============================================
   BREADCRUMBS
============================================= */
.breadcrumb-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 12.5px;
}
.breadcrumb-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 16px;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--primary-light); }
.breadcrumb-inner span { color: var(--text-muted); }
.breadcrumb-sep { margin: 0 5px; }

/* =============================================
   UTILITY CLASSES
============================================= */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
}
.badge-primary { background: var(--primary); color: #fff; }
.badge-accent  { background: var(--accent);  color: #fff; }
.badge-green   { background: var(--success); color: #fff; }

/* =============================================
   SEARCH FORM
============================================= */
.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] {
  flex: 1;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color .2s;
}
.search-form input[type="search"]:focus { border-color: var(--primary-light); }
.search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}
.search-form button:hover { background: var(--primary-light); }

/* =============================================
   COMMENTS
============================================= */
.comments-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  margin-top: 22px;
}
.comments-title { font-family: var(--font-head); font-size: 18px; color: var(--primary); margin-bottom: 18px; }
.comment-list { list-style: none; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-author { font-weight: 700; color: var(--primary-dark); font-size: 14px; }
.comment-date   { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.comment-content p { font-size: 14px; margin: 0; }
.comment-reply-link {
  font-size: 12px; color: var(--primary-light);
  text-decoration: underline;
  margin-top: 6px;
  display: inline-block;
}
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 14px;
  margin-bottom: 12px;
}
.comment-form textarea { min-height: 100px; resize: vertical; }
.comment-form input[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-main);
  transition: background .2s;
}
.comment-form input[type="submit"]:hover { background: var(--primary-light); }

/* =============================================
   404 PAGE
============================================= */
.error-404 {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.error-404 .error-code { font-size: 80px; font-weight: 700; color: var(--border); line-height: 1; }
.error-404 h2 { font-family: var(--font-head); color: var(--primary); margin: 10px 0; }
.error-404 p { color: var(--text-muted); margin-bottom: 22px; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  :root { --sidebar-width: 260px; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #page-wrapper { grid-template-columns: 1fr; }
  #secondary { position: static; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .single-article-body { padding: 18px 16px 20px; }
  .single-article .entry-title { font-size: 20px; }
  .hero-banner { padding: 22px 18px; }
  .hero-banner h1 { font-size: 20px; }
  .post-navigation { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .menu-toggle { display: flex; align-items: center; gap: 6px; }
  #site-navigation { display: none; width: 100%; }
  #site-navigation.nav-open { display: block; }
  #primary-menu { flex-direction: column; gap: 0; padding-bottom: 8px; }
  #primary-menu li a { padding: 11px 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  #topbar .topbar-label { display: none; }
  #top-menu li a { padding: 7px 9px; font-size: 12px; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 14px; }
  .header-inner { flex-wrap: wrap; }
  .entry-content th, .entry-content td { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 400px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .ad-zone-top { min-height: 60px; }
}
