@media (max-width: 768px) {
  /* ===== 页面Banner ===== */

  .page-banner {
    width: 100%;

    height: 35vw;

    overflow: hidden;

    margin-top: var(--header-height-mobile);
  }

  .page-banner img {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  /* ===== 案例列表 ===== */

  .case-list-section {
    padding: 20px 0;

    background-color: #fff;
  }

  .case-grid {
    display: grid;

    grid-template-columns: repeat(1, 1fr);

    gap: 15px;
  }

  .case-item {
    position: relative;

    overflow: hidden;

    transition:
      transform 0.4s ease,
      box-shadow 0.4s ease;

    cursor: pointer;
  }

  .case-img {
    width: 100%;

    height: 55vw;

    overflow: hidden;
  }

  .case-img img {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  .case-info {
    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    padding: 8px 10px;

    text-align: left;

    background: rgba(0, 0, 0, 0.6);
  }

  .case-tag {
    font-size: 15px;

    color: #fff;

    font-weight: 500;
  }

  /* ===== 分页 ===== */

  .pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    margin-top: 25px;
  }

  .pagination a {
    min-width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    text-decoration: none;

    color: var(--text-gray);

    font-size: 14px;

    transition: all 0.3s ease;

    background-color: #fff;

    border: 1px solid #e0e0e0;

    padding: 0 8px;
  }

  .pagination a:hover,
  .pagination a.active {
    background-color: var(--primary-color);

    color: #fff;

    border-color: var(--primary-color);
  }

  /* ===== 图片弹窗 ===== */

  .modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.6);

    z-index: 10000;

    justify-content: center;

    align-items: center;

    padding: 15px;
  }

  .modal-overlay.open {
    padding: 0;
    display: flex;
  }

  .modal-box {
    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    max-width: 100vw;

    max-height: 85vh;
  }

  .modal-top {
    text-align: center;

    padding: 12px 15px;

    border-bottom: 1px solid #eee;
  }

  .modal-caption {
    font-size: 16px;

    color: var(--text-dark);

    font-weight: 600;
  }

  .modal-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px;
    flex: 1;
    min-height: 0;
  }

  .modal-middle img {
    max-width: 75vw;

    max-height: 50vh;

    object-fit: contain;

    border-radius: 6px;
  }

  .modal-middle .modal-video {
    max-width: 75vw;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 6px;
    background: #000;
  }

  .modal-nav {
    flex-shrink: 0;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #f2ece7;

    border: none;

    color: var(--text-dark);

    font-size: 16px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;
  }

  .modal-nav:active {
    background: var(--primary-color);

    color: #fff;
  }

  .modal-bottom {
    text-align: center;

    padding: 10px;

    border-top: 1px solid #eee;
  }

  .modal-close {
    background: none;

    border: none;

    color: var(--text-gray);

    font-size: 14px;

    cursor: pointer;

    padding: 6px 20px;
  }
}
