/*
Theme Name: News Portal Pro
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A clean and professional news website theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: news-portal-pro
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --text: #2c2c2c;
  --text-light: #666;
  --border: #e0e0e0;
  --bg: #f4f4f4;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-ui: 'Barlow', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Serif+4:wght@300;400;600&family=Barlow:wght@400;500;600;700&display=swap');

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-family: var(--font-ui);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .date { letter-spacing: 0.5px; }
.top-bar .tagline { font-weight: 500; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.site-branding .site-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -1px;
}
.site-branding .site-title span { color: var(--primary); }
.site-branding .site-description {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ===== NAVIGATION ===== */
.main-navigation { flex: 1; display: flex; justify-content: flex-end; }
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-navigation ul li a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  padding: 8px 16px;
  display: block;
  border-radius: 2px;
  transition: all 0.2s;
  position: relative;
}
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  transition: all 0.2s;
}
.main-navigation ul li a:hover { color: var(--primary); }
.main-navigation ul li a:hover::after { left: 10%; right: 10%; }
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-menu-parent a { color: var(--primary); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--dark);
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
}
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 10px 0; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu ul li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
}
.mobile-menu ul li a:hover { background: var(--bg); color: var(--primary); padding-left: 28px; }

/* ===== BREAKING NEWS BAR ===== */
.breaking-news {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
}
.breaking-news .container { display: flex; align-items: center; gap: 16px; }
.breaking-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--dark);
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-ticker {
  overflow: hidden;
  flex: 1;
}
.breaking-ticker ul {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.breaking-ticker ul li a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}
.breaking-ticker ul li a:hover { text-decoration: underline; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HOMEPAGE HERO / FIRST FOLD ===== */
.home-hero { padding: 40px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* Featured main post */
.post-card-featured {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.post-card-featured .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.4s;
}
.post-card-featured:hover .card-img { transform: scale(1.04); }
.post-card-featured .card-body {
  position: relative;
  z-index: 2;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85) 60%);
}
.post-card-featured .cat-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.post-card-featured .card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 10px;
}
.post-card-featured .card-title a { color: white; }
.post-card-featured .card-title a:hover { color: #ffd;  }
.post-card-featured .card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-featured .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.card-meta .author { font-weight: 600; color: rgba(255,255,255,0.9); }

/* Side stack posts */
.hero-side-stack {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-card-side {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  gap: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  flex: 1;
  transition: box-shadow 0.2s;
}
.post-card-side:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.post-card-side .card-img-wrap { height: 140px; overflow: hidden; }
.post-card-side .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card-side:hover .card-img-wrap img { transform: scale(1.05); }
.post-card-side .card-body { padding: 14px; flex: 1; }
.post-card-side .cat-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.post-card-side .card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.post-card-side .card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.post-card-side .card-meta {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
}
.post-card-side .card-meta .author { font-weight: 600; color: var(--text); }

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 10px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--primary);
  display: inline-block;
}

/* ===== CATEGORY SECTIONS ===== */
.cat-section { padding: 30px 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Standard post card */
.post-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.post-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.post-card .card-img-wrap { height: 200px; overflow: hidden; }
.post-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.post-card:hover .card-img-wrap img { transform: scale(1.06); }
.post-card .card-body { padding: 18px; }
.post-card .cat-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.post-card .card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}
.post-card .card-title a:hover { color: var(--primary); }
.post-card .card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}
.post-card .card-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
}
.post-card .card-meta .author { font-weight: 600; color: var(--text); }
.post-card .card-meta .sep { color: var(--border); }

/* ===== SINGLE POST PAGE ===== */
.single-layout {
  padding: 30px 0 50px;
}
.single-layout .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* Post Header */
.post-header { margin-bottom: 24px; }
.post-header .post-cat-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.post-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-light);
  padding: 14px 0;
  border-top: 2px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.post-meta-bar .author-info { display: flex; align-items: center; gap: 8px; }
.post-meta-bar .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.post-meta-bar .author-name { font-weight: 700; color: var(--dark); font-size: 14px; }
.post-meta-bar .meta-date { display: flex; align-items: center; gap: 5px; }
.post-meta-bar .meta-date svg { width: 14px; height: 14px; }

/* Post featured image */
.post-featured-image {
  margin-bottom: 28px;
  border-radius: 4px;
  overflow: hidden;
}
.post-featured-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Post Content */
.post-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.post-content h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 700; margin: 32px 0 14px; color: var(--dark); }
.post-content h3 { font-family: var(--font-heading); font-size: 21px; font-weight: 600; margin: 26px 0 12px; color: var(--dark); }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--primary);
  background: #fff8f8;
  margin: 24px 0;
  padding: 18px 24px;
  font-style: italic;
  font-size: 18px;
  color: var(--dark);
}
.post-content img { border-radius: 4px; margin: 20px 0; }

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 100px; }
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

/* Category widget */
.cat-widget ul li {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.cat-widget ul li:last-child { border-bottom: none; }
.cat-widget ul li a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}
.cat-widget ul li a:hover { color: var(--primary); padding-left: 6px; }
.cat-widget ul li a span {
  background: var(--bg);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--text-light);
}

/* Latest posts in sidebar */
.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post img { width: 70px; height: 70px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.sidebar-post-info { flex: 1; }
.sidebar-post-info h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}
.sidebar-post-info h4 a:hover { color: var(--primary); }
.sidebar-post-info .meta {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-light);
}

/* ===== RELATED POSTS ===== */
.related-posts {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.related-post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.related-post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.related-post-card img { width: 100%; height: 150px; object-fit: cover; }
.related-post-card .body { padding: 14px; }
.related-post-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}
.related-post-card h4 a:hover { color: var(--primary); }
.related-post-card .meta {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-light);
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}
.comments-area .comments-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}
.comment-list { margin-bottom: 40px; }
.comment {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 16px;
}
.comment .comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment .comment-author { font-weight: 700; font-family: var(--font-ui); font-size: 14px; }
.comment .comment-date { font-family: var(--font-ui); font-size: 12px; color: var(--text-light); }
.comment .comment-body { font-size: 15px; line-height: 1.7; }
.comment-form-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}
.comment-form .form-group { margin-bottom: 16px; }
.comment-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 32px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #ccc;
  margin-top: 60px;
}
.footer-main { padding: 50px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Footer Brand */
.footer-brand .footer-site-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.footer-brand .footer-site-title span { color: var(--primary); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s;
}
.footer-social a:hover { background: var(--primary); color: white; }

/* Footer columns */
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav ul li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-nav ul li a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-ui);
  font-size: 13px;
  color: #aaa;
  transition: 0.2s;
}
.footer-nav ul li a:hover { color: white; padding-left: 6px; }

/* Footer latest posts */
.footer-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-post:last-child { border-bottom: none; }
.footer-post img { width: 60px; height: 60px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.footer-post-info h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
  line-height: 1.4;
  margin-bottom: 4px;
}
.footer-post-info h4 a { color: #ddd; }
.footer-post-info h4 a:hover { color: white; }
.footer-post-info .date { font-family: var(--font-ui); font-size: 11px; color: #777; }

/* Footer pages */
.footer-pages ul li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-pages ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-family: var(--font-ui);
  font-size: 13px;
  color: #aaa;
  transition: 0.2s;
}
.footer-pages ul li a::before {
  content: '→';
  color: var(--primary);
  font-size: 12px;
}
.footer-pages ul li a:hover { color: white; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #777;
}
.copyright a { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  color: #777;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ===== CATEGORY / ARCHIVE PAGE ===== */
.archive-header {
  background: var(--dark);
  padding: 40px 0;
  margin-bottom: 40px;
}
.archive-header .cat-name {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}
.archive-header .cat-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
.archive-layout {
  padding-bottom: 50px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== NO IMAGE PLACEHOLDER ===== */
.no-img-placeholder {
  background: var(--bg);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 32px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.pagination a, .pagination span {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  transition: 0.2s;
}
.pagination a:hover, .pagination .current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .post-card-featured { grid-column: 1 / 2; }
  .hero-side-stack { grid-column: 2 / 3; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .single-layout .container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar .tagline { display: none; }
  .header-inner { flex-wrap: wrap; }
  .main-navigation { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .post-card-featured { grid-column: 1; min-height: 320px; }
  .hero-side-stack { grid-column: 1; flex-direction: row; flex-wrap: wrap; }
  .post-card-side { flex: 1 1 45%; }
  .cat-grid { grid-template-columns: 1fr; }
  .post-title { font-size: 26px; }
  .post-featured-image img { height: 280px; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .comment-form .form-row { grid-template-columns: 1fr; }
}
