  @charset "utf-8";

  .after_img_module_wrap {
    position: relative;
    padding: 80px 0;
  }

  .after_module_header {
    margin-bottom: 28px;
    text-align: center;
  }

  .after_module_title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #111;
  }

  .after_module_title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .after_module_desc {
    margin: 0;
    padding: 20px 0 10px;
    font-size: 15px;
    color: #6b7280;
  }

  .after_compare_card {
    position: relative;
    display: block;
  }

  .after_compare_box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #f5f7fa;
    user-select: none;
  }

  /* PC 좌우 배치 */
  .after_compare_split {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    background: #f5f7fa;
  }

  .after_compare_split_before {
    left: 0;
    width: 50%;
    z-index: 1;
  }

  .after_compare_split_after {
    right: 0;
    width: 50%;
    z-index: 2;
  }

  /* 이미지 가운데 정렬 + 넘치는 영역 숨김 */
  .after_compare_img {
    position: absolute;
    top: 50%;
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    transform: translateY(-50%);
  }

  .after_compare_split_before>img {
    left: 0;
  }

  .after_compare_split_after>img {
    right: 0;
  }

  .after_compare_badge {
    position: absolute;
    top: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .after_compare_badge_before {
    left: 14px;
  }

  .after_compare_badge_after {
    right: 14px;
  }

  /* PC에서는 바 숨김 */
  .after_compare_divider {
    display: none;
  }

  .after_compare_info {
    padding: 14px 4px 0;
    text-align: center;
  }

  .after_compare_title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
  }

  /* hover 버튼 */
  .after_hover_layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .after_hover_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(10px);
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  }

  .after_hover_btn:hover {
    background: #111;
    color: #fff;
  }

  .after_compare_card:hover .after_hover_layer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .after_compare_card:hover .after_hover_btn {
    transform: translateY(0);
  }

  /* 페이지네이션 */
  .board_paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    position: unset;
  }

  .board_page_num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .board_page_num:hover {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .board_page_num.swiper-pagination-bullet-active {
    border-color: #111;
    background: #111;
    color: #fff;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }

  .blur_background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100% - 116px);
    backdrop-filter: blur(30px);
  }

  .blur_background .blur_remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 30px;
    background-color: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  @media (max-width: 1199px) {
    .after_hover_layer {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      background: rgba(0, 0, 0, 0.3);
    }

    .after_hover_btn {
      min-width: 180px;
      height: 44px;
      font-size: 13px;
      transform: translateY(0);
    }
  }

  /* 모바일: 기존 비교 슬라이더 */
  @media (max-width: 768px) {
    .after_img_module_wrap {
      padding: 24px 0;
    }

    .after_module_header {
      margin-bottom: 20px;
    }

    .after_module_title {
      font-size: 24px;
    }

    .after_module_desc {
      font-size: 13px;
    }

    .after_compare_box {
      border-radius: 14px;
    }

    .after_compare_split_before,
    .after_compare_split_after {
      top: 0;
      bottom: 0;
      height: 100%;
    }

    .after_compare_split_before {
      width: 100%;
      z-index: 1;
      left: 0;
    }

    .after_compare_split_after {
      width: 50%;
      z-index: 2;
      right: 0;
    }

    .after_compare_badge {
      top: 12px;
      min-width: 68px;
      height: 28px;
      padding: 0 10px;
      font-size: 10px;
    }

    .after_compare_badge_before {
      left: 12px;
    }

    .after_compare_badge_after {
      right: 12px;
    }

    .after_compare_divider {
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      z-index: 5;
      width: 24px;
      margin-left: -12px;
      cursor: ew-resize;
      touch-action: none;
    }

    .after_compare_divider::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      margin-left: -1px;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    }

    .after_compare_handle {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 32px;
      height: 32px;
      border: 2px solid #fff;
      border-radius: 50%;
      background: rgba(17, 24, 39, 0.72);
      transform: translate(-50%, -50%);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    }

    .after_compare_handle::before,
    .after_compare_handle::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 8px;
      height: 8px;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
    }

    .after_compare_handle::before {
      left: 6px;
      transform: translateY(-50%) rotate(225deg);
    }

    .after_compare_handle::after {
      right: 6px;
      transform: translateY(-50%) rotate(45deg);
    }

    .after_compare_title {
      font-size: 16px;
    }

    .blur_background {
      top: 0;
      height: calc(100% - 99px);
    }

    .board_paging {
      gap: 6px;
      margin-top: 24px;
    }

    .board_page_num {
      min-width: 38px;
      height: 38px;
      font-size: 13px;
      padding: 0 10px;
    }
  }