/* 여백 정돈 (2026-11-24): 가장자리에 붙는 글자, 과한 빈 공간 */
/* 1) 창이 컨테이너 최대폭(약 1272px)보다 좁으면 좌우 여백을 둔다 */
@media (min-width:768px) and (max-width:1360px){
  .section_wrap main > .inside:not(.wide),
  .footer-section .inside{padding-left:clamp(24px,3.2vw,44px);padding-right:clamp(24px,3.2vw,44px);box-sizing:border-box}
}
/* 2) 여백 위젯 상한:  편집기에서 크게 잡은 값(최대 147px)을 줄인다 */
@media (min-width:768px){div[id^="padding_"]{max-height:56px}}
@media (max-width:767px){div[id^="padding_"]{max-height:28px}}
/* 3) 푸터 모바일 좌우 여백 */
@media (max-width:767px){.footer-section .inside{padding-left:20px;padding-right:20px;box-sizing:border-box}}
/* 4) 모바일 본문 글 블록 좌우 여백 */
@media (max-width:767px){.text-table{padding-left:16px;padding-right:16px;box-sizing:border-box}}
/* 5) 줄바꿈 규칙: 한글은 어절 단위로만 줄바꿈(어절 중간에서 끊지 않음), 제목은 줄 길이를 균등하게 */
body,body *{word-break:keep-all!important;overflow-wrap:break-word}
body pre,body code{word-break:break-all!important}
h1,h2,h3,h4,h5,h6{text-wrap:balance}
.text-table p{text-wrap:pretty}
.text-table h3{font-size:clamp(22px,2.8vw,41px)}
/* 6) 푸터 링크가 보이게: 이용약관·개인정보처리방침 14px, 푸터 링크는 어두운 회색(대비 1.7:1) 대신 밝은 색 */
._policy_menu a{font-size:14px!important;font-weight:500!important}
.footer-section a{color:rgba(255,255,255,.85)!important}
.footer-section a:hover,.footer-section a:focus-visible{color:#00d255!important}
/* 7) 검정 푸터 구역(#s202511140563fbd19bb1e)의 «사업안내» 링크: 진회색(#363636) 글씨가 검정 배경에 묻혀 대비 1.7:1 → 밝은 회색 */
#s202511140563fbd19bb1e ._fade_link,#s202511140563fbd19bb1e ._fade_link *{color:#c4c4c4!important}
#s202511140563fbd19bb1e ._fade_link:hover,#s202511140563fbd19bb1e ._fade_link:hover *{color:#00d255!important}

/* 이전 페이지·홈으로 막대: 화면 좌측 하단 고정(우측 하단은 의견 접수 버튼) */
nav.kp-back{position:fixed;left:16px;bottom:16px;z-index:9980;display:flex;gap:8px;align-items:center}
nav.kp-back a,nav.kp-back button{display:inline-flex;align-items:center;height:44px;padding:0 16px;border:1px solid #cfcfcf;border-radius:22px;background:#fff;color:#212121;font:600 14px Pretendard,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 4px 14px rgba(33,33,33,.2)}
nav.kp-back a:hover,nav.kp-back button:hover{border-color:#7407ff;color:#7407ff}
nav.kp-back a:focus-visible,nav.kp-back button:focus-visible{outline:3px solid #00d255;outline-offset:2px}
.kp-back-prev{order:-1}
@media (max-width:600px){nav.kp-back{left:12px;bottom:12px}}

/* 해시태그 알약: 물 사진 위에서 읽히도록 반투명 흰 바탕 + 진한 남색 글씨 */
.kp-pill{display:flex;align-items:center;justify-content:center;width:165px;height:43px;max-width:100%;margin:0 auto;box-sizing:border-box;border-radius:999px;background:rgba(255,255,255,.88);color:#1a1f4a;font:700 15px/1 Pretendard,sans-serif;white-space:nowrap;box-shadow:0 2px 8px rgba(33,33,33,.18)}

/* 푸터 통일: 안내 글자 13px·같은 밝기, 컬럼 링크·SNS 글자 같은 색 */
#blk_footer .footer-section .footer-company-info,
#blk_footer .footer-section .footer-company-info p,
#blk_footer .footer-section .footer-company-info__item,
#blk_footer .footer-section .footer-company-info a{font-size:13px!important;line-height:1.6!important;color:rgba(255,255,255,.85)!important}
#blk_footer .footer-section .footer-company-info__item+.footer-company-info__item{margin-left:12px}
#text_w20251114b30f815509464 *{color:#c4c4c4!important}
#blk_footer .footer-section .custom-text,#blk_footer .footer-section .foot-custom{font-size:13px!important;line-height:1.6!important}

/* /community 상단 제목·설명이 화면 왼쪽 끝에 붙던 것 (768~1360px) */
@media (min-width:768px) and (max-width:1360px){#s20251114e8af59d0078b3 main > .inside,#s20251114efdd3aab75312 main > .inside{padding-left:clamp(24px,3.2vw,44px)!important;padding-right:clamp(24px,3.2vw,44px)!important;box-sizing:border-box}}

/* 글자 이모지 대신 사이트 색으로 그린 체크·마름모 (modules/glyph.py) */
.kp-ck{display:inline-block;width:.62em;height:.34em;border-left:2px solid #6239e0;border-bottom:2px solid #6239e0;transform:rotate(-45deg);margin:0 .5em .22em .1em;vertical-align:middle}
.kp-bl{display:inline-block;width:.42em;height:.42em;background:#6239e0;transform:rotate(45deg);margin:0 .55em .12em .1em;vertical-align:middle}
/* 모바일: 사진 배경 초점을 좌상단(기본값)에서 가운데 위쪽으로 */
@media(max-width:900px){.text_bg_img{background-position:50% 35% !important}}

/* ===== 2026-11-28 모바일 대책 2차 ===== */
@media (max-width: 900px) {
  .text-table { word-break: keep-all; overflow-wrap: anywhere; }                       /* 한글은 단어 중간에서 끊지 않는다 */
  /* BEFORE/AFTER 표: 좁은 두 칸 대신 행마다 «전 → 후» 카드로(머리줄 표는 숨기고 칸 안에 라벨을 붙인다) */
  .text-table table[style*="margin-right: calc("] { display: none; }
  .text-table table[data-start], .text-table table[data-start] tbody { display: block; width: 100% !important; margin: 0 !important; }
  .text-table table[data-start] tr { display: block; margin: 0 0 10px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; }
  .text-table table[data-start] tr:not(:has(td, th)) { display: none; }
  .text-table table[data-start] td { display: block; width: 100% !important; box-sizing: border-box; padding: 10px 14px !important; text-align: left !important; font-size: 15px; line-height: 1.55; }
  .text-table table[data-start] td:nth-child(1) { background: #f4f4f5 !important; color: #444 !important; }
  .text-table table[data-start] td:nth-child(2) { background: #f3efff !important; color: #363636 !important; font-weight: 600; }
  .text-table table[data-start] td:nth-child(1)::before, .text-table table[data-start] td:nth-child(2)::before { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 2px; }
  .text-table table[data-start] td:nth-child(1)::before { content: "세척 전"; color: #777; }
  .text-table table[data-start] td:nth-child(2)::before { content: "세척 후"; color: #6239e0; }
  /* 터치 영역: 눈에 보이는 크기는 그대로, 누를 수 있는 영역만 넓힌다(44px 권장) */
  a[href^="tel:"]:not(.kpq-tel), a[href^="mailto:"] { display: inline-block; padding: 12px 6px; margin: -12px -6px; }
  .kp-bn-c a { display: inline-block; padding: 14px 6px; margin: -14px -6px; }
  .kpf-nav a, .kpf-bot a { padding: 11px 0; }
  .swiper-pagination-bullet, .kp-dots button { position: relative; }
  .swiper-pagination-bullet::after, .kp-dots button::after { content: ""; position: absolute; inset: -18px; }
  /* 글자 크기: 푸터·빵부스러기·버튼 12~13px → 14~15px */
  .kpf { font-size: 15px; } .kpf-info { font-size: 14px; } .kpf-bot { font-size: 13.5px; }
  .widget.button .btn { font-size: 15px !important; }
  /* /39·/40 배너(모바일): 페이지 이름을 크게, 협회명은 작게 */
  .kp-mhero .kp-bn-s { font-size: 21px; font-weight: 700; margin-bottom: .35em; }
  .kp-mhero .kp-bn-t { font-size: 15px; font-weight: 500; opacity: .9; margin-bottom: .6em; }
}
@media (max-width: 900px) { .kp-bn-c { font-size: 14px; } }

/* 데스크톱 메뉴에서 선택된(active) 항목: 마우스·포커스·클릭 때 글자색이 바뀌지 않게 고정 (11/29 오너 지시, 보라 바탕에 보라 글자가 되던 문제) */
.viewport-nav.desktop a.active,.viewport-nav.desktop a.active:hover,.viewport-nav.desktop a.active:focus,.viewport-nav.desktop a.active:active,
.viewport-nav.desktop a.active *,.viewport-nav.desktop a.active:hover *,.viewport-nav.desktop a.active:focus *,.viewport-nav.desktop a.active:active *{color:#fff!important;outline:0!important}
