/**
 * Responsive — preserve 3-col on desktop; stack on tablet/mobile
 */
@media (max-width: 991px) {
  body.blog .d2u-k2-grid,
  body.archive .d2u-k2-grid,
  body.single-post .d2u-k2-grid,
  body.search .d2u-k2-grid {
    grid-template-columns: 1fr;
  }

  .d2u-sidebar {
    border-top: 1px solid var(--d2u-border);
    padding-top: 1rem;
  }

  .header-main .logo a,
  .header-main .logo-text,
  .header .logo a {
    font-size: 1.6rem !important;
  }

  #main .container,
  .blog .container,
  .archive .container,
  .single-post .container,
  #footer.footer-wrapper {
    border-left: none;
    border-right: none;
    border-radius: 0;
    max-width: 100% !important;
  }

  #footer.footer-wrapper {
    margin-bottom: 0;
  }

  .header-wrapper {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 549px) {
  .header-main .logo a,
  .header .logo a {
    font-size: 1.35rem !important;
  }

  .entry-title,
  .post-title {
    font-size: 1.4rem !important;
  }

  .absolute-footer {
    padding: 14px 10px 22px !important;
  }

  .absolute-footer .footer-nav {
    gap: 0.25rem 0.75rem;
  }
}
