/* wait/landview.html (경매 예정 상세) — 반응형 오버라이드
   wait_patch.css + landview_responsive_final.css 적용 후 경매 예정 전용 보정 */

/* ── 주소복사 버튼 표시 ── */
#addrCopyTopBtn {
  display: inline-block !important;
}

/* ════════════════════════════════════════════════
   태블릿(768~1025): photo-block 경매/공매 동일 폭(45%)
   ※ wait_detail.css의 content_head2 { display:inline-flex }만 block으로 바꾸고
     landview_responsive_final.css의 padding-right:calc(55%+5px)은 그대로 살림
     → 이미지 영역이 왼쪽 45%, 오른쪽 55%는 빈 공간 (경매/공매와 동일 비율)
   ════════════════════════════════════════════════ */
@media (max-width: 1025px) and (min-width: 771px) {

  /* inline-flex → block (position/padding-right는 responsive CSS가 설정) */
  .container .content_head2 {
    display: block !important;
    flex: none !important;
    gap: 0 !important;
  }

  /* imgswip--detailpc: 절대위치/float 해제만 (폭은 content_head2 content area가 결정) */
  .container .content_head2 .imgswip.imgswip--detailpc {
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ── 예정물건 리스트형(모바일): 행 표시 + 레이아웃 정돈 ── */
@media (max-width: 767px) {
  /* 숨겨진 2번째 이후 info-line 복원 */
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .info-line + .info-line {
    display: flex !important;
  }

  /* 소유자·채무자 행 */
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .info-line--owners {
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    font-size: 12px;
    color: #555;
  }
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .owner-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: #555;
  }

  /* 날짜 행 — 개시/배당종기 텍스트 줄바꿈 방지 */
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .info-line--dates {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    font-size: 12px;
    color: #555;
    overflow: hidden;
  }
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .date-label {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11px;
    color: #888;
  }
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .date-value {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
  }
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .date-sep {
    flex-shrink: 0;
    color: #ddd;
    padding: 0 2px;
  }

  /* 청구금액 + 상태 행 */
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .price-row {
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin-top: 4px;
  }
  .rsl-list--wait-yejung .list-wrap.rsl-list__mobile .status-badge {
    font-size: 12px;
    flex-shrink: 0;
  }
}

/* ── 모바일(≤770): 사건내용 그리드 1열 — wait_detail.css 규칙과 통일 ── */
@media (max-width: 770px) {
  .container .content_warp1 .grid_style06 {
    grid-template-columns: 120px 1fr !important;
  }
  .container .content_warp1 .grid_style06 .grid_style06-item:nth-child(2)  { grid-column: auto !important; }
  .container .content_warp1 .grid_style06 .grid_style06-item:nth-child(4)  { grid-column: auto !important; }
  .container .content_warp1 .grid_style06 .grid_style06-item:nth-child(30) { grid-column: auto !important; }
}
