/* 260930 메인 공지사항 (PC) — index.php .sec_notice / 기존 둘러보기(.sec06) 자리
   레이아웃은 진료후기(.sec05 .review_slide) 기준, 썸네일·텍스트 위치는 업체 시안 기준 */

.sec_notice {
	padding: 20rem 0;
}

.notice_slide {
	margin-top: 6rem;
	padding-top: 2rem; /* hover 로 떠오르는 카드가 잘리지 않게 */
}

.notice_slide .nt_box {
	display: block;
	transition: transform 0.5s;
}

.notice_slide .nt_box:hover {
	transform: translateY(-1.5rem);
}

.notice_slide .imgbox {
	position: relative;
	overflow: hidden;
	border-radius: 3.2rem;
	aspect-ratio: 1 / 1;
	background: #f4f4f4;
}

.notice_slide .imgbox img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}

.notice_slide .nt_box:hover .imgbox img {
	transform: scale(1.04);
}

.notice_slide .imgbox.noimg img {
	object-fit: none;
}

.notice_slide .txtbox {
	padding-top: 2.8rem;
	text-align: left;
}

.notice_slide .txtbox .disc {
	font-size: 2.2rem;
	font-weight: 500;
	line-height: 1.5;
	color: #222;
	word-break: keep-all;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 3em; /* 한 줄 제목도 날짜 높이를 맞춘다 */
}

.notice_slide .txtbox .date {
	font-size: 1.6rem;
	font-weight: 300;
	color: #999;
	margin-top: 1.8rem;
}

.notice_slide .nt_pagination {
	position: relative;
	margin-top: 6rem;
	height: 4px;
	background: transparent;
}

.notice_slide .nt_pagination::after {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #bbb;
	opacity: 0.3;
}

.notice_slide .nt_pagination .swiper-pagination-progressbar-fill {
	background: var(--main-color);
}
