@charset "utf-8";
.container {max-width: 1200px;}
html, body { overflow-x: hidden; }
/* 게시판 쓰기 */
#autosave_wrapper {position:relative; font-size:14px;}
#autosave_pop {display:none;z-index:10;position:absolute !important;top:34px;right:0;width:100%;height:auto !important;height:180px;max-height:205px;border:1px solid #565656;background:#fff;
-webkit-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);}
#autosave_pop:before{content: "";position: absolute;top: -8px;right: 45px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent #000 transparent;}
#autosave_pop:after{content: "";position: absolute;top: -7px;right: 45px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent #fff transparent;}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:center;margin:0 !important;}
#autosave_pop button {margin:0;padding:0;border:0;}
#autosave_pop ul {margin:0px;padding:15px;border-top:1px solid #e9e9e9;list-style:none;overflow-y:scroll;height:156px;border-bottom:1px solid #e8e8e8}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #fff;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right;color:#999}
.autosave_close {cursor:pointer;width:100%;height:30px;background:none;color:#888;font-weight:bold;font-size:0.92em}
.autosave_close:hover{background:#f3f3f3;color:#3597d9}
.autosave_content {display:none}
.autosave_del{background:url(./img/close_btn.png) no-repeat 50% 50%;text-indent:-999px;overflow:hidden;height:26px;width:20px;}

.cke_sc { display:none; }

/* 기타 */
#bo_v_con div { position: relative; margin-bottom: 1rem; }
#bo_v_con img { margin-bottom: 1rem; }
#bo_v_con iframe { position: absolute; width: 100%; height: 100%; }
#bo_v_con .video { position: relative; width: 100%;	padding-bottom: 56.25%;	border-radius: 2px;	overflow: hidden; }
#bo_v_con .video iframe { position: absolute; width: 100%; height: 100%; }

/* 커스텀 */
.anchor { position: relative } 
.anchor a { position: absolute; top: -60px }
/* .pagination { margin-bottom: 0.75rem; } */

.corner-card{ overflow: hidden; position: relative; }
.corner-ribbon{
  position: absolute;
  top: 12px;              /* 모서리와 거리 (조절 가능) */
  left: -48px;            /* 더 모서리 쪽으로 붙임 */
  width: 160px;           /* 리본 길이 */
  height: 32px;           /* 리본 높이 */

  background: #f43;
  color: #fff;

  display: flex;          /* 🔥 글씨 중앙 정렬 핵심 */
  align-items: center;    /* 세로 중앙 */
  justify-content: center;/* 가로 중앙 */

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;

  transform: rotate(-45deg);
  transform-origin: center; /* 🔥 회전 기준 중앙 */

  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  z-index: 2;
}

.custom-checkbox { display: inline; }
.custom-file-label:lang(ko)::after { content: "찾아보기"; }

.list-icon { width: 17px; height: 17px; vertical-align: text-bottom; }
.view-icon { width: 48px; height: 48px; }
.comm-icon { width: 48px; height: 48px; }
.comm-body { background: #f4f4f4; padding: 20px; border-radius: 5px; }

@media (max-width: 575px)
{
	#captcha_audio {display:none !important;}

	.xs-100 { width: 100%; }
	.xs-full {
		width: 100vw;
		position: relative;
		/* margin-top: -36px; */
		margin-left: -50vw;
		left: 50%;
	}
	.xs-full td	{ padding: 8px 18px; }

	.comm-icon { width: 24px; height: 24px; margin: 10px; position: absolute; }
	.comm-body { padding: 10px; }
	.comm-name { margin: 0 0 6px 30px; }
}
/* ✅ 모바일에서 1줄 2개 강제 (부트스트랩 col이 안 먹어도 적용) */
.c-list-row > [class*="col-"]{
  width: 50% !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

/* ✅ PC(992px~) 1줄 4개 */
@media (min-width: 992px){
  .c-list-row > [class*="col-"]{
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}
/* ✅ 카드 높이/이미지 영역 통일 */
.card{ height:100%; }
/* ===============================
   ✅ 썸네일 비율 통일 (PC/모바일 공통)
   4:3 비율
=============================== */
.corner-card{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;   /* 🔥 핵심 */
  overflow: hidden;
}

.corner-card > a{
  display: block;
  width: 100%;
  height: 100%;
}

.corner-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 575px){
  .container{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* =========================
   ✅ 차량정보 박스(본문 위)
========================= */
.carinfo-wrap{
  margin: 0 0 14px 0;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.carinfo-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px; margin-bottom:10px;
}
.carinfo-title{
  display:flex; align-items:center; gap:8px;
  font-weight:700; font-size:18px; line-height:1.2;
}
.carinfo-sub{ font-size:12px; color:#888; white-space:nowrap; margin-top:2px; }

.carinfo-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* ✅ PC 2열 */
  gap:10px 12px;
}
.carinfo-item{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
}
.carinfo-label{
  display:flex; align-items:center; gap:8px;
  color:#666; font-size:14px; margin-bottom:6px;
}
.carinfo-label .fa{ width:16px; text-align:center; opacity:.9; }
.carinfo-value{
  font-size:16px; font-weight:600; color:#111;
  word-break: break-word;
}

/* ✅ 연락처 영역: PC는 전화버튼 숨김, 모바일은 표시 */
.carinfo-call-btn{
  display:none; /* 기본 숨김(=PC) */
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

/* ✅ 모바일 1열 + 전화버튼 ON */
@media (max-width: 767.98px){
  .carinfo-grid{ grid-template-columns: 1fr; } /* ✅ 모바일 1열 */
  .carinfo-sub{ display:none; }
  .carinfo-call-btn{ display:inline-flex; align-items:center; gap:6px; }
}
