/* 기능설명: 홈.png의 본문 비율을 공통 헤더·푸터 사이에 그대로 구성합니다. */
.preview-home { background: var(--frit-white); color: var(--k-color-slate-900); }
.preview-home .preview-shell { width: min(100% - 64px, 1260px); }
.preview-home-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--frit-primary-softBack), var(--frit-white), var(--k-border-color-light)); }
.preview-home-hero-photo { position: absolute; inset: 0 0 0 auto; width: 51%; height: 100%; }
.preview-home-hero-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--frit-primary-softBack), transparent 22%); content: ""; }
.preview-home-hero-inner { position: relative; padding: 48px 16px 26px; }
.preview-home-hero h1 { margin: 0; font-size: 44px; font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.preview-home-hero h1 em { display: inline-block; color: var(--frit-primary); font-size: 55px; font-style: italic; font-weight: 900; line-height: 1.08; letter-spacing: -.04em; }
.preview-home-lead { margin: 12px 0 18px; color: var(--k-color-slate-600); font-size: 16px; line-height: 1.5; }
.preview-home-search { width: 57%; height: 50px; }
.preview-home-search .btn-freemode { min-width: 48px; height: 38px; padding: 0; }
.preview-home-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.preview-home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 58%; }
.preview-home-shortcuts a { display: flex; align-items: center; gap: 10px; min-height: 70px; padding: 12px; border: 1px solid var(--k-border-color); border-radius: var(--k-radius-md); background: var(--frit-white); color: var(--k-color-slate-900); text-decoration: none; }
.preview-home-shortcuts a > i { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 50%; background: var(--frit-primary-soft); color: var(--frit-primary); font-size: 20px; }
.preview-home-shortcuts strong, .preview-home-shortcuts small { display: block; }
.preview-home-shortcuts strong { font-size: 14px; }
.preview-home-shortcuts small { margin-top: 4px; color: var(--k-color-slate-600); font-size: 11px; white-space: nowrap; }
.preview-home-stats { display: flex; justify-content: space-between; gap: 16px; min-height: 70px; padding: 16px; border-radius: var(--k-radius-md); background: var(--frit-white); }
.preview-home-stats > span { display: flex; align-items: center; gap: 8px; }
.preview-home-stats i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--frit-primary-soft); color: var(--frit-primary); font-size: 13px; }
.preview-home-stats strong, .preview-home-stats small { display: block; }
.preview-home-stats strong { font-size: 14px; }
.preview-home-stats small { margin-top: 3px; color: var(--k-color-slate-600); font-size: 9px; white-space: nowrap; }
.preview-home-section { padding-top: 34px; }
.home-preview-section-head { 
		display: flex; 
		align-items: center; 
		flex-wrap: wrap; 
		gap: 12px; 
		margin-bottom: 32px; 
	}
.home-preview-section-head h2 { 
	margin: 0; 
	font-size: 24px; 
	font-weight: 600; 
	line-height: 1.4;
	letter-spacing: -.035em; 
}
.home-preview-section-head p { margin: 0; color: var(--k-color-slate-600); font-size: 12px; }
.home-preview-section-head > a { 
	margin-left: auto; 
	color: var(--frit-primary); 
	font-size: 13px; 
	font-weight: 600;
	text-decoration: none; 
	white-space: nowrap; 
}
.home-preview-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.home-preview-chips button { padding: 6px 9px; border: 0; border-radius: var(--k-radius-md); background: var(--frit-primary-softBack); color: var(--k-color-slate-600); font: inherit; font-size: 10px; cursor: pointer; }
.home-preview-chips button.is-active { background: var(--frit-primary); color: var(--frit-white); }
.preview-home-tabs { display: flex; gap: 17px; margin: -4px 0 8px; }
.preview-home-tabs button { padding: 7px 14px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--k-color-slate-600); font: inherit; font-size: 13px; cursor: pointer; }
.preview-home-tabs button.is-active { border-color: var(--frit-primary); color: var(--frit-primary); font-weight: 700; }
.preview-home-project-grid, .preview-home-business-grid, .preview-home-talent-grid { 
		display: grid; 
		grid-template-columns: repeat(5, minmax(0, 1fr)); 
		gap: 12px; 
	}
.preview-home-project-card { min-width: 0; padding: 13px 14px 9px; border: 1px solid var(--k-border-color); border-radius: var(--k-radius-md); }
.preview-home-project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.preview-home-project-top > div { min-width: 0; }
.preview-home-project-top .reference-media { width: 43%; aspect-ratio: 1.55; border-radius: var(--k-radius-sm); }
.home-preview-category { display: inline-block; padding: 3px 8px; border-radius: var(--k-radius-md); background: var(--frit-primary-soft); color: var(--frit-primary); font-size: 12px; }
.home-preview-category--marketing { background: var(--k-bg-danger-soft-100); color: var(--k-color-red-450); }
.preview-home-project-card h3 { margin: 9px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.preview-home-project-card h3 a { color: inherit; text-decoration: none; }
.preview-home-project-card > p { margin: 12px 0 17px; color: var(--k-color-slate-600); font-size: 13px; line-height: 1.5; }
.preview-home-project-location { display: flex; gap: 10px; color: var(--k-color-slate-600); font-size: 12px; }
.preview-home-project-location > span { color: var(--k-border-color); }
.preview-home-project-footer { display: flex; align-items: center; gap: 20px; margin-top: 12px; color: var(--k-color-slate-600); font-size: 11px; }
.preview-home-project-footer strong { font-weight: 500; }
.preview-home-project-footer .business-preview-save { margin-left: auto; }
.preview-home-business-card { min-width: 0; overflow: hidden; border: 1px solid var(--k-border-color); border-radius: var(--k-radius-md); }
.preview-home-business-card a { color: inherit; text-decoration: none; }
/* 기능설명: 목록 전용 이미지를 정사각형으로 맞추고 미등록 상태를 같은 크기로 표시합니다. */
.preview-home-business-cover { display: grid; width: 100%; aspect-ratio: 1; overflow: hidden; place-items: center; background: var(--frit-primary-softBack); color: var(--frit-muted); font-size: 12px; }
.preview-home-business-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-home-business-body { padding: 16px 16px 12px; }
.preview-home-business-logo { position: relative; display: grid; width: 55px; height: 55px; margin-top: -34px; margin-bottom: 10px; place-items: center; border: 3px solid var(--frit-white); border-radius: 50%; background: var(--frit-white); color: var(--k-color-slate-900); font-size: 31px; font-weight: 800; }
.preview-home-business-logo--2 { color: var(--k-color-emerald-800); font-size: 24px; font-weight: 500; }
.preview-home-business-logo--3 { font-size: 22px; }
.preview-home-business-body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.preview-home-business-body > p { margin: 0; color: var(--k-color-slate-600); font-size: 13px; }
.preview-home-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.preview-home-skills span { padding: 5px 8px; border-radius: var(--k-radius-sm); background: var(--frit-primary-soft); color: var(--k-color-slate-600); font-size: 11px; }
.preview-home-card-meta { display: flex; align-items: center; gap: 10px; color: var(--k-color-slate-600); font-size: 11px; white-space: nowrap; }
.preview-home-card-meta i { margin-right: 5px; }
.preview-home-card-meta .business-preview-save { margin-left: auto; }
.preview-home-talent-card { position: relative; display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 10px 10px 28px; border: 1px solid var(--k-border-color); border-radius: var(--k-radius-md); }
.preview-home-talent-card > .reference-media, .preview-home-talent-photo { width: 38%; aspect-ratio: .66; border-radius: var(--k-radius-md); }
/* 기능설명: 실제 프로필 사진과 사진 없는 상태를 같은 카드 영역에 배치합니다. */
.preview-home-talent-photo { display: grid; flex: none; place-items: center; overflow: hidden; background: var(--frit-primary-softBack); color: var(--frit-muted); }
.preview-home-talent-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-home-talent-card a { color: inherit; text-decoration: none; }
[data-home-card][hidden] { display: none; }
.preview-home-talent-card > div { min-width: 0; flex: 1; }
.preview-home-talent-card h3 { margin: 6px 0 5px; font-size: 15px; font-weight: 700; }
.preview-home-talent-card strong { font-size: 12px; font-weight: 500; }
.preview-home-talent-card p { margin: 12px 0; color: var(--k-color-slate-600); font-size: 12px; line-height: 1.5; }
.preview-home-talent-card .preview-home-skills { gap: 4px; }
.preview-home-talent-card .preview-home-skills span { padding: 4px 5px; font-size: 9px; }
.preview-home-talent-card .preview-home-card-meta { gap: 5px; font-size: 10px; }
.preview-home-talent-card > .business-preview-save { position: absolute; right: 9px; bottom: 8px; }
.preview-home-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0; padding: 15px 30px 15px 8px; border-radius: var(--k-radius-xl); background: var(--frit-primary-soft); }
.preview-home-cta > .reference-media { width: 180px; aspect-ratio: 1.44; }
.preview-home-cta h2 { margin: 8px 0 0; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }
.preview-home-cta p { margin: 0; color: var(--k-color-slate-600); font-size: 12px; }
.preview-home-cta .btn-freemode { flex: none; }
.preview-home-cta ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--k-color-slate-600); font-size: 12px; }
.preview-home-cta li i { margin-right: 9px; color: var(--frit-primary); }
.preview-home-bridge { padding: 30px 0; border-top: 1px solid var(--k-border-color); }
.preview-home-bridge .preview-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.preview-home-bridge h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.preview-home-bridge p { margin: 0; color: var(--k-color-slate-600); font-size: 13px; line-height: 1.5; }
.preview-home-bridge-brand { display: flex; align-items: center; gap: 12px; }
.preview-home-bridge-brand > span { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: var(--frit-primary-soft); color: var(--frit-primary); font-size: 34px; font-weight: 900; font-style: italic; }
.preview-home-bridge-brand strong { display: block; font-size: 20px; }
.preview-home-bridge small { display: block; margin-top: 5px; color: var(--k-color-slate-600); font-size: 11px; }
.preview-home-bridge-step { text-align: center; }
.preview-home-bridge-step > i { display: grid; width: 40px; height: 40px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: var(--frit-primary-soft); color: var(--frit-primary); }
.preview-home-bridge .preview-shell > i { color: var(--k-color-slate-600); font-size: 12px; }
.preview-home .business-preview-disclaimer { padding-bottom: 16px; }
@media (max-width: 1199px) {
    .preview-home-hero h1 { font-size: 36px; }
    .preview-home-hero h1 em { font-size: 48px; }
    .preview-home-hero-inner { padding: 42px 0 22px; }
    .preview-home-shortcuts { width: 59%; gap: 8px; }
    .preview-home-shortcuts a { padding: 10px 8px; gap: 8px; }
    .preview-home-shortcuts small { font-size: 9px; }
    .preview-home-shortcuts strong { font-size: 12px; }
    .preview-home-stats { padding: 12px; gap: 12px; }
    .preview-home-stats i { width: 24px; height: 24px; font-size: 10px; }
    .home-preview-section-head h2 { font-size: 21px; }
    .home-preview-section-head p { font-size: 10px; }
    .home-preview-chips { gap: 4px; }
    .home-preview-chips button { padding: 6px 7px; font-size: 9px; }
    .preview-home-project-card { padding: 11px; }
    .preview-home-project-card h3 { font-size: 13px; }
    .preview-home-project-card > p { font-size: 11px; }
    .preview-home-business-body { padding-inline: 12px; }
    .preview-home-business-body h3 { font-size: 15px; }
    .preview-home-business-body > p { font-size: 12px; }
    .preview-home-card-meta { gap: 6px; font-size: 10px; }
    .preview-home-talent-card { gap: 10px; }
    .preview-home-talent-card h3 { font-size: 13px; }
    .preview-home-talent-card strong, .preview-home-talent-card p { font-size: 10px; }
    .preview-home-talent-card .preview-home-card-meta { flex-wrap: wrap; font-size: 9px; }
    .preview-home-cta { gap: 18px; padding-right: 22px; }
    .preview-home-cta > .reference-media { width: 150px; }
    .preview-home-cta h2 { font-size: 20px; }
    .preview-home-bridge .preview-shell { flex-wrap: wrap; }
}
@media (max-width: 900px) {
    .preview-home-hero-photo { width: 58%; opacity: .7; }
    .preview-home-hero-bottom { align-items: stretch; flex-direction: column; gap: 12px; }
    .preview-home-shortcuts { width: 100%; }
    .preview-home-stats { justify-content: center; gap: 35px; align-self: flex-start; }
    .preview-home-project-grid, .preview-home-business-grid, .preview-home-talent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-preview-chips { order: 4; width: 100%; }
    .home-preview-section-head > a { margin-left: auto; }
    .preview-home-cta { flex-wrap: wrap; justify-content: flex-start; }
    .preview-home-cta ul { margin-left: 30px; }
}
@media (max-width: 575px) {
    .preview-home .preview-shell { width: calc(100% - 32px); }
    .preview-home-hero-inner { padding-top: 30px; }
    .preview-home-hero h1 { font-size: 30px; }
    .preview-home-hero h1 em { font-size: 42px; }
    .preview-home-lead { max-width: 285px; font-size: 13px; }
    .preview-home-lead br { display: none; }
    .preview-home-search { width: 100%; }
    .preview-home-shortcuts { gap: 6px; }
    .preview-home-shortcuts a { flex-direction: column; align-items: flex-start; }
    .preview-home-shortcuts small { white-space: normal; }
    .preview-home-stats { width: 100%; gap: 12px; justify-content: space-between; }
    .preview-home-project-grid, .preview-home-talent-grid { grid-template-columns: 1fr; }
    .preview-home-business-grid { gap: 8px; }
    .preview-home-business-logo { width: 44px; height: 44px; margin-top: -26px; }
    .preview-home-business-body > p { min-height: 34px; }
    .preview-home-card-meta { flex-wrap: wrap; }
    .preview-home-talent-card > .reference-media, .preview-home-talent-photo { width: 90px; }
    .preview-home-talent-card p, .preview-home-talent-card strong { font-size: 12px; }
    .preview-home-cta { padding: 16px; }
    .preview-home-cta > .reference-media { width: 85px; }
    .preview-home-cta h2 { font-size: 18px; }
    .preview-home-cta > div { flex: 1; }
    .preview-home-cta ul { margin-left: 0; font-size: 11px; }
    .preview-home-bridge .preview-shell > div:first-child { width: 100%; }
    .preview-home-bridge .preview-shell > i, .preview-home-bridge-step { display: none; }
}

/* 기능설명: 공개 메인과 스타일 가이드에서 참고 이미지의 전문가·프리랜서 배열을 공유합니다. */
.frit-home-showcase {
    padding-block: 60px;
}

.frit-home-showcase .preview-home-section {
    padding-top: 0;
}

.frit-home-showcase .preview-home-section + .preview-home-section {
    margin-top: 60px;
}

.frit-home-showcase .home-preview-section-head,
.frit-home-showcase .preview-home-section .recruit-section-head {
    gap: 16px;
    margin-bottom: 32px;
}

.frit-home-showcase .home-preview-section-head h2,
.frit-home-showcase .preview-home-section .recruit-section-title {
    color: var(--frit-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.frit-home-showcase .preview-home-business-grid,
.frit-home-showcase .preview-home-talent-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 16px;
}

/* 기능설명: 메인과 비즈니스 목록에서 정사각형 이미지 중심의 공통 전문가 카드를 표시합니다. */
:is(.frit-home-showcase, .business-preview-list) .preview-home-business-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
}

:is(.frit-home-showcase, .business-preview-list) .preview-home-business-cover {
    aspect-ratio: 1 / 1;
    border-radius: var(--k-radius-sm);
}

:is(.frit-home-showcase, .business-preview-list) .preview-home-business-body {
    padding: 12px 2px 0;
}

:is(.frit-home-showcase, .business-preview-list) .preview-home-business-body :is(h2, h3) {
    overflow: hidden;
    margin: 0;
    color: var(--frit-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.frit-home-showcase .preview-home-business-body > p,
.frit-home-showcase .preview-home-business-body .preview-home-card-meta {
    display: none;
}

/* 기능설명: 카테고리 아래에 기존 공통 스킬 뱃지를 줄바꿈하여 표시합니다. */
.frit-home-showcase .preview-home-business-category {
    margin-top: 6px;
    color: var(--frit-muted);
    font-size: 12px;
    line-height: 1.5;
}

.frit-home-showcase .preview-home-business-body .preview-home-skills {
    margin: 8px 0 0;
}

.frit-home-showcase .preview-home-business-body .preview-home-skills span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* 기능설명: 프리랜서의 원형 사진과 실제 프로필 정보를 가운데 정렬합니다. */
.frit-home-showcase .preview-home-talent-card {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 14px 14px;
    border-color: var(--frit-border);
    background: var(--frit-white);
    text-align: center;
}

.frit-home-showcase .preview-home-talent-photo {
    width: 80px;
    height: 80px;
    aspect-ratio: 1;
    border-radius: var(--k-radius-pill);
}

.frit-home-showcase .preview-home-talent-card > div {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.frit-home-showcase .preview-home-talent-card h3 {
    margin: 0 0 6px;
    color: var(--frit-ink);
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.frit-home-showcase .preview-home-talent-card strong {
    color: var(--frit-muted);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.frit-home-showcase .preview-home-talent-card p {
    margin: 4px 0 0;
    color: var(--frit-muted);
    font-size: 12px;
}

.frit-home-showcase .preview-home-talent-card .preview-home-skills {
    justify-content: center;
    gap: 4px;
    margin: 14px 0 8px;
}

.frit-home-showcase .preview-home-talent-card .preview-home-skills span {
    padding: 4px 6px;
    background: var(--frit-talent-skill-background);
    color: var(--frit-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.frit-home-showcase .preview-home-talent-card .preview-home-card-meta {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    font-size: 11px;
    white-space: normal;
}

/* 메인과 목록의 전문가 카드는 이미지 위 인증·분야와 이름 아래 한줄소개를 표시합니다. */
:is(.recruit-home-partners, .business-preview-list) .preview-home-business-cover {
    position: relative;
}

:is(.recruit-home-partners, .business-preview-list) .preview-home-business-badges {
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

:is(.recruit-home-partners, .business-preview-list) .preview-home-business-badges .frit-quote-business-badge {
    padding: 1px 7px;
    background: var(--frit-white);
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
}

:is(.recruit-home-partners, .business-preview-list) .preview-home-business-body :is(h2, h3) {
    display: flex;
    align-items: center;
    gap: 4px;
}

:is(.recruit-home-partners, .business-preview-list) .preview-home-business-body :is(h2, h3) > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frit-home-showcase.recruit-home-partners .preview-home-business-body > p,
.business-preview-list .preview-home-business-body p {
    display: block;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--frit-text);
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-preview-list .preview-home-business-body p {
    min-height: 0;
}

/* 전문가 찾기는 분야 탭 아래 필터·건수·정렬과 경험 업종을 포함한 5열 카드를 배치합니다. */
.business-preview-list .business-preview-hero {
    padding: 40px 0 16px;
}

body.frit-page .business-preview-list .business-preview-filters {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

/* 경험 업종은 110px, 지역 선택은 100px로 고정하고 메뉴도 같은 너비로 표시합니다. */
.business-preview-list .business-preview-filters > .frit-activity-select {
    padding-left: 0;
}

.business-preview-list .business-preview-filters > .business-directory-industry {
    width: 110px;
}

.business-preview-list .business-preview-filters > .business-directory-region {
    width: 100px;
}

.business-preview-list .business-preview-filters > .frit-activity-select::before {
    content: none;
}

.business-preview-list .business-preview-filters > .frit-activity-select .frit-activity-select-trigger {
    width: 100%;
    box-sizing: border-box;
    height: 36px;
    padding: 0 14px;
    justify-content: space-between;
    border: 1px solid var(--frit-border);
    border-radius: var(--k-radius-md);
    font-weight: 400;
}

.business-preview-list .business-preview-filters > .frit-activity-select .frit-activity-select-trigger i {
    color: var(--k-color-gray-aaa);
    font-size: 14px;
}

.business-preview-list .business-preview-filters > .frit-activity-select .frit-activity-select-menu {
    right: auto;
    left: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    max-height: 50vh;
    overflow-y: auto;
}

.business-preview-list .business-preview-filters > .frit-activity-select .frit-activity-select-menu button {
    white-space: normal;
    overflow-wrap: anywhere;
}

.business-directory-toggle {
    position: relative;
    cursor: pointer;
}

.business-directory-toggle > span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--frit-border);
    border-radius: var(--k-radius-md);
    background: var(--frit-white);
    color: var(--frit-ink);
    font-size: 14px;
}

.business-directory-toggle input:checked + span {
    border-color: var(--frit-primary);
}

.business-directory-toggle input:focus-visible + span {
    outline: 2px solid var(--frit-primary);
    outline-offset: 2px;
}

.business-preview-list .business-preview-grid {
    gap: 52px;
}

.business-preview-list .preview-home-business-body .business-preview-card-industries {
    color: var(--frit-muted);
    font-size: 12px;
    line-height: 1.5;
}

.business-preview-list .preview-home-business-body .business-preview-card-industries[hidden] {
    display: none;
}

@media (max-width: 1199px) {
    .business-preview-list .business-preview-grid {
        gap: 32px 24px;
    }
}

@media (max-width: 767px) {
    .business-preview-list .business-preview-hero {
        padding-top: 24px;
    }

    .business-directory-summary {
        justify-content: flex-end;
        width: 100%;
        margin-top: 8px;
    }

    .business-preview-list .business-preview-grid {
        gap: 28px 16px;
    }
}

/* 메인의 프리랜서는 NEW 표시와 한 줄 조건, 최대 다섯 기술 및 초과 개수를 사용합니다. */
.recruit-home-partners .preview-home-talent-card {
    position: relative;
    padding: 24px 14px;
}

.recruit-home-partners .preview-home-talent-new {
    position: absolute;
    top: 10px;
    left: 10px;
}

.recruit-home-partners .preview-home-talent-card h3 {
    font-size: 14px;
}

.frit-home-showcase.recruit-home-partners .preview-home-talent-facts {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.recruit-home-partners .preview-home-talent-facts > span {
    flex: none;
}

.recruit-home-partners .preview-home-talent-facts > span:first-child {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recruit-home-partners .preview-home-talent-facts > span + span {
    margin-left: 6px;
    padding-left: 6px;
    border-left: 1px solid var(--frit-border);
}

.frit-home-showcase.recruit-home-partners .preview-home-talent-card .preview-home-skills {
    margin: 20px 0 0;
}

.frit-home-showcase.recruit-home-partners .preview-home-talent-card .preview-home-skills span {
    padding: 3px 8px;
    border-radius: var(--k-radius-pill);
    color: var(--frit-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* 기능설명: 하단 프로젝트와 작업 의뢰는 기존 공통 카드의 정보를 유지하면서 4열 밀도로 맞춥니다. */
.frit-home-showcase .preview-home-section .recruit-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.frit-home-showcase .preview-home-section .recruit-content-card {
    min-height: 200px;
    padding: 16px;
}

.frit-home-showcase .preview-home-section .frit-project-card-title {
    margin-top: 12px;
    font-size: 15px;
}

.frit-home-showcase .preview-home-section .frit-project-card-company,
.frit-home-showcase .preview-home-section .frit-project-card-summary,
.frit-home-showcase .preview-home-section .frit-home-project-meta {
    font-size: 13px;
}

.frit-home-showcase .preview-home-section .frit-project-card-summary {
    margin-top: 16px;
}

.frit-home-showcase a:focus-visible {
    outline: 2px solid var(--frit-primary);
    outline-offset: 3px;
}

.frit-home-showcase a:hover h3,
.frit-home-showcase h3 a:hover {
    color: var(--frit-primary);
}

.frit-home-showcase [hidden] {
    display: none;
}

/* 기능설명: 좁은 화면에서는 카드의 읽기 순서를 유지하며 열 수와 간격을 줄입니다. */
@media (max-width: 1199px) {
    .frit-home-showcase .preview-home-business-grid,
    .frit-home-showcase .preview-home-talent-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .frit-home-showcase .preview-home-section .recruit-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .frit-home-showcase {
        padding-block: 32px;
    }

    .frit-home-showcase .preview-home-section + .preview-home-section {
        margin-top: 32px;
    }

    .frit-home-showcase .home-preview-section-head h2,
    .frit-home-showcase .preview-home-section .recruit-section-title {
        font-size: 22px;
    }

    .frit-home-showcase .preview-home-business-grid,
    .frit-home-showcase .preview-home-talent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .frit-home-showcase .preview-home-section .recruit-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479px) {
    .frit-home-showcase .preview-home-business-grid,
    .frit-home-showcase .preview-home-talent-grid {
        grid-template-columns: 1fr;
    }
}
