/*
Theme Name: Shobuj Kotha
Theme URI: https://sobujkotha.com
Author: Team Shobuj Kotha
Author URI: https://sobujkotha.com
Description: Premium Bangla blog WordPress theme. প্রকৃতি, বিজ্ঞান ও সংস্কৃতির অনন্য সমন্বয়।
Version: 1.0.0
License: GPL v2 or later
Text Domain: shobuj-kotha
Domain Path: /languages
Tags: blog, news, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready, rtl-language-support
*/

:root {
  --green-deep: #1B4332;
  --green-mid: #40916C;
  --green-light: #74C69D;
  --green-pale: #D8F3DC;
  --green-xpale: #F0FAF4;
  --text-dark: #1A1A2E;
  --text-body: #374151;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(27,67,50,0.08);
  --shadow-md: 0 4px 24px rgba(27,67,50,0.12);
  --shadow-lg: 0 8px 40px rgba(27,67,50,0.16);
  --radius: 12px;
  --radius-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--green-deep);
  color: var(--green-pale);
  padding: 7px 0;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.topbar-time i { color: var(--green-light); font-size: 11px; }
#bd-time { font-variant-numeric: tabular-nums; }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  color: var(--green-pale);
  font-size: 14px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.topbar-social a:hover { color: var(--white); background: var(--green-mid); }
.topbar-contact a {
  color: var(--green-pale);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
}
.topbar-contact a:hover { background: var(--green-mid); border-color: var(--green-mid); color: white; }

/* ===== MAIN HEADER ===== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(27,67,50,0.09);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    background: var(--green-xpale);
    border-top: 1px solid var(--green-pale);
    border-bottom: 1px solid var(--green-pale);
    padding: 10px 0;
    /* NOT sticky - will scroll away */
}
.search-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.search-inner input {
    width: 100%;
    padding: 11px 48px 11px 18px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: var(--white);
    font-size: 14px;
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-inner input:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 4px rgba(64,145,108,0.12);
}
.search-btn {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green-mid);
    border: none;
    color: white;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}
.search-btn:hover { background: var(--green-deep); transform: translateY(-50%) scale(1.08); }
/* ===== LOGO AREA ===== */
.logo-area { 
    display: flex; 
    align-items: center; 
    flex-shrink: 0;
}
.logo-wrap { 
    display: flex;
    align-items: center;
    height: 50px;
}
.custom-logo { 
    height: 44px; 
    width: auto; 
    max-width: 200px;
    border-radius: 8px;
}
.site-title-text {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--green-deep);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Desktop Nav */
.desktop-nav {
  flex: 1;
  margin: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  white-space: nowrap;
}
.desktop-nav ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}
.desktop-nav ul li a:hover,
.desktop-nav ul li.current-menu-item a,
.desktop-nav ul li a.active {
  background: var(--green-pale);
  color: var(--green-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
}
.hamburger:hover { background: var(--green-pale); }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 290px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 40px rgba(27,67,50,0.18);
  z-index: 999;
  transition: right 0.38s cubic-bezier(0.22,1,0.36,1);
  padding: 24px 0;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--green-pale);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-close {
  background: var(--green-pale);
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep);
  font-size: 15px;
}
.mobile-drawer ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-left: 3px solid transparent;
}
.mobile-drawer ul li a:hover,
.mobile-drawer ul li.current-menu-item a {
  background: var(--green-xpale);
  border-left-color: var(--green-mid);
  color: var(--green-deep);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }



/* ===== SECTION TITLE ===== */
.section-title-wrap { margin-bottom: 32px; }
.section-title {
  display: inline-block;
  position: relative;
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  background: var(--green-deep);
  padding: 8px 22px 8px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  letter-spacing: -0.3px;
}
.section-title-wrap .title-line {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep) 0%, var(--green-pale) 70%, transparent 100%);
  margin-top: -2px;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  position: relative;
}
.hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.55) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 36px 40px;
}
.hero-text h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(18px, 3.2vw, 30px);
  color: white;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  max-width: 600px;
  line-height: 1.35;
}
.hero-text p {
  margin-top: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  max-width: 500px;
}

/* ===== FEATURED POSTS ===== */
.featured-section { padding: 52px 0 40px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.featured-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  grid-row: span 2;
  min-height: 360px;
  cursor: pointer;
}
.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(0.7);
  transition: transform 0.4s;
}
.featured-main:hover img { transform: scale(1.04); }
.featured-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.92) 0%, rgba(27,67,50,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.cat-badge {
  display: inline-block;
  background: var(--green-mid);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.featured-main-overlay h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(15px, 2vw, 20px);
  color: white;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.post-meta-sm {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  flex-wrap: wrap;
}
.author-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.author-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
}
.featured-main-overlay .excerpt {
  margin-top: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.6;
}
.featured-side {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-pale);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.featured-side:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.featured-side-thumb {
  width: 90px; height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.featured-side-info { flex: 1; }
.featured-side-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ===== POSTS GRID ===== */
.latest-section,
.category-section { padding: 40px 0; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ===== POST CARD ===== */
.post-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(216,243,220,0.7);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-title {
  padding: 16px 16px 0;
  font-family: 'Merriweather', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
}
.card-title a:hover { color: var(--green-deep); }
.card-thumb-wrap {
  position: relative;
  margin: 12px 16px 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 980/730;
}
.card-thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .card-thumb-wrap img { transform: scale(1.05); }
.card-cat-badge {
  position: absolute;
  top: 10px; right: 10px;
}
.card-cat-badge .cat-badge { margin-bottom: 0; }
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.card-author img {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.card-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-date i { font-size: 11px; color: var(--green-mid); }
.card-share {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.share-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.share-btn:hover { transform: scale(1.12); opacity: 0.88; }
.share-fb { background: #1877F2; }
.share-tw { background: #1DA1F2; }
.share-wa { background: #25D366; }
.card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  font-family: 'Inter', sans-serif;
  transition: gap 0.2s, color 0.2s;
}
.read-more:hover { gap: 10px; color: var(--green-mid); }
.read-more i { font-size: 11px; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-numbers {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  border: 2px solid var(--green-pale);
  color: var(--text-dark);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: white;
}

/* ===== SOCIAL SECTION ===== */
.social-section { padding: 40px 0; background: var(--green-xpale); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.social-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-pale);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.social-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: white;
}
.social-fb { background: linear-gradient(135deg, #1877F2, #3b5998); }
.social-tg { background: linear-gradient(135deg, #0088cc, #229ED9); }
.social-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Merriweather', serif;
}
.social-card p { font-size: 14px; color: var(--text-muted); }
.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
.follow-btn:hover { opacity: 0.88; transform: scale(1.03); }
.btn-fb { background: #1877F2; }
.btn-tg { background: #0088cc; }
.fb-page-embed {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  min-height: 160px;
  background: var(--green-xpale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  border: 2px dashed var(--green-pale);
}

/* ===== POPULAR POSTS ===== */
.popular-section { padding: 40px 0; }
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-pale);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.popular-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.popular-num {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.popular-thumb {
  width: 80px; height: 62px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.popular-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.popular-info .cat-badge { margin-top: 4px; }

/* ===== TAG CLOUD ===== */
.tag-section { padding: 40px 0; background: var(--green-xpale); }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--white);
  border: 2px solid var(--green-pale);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
}
.tag-cloud a:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: white;
  transform: translateY(-2px);
}
.tag-cloud a i { font-size: 10px; color: var(--green-mid); }
.tag-cloud a:hover i { color: var(--green-light); }

/* ===== IMAGE SLIDER ===== */
.slider-section { padding: 40px 0; }
.slider-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/6;
}
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25,1,0.5,1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.72) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
}
.slide-caption {
  color: white;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  font-family: 'Merriweather', serif;
  max-width: 600px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--green-deep);
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: background 0.2s, transform 0.2s;
}
.slider-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.slider-dot.active { background: white; width: 22px; border-radius: 4px; }

/* ===== ABOUT SECTION ===== */
.about-section { padding: 40px 0; }
.about-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  color: white;
  box-shadow: var(--shadow-lg);
}
.about-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}
.about-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}
.about-content p { font-size: 15px; line-height: 1.7; opacity: 0.9; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: var(--green-xpale); border-bottom: 1px solid var(--green-pale); padding: 14px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); font-family: 'Inter', sans-serif; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-mid); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb i { font-size: 10px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-dark); font-weight: 500; }

/* ===== SINGLE POST ===== */
.post-hero { padding: 36px 0 0; }
.post-hero-cat { margin-bottom: 16px; }
.post-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 18px;
  max-width: 900px;
}
.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--green-pale);
  margin-bottom: 28px;
}
.post-hero-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-hero-author img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-pale);
}
.post-hero-author-info h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.post-hero-author-info span { font-size: 13px; color: var(--text-muted); }
.post-hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
}
.post-hero-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.post-hero-stat i { color: var(--green-mid); font-size: 13px; }
.post-feature-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
}
.post-feature-img img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.post-feature-caption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-bottom: 36px;
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding-bottom: 56px;
  align-items: start;
}
.article-main {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}

/* Share Rail */
.share-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.share-rail a {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.share-rail a:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-md); }
.share-rail-fb { background: #1877F2; }
.share-rail-tw { background: #1DA1F2; }
.share-rail-wa { background: #25D366; }
.share-rail-copy { background: var(--green-deep); }
.share-rail-count {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding-top: 4px;
  border-top: 1px dashed var(--green-pale);
  margin-top: 4px;
}

/* Article Body */
.article-body {
  font-size: 18px;
  line-height: 1.95;
  color: var(--text-body);
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--green-mid);
}
.article-body h3 {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 14px;
}
.article-body blockquote {
  background: var(--green-xpale);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--green-deep);
  font-size: 17px;
  position: relative;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body figure { margin: 30px 0; }
.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.article-body figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; padding-left: 6px; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--text-dark); font-weight: 700; }

/* ===== POST TAGS ROW ===== */
.post-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid var(--green-pale);
  border-bottom: 1px solid var(--green-pale);
}
.post-tags-row .tags-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
}

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex;
  gap: 20px;
  background: var(--green-xpale);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 40px;
  border: 1px solid var(--green-pale);
}
.author-box img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.author-box-info h4 {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.author-box-info .role {
  font-size: 13px;
  color: var(--green-mid);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.author-box-info p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.author-box-social { display: flex; gap: 8px; }
.author-box-social a {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}
.author-box-social a:hover { background: var(--green-deep); color: white; }

/* ===== PREV/NEXT NAV ===== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
}
.post-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-nav-link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-nav-link.next { flex-direction: row-reverse; text-align: right; }
.post-nav-link img {
  width: 64px; height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.post-nav-dir {
  font-size: 12px;
  color: var(--green-mid);
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.post-nav-link.next .post-nav-dir { justify-content: flex-end; }
.post-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-pale);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-title i { color: var(--green-mid); }
.sidebar-author { text-align: center; padding: 8px 0 4px; }
.sidebar-author img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-pale);
  margin: 0 auto 14px;
}
.sidebar-author h4 {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.sidebar-author span {
  font-size: 13px;
  color: var(--green-mid);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.sidebar-author p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Newsletter */
.newsletter-widget {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  border-radius: var(--radius);
  padding: 24px 22px;
  color: white;
  text-align: center;
}
.newsletter-widget i { font-size: 30px; margin-bottom: 12px; color: var(--green-light); }
.newsletter-widget h4 { font-family: 'Merriweather', serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.newsletter-widget p { font-size: 14px; opacity: 0.85; margin-bottom: 16px; line-height: 1.6; }
.newsletter-widget input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 30px;
  border: none;
  font-size: 14px;
  font-family: 'Hind Siliguri', sans-serif;
  margin-bottom: 10px;
  outline: none;
}
.newsletter-widget button {
  width: 100%;
  padding: 10px;
  border-radius: 30px;
  border: none;
  background: white;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.newsletter-widget button:hover { opacity: 0.88; }

/* Social Widget */
.sidebar-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sidebar-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
.sidebar-social-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.sidebar-social-btn i { font-size: 18px; }
.sb-fb { background: #1877F2; }
.sb-tg { background: #0088cc; }
.sb-wa { background: #25D366; }
.sb-tw { background: #1DA1F2; }

/* Sidebar Tag Cloud */
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--green-xpale);
  border: 2px solid var(--green-pale);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}
.sidebar-tag-cloud a:hover { background: var(--green-deep); border-color: var(--green-deep); color: white; }

/* ===== COMMENTS ===== */
.comments-section { margin-bottom: 20px; }
.comments-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}
.comments-head i { color: var(--green-mid); }
.comment-form {
  background: var(--green-xpale);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 32px;
  border: 1px solid var(--green-pale);
}
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--green-pale);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  resize: vertical;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--green-mid); }
.comment-form textarea { min-height: 100px; margin-bottom: 14px; }
.comment-submit-btn {
  background: var(--green-deep);
  color: white;
  border: none;
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.comment-submit-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item { display: flex; gap: 14px; }
.comment-item.reply { margin-left: 56px; }
.comment-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--green-pale);
}
.comment-body {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.comment-head h5 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.comment-head span { font-size: 13px; color: var(--text-muted); }
.comment-text { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.comment-actions { display: flex; gap: 16px; }
.comment-actions a { font-size: 13px; font-weight: 600; color: var(--green-mid); display: flex; align-items: center; gap: 5px; }
.comment-actions a:hover { color: var(--green-deep); }

/* ===== RELATED POSTS ===== */
.related-section { padding: 40px 0 56px; background: var(--green-xpale); }

/* ===== AUTHOR PAGE ===== */
.author-hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.author-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  z-index: 0;
}
.author-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding-top: 60px;
  flex-wrap: wrap;
}
.author-hero-avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.author-hero-info { padding-bottom: 14px; flex: 1; min-width: 240px; }
.author-hero-info h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.author-hero-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.author-hero-bio { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 600px; }
.author-hero-actions { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; flex-wrap: wrap; }
.author-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  background: var(--green-deep);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.author-follow-btn:hover { background: var(--green-mid); }
.author-social-row { display: flex; gap: 8px; }
.author-social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--green-xpale);
  border: 1px solid var(--green-pale);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.author-social-row a:hover { background: var(--green-deep); color: white; }
.author-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 12px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card i { font-size: 18px; color: var(--green-mid); margin-bottom: 8px; display: block; }
.stat-card .num {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
  display: block;
}
.stat-card .label { font-size: 13px; color: var(--text-muted); font-family: 'Inter', sans-serif; margin-top: 2px; }
.expertise-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.expertise-label { font-size: 14px; font-weight: 700; color: var(--text-dark); font-family: 'Inter', sans-serif; }
.author-tabs { display: flex; gap: 6px; margin: 36px 0 28px; border-bottom: 2px solid var(--green-pale); overflow-x: auto; scrollbar-width: none; }
.author-tabs::-webkit-scrollbar { display: none; }
.author-tab {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.author-tab.active { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.author-tab:hover { color: var(--green-mid); }
.sort-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.sort-bar .count { font-size: 14px; color: var(--text-muted); }
.sort-bar .count strong { color: var(--text-dark); }
.sort-select {
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid var(--green-pale);
  background: var(--white);
  font-size: 14px;
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 30px;
  background: var(--white);
  border: 2px solid var(--green-pale);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.load-more-btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: white; }
.other-authors-section { padding: 40px 0 56px; background: var(--green-xpale); }
.other-authors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.other-author-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-pale);
  transition: box-shadow 0.2s, transform 0.2s;
}
.other-author-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.other-author-card img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--green-pale);
}
.other-author-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.other-author-card span { font-size: 13px; color: var(--green-mid); font-weight: 600; }
.other-author-card .post-count { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== SEARCH PAGE ===== */
.search-page-header { padding: 40px 0 20px; }
.search-page-header h1 { font-family: 'Merriweather', serif; font-size: 28px; font-weight: 900; color: var(--text-dark); margin-bottom: 8px; }
.search-page-header .search-query { color: var(--green-mid); }

/* ===== 404 PAGE ===== */
.error-404 { padding: 80px 0; text-align: center; }
.error-404 h1 { font-family: 'Merriweather', serif; font-size: 72px; font-weight: 900; color: var(--green-deep); margin-bottom: 16px; }
.error-404 h2 { font-family: 'Merriweather', serif; font-size: 28px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.error-404 p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }
.error-404 .home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--green-deep);
  color: white;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.error-404 .home-btn:hover { background: var(--green-mid); }

/* ===== FOOTER ===== */
footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.85);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
}
.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.82;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 15px;
}
.footer-social a:hover { background: var(--green-mid); }
.footer-col ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-col ul li a i { font-size: 11px; color: var(--green-light); }
.footer-col ul li a:hover { color: white; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: none;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green-mid); }

/* Mobile Share Bar */
.mobile-share-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(27,67,50,0.15);
  padding: 10px 16px;
  z-index: 150;
  align-items: center;
  justify-content: space-around;
}
.mobile-share-bar a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: 3; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { grid-row: span 1; min-height: 260px; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .hero img { height: 280px; }
  .article-main { grid-template-columns: 1fr; }
  .share-rail { position: static; flex-direction: row; justify-content: center; padding-bottom: 8px; }
  .post-nav { grid-template-columns: 1fr; }
  .author-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .topbar-inner { flex-direction: column; gap: 6px; align-items: flex-start; }
  .posts-grid { grid-template-columns: 1fr; }
  .hero img { height: 200px; }
  .hero-overlay { padding: 20px 20px; }
  .slider-wrap { aspect-ratio: 16/9; }
  .post-hero-stats { margin-left: 0; }
  .comment-form-row { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
  .author-box-social { justify-content: center; }
  .comment-item.reply { margin-left: 24px; }
  .mobile-share-bar { display: flex; }
  body { padding-bottom: 64px; }
  .author-hero-content { flex-direction: column; align-items: center; text-align: center; padding-top: 40px; }
  .author-hero-info { text-align: center; }
  .author-hero-bio { max-width: 100%; }
  .author-hero-avatar { width: 120px; height: 120px; }
  .author-hero-bg { height: 150px; }
  .author-stats { grid-template-columns: repeat(2, 1fr); }
  .sort-bar { flex-direction: column; align-items: flex-start; }
}

/* WordPress Core Alignment */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: var(--green-xpale); border: 1px solid var(--green-pale); max-width: 100%; padding: 10px; text-align: center; border-radius: var(--radius-sm); }
.wp-caption img { border: 0; height: auto; max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--text-muted); margin: 8px 0 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 30px 0; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { width: 100%; height: auto; }
.sticky { border: 2px solid var(--green-mid); }
.bypostauthor { border-left: 3px solid var(--green-mid); }