/* ─────────────────────────────────────────────────────────────────────────────
   DianApps Blog Archive — pixel-perfect match to dianapps-rebranding_nextjs
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Porto conflict resets (scoped to blog page) ────────────────────────────── */
/* Porto sets overflow-x:hidden on html which clips the thumbnail strip.
   We restore it only on blog archive pages via body class. */
body.blog .blogs-header,
body.archive .blogs-header,
body.home .blogs-header {
  overflow-x: visible;
}

/* ── Page wrapper ────────────────────────────────────────────────────────────── */
.da-blog-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #060821;
}
.da-blog-page * {
  box-sizing: border-box;
}
.da-blog-page a {
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.blogs-header {
  /* Body already has 74px padding-top for the fixed header.
     Next.js used 132px top padding (header was overlapping from y=0).
     We need: 132 - 74 = ~58px → use 60px for clean number */
  padding: 60px 100px 60px;
  background: #fff url('../assets/homePageBg.svg') no-repeat top center;
  background-size: cover;
  overflow: hidden;
}
.blogs-header__container {
  max-width: 1400px;
  margin: 0 auto;
}
.blogs-header__main {
  display: grid;
  grid-template-columns: 45% calc(55% - 20px);
  gap: 20px;
  align-items: stretch;
}

/* Left content */
.blogs-header__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  gap: 15px;
  position: relative;
}
.blogs-header__category {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  line-height: 1 !important;
  text-transform: uppercase;
  color: #F06F15 !important;
  align-self: flex-start;
  margin: 0 !important;
}
.blogs-header__title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  width: 80%;
  font-size: 46px !important;
  font-weight: 500 !important;
  line-height: 56px !important;
  letter-spacing: -3px !important;
  margin: 0 !important;
  color: #060821 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.blogs-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.blogs-header__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blogs-header__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blogs-header__author-name {
  font-size: 14px;
  font-weight: 600;
  color: #060821;
  line-height: 1.3;
}
.blogs-header__author-rt {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.3;
}
.blogs-header__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.blogs-header__arrow-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #4b4f64;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.08);
  transform: translateX(-50%);
}
.blogs-header__arrow-link:hover {
  background: #f3f4f8;
  border-color: #cbd5e1;
  transform: translateX(-50%) scale(1.05);
  color: #4b4f64;
}
.blogs-header__arrow-link svg { width: 20px; height: 20px; }

/* Right featured card */
.blogs-header__featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.blogs-header__featured-image {
  display: block;
  width: 100%;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  z-index: 1;
  max-height: 436px;
}
.blogs-header__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile overlay — hidden on desktop, shown inside card on mobile */
.blogs-header__mobile-overlay { display: none; }

/* Quote widget — desktop shows in sidebar, mobile shows below grid */
.da-quote-mobile-only { display: none; }
.da-quote-desktop-only { display: block; }
.blogs-header__category--overlay {
  color: #fff !important;
  font-size: 11px !important;
}
.blogs-header__title--overlay {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 26px !important;
  letter-spacing: -0.5px !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Thumbnail strip */
.blogs-header__related {
  display: flex;
  gap: 12px;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  justify-content: center;
  align-items: center;
}
.blogs-header__related-image {
  display: block;
  width: 116px;
  height: 69px;
  border-radius: 6px;
  overflow: hidden;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(15,23,42,0.1);
  flex-shrink: 0;
  box-sizing: border-box;
}
.blogs-header__related-image:hover:not(.is-active) {
  box-shadow: 0 8px 20px rgba(15,23,42,0.15);
}
.blogs-header__related-image.is-active {
  border: 1px solid #FFFFFF;
}
.blogs-header__related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ALL BLOGS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.blogs-all {
  padding: 2rem 100px;
  background: #fff;
}
.blogs-all__container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* Sidebar */
.blogs-all__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
  height: fit-content;
  align-self: flex-start;
  width: 380px;
  flex-shrink: 0;
}

/* Search */
.blogs-all__search {
  position: relative;
  width: 100%;
  display: block;
}
.blogs-all__search-input {
  display: block !important;
  width: 100% !important;
  /* Porto overrides input padding — force left padding to clear the icon */
  padding: 12px 16px 12px 44px !important;
  margin: 0 !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 50px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: #4b4f64 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box !important;
  height: auto !important;
  -webkit-appearance: none;
  appearance: none;
}
.blogs-all__search-input:focus {
  border-color: #1E3A8A !important;
  box-shadow: none !important;
  outline: none !important;
}
.blogs-all__search-input::placeholder { color: #8e95a5; }
.blogs-all__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 20px;
  height: 20px;
  z-index: 1;
  display: block;
}

/* Categories */
.blogs-all__categories { display: flex; flex-direction: column; gap: 1rem; }
.blogs-all__categories-header-web { display: block; }
.blogs-all__categories-header { display: none; }
.blogs-all__categories-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #181b32 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.blogs-all__categories-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-height: 312px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}
.blogs-all__categories-list::-webkit-scrollbar { width: 4px; }
.blogs-all__categories-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }
.blogs-all__categories-list::-webkit-scrollbar-track { background: transparent; }
.blogs-all__categories-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e2e8f0;
  z-index: 0;
}
.blogs-all__category-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: left;
  padding: 9px 1rem 9px 1.5rem;
  border: none;
  background: transparent;
  color: #181b32;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 0;
  transition: font-weight 0.2s ease;
  position: relative;
  z-index: 1;
  line-height: 1.4;
}
.blogs-all__category-item.is-active { font-weight: 600; }
.blogs-all__category-item.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #1E3A8A;
  z-index: 2;
}

/* Content area */
.blogs-all__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  min-width: 0;
}
.blogs-all__content-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: #181b32 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Grid */
.blogs-all__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Card */
.blogs-all__card {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  min-height: 550px;
  padding: 16px;
  border-radius: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  color: inherit;
}
.blogs-all__card:hover {
  box-shadow: rgba(0,0,0,0.24) 0px 3px 8px;
  transform: translateY(-5px);
  color: inherit;
  text-decoration: none;
}
.blogs-all__card-image {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f4f6fb;
  border-radius: 16px;
  flex-shrink: 0;
}
.blogs-all__card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.blogs-all__card-image--placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f62fe, #18a0fb);
  border-radius: 16px;
}
.blogs-all__card-body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.blogs-all__card-category {
  display: inline-flex;
  align-self: flex-start;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C05000;
  margin: 0;
}
.blogs-all__card-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #181b32 !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.blogs-all__card-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  color: #4b4f64;
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: calc(1.6em * 3);
}
.blogs-all__card-description * {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
.blogs-all__card-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.blogs-all__card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blogs-all__card-author-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.blogs-all__card-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blogs-all__card-author-name {
  font-size: 13px;
  font-weight: 600;
  color: #060821;
  line-height: 1.3;
}
.blogs-all__card-rt {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.3;
}
.blogs-all__card-footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8125rem;
  color: #64748b;
}
.blogs-all__card-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #333333;
}
.blogs-all__card-footer-meta { color: #333333; }
.blogs-all__card-date { color: #333333; }
.blogs-all__card-meta-divider { color: #94a3b8; font-size: 0.875rem; }

/* Load more */
.blogs-all__load-more {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.da-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: #1E3A8A;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.75;
  border: none;
  border-radius: 44px;
  cursor: pointer;
  transition: background 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
  text-decoration: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
.da-load-more-btn:hover {
  background: linear-gradient(266.31deg, #2C52BE 3.03%, #FF822B 96.97%);
  transform: translateY(-3px);
  box-shadow: 0px 4px 11px 0px rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
}
.da-load-more-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* States */
.blogs-all__loading,
.blogs-all__empty {
  padding: 2rem;
  text-align: center;
  color: #64748b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   QUOTE WIDGET (shared styles — same classes as blog-single.css)
   ═══════════════════════════════════════════════════════════════════════════════ */
.da-quote-widget {
  background: #F8F9FB;
  border-radius: 30px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.da-quote-widget__title { font-size: 22px; font-weight: 700; color: #060821; margin: 0 0 6px; line-height: 1.3; }
.da-quote-widget__title span {
  display: inline-block;
  background: linear-gradient(271.11deg, #2C52BE 0%, #FF822B 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.da-quote-widget__subtitle { font-size: 14px; color: #333333; line-height: 1.5; margin: 0 0 14px; }
.da-quote-widget__alert { padding: 10px 12px; border-radius: 8px; font-size: 12px; margin-bottom: 12px; }
.da-quote-widget__alert.is-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.da-quote-widget__alert.is-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.da-quote-widget__form { display: flex; flex-direction: column; gap: 10px; }
.da-quote-widget__input,
.da-quote-widget__textarea {
  width: 100%; padding: 10px 12px; border: none !important; border-radius: 12px 2px 12px 2px;
  font-size: 13px; color: #374151; background: #fff; outline: none; font-family: inherit;
  box-sizing: border-box; transition: box-shadow 0.2s;
}
.da-quote-widget__input:focus,
.da-quote-widget__textarea:focus { box-shadow: 0 0 0 2px #1E3A8A40; }
.da-quote-widget__input::placeholder,
.da-quote-widget__textarea::placeholder,
.da-quote-widget input::placeholder,
.da-quote-widget textarea::placeholder { color: #374151 !important; -webkit-text-fill-color: #374151 !important; opacity: 1 !important; }
.da-quote-widget__textarea { resize: none; min-height: 90px; }
.da-quote-widget__phone-wrap {
  display: flex; align-items: center; background: #fff;
  border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; transition: border-color 0.2s;
}
/* intl-tel-input: remove wrapper border, style iti input */
.da-quote-widget__phone-wrap { border: none !important; background: transparent !important; padding: 0 !important; overflow: visible !important; display: block; }
.da-quote-widget .iti { width: 100%; }
.da-quote-widget .iti__tel-input { width: 100% !important; border: none !important; border-radius: 12px 2px 12px 2px !important; padding-top: 10px !important; padding-bottom: 10px !important; padding-right: 12px !important; font-size: 13px !important; color: #374151 !important; font-family: inherit !important; background: #fff !important; box-sizing: border-box !important; height: auto !important; }
.da-quote-widget .iti__tel-input:focus { outline: none !important; box-shadow: 0 0 0 2px #1E3A8A40 !important; }
.iti__dropdown-content { z-index: 99999 !important; }
.da-quote-widget__phone-wrap--legacy:focus-within { border-color: #1E3A8A; }
.da-quote-widget__country-select {
  appearance: none; -webkit-appearance: none;
  border: none; border-right: 1px solid #E5E7EB;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B7280'/%3E%3C/svg%3E") no-repeat right 6px center;
  padding: 10px 22px 10px 8px; font-size: 13px; color: #374151;
  font-family: inherit; cursor: pointer; outline: none; flex-shrink: 0; min-width: 80px;
}
.da-quote-widget__phone-prefix { padding: 10px 8px; font-size: 13px; color: #374151; white-space: nowrap; border-right: 1px solid #E5E7EB; flex-shrink: 0; }
.da-quote-widget__input--phone { flex: 1; border: none; outline: none; padding: 10px; font-size: 13px; color: #374151; background: transparent; font-family: inherit; width: 100%; }
.da-quote-widget__captcha-row { display: flex; align-items: center; gap: 10px; }
.da-quote-captcha-q { font-size: 18px; font-weight: 400; color: #0D0F2C; white-space: nowrap; min-width: 75px; flex-shrink: 0; }
.da-quote-widget__input--captcha { flex: 1; }
.da-quote-widget__bullets { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 8px; }
.da-quote-widget__bullets li { font-size: 14px; color: #333333; line-height: 1.5; padding-left: 18px; position: relative; }
.da-quote-widget__bullets li::before { content: ''; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #F06F15; }
.da-quote-widget__bullets li strong { font-weight: 600; }
.da-quote-widget__btn {
  width: 100%; padding: 12px; background: #1E3A8A !important; background-color: #1E3A8A !important; color: #fff !important; border: none !important;
  border-radius: 50px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.2s; margin-top: 4px; font-family: inherit;
}
.da-quote-widget__btn:hover:not(:disabled) { background: #162d6e !important; }
.da-quote-widget__btn:disabled { opacity: 0.7; cursor: not-allowed; }
.da-field-error { display: none; font-size: 12px; color: #dc2626; margin-top: 4px; }
.da-input-error { border-color: #dc2626 !important; }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .blogs-header { padding: 16px 16px 30px; }

  /* Stack: content above, featured card below */
  .blogs-header__main { grid-template-columns: 1fr; gap: 1rem; }
  .blogs-header__content { display: flex; padding: 0; }

  /* Title smaller on mobile */
  .blogs-header__title {
    width: 100%;
    font-size: 22px !important;
    line-height: 28px !important;
    letter-spacing: -0.5px !important;
  }
  .blogs-header__category { font-size: 12px !important; }
  .blogs-header__arrow-link { align-self: flex-start; transform: none; }
  .blogs-header__arrow-link:hover { transform: scale(1.05); }

  /* Featured card — full width image with overlay */
  .blogs-header__featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    flex-direction: column;
    justify-content: flex-end;
    flex: none;
  }

  /* Image fills the card absolutely */
  .blogs-header__featured-image {
    position: absolute;
    inset: 0;
    max-height: none;
    flex: none;
    border-radius: 0;
    z-index: 0;
  }
  .blogs-header__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* No overlay needed — title shows above the card */
  .blogs-header__featured-card::after { display: none; }

  /* Title already shows above the card — hide overlay */
  .blogs-header__mobile-overlay { display: none; }

  /* Thumbnail strip — pinned to bottom of card */
  .blogs-header__related {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 3;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blogs-header__related::-webkit-scrollbar { display: none; }
  .blogs-header__related-image {
    width: 80px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 6px;
  }

  /* All blogs section */
  .blogs-all { padding: 1rem 16px; }
  .blogs-all__container { flex-direction: column; gap: 1rem; }
  .blogs-all__sidebar { width: 100%; position: relative !important; top: 0 !important; }

  /* Quote widget — swap positions on mobile */
  .da-quote-desktop-only { display: none; }
  .da-quote-mobile-only { display: block; margin-top: 1.5rem; }
  .blogs-all__categories-header-web { display: none; }
  .blogs-all__categories-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #1E3A8A;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
  }
  .blogs-all__categories-header .blogs-all__categories-title { color: #1E3A8A !important; }
  .blogs-all__categories-arrow { transition: transform 0.3s ease; color: #181b32; }
  .blogs-all__categories-arrow.open { transform: rotate(180deg); }
  .blogs-all__categories-list { display: none; }
  .blogs-all__categories-list.show { display: flex; }
  .blogs-all__categories-list::before { display: none; }
  .blogs-all__content-title { font-size: 24px !important; line-height: 32px !important; }
}

@media (max-width: 768px) {
  .blogs-header__title { font-size: 20px !important; line-height: 26px !important; }
  .blogs-header__featured-card { height: 320px; }
  .blogs-header__related-image { width: 70px; height: 46px; }
  .blogs-all__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .blogs-all__card { min-height: auto; border: 0.65px solid #F3F4F6; border-radius: 24px; }
  .blogs-all__card-image { padding-top: 60%; }
}

@media (max-width: 480px) {
  .blogs-header__title { font-size: 18px !important; line-height: 24px !important; }
  .blogs-header__featured-card { height: 280px; }
}
