@media (max-width: 900px) {
    .post-body {
      max-width: 760px;
    }

    .roadmap-grid,
    .stage-grid,
    .checklist {
      grid-template-columns: 1fr !important;
    }

    .solutions-diagnosis-wrap {
      max-width: 760px;
    }
  }

  @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;
    }

    .post-hero {
      padding: 96px 0 50px !important;
    }

    .post-hero-img {
      opacity: 0.20;
    }

    .post-hero::before {
      background: linear-gradient(180deg, rgba(22, 32, 42,0.94) 0%, rgba(22, 32, 42,0.82) 58%, rgba(30, 42, 54,0.30) 100%) !important;
    }

    .post-hero-inner {
      padding: 0 18px !important;
    }

    .post-back-link {
      margin-bottom: 18px !important;
      font-size: 12.5px !important;
    }

    .post-eyebrow {
      margin-bottom: 13px !important;
      font-size: 11px !important;
      line-height: 1.45 !important;
      letter-spacing: 0.10em !important;
    }

    .post-title {
      max-width: 100%;
      font-size: 30px !important;
      line-height: 1.18 !important;
      letter-spacing: 0 !important;
      margin-bottom: 16px !important;
      overflow-wrap: anywhere;
    }

    body[data-lang="th"] .post-title {
      font-size: 28px !important;
      line-height: 1.26 !important;
    }

    .post-excerpt {
      font-size: 15.5px !important;
      line-height: 1.72 !important;
      margin-bottom: 20px !important;
    }

    .post-meta {
      gap: 9px !important;
      font-size: 12px !important;
      line-height: 1.55;
    }

    .post-body {
      max-width: 100%;
      padding: 34px 16px 50px !important;
    }

    .post-body h2 {
      font-size: 24px !important;
      line-height: 1.28 !important;
      letter-spacing: 0;
      margin: 40px 0 16px !important;
      padding-bottom: 10px !important;
      overflow-wrap: anywhere;
    }

    body[data-lang="th"] .post-body h2 {
      font-size: 22px !important;
      line-height: 1.34 !important;
    }

    .post-body h3 {
      font-size: 18px !important;
      line-height: 1.35 !important;
    }

    .post-body h4 {
      font-size: 16px !important;
      line-height: 1.4 !important;
    }

    .post-body p,
    .post-body li {
      font-size: 15px !important;
      line-height: 1.78 !important;
      overflow-wrap: anywhere;
    }

    .post-lead,
    .intro-quote {
      font-size: 16px !important;
      line-height: 1.75 !important;
    }

    .intro-quote {
      margin: 22px 0 !important;
      padding: 18px 18px !important;
      border-radius: 0 6px 6px 0 !important;
    }

    .case-card,
    .info-card,
    .faq-box,
    .stage-card {
      margin: 22px 0 !important;
      padding: 20px !important;
      border-radius: 6px !important;
      box-shadow: 0 10px 24px rgba(22, 32, 42,0.05) !important;
    }

    .case-card h2,
    .info-card h2,
    .faq-box h2 {
      margin-top: 0 !important;
    }

    .tag {
      font-size: 11px !important;
      line-height: 1.35 !important;
      padding: 5px 10px !important;
    }

    .roadmap-grid {
      gap: 14px !important;
      margin: 20px 0 !important;
    }

    .info-card.compact {
      padding: 18px !important;
    }

    .checklist {
      gap: 9px !important;
    }

    .checklist li {
      padding-left: 24px !important;
    }

    .roadmap-table-wrap {
      width: calc(100vw - 32px);
      max-width: calc(100vw - 32px);
      margin: 20px 0 28px !important;
      border-radius: 6px !important;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .roadmap-table {
      min-width: 680px !important;
      font-size: 13px !important;
    }

    .roadmap-table th,
    .roadmap-table td {
      padding: 11px 12px !important;
      line-height: 1.55 !important;
    }

    .stage-card {
      padding: 20px !important;
    }

    .stage-badge {
      max-width: 100%;
      align-items: flex-start !important;
      white-space: normal;
      font-size: 11px !important;
      line-height: 1.35 !important;
      letter-spacing: 0.07em !important;
      padding: 5px 11px !important;
      overflow-wrap: anywhere;
    }

    .stage-title {
      font-size: 18px !important;
      line-height: 1.35 !important;
      overflow-wrap: anywhere;
    }

    .stage-subtitle,
    .stage-item-val {
      font-size: 13.5px !important;
      line-height: 1.65 !important;
    }

    .stage-grid {
      gap: 11px !important;
    }

    .stage-item {
      padding: 13px 14px !important;
    }

    .pitfalls {
      gap: 9px !important;
    }

    .pitfalls li {
      padding: 12px 13px 12px 46px !important;
    }

    .pitfalls li::before {
      left: 13px !important;
      top: 13px !important;
    }

    .faq-box details {
      padding: 14px 0 !important;
    }

    .faq-box summary {
      line-height: 1.55;
    }

    .post-nav {
      gap: 14px !important;
      margin-top: 36px !important;
      padding-top: 20px !important;
    }

    .post-nav a {
      font-size: 13px !important;
      line-height: 1.55;
    }

    .solutions-diagnosis-section {
      padding: 58px 14px !important;
    }

    .solutions-diagnosis-wrap {
      max-width: 100% !important;
    }

    .solutions-diagnosis-head {
      margin-bottom: 26px !important;
    }

    .solutions-diagnosis-title {
      max-width: 350px;
      font-size: 25px !important;
      line-height: 1.25 !important;
    }

    body[data-lang="th"] .solutions-diagnosis-title {
      font-size: 23px !important;
      line-height: 1.32 !important;
    }

    .solutions-diagnosis-sub {
      font-size: 14.5px !important;
      line-height: 1.68 !important;
    }

    .solutions-diagnosis-form {
      padding: 18px !important;
      border-radius: 6px !important;
      box-shadow: 0 18px 48px rgba(0, 0, 0,0.24) !important;
    }

    .solutions-form-row,
    .solutions-challenge-grid {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }

    .solutions-form-row {
      margin-bottom: 0 !important;
    }

    .solutions-form-row > div,
    .solutions-field {
      margin-bottom: 14px !important;
    }

    .solutions-field label,
    .solutions-challenges-title {
      font-size: 12px !important;
      line-height: 1.35;
    }

    .solutions-diagnosis-form input:not([type="checkbox"]),
    .solutions-diagnosis-form select,
    .solutions-diagnosis-form textarea {
      min-height: 48px;
      padding: 12px 13px !important;
      font-size: 16px !important;
    }

    .solutions-diagnosis-form textarea {
      min-height: 112px;
    }

    .solutions-challenge-grid label {
      padding: 10px !important;
      line-height: 1.35 !important;
    }

    .solutions-submit {
      min-height: 52px;
      padding: 14px 16px !important;
      line-height: 1.35;
      white-space: normal;
    }

    .solutions-assurance-note {
      padding: 14px 12px !important;
      margin-top: 16px !important;
    }

    .solutions-assurance-note p {
      font-size: 12.5px !important;
      line-height: 1.65 !important;
    }

    .solutions-complete-panel {
      margin-top: 18px !important;
      padding: 18px !important;
      border-radius: 6px !important;
    }

    .solutions-complete-panel p {
      font-size: 11px !important;
      line-height: 1.4;
      letter-spacing: 0.1em !important;
    }

    .solutions-complete-panel li {
      font-size: 13px !important;
      line-height: 1.56 !important;
      margin-bottom: 11px !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;
    }

    .post-hero-inner {
      padding: 0 14px !important;
    }

    .post-title {
      font-size: 27px !important;
    }

    body[data-lang="th"] .post-title {
      font-size: 25px !important;
    }

    .post-body {
      padding-left: 14px !important;
      padding-right: 14px !important;
    }

    .post-body h2 {
      font-size: 22px !important;
    }

    body[data-lang="th"] .post-body h2 {
      font-size: 21px !important;
    }

    .case-card,
    .info-card,
    .faq-box,
    .stage-card {
      padding: 18px !important;
    }

    .roadmap-table-wrap {
      width: calc(100vw - 28px);
      max-width: calc(100vw - 28px);
    }

    .solutions-diagnosis-title {
      font-size: 23px !important;
    }

    .solutions-diagnosis-form {
      padding: 16px !important;
    }
  }
