/*
 * 파일팜 테마 — 방문자 화면.
 * 회색 바탕 + 흰 카드, 큰 숫자, 리스트 행 중심의 차분한 화면 (프레스런 디자인 시스템 색·글꼴).
 * 모바일 먼저, 640px·1024px에서 넓힘.
 */

:root {
	--ink: #191f28;
	--ink-2: #3a3f46;
	--sub: #535a64;
	--dim: #8b95a1;
	--line: #e3e6ea;
	--line-2: #f0f0f0;
	--bg: #f8f8f8;
	--card: #ffffff;
	--chip: #f0f0f0;
	--blue: #4a75df;
	--blue-2: #6891f8;
	--tint: #f0f4ff;
	--red: #ea5b5b;
	--yellow: #fadb14;
	--green: #2ed573;
	--r-s: 12px;
	--r-m: 16px;
	--r-l: 24px;
	--r-xl: 28px;
	--top-h: 60px;
	--font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--top-h) + 60px);
}

body {
	margin: 0;
	background: var(--card);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.02em;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

[hidden] {
	display: none !important;
}

body.ff-lock {
	overflow: hidden;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--blue);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
	border-radius: 6px;
}

.ff-i {
	flex: 0 0 auto;
	vertical-align: middle;
}

.ff-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ff-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--r-s);
	background: var(--ink);
	color: #fff;
}

.ff-skip:focus {
	top: 12px;
	color: #fff;
}

.ff-shell {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

.ff-col {
	width: 100%;
	max-width: 752px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

.ff-main {
	display: block;
	min-height: 60vh;
	outline: 0;
}

.ff-nw {
	white-space: nowrap;
}

/* ------------------------------------------------------------------
 * 글자
 * ---------------------------------------------------------------- */

.ff-h1 {
	margin: 0;
	font-size: 24px;
	line-height: 1.38;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.ff-h1__count {
	margin-left: 6px;
	font-size: 0.7em;
	font-weight: 500;
	color: var(--sub);
}

.ff-h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.ff-h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 700;
}

.ff-sub,
.ff-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--sub);
}

.ff-lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-2);
}

.ff-fine {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--sub);
}

.ff-eyebrow {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--sub);
}

.ff-empty {
	margin: 24px 0;
	padding: 28px 20px;
	border-radius: var(--r-l);
	background: var(--bg);
	color: var(--sub);
	text-align: center;
}

/* ------------------------------------------------------------------
 * 칩·버튼·타일
 * ---------------------------------------------------------------- */

.ff-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.ff-chip,
.ff-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 4px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--chip);
	color: var(--sub);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.ff-chip--soft {
	background: var(--bg);
	color: var(--ink-2);
	min-height: 34px;
	padding: 6px 14px;
	font-size: 14px;
}

.ff-chip--link,
.ff-pill--box {
	min-height: 40px;
	padding: 8px 16px;
	background: var(--chip);
	color: var(--ink);
	font-size: 15px;
}

.ff-chip--link:hover,
.ff-chip--soft:hover,
.ff-pill--box:hover {
	background: var(--line);
	color: var(--ink);
}

.ff-chip--btn {
	min-height: 40px;
	padding: 8px 18px;
	color: var(--ink);
	font-size: 15px;
	cursor: pointer;
}

.ff-chip--btn[aria-pressed="true"] {
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}

.ff-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--blue);
}

.ff-chip--btn[aria-pressed="true"] .ff-dot {
	background: #fff;
}

.ff-taglist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ff-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--r-m);
	background: var(--chip);
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.ff-btn:active {
	transform: scale(0.98);
}

.ff-btn:hover {
	color: var(--ink);
	background: var(--line);
}

/* 파란 바탕 흰 글자는 19px 굵게 (대비 기준: 큰 글씨). */
.ff-btn--primary {
	background: var(--blue);
	color: #fff;
	font-size: 19px;
}

.ff-btn--primary:hover {
	background: #3f68cf;
	color: #fff;
}

.ff-btn--white {
	background: var(--card);
}

.ff-btn--white:hover {
	background: var(--line-2);
}

.ff-btn--lg {
	min-height: 58px;
	padding: 0 24px;
}

.ff-btn--sm {
	min-height: 40px;
	padding: 0 14px;
	font-size: 14px;
	border-radius: var(--r-s);
}

.ff-btn--block {
	display: flex;
	width: 100%;
}

.ff-round {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.ff-round:hover {
	background: var(--line-2);
}

.ff-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	background: var(--tint);
	color: var(--blue);
}

.ff-tile--sm {
	width: 40px;
	height: 40px;
	border-radius: 13px;
}

.ff-tile--lg {
	width: 56px;
	height: 56px;
	border-radius: 18px;
}

.ff-seg {
	display: inline-flex;
	gap: 4px;
	max-width: 100%;
	padding: 4px;
	border-radius: 14px;
	background: var(--chip);
	overflow-x: auto;
	scrollbar-width: none;
}

.ff-seg::-webkit-scrollbar {
	display: none;
}

.ff-seg button,
.ff-seg a {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sub);
	font-size: 15px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.ff-seg button[aria-selected="true"],
.ff-seg a[aria-current="true"] {
	background: var(--card);
	color: var(--ink);
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(25, 31, 40, 0.08);
}

.ff-seg--sm button,
.ff-seg--sm a {
	min-height: 36px;
	padding: 0 14px;
	font-size: 14px;
}

.ff-toast {
	position: fixed;
	left: 50%;
	bottom: calc(96px + env(safe-area-inset-bottom));
	z-index: 90;
	transform: translateX(-50%);
	max-width: calc(100% - 32px);
	padding: 12px 18px;
	border-radius: var(--r-m);
	background: rgba(25, 31, 40, 0.92);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
}

/* ------------------------------------------------------------------
 * 머리글
 * ---------------------------------------------------------------- */

.ff-top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--card);
	border-bottom: 1px solid var(--line-2);
}

.admin-bar .ff-top {
	top: 46px;
}

.ff-top__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--top-h);
}

.ff-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
	color: var(--ink);
}

.ff-brand:hover {
	color: var(--ink);
}

.ff-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--blue);
	color: #fff;
	overflow: hidden;
}

.ff-brand__mark--img {
	background: transparent;
}

.ff-brand__mark img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.ff-brand__name {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.ff-top__btns {
	display: flex;
	gap: 2px;
	margin-right: -8px;
}

.ff-adminbar {
	padding: 10px 0;
	background: #fff8d6;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink);
}

.ff-adminbar a {
	margin-left: 6px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 메뉴판 (모바일: 머리글 아래로 펼침) */
.ff-nav {
	display: none;
}

.ff-top.is-menu .ff-nav {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--top-h);
	bottom: 0;
	z-index: 49;
	padding: 8px 16px 32px;
	background: var(--card);
	overflow-y: auto;
}

.admin-bar .ff-top.is-menu .ff-nav {
	top: calc(var(--top-h) + 46px);
}

.ff-nav__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-nav__list a {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
}

.ff-nav__pc {
	display: none;
}

.ff-nav__cats {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line-2);
}

.ff-nav__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--sub);
}

.ff-nav__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-nav__grid a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}

.ff-nav__grid .current-menu-item a {
	color: var(--blue);
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * 검색
 * ---------------------------------------------------------------- */

.ff-find {
	position: relative;
}

.ff-find__box {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border-radius: var(--r-s);
	background: var(--chip);
	color: var(--sub);
}

.ff-find__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}

.ff-find__input::placeholder {
	color: var(--sub);
}

.ff-find__input::-webkit-search-cancel-button {
	display: none;
}

.ff-find__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: var(--dim);
	color: #fff;
	cursor: pointer;
}

.ff-find__go {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	background: var(--blue);
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	cursor: pointer;
}

.ff-find__back {
	display: none;
}

.ff-find--big .ff-find__box {
	height: 64px;
	padding: 0 8px 0 20px;
	border-radius: 20px;
	background: var(--chip);
}

.ff-find--big .ff-find__input {
	font-size: 18px;
}

.ff-find--page {
	margin-top: 16px;
}

/* 머리글 검색창: 모바일에서는 숨기고 버튼으로 화면 가득 열기 */
.ff-find--top {
	display: none;
}

.ff-top.is-searching .ff-find--top {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 60;
	padding: 8px 12px;
	background: var(--card);
}

.admin-bar .ff-top.is-searching .ff-find--top {
	top: 46px;
}

.ff-top.is-searching .ff-find--top .ff-find__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 8px;
	top: 8px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.ff-top.is-searching .ff-find--top .ff-find__box {
	margin-left: 48px;
}

.ff-pop {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 40;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 8px;
	border-radius: var(--r-l);
	background: var(--card);
	box-shadow: 0 12px 40px rgba(25, 31, 40, 0.14);
}

.ff-top.is-searching .ff-find--top .ff-pop {
	position: static;
	max-height: calc(100vh - 80px);
	margin-top: 8px;
	box-shadow: none;
	padding: 0;
}

.ff-pop__hint {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 12px;
	font-size: 14px;
	color: var(--sub);
}

.ff-drop__title {
	margin: 8px 12px 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sub);
}

.ff-drop__none {
	margin: 0;
	padding: 20px 12px;
	color: var(--sub);
	text-align: center;
}

.ff-drop__sep {
	margin: 8px 12px;
	border: 0;
	border-top: 1px solid var(--line-2);
}

.ff-drop__ask {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 4px 4px;
	padding: 14px 16px;
	border-radius: var(--r-m);
	background: var(--bg);
	font-size: 14px;
}

.ff-drop__ask div {
	display: flex;
	flex-direction: column;
}

.ff-drop__ask span {
	color: var(--sub);
}

.ff-hit {
	background: transparent;
	color: var(--blue);
}

/* ------------------------------------------------------------------
 * 리스트 행 (목록·검색 결과·관련 목록)
 * ---------------------------------------------------------------- */

.ff-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-row__a {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding: 12px 4px;
	color: var(--ink);
}

.ff-row__a:hover {
	color: var(--ink);
}

.ff-row__a:hover .ff-row__name {
	color: var(--blue);
}

.ff-rows > .ff-row + .ff-row {
	border-top: 1px solid var(--line-2);
}

.ff-rows--plain > .ff-row + .ff-row,
.ff-rows--flat > .ff-row + .ff-row {
	border-top: 0;
}

.ff-rows--plain .ff-row__a,
.ff-rows--flat .ff-row__a {
	min-height: 64px;
	padding: 8px 4px;
}

.ff-ini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--chip);
	color: var(--sub);
	font-size: 17px;
	font-weight: 700;
	overflow: hidden;
}

.ff-ini--img {
	object-fit: contain;
	background: var(--card);
	border: 1px solid var(--line-2);
}

.ff-ini--pin {
	background: var(--tint);
	color: var(--blue);
}

.ff-row__txt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	gap: 2px;
}

.ff-row__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.ff-row__sub {
	font-size: 13px;
	color: var(--sub);
	line-height: 1.45;
}

.ff-row__num {
	flex: 0 0 auto;
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ff-row.is-filtered {
	display: none;
}

.ff-rows__ad {
	padding: 8px 0;
}

/* 상담 상태 */
.ff-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--chip);
	color: var(--sub);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.ff-live__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dim);
}

.ff-live.is-open,
.ff-live.is-always {
	background: var(--tint);
	color: var(--ink);
}

.ff-live.is-open .ff-live__dot,
.ff-live.is-always .ff-live__dot {
	background: var(--blue);
}

.ff-live.is-closing {
	background: var(--tint);
	color: var(--ink);
}

.ff-live.is-closing .ff-live__dot {
	background: var(--red);
}

.ff-live.is-lunch .ff-live__dot,
.ff-live.is-before .ff-live__dot {
	background: var(--yellow);
}

.ff-live__more:not(:empty)::before {
	content: "· ";
}

.ff-live__more {
	font-weight: 500;
	color: var(--sub);
}

.ff-live--big {
	gap: 8px;
	padding: 0;
	background: transparent !important;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink-2) !important;
}

.ff-live--big .ff-live__dot {
	width: 8px;
	height: 8px;
}

.ff-live--big .ff-live__txt {
	font-weight: 700;
	color: var(--ink);
}

.ff-live--big .ff-live__more {
	font-weight: 500;
}

/* ------------------------------------------------------------------
 * 홈
 * ---------------------------------------------------------------- */

.ff-hero {
	display: grid;
	gap: 32px;
	padding-top: 36px;
	padding-bottom: 48px;
}

.ff-hero__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.ff-hero__title {
	margin: 0;
	font-size: 32px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.ff-hero__desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--sub);
}

.ff-hero__chips {
	margin-top: 4px;
}

.ff-panel {
	min-width: 0;
	padding: 24px 20px;
	border-radius: var(--r-xl);
	background: var(--bg);
}

.ff-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.ff-panel .ff-ini {
	background: var(--card);
}

.ff-panel__empty {
	padding: 12px 4px;
}

/* 자바스크립트가 지금 받는 곳만 남김 (준비 전에는 숨김) */
.js [data-ff-livebox] [data-ff-item] {
	display: none;
}

.js [data-ff-livebox] [data-ff-item].is-live {
	display: block;
}

.ff-home__body {
	display: flex;
	flex-direction: column;
	gap: 64px;
	padding-bottom: 80px;
}

.ff-sec {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.ff-sec__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ff-sec__head .ff-h2 {
	font-size: 22px;
}

.ff-fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-field {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--ink-2);
	text-align: center;
}

.ff-field:hover {
	color: var(--ink);
}

.ff-field:hover .ff-tile {
	background: #e4ebff;
}

.ff-field__n {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.ff-cards {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-ncard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 22px;
	border-radius: var(--r-l);
	background: var(--bg);
}

.ff-ncard__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.ff-ncard .ff-ini {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--card);
}

.ff-ncard__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.ff-ncard__num {
	margin: 6px 0 10px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.ff-ncard__num--none {
	font-size: 17px;
	color: var(--sub);
	font-weight: 500;
}

.ff-ncard .ff-btn {
	margin-top: auto;
}

.ff-rows--two {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 0 40px;
}

.ff-hscroll {
	display: flex;
	gap: 12px;
	margin: 0 -16px;
	padding: 0 16px 4px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ff-hscroll::-webkit-scrollbar {
	display: none;
}

.ff-hscroll > li {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.ff-mini-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 220px;
	min-height: 132px;
	padding: 20px;
	border-radius: var(--r-l);
	background: var(--bg);
	color: var(--ink);
}

.ff-mini-card:hover {
	color: var(--ink);
	background: var(--line-2);
}

.ff-mini-card strong {
	font-size: 16px;
	line-height: 1.4;
}

.ff-mini-card__num {
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ff-mini-card--white {
	background: var(--card);
}

.ff-mini-card--white:hover {
	background: var(--card);
	box-shadow: 0 4px 16px rgba(25, 31, 40, 0.06);
}

/* ------------------------------------------------------------------
 * 상세 글
 * ---------------------------------------------------------------- */

.ff-post {
	padding: 12px 0 0;
	background: var(--bg);
}

.ff-post__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ff-path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 4px;
	padding: 4px 4px 0;
	font-size: 13px;
	color: var(--sub);
}

.ff-path a {
	color: var(--sub);
}

.ff-path a:hover {
	color: var(--ink);
}

.ff-path__sep {
	display: inline-flex;
	color: var(--dim);
}

.ff-path__here {
	color: var(--ink-2);
	font-weight: 500;
}

.ff-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 24px 20px;
	border-radius: var(--r-l);
	background: var(--card);
}

.ff-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ff-card__aside {
	font-size: 15px;
	font-weight: 700;
	color: var(--sub);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ff-hero-card {
	gap: 14px;
	padding: 24px 20px 22px;
}

.ff-hero-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ff-logo {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 17px;
	border: 1px solid var(--line-2);
	background: var(--card);
	object-fit: contain;
}

.ff-logo--ini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--chip);
	border: 0;
	color: var(--sub);
	font-size: 20px;
	font-weight: 700;
}

.ff-post__date {
	margin: -6px 0 0;
	font-size: 12px;
	color: var(--sub);
}

.ff-dial {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 6px 0 2px;
}

.ff-dial__label {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--sub);
}

.ff-dial__num {
	margin: 0;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.ff-dial__wait {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.ff-dial__btns {
	display: flex;
	gap: 8px;
}

.ff-dial__btns .ff-btn--primary {
	flex: 2 1 0;
}

.ff-dial__btns .ff-btn--gray {
	flex: 1 1 0;
}

.ff-dial--none + .ff-dial__btns .ff-btn--primary {
	font-size: 17px;
}

.ff-qr {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: var(--r-m);
	background: var(--bg);
}

.ff-qr__box {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	padding: 6px;
	border-radius: 10px;
	background: #fff;
}

.ff-qr__box svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ff-hero-card .ff-lead {
	padding-top: 14px;
	border-top: 1px solid var(--line-2);
	font-size: 15px;
	color: var(--sub);
}

.ff-alt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	border-radius: var(--r-m);
	background: var(--card);
	color: var(--ink);
}

.ff-alt__t {
	font-size: 13px;
	color: var(--sub);
}

.ff-alt__n {
	font-size: 18px;
	font-weight: 700;
}

.ff-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	padding: 14px 16px;
	border-radius: 18px;
	background: var(--tint);
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-2);
}

.ff-note .ff-i {
	margin-top: 2px;
	color: var(--blue);
}

.ff-tabs {
	position: sticky;
	top: var(--top-h);
	z-index: 30;
	margin-top: 12px;
	background: var(--card);
	border-bottom: 1px solid var(--line-2);
}

.admin-bar .ff-tabs {
	top: calc(var(--top-h) + 46px);
}

.ff-tabs__in {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ff-tabs__in::-webkit-scrollbar {
	display: none;
}

.ff-tabs a {
	flex: 0 0 auto;
	padding: 14px 0 12px;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
	color: var(--sub);
}

.ff-tabs a.is-active,
.ff-tabs a:hover {
	border-bottom-color: var(--ink);
	color: var(--ink);
	font-weight: 700;
}

.ff-post__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 12px;
	padding-bottom: 32px;
}

/* 상담 시간 */
.ff-days {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ff-days__tabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ff-days__tabs::-webkit-scrollbar {
	display: none;
}

.ff-days__tab {
	position: relative;
	flex: 1 0 auto;
	min-width: 64px;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--r-m);
	background: var(--bg);
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.ff-days__tab.is-today::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--blue);
}

.ff-days__tab[aria-selected="true"] {
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}

.ff-days__tab[aria-selected="true"].is-today::after {
	background: #fff;
}

.ff-days__panel {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ff-days__label {
	margin: 0;
	font-size: 14px;
	color: var(--sub);
}

.ff-hours__big {
	margin: 0;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.ff-hours__big--off {
	color: var(--sub);
}

.ff-hours__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding-top: 8px;
	border-top: 1px solid var(--line-2);
}

.ff-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	font-size: 15px;
}

.ff-hours__row dt {
	color: var(--sub);
}

.ff-hours__row dd {
	margin: 0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ff-hours__row.is-today dt,
.ff-hours__row.is-today dd {
	color: var(--ink);
}

.ff-today {
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--tint);
	font-size: 11px;
	font-weight: 700;
	color: var(--ink);
}

.ff-off {
	color: var(--sub);
	font-weight: 500;
}

/* 상담원 연결 순서 */
.ff-steps {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-steps__item {
	position: relative;
	display: flex;
	gap: 14px;
	padding-bottom: 20px;
}

.ff-steps__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 19px;
	top: 42px;
	bottom: 2px;
	width: 2px;
	background: var(--line-2);
}

.ff-steps__item:last-child {
	padding-bottom: 0;
}

.ff-steps__key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tint);
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ff-steps__item:last-child .ff-steps__key {
	background: var(--ink);
	color: #fff;
}

.ff-steps__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 7px;
}

.ff-steps__txt strong {
	font-size: 16px;
	line-height: 1.45;
}

.ff-steps__txt small {
	font-size: 13px;
	color: var(--sub);
}

/* 목록 칸 (용건별 번호·다른 방법) */
.ff-list {
	display: flex;
	flex-direction: column;
	margin: -4px 0;
	padding: 0;
	list-style: none;
}

.ff-list__row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 10px 0;
	color: var(--ink);
}

.ff-list > li + li,
.ff-list > .ff-list__row + .ff-list__row {
	border-top: 1px solid var(--line-2);
}

.ff-list__row--link:hover {
	color: var(--ink);
}

.ff-list__row--link:hover strong {
	color: var(--blue);
}

.ff-list__row--link > .ff-i:last-child {
	color: var(--dim);
}

.ff-list__txt {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	gap: 2px;
}

.ff-list__txt strong {
	font-size: 16px;
	line-height: 1.45;
}

.ff-list__txt small {
	font-size: 13px;
	color: var(--sub);
}

.ff-list__num {
	flex: 0 0 auto;
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ff-list__act {
	display: flex;
	gap: 6px;
}

.ff-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--r-s);
	background: var(--chip);
	color: var(--ink);
	cursor: pointer;
}

.ff-mini:hover {
	background: var(--line);
	color: var(--ink);
}

.ff-mini--call {
	background: var(--tint);
	color: var(--blue);
}

.ff-mini--text {
	width: auto;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 700;
}

/* 본문 */
.ff-text {
	font-size: 17px;
	line-height: 1.85;
	color: var(--ink-2);
}

.ff-text > *:first-child {
	margin-top: 0;
}

.ff-text > *:last-child {
	margin-bottom: 0;
}

.ff-text p {
	margin: 0 0 1em;
}

.ff-text h2 {
	margin: 1.8em 0 0.6em;
	font-size: 20px;
	line-height: 1.45;
	color: var(--ink);
}

.ff-text h3 {
	margin: 1.5em 0 0.5em;
	font-size: 18px;
	line-height: 1.45;
	color: var(--ink);
}

.ff-text ul,
.ff-text ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
}

.ff-text li + li {
	margin-top: 0.3em;
}

.ff-text a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ff-text figure {
	margin: 1.4em 0;
}

.ff-text img {
	border-radius: var(--r-m);
}

.ff-text figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--sub);
	text-align: center;
}

.ff-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ff-text th,
.ff-text td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--line-2);
	text-align: left;
}

.ff-text blockquote {
	margin: 1.2em 0;
	padding: 14px 18px;
	border-radius: var(--r-m);
	background: var(--bg);
}

/* 찾아가기 */
.ff-map {
	position: relative;
	height: 240px;
	border-radius: var(--r-m);
	background: var(--bg);
	overflow: hidden;
}

.ff-map__wait {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sub);
	font-size: 14px;
}

.ff-addr {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.ff-addr address {
	display: flex;
	flex-direction: column;
	font-style: normal;
	font-size: 16px;
	font-weight: 500;
}

.ff-addr small {
	font-size: 13px;
	color: var(--sub);
	font-weight: 400;
}

.ff-facts {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.ff-facts div {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-top: 1px solid var(--line-2);
	font-size: 15px;
}

.ff-facts dt {
	flex: 0 0 72px;
	color: var(--sub);
}

.ff-facts dd {
	margin: 0;
}

/* 자주 묻는 질문 */
.ff-qna {
	display: flex;
	flex-direction: column;
}

.ff-qna__item + .ff-qna__item {
	border-top: 1px solid var(--line-2);
}

.ff-qna__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.ff-qna__item summary::-webkit-details-marker {
	display: none;
}

.ff-qna__item summary .ff-i {
	color: var(--dim);
	transition: transform 0.2s ease;
}

.ff-qna__item[open] summary .ff-i {
	transform: rotate(180deg);
}

.ff-qna__a {
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: var(--r-m);
	background: var(--bg);
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink-2);
}

.ff-qna__a p {
	margin: 0;
}

.ff-qna__a p + p {
	margin-top: 0.6em;
}

/* 평가 */
.ff-rate {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.ff-rate__t {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.ff-rate__stars {
	display: flex;
	gap: 4px;
}

.ff-rate__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	fill: var(--line);
	cursor: pointer;
}

.ff-rate__star.is-on {
	fill: var(--yellow);
}

/* 마우스를 올린 별까지 앞의 별을 모두 칠함 (평가 전, 마우스 있는 기기에서만). */
@media (hover: hover) {
	.ff-rate__stars:not(.is-done):has(.ff-rate__star:hover) .ff-rate__star {
		fill: var(--yellow);
	}

	.ff-rate__stars:not(.is-done) .ff-rate__star:hover ~ .ff-rate__star {
		fill: var(--line);
	}
}

.ff-rate__star:disabled {
	cursor: default;
}

.ff-rate__sum {
	margin: 0;
	font-size: 14px;
	color: var(--sub);
}

/* 사이트 작성 리뷰 (설정에서 켤 때만) */
.ff-editorial__subject {
	margin: 0;
	font-weight: 700;
}

.ff-editorial__note {
	margin: 0;
	font-size: 13px;
	color: var(--sub);
}

.ff-editorial__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-editorial__list li {
	padding: 12px 0;
	border-top: 1px solid var(--line-2);
}

.ff-editorial__list h3 {
	margin: 0 0 4px;
	font-size: 15px;
}

.ff-editorial__list p {
	margin: 0;
	font-size: 15px;
	color: var(--ink-2);
}

.ff-editorial__criteria {
	font-size: 13px;
	color: var(--sub);
}

/* 방문자 리뷰 */
.ff-user-reviews {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ff-user-reviews__summary {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.ff-review-empty,
.ff-review-notice {
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--r-m);
	background: var(--bg);
	font-size: 14px;
	color: var(--sub);
}

.ff-user-reviews__list,
.ff-user-reviews__replies {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-user-reviews__list > li {
	padding: 14px 0;
	border-top: 1px solid var(--line-2);
}

.ff-user-review header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 13px;
	color: var(--sub);
}

.ff-user-review header strong {
	font-size: 14px;
	color: var(--ink);
}

.ff-user-review__score {
	color: var(--ink);
	font-weight: 700;
}

.ff-user-review__body {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.7;
}

.ff-user-reviews__replies {
	margin-top: 10px;
	padding: 4px 14px;
	border-radius: var(--r-m);
	background: var(--bg);
}

.ff-user-review--reply {
	padding: 10px 0;
}

.ff-review-reply {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sub);
}

.ff-review-pages {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
}

.ff-review-pages a {
	color: var(--blue);
	font-weight: 700;
}

.ff-card--reviews .comment-respond {
	margin-top: 8px;
	padding: 20px 18px;
	border-radius: var(--r-l);
	background: var(--bg);
}

.ff-card--reviews .comment-reply-title {
	margin: 0 0 12px;
	font-size: 17px;
}

.ff-card--reviews .comment-reply-title small {
	margin-left: 8px;
	font-size: 13px;
}

.ff-review-form p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 12px;
}

.ff-review-form label,
.ff-review-rating legend {
	font-size: 14px;
	font-weight: 700;
}

.ff-review-form input[type="text"],
.ff-review-form input[type="email"],
.ff-review-form textarea,
.ff-report__form input[type="text"],
.ff-report__form input[type="email"],
.ff-report__form select,
.ff-report__form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: var(--card);
	font-size: 16px;
}

.ff-review-form textarea,
.ff-report__form textarea {
	min-height: 120px;
	resize: vertical;
}

.ff-review-rating {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.ff-review-rating legend span {
	font-weight: 400;
	color: var(--sub);
}

.ff-review-rating div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.ff-review-rating label {
	position: relative;
	font-weight: 500;
}

.ff-review-rating input {
	position: absolute;
	opacity: 0;
}

.ff-review-rating label span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--line);
	font-size: 14px;
	cursor: pointer;
}

.ff-review-rating label input:checked + span {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}

.ff-review-rating label input:focus-visible + span {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

.ff-review-form__note {
	font-size: 13px;
	color: var(--sub);
}

/* 로그인한 사람: '○○(으)로 로그인 됨 · 프로필 편집 · 로그아웃' 한 줄 */
.ff-review-form p.logged-in-as {
	display: block;
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--sub);
}

.ff-review-form p.logged-in-as a {
	color: var(--ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ff-review-form .required-field-message,
.ff-review-form .required {
	display: inline;
	margin-left: 4px;
	color: var(--sub);
}

.ff-review-form p.logged-in-as .required-field-message {
	display: block;
	margin-left: 0;
}

.ff-review-form p.form-submit {
	display: block;
	margin: 4px 0 0;
}

.ff-review-trap,
.ff-report__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ff-review-submit {
	align-self: flex-start;
	background: var(--ink);
	color: #fff;
}

.ff-review-submit:hover {
	background: var(--ink-2);
	color: #fff;
}

/* 출처 */
.ff-source {
	padding: 8px 8px 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sub);
}

.ff-source p {
	margin: 0 0 6px;
}

.ff-source a {
	color: var(--ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ff-source b {
	margin-right: 6px;
	color: var(--ink-2);
}

.ff-fix {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none !important;
	font-weight: 700;
}

/* 같은 분야 */
.ff-related {
	padding: 24px 0 56px;
}

.ff-related .ff-h2 {
	margin-bottom: 16px;
	font-size: 19px;
}

/* 모바일 아래 전화 띠 */
.ff-callbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
	background: var(--card);
	box-shadow: 0 -4px 20px rgba(25, 31, 40, 0.08);
}

.ff-callbar__txt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.3;
}

.ff-callbar__txt b {
	font-size: 17px;
	font-variant-numeric: tabular-nums;
}

.ff-callbar__txt .ff-live {
	padding: 0;
	background: transparent;
	font-weight: 500;
}

.ff-callbar .ff-btn {
	min-height: 52px;
}

.ff-callbar .ff-btn--primary {
	padding: 0 18px;
}

.ff-is-company .ff-foot,
.ff-is-branch .ff-foot {
	padding-bottom: 88px;
}

/* ------------------------------------------------------------------
 * 목록 페이지·문서·404
 * ---------------------------------------------------------------- */

.ff-list-page {
	max-width: 920px;
	padding-top: 24px;
	padding-bottom: 64px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ff-list-page__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.ff-list-page__head .ff-path {
	padding: 0;
}

.ff-list-page__head .ff-h1 {
	font-size: 28px;
}

.ff-list-page__head .ff-lead {
	font-size: 16px;
	color: var(--sub);
}

.ff-list-page__head .ff-lead p {
	margin: 0;
}

.ff-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ff-more {
	margin-top: 8px;
}

.ff-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.ff-pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.ff-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: var(--r-s);
	background: var(--chip);
	font-weight: 700;
}

.ff-pager .page-numbers.current {
	background: var(--ink);
	color: #fff;
}

.ff-doc {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 12px;
	padding-bottom: 56px;
}

.ff-main:has(.ff-doc),
.ff-main:has(.ff-lost) {
	background: var(--bg);
}

.ff-doc__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ff-doc__head .ff-post__date {
	margin: 0;
}

.ff-doc__img {
	margin: 0;
}

.ff-doc__img img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 240px;
	margin: 0 auto;
	border-radius: var(--r-m);
	object-fit: contain;
}

.ff-lost {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 32px;
	padding-bottom: 64px;
}

.ff-lost__code {
	margin: 0;
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	color: var(--line);
}

/* 동네 안내 상자 (지점 글) */
.ff-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 20px;
	border-radius: var(--r-l);
	background: var(--card);
}

/* 정보 수정 요청 */
.ff-report {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 8px;
}

.ff-report__note,
.ff-report__done,
.ff-report__fail {
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--r-m);
	background: var(--tint);
	font-size: 15px;
	line-height: 1.6;
}

.ff-report__fail {
	background: #fdecec;
}

.ff-report__form p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
}

.ff-report__form label {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

/* ------------------------------------------------------------------
 * 광고
 * ---------------------------------------------------------------- */

.ff-ad {
	position: relative;
	min-height: 100px;
	padding-top: 20px;
	overflow: hidden;
	text-align: center;
}

.ff-ad__tag {
	position: absolute;
	top: 0;
	left: 4px;
	font-size: 11px;
	color: var(--sub);
}

.ff-post .ff-ad--flow {
	padding: 22px 12px 12px;
	border-radius: var(--r-l);
	background: var(--card);
}

.ff-ad--side {
	display: none;
}

.ff-ad--desktop {
	display: none;
}

/* ------------------------------------------------------------------
 * 바닥글
 * ---------------------------------------------------------------- */

.ff-foot {
	background: var(--bg);
	border-top: 1px solid var(--line-2);
}

.ff-post + .ff-foot,
.ff-main:has(.ff-post) + .ff-foot {
	background: var(--card);
}

.ff-foot__in {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 40px;
	padding-bottom: 48px;
}

.ff-foot__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
}

.ff-foot__list a {
	color: var(--ink-2);
}

.ff-foot__note,
.ff-foot__copy {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--sub);
}

/* ------------------------------------------------------------------
 * 640px 이상
 * ---------------------------------------------------------------- */

@media (min-width: 640px) {
	.ff-shell,
	.ff-col {
		padding-left: 24px;
		padding-right: 24px;
	}

	.ff-hscroll {
		margin: 0 -24px;
		padding: 0 24px 4px;
	}

	.ff-h1 {
		font-size: 28px;
	}

	.ff-h2 {
		font-size: 21px;
	}

	.ff-card {
		padding: 32px;
		border-radius: var(--r-xl);
	}

	.ff-hero-card {
		padding: 36px 32px 30px;
	}

	.ff-logo {
		width: 56px;
		height: 56px;
		border-radius: 18px;
	}

	.ff-dial__num {
		font-size: 48px;
	}

	.ff-hours__big {
		font-size: 34px;
	}

	.ff-hero__title {
		font-size: 40px;
	}

	.ff-fields {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 28px 12px;
	}

	.ff-field__n {
		font-size: 15px;
	}

	.ff-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.ff-ncard {
		padding: 24px;
	}

	.ff-nav__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ff-ad--desktop {
		display: block;
	}

	.ff-ad--mobile {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * 1024px 이상 (PC)
 * ---------------------------------------------------------------- */

@media (min-width: 1024px) {
	:root {
		--top-h: 64px;
	}

	.admin-bar .ff-top {
		top: 32px;
	}

	.admin-bar .ff-tabs {
		top: calc(var(--top-h) + 32px);
	}

	.ff-top__bar {
		gap: 36px;
	}

	.ff-brand {
		margin-right: 0;
	}

	.ff-top__btns {
		display: none;
	}

	.ff-nav,
	.ff-top.is-menu .ff-nav {
		display: block;
		position: static;
		padding: 0;
		overflow: visible;
	}

	.ff-nav__list {
		flex-direction: row;
		gap: 20px;
		white-space: nowrap;
	}

	.ff-nav__list a {
		min-height: 40px;
		font-size: 15px;
		font-weight: 500;
		color: var(--sub);
	}

	.ff-nav__list a:hover,
	.ff-nav__list .current-menu-item a {
		color: var(--ink);
	}

	.ff-nav__cats,
	.ff-nav__m {
		display: none;
	}

	/* 분야 4개 + 전체 분야 (넓은 화면은 6개). */
	.ff-nav__pc {
		display: list-item;
	}

	.ff-nav__pc:nth-child(n+5):not(.ff-nav__all) {
		display: none;
	}

	.ff-nav__list .ff-nav__all a,
	.ff-nav__list .ff-nav__all a:hover {
		color: var(--blue);
		font-weight: 700;
	}

	.ff-find--top {
		display: block;
		flex: 0 1 300px;
		margin-left: auto;
	}

	.ff-find--top .ff-find__box {
		height: 40px;
	}

	.ff-find--top .ff-find__input {
		font-size: 15px;
	}

	.ff-find--top .ff-pop {
		left: auto;
		width: 420px;
	}

	.ff-top.is-searching .ff-find--top {
		position: relative;
		inset: auto;
		padding: 0;
		background: transparent;
	}

	.ff-top.is-searching .ff-find--top .ff-find__back {
		display: none;
	}

	.ff-top.is-searching .ff-find--top .ff-find__box {
		margin-left: 0;
	}

	.ff-top.is-searching .ff-find--top .ff-pop {
		position: absolute;
		max-height: min(70vh, 560px);
		margin-top: 0;
		padding: 8px;
		box-shadow: 0 12px 40px rgba(25, 31, 40, 0.14);
	}

	.ff-hero {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		align-items: center;
		gap: 56px;
		padding-top: 72px;
		padding-bottom: 88px;
	}

	.ff-hero__title {
		font-size: 48px;
		line-height: 1.28;
	}

	.ff-hero__desc {
		font-size: 19px;
	}

	.ff-panel {
		padding: 28px;
	}

	.ff-home__body {
		gap: 96px;
		padding-bottom: 96px;
	}

	.ff-sec__head .ff-h2 {
		font-size: 26px;
	}

	.ff-fields {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.ff-tile {
		width: 64px;
		height: 64px;
		border-radius: 22px;
	}

	.ff-tile--sm {
		width: 44px;
		height: 44px;
		border-radius: 14px;
	}

	.ff-tile--lg {
		width: 64px;
		height: 64px;
	}

	.ff-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ff-rows--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ff-mini-card {
		width: 270px;
	}

	.ff-post {
		padding-top: 24px;
	}

	.ff-tabs {
		margin-top: 20px;
	}

	.ff-tabs__in {
		gap: 28px;
	}

	.ff-tabs a {
		padding: 16px 0 14px;
		font-size: 16px;
	}

	.ff-post__body {
		padding-top: 20px;
		padding-bottom: 48px;
	}

	.ff-callbar {
		display: none;
	}

	.ff-is-company .ff-foot,
	.ff-is-branch .ff-foot {
		padding-bottom: 0;
	}

	.ff-list-page {
		padding-top: 48px;
	}

	.ff-list-page__head .ff-h1 {
		font-size: 36px;
	}

	.ff-related {
		padding: 32px 0 72px;
	}

	.ff-related .ff-h2 {
		font-size: 22px;
	}

	.ff-foot__in {
		gap: 18px;
		padding-top: 56px;
		padding-bottom: 64px;
	}

	.ff-foot__list {
		gap: 10px 32px;
	}
}

/* 데스크톱에서 PC 전용 QR (모바일은 바로 전화) */
@media (min-width: 1280px) {
	.ff-nav__list {
		gap: 24px;
	}

	.ff-nav__pc:nth-child(n+5):not(.ff-nav__all) {
		display: list-item;
	}
}

@media (max-width: 1023px) {
	.ff-qr {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.ff-top,
	.ff-tabs,
	.ff-callbar,
	.ff-ad,
	.ff-foot,
	.ff-related {
		display: none !important;
	}

	.ff-post {
		background: #fff;
	}
}
