/* ==========================================================================
   DIGIKORE AI — Modern Blog System Stylesheet (blog.css)
   Clean White Background Theme matching Contact Us / About Us
   ========================================================================== */

/* --------------------------------------------------------------------------
   MANDATORY MOBILE TOUCH & SCROLLING DIRECTIVE (iOS Safari Dead-Zone Fix)
   -------------------------------------------------------------------------- */
html,
body {
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
}

/* Grids, Carousels, Sliders, and Section Wrappers */
.blog-grid,
.blog-listing-container,
.blog-related-grid,
.blog-controls-wrapper,
.blog-categories-wrapper {
  touch-action: pan-y pinch-zoom !important;
}

/* Interactive Buttons, Cards, and Tiles */
button,
.btn,
.btn-primary,
.blog-card,
.blog-category-pill,
.blog-search-box,
.blog-search-input,
.open-consultation-btn,
.mobile-toggle,
.mobile-nav-close,
.modal-close-btn,
.blog-author-avatar,
.blog-tag,
.article-tag,
.article-share-btn,
.blog-article-share-btn {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

/* Zero-Tolerance for Closed Overlay Touch Blocking */
.modal-overlay,
.mobile-nav-drawer {
  pointer-events: none !important;
  visibility: hidden;
}

.modal-overlay:not(.active):not(.open),
.mobile-nav-drawer:not(.active):not(.open) {
  pointer-events: none !important;
  visibility: hidden !important;
}

.modal-overlay.active,
.modal-overlay.open,
.mobile-nav-drawer.active,
.mobile-nav-drawer.open {
  pointer-events: auto !important;
  visibility: visible !important;
}

/* --------------------------------------------------------------------------
   COLOR TOKENS & WHITE THEME CONFIGURATION
   -------------------------------------------------------------------------- */
:root {
  --blog-green: var(--color-green-accent, #73b745);
  --blog-green-dark: #5a9434;
  --blog-green-glow: rgba(115, 183, 69, 0.22);
  --blog-green-bg: rgba(115, 183, 69, 0.12);

  --blog-bg-body: #ffffff;
  --blog-bg-surface: #f8fafc;
  --blog-bg-alt: #f1f5f9;

  --blog-text-title: #0f172a;
  --blog-text-body: #334155;
  --blog-text-muted: #64748b;
  --blog-text-subtle: #94a3b8;

  --blog-card-bg: #ffffff;
  --blog-card-border: #e2e8f0;
  --blog-card-hover-border: var(--blog-green);
  --blog-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --blog-card-hover-shadow: 0 16px 36px rgba(115, 183, 69, 0.14), 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Global Body Override for Blog Pages to ensure full white canvas */
body.blog-index-page,
body.article-page {
  background-color: #ffffff !important;
  color: var(--blog-text-body) !important;
}

/* Ensure Navbar link for active blog matches theme */
.nav-link.active-blog,
.mobile-nav-link.active-blog {
  color: #ffffff !important;
  background: rgba(115, 183, 69, 0.3) !important;
  border: 1px solid rgba(115, 183, 69, 0.6) !important;
  box-shadow: 0 0 14px rgba(115, 183, 69, 0.3) !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION (WHITE THEME WITH BRAND GREEN DECORATIVE LINE)
   -------------------------------------------------------------------------- */
.blog-hero-section {
  position: relative;
  background-color: #ffffff !important;
  padding: 150px 20px 45px 20px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.blog-hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width, 1360px);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.blog-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(115, 183, 69, 0.1);
  border: 1px solid rgba(115, 183, 69, 0.35);
  border-radius: var(--radius-pill, 30px);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blog-green-dark);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-tag-badge .badge-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.blog-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.blog-hero-green-line {
  position: absolute;
  left: -2000px;
  right: 50%;
  top: 52%;
  height: 2px;
  background-color: var(--blog-green);
  z-index: 1;
}

.blog-hero-title {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  padding: 0 clamp(16px, 2.5vw, 32px);
  font-family: var(--font-heading, 'Arastin Std', serif) !important;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #111111 !important;
  letter-spacing: var(--heading-letter-spacing, 0.03em);
  word-spacing: var(--heading-word-spacing, 0.04em);
  margin: 0 auto !important;
  text-transform: uppercase !important;
  display: inline-block !important;
}

.blog-hero-title .text-green {
  color: var(--blog-green);
}

.blog-hero-lead {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: var(--blog-text-muted);
  max-width: 780px;
  margin: 18px auto 36px auto;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   SEARCH & FILTER CONTROLS (LIGHT THEME)
   -------------------------------------------------------------------------- */
.blog-controls-wrapper {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.blog-search-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill, 30px);
  padding: 6px 12px 6px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth, all 0.3s ease);
}

.blog-search-box:focus-within {
  border-color: var(--blog-green);
  box-shadow: 0 0 0 3.5px rgba(115, 183, 69, 0.22), 0 10px 28px rgba(0, 0, 0, 0.08);
}

.blog-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-text-muted);
  margin-right: 12px;
  flex-shrink: 0;
}

.blog-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--blog-text-title);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.98rem;
  padding: 10px 4px;
}

.blog-search-input::placeholder {
  color: var(--blog-text-subtle);
  font-weight: 400;
}

.blog-search-clear {
  background: transparent;
  border: none;
  color: var(--blog-text-muted);
  cursor: pointer;
  padding: 6px 12px;
  font-size: 1.2rem;
  line-height: 1;
  display: none;
  transition: color 0.2s ease;
}

.blog-search-clear.visible {
  display: block;
}

.blog-search-clear:hover {
  color: var(--blog-text-title);
}

/* Category Filter Pills */
.blog-categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.blog-category-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--blog-text-body);
  padding: 8px 20px;
  border-radius: var(--radius-pill, 30px);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth, all 0.25s ease);
  text-decoration: none;
  display: inline-block;
}

.blog-category-pill:hover {
  background: rgba(115, 183, 69, 0.1);
  color: var(--blog-green-dark);
  border-color: var(--blog-green);
  transform: translateY(-2px);
}

.blog-category-pill.active {
  background: var(--blog-green);
  color: #122108;
  border-color: var(--blog-green);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(115, 183, 69, 0.35);
}

/* --------------------------------------------------------------------------
   BLOG GRID & CARDS (WHITE / CLEAN SURFACES)
   Desktop: 3 columns | Tablet: 2 columns | Mobile: 1 column
   -------------------------------------------------------------------------- */
.blog-listing-section {
  position: relative;
  padding: 60px 0 100px 0;
  background-color: #ffffff !important;
  min-height: 500px;
}

.blog-listing-container {
  max-width: var(--max-width, 1360px);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-results-meta {
  margin-bottom: 26px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.95rem;
  color: var(--blog-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid var(--blog-card-border);
  border-radius: var(--radius-lg, 22px);
  overflow: hidden;
  transition: var(--transition-cinematic, all 0.35s ease);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--blog-card-shadow);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--blog-card-hover-border);
  box-shadow: var(--blog-card-hover-shadow);
}

.blog-card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #f1f5f9;
  overflow: hidden;
}

.blog-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(115, 183, 69, 0.5);
  color: var(--blog-green-dark);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill, 30px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  background-color: #ffffff;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.82rem;
  color: var(--blog-text-muted);
  margin-bottom: 12px;
}

.blog-card-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--blog-text-subtle);
}

.blog-card-title {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: 1.34rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--blog-text-title);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--blog-green-dark);
}

.blog-card-excerpt {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--blog-text-body);
  margin-bottom: 20px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.85rem;
  color: var(--blog-text-muted);
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blog-green-dark);
  transition: transform 0.25s ease, color 0.25s ease;
}

.blog-card:hover .blog-card-readmore {
  transform: translateX(4px);
  color: var(--blog-green);
}

/* Empty State / Not Found */
.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg, 22px);
}

.blog-empty-icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.blog-empty-title {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: 1.6rem;
  color: var(--blog-text-title);
  margin-bottom: 8px;
}

.blog-empty-desc {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.95rem;
  color: var(--blog-text-muted);
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   INDIVIDUAL BLOG ARTICLE PAGE STYLING (WHITE CANVAS)
   -------------------------------------------------------------------------- */
.article-page {
  background-color: #ffffff !important;
  color: var(--blog-text-body) !important;
}

.article-hero-section {
  position: relative;
  padding: 150px 0 40px 0;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.article-hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.88rem;
  color: var(--blog-text-muted);
  margin-bottom: 22px;
}

.article-breadcrumb a {
  color: var(--blog-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: var(--blog-green-dark);
}

.article-hero-category {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(115, 183, 69, 0.12);
  border: 1px solid rgba(115, 183, 69, 0.4);
  color: var(--blog-green-dark);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.article-hero-title {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--blog-text-title);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.9rem;
  color: var(--blog-text-muted);
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(115, 183, 69, 0.15);
  border: 1.5px solid var(--blog-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-green-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Article Featured Image */
.article-featured-image-wrap {
  max-width: 960px;
  margin: 36px auto 0 auto;
  padding: 0 24px;
}

.article-featured-image-box {
  width: 100%;
  border-radius: var(--radius-lg, 22px);
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background: #f1f5f9;
}

.article-featured-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Article Body Content */
.article-body-section {
  padding: 55px 0 80px 0;
  background-color: #ffffff !important;
}

.article-body-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--blog-text-body);
  font-weight: 400;
}

.article-content p {
  margin-bottom: 28px;
}

.article-content h2 {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--blog-text-title);
  margin: 48px 0 20px 0;
  line-height: 1.3;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 18px;
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--blog-green);
  border-radius: 2px;
}

.article-content h3 {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blog-text-title);
  margin: 36px 0 16px 0;
  line-height: 1.35;
}

.article-content ul,
.article-content ol {
  margin: 0 0 28px 24px;
}

.article-content li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.article-content strong {
  color: var(--blog-text-title);
  font-weight: 600;
}

.article-content blockquote {
  margin: 36px 0;
  padding: 24px 30px;
  background: #f8fafc;
  border-left: 4px solid var(--blog-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--blog-text-title);
  border-top: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.article-content .callout-card {
  margin: 40px 0;
  padding: 32px;
  background: #ffffff;
  border: 1.5px solid rgba(115, 183, 69, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(115, 183, 69, 0.1);
}

.article-content .callout-card h4 {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: 1.35rem;
  color: #111111;
  margin-bottom: 12px;
}

.article-content .callout-card p {
  color: var(--blog-text-muted);
  margin-bottom: 0;
}

/* Article Tags & Sharing */
.article-footer-meta {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   COMPARISON TABLES (LIGHT THEME)
   -------------------------------------------------------------------------- */
.blog-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  -webkit-overflow-scrolling: touch;
}

.blog-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.blog-comparison-table th {
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 20px;
  border-bottom: 2px solid #e2e8f0;
}

.blog-comparison-table td {
  padding: 14px 20px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.92rem;
  color: var(--blog-text-body);
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.6;
}

.blog-comparison-table tr:last-child td {
  border-bottom: none;
}

.blog-comparison-table tr:hover td {
  background-color: #fafbfc;
}

.article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-tag {
  padding: 6px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--blog-text-body);
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-tag:hover {
  background: rgba(115, 183, 69, 0.12);
  border-color: var(--blog-green);
  color: var(--blog-green-dark);
}

.article-share-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-share-label {
  font-size: 0.88rem;
  color: var(--blog-text-muted);
}

.article-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--blog-text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-weight: 700;
}

.article-share-btn:hover {
  background: var(--blog-green);
  color: #ffffff;
  border-color: var(--blog-green);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RELATED ARTICLES SECTION (CLEAN OFF-WHITE / SURFACE)
   -------------------------------------------------------------------------- */
.blog-related-section {
  padding: 80px 0;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}

.blog-related-container {
  max-width: var(--max-width, 1360px);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-related-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-related-eyebrow {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blog-green-dark);
  margin-bottom: 8px;
}

.blog-related-title {
  font-family: var(--font-heading, 'Arastin Std', serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--blog-text-title);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUT BREAKPOINTS
   Desktop: 3 columns | Tablet: 2 columns | Mobile: 1 column
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .blog-hero-section {
    padding: 120px 16px 36px 16px;
  }

  .blog-hero-green-line {
    display: none !important;
  }

  .blog-hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    padding: 0 8px !important;
  }

  .blog-hero-lead {
    font-size: 0.95rem;
    margin-bottom: 26px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-hero-section {
    padding: 120px 0 35px 0;
  }

  .article-hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  }

  .article-body-section {
    padding: 35px 0 60px 0;
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-hero-section {
    padding: 110px 14px 30px 14px;
  }

  .blog-search-box {
    padding: 4px 8px 4px 14px;
  }

  .blog-card-content {
    padding: 18px 16px;
  }

  .blog-card-title {
    font-size: 1.22rem;
  }

  .blog-card-excerpt {
    font-size: 0.88rem;
  }
}
/* User directive: remove category pills, meta info, author info, and tags */
.blog-card-category-badge,
.blog-card-meta,
.blog-card-author,
.article-hero-category,
.article-hero-meta,
.article-footer-meta,
.blog-results-meta {
  display: none !important;
}
