/* Custom styles for Astra Child theme */

body {
	/* Keep empty for now: add site-specific styles here */
}

/* ============================================================
   Bizactive — 카테고리별 상품 카드 그리드
   ============================================================ */

.ba-products {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 20px;
}

.ba-products__tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	justify-content: center;
}

.ba-products__tab {
	border: none;
	background: #ececec;
	color: #888;
	padding: 14px 32px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
}

.ba-products__tab:hover {
	background: #ddd;
}

.ba-products__tab.is-active {
	background: #b08c3a;
	color: #fff;
}

.ba-products__panel {
	display: none;
}

.ba-products__panel.is-active {
	display: block;
}

.ba-products__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.ba-products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.ba-products__grid { grid-template-columns: 1fr; }
}

.ba-card {
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 16px;
	padding: 32px 24px 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0,0,0,.04);
	display: flex;
	flex-direction: column;
}

.ba-card__head {
	margin-bottom: 20px;
}

.ba-card__period {
	color: #1c3f8c;
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px;
}

.ba-card__btype {
	font-size: 15px;
	color: #555;
	font-weight: 500;
	margin-left: 4px;
}

.ba-card__sub {
	color: #555;
	font-size: 14px;
	margin: 0;
}

.ba-card__pricing {
	margin: 0 0 24px;
	flex: 1;
}

.ba-card__row {
	display: flex;
	justify-content: center;
	gap: 8px;
	font-size: 17px;
	margin: 8px 0;
	color: #1c3f8c;
	font-weight: 700;
}

.ba-card__row dt,
.ba-card__row dd {
	margin: 0;
}

.ba-card__row--monthly {
	color: #d23a3a;
}

.ba-card__vat {
	display: block;
	font-size: 12px;
	color: #888;
	font-weight: 400;
	margin-top: 2px;
}

.ba-card__cta {
	display: block;
	background: #1c3f8c;
	color: #fff !important;
	padding: 14px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .2s;
}

.ba-card__cta:hover {
	background: #15326e;
	color: #fff !important;
}

/* ============================================================
   계약서 상품 페이지 — 상단 영역 전체 숨김
   (제목·설명·ACF 가격·장바구니 모두 — 계약서 본문이 모든 정보 포함)
   ============================================================ */

body.is-contract-product .product_title,
body.is-contract-product .entry-title,
body.is-contract-product .woocommerce-product-details__short-description,
body.is-contract-product .custom-product-info,
body.is-contract-product form.cart,
body.is-contract-product .single-product .product .cart {
	display: none !important;
}

/* ============================================================
   계약서 본문 — 폰트 사이즈 업
   ============================================================ */

.ba-contract {
	font-size: 16px;
	line-height: 1.75;
}

.ba-contract__title {
	font-size: 32px;
}

.ba-contract__lead {
	font-size: 15px;
}

.ba-contract__h3 {
	font-size: 20px;
}

.ba-contract__num-line {
	font-size: 15px;
	line-height: 1.5;
	margin: 10px 0;
}

.ba-contract__num-line strong {
	color: #000;
}

.ba-contract__info,
.ba-contract__price,
.ba-contract__company {
	font-size: 15px;
}

.ba-contract__scroll-box {
	font-size: 14px;
	line-height: 1.7;
}

.ba-contract__agree {
	font-size: 15px;
}

.ba-contract__agree--main {
	font-size: 16px;
}

/* ============================================================
   CF7 폼 — 여백 압축 + 입력 필드 통일
   ============================================================ */

.ba-contract__form-wrap {
	margin-top: 30px;
	padding: 24px;
	background: #fafafa;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
}

/* CF7 기본 p 마진 제거 */
.ba-contract__form-wrap .wpcf7-form p {
	margin: 0 !important;
}

/* grid 자체의 row gap 조정 */
.ba-contract__form-wrap .ba-cf7-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 12px 16px !important;
}

@media (max-width: 600px) {
	.ba-contract__form-wrap .ba-cf7-grid {
		grid-template-columns: 1fr !important;
	}
}

/* 라벨 + 입력칸 그룹 */
.ba-contract__form-wrap .ba-cf7-grid p {
	display: flex;
	flex-direction: column;
}

.ba-contract__form-wrap .ba-cf7-grid label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
	margin-bottom: 0;
}

.ba-contract__form-wrap label {
	margin-bottom: 0;
}

/* 입력 필드 */
.ba-contract__form-wrap input[type="text"],
.ba-contract__form-wrap input[type="tel"],
.ba-contract__form-wrap input[type="email"],
.ba-contract__form-wrap input[type="number"],
.ba-contract__form-wrap textarea,
.ba-contract__form-wrap .wpcf7-form-control {
	width: 100% !important;
	padding: 9px 12px !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	font-size: 14px !important;
	margin-top: 4px !important;
	box-sizing: border-box !important;
	background: #fff !important;
}

.ba-contract__form-wrap textarea {
	min-height: 90px;
	resize: vertical;
}

/* 제출 버튼 */
.ba-contract__form-wrap .wpcf7-submit,
.ba-contract__form-wrap .ba-cf7-submit {
	display: block !important;
	width: 100% !important;
	margin: 20px 0 0 !important;
	padding: 14px !important;
	background: #d23a3a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: background .2s;
}

.ba-contract__form-wrap .wpcf7-submit:hover {
	background: #b02929 !important;
}

/* 폼 안내문 */
.ba-contract__form-warning {
	margin-top: 16px;
	padding: 10px 14px;
	background: #fff5e6;
	border-left: 3px solid #f0c674;
	color: #8a6020;
	font-size: 13px;
}

/* CF7 응답 메시지 */
.ba-contract__form-wrap .wpcf7-response-output {
	margin: 14px 0 0 !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	border-radius: 4px !important;
}

/* 동의 체크박스 미체크 경고 */
.ba-contract__agree-warning {
	display: block;
	margin: 6px 0 12px;
	padding: 10px 14px;
	background: #ffeded;
	border: 1px solid #f5b5b5;
	border-left: 4px solid #d23a3a;
	color: #c00;
	font-size: 14px;
	font-weight: 700;
	border-radius: 4px;
	animation: ba-shake .35s ease-in-out;
}

@keyframes ba-shake {
	0%, 100% { transform: translateX(0); }
	25%      { transform: translateX(-6px); }
	75%      { transform: translateX(6px); }
}

/*
 * .main-slide: Untitled-2 기준 100vh는
 *   - .main-slide .swiper-wrapper { height: 100vh; }
 *   - .main-slide .box { height: 100vh; ... }
 * 모바일(≤1024px)에서는 뷰포트 높이 대신 가로에 맞춘 비율 박스 + background-size: contain 으로
 * 배경 이미지가 찌그러지지 않고 전체가 보이도록 함.
 * 슬라이드마다 비율이 다르면 .box 에 style="--slide-bg-aspect: 1920 / 1080" 처럼 지정.
 */
@media screen and (max-width: 1024px) {
	.main-slide {
		height: auto;
	}

	.main-slide .swiper {
		height: auto;
	}

	.main-slide .swiper-wrapper {
		height: auto !important;
	}

	.main-slide .swiper-slide {
		height: auto !important;
	}

	.main-slide .box {
		height: auto !important;
		min-height: 0;
		aspect-ratio: var(--slide-bg-aspect, 3 / 4);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
	}
}

/* ============================================================
   이용약관 / 세무기장대리계약서 (운영 sub1-1 / subv1-1 재현)
   ============================================================ */

.ba-contract__terms,
.ba-contract__tax-agreement {
	margin: 8px 0 24px;
	padding: 20px 22px;
	background: #fafafa;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.7;
}

.ba-contract__terms .ba-contract__num-line,
.ba-contract__tax-agreement .ba-contract__num-line {
	font-size: 14px;
	margin: 8px 0;
}

/* 세무기장대리계약서 조항은 라벨이 길어("제5조【비밀엄수】") 짧은 번호용
   hanging indent(text-indent:-28px)와 충돌해 뒷글자가 가려짐 → 들여쓰기 해제 */
.ba-contract__tax-agreement .ba-contract__num-line {
	text-indent: 0;
	padding-left: 0;
}

.ba-contract__tax-agreement .ba-contract__num-line strong {
	display: inline;
	width: auto;
	margin: 0 4px 0 0;
}

/* 카트 / 결제 주문요약 — 판매자(Sold By) 행 숨김 (라벨 + 판매자명) */
.variation-SoldBy,
dt.variation-SoldBy,
dd.variation-SoldBy {
	display: none !important;
}

/* 주문요약 — 상품명 아래 입력값(variation) 블록 상단 간격 */
.woocommerce td.product-name dl.variation,
.cart_item .variation {
	padding-top: 15px;
}

/* 결제 — 모든 필드 라벨을 필드 위에 항상 표시 (통일성).
   Astra 플로팅 라벨(absolute + opacity:0)을 해제하고 일반 상단 라벨로. */
.woocommerce-checkout #customer_details .form-row > label,
.woocommerce-checkout .woocommerce-billing-fields .form-row > label {
	position: static !important;
	opacity: 1 !important;
	transform: none !important;
	display: block !important;
	margin: 0 0 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #333 !important;
	left: auto !important;
	top: auto !important;
}

/* "사업자 유형" 셀렉트 — 드롭다운 화살표 + 테두리 강조 */
#billing_bizactive_business_type_field select {
	border: 1px solid #c9c9c9 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23555' d='M0 0h10L5 6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 10px 6px !important;
}

#billing_bizactive_business_type_field select:focus {
	border-color: #1c3f8c !important;
}

/* 결제 입력칸 — 라벨을 위로 뺐으므로 플로팅용 비대칭 패딩(1.45em .8em .35em) 제거.
   입력 전/입력 중/입력 후 모든 상태를 .9em .8em 으로 통일. */
.woocommerce-checkout #customer_details .form-row input.input-text,
.woocommerce-checkout #customer_details .form-row textarea,
.woocommerce-checkout #customer_details .form-row.ast-animate-input input.input-text,
.woocommerce-checkout #customer_details .form-row.ast-animate-input textarea,
.woocommerce-checkout #customer_details .form-row input.input-text:focus,
.woocommerce-checkout #customer_details .form-row textarea:focus {
	padding: .9em .8em !important;
}

/* 셀렉트는 우측 화살표 공간만 추가 확보 */
.woocommerce-checkout #customer_details .form-row select,
.woocommerce-checkout #customer_details .form-row select:focus {
	padding: 0em 2.4em 0em .8em !important;
}

.ba-contract__tax-agreement > p {
	margin: 8px 0;
}

.ba-contract__inline-blank {
	display: inline-block;
	min-width: 220px;
	border-bottom: 1px solid #999;
}

.ba-contract__tax-date {
	text-align: center;
	margin: 22px 0 14px !important;
	letter-spacing: 1px;
}

/* 갑 / 을 서명 테이블 */
.ba-contract__party {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
	font-size: 14px;
}

.ba-contract__party th,
.ba-contract__party td {
	border: 1px solid #c9c9c9;
	padding: 9px 10px;
	vertical-align: middle;
}

.ba-contract__party-side {
	width: 36px;
	text-align: center;
	font-weight: 700;
	background: #f1f3f5;
	font-size: 16px;
}

.ba-contract__party-key {
	width: 92px;
	background: #f7f8fa;
	color: #333;
	font-weight: 600;
	white-space: nowrap;
}

.ba-contract__party-val {
	min-width: 120px;
}

.ba-contract__party-sub {
	font-size: 12px;
	color: #666;
}

@media (max-width: 600px) {
	.ba-contract__party th,
	.ba-contract__party td {
		padding: 7px 6px;
		font-size: 12px;
	}
	.ba-contract__party-key {
		width: auto;
	}
}

/* ============================================================
   지역별 요금 카드 ([bizactive_pricing]) — 슬라이드 없이 세로 나열
   ============================================================ */
.ba-pricing--stack {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
	gap: 20px;
	margin: 0 auto 50px;
}

@media (max-width: 1024px) {
	.ba-pricing--stack { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.ba-pricing--stack { grid-template-columns: 1fr; }
}

.ba-pricing {
	scroll-margin-top: 90px;
}

/* 지역 탭 ([bizactive_pricing_tabs]) — 스크롤 시 상단 고정 */
.ba-tabs {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 8px;
	padding: 12px 10px;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(6px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
	transition: box-shadow .25s ease;
}

/* 스크롤로 상단에 고정됐을 때만 그림자 */
.ba-tabs.is-stuck {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

.ba-tabs__btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 30px;
 background: #f1f1f1; 
	color: #555 !important; 
	font-weight: 500;
	text-decoration: none !important;
	transition: background .15s, color .15s;
}

.ba-tabs__btn:hover {
	background: #fbe7d2;
	color: #e67e22 !important;
}

.ba-tabs__btn.is-active {
	background: #e67e22;
	color: #fff !important;
}

@media (max-width: 767px) {
	.ba-tabs__btn {
		width: 40%;
		text-align: center;
	}
	.ba-pricing__region {
		margin: 40px 0 35px;
	}
}

/* ============================================================
   오시는길 섹션(.ba-locations) — 지도 상단(전체폭) / 정보 하단 강제
   (이전 좌우 2단 버전이 들어가 있어도 스택으로 교정)
   ============================================================ */
.ba-locations .ba-loc-panel { display: none; }
.ba-locations .ba-loc-panel.is-active { display: block !important; grid-template-columns: none !important; }
.ba-locations .ba-loc-map { width: 100% !important; height: 450px; }
.ba-locations .ba-loc-map iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.ba-locations .ba-loc-info { max-width: 1000px; margin: 0 auto; padding-top: 28px; text-align: left; }

@media (max-width: 760px) {
	.ba-locations .ba-loc-map { height: 320px; }
}

/* 카카오톡 채널 버튼 배경색 */
.ba-locations .ba-loc-btn--kakao { background: #f2da00 !important; }
.ba-locations .ba-loc-btn--kakao:hover { background: #e6cf00 !important; }

/* 카카오톡 채널 버튼 앞 카카오 아이콘 */
.ba-loc-btn--kakao::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	vertical-align: -4px;
	background: url(../img/kakao.png) no-repeat center / contain;
}

.ba-pricing__region {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 20px;
	font-weight: 800;
	color: #1a1a1a;
	margin: 80px 0 35px;
}

.ba-pricing__region-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fdf0dd;
	color: #e67e22;
}

.ba-pricing__region-icon svg {
	width: 20px;
	height: 20px;
}

.ba-pricing__region-name {
	flex: none;
}

.ba-pricing__region::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e3e3e3;
}

.ba-pricing__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid #f4cf94;
	border-radius: 14px;
	padding: 16px 18px 18px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	text-align: center;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}

.ba-pricing__card:hover {
	transform: translateY(-7px);
	border-color: #e67e22;
	box-shadow: 0 16px 32px rgba(230, 126, 34, .28);
}

.ba-pricing__title {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin: 10px 0 4px !important;
}

.ba-pricing__discount {
	color: #e67e22 !important;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px !important;
}

.ba-pricing__btype {
	font-size: 14px;
	font-weight: 700;
	color: #f4a83b;
}

.ba-pricing__subtitle {
	color: #e60012 !important;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px !important;
}

.ba-pricing__rent {
	font-size: 15px;
	margin: 2px 0 !important;
	color: #333;
}

.ba-pricing__rent strong {
	color: #1a1a1a;
}

.ba-pricing__base {
	color: #aaa;
	font-size: 13px;
	margin: 1px 0 !important;
}

.ba-pricing__monthly {
	font-size: 15px;
	margin: 4px 0 2px !important;
	padding-top: 6px;
	border-top: 1px solid #eee;
}

.ba-pricing__monthly strong {
	color: #e60012 !important;
	font-size: 18px;
}

.ba-pricing__monthly span {
	color: #888;
	font-size: 12px;
}

.ba-pricing__deposit {
	font-size: 13px;
	color: #e60012;
	font-weight: 600;
	margin: 0px 0 10px !important;
}

.ba-pricing__btn {
	display: block;
	margin-top: auto;
	padding: 13px;
	background: #e67e22;
	color: #fff !important;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background .15s;
}

.ba-pricing__btn:hover {
	background: #d35400;
	color: #fff !important;
	text-decoration: none !important;
}

/* 첫 카드 위 여백(버튼 하단정렬 시) */
.ba-pricing__card > :first-child {
	margin-top: 0;
}

/* ============================================================
   상단 히어로 배너 (.ba-hero) — 파란 배경 없이, 흰 바탕 기준
   ============================================================ */
.ba-hero {
	text-align: center;
	padding: 80px 20px 0;
}

.ba-hero__logo {
	height: 42px;
	width: auto;
	margin: 0 auto 12px;
}

.ba-hero__title {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	color: #1a1a1a;
	letter-spacing: -0.5px;
}

.ba-hero__title span {
	color: #f4a83b;
}

.ba-hero__badge {
	display: inline-block;
	border: 1.5px solid #e67e22;
	border-radius: 30px;
	/* margin-top: 24px; */
	margin-bottom: 30px;
	padding: 10px 40px;
	background: #e67e22;
	color: #ffffff;
	font-weight: 500;
	font-size: 16px;
}

/* ============================================================
   주문완료 계약서 인쇄 (.ba-print-*)
   ============================================================ */
.ba-print-bar {
	text-align: center;
	margin: 24px 0;
}

.ba-print-btn {
	background: #1c3f8c;
	color: #fff;
	border: 0;
	padding: 14px 44px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: background .15s;
}

.ba-print-btn:hover {
	background: #15326e;
}

/* 인쇄 블록(체크아웃/주문완료)은 화면에 세무계약서만 표시 — 다른 내용 숨김 */
.ba-print-contract .ba-contract__inner > *:not(.ba-tax-print) {
	display: none !important;
}

.ba-contract__contractor {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
	font-size: 14px;
}

.ba-contract__contractor th,
.ba-contract__contractor td {
	border: 1px solid #c9c9c9;
	padding: 9px 10px;
	text-align: left;
}

.ba-contract__contractor th {
	width: 110px;
	background: #f7f8fa;
	white-space: nowrap;
	font-weight: 600;
}

@media print {
	body * {
		visibility: hidden;
	}
	.ba-tax-print,
	.ba-tax-print * {
		visibility: visible;
	}
	.ba-tax-print {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
	}
	.no-print {
		display: none !important;
	}
}

/* ============================================================
   블로그/아카이브 카드 테두리 또렷하게 (Astra .ast-article-inner)
   실제 카드 박스 = .ast-article-inner (blog-layout-4)
   ============================================================ */
.blog .ast-article-inner,
.archive .ast-article-inner,
.search-results .ast-article-inner {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.blog .ast-article-inner:hover,
.archive .ast-article-inner:hover,
.search-results .ast-article-inner:hover {
	border-color: #e67e22;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
	transform: translateY(-4px);
}

/* 썸네일은 카드 폭에 꽉 차게(둥근모서리 상속). 텍스트 여백은 Astra 기본값 그대로 — 추가 패딩 X (이중 패딩 방지) */
.blog .ast-article-inner .post-thumb,
.archive .ast-article-inner .post-thumb,
.blog .ast-article-inner .ast-article-image,
.archive .ast-article-inner .ast-article-image {
	margin: 0 0 14px;
}

/* 이미지 hover 줌(확대) 제거 */
.blog .ast-article-inner:hover .post-thumb img,
.archive .ast-article-inner:hover .post-thumb img,
.blog .ast-article-inner:hover .ast-article-image img,
.archive .ast-article-inner:hover .ast-article-image img {
	transform: none !important;
}

/* ============================================================
   단일 상품 페이지 — 카테고리 표시 숨김
   Astra가 제목 위에 <span class="single-product-category"> 로 출력
   ============================================================ */
.single-product .single-product-category,
.single-product .product_meta .posted_in {
	display: none !important;
}


/* ============================================================
   KBoard 댓글 — 심플 디자인 (플러그인 미수정, 자식테마 override)
   ============================================================ */
.kboard-comments-area { margin-top: 26px; font-size: 15px; color: #333; }
.kboard-comments-area .kboard-comments-wrap { border: 0 !important; }
/* 댓글 영역 회색 배경(#f9f9f9) → 흰색 */
.kboard-comments-area .kboard-comments-default { background-color: #fff !important; }

/* 헤더: 전체 N / 추천순 — dashed 제거, 솔리드 1px */
.kboard-comments-area .comments-header {
	display: flex; align-items: center; justify-content: space-between;
	border: 0 !important; border-bottom: 1px solid #ececec !important;
	padding: 0 2px 12px !important; margin-bottom: 16px !important;
}
.kboard-comments-area .comments-total-count,
.kboard-comments-area .comments-count { font-weight: 700; color: #1a1a1a; font-size: 16px; }
.kboard-comments-area .comments-sort { color: #999; font-size: 13px; }

/* 작성 폼 */
.kboard-comments-area .kboard-comments-form,
.kboard-comments-area .comments-field-wrap,
.kboard-comments-area .comments-field { border: 0 !important; background: none !important; }
.kboard-comments-area .comment-textarea,
.kboard-comments-area .field-content textarea {
	width: 100% !important; box-sizing: border-box;
	border: 1px solid #ddd !important; border-radius: 10px !important;
	padding: 14px 16px !important; font-size: 15px; line-height: 1.6; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.kboard-comments-area .comment-textarea:focus,
.kboard-comments-area .field-content textarea:focus {
	border-color: #e67e22 !important; box-shadow: 0 0 0 3px rgba(230,126,34,.12) !important; outline: 0;
}

/* 등록 버튼 — 주황 솔리드 */
/* 입력 버튼: 커스텀 배경/스타일 제거 — 기본 버튼 그대로 사용 */
.kboard-comments-default .kboard-comments-form .comments-submit-button input[type=submit] {
	margin: 10px;
}

/* 댓글 목록 — 얇은 구분선 */
.kboard-comments-area .comments-list { border: 0 !important; }
.kboard-comments-area .kboard-comments-item {
	border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; padding: 16px 2px !important;
}
.kboard-comments-area .comments-list-username { font-weight: 700; color: #1a1a1a; }
.kboard-comments-area .comments-list-create { color: #aaa; font-size: 12px; }
.kboard-comments-area .comments-list-content { color: #333; line-height: 1.65; margin: 6px 0 8px; }

/* 액션 버튼(수정·삭제·답글·추천) — 미니멀 텍스트 */
.kboard-comments-area .comments-button-action {
	background: none !important; border: 0 !important; color: #999 !important;
	font-size: 12.5px !important; padding: 2px 8px !important; cursor: pointer;
}
.kboard-comments-area .comments-button-action:hover { color: #e67e22 !important; }
