@media (max-width: 900px) {
    .blog-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 18px !important;
    }

    .blog-featured {
      grid-template-columns: 0.9fr 1.1fr;
    }

    .blog-featured-body {
      padding: 2rem !important;
    }
  }

  @media (max-width: 760px) {
    html,
    body {
      overflow-x: hidden;
    }

    .nav-inner {
      height: 64px;
      padding: 0 14px;
      gap: 8px;
    }

    .nav-logo {
      gap: 8px;
      min-width: 0;
    }

    .nav-logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 4px;
    }

    .nav-logo-name {
      font-size: 14px;
      white-space: nowrap;
    }

    .nav-right {
      gap: 7px;
    }

    .nav-right .btn-primary-sm {
      display: none;
    }

    .lang-switcher {
      border-radius: 4px;
    }

    .lang-btn {
      min-width: 36px;
      padding: 6px 8px;
      font-size: 11px;
      letter-spacing: 0;
    }

    .menu-toggle {
      width: 34px;
      height: 34px;
      padding: 7px;
      flex-shrink: 0;
    }

    .page-hero {
      padding: 108px 16px 52px !important;
    }

    .page-hero-grid {
      background-size: 42px 42px;
    }

    .page-hero .eyebrow {
      margin-bottom: 12px;
      font-size: 12px;
      letter-spacing: 0.14em;
      line-height: 1.45;
    }

    .page-hero h1 {
      max-width: 100%;
      font-size: 29px;
      line-height: 1.18;
      letter-spacing: 0;
      margin-bottom: 16px;
      overflow-wrap: anywhere;
    }

    body[data-lang="th"] .page-hero h1 {
      font-size: 26px;
      line-height: 1.24;
    }

    .page-hero-sub {
      font-size: 14.5px;
      line-height: 1.7;
    }

    .sec-light[style*="padding-top"] {
      padding: 36px 16px 56px !important;
    }

    .blog-filters {
      justify-content: flex-start !important;
      flex-wrap: nowrap !important;
      gap: 8px !important;
      margin: 0 -16px 24px !important;
      padding: 0 16px 4px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .blog-filters::-webkit-scrollbar {
      display: none;
    }

    .filter-btn {
      flex: 0 0 auto;
      min-height: 38px;
      padding: 8px 13px !important;
      border-radius: 999px !important;
      font-size: 12px !important;
      line-height: 1.25;
      white-space: nowrap;
    }

    .blog-featured {
      grid-template-columns: 1fr !important;
      margin-bottom: 26px !important;
      border-radius: 6px !important;
      box-shadow: 0 14px 34px rgba(22, 32, 42, 0.06);
    }

    .blog-featured-img {
      min-height: 190px !important;
      aspect-ratio: 16 / 9;
    }

    .blog-featured-body {
      padding: 20px !important;
    }

    .blog-featured-tag {
      font-size: 11px !important;
      line-height: 1.35 !important;
      letter-spacing: 0.08em !important;
      margin-bottom: 10px !important;
    }

    .blog-featured-title {
      font-size: 20px !important;
      line-height: 1.34 !important;
      margin-bottom: 10px !important;
      overflow-wrap: anywhere;
    }

    body[data-lang="th"] .blog-featured-title {
      font-size: 19px !important;
      line-height: 1.42 !important;
    }

    .blog-featured-excerpt {
      font-size: 14px !important;
      line-height: 1.65 !important;
      margin-bottom: 16px !important;
    }

    .blog-featured-body > div[style*="display:flex"] {
      align-items: flex-start !important;
      flex-direction: column !important;
      gap: 12px !important;
    }

    .blog-featured-body .btn-primary {
      width: 100%;
      justify-content: center;
      min-height: 46px;
      padding: 13px 16px !important;
      text-align: center;
    }

    .blog-grid {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
    }

    .blog-card {
      min-width: 0;
      border-radius: 6px !important;
      box-shadow: 0 12px 30px rgba(22, 32, 42, 0.05);
    }

    .blog-card:hover {
      transform: none !important;
    }

    .blog-card-img {
      height: auto !important;
      aspect-ratio: 16 / 9;
    }

    .blog-card-body {
      padding: 18px 18px 20px !important;
    }

    .blog-card-category {
      font-size: 11px !important;
      line-height: 1.35;
      letter-spacing: 0.08em !important;
      margin-bottom: 8px !important;
      overflow-wrap: anywhere;
    }

    .blog-card-title {
      font-size: 16px !important;
      line-height: 1.42 !important;
      margin-bottom: 8px !important;
      overflow-wrap: anywhere;
    }

    body[data-lang="th"] .blog-card-title {
      font-size: 15.5px !important;
      line-height: 1.48 !important;
    }

    .blog-card-excerpt {
      font-size: 13.5px !important;
      line-height: 1.65 !important;
      margin-bottom: 14px !important;
      overflow-wrap: anywhere;
    }

    .blog-card-meta {
      align-items: flex-start !important;
      flex-direction: column;
      gap: 9px;
      font-size: 12px !important;
      line-height: 1.45;
    }

    .blog-card-readmore {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      font-size: 13px !important;
    }

    .newsletter-box {
      margin-top: 34px !important;
      padding: 24px 18px !important;
      border-radius: 6px !important;
    }

    .newsletter-box h2 {
      font-size: 22px !important;
      line-height: 1.25 !important;
    }

    .newsletter-box p {
      font-size: 14px !important;
      line-height: 1.65 !important;
    }

    .newsletter-form {
      flex-direction: column !important;
    }

    .newsletter-form input,
    .newsletter-form button {
      min-height: 48px;
      font-size: 16px !important;
    }

    footer {
      padding: 48px 18px 28px !important;
    }

    .footer-top {
      grid-template-columns: 1fr !important;
      gap: 28px !important;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start !important;
      gap: 12px;
    }
  }

  @media (max-width: 390px) {
    .nav-inner {
      padding: 0 10px;
    }

    .nav-logo-name {
      font-size: 13px;
    }

    .lang-btn {
      min-width: 31px;
      padding: 6px 6px;
      font-size: 10.5px;
    }

    .page-hero h1 {
      font-size: 26px;
    }

    body[data-lang="th"] .page-hero h1 {
      font-size: 23px;
    }

    .page-hero-sub {
      font-size: 14px;
    }

    .blog-featured-body,
    .blog-card-body {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }

    .blog-featured-title {
      font-size: 19px !important;
    }

    .blog-card-title {
      font-size: 15.5px !important;
    }
  }
