/* 론나침반 시안(solution001)의 CSS 입니다. reset.css · common.css · main.css · sub.css 를 이 순서로 그대로 이어 붙였고, 맨 아래 「그누보드 연결부」 만 이 테마에서 더했습니다. */

/* reset.css — 최소 리셋입니다. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
img,svg,video,iframe{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse;width:100%}
address{font-style:normal}

/* ==========================================================================
   common.css · 모든 페이지에 쓰는 글꼴 · 색 · 상단 띠 · 헤더(1차별 드롭다운) · 드로어 · 날개 · 업체 카드 · 서브 화면 · 폼 · 표 · 푸터입니다.
   색은 :root 변수만 바꾸면 사이트 전체에 반영됩니다. 주색은 짙은 남색, 강조색은 겨자색 하나입니다.
   ========================================================================== */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-navy: #16365f;        /* 주색 : 메뉴 띠 · 버튼 · 제목 강조 */
  --tpl-navy-d: #0f2645;      /* 푸터 · 버튼 hover */
  --tpl-mustard: #e8b10e;     /* 강조 : 프리미엄 표시 · hover 선 (글자는 남색으로 얹습니다) */
  --tpl-mustard-l: #fdf4d8;   /* 프리미엄 옅은 면 */
  --tpl-red: #b3261e;         /* 주의 문구 */
  --tpl-ink: #1a1e24;
  --tpl-sub: #4a525d;
  --tpl-mute: #616a75;
  --tpl-line: #dde2e8;
  --tpl-bg2: #f3f5f8;
  --tpl-wrap: 1200px;
  --tpl-gut: 20px;
  --tpl-radius: 6px;
}

[hidden] { display: none !important; }
html { background: #fff; }
body { font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 17px; line-height: 1.6; color: var(--tpl-ink); background: #fff; word-break: keep-all; overflow-wrap: break-word; }
.tpl-wrap { max-width: calc(var(--tpl-wrap) + var(--tpl-gut) * 2); margin: 0 auto; padding: 0 var(--tpl-gut); }
.tpl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
:focus-visible { outline: 3px solid var(--tpl-mustard); outline-offset: 2px; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--tpl-navy); color: #fff; padding: 10px 16px; }
.tpl-skip:focus { top: 12px; }

/* ===== 버튼 ===== */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; background: var(--tpl-navy); color: #fff; font-weight: 600; font-size: 16px; border: 1px solid var(--tpl-navy); border-radius: 4px; transition: background .2s, color .2s; white-space: nowrap; }
.tpl-btn:hover { background: var(--tpl-navy-d); }
.tpl-btn--line { background: #fff; color: var(--tpl-navy); }
.tpl-btn--line:hover { background: var(--tpl-bg2); }
.tpl-btn--yellow { background: var(--tpl-mustard); border-color: var(--tpl-mustard); color: var(--tpl-navy-d); }
.tpl-btn--yellow:hover { background: #d9a409; }
.tpl-btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ===== 상단 띠 ===== */
.tpl-topbar { background: var(--tpl-bg2); border-bottom: 1px solid var(--tpl-line); font-size: 14px; color: var(--tpl-sub); }
.tpl-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tpl-regchk { display: flex; align-items: center; gap: 8px; }
.tpl-regchk label { font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-topbar .tpl-regchk input { width: 210px; height: 28px; padding: 0 8px; border: 1px solid var(--tpl-line); border-radius: 3px; background: #fff; font-size: 14px; }
.tpl-regchk button { height: 28px; padding: 0 10px; background: var(--tpl-ink); color: #fff; border-radius: 3px; font-size: 13px; }
.tpl-topbar__links { display: flex; gap: 18px; }
.tpl-topbar__links a:hover { color: var(--tpl-navy); text-decoration: underline; }

/* ===== 헤더 ===== */
.tpl-header { position: relative; z-index: 100; background: #fff; }
.tpl-header__in { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.tpl-logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--tpl-ink); }
.tpl-logo svg { width: 38px; height: 38px; }
.tpl-logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.tpl-logo__name { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--tpl-navy); }
.tpl-logo__sub { font-size: 12px; color: var(--tpl-mute); letter-spacing: 0.02em; }
.tpl-search { display: flex; flex: 1 1 auto; max-width: 470px; height: 48px; border: 2px solid var(--tpl-navy); border-radius: 4px; overflow: hidden; }
.tpl-search select { flex: none; width: 96px; border: 0; border-right: 1px solid var(--tpl-line); padding: 0 10px; background: #fff; font-size: 15px; }
.tpl-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 12px; font-size: 16px; }
.tpl-search input:focus-visible, .tpl-search select:focus-visible { outline-offset: -3px; }
.tpl-search button { flex: none; width: 52px; display: grid; place-items: center; background: var(--tpl-navy); color: #fff; }
.tpl-hicons { display: flex; margin-left: auto; }
.tpl-hicons > li { position: relative; }
.tpl-hicons a, .tpl-hicons button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 12px; font-size: 13px; color: var(--tpl-sub); white-space: nowrap; }
.tpl-hicons a:hover, .tpl-hicons button:hover { color: var(--tpl-navy); }
.tpl-hicons .tpl-ico { width: 26px; height: 26px; color: var(--tpl-navy); }
.tpl-recent { position: absolute; right: 0; top: calc(100% + 6px); width: 280px; background: #fff; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); box-shadow: 0 8px 20px rgba(15, 38, 69, .12); padding: 14px 16px; z-index: 120; }
.tpl-recent__h { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tpl-recent__list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--tpl-line); font-size: 14px; }
.tpl-recent__list a span { color: var(--tpl-mute); }
.tpl-recent__empty { font-size: 14px; color: var(--tpl-mute); }
.tpl-menu-btn { display: none; width: 46px; height: 46px; place-items: center; color: var(--tpl-navy); margin-left: auto; }
.tpl-menu-btn .tpl-ico { width: 28px; height: 28px; }

/* ===== 1차 메뉴 · 1차별 드롭다운(B 형식) ===== */
.tpl-gnb { background: var(--tpl-navy); }
.tpl-gnb__list { position: relative; display: flex; justify-content: space-between; }
.tpl-gnb__item { position: relative; padding: 0 8px; }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 56px; color: #fff; font-size: 17px; font-weight: 600; white-space: nowrap; }
.tpl-gnb__item--b .tpl-gnb__link { color: #d6dfeb; font-weight: 500; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tpl-mustard); transform: scaleX(0); transition: transform .25s; }
.tpl-gnb__link[aria-current]::after,
.tpl-gnb__item:hover > .tpl-gnb__link::after,
.tpl-gnb__item:focus-within > .tpl-gnb__link::after { transform: scaleX(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__sep { position: absolute; top: 19px; width: 1px; height: 18px; background: rgba(255, 255, 255, .35); pointer-events: none; }
.tpl-gnb__sub { position: absolute; left: 50%; top: 100%; min-width: 100%; transform: translateX(-50%); background: #fff; border: 1px solid var(--tpl-line); border-top: 0; padding: 20px 22px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .28s ease, visibility 0s linear .28s; }
.tpl-gnb__item:hover > .tpl-gnb__sub, .tpl-gnb__item:focus-within > .tpl-gnb__sub { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .28s ease, visibility 0s; }
.tpl-gnb__sub a { display: block; padding: 6px 0; font-size: 16px; color: var(--tpl-sub); white-space: nowrap; text-align: center; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }

/* ===== 모바일 드로어 ===== */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; }
.tpl-drawer[hidden] { display: none; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(10, 20, 35, .55); }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; padding: 18px 20px 40px; }
.tpl-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tpl-drawer__close { width: 44px; height: 44px; display: grid; place-items: center; }
.tpl-drawer__member { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.tpl-drawer__list > li { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__1 { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 2px; font-size: 17px; font-weight: 600; text-align: left; }
.tpl-drawer__1 .tpl-ico { transition: transform .2s; }
.tpl-drawer__1[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); }
.tpl-drawer__2 { padding: 0 0 12px 10px; }
.tpl-drawer__2 a { display: block; padding: 7px 0; color: var(--tpl-sub); font-size: 16px; }
.tpl-drawer__util { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.tpl-drawer__util a { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--tpl-line); border-radius: 4px; font-size: 15px; }
.tpl-drawer__recent { margin-top: 16px; }

/* ===== 업체 카드 ===== */
.tpl-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tpl-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); background: #fff; overflow: hidden; transition: border-color .2s; }
.tpl-card:hover, .tpl-card:focus-within { border-color: var(--tpl-navy); }
.tpl-card--premium { border-top: 3px solid var(--tpl-mustard); }
.tpl-card__ph { position: relative; aspect-ratio: 4 / 3; background: var(--tpl-bg2); overflow: hidden; }
.tpl-card__ph img { width: 100%; height: 100%; object-fit: cover; }
.tpl-card__ad { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; background: rgba(15, 38, 69, .86); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-card__badge { position: absolute; left: 10px; top: 10px; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; background: #fff; color: var(--tpl-sub); border: 1px solid var(--tpl-line); }
.tpl-card--premium .tpl-card__badge { background: var(--tpl-mustard); border-color: var(--tpl-mustard); color: var(--tpl-navy-d); }
.tpl-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; flex: 1 1 auto; }
.tpl-card__desc { font-size: 14px; color: var(--tpl-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.tpl-card__tel { display: flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 700; color: var(--tpl-navy); white-space: nowrap; margin-top: auto; }
.tpl-card__tel .tpl-ico { width: 18px; height: 18px; }
.tpl-card__meta { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--tpl-mute); }
.tpl-card__name { font-weight: 600; color: var(--tpl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-card__name a::before { content: ''; position: absolute; inset: 0; }
.tpl-card__region { white-space: nowrap; }
@media (max-width: 1024px) { .tpl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tpl-card__ad { font-size: 14px; } .tpl-card__tel { font-size: 15px; } }

/* ===== 공통 섹션 머리 ===== */
.tpl-sec { padding: 56px 0; }
.tpl-sech { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tpl-sech__t { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.tpl-sech__t em { font-style: normal; color: var(--tpl-navy); }
.tpl-sech__d { font-size: 15px; color: var(--tpl-sub); margin-top: 4px; }
.tpl-more { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--tpl-sub); white-space: nowrap; }
.tpl-more:hover { color: var(--tpl-navy); }
.tpl-more .tpl-ico { width: 16px; height: 16px; }

/* ===== 칩 ===== */
.tpl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fff; font-size: 15px; white-space: nowrap; color: var(--tpl-ink); }
.tpl-chip b { font-weight: 500; font-size: 13px; color: var(--tpl-mute); }
.tpl-chip:hover, .tpl-chip[aria-pressed="true"], .tpl-chip[aria-current] { border-color: var(--tpl-navy); color: var(--tpl-navy); background: #eef2f8; }

/* ===== 표 ===== */
.tpl-table-wrap { overflow-x: auto; }
.tpl-table { min-width: 640px; font-size: 15px; }
.tpl-table th, .tpl-table td { padding: 12px 10px; border-bottom: 1px solid var(--tpl-line); text-align: center; white-space: nowrap; }
.tpl-table thead th { background: var(--tpl-bg2); font-weight: 600; border-top: 2px solid var(--tpl-navy); }
.tpl-table td.tpl-l { text-align: left; }

/* ===== 서브 비주얼 · 위치 표시 · 2차 탭 ===== */
.tpl-svisual { position: relative; height: 380px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.tpl-svisual__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-svisual::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(12, 28, 50, .72); }
.tpl-svisual__in { position: relative; z-index: 2; width: 100%; }
.tpl-svisual__en { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: var(--tpl-mustard); }
.tpl-svisual__title { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; margin: 8px 0 10px; }
.tpl-svisual__desc { font-size: 17px; color: #e3e9f1; }
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.tpl-snb__path { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-snb__path li { display: flex; align-items: center; }
.tpl-snb__path li + li::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 10px; }
.tpl-snb__path .tpl-ico { width: 18px; height: 18px; }
.tpl-snb__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs::-webkit-scrollbar { display: none; }
.tpl-snb__tabs a { position: relative; display: block; padding: 18px 14px; font-size: 16px; font-weight: 500; white-space: nowrap; color: var(--tpl-sub); }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--tpl-navy); transform: scaleX(0); transition: transform .2s; }
.tpl-snb__tabs a[aria-current] { color: var(--tpl-navy); font-weight: 700; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) {
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}
.tpl-sb { padding: 56px 0 80px; }
.tpl-sb__h { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.tpl-sb__lead { color: var(--tpl-sub); margin-bottom: 24px; }

/* ===== 폼 ===== */
.tpl-fld { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-fld__label { font-weight: 600; font-size: 16px; }
.tpl-fld__label b { color: var(--tpl-red); }
.tpl-fld__ctrl { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.tpl-fld__help { width: 100%; font-size: 14px; color: var(--tpl-mute); }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="date"], select, textarea { height: 46px; padding: 0 12px; border: 1px solid #c4ccd6; border-radius: 4px; background: #fff; font-size: 16px; max-width: 100%; }
textarea { height: auto; min-height: 140px; padding: 12px; width: 100%; resize: vertical; }
.tpl-fld__ctrl input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .tpl-fld__ctrl select { width: 360px; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; accent-color: var(--tpl-navy); }
.tpl-form-btns { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.tpl-note { margin-top: 18px; padding: 14px 16px; background: var(--tpl-bg2); border-left: 3px solid var(--tpl-navy); font-size: 15px; color: var(--tpl-sub); }
.tpl-note--warn { border-left-color: var(--tpl-red); }
.tpl-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-file input[type="file"] { font-size: 15px; max-width: 100%; }

/* 회원 상자 */
.tpl-mbox { max-width: 460px; margin: 0 auto; padding: 36px 32px; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); }
.tpl-mbox__title { font-size: 24px; font-weight: 700; text-align: center; }
.tpl-mbox__desc { text-align: center; color: var(--tpl-sub); font-size: 15px; margin: 6px 0 20px; }
.tpl-mbox__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border: 1px solid var(--tpl-line); border-radius: 4px; overflow: hidden; }
.tpl-mbox__tabs button { padding: 10px; font-size: 15px; color: var(--tpl-sub); }
.tpl-mbox__tabs button[aria-selected="true"] { background: var(--tpl-navy); color: #fff; font-weight: 600; }
.tpl-mbox__form { display: grid; gap: 10px; }
.tpl-mbox__form input[type="text"], .tpl-mbox__form input[type="password"] { width: 100%; }
.tpl-mbox__btn { width: 100%; margin-top: 6px; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: 14px; color: var(--tpl-sub); }
.tpl-steps { display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; }
.tpl-steps li { flex: 1 1 0; padding: 12px; border: 1px solid var(--tpl-line); border-radius: 4px; text-align: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-steps li b { display: block; font-size: 13px; }
.tpl-steps li[aria-current] { border-color: var(--tpl-navy); color: var(--tpl-navy); font-weight: 600; background: #eef2f8; }
.tpl-agree__box { height: 130px; overflow-y: auto; padding: 12px 14px; border: 1px solid var(--tpl-line); background: var(--tpl-bg2); font-size: 14px; color: var(--tpl-sub); margin: 8px 0; }
.tpl-agree__box p + p { margin-top: 6px; }
.tpl-join__h { font-size: 20px; font-weight: 700; margin: 26px 0 8px; }
.tpl-join__terms > div + div { margin-top: 18px; }
.tpl-join__terms h3 { font-size: 16px; }
.tpl-join__terms h3 b { color: var(--tpl-red); font-weight: 600; }

/* 정책 문서 */
.tpl-doc { max-width: 900px; }
.tpl-doc h2 { font-size: 20px; font-weight: 700; margin: 30px 0 8px; }
.tpl-doc p, .tpl-doc li { color: var(--tpl-sub); }
.tpl-doc ol { list-style: decimal; padding-left: 22px; }

/* 게시판 */
.tpl-board { border-top: 2px solid var(--tpl-navy); }
.tpl-board li { display: grid; grid-template-columns: 70px 1fr 110px 110px; gap: 10px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-board li > span { font-size: 14px; color: var(--tpl-mute); text-align: center; white-space: nowrap; }
.tpl-board a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-board a:hover { text-decoration: underline; }
.tpl-board .tpl-tag { display: inline-block; padding: 1px 7px; margin-right: 6px; border-radius: 3px; background: var(--tpl-navy); color: #fff; font-size: 12px; vertical-align: 2px; }
.tpl-board-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tpl-board-tools form { display: flex; gap: 6px; }
.tpl-board-tools input { width: 220px; }
.tpl-pager { display: flex; justify-content: center; gap: 4px; margin-top: 30px; flex-wrap: wrap; }
.tpl-pager a, .tpl-pager button { min-width: 38px; height: 38px; padding: 0 8px; display: grid; place-items: center; border: 1px solid var(--tpl-line); border-radius: 4px; font-size: 15px; background: #fff; }
.tpl-pager [aria-current] { background: var(--tpl-navy); border-color: var(--tpl-navy); color: #fff; font-weight: 600; }
.tpl-pager button:disabled { color: #aab2bc; cursor: default; }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq summary { display: flex; gap: 12px; padding: 18px 6px; font-weight: 600; cursor: pointer; list-style: none; }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary b { color: var(--tpl-navy); }
.tpl-faq summary::after { content: '+'; margin-left: auto; font-size: 22px; line-height: 1; color: var(--tpl-mute); transition: transform .2s; }
.tpl-faq details[open] summary::after { transform: rotate(45deg); }
.tpl-faq details > div { padding: 0 6px 20px 30px; color: var(--tpl-sub); }

/* ===== 날개(이자 계산기 · 최근 등록 업체) : 넓은 화면은 본문 양옆에 붙고, 좁은 화면은 본문 안 두 칸으로 들어갑니다 ===== */
.tpl-wings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tpl-wing { border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); background: #fff; padding: 16px; }
.tpl-wing__h { font-size: 16px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--tpl-navy); margin-bottom: 10px; }
.tpl-wing label { display: block; font-size: 13px; color: var(--tpl-sub); margin-top: 8px; }
.tpl-wing input, .tpl-wing select { width: 100%; height: 38px; font-size: 15px; }
.tpl-wing__out { margin-top: 10px; padding: 10px; background: var(--tpl-bg2); border-radius: 4px; font-size: 14px; }
.tpl-wing__out b { display: block; font-size: 18px; color: var(--tpl-navy); }
.tpl-wing__list a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--tpl-line); font-size: 14px; }
.tpl-wing__list a span { display: block; font-size: 12px; color: var(--tpl-mute); }
.tpl-wing__list a:hover { color: var(--tpl-navy); }
.tpl-wing .tpl-btn { width: 100%; margin-top: 10px; }
@media (min-width: 1720px) {
  .tpl-wings { display: block; }
  .tpl-wing { position: fixed; top: 190px; width: 170px; z-index: 50; padding: 14px; }
  .tpl-wing--l { right: calc(50% + 620px); }
  .tpl-wing--r { left: calc(50% + 620px); }
}

/* ===== 푸터 ===== */
.tpl-footer { background: var(--tpl-navy-d); color: #c9d3e0; font-size: 14px; padding: 40px 0 46px; }
.tpl-footer__warn { border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--tpl-radius); padding: 16px 20px; margin-bottom: 26px; }
.tpl-footer__warn h2 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.tpl-footer__warn ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.tpl-footer__warn li { padding-left: 12px; position: relative; color: #e6ecf3; }
.tpl-footer__warn li::before { content: ''; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; background: var(--tpl-mustard); }
.tpl-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.tpl-footer .tpl-logo__name { color: #fff; }
.tpl-footer .tpl-logo__sub { color: #b8c4d3; }
.tpl-footer .tpl-logo { color: #fff; }
.tpl-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tpl-footer__links a:hover { color: #fff; text-decoration: underline; }
.tpl-footer__links .tpl-strong { color: #fff; font-weight: 600; }
.tpl-footer__body { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 20px; }
.tpl-footer__cs b { display: block; font-size: 26px; color: #fff; letter-spacing: -0.01em; }
.tpl-footer address p { line-height: 1.8; }
.tpl-footer__copy { margin-top: 14px; color: #9fb0c4; }

/* ===== 스크롤 등장 ===== */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== 폭별 ===== */
@media (max-width: 1200px) {
  .tpl-hicons a, .tpl-hicons button { padding: 6px 8px; }
  .tpl-header__in { gap: 24px; }
}
@media (max-width: 1024px) {
  .tpl-gnb, .tpl-hicons, .tpl-regchk { display: none; }
  .tpl-topbar__in { justify-content: flex-end; }
  .tpl-menu-btn { display: grid; }
  .tpl-header__in { flex-wrap: wrap; gap: 10px 16px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .tpl-search { order: 3; flex: 1 1 100%; max-width: none; height: 46px; }
  .tpl-header { border-bottom: 1px solid var(--tpl-line); }
  .tpl-footer__warn ul { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .tpl-sec { padding: 40px 0; }
  .tpl-sech__t { font-size: 23px; }
  .tpl-logo__name { font-size: 23px; }
  .tpl-logo svg { width: 32px; height: 32px; }
  .tpl-svisual { height: 300px; }
  .tpl-svisual__title { font-size: 32px; }
  .tpl-svisual__desc { font-size: 16px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; }
  .tpl-snb__path { padding-top: 12px; }
  .tpl-fld { grid-template-columns: 1fr; gap: 6px; }
  .tpl-fld__ctrl input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .tpl-fld__ctrl select { width: 100%; }
  .tpl-board li { grid-template-columns: 1fr auto; padding: 12px 2px; }
  .tpl-board li > span:first-child, .tpl-board li > span:nth-child(3) { display: none; }
  .tpl-wings { grid-template-columns: 1fr; }
  .tpl-mbox { padding: 28px 18px; }
  .tpl-board-tools input { width: 150px; }
  .tpl-steps li { flex: 0 0 auto; white-space: nowrap; padding: 10px 12px; }
}

/* ==========================================================================
   main.css · 메인 화면 전용입니다. 비주얼 띠 · 찾기 패널 · 퀵메뉴 · 업체 격자 · 인기 띠 · 등록현황 · 주의 띠 · 최신글 · 고객센터.
   ========================================================================== */

/* ===== 메인 비주얼 띠 ===== */
.tpl-visual { position: relative; height: 470px; overflow: hidden; background: var(--tpl-navy-d); color: #fff; }
.tpl-visual__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.tpl-visual__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.tpl-visual__slide::after { content: ''; position: absolute; inset: 0; background: rgba(12, 28, 50, .66); }
.tpl-visual__slide.is-prev { opacity: 1; visibility: visible; z-index: 1; }
.tpl-visual__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .9s ease; }
.tpl-visual__slide.is-active img { transform: scale(1); transition: transform 7s linear; }
.tpl-visual__slide.is-enter { opacity: 0; }
.tpl-visual__in { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 70px; }
.tpl-visual__txt { max-width: 600px; }
.tpl-visual__txt > * { opacity: 0; transform: translateY(16px); }
.tpl-visual.is-show .tpl-visual__txt > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.tpl-visual.is-show .tpl-visual__txt > :nth-child(2) { transition-delay: .15s; }
.tpl-visual.is-show .tpl-visual__txt > :nth-child(3) { transition-delay: .3s; }
.tpl-visual.is-show .tpl-visual__txt > :nth-child(4) { transition-delay: .45s; }
.tpl-visual__label { display: inline-block; padding: 3px 10px; background: var(--tpl-mustard); color: var(--tpl-navy-d); font-size: 14px; font-weight: 700; border-radius: 3px; }
.tpl-visual__title { font-size: 42px; font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; margin: 14px 0 12px; }
.tpl-visual__desc { font-size: 18px; color: #e2e8f0; }
.tpl-visual__btns { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.tpl-visual__btns .tpl-btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.tpl-visual__btns .tpl-btn--line:hover { background: rgba(255, 255, 255, .12); }
.tpl-count { flex: none; display: grid; gap: 1px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--tpl-radius); overflow: hidden; }
.tpl-count div { background: rgba(10, 24, 44, .78); padding: 14px 24px; min-width: 230px; }
.tpl-count dt { font-size: 14px; color: #c9d4e2; }
.tpl-count dd { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.tpl-count dd small { font-size: 15px; font-weight: 500; margin-left: 3px; }
.tpl-visual__arrow { position: absolute; top: calc(50% - 35px); z-index: 4; width: 52px; height: 52px; transform: translateY(-50%); display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; background: rgba(10, 24, 44, .35); }
.tpl-visual__arrow:hover { background: rgba(10, 24, 44, .7); }
.tpl-visual__arrow .tpl-ico { width: 28px; height: 28px; }
.tpl-visual__arrow--prev { left: 20px; }
.tpl-visual__arrow--next { right: 20px; }
.tpl-visual__ctrl { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 4; }
.tpl-visual__ctrl .tpl-wrap { display: flex; align-items: center; gap: 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.tpl-visual__bar { position: relative; width: 140px; height: 2px; background: rgba(255, 255, 255, .35); }
.tpl-visual__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--tpl-mustard); transform-origin: left; transform: scaleX(0); }
.tpl-visual__pause { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; }
.tpl-visual__pause .tpl-ico { width: 16px; height: 16px; }

/* ===== 찾기 패널(비주얼 위에 겹침) ===== */
.tpl-finder { position: relative; z-index: 5; margin-top: -70px; }
.tpl-finder__box { display: grid; grid-template-columns: 270px 1fr 300px; background: #fff; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); box-shadow: 0 6px 18px rgba(15, 38, 69, .1); }
.tpl-finder__col { padding: 22px 22px 24px; }
.tpl-finder__col + .tpl-finder__col { border-left: 1px solid var(--tpl-line); }
.tpl-finder__h { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.tpl-finder__h .tpl-more { font-size: 14px; font-weight: 400; }
.tpl-finder .tpl-chips--region { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tpl-finder .tpl-chips--region .tpl-chip { justify-content: center; padding: 0 6px; }
.tpl-finder .tpl-chips--prod { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tpl-finder .tpl-chips--prod .tpl-chip { justify-content: space-between; }
.tpl-pbanner { position: relative; display: block; border-radius: 4px; overflow: hidden; background: var(--tpl-navy); color: #fff; }
.tpl-pbanner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tpl-pbanner__txt { display: block; padding: 12px 14px 14px; }
.tpl-pbanner__badge { display: inline-block; padding: 1px 7px; background: var(--tpl-mustard); color: var(--tpl-navy-d); font-size: 12px; font-weight: 700; border-radius: 3px; }
.tpl-pbanner__t { display: block; font-size: 16px; font-weight: 600; margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-pbanner__tel { font-size: 17px; font-weight: 700; color: var(--tpl-mustard); }
.tpl-pbanner__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.tpl-pbanner__dots button { width: 24px; height: 24px; display: grid; place-items: center; }
.tpl-pbanner__dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c4ccd6; }
.tpl-pbanner__dots button[aria-current]::before { background: var(--tpl-navy); }

/* ===== 바로가기 퀵메뉴 ===== */
.tpl-quick { padding: 30px 0 0; }
.tpl-quick ul { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); }
.tpl-quick li + li { border-left: 1px solid var(--tpl-line); }
.tpl-quick a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.tpl-quick a:hover strong { color: var(--tpl-navy); text-decoration: underline; }
.tpl-quick .tpl-ico { width: 34px; height: 34px; color: var(--tpl-navy); stroke-width: 1.5; }
.tpl-quick strong { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; }
.tpl-quick span { display: block; font-size: 13px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-wings-sec { padding-top: 30px; }

/* ===== 업체 격자 ===== */
.tpl-grid-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== 지역별 · 상품별 인기 띠 ===== */
.tpl-popular { background: var(--tpl-bg2); }
.tpl-popular__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tpl-rank { background: #fff; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); padding: 22px 24px; }
.tpl-rank__h { display: flex; justify-content: space-between; align-items: baseline; font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.tpl-rank__h small { font-size: 13px; font-weight: 400; color: var(--tpl-mute); }
.tpl-rank ol li a { display: grid; grid-template-columns: 30px 120px 1fr 70px; align-items: center; gap: 10px; padding: 8px 0; font-size: 16px; }
.tpl-rank ol li a:hover .tpl-rank__name { color: var(--tpl-navy); text-decoration: underline; }
.tpl-rank__no { font-weight: 700; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-rank li:first-child .tpl-rank__no { color: var(--tpl-navy-d); background: var(--tpl-mustard); text-align: center; border-radius: 3px; }
.tpl-rank__name { white-space: nowrap; }
.tpl-rank__bar { height: 8px; background: #e6eaef; border-radius: 2px; overflow: hidden; }
.tpl-rank__bar i { display: block; height: 100%; background: var(--tpl-navy); }
.tpl-rank__n { text-align: right; font-size: 14px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ===== 전국 등록현황 · 오늘의 추천업체 ===== */
.tpl-status__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; }
.tpl-status__total { display: flex; gap: 22px; padding: 14px 0 12px; border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); margin-bottom: 8px; font-size: 15px; color: var(--tpl-sub); }
.tpl-status__total b { font-size: 22px; color: var(--tpl-navy); margin-left: 4px; }
.tpl-status__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.tpl-status__grid a { display: grid; grid-template-columns: 44px 1fr 34px; align-items: center; gap: 8px; padding: 7px 0; font-size: 15px; border-bottom: 1px dashed var(--tpl-line); }
.tpl-status__grid a:hover span:first-child { color: var(--tpl-navy); font-weight: 700; }
.tpl-status__grid i { display: block; height: 6px; background: var(--tpl-navy); border-radius: 2px; min-width: 4px; }
.tpl-status__grid b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tpl-today .tpl-table td a { color: var(--tpl-navy); font-weight: 600; }
.tpl-today .tpl-table td a:hover { text-decoration: underline; }

/* ===== 주의 띠 ===== */
.tpl-caution { background: var(--tpl-navy); color: #fff; padding: 34px 0; }
.tpl-caution__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tpl-caution__t { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tpl-caution__d { color: #d5deea; margin-top: 4px; }
.tpl-caution__d b { color: var(--tpl-mustard); }

/* ===== 최신글 ===== */
.tpl-latest__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpl-latest__col h3 { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-latest__col li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15px; }
.tpl-latest__col li a span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-latest__col li a span:last-child { flex: none; font-size: 13px; color: var(--tpl-mute); }
.tpl-latest__col li a:hover span:first-child { color: var(--tpl-navy); text-decoration: underline; }

/* ===== 고객센터 · 바로가기 ===== */
.tpl-cs__in { display: grid; grid-template-columns: 380px 1fr; gap: 24px; }
.tpl-cs__box { border: 2px solid var(--tpl-navy); border-radius: var(--tpl-radius); padding: 24px 26px; }
.tpl-cs__box h2 { font-size: 18px; font-weight: 700; }
.tpl-cs__tel { display: block; font-size: 34px; font-weight: 700; color: var(--tpl-navy); letter-spacing: -0.01em; margin: 4px 0; }
.tpl-cs__box p { font-size: 15px; color: var(--tpl-sub); }
.tpl-cs__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tpl-cs__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tpl-cs__links a { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); background: var(--tpl-bg2); }
.tpl-cs__links a:hover { border-color: var(--tpl-navy); }
.tpl-cs__links strong { display: block; font-size: 17px; white-space: nowrap; }
.tpl-cs__links span span { display: block; }
.tpl-cs__links span { font-size: 14px; color: var(--tpl-sub); }
.tpl-cs__links .tpl-ico { width: 30px; height: 30px; color: var(--tpl-navy); }

/* ===== 폭별 ===== */
@media (max-width: 1340px) {
  .tpl-visual__in { padding-left: 84px; padding-right: 84px; }
  .tpl-visual__ctrl .tpl-wrap { padding-left: 84px; }
}
@media (max-width: 1200px) {
  .tpl-finder__box { grid-template-columns: 240px 1fr 260px; }
  .tpl-finder .tpl-chips--region { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tpl-quick a { padding: 16px 12px; gap: 8px; }
  .tpl-quick .tpl-ico { width: 28px; height: 28px; }
  .tpl-quick strong { font-size: 16px; }
}
@media (max-width: 1024px) {
  .tpl-visual { height: 500px; }
  .tpl-count div { min-width: 190px; padding: 12px 18px; }
  .tpl-finder__box { grid-template-columns: 1fr 1fr; }
  .tpl-finder__col--banner { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .tpl-finder__col--region { border-left: 0 !important; border-top: 1px solid var(--tpl-line); }
  .tpl-finder__col--prod { border-top: 1px solid var(--tpl-line); }
  .tpl-finder__col--banner .tpl-pbanner { display: grid; grid-template-columns: 220px 1fr; align-items: center; }
  .tpl-finder__col--banner .tpl-pbanner img { height: 100%; aspect-ratio: auto; }
  .tpl-finder .tpl-chips--region { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tpl-quick ul { grid-template-columns: repeat(3, 1fr); }
  .tpl-quick li:nth-child(4) { border-left: 0; }
  .tpl-quick li:nth-child(n+4) { border-top: 1px solid var(--tpl-line); }
  .tpl-popular__in, .tpl-status__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-latest__in { grid-template-columns: 1fr 1fr; }
  .tpl-cs__in { grid-template-columns: 1fr; }
  .tpl-caution__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .tpl-visual { height: 640px; }
  .tpl-visual__in { flex-direction: column; justify-content: center; align-items: stretch; gap: 22px; padding: 0 56px 96px; }
  .tpl-visual__title { font-size: 30px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-visual__btns .tpl-btn { flex: 1 1 auto; padding: 0 12px; }
  .tpl-count { grid-template-columns: repeat(3, 1fr); }
  .tpl-count div { min-width: 0; padding: 10px 8px; text-align: center; }
  .tpl-count dt { font-size: 12px; }
  .tpl-count dd { font-size: 17px; white-space: nowrap; }
  .tpl-count dd small { font-size: 12px; margin-left: 1px; }
  .tpl-visual__arrow { width: 40px; height: 40px; top: calc(50% - 48px); }
  .tpl-visual__arrow--prev { left: 8px; }
  .tpl-visual__arrow--next { right: 8px; }
  .tpl-visual__ctrl { bottom: 88px; }
  .tpl-visual__ctrl .tpl-wrap { justify-content: center; }
  .tpl-finder__box { grid-template-columns: 1fr; }
  .tpl-finder__col { padding: 18px 16px 20px; }
  .tpl-finder__col--prod { border-left: 0 !important; }
  .tpl-finder__col--banner .tpl-pbanner { grid-template-columns: 130px 1fr; }
  .tpl-quick ul { grid-template-columns: 1fr 1fr; }
  .tpl-quick li:nth-child(odd) { border-left: 0; }
  .tpl-quick li:nth-child(4) { border-left: 1px solid var(--tpl-line); }
  .tpl-quick li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-quick li:last-child { grid-column: 1 / -1; }
  .tpl-quick a { padding: 14px 12px; }
  .tpl-rank { padding: 18px 16px; }
  .tpl-rank ol li a { grid-template-columns: 26px 96px 1fr 58px; gap: 8px; font-size: 15px; }
  .tpl-latest__in { grid-template-columns: 1fr; }
  .tpl-cs__links { grid-template-columns: 1fr 1fr; }
  .tpl-cs__links a { padding: 16px; }
  .tpl-cs__tel { font-size: 30px; }
  .tpl-caution__t { font-size: 19px; }
}

/* ==========================================================================
   sub.css · 서브 화면 전용입니다. 업체 목록 · 상세 · 맞춤 추천 · 이자 계산기 · 업체 화면 · 관리자 화면.
   ========================================================================== */

/* ===== 업체 목록 필터 ===== */
.tpl-filter { border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); margin-bottom: 22px; }
.tpl-filter__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 18px; align-items: start; }
.tpl-filter__row + .tpl-filter__row { border-top: 1px solid var(--tpl-line); }
.tpl-filter__k { font-weight: 700; font-size: 16px; padding-top: 6px; }
.tpl-filter .tpl-chip { min-height: 34px; font-size: 14px; }
.tpl-filter__search { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-filter__search input { width: 300px; }
.tpl-listbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tpl-listbar p { font-size: 16px; }
.tpl-listbar b { color: var(--tpl-navy); }
.tpl-listbar select { height: 40px; font-size: 15px; }
.tpl-empty { padding: 60px 20px; text-align: center; color: var(--tpl-sub); border: 1px dashed var(--tpl-line); border-radius: var(--tpl-radius); }

/* ===== 업체 상세 ===== */
.tpl-dtop { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.tpl-dtop__ph { position: relative; border-radius: var(--tpl-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.tpl-dtop__ph img { width: 100%; height: 100%; object-fit: cover; }
.tpl-dtop__ph .tpl-card__ad { font-size: 19px; padding: 14px 18px; }
.tpl-dtop__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tpl-badge { display: inline-block; padding: 2px 9px; border-radius: 3px; font-size: 13px; font-weight: 600; border: 1px solid var(--tpl-line); color: var(--tpl-sub); }
.tpl-badge--p { background: var(--tpl-mustard); border-color: var(--tpl-mustard); color: var(--tpl-navy-d); }
.tpl-dtop__name { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 4px; }
.tpl-dtop__reg { color: var(--tpl-sub); font-size: 15px; }
.tpl-dtop__tel { display: block; font-size: 34px; font-weight: 700; color: var(--tpl-navy); margin: 16px 0 10px; }
.tpl-dtop__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tpl-dtop__btns .tpl-btn { flex: 1 1 140px; }
.tpl-keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); }
.tpl-keys div { padding: 14px 16px; }
.tpl-keys div + div { border-left: 1px solid var(--tpl-line); }
.tpl-keys dt { font-size: 14px; color: var(--tpl-mute); }
.tpl-keys dd { font-size: 19px; font-weight: 700; white-space: nowrap; }
.tpl-dinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.tpl-dl { border-top: 2px solid var(--tpl-navy); }
.tpl-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-dl dt { font-weight: 600; color: var(--tpl-sub); }
.tpl-must { margin-top: 36px; padding: 20px 22px; border: 1px solid var(--tpl-red); border-radius: var(--tpl-radius); }
.tpl-must h2 { font-size: 18px; color: var(--tpl-red); margin-bottom: 8px; }
.tpl-must li { position: relative; padding-left: 14px; font-size: 16px; color: var(--tpl-ink); }
.tpl-must li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--tpl-red); }

/* ===== 맞춤 추천 ===== */
.tpl-reco { max-width: 900px; margin: 0 auto; }
.tpl-reco__prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 26px; }
.tpl-reco__prog li { padding: 10px 6px; border-bottom: 3px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); text-align: center; white-space: nowrap; }
.tpl-reco__prog li.is-done, .tpl-reco__prog li[aria-current] { border-color: var(--tpl-navy); color: var(--tpl-navy); font-weight: 600; }
.tpl-reco fieldset { border: 0; margin: 0; padding: 0; }
.tpl-reco legend { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.tpl-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tpl-opts--region { grid-template-columns: repeat(6, 1fr); }
.tpl-opt { position: relative; }
.tpl-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tpl-opt span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px; border: 1px solid #c4ccd6; border-radius: 4px; text-align: center; font-weight: 600; }
.tpl-opt span small { font-weight: 400; font-size: 13px; color: var(--tpl-mute); }
.tpl-opts--region .tpl-opt span { min-height: 46px; padding: 8px; }
.tpl-opt input:checked + span { border: 2px solid var(--tpl-navy); background: #eef2f8; color: var(--tpl-navy); }
.tpl-opt input:focus-visible + span { outline: 3px solid var(--tpl-mustard); outline-offset: 2px; }
.tpl-reco__btns { display: flex; justify-content: space-between; margin-top: 26px; }
.tpl-reco__err { color: var(--tpl-red); margin-top: 12px; font-size: 15px; min-height: 1.5em; }
.tpl-reco__sum { padding: 16px 18px; background: var(--tpl-bg2); border-radius: var(--tpl-radius); margin-bottom: 18px; }
.tpl-reco__sum b { color: var(--tpl-navy); }
.tpl-reco-wide { max-width: none; }

/* ===== 이자 계산기 ===== */
.tpl-calc { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 32px; align-items: start; }
.tpl-calc__form { border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); padding: 22px; }
.tpl-calc__form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.tpl-calc__form label:first-child { margin-top: 0; }
.tpl-calc__form input, .tpl-calc__form select { width: 100%; }
.tpl-calc__unit { position: relative; }
.tpl-calc__unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--tpl-mute); font-size: 15px; pointer-events: none; }
.tpl-calc__unit input { padding-right: 52px; }
.tpl-calc__methods { display: grid; gap: 6px; }
.tpl-calc__form .tpl-calc__methods label { display: flex; margin: 0; font-weight: 500; }
.tpl-calc__form .tpl-calc__methods input { width: 18px; flex: none; }
.tpl-calc__form .tpl-btn { width: 100%; margin-top: 18px; }
.tpl-calc__sum { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--tpl-navy); border-radius: var(--tpl-radius); margin-bottom: 18px; }
.tpl-calc__sum div { padding: 16px 18px; }
.tpl-calc__sum div + div { border-left: 1px solid var(--tpl-line); }
.tpl-calc__sum dt { font-size: 14px; color: var(--tpl-mute); }
.tpl-calc__sum dd { font-size: 24px; font-weight: 700; color: var(--tpl-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tpl-calc__table { max-height: 520px; overflow: auto; border-bottom: 1px solid var(--tpl-line); }
.tpl-calc__table .tpl-table { min-width: 560px; }
.tpl-calc__table td { text-align: right; font-variant-numeric: tabular-nums; }
.tpl-calc__table td:first-child { text-align: center; }
.tpl-calc__table thead th { position: sticky; top: 0; }

/* ===== 업체 화면 ===== */
.tpl-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tpl-plan { position: relative; }
.tpl-plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tpl-plan > span { display: block; height: 100%; padding: 20px; border: 1px solid #c4ccd6; border-radius: var(--tpl-radius); }
.tpl-plan strong { display: block; font-size: 18px; }
.tpl-plan em { display: block; font-style: normal; font-size: 24px; font-weight: 700; color: var(--tpl-navy); margin: 8px 0; }
.tpl-plan small { display: block; font-size: 14px; color: var(--tpl-sub); }
.tpl-plan input:checked + span { border: 2px solid var(--tpl-navy); background: #eef2f8; }
.tpl-plan input:focus-visible + span { outline: 3px solid var(--tpl-mustard); outline-offset: 2px; }
.tpl-bank { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; padding: 20px 22px; border: 2px solid var(--tpl-navy); border-radius: var(--tpl-radius); margin-top: 22px; }
.tpl-bank dt { color: var(--tpl-sub); }
.tpl-bank dd { font-weight: 700; }
.tpl-state { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 13px; font-weight: 600; }
.tpl-state--wait { background: #fdf0d2; color: #6b4b00; }
.tpl-state--ok { background: #e3edf9; color: var(--tpl-navy); }
.tpl-state--on { background: var(--tpl-navy); color: #fff; }
.tpl-state--end { background: #eceff3; color: var(--tpl-sub); }
.tpl-state--no { background: #fbe3e1; color: var(--tpl-red); }

/* ===== 관리자 화면 ===== */
.tpl-admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; background: var(--tpl-bg2); }
.tpl-admin__side { background: var(--tpl-navy-d); color: #d3dce8; padding: 22px 0; }
.tpl-admin__side .tpl-logo { padding: 0 20px 20px; color: #fff; }
.tpl-admin__side .tpl-logo__name { color: #fff; font-size: 21px; }
.tpl-admin__side .tpl-logo__sub { color: #b8c4d3; }
.tpl-admin__side a { display: block; padding: 12px 22px; font-size: 16px; }
.tpl-admin__side a[aria-current] { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--tpl-mustard); }
.tpl-admin__side a:hover { color: #fff; }
.tpl-admin__main { padding: 26px 30px 60px; min-width: 0; }
.tpl-admin__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.tpl-admin__top h1 { font-size: 26px; font-weight: 700; }
.tpl-admin__top p { font-size: 14px; color: var(--tpl-mute); }
.tpl-apanel { background: #fff; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); padding: 20px 22px; margin-bottom: 20px; }
.tpl-apanel h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.tpl-astats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.tpl-astats div { background: #fff; border: 1px solid var(--tpl-line); border-radius: var(--tpl-radius); padding: 14px 16px; }
.tpl-astats dt { font-size: 14px; color: var(--tpl-mute); }
.tpl-astats dd { font-size: 26px; font-weight: 700; color: var(--tpl-navy); }
.tpl-review { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tpl-doc-ph { display: grid; place-items: center; aspect-ratio: 3 / 4; max-height: 460px; width: 100%; background: repeating-linear-gradient(0deg, #f6f7f9 0 22px, #eceff3 22px 23px); border: 1px solid var(--tpl-line); border-radius: 4px; color: var(--tpl-mute); font-size: 15px; text-align: center; padding: 20px; }
.tpl-ocr { display: grid; gap: 10px; }
.tpl-ocr label { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.tpl-ocr input { width: 100%; height: 40px; font-size: 15px; background: #fffbea; }
.tpl-ocr__note { font-size: 14px; color: var(--tpl-sub); padding: 10px 12px; background: var(--tpl-bg2); border-radius: 4px; }
.tpl-abtns { display: flex; gap: 6px; flex-wrap: wrap; }
.tpl-admin .tpl-table { background: #fff; }

/* ===== 폭별 ===== */
@media (max-width: 1024px) {
  .tpl-dtop, .tpl-dinfo, .tpl-calc, .tpl-review { grid-template-columns: minmax(0, 1fr); }
  .tpl-opts--region { grid-template-columns: repeat(4, 1fr); }
  .tpl-admin { grid-template-columns: 1fr; }
  .tpl-admin__side { display: flex; align-items: center; flex-wrap: wrap; padding: 10px 8px; }
  .tpl-admin__side .tpl-logo { padding: 6px 12px; }
  .tpl-admin__side a { padding: 10px 12px; font-size: 15px; }
  .tpl-astats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tpl-filter__row { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .tpl-filter__k { padding-top: 0; }
  .tpl-filter__search input { width: 100%; }
  .tpl-filter__search .tpl-btn { flex: 1 1 auto; }
  .tpl-dtop__name { font-size: 28px; }
  .tpl-dtop__tel { font-size: 28px; }
  .tpl-keys { grid-template-columns: 1fr; }
  .tpl-keys div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-dl div { grid-template-columns: 100px 1fr; font-size: 15px; }
  .tpl-opts { grid-template-columns: 1fr 1fr; }
  .tpl-opts--region { grid-template-columns: repeat(3, 1fr); }
  .tpl-reco legend { font-size: 20px; }
  .tpl-reco__prog li { font-size: 13px; }
  .tpl-calc__sum { grid-template-columns: 1fr; }
  .tpl-calc__sum div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-calc__form { padding: 18px 16px; }
  .tpl-plans { grid-template-columns: 1fr; }
  .tpl-bank { grid-template-columns: 1fr; gap: 2px; }
  .tpl-bank dd + dt { margin-top: 8px; }
  .tpl-admin__main { padding: 20px 16px 50px; }
  .tpl-ocr label { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   그누보드 연결부 · 이 테마에서 더한 것입니다(시안 CSS 는 위에 그대로 있습니다).
   ========================================================================== */
/* 로고 : 시안의 예시 이름(론나침반) 대신 올웹 로고(가로 161.4 : 40)입니다. 시안 .tpl-logo svg 의 38px 정사각을 로고 비율로 넓힙니다. */
.tpl-logo { --accent: #12c29a; }
.tpl-logo svg.logo-svg { width: 153px; height: 38px; }
.tpl-logo .logo-img { height: 38px; width: auto; }
.tpl-logo-h { margin: 0; display: flex; flex: none; font-size: inherit; }
@media (max-width: 768px) {
  .tpl-logo svg.logo-svg { width: 129px; height: 32px; }
  .tpl-logo .logo-img { height: 32px; }
}
/* 그누보드 default.css 의 a.btn 이 시안 단추를 줄이지 않게 합니다(지침 3-6). */
a.tpl-btn { height: auto; line-height: inherit; font-size: 16px; }
a.tpl-btn.tpl-btn--sm { font-size: 14px; }
/* 자동등록방지 한 줄(지침 3-2) */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }

/* 메인 팝업(콘솔 「팝업」) : 흰 직각 판 · 남색 윗막대 · 겨자색 밑줄 링크 · 옅은 회색 아래 띠 */
.tpl-pop__item { background: #fff; border-top: 4px solid var(--tpl-navy); border-radius: 0; box-shadow: 0 10px 30px rgba(15, 38, 69, .25); }
.tpl-pop__title { margin: 0; padding: 18px 20px 10px; font-size: 19px; font-weight: 700; color: var(--tpl-navy); }
.tpl-pop__text { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--tpl-sub); }
.tpl-pop__more { display: inline-block; margin: 0 20px 18px; color: var(--tpl-navy); font-weight: 600; border-bottom: 2px solid var(--tpl-mustard); }
.tpl-pop__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--tpl-bg2); font-size: 14px; }
.tpl-pop__foot button { padding: 6px 10px; color: var(--tpl-ink); white-space: nowrap; }
.tpl-pop__foot button:hover { color: var(--tpl-navy); text-decoration: underline; }
/* 1025~1240px 에서 마지막 1차(고객센터)의 2차 패널이 화면 오른쪽 밖으로 11px 나가 가로 넘침이 생깁니다(시안도 같음, 2026-11-27 실측). 그 폭에서만 패널 오른쪽을 1차 칸 오른쪽에 맞춥니다. */
@media (min-width: 1025px) and (max-width: 1240px) {
  .tpl-gnb__item:nth-last-child(2) > .tpl-gnb__sub { left: auto; right: 0; transform: none; }
}
/* 1025~1180px 에서 고객센터 바로가기 4칸(이름 한 줄)이 칸보다 넓어 16px 가로 넘침이 생깁니다(시안도 같음, 2026-11-27 실측). 그 폭에서는 칸 안 여백을 줄이고 칸이 내용보다 좁아지지 않게 합니다. */
@media (min-width: 1025px) and (max-width: 1180px) {
  .tpl-cs__in { grid-template-columns: 320px minmax(0, 1fr); }
  .tpl-cs__links a { padding: 16px 12px; }
  .tpl-cs__links strong { font-size: 16px; }
}
