/* ==========================================================================
   DD PHARMA BLOG - STYLESHEET (VANILLA CSS)
   Visual recreation of the DD Corp. Blog page
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --primary-blue: #003B7A;
  --dark-blue: #002B5C;
  --navy-deep: #001E3D;
  --navy-darkest: #00162E;
  --accent-red: #D71920;
  --accent-red-hover: #B7141A;
  --light-blue: #EAF4FF;
  --light-blue-hover: #DDEEFF;
  --very-light-blue: #F5F9FD;
  --hero-bg: #EAF2FB;

  /* Neutrals & Text */
  --text-dark: #10233F;
  --text-body: #334155;
  --text-gray: #5F6B7A;
  --text-muted: #8896A6;
  --border: #DDE5EF;
  --border-light: #EEF3F8;
  --white: #FFFFFF;

  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-root: 16px;

  /* UI Tokens */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 35, 75, 0.04);
  --shadow-card: 0 4px 14px rgba(0, 35, 75, 0.06);
  --shadow-hover: 0 10px 24px rgba(0, 35, 75, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1360px;
}

/* ==========================================================================
   BLOG LAYOUT BASE
   ========================================================================== */
.blog-hero-section .container,
.category-nav-bar .container,
.blog-main-content .container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   3. BLOG HERO BANNER
   ========================================================================== */
.blog-hero-section {
  background: linear-gradient(90deg, #EDF4FD 0%, #F5F9FE 40%, #EAF2FB 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  min-height: 240px;
  display: flex;
  align-items: center;
}

.blog-hero-section .hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero-text-content {
  max-width: 580px;
  padding-right: 24px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.breadcrumb-nav a {
  color: var(--primary-blue);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .sep {
  color: #7B93AE;
  font-weight: 400;
  font-size: 11px;
}

.breadcrumb-nav .current {
  color: #556980;
  font-weight: 500;
}

.hero-main-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.hero-description {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.55;
  max-width: 520px;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(to right, #F5F9FE 0%, rgba(245, 249, 254, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 12%, rgba(0, 0, 0, 0.8) 28%, black 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 12%, rgba(0, 0, 0, 0.8) 28%, black 45%);
}

/* ==========================================================================
   4. BLOG CATEGORY NAVIGATION BAR
   ========================================================================== */
.category-nav-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.category-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 6px;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 14px 16px 12px 16px;
  cursor: pointer;
  position: relative;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  white-space: nowrap;
  transition: var(--transition);
}

.category-tab-btn .tab-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--primary-blue);
  transition: var(--transition);
}

.category-tab-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-tab-btn:hover {
  color: var(--accent-red);
}

.category-tab-btn:hover .tab-icon-wrap {
  color: var(--accent-red);
}

/* Active Category Tab */
.category-tab-btn.active {
  color: var(--accent-red);
}

.category-tab-btn.active .tab-icon-wrap {
  color: var(--accent-red);
}

.category-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px 2px 0 0;
}

/* ==========================================================================
   5. MAIN CONTENT LAYOUT (SIDEBAR + GRID)
   ========================================================================== */
.blog-content-section {
  padding: 36px 0 64px 0;
  background-color: var(--white);
}

.blog-layout-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 34px;
  align-items: start;
}

/* ==========================================================================
   6. LEFT SIDEBAR
   ========================================================================== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Search Box */
.sidebar-search-box {
  position: relative;
  width: 100%;
}

.sidebar-search-input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-dark);
  background-color: var(--white);
  outline: none;
  transition: var(--transition);
}

.sidebar-search-input::placeholder {
  color: #94A3B8;
}

.sidebar-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 59, 122, 0.1);
}

.sidebar-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  color: #718096;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar-search-btn:hover {
  color: var(--primary-blue);
}

/* Sidebar Headings */
.sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

/* Category Filter Box */
.sidebar-categories-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  background-color: var(--white);
}

.sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-cat-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.sidebar-cat-item button:hover {
  background-color: var(--very-light-blue);
  color: var(--primary-blue);
}

.sidebar-cat-item.active button {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 700;
}

/* Recent Posts */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.recent-post-item:hover .recent-post-title {
  color: var(--accent-red);
}

.recent-post-thumb {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recent-post-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-date {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Subscribe / Newsletter Card */
.newsletter-card {
  background: #EDF5FD;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid #DCE9F7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.newsletter-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 43, 92, 0.08);
}

.newsletter-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.25;
  margin-bottom: 10px;
}

.newsletter-desc {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 18px;
}

.newsletter-form {
  width: 100%;
}

.newsletter-btn {
  width: 100%;
  background-color: var(--dark-blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 43, 92, 0.2);
}

/* ==========================================================================
   7. BLOG GRID & CONTROLS
   ========================================================================== */
.grid-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.articles-count-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-gray);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
}

.sort-select {
  padding: 6px 30px 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235F6B7A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: var(--transition);
}

.sort-select:focus {
  border-color: var(--primary-blue);
}

/* Blog Cards Grid (3 Columns) */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Individual Blog Card */
.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD9EA;
}

.blog-card-media {
  position: relative;
  width: 100%;
  height: 168px;
  background-color: #EDF2F7;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

/* Category Badge (Placed at bottom-left of image) */
.card-category-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

/* Dynamic Badge Colors matching Reference Screenshot */
.badge-pharmaceuticals {
  background-color: #EBF3FF;
  color: #004DB3;
  border: 1px solid #C8DDFF;
}
.badge-nutraceuticals {
  background-color: #EDF8EF;
  color: #1E7E34;
  border: 1px solid #C3E9C8;
}
.badge-research {
  background-color: #E0F2FE;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}
.badge-ayurvedic {
  background-color: #EDF7EE;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}
.badge-manufacturing {
  background-color: #EBF3FB;
  color: #0F58A0;
  border: 1px solid #BCD6F1;
}
.badge-wellness {
  background-color: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.badge-healthcare {
  background-color: #E0F2FE;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}
.badge-corporate {
  background-color: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

/* Card Body Content */
.blog-card-body {
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-item i {
  font-size: 12px;
}

.blog-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  min-height: 40px;
}

.blog-card:hover .blog-card-title {
  color: var(--primary-blue);
}

.blog-card-desc {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.blog-card-cta i {
  transition: transform 0.2s ease;
}

.blog-card-cta:hover {
  color: var(--accent-red);
}

.blog-card-cta:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   8. PAGINATION COMPONENT
   ========================================================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 42px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--light-blue);
}

.page-btn.active {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}



/* ==========================================================================
   11. ARTICLE READER MODAL (FULL EXPERIENCE)
   ========================================================================== */
.article-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 20, 45, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.article-modal-backdrop.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.article-modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 20, 50, 0.3);
  position: relative;
}

.article-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: var(--transition);
}

.article-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.article-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.article-modal-content {
  padding: 28px 32px 36px 32px;
}

.article-modal-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.article-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-modal-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.article-modal-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* ==========================================================================
   12. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 15, 35, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1500;
  display: none;
}

.mobile-nav-backdrop.show {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  background: var(--white);
  z-index: 1510;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark-blue);
  color: var(--white);
}

.mobile-drawer-logo {
  height: 38px;
  filter: brightness(0) invert(1);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.mobile-drawer-menu {
  list-style: none;
  padding: 16px 0;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-drawer-menu a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-menu a:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

/* ==========================================================================
   13. ACCESSIBILITY OVERRIDES (HIGH CONTRAST & FONT SCALING)
   ========================================================================== */
body.high-contrast {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

body.high-contrast .main-header,
body.high-contrast .category-nav-bar,
body.high-contrast .blog-content-section,
body.high-contrast .sidebar-categories-card,
body.high-contrast .blog-card,
body.high-contrast .page-btn {
  background-color: #0B0E14 !important;
  color: #FFFFFF !important;
  border-color: #FFFF00 !important;
}

body.high-contrast .hero-main-title,
body.high-contrast .hero-subtitle,
body.high-contrast .sidebar-heading,
body.high-contrast .blog-card-title,
body.high-contrast .cta-headline {
  color: #FFFF00 !important;
}

body.high-contrast .hero-description,
body.high-contrast .blog-card-desc,
body.high-contrast .newsletter-desc,
body.high-contrast .articles-count-text {
  color: #E2E8F0 !important;
}

body.high-contrast .category-tab-btn,
body.high-contrast .sidebar-cat-item button,
body.high-contrast .nav-link {
  color: #FFFFFF !important;
}

body.high-contrast .category-tab-btn.active,
body.high-contrast .sidebar-cat-item.active button {
  color: #FFFF00 !important;
  background-color: #1A202C !important;
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .blog-hero-section .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .hero-main-title {
    font-size: 32px;
  }

  .blog-layout-grid {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .blog-hero-section {
    display: block;
    min-height: auto;
  }

  .blog-hero-section .hero-container {
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .hero-text-content {
    max-width: 100%;
    padding-right: 0;
  }

  .hero-image-wrap {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 190px;
    margin-top: 14px;
    justify-content: center;
  }

  .hero-image-wrap::before {
    display: none;
  }

  .hero-image {
    height: 190px;
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .hero-main-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .blog-layout-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
    margin-top: 20px;
  }

  .blog-cards-grid {
    grid-template-columns: 1fr;
  }

  .grid-controls-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
