/* 호랑이청소부 상단 전화 띠·모바일 하단 전화 버튼 (2026-10-25) */
.cb-band { background: #111; color: #fffdf8; border-bottom: 3px solid #f7c413; }
.cb-inner { max-width: 1200px; margin: 0 auto; padding: 12px clamp(20px, 3.5vw, 48px); display: flex; align-items: center; gap: 16px; }
.cb-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(247,196,19,.35); }
.cb-msg { flex: 1; margin: 0; display: grid; gap: 2px; word-break: keep-all; line-height: 1.45; }
.cb-msg strong { color: #f7c413; font-size: 1.02rem; font-weight: 900; }
.cb-msg span { color: #d8d4ca; font-size: .86rem; }
.cb-num { flex: none; display: grid; justify-items: end; color: #fffdf8; text-decoration: none; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.cb-num small { color: #f7c413; font-size: .74rem; font-weight: 800; letter-spacing: 0; }
.cb-num:hover, .cb-num:focus-visible { color: #f7c413; }
.cb-dock { display: none; }
@media (max-width: 820px) {
  .cb-inner { padding: 10px 20px; gap: 12px; }
  .cb-ico { width: 44px; height: 44px; border-radius: 12px; }
  .cb-msg strong { font-size: .92rem; }
  .cb-msg span { display: none; }
  .cb-num { font-size: 1.32rem; }
  .cb-num small { display: none; }
  /* 모바일 헤더 버튼 글자 어긋남 수정: 전역 summary 패딩·i 표시 방식이 덮어쓰던 문제 */
  .tc-header .tc-call i { display: grid; place-items: center; }
  .tc-header .tc-mobile-menu summary { padding: 0; display: grid; place-items: center; }
  .cb-dock { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 12px; background: #f7c413; color: #090909; text-decoration: none; font-size: 1.05rem; font-weight: 900; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
  .cb-dock img { width: 30px; height: 30px; border-radius: 8px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .cb-msg strong { font-size: .84rem; }
  .cb-num { font-size: 1.16rem; }
}
/* 기존 하단 바(상담 준비·전화 2칸)는 전화 단일 버튼으로 대체 */
.tc-mobile-actions { display: none !important; }

/* 2026-10-25 체크리스트 항목 26-1: 번호 글자 → 누르고 싶은 전화 버튼(동사형 문구·3D 아이콘·번호, 호버·눌림·포커스, 터치 48px 이상) */
.cb-ico { display: none; }
.cb-cta { display: inline-flex; align-items: center; justify-items: start; gap: 12px; min-height: 60px; padding: 8px 24px 8px 10px; border-radius: 16px; background: #f7c413; color: #090909; text-decoration: none; box-shadow: 0 5px 0 #a67f00, 0 12px 26px rgba(0,0,0,.32); transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease; }
.cb-cta img { flex: none; width: 40px; height: 40px; max-width: none; border-radius: 11px; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.cb-cta span { display: grid; gap: 2px; text-align: left; }
.cb-cta small { display: block; color: #090909; font-size: .8rem; font-weight: 800; letter-spacing: -.01em; opacity: .86; }
.cb-cta b { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.05; }
.cb-cta:hover { background: #ffd640; color: #090909; transform: translateY(-2px); box-shadow: 0 7px 0 #a67f00, 0 16px 30px rgba(0,0,0,.36); }
.cb-cta:active { transform: translateY(4px); box-shadow: 0 1px 0 #a67f00, 0 6px 14px rgba(0,0,0,.3); }
.cb-cta:focus-visible { outline: 3px solid #fffdf8; outline-offset: 3px; color: #090909; }
@media (max-width: 820px) {
  .cb-cta { min-height: 48px; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 12px; box-shadow: 0 3px 0 #a67f00; }
  .cb-cta img { width: 34px; height: 34px; border-radius: 9px; }
  .cb-cta small { display: none; }
  .cb-cta b { font-size: 1.12rem; }
}
@media (max-width: 380px) { .cb-cta b { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .cb-cta { transition: none; } }
.cb-band a.cb-cta, .cb-band a.cb-cta:link, .cb-band a.cb-cta:visited, .cb-band a.cb-cta b, .cb-band a.cb-cta small { color: #090909; }
/* 2026-10-26 전체 점검 AUDIT: 매거진 히어로 제목 들여쓰기(왼쪽 100px) 제거 → 머리말·설명과 같은 왼쪽 선 */
.tc-magazine-hero h1 { margin-left: 0; }
/* 홈 '확인할 곳 은' 강조 뒤 틈 제거 */
.tc-home .tc-spaces-title small { margin-left: 0; }
/* 2026-10-26 홈 서비스 카드 → 서비스 페이지(카드 전체 클릭, 호버·포커스) */
.tc-service-grid article { position: relative; transition: transform .14s ease, box-shadow .14s ease; }
.tc-service-grid .tc-service-link { color: inherit; text-decoration: none; }
.tc-service-grid .tc-service-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tc-service-grid .tc-service-link::after { content: " ↗"; color: #b98f00; font-weight: 900; }
.tc-service-grid article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.tc-service-grid .tc-service-link:focus-visible { outline: none; }
.tc-service-grid article:focus-within { outline: 3px solid #f7c413; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tc-service-grid article { transition: none; } }

/* 2026-10-26 체크리스트 26-2: 전화 버튼은 문구가 주인공(굵게, 번호의 1.15배 이상), 번호는 보조줄. 한 화면 수화기 아이콘 하나 */
.cb-band .cb-cta .cb-cta-label { display: block; font-size: clamp(1.12rem, 1.5vw, 1.3rem); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.cb-band .cb-cta .cb-cta-short { display: none; }
.cb-band .cb-cta small.cb-cta-num { display: block; font-size: .92rem; font-weight: 600; opacity: .88; letter-spacing: 0; }
.cb-dock span { display: grid; gap: 1px; line-height: 1.15; text-align: left; }
.cb-dock b { font-size: 1.06rem; font-weight: 900; }
.cb-dock small { font-size: .8rem; font-weight: 600; opacity: .85; }
@media (max-width: 820px) {
  .cb-band .cb-cta img { display: none; }
  .cb-band .cb-cta { padding: 6px 14px; }
  .cb-band .cb-cta .cb-cta-long { display: none; }
  .cb-band .cb-cta .cb-cta-short { display: inline; }
  .cb-band .cb-cta .cb-cta-label { font-size: .98rem; }
  .cb-band .cb-cta small.cb-cta-num { display: block; font-size: .76rem; }
}
/* 헤더 전화 버튼도 26-2(문구 > 번호) */
@media (min-width: 821px) {
  .tc-header .tc-call-button span { font-size: .95rem; font-weight: 900; }
  .tc-header .tc-call-button b { font-size: .8rem; font-weight: 600; }
}

/* 2026-10-26 체크리스트 21: 푸터 묶음별 열(모바일은 접기) */
.cb-footcols { max-width: 1200px; margin: 0 auto; padding: 40px clamp(20px, 3.5vw, 48px) 8px; display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 28px; word-break: keep-all; }
.cb-footcol summary { list-style: none; cursor: default; margin: 0 0 12px; padding: 0; font-size: .95rem; font-weight: 900; color: #f7c413; }
.cb-footcol summary::-webkit-details-marker { display: none; }
.cb-footcol ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cb-footcol a { color: #e6e0d3; text-decoration: none; font-size: .9rem; }
.cb-footcol a:hover, .cb-footcol a:focus-visible { color: #ffffff; text-decoration: underline; }
.cb-footcall p { margin: 0 0 12px; font-size: .95rem; font-weight: 900; color: #f7c413; }
.cb-footcall a { display: inline-grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: #f7c413; color: #090909; text-decoration: none; min-height: 48px; }
.cb-footcall a b { font-size: 1.02rem; font-weight: 900; }
.cb-footcall a small { font-size: .82rem; font-weight: 600; }
.cb-footcall a:hover, .cb-footcall a:focus-visible { color: #090909; filter: brightness(1.06); text-decoration: none; }
@media (max-width: 820px) {
  .cb-footcols { grid-template-columns: 1fr; gap: 0; padding: 24px 20px 4px; }
  .cb-footcol { border-bottom: 1px solid rgba(255,255,255,.14); padding: 14px 0; }
  .cb-footcol summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
  .cb-footcol summary::after { content: "+"; font-weight: 900; }
  .cb-footcol[open] summary::after { content: "−"; }
  .cb-footcol[open] ul { margin-top: 12px; }
  .cb-footcall { border-bottom: 0; padding-top: 18px; }
}
/* 푸터: 새 열이 기존 한 줄 메뉴·전화 버튼을 대신(중복 제거) */
.tc-footer .tc-footer-nav, .tc-footer .tc-footer-call { display: none; }
/* 데스크톱에서는 사이트 공통 summary::after(–)가 열 제목 옆에 붙지 않게 */
@media (min-width: 821px) { .cb-footcols .cb-footcol summary::after { content: none; } }
/* 바닥글 검수 반영(2026-10-26): ① 노란 버튼 글자 어둡게 ② 로고 줄을 열 위로, 32px 이상 간격 ③ 열을 로고·구분선과 같은 왼쪽 선에 */
.tc-footer .cb-footcall a, .tc-footer .cb-footcall a b, .tc-footer .cb-footcall a small, .tc-footer .cb-footcall a:hover { color: #111; }
.tc-footer { display: flex; flex-direction: column; }
.tc-footer .tc-footer-inner { order: -1; margin-bottom: 0; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tc-footer .cb-footcols { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 8px; }
.tc-footer .tc-footer-inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; box-sizing: border-box; padding-left: 0; padding-right: 0; }
.tc-footer .tc-footer-note { width: min(1200px, calc(100% - 40px)); margin-inline: auto; box-sizing: border-box; padding-left: 0; padding-right: 0; }

/* 2026-10-26 THEME-FIRST 전 템플릿 점검 보완 */
/* 전화 버튼 한 모양: 노란 버튼, 굵은 문구 + 작은 번호(26-2). 헤더·본문 CTA·홈 전화 카드 모두 같은 모양 */
a.tel-btn.tel-btn { display: inline-grid; align-content: center; justify-items: start; gap: 2px; min-height: 52px; padding: 9px 20px; border: 0 !important; border-radius: 14px; background: #f7c413 !important; color: #111 !important; text-decoration: none; text-align: left; box-shadow: 0 4px 0 #a67f00; transition: transform .14s ease, box-shadow .14s ease; width: auto; max-width: 100%; }
a.tel-btn .tel-l { display: block; font-size: 1.04rem; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: #111; }
a.tel-btn .tel-n { display: block; font-size: .8rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; color: #111; opacity: .85; }
a.tel-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a67f00; }
a.tel-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #a67f00; }
a.tel-btn:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
a.tel-btn::before, a.tel-btn::after { content: none !important; }
.tc-header a.tel-btn--head { min-height: 44px; padding: 6px 16px; box-shadow: 0 3px 0 #a67f00; }
.tc-header a.tel-btn--head .tel-l { font-size: .92rem; }
.tc-header a.tel-btn--head .tel-n { font-size: .74rem; }
@media (max-width: 820px) {
  /* 모바일: 헤더 전화 버튼 숨김(상단 띠 + 스크롤 뒤 하단 버튼으로 충분), 첫 화면 전화 버튼 하나 */
  .tc-header a.tel-btn--head { display: none !important; }
  .cb-dock { transform: translateY(calc(100% + 24px)); transition: transform .25s ease; }
  .cb-dock.is-on { transform: none; }
  /* 하단 버튼 자리는 본문 아래 베이지 띠 대신 푸터 안에서 확보 */
  body { padding-bottom: 0 !important; }
  .tc-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) { a.tel-btn, .cb-dock { transition: none; } }
/* 카테고리 카드: 사진 위 글자 상자·아이콘 3중 덮개 → 설명은 사진 아래 작은 글로, 아이콘·화살표 원 숨김 */
.tc-category-card-media figcaption { position: static !important; inset: auto !important; display: block; margin: 0; padding: 8px 2px 0; background: none !important; color: #6b665c !important; font-size: .74rem; box-shadow: none !important; backdrop-filter: none !important; transform: none !important; }
.tc-category-card-media .tc-category-card-icon { display: none; }
/* 글 대표 사진이 1920에서 화면 높이를 다 차지 → 높이 제한(가로 정사각 사진은 가운데 기준 자름) */
.tc-blog-cover img { max-height: min(560px, 70vh); width: 100%; object-fit: cover; }
/* 표: 틀을 다 채우고, 모바일은 옆 잘림 대신 칸 안 줄바꿈 */
.rg-table-wrap table { display: table; }
@media (max-width: 600px) {
  .rg-table-wrap table { min-width: 0 !important; font-size: .86rem; }
  .rg-table-wrap th { white-space: normal !important; }
  .rg-table-wrap th, .rg-table-wrap td { padding: 9px 10px !important; overflow-wrap: anywhere; }
  .tc-article-content table, .tc-blog-content table { display: table; width: 100%; table-layout: fixed; font-size: .84rem; }
  .tc-article-content th, .tc-article-content td, .tc-blog-content th, .tc-blog-content td { padding: 8px 7px; overflow-wrap: anywhere; word-break: keep-all; }
}
/* 참고 자료 펼침 줄의 + 두 개 겹침 → 하나만 */
.tc-sources summary::after, .tc-blog-sources summary::after { content: none !important; }
.tc-sources summary::-webkit-details-marker { display: none; }
/* 모바일 목차 상자: 아래 '01'과 간격, 둥근 모서리 */
.tc-mobile-toc { margin-bottom: 24px !important; border-radius: 14px; overflow: hidden; }
/* 새 바닥글 열이 옛 한 줄 메뉴·전화 버튼을 대신(전화 버튼 통일 규칙보다 우선) */
.tc-footer .tc-footer-call, .tc-footer .tc-footer-nav { display: none !important; }

/* ===== 2026-10-26 테마 v2 전 템플릿 확장(블랙·옐로 홈 톤) ===== */
/* 노란 구역 위 전화 버튼은 검게(노랑 위 노랑 방지), 크게 */
.tc-section-signal a.tel-btn { background: #111 !important; color: #fffdf8 !important; box-shadow: 0 5px 0 #000; min-height: 64px; padding: 12px 26px; }
.tc-section-signal a.tel-btn .tel-l { color: #f7c413; font-size: 1.16rem; }
.tc-section-signal a.tel-btn .tel-n { color: #fffdf8; }
.tc-magazine-cta > div:last-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
/* 글 카드: 높이 맞추고 '답 확인하기'를 아래 끝에(목록·카테고리·홈 공통) */
.tc-article-card > a { display: flex; flex-direction: column; height: 100%; }
.tc-article-card .tc-card-body { display: flex; flex-direction: column; flex: 1; }
.tc-article-card .tc-card-body > b { margin-top: auto; padding-top: 14px; }
/* 지역 글 묶음 칩: 한 줄 알약으로 통일, 카드 높이 맞춤 */
.rg-hub-card { display: flex !important; flex-direction: column; gap: 10px; height: 100%; }
.rg-hub-card span { align-self: flex-start; display: inline-block; white-space: nowrap; border-radius: 999px !important; padding: 4px 11px !important; line-height: 1.3 !important; font-size: .76rem; }
/* 관련 글: 3열 사진 카드(사진 위, 글 아래), 바닥글과 경계 */
.tc-related { border-bottom: 1px solid #262626; }
.tc-related-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tc-related-grid article > a { display: flex !important; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: #161616; border: 1px solid #2a2a2a; text-decoration: none; }
.tc-related-grid article img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; display: block; max-width: none !important; }
.tc-related-grid article > a > div { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tc-related-grid article > a > div b { margin-top: auto; color: #f7c413; }
.tc-related-grid article > a:hover { border-color: #f7c413; }
@media (max-width: 820px) { .tc-related-grid { grid-template-columns: 1fr; } }
/* 글 목차: 글자 크기·대비 */
.tc-blog-toc a, .tc-article-toc a { font-size: .9rem !important; color: #4a463e !important; }
.tc-blog-toc a:hover, .tc-article-toc a:hover { color: #111 !important; }
.tc-blog-toc p, .tc-article-toc p { font-size: .82rem !important; color: #8a6d00 !important; }
/* 관련 글이 2개면 2열로(오른쪽 빈 칸 없음) */
.tc-related-grid:has(> article:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tc-related-grid:has(> article:only-child) { grid-template-columns: minmax(0, 560px); }

/* 한 화면 전화 버튼 1개(2026-10-26): 본문 전화 버튼이 보이면 띠·헤더·하단 바 숨김, 띠가 보이면 헤더 숨김 */
html.tv-content .cb-band .cb-cta, html.tv-content .tel-btn--head, html.tv-band .tel-btn--head { visibility: hidden !important; }
.tv-hide { visibility: hidden !important; }
@media (min-width: 821px) { .cb-dock { display: none !important; } }
/* 띠 문구 시작선을 본문(로고·히어로)과 같게: 1200 폭 안, 좌우 여백 0, 버튼은 오른쪽 끝 */
.cb-band .cb-inner { width: min(1200px, calc(100% - 40px)); max-width: none; margin-inline: auto; padding-left: 0 !important; padding-right: 0 !important; justify-content: space-between; box-sizing: border-box; }
.cb-band .cb-msg { flex: 1 1 auto; text-align: left; }
html.tv-content .cb-band .cb-inner { padding-top: 8px; padding-bottom: 8px; }
/* 공통 내용 칸(2026-10-26 사장님 지적 "넓이가 일정하지 않음"): 헤더·띠·바닥글 안쪽은 1200 칸, 좌우 20px 이상 */
.riho-site-header__inner, .tc-header-inner, .tc-header > div:first-child, .cb-band .cb-inner, .riho-footer__inner, .riho-footer .cb-footcols, .riho-footer__note, .tc-footer .cb-footcols, .tc-footer-inner, .tc-footer-note { width: min(1200px, calc(100% - 40px)) !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
/* 글·서비스 상세도 같은 1200 칸·같은 시작선(가운데 좁은 칸 → 칸 통일, 왼쪽 정렬) */
.tc-blog-hero, .tc-blog-cover, .tc-blog-summary, .tc-blog-layout, .tc-blog-final-cta, .tc-related > .tc-section-heading, .tc-related > .tc-related-grid { width: min(1200px, calc(100% - 40px)) !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.tc-blog-hero { text-align: left !important; padding-left: 0 !important; padding-right: 0 !important; }
.tc-blog-hero > *, .tc-blog-hero nav, .tc-blog-hero .tc-blog-lead { margin-left: 0 !important; margin-right: auto !important; text-align: left !important; justify-content: flex-start !important; max-width: 920px; }
.tc-blog-hero .tc-blog-byline, .tc-blog-hero .tc-blog-actions { justify-content: flex-start !important; }
.tc-blog-cover { padding-left: 0 !important; padding-right: 0 !important; }
.tc-blog-cover img { width: 100% !important; }
.tc-blog-layout { display: grid !important; grid-template-columns: 240px minmax(0, 1fr) !important; gap: 56px !important; padding-left: 0 !important; padding-right: 0 !important; }
.tc-blog-final-cta { padding-left: 40px !important; padding-right: 40px !important; }
@media (max-width: 1024px) { .tc-blog-layout { grid-template-columns: minmax(0, 1fr) !important; } }
.tc-blog-summary { padding-left: 36px !important; padding-right: 36px !important; }

/* ===== 2026-10-26 THEME-FINISH 본문 공통 타이포그래피(매거진·지역 글·서비스) ===== */
.tc-blog-content { max-width: 820px; font-size: 17.5px; line-height: 1.8; color: #2a2823; word-break: keep-all; }
.tc-blog-content p { margin: 0 0 1.05em; }
.tc-blog-content .tc-blog-section h2 { position: relative; margin: .4em 0 .7em; font-size: clamp(1.45rem, 2.2vw, 1.75rem); line-height: 1.35; letter-spacing: -.03em; }
.tc-blog-content .tc-blog-section h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 4px; background: #f7c413; }
.tc-blog-content .tc-blog-section h2 + p { font-size: 1.04em; color: #111; font-weight: 500; }
.tc-blog-content .tc-blog-section { margin-top: 2.4em; }
.tc-blog-content h3 { margin: 1.8em 0 .55em; font-size: 1.22rem; }
.tc-blog-content ul:not(.tc-checklist) { padding-left: 0; list-style: none; }
.tc-blog-content ul:not(.tc-checklist) > li { position: relative; padding-left: 1.3em; margin: .4em 0; }
.tc-blog-content ul:not(.tc-checklist) > li::before { content: ""; position: absolute; left: .2em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: #f7c413; box-shadow: 0 0 0 2px #111; }
.tc-blog-content ul.tc-checklist { padding: 16px 20px; border-radius: 16px; background: #fffdf3; border-left: 4px solid #f7c413; }
.tc-blog-content blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid #f7c413; border-radius: 0 14px 14px 0; background: #fff8dc; color: #111; }
.tc-blog-content a:not(.tel-btn):not(.tc-button) { color: #7a5a00; text-decoration: underline; text-underline-offset: 3px; }
.tc-blog-content figure img { border-radius: 16px; }
/* FAQ: 질문 앞 Q */
.tc-faq details > summary { position: relative; padding-left: 2.2em !important; }
.tc-faq details > summary::before { content: "Q"; position: absolute; left: .3em; top: 50%; transform: translateY(-50%); width: 1.4em; height: 1.4em; border-radius: 50%; background: #f7c413; color: #111; font-size: .85em; font-weight: 900; display: grid; place-items: center; }
/* 목차: 지금 읽는 제목 강조 */
.tc-blog-toc ol a.is-active, .tc-article-toc ol a.is-active { color: #111 !important; font-weight: 800; box-shadow: inset 3px 0 0 #f7c413; padding-left: 8px; }
/* 글 끝 순서: 관련 글 → 상담 띠 */
.tc-blog-article { display: flex; flex-direction: column; }
.tc-blog-article > .tc-related { order: 2; }
.tc-blog-article > .tc-blog-final-cta { order: 3; margin-bottom: 64px; }
@media (max-width: 820px) { .tc-blog-content { font-size: 17px; } .tc-blog-content .tc-blog-section > p:not(.tc-section-number) { font-size: 1em; } .tc-blog-content .tc-blog-section > h2 + p:not(.tc-section-number) { font-size: 1.04em; } }

/* ===== THEME-FINISH 개별 보완(호랑이, 2026-10-26) ===== */
/* 모바일 관련 글은 1열(2개일 때도) */
@media (max-width: 820px) { .tc-related-grid, .tc-related-grid:has(> article:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) !important; } }
/* 베이지 바탕 위 금색 강조 제목 대비(4.1 → 6 이상) */
.tc-section-paper .tc-heading-focus, .tc-section-paper h2 em, .tc-magazine-hero h1 em, .tc-category-section h2 em, .tc-heading-focus { color: #7a5a00 !important; }
.tc-section-dark .tc-heading-focus, .tc-section-dark h2 em, .tc-hero h1 em { color: #f7c413 !important; }
/* 모바일 표: 세로로 쪼개지지 않게 칸 최소 폭 + 옆으로 넘김(오른쪽 그림자로 표시) */
@media (max-width: 600px) {
  .rg-table-wrap table, .tc-blog-content table { display: block !important; overflow-x: auto; -webkit-overflow-scrolling: touch; table-layout: auto !important; min-width: 0 !important; background: linear-gradient(90deg, #fffdf8 30%, rgba(255,253,248,0)) left / 24px 100% no-repeat local, linear-gradient(270deg, #fffdf8 30%, rgba(255,253,248,0)) right / 24px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), transparent) right / 12px 100% no-repeat scroll, #fffdf8; }
  .rg-table-wrap th, .rg-table-wrap td, .tc-blog-content th, .tc-blog-content td { min-width: 112px; overflow-wrap: normal !important; word-break: keep-all !important; white-space: normal !important; }
  .rg-table-wrap { overflow: visible !important; }
}

/* THEME-FINISH: 단락 첫 문장(요점)을 강조 상자로 — 글 벽 대신 단락마다 상자 하나(문장 그대로) */
.article-v4 .article-content h2 + p, .rg-article .article-content h2 + p { position: relative; margin: 0 0 1.2em; padding: 16px 20px 16px 52px; border-radius: 16px; background: #eef4e2; border-left: 4px solid #9fcf3a; color: #102f27; font-weight: 600; }
.article-v4 .article-content h2 + p::before { content: "요점"; position: absolute; left: 12px; top: 17px; font-size: .68rem; font-weight: 900; color: #2f7a52; writing-mode: horizontal-tb; }
.tc-blog-content .tc-blog-section h2 + p { position: relative; margin: 0 0 1.2em; padding: 16px 20px 16px 52px; border-radius: 16px; background: #fff6d6; border-left: 4px solid #f7c413; color: #111; font-weight: 600; }
.tc-blog-content .tc-blog-section h2 + p::before { content: "요점"; position: absolute; left: 12px; top: 17px; font-size: .68rem; font-weight: 900; color: #7a5a00; }
/* 본문 중간 그림(유형별 실사) */
.mid-fig { margin: 2em 0; }
.mid-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.mid-fig figcaption { margin-top: 8px; font-size: .8rem; color: #6b6a63; }

/* THEME-FINISH 대비·겹침 보완: 작은 회색 글자(캡션·확인일·목차 머리말)를 4.5:1 이상으로 */
figcaption, .tc-blog-cover figcaption, .tc-category-card-media figcaption, .article-thumbnail figcaption, .h2-note, .local-hero figcaption { color: #4f4c45 !important; }
.tc-blog-toc p, .tc-article-toc p { color: #6a5300 !important; }
.tc-blog-toc a, .tc-article-toc a { color: #3e3a33 !important; }
.tc-section-number, .tc-blog-section .tc-section-number { color: #111 !important; }
.article-v4 .article-content ul.rg-sources small, .rg-sources small { display: block; color: #4f625a !important; margin-top: 2px; }
.article-meta, .article-meta span { color: #4f625a !important; }
/* 매거진 카테고리 카드(모바일): 캡션이 번호 칩과 겹치지 않게 칩을 카드 글 영역으로 */
@media (max-width: 820px) { .tc-category-card-media figcaption { padding-right: 0 !important; } .tc-category-grid a > span, .tc-category-grid .tc-category-number { position: static !important; } }
@media (max-width: 820px) { .tc-category-card-copy { margin-top: 0 !important; padding-top: 14px !important; position: relative; z-index: 1; } .tc-category-card-media { margin-bottom: 0 !important; } }
.article-v4 .article-content h2 + p, .tc-blog-content .tc-blog-section h2 + p { font-weight: 500 !important; }
/* 모바일 카테고리 카드: 사진 칸 밖으로 밀려 잘리던 캡션은 숨김(사진 대체글에 연출 표기) */
@media (max-width: 820px) { .tc-category-card-media figcaption { display: none !important; } }
/* 글 상세: 요약 상자와 본문 사이 빈 칸(326px) 줄임 */
.tc-blog-summary { margin-bottom: 40px !important; }
.tc-blog-layout { padding-top: 24px !important; margin-top: 0 !important; }
/* 404 머리말 대비 */
.tc-not-found p, [class*="not-found"] .tc-kicker, .tc-404 .tc-kicker { color: #f7c413 !important; }
/* 카테고리 카드 캡션(어두운 사진 칸 위)은 밝게, 밝은 바탕의 노란 강조는 진하게 */
.tc-category-card-media figcaption { color: #e6e0d3 !important; }
.tc-section-paper em, .tc-magazine-hero em { color: #7a5a00 !important; }
/* 누름 영역 44px(겉모양 그대로): 서비스 카드 제목 링크(카드 전체가 눌리지만 링크 자체도 44px) */
.tc-service-grid .tc-service-link { display: inline-block; padding: 10px 0; margin: -10px 0; }
.tc-editor-picks h2 em, .tc-editor-picks em { color: #7a5a00 !important; }
/* 모바일 4칸 이상 표: 칸 배경에 가려 그림자가 안 보이므로 넘김 안내 한 줄(관리 세션 지적 2026-10-26) */
@media (max-width: 600px) { .tc-blog-content table:has(tr > :nth-child(4))::before, .rg-table-wrap table:has(tr > :nth-child(4))::before { content: "옆으로 밀어 나머지 칸 보기 →"; display: block; position: sticky; left: 0; padding: 8px 12px; font-size: .8rem; font-weight: 700; color: #7a5a00; background: #fffdf8; } }
/* 모바일 읽는 문단 17px 이상(관리 세션 재검수 2026-10-26): 히어로 요약·FAQ 답·단계·카드·상담 문단. 출처·목차·작성자 줄은 제외 */
@media (max-width: 820px) {
  .tc-hero-lede, .tc-hero-points li, .tc-section-heading p, .tc-section-action p, .tc-service-grid article p, .tc-process-copy p,
  .tc-space-card-copy p, .tc-home-faq-list details p, .tc-blog-lead p, .tc-blog-summary li, .tc-faq details p,
  .tc-situation-grid p, .tc-mini-grid p, .tc-category-hero-copy p, .tc-not-found-copy p { font-size: 17px !important; line-height: 1.7; }
}
@media (max-width: 820px) {
  .tc-hero-points li span, .tc-publishing-standard li p, .tc-blog-summary blockquote, .tc-blog-final-cta div span { font-size: 17px !important; line-height: 1.65; }
}
@media (max-width: 820px) { .tc-hero-points li strong { font-size: 16px !important; } }
/* 모바일 카드 글 제목 16px 이상(관리 세션 2026-10-26) */
@media (max-width: 820px) { .tc-library-card strong, .tc-article-card .tc-card-body strong, .tc-category-card-copy h3, .tc-related-grid article strong, .tc-related-grid article h3 { font-size: 16px !important; line-height: 1.4; } }
/* 어두운 첫 화면의 강조 제목은 노랑(어두운 금색 규칙이 검은 바탕까지 덮던 것 보정) */
section.tc-section-dark h1 em, section.tc-section-dark h2 em, section.tc-section-dark .tc-heading-focus, header.tc-section-dark h1 em { color: #f7c413 !important; }
/* 모바일 버튼 글자 16px(전화 버튼은 안쪽 문구 크기를 따로 가짐) */
@media (max-width: 820px) { a.tc-button:not(.tel-btn) { font-size: 16px !important; } }
/* 홈 맨 아래 상담 상자: vw 기준 여백이라 스크롤바만큼 공통 칸(1200)보다 좁던 것 → 같은 칸으로(넓이 통일 2026-10-26) */
@media (min-width: 821px) { .tc-home .tc-consult { padding-inline: max(20px, calc((100% - 1200px) / 2)) !important; } }
/* 공통 칸 통일(1280 등 좁은 데스크톱): 양옆 여백을 3.5vw 대신 (100% - 1200)/2, 안쪽 틀은 그 칸을 그대로 채움 */
@media (min-width: 821px) {
  .tc-header, .tc-footer, .tc-home main > section { padding-inline: max(20px, calc((100% - 1200px) / 2)) !important; }
  .tc-header-inner, .tc-footer-inner, .tc-footer .cb-footcols, .tc-footer-note { margin-inline: 0 !important; width: auto !important; max-width: none !important; }
  .tc-home main > section > * { max-width: none !important; }
}
@media (min-width: 821px) { body header.tc-header > .tc-header-inner { margin-inline: 0 !important; width: auto !important; max-width: none !important; } }
/* 내부 쪽 전체 폭 구간: 100vw 기준 여백(스크롤바만큼 7.5px 어긋남·좁은 폭에서 4vw) → 공통 칸 공식으로 */
@media (min-width: 821px) {
  .tc-article-hero, .tc-blog-final-cta, .tc-category-hero, .tc-category-tabs, .tc-consult, .tc-guide-cta, .tc-guide-hero,
  .tc-magazine-cta, .tc-publishing-standard, .rg-hub, .tc-category-page .tc-category-hero, .tc-magazine-hero, .tc-prepare { padding-left: max(20px, calc((100% - 1200px) / 2)) !important; padding-right: max(20px, calc((100% - 1200px) / 2)) !important; }
}
@media (min-width: 821px) {
  body main > section, body main > article > section, body main > article > header { padding-left: max(20px, calc((100% - 1200px) / 2)) !important; padding-right: max(20px, calc((100% - 1200px) / 2)) !important; }
  .tc-related > *, .tc-publishing-standard > * { margin-inline: auto !important; width: auto !important; max-width: none !important; }
}
@media (min-width: 821px) {
  .tc-related > .tc-section-heading, .tc-related > .tc-related-grid { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
  .tc-publishing-standard { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; justify-content: stretch !important; }
  .tc-publishing-standard > * { margin: 0 !important; }
}
/* 휴대폰 머리글 안쪽: 머리글 여백(20)과 안쪽 틀 여백(20)이 겹쳐 본문 칸보다 좁던 것 → 본문 칸(20~370)과 같게 */
@media (max-width: 820px) { body header.tc-header > .tc-header-inner { margin-inline: 0 !important; width: auto !important; max-width: none !important; } }
/* 교차 검수(10-26) 수정 */
/* 글 끝 상담 띠: 1200px 상자 + 100% 기준 여백이 겹쳐 1920에서 제목 칸 185px → 넓은 화면은 전체 폭 띠 + 공통 칸 여백 */
@media (min-width: 821px) { .tc-blog-final-cta { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; } }
/* 글 쪽 요약·인용·FAQ 질문·상단 띠 안내 17px */
.tc-blog-summary li, .tc-blog-summary blockquote, .tc-faq summary, .cb-band .cb-msg, .cb-band .cb-msg span { font-size: 17px !important; }
/* 사장님 지시(10-26): 빈 띠·바닥글 전화 칸·보조 버튼 1종 */
.tc-blog-article > .tc-blog-final-cta { margin-bottom: 0 !important; }
.cb-footcall:has(> a.tv-hide) { visibility: hidden; }
.tc-section-signal > div > a:not(.tel-btn), .tc-section-signal a.tc-button:not(.tel-btn):not(.tc-button-signal) {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 0 24px !important;
  border: 2px solid #090909 !important; border-radius: 14px !important; background: transparent !important; color: #090909 !important;
  font-size: 16px !important; font-weight: 900; text-decoration: none; box-shadow: none !important; }
.tc-section-signal > div > a:not(.tel-btn):hover, .tc-section-signal > div > a:not(.tel-btn):focus-visible { background: #090909 !important; color: #F7C413 !important; }
.tc-section-signal > div:last-child { border-top: 1px solid rgba(9, 9, 9, .22) !important; }
.tc-button-ghost, a.tc-button.tc-button-outline-light { border-width: 2px !important; border-radius: 14px !important; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; }
/* 휴대폰 노란 띠 버튼 폭 통일(10-26) */
@media (max-width: 600px) { .tc-section-signal > div:last-child > a { width: 100% !important; box-sizing: border-box; } }
/* 상담 배너 v1: imagegen 배경(10-27 사장님) */
.tc-section-signal.tc-magazine-cta, .tc-section-signal.tc-guide-cta {
  position: relative; overflow: hidden; box-sizing: border-box; border-radius: 24px !important;
  width: min(1200px, calc(100% - 48px)); margin: 64px auto 96px !important; padding: 80px 56px !important; display: block !important;
  background: linear-gradient(90deg, #F7C413 0%, #F7C413 46%, rgba(247,196,19,.86) 56%, rgba(247,196,19,.25) 70%, rgba(247,196,19,0) 82%),
              #111 url(/assets/scene/tiger-band-v1-1600.webp) right center / cover no-repeat !important; }
.tc-section-signal.tc-magazine-cta > *, .tc-section-signal.tc-guide-cta > * { max-width: 680px; margin-left: 0 !important; margin-right: 0 !important; }
.tc-section-signal.tc-magazine-cta > div:last-child, .tc-section-signal.tc-guide-cta > div:last-child {
  justify-content: flex-start !important; margin-top: 28px; padding-top: 0 !important; border-top: 0 !important; }
.tc-section-signal.tc-magazine-cta a.tel-btn, .tc-section-signal.tc-guide-cta a.tel-btn { min-height: 76px; padding: 14px 34px !important; }
@media (max-width: 820px) {
  .tc-section-signal.tc-magazine-cta, .tc-section-signal.tc-guide-cta {
    width: calc(100% - 32px); margin: 48px auto 64px !important; padding: 48px 24px calc((100vw - 32px) * .76 + 8px) !important;
    background: linear-gradient(180deg, #F7C413 0%, #F7C413 56%, rgba(247,196,19,.45) 64%, rgba(247,196,19,0) 74%),
                #111 url(/assets/scene/tiger-band-v1-m-820.webp) center bottom / 100% auto no-repeat !important; }
  .tc-section-signal.tc-magazine-cta > div:last-child > a, .tc-section-signal.tc-guide-cta > div:last-child > a { width: 100% !important; box-sizing: border-box; }
}
/* 분류 쪽 좁은 폭 첫 화면(10-27) */
@media (max-width: 380px) {
  .tc-category-hero.tc-hero-x--scene > .scene-bg { height: 50vw !important; }
  .tc-category-hero.tc-hero-x--scene .tc-category-hero-icon { display: none !important; }
}
