body, button, input, textarea, select {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important; 
    background-color: #f3f4f6;
    color: #333;
}

/* 컨테이너 최대 너비 1280px 설정 */
.container {
    max-width: 1280px !important;
}

.kf-header {
    background-color: #fff;
    border-bottom: none;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    position: relative;
}

@media (max-width: 1023px) {
    .kf-header {
        z-index: 110 !important;
    }
}

.kf-nav-link {
    color: #4b5563;
    font-weight: 400;
    padding: 1.5rem 1.2rem;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    text-align: center;
}

.kf-nav-link:hover, .kf-nav-link.active {
    color: var(--kf-navy);
    background-color: #f8fafc;
    border-bottom-color: var(--kf-navy);
    font-weight: 700;
}

/* 모바일 메뉴 애니메이션 */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: relative;
    z-index: 110;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
    position: relative;
    z-index: 110;
}

/* 히어로 드롭다운 스타일 */
.kf-custom-dropdown {
    position: relative;
    width: 100%;
    z-index: 100;
}

/* PC에서 검색창 최대 너비 460px */
@media (min-width: 768px) {
    .kf-custom-dropdown {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
}
.kf-dropdown-trigger {
    height: 63px;
    background-color: white;
    color: #6b7280;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    z-index: 101;
}
.kf-dropdown-trigger:hover {
    border-color: #cbd5e0;
}
.kf-dropdown-trigger.active {
    border-color: var(--kf-blue);
    box-shadow: 0 0 0 4px rgba(0, 109, 187, 0.2);
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: none;
    z-index: 103;
}

.kf-dropdown-trigger .dropdown-open-text {
    font-size: clamp(0.75rem, 2vw, 1rem);
    white-space: normal;
    line-height: 1.4;
    text-align: center;
}
.kf-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 2px solid var(--kf-blue);
    border-top: 2px solid var(--kf-blue);
    z-index: 102;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    padding: 0.5rem 0;
    margin-top: -2px; /* border-top과 겹치도록 하여 레이아웃 시프트 방지 */
    /* 스크롤바 숨기기 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Chrome, Safari, Opera 스크롤바 숨기기 */
.kf-dropdown-list::-webkit-scrollbar {
    display: none;
}
.kf-dropdown-list.show {
    display: block;
    animation: fadeIn 0.15s ease-out;
}
.kf-dropdown-opt {
    padding: 0.75rem 1.25rem;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

/* 모바일에서 업종코드 항목 1줄로 표시 (말줄임표) */
@media (max-width: 767px) {
    .kf-dropdown-opt {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.kf-dropdown-opt:hover {
    background-color: #f7fafc;
    color: var(--kf-blue);
}

/* 히어로 배경 그라데이션 */
.kf-hero {
    background: linear-gradient(to right, #002870, #006dbb);
    color: white;
    position: relative;
    overflow: visible;
    z-index: 50;
}

/* 히어로 컨테이너 overflow 조정 */
.kf-hero .container {
    overflow: visible;
}

.kf-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none; /* 마우스 이벤트 통과 */
    z-index: 1;
}

/* 히어로 컨텐츠 레이어 */
.kf-hero > * {
    position: relative;
    z-index: 10;
}

.post-card {
    border: 1px solid var(--kf-border);
    border-radius: 4px;
    transition: all 0.2s;
}
.post-card:hover {
    border-color: var(--kf-blue);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.category-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 4px;
    background-color: #f0f6fc;
    color: var(--kf-navy);
    border: 1px solid #dbeafe;
}

.badge-region { 
    background-color: #f8fafc !important; 
    color: #64748b !important; 
    border: 1px solid #e2e8f0 !important; 
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #f8fafc;
    border-radius: 4px;
    border: 1px solid #f1f5f9;
}
.spec-item span:first-child { color: #6b7280; margin-right: 4px; }
.spec-item span:last-child { color: #1e293b; font-weight: 600; }

/* 입주가능코드 2줄 제한 */
.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 모바일에서 입주가능코드 1줄 제한 */
@media (min-width: 768px) {
    .md\:line-clamp-1 {
        display: -webkit-box;
        line-clamp: 1;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.widget-box {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--kf-navy);
}

/* 사이드바 sticky 및 폭 고정 */
.kf-sidebar {
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    height: fit-content !important;
}

/* 사이드바 전화번호 링크 깜박임 방지 */
.widget-box a[href^="tel:"] {
    color: var(--kf-navy) !important;
    text-decoration: none;
    transition: color 0.2s ease;
    will-change: auto;
}

.widget-box a[href^="tel:"]:hover {
    color: var(--kf-blue) !important;
}

@media (min-width: 1024px) {
    .kf-sidebar {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        flex: 0 0 240px !important;
    }
    
    /* Tailwind 그리드 시스템 무시 */
    .grid > .kf-sidebar.lg\\:col-span-3 {
        grid-column: span 3 / span 3;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--kf-navy);
    border-left: 4px solid var(--kf-navy);
    padding-left: 1rem;
}

/* Gutenberg 제목 블록 폰트 크기 */
.wp-block-heading h1,
h1.wp-block-heading {
    font-size: 36px !important;
    font-weight: 700;
}

.wp-block-heading h2,
h2.wp-block-heading {
    font-size: 28px !important;
    font-weight: 700;
}

.wp-block-heading h3,
h3.wp-block-heading {
    font-size: 20px !important;
    font-weight: 700;
}

.wp-block-heading h4,
h4.wp-block-heading {
    font-size: 18px !important;
    font-weight: 700;
}

.wp-block-heading h5,
h5.wp-block-heading {
    font-size: 16px !important;
    font-weight: 700;
}

.wp-block-heading h6,
h6.wp-block-heading {
    font-size: 14px !important;
    font-weight: 700;
}

/* 지역필터 알약 모양 버튼 */
.region-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.region-filter-btn {
    padding: 2px 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
    background-color: white;
    color: #6b7280;
    white-space: nowrap;
    line-height: 1.5;
}

.region-filter-btn:hover {
    background-color: #f9fafb;
    border-color: var(--kf-blue);
    color: var(--kf-blue);
}

.region-filter-btn.active {
    background-color: var(--kf-blue);
    color: white;
    border-color: var(--kf-blue);
}

.region-filter-btn.active:hover {
    background-color: #005fa3;
    border-color: #005fa3;
}

/* 구분필터 버튼 스타일 (공급정보 페이지) */
.news-type-filter-btn {
    padding: 2px 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
    background-color: white;
    color: #6b7280;
    white-space: nowrap;
    line-height: 1.5;
}

.news-type-filter-btn:hover {
    background-color: #f9fafb;
    border-color: var(--kf-blue);
    color: var(--kf-blue);
}

.news-type-filter-btn.active {
    background-color: var(--kf-blue);
    color: white;
    border-color: var(--kf-blue);
}

.news-type-filter-btn.active:hover {
    background-color: #005fa3;
    border-color: #005fa3;
}

/* 브레드크럼 지역필터 드롭다운 (다른 곳에서 사용할 수 있으므로 유지) */
.breadcrumb-dropdown-container {
    position: relative;
    display: inline-block;
}
.breadcrumb-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.2s;
}
.breadcrumb-dropdown-trigger:hover {
    background-color: #f3f4f6;
    color: var(--kf-blue);
}
.breadcrumb-list {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 140px;
    z-index: 50;
    display: none;
    padding: 4px 0;
}
.breadcrumb-list.show {
    display: block;
}
.breadcrumb-opt {
    display: block;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}
.breadcrumb-opt:hover {
    background-color: #f9fafb;
    color: var(--kf-blue);
}

/* 상세 페이지 커스텀 탭 스타일 */
.kf-tab-btn {
    flex: 1;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 700;
    color: #4b5563;
    border-bottom: 3px solid #e5e7eb;
    transition: all 0.2s;
}
.kf-tab-btn:hover {
    color: var(--kf-navy);
    background-color: #f9fafb;
}
.kf-tab-btn.active {
    color: var(--kf-navy);
    border-bottom-color: var(--kf-navy);
    background-color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 로딩 스피너 */
.kf-spinner {
    display: inline-block;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

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

/* 산업단지 상세 페이지 스타일 */

.kf-navy { 
    color: #1a2b4c; 
}

.bg-kf-navy { 
    background-color: #1a2b4c; 
}

.kf-blue { 
    color: #0056b3; 
}

.kf-orange { 
    color: #e53935; 
}

.bg-kf-orange { 
    background-color: #e53935; 
}

/* 텍스트 크기 고정 - 본문 16px 기준 */
.kf-body-style, 
.text-base, 
.post-content p,
.post-content li { 
    font-size: 16px !important; 
    line-height: 1.6; 
}

/* 본문 문단/블록 간격 보정 (과도한 공백 축소) */
.post-content p {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}
.post-content .wp-block {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* 작은 텍스트 (설명, 날짜 등) - 14px */
.text-sm { 
    font-size: 14px !important; 
}

/* 소제목 (H3, 카드 타이틀) - 20px */
.text-lg { 
    font-size: 20px !important; 
    line-height: 1.4; 
}

/* 중제목 (H2, 섹션 타이틀) - 28px */
.text-3xl { 
    font-size: 28px !important; 
}

/* 대제목 (H1, 페이지 타이틀) - 36px */
.text-4xl {
    font-size: 36px !important;
}

/* 도넛 차트 */
.donut-chart {
    width: 180px; 
    height: 180px;
    border-radius: 50%;
    display: flex !important; 
    align-items: center; 
    justify-content: center;
    margin: 0 auto;
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
    position: relative;
    min-width: 150px;
    min-height: 150px;
    flex-shrink: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 모바일에서 도넛차트 크기 조정 및 표시 보장 */
@media (max-width: 767px) {
    .donut-chart {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px !important;
        min-height: 180px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .donut-inner {
        width: 120px !important;
        height: 120px !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .donut-inner span {
        font-size: 0.875rem !important;
        display: block !important;
    }
    
    .donut-inner .text-2xl {
        font-size: 1.5rem !important;
        display: block !important;
    }
}

.donut-inner {
    width: 120px; 
    height: 120px;
    background: white; 
    border-radius: 50%;
    display: flex !important; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    z-index: 10;
    position: relative;
    flex-shrink: 0;
}

/* 모달 및 줌 커서 */
#image-modal { 
    transition: opacity 0.3s ease; 
    backdrop-filter: blur(5px); 
}

.cursor-zoom-in { 
    cursor: zoom-in; 
}

/* 이모지 표시 개선 - 모바일 호환성 */
.emoji,
[class*="text-"] .emoji,
.icon-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", "EmojiOne Mozilla", "Twemoji Mozilla", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    unicode-bidi: bidi-override;
    direction: ltr;
}

/* 모바일에서 이모지 크기 제한 */
@media (max-width: 767px) {
    .icon-emoji {
        font-size: 2.5rem !important;
        max-width: 2.5rem;
        max-height: 2.5rem;
        line-height: 1 !important;
    }
    
    .text-5xl .icon-emoji,
    .icon-emoji.text-5xl {
        font-size: 2.5rem !important;
    }
    
    .text-4xl .icon-emoji,
    .icon-emoji.text-4xl {
        font-size: 2rem !important;
    }
}

/* 이모지가 포함된 텍스트 영역 */
.text-5xl,
.text-4xl {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Android Emoji", "Noto Sans KR", sans-serif;
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
    text-rendering: optimizeLegibility;
}

/* Twemoji 스타일 설정 */
img.emoji {
    height: 1em !important;
    width: 1em !important;
    margin: 0 .05em 0 .1em !important;
    vertical-align: -0.1em !important;
    box-shadow: none !important;
    border: none !important;
    display: inline-block !important;
}

/* 사각박스 형태 링크 스타일 */
a.box-link {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

a.box-link.box-link-primary {
    background-color: #ffffff !important;
    color: #333333 !important;
}

a.box-link.box-link-primary:hover,
a.box-link.box-link-primary:focus {
    background-color: #006dbb !important;
    color: #ffffff !important;
}

a.box-link.box-link-primary:hover span,
a.box-link.box-link-primary:hover i,
a.box-link.box-link-primary:focus span,
a.box-link.box-link-primary:focus i {
    color: #ffffff !important;
}

a.box-link.box-link-secondary {
    background-color: #ffffff !important;
    color: #333333 !important;
}

a.box-link.box-link-secondary:hover,
a.box-link.box-link-secondary:focus {
    background-color: #006dbb !important;
    color: #ffffff !important;
}

a.box-link.box-link-secondary:hover span,
a.box-link.box-link-secondary:hover i,
a.box-link.box-link-secondary:focus span,
a.box-link.box-link-secondary:focus i {
    color: #ffffff !important;
}

/* 모바일에서 박스 링크 크기 조정 */
@media (max-width: 767px) {
    .box-link {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

/* =========================================
   KF 산업단지 공통 스타일 (통합본)
   ========================================= */
:root {
    --kf-navy: #002870;
    --kf-blue: #006dbb;
    --kf-orange: #e53935;
    --kf-light: #f0f6fa;
    --kf-border: #e5e7eb;
    --text-default: #333333;
    --text-gray: #4b5563;
    --bg-body: #f3f4f6;
    --white: #ffffff;
}

/* 컨테이너 공통 */
.kf-wrapper {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-default);
    line-height: 1.6;
    width: 100%;
    max-width: 1200px; /* 전체 폭 제한 */
    margin: 0 auto;
    box-sizing: border-box;
}
.kf-wrapper *, .kf-wrapper *::before, .kf-wrapper *::after {
    box-sizing: inherit;
}

/* -----------------------------------------
   1. 사업개요 (Overview)
   ----------------------------------------- */
.kf-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* 간격 조정 */
    padding: 20px 0;
}
.kf-info-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.kf-info-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--kf-border);
    padding-bottom: 10px;
}
.kf-info-group .kf-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.kf-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 4px;
}
.kf-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-default);
    word-break: keep-all;
}

/* -----------------------------------------
   2. 유치업종 (Industry)
   ----------------------------------------- */
.kf-notice {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 13px;
    text-align: right; /* 우측 정렬로 변경 */
}
.kf-industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}
.kf-industry-card {
    border: 1px solid var(--kf-border);
    padding: 20px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kf-industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.kf-code {
    display: inline-block;
    background-color: var(--kf-blue);
    color: white;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.kf-industry-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    word-break: keep-all;
}
.kf-industry-name small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 400;
}
/* 강조 스타일 (C20 등) */
.kf-industry-card.highlight {
    border: 1px solid var(--kf-orange);
    background-color: #fff5f5; /* 아주 연한 붉은 배경 */
}
.kf-industry-card.highlight .kf-code {
    background-color: var(--kf-orange);
}

/* -----------------------------------------
   3. 입지환경 (Location) - 수정본
   ----------------------------------------- */
   .kf-location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}.kf-location-item {
    background-color: var(--white);
    border: 1px solid var(--kf-border);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    /* 호버 애니메이션을 위한 트랜지션 추가 */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 마우스를 올렸을 때 효과 */
.kf-location-item:hover {
    transform: translateY(-3px); /* 위로 3px 부상 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* 그림자 생성 */
    border-color: var(--kf-blue); /* 테두리도 파란색으로 변경 (선택사항) */
}

.kf-location-icon {
    font-size: 32px;
    margin-right: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.kf-location-text h3 {
    margin: 0 0 8px 0 !important;
    font-size: 18px;
    font-weight: 700;
    color: var(--kf-navy);
    word-break: keep-all;
    border-left: none !important;
    padding-left: 0 !important;
}

.kf-location-text p {
    margin: 0 !important;
    font-size: 15px;
    color: var(--text-gray);
    word-break: keep-all;
    line-height: 1.5;
}

/* 모바일 반응형 (기존 유지) */
@media (max-width: 768px) {
    .kf-location-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .kf-location-item { padding: 20px; }
}

/* -----------------------------------------
   4. 토지이용계획 (Land Plan)
   ----------------------------------------- */
.kf-land-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background: var(--white);
    padding: 20px 0;
}
.kf-land-chart { flex: 1; text-align: center; }
.kf-land-table { flex: 1.2; }

/* 도넛 차트 */
.kf-donut {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    /* 그라디언트는 HTML 인라인 스타일로 제어 (유지보수 용이) */
}
.kf-donut-hole {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: var(--white);
    border-radius: 50%;
}
.kf-legend {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
}
.kf-legend-item { display: flex; align-items: center; }
.kf-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}/* 테이블 스타일 */
.kf-table-wrap {
    width: 100%;
    border-top: 2px solid var(--kf-navy);
}
.kf-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
}
.kf-table-wrap th {
    background: var(--kf-light);
    color: var(--kf-navy);
    font-weight: 700;
    padding: 12px 8px;
    border-bottom: 1px solid var(--kf-border);
}
.kf-table-wrap td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f1f1;
    color: var(--text-default);
}
.kf-table-wrap tr.total-row {
    background: #f8f9fa;
    font-weight: 700;
}
.kf-table-wrap tr.total-row td {
    border-bottom: 1px solid var(--kf-border);
}

/* -----------------------------------------
   5. 입주혜택 (Benefits)
   ----------------------------------------- */
   .kf-benefits-box {
    width: 100%;
}

.kf-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 기본 2열 */
    gap: 20px;
}

.kf-benefit-item {
    background: var(--white);
    border: 1px solid var(--kf-border);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kf-benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--kf-blue);
}

.kf-benefit-icon {
    font-size: 32px;
    margin-right: 20px;
    line-height: 1;
    flex-shrink: 0;
    /* 필터 없이 이모지 고유 컬러 사용하거나, 
       단색 아이콘 효과를 원하면 filter 속성 사용 가능 */
}

.kf-benefit-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--kf-navy);
    word-break: keep-all;
    line-height: 1.4;
    border-left: none !important;
    padding-left: 0 !important;
}

.kf-benefit-text p {
    margin: 0;
    font-size: 15px;
    color: var(--text-gray);
    word-break: keep-all;
    line-height: 1.6;
}

.kf-benefit-text small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

/* 반응형 설정 */
@media (max-width: 768px) {
    .kf-benefit-list {
        grid-template-columns: 1fr; /* 모바일에서는 1열로 변경 */
    }
    
    .kf-benefit-item {
        padding: 20px;
    }
}

/* =========================================
   반응형 (Mobile)
   ========================================= */
@media (max-width: 768px) {
    /* 사업개요 */
    .kf-overview-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* 유치업종 */
    .kf-industry-list { grid-template-columns: repeat(2, 1fr); } /* 모바일 2열 */
    
    /* 입지환경 */
    .kf-location-grid { grid-template-columns: 1fr; }
    
    /* 토지이용계획 */
    .kf-land-container { flex-direction: column; gap: 30px; }
    .kf-land-chart, .kf-land-table { width: 100%; }
}

@media (max-width: 480px) {
    .kf-industry-list { grid-template-columns: repeat(2, 1fr); } /* 2열로 강제 고정 */
    .kf-location-item { padding: 20px; }
}

/* =========================================
   Swiper 화살표 커스텀: 배경 박스 제거 버전
   ========================================= */

/* 1. 배경 박스 제거 및 화살표 색상 설정 */
.swiper-button-next,
.swiper-button-prev {
    background: none !important;          /* 배경색 및 박스 제거 */
    background-color: transparent !important; /* 투명하게 설정 */
    color: #ffffff !important;            /* 화살표 아이콘 색상: 하얀색 */
    border: none !important;              /* 혹시 있을지 모를 테두리 제거 */
    box-shadow: none !important;          /* 그림자 제거 */
    width: auto !important;               /* 박스 크기 제한 해제 */
    height: auto !important;              /* 박스 크기 제한 해제 */
}

/* 2. 화살표 아이콘 크기 및 시인성 조절 */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px !important;           /* 박스가 없으므로 아이콘 크기를 조금 키움 */
    font-weight: 900 !important;          /* 아이콘 굵기 강화 */
    /* 이미지가 너무 밝아 화살표가 안 보일 경우 아래 text-shadow를 활성화하세요 */
    /* text-shadow: 0px 0px 5px rgba(0,0,0,0.5); */
}

/* 3. 마우스 호버 시 효과 (약간의 투명도 변화) */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.7;                         /* 마우스 올리면 살짝 투명하게 */
    background: none !important;          /* 호버 시에도 배경은 생기지 않음 */
}

/* 4. 하단 점(Pagination)도 테두리 없이 깔끔하게 */
.swiper-pagination-bullet {
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* =========================================
   6. 텍스트 링크 바 (Mobile 2-Line Fix)
   ========================================= */
.kf-card-link {
    display: block;
    background-color: var(--white);
    border: 1px solid var(--kf-border);
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    color: inherit;
    
    /* 높이 설정 변경: 고정 높이 -> 최소 높이 */
    /* 내용이 많으면 박스가 자연스럽게 늘어남 */
    min-height: 56px; 
    height: auto; 
    box-sizing: border-box;
}

.kf-card-link:hover {
    border-color: var(--kf-blue);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.kf-card-inner {
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
    justify-content: space-between;
    min-height: 56px; /* 내부 컨텐츠 최소 높이 확보 */
    padding: 10px 1.25rem; /* 위아래 패딩을 주어 2줄일 때 여백 확보 */
    width: 100%;
    box-sizing: border-box;
}

/* 텍스트 영역 컨테이너 */
.kf-card-content {
    display: flex;
    align-items: center; 
    flex: 1;
    /* 중요: 텍스트가 아이콘을 밀어내지 않도록 설정 */
    min-width: 0; 
}

/* 배지 스타일 */
.kf-card-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    background-color: #f0f6fc;
    color: var(--kf-navy);
    border: 1px solid #dbeafe;
    white-space: nowrap;
    margin-right: 12px; /* 제목과의 간격 */
    flex-shrink: 0; /* 배지 크기 고정 */
    align-self: flex-start; /* 2줄일 때 배지는 상단 정렬 (옵션) */
    margin-top: 2px; /* 상단 정렬 시 위치 보정 */
    line-height: 1.2;
}

/* 제목 스타일 (반응형 적용) */
.kf-card-title {
    margin: 0 !important;
    padding: 0 0 0 12px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--kf-navy);
    border-left: 4px solid var(--kf-navy);
    
    /* 기본 PC 스타일 (1줄 말줄임) */
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3 !important;
}

/* 화살표 아이콘 */
.kf-card-icon {
    display: block;
    color: #d1d5db;
    font-size: 1rem;
    padding-left: 10px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.kf-card-link:hover .kf-card-icon {
    color: var(--kf-blue);
}

/* =========================================
   모바일 전용 설정 (767px 이하)
   ========================================= */
@media (max-width: 767px) {
    .kf-card-title {
        /* 줄바꿈 허용 */
        white-space: normal !important; 
        
        /* 2줄 제한 (Webkit 기반 브라우저) */
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        
        /* 2줄일 때 줄간격 조정 */
        line-height: 1.4 !important; 
        
        /* 배지와의 정렬 보정 */
        margin-top: -2px !important;
    }

    /* 모바일에서는 배지 위치를 텍스트 첫 줄과 맞춤 */
    .kf-card-badge {
        align-self: flex-start;
        margin-top: 3px; 
    }
    
    /* 텍스트 영역이 위쪽으로 쏠리는 것 방지 */
    .kf-card-content {
        align-items: flex-start;
    }
    
    .kf-card-inner {
        align-items: center; /* 전체 박스 중앙 정렬 유지 */
    }
}
