@media (max-width: 720px) {
  body[data-page="seo-landing"] {
    background: #f4f0e7;
  }

  body[data-page="seo-landing"] main {
    padding: 12px 0 28px;
  }

  .case-detail-hero {
    margin: 0 12px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(173, 126, 76, .28);
    border-radius: 24px;
    background: #fbf8f0;
    box-shadow: 0 16px 36px rgba(46, 53, 45, .08);
  }

  .case-detail-hero .seo-hero__grid {
    display: flex;
    width: 100%;
    padding: 0 !important;
    flex-direction: column;
    gap: 0;
  }

  .case-detail-hero .seo-hero__media {
    order: -1;
    width: 100%;
    min-height: 0;
    border: 0;
    border-bottom: 1px solid rgba(173, 126, 76, .18);
    border-radius: 0;
    box-shadow: none;
  }

  .case-detail-hero .seo-hero__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .case-detail-hero .seo-hero__content {
    width: 100%;
    padding: 22px 20px 24px;
  }

  .case-detail-hero .section-label {
    margin: 0 0 10px;
    color: #8b663f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .case-detail-hero h1 {
    max-width: none;
    margin: 0;
    color: #173d2d;
    font-size: clamp(34px, 9vw, 44px);
    line-height: .98;
    text-wrap: balance;
  }

  .case-detail-hero .seo-hero__content > p:not(.section-label) {
    margin-top: 14px;
    color: #626a64;
    font-size: 13px;
    line-height: 1.5;
  }

  .case-detail-hero .seo-hero__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }

  .case-detail-hero .seo-hero__actions .btn {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    text-align: center;
  }

  .case-detail-hero .seo-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    text-align: center;
  }

  .case-detail-hero + .seo-service {
    padding: 18px 0 0;
  }

  .case-detail-hero + .seo-service > .container {
    width: auto;
    max-width: none;
    margin-right: 12px;
    margin-left: 12px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .case-detail-hero + .seo-service .seo-service__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-detail-hero + .seo-service .seo-panel {
    padding: 20px 18px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(50, 57, 48, .07);
  }

  .case-detail-hero + .seo-service .seo-panel h2,
  .case-detail-gallery h2 {
    margin-bottom: 14px;
    font-size: 29px;
    line-height: 1;
  }

  .case-detail-hero + .seo-service .seo-panel ol {
    display: grid;
    gap: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .case-detail-hero + .seo-service .seo-panel ol li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(125, 111, 83, .13);
  }

  .case-detail-hero + .seo-service .seo-panel ol li:last-child {
    border-bottom: 0;
  }

  .case-detail-hero + .seo-service .seo-panel p {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.58;
  }

  .case-detail-hero + .seo-service .seo-panel .btn {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
  }

  .case-detail-gallery {
    margin-top: 14px !important;
    padding: 20px 18px 18px !important;
    border: 1px solid rgba(173, 126, 76, .22);
    border-radius: 22px;
    background: rgba(255, 253, 247, .86);
  }

  .case-detail-gallery h2 {
    text-align: left;
  }

  .case-detail-gallery > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .case-detail-gallery img {
    width: 100%;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
  }
}

@media (max-width: 390px) {
  .case-detail-hero h1 {
    font-size: 34px;
  }
}
