/* 매입임대 주택 이미지 영역 */
.bynImageWrap {
	display: flex;
	width: 100%;
	min-height: 610px;
	border: 1px solid #d5d5d5;
	background: #fff;
	box-sizing: border-box;
}

.bynImageAreaList {
	flex: 0 0 220px;
	border-right: 1px solid #d5d5d5;
	box-sizing: border-box;
}

.bynImageAreaBtn {
	display: block;
	position: relative;
	width: 100%;
	height: 76px;
	border: 0;
	border-bottom: 1px solid #d5d5d5;
	background: #fff;
	color: #666;
	font-size: 18px;
	cursor: pointer;
}

.bynImageAreaBtn.active {
	background: #07869a;
	color: #fff;
	font-weight: bold;
}

.bynImageAreaBtn.active::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -11px;
	margin-top: -10px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 11px solid #07869a;
	z-index: 1;
}

.bynImageContent {
	flex: 1;
	min-width: 0;
	padding: 30px;
	box-sizing: border-box;
}

.bynImageAreaContent {
	display: none;
}

.bynImageAreaContent.active {
	display: block;
}

.bynImageMain {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 380px;
	border: 1px solid #ddd;
	background: #f7f7f7;
	box-sizing: border-box;
	overflow: hidden;
}

.bynImageMain img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bynImageEmpty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #888;
	font-size: 16px;
	text-align: center;
}

.bynImageLine {
	height: 1px;
	margin: 25px 0 18px;
	background: #ddd;
}

.bynImageDesc {
	margin-bottom: 12px;
	color: #666;
	font-size: 14px;
}

.bynImageThumbList {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}


.bynImageThumbBtn {
    width: 100%;
    min-width: 0;
    padding: 5px;
    border: 1px solid #d5d5d5;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.bynImageThumbBtn.active {
    padding: 4px;
    border: 2px solid #07869a;
}

.bynImageThumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 105px;
	background: #f4f4f4;
	overflow: hidden;
}

.bynImageThumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bynImageThumbText {
	display: block;
	padding: 8px 2px 4px;
	color: #666;
	font-size: 14px;
	text-align: center;
}

.bynImageThumbBtn.active .bynImageThumbText {
	color: #07869a;
	font-weight: bold;
}

@media screen and (max-width: 768px) {
.bynImageWrap {
display: block;
min-height: 0;
}

.bynImageAreaList {
display: flex;
width: 100%;
overflow-x: auto;
border-right: 0;
border-bottom: 1px solid #d5d5d5;
}

.bynImageAreaBtn {
flex: 0 0 100px;
height: 55px;
border-right: 1px solid #d5d5d5;
border-bottom: 0;
font-size: 15px;
}

.bynImageAreaBtn.active::after {
display: none;
}

.bynImageContent {
padding: 15px;
}

.bynImageMain {
height: 260px;
}

.bynImageThumbList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bynImageThumb {
height: 90px;
}
}

.bynImageNotice {
margin-top: 15px;
padding-left: 20px;
color: #666;
font-size: 14px;
line-height: 1.7;
text-indent: -20px;
word-break: keep-all;
}

/* 이미지가 없는 칸의 안내 문구 */
.bynImageThumbPlaceholder {
    padding: 8px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
}

/* 준비중인 이미지 버튼 */
.bynImageThumbBtn.bynImageThumbPending:disabled {
    opacity: 1;
    cursor: default;
}