/**
 * 파일명: home-coral.css
 * 파일경로: /home/thejoagi/corebizflow.com/wp-content/plugins/custom-post/assets/css/home-coral.css
 * 기능: 기프트조아 홈페이지 코랄(Coral) 테마 (page-home-coral.php) 전용 스타일
 *       사용 목적별 추천, 예산별 가이드, 3열 포스트 그리드, 2열 고정 FAQ 등 전체 레이아웃 포함
 * 작성일: 2026-03-27
 * 수정일: 2026-03-27
 */

/* ═══════════════════════════════════════════════════════════
   CSS 변수
═══════════════════════════════════════════════════════════ */
.crl-home-page {
    --crl-primary:     #fb923c;
    --crl-primary-dk:  #f97316;
    --crl-primary-l:   #fed7aa;
    --crl-dark:        #1c1917;
    --crl-dark2:       #292524;
    --crl-text:        #292524;
    --crl-muted:       #78716c;
    --crl-bg:          #fff7ed;
    --crl-card-bg:     #ffffff;
    --crl-border:      #e7e5e4;
    --crl-badge-bg:    #1c1917;
    --crl-badge-text:  #ffffff;
    --crl-footer-bg:   #1c1917;
    --crl-hero-bg:     #1c1917;
    --crl-radius:      10px;
    --crl-radius-sm:   6px;
    --crl-font:        -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   테마 레이아웃 격리
   body.crl-home-page 클래스가 붙을 때 테마의 wrapper 제약 해제
═══════════════════════════════════════════════════════════ */
body.crl-home-page #page,
body.crl-home-page .site,
body.crl-home-page #content,
body.crl-home-page .site-content,
body.crl-home-page #primary,
body.crl-home-page .content-area,
body.crl-home-page main.site-main,
body.crl-home-page #main,
body.crl-home-page .hfeed {
    width:     100% !important;
    max-width: none !important;
    padding:   0 !important;
    margin:    0 !important;
    float:     none !important;
}

/* 테마 기본 푸터 숨김 (커스텀 푸터로 대체) */
body.crl-home-page footer.site-footer,
body.crl-home-page #footer,
body.crl-home-page .site-footer,
body.crl-home-page #colophon,
body.crl-home-page .footer-widgets,
body.crl-home-page #footer-widgets { display: none !important; }

/* 테마 Scroll-to-Top 버튼 숨김 */
body.crl-home-page #scroll-top,
body.crl-home-page .scroll-top,
body.crl-home-page #scrollTop,
body.crl-home-page .scrollTop,
body.crl-home-page #back-to-top,
body.crl-home-page .back-to-top,
body.crl-home-page .backtotop,
body.crl-home-page #backToTop,
body.crl-home-page #scrollToTop,
body.crl-home-page .scrollToTop,
body.crl-home-page [class*="scroll-to-top"],
body.crl-home-page [id*="scroll-to-top"],
body.crl-home-page [class*="back-to-top"],
body.crl-home-page [id*="back-to-top"],
body.crl-home-page .floating-buttons,
body.crl-home-page .scroll-top-button,
body.crl-home-page .share-button { display: none !important; }

/* 테마의 entry-content 폭 제한 해제 */
body.crl-home-page .entry-content,
body.crl-home-page .entry-content > *:not(.alignwide):not(.alignfull) {
    max-width: none !important;
}

/* ─── 기본 리셋 ─────────────────────────────────────────── */
.crl-home-page *,
.crl-home-page *::before,
.crl-home-page *::after {
    box-sizing: border-box;
}

.crl-home-page {
    font-family: var(--crl-font);
    background-color: var(--crl-bg);
    color: var(--crl-text);
    margin: 0;
    padding: 0;
}

.crl-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.crl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── 공통 버튼 ─────────────────────────────────────────── */
.crl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--crl-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    line-height: 1.2;
}

.crl-btn i,
.crl-btn svg.lucide {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.crl-btn-primary {
    background: var(--crl-primary);
    color: #fff;
    border-color: var(--crl-primary);
}

.crl-btn-primary:hover {
    background: var(--crl-primary-dk);
    border-color: var(--crl-primary-dk);
    color: #fff;
    text-decoration: none;
}

.crl-btn-outline {
    background: transparent;
    color: var(--crl-primary);
    border-color: var(--crl-primary);
}

.crl-btn-outline:hover {
    background: var(--crl-primary);
    color: #fff;
    text-decoration: none;
}

/* ─── 공통 섹션 헤더 ────────────────────────────────────── */
.crl-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.crl-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.crl-section-desc {
    font-size: 1rem;
    color: var(--crl-muted);
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   섹션1: HERO
═══════════════════════════════════════════════════════════ */
.crl-hero {
    background: var(--crl-hero-bg);
    position: relative;
    overflow: hidden;
}

/* orb 장식 (stripe 금지) */
.crl-hero-deco-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.crl-hero-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.crl-hero-orb.orb1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--crl-primary) 0%, transparent 70%);
    top: -160px;
    right: -100px;
}

.crl-hero-orb.orb2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--crl-primary-l) 0%, transparent 70%);
    bottom: -100px;
    left: -60px;
}

.crl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}

.crl-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crl-primary);
    margin: 0 0 20px;
}

.crl-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.25;
}

.crl-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    margin: 0 0 36px;
    line-height: 1.7;
}

.crl-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* 히어로 버튼 반전 (필수) */
.crl-hero .crl-btn-primary {
    background: var(--crl-primary-l);
    color: var(--crl-dark) !important;
    border-color: var(--crl-primary-l);
}

.crl-hero .crl-btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--crl-primary-dk) !important;
}

.crl-hero .crl-btn-outline {
    background: transparent;
    color: var(--crl-primary-l) !important;
    border-color: var(--crl-primary-l);
}

.crl-hero .crl-btn-outline:hover {
    background: rgba(255,255,255,.12);
    text-decoration: none;
}

/* 통계바 */
.crl-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 32px;
}

.crl-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}

.crl-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--crl-primary);
    line-height: 1.1;
}

.crl-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    white-space: nowrap;
}

.crl-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════════
   섹션2: 사용 목적별 추천
═══════════════════════════════════════════════════════════ */
.crl-purpose-section {
    background: var(--crl-card-bg);
    padding: 72px 24px;
}

.crl-purpose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.crl-purpose-card {
    background: var(--crl-bg);
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    padding: 28px 20px;
    text-align: center;
}

.crl-purpose-icon {
    width: 52px;
    height: 52px;
    background: var(--crl-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
}

.crl-purpose-icon i,
.crl-purpose-icon svg.lucide {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke: #fff;
}

.crl-purpose-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0 0 8px;
}

.crl-purpose-desc {
    font-size: 0.82rem;
    color: var(--crl-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.crl-purpose-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.crl-purpose-tag {
    font-size: 0.75rem;
    background: var(--crl-primary-l);
    color: var(--crl-dark);
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   섹션3: 예산별 가이드
═══════════════════════════════════════════════════════════ */
.crl-budget-section {
    background: var(--crl-bg);
    padding: 72px 24px;
}

.crl-budget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.crl-budget-card {
    background: var(--crl-card-bg);
    border: 2px solid var(--crl-border);
    border-radius: var(--crl-radius);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.crl-budget-card[data-tier="standard"] {
    border-color: var(--crl-primary);
}

.crl-budget-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: var(--crl-badge-bg);
    color: var(--crl-badge-text);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.crl-budget-card[data-tier="standard"] .crl-budget-badge {
    background: var(--crl-primary);
}

.crl-budget-icon {
    width: 48px;
    height: 48px;
    background: var(--crl-bg);
    border-radius: var(--crl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--crl-primary);
}

.crl-budget-icon i,
.crl-budget-icon svg.lucide {
    width: 22px;
    height: 22px;
    color: var(--crl-primary);
    stroke: var(--crl-primary);
}

.crl-budget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0 0 6px;
}

.crl-budget-sub {
    font-size: 0.85rem;
    color: var(--crl-muted);
    margin: 0 0 20px;
}

.crl-budget-items {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.crl-budget-items li {
    font-size: 0.88rem;
    color: var(--crl-text);
    padding: 6px 0;
    border-bottom: 1px dashed var(--crl-border);
}

.crl-budget-items li:last-child {
    border-bottom: none;
}

.crl-budget-cta {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--crl-primary);
    text-decoration: none;
    margin-top: auto;
}

.crl-budget-cta:hover {
    color: var(--crl-primary-dk);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   섹션4: 카테고리 탐색
═══════════════════════════════════════════════════════════ */
.crl-cat-nav {
    background: var(--crl-card-bg);
    border-bottom: 1px solid var(--crl-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* flex-wrap 필수 (overflow-x: auto 금지) */
.crl-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.crl-cat-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--crl-muted);
    background: var(--crl-bg);
    text-decoration: none;
    border: 1px solid var(--crl-border);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.crl-cat-btn:hover,
.crl-cat-btn.active {
    background: var(--crl-primary);
    color: #fff;
    border-color: var(--crl-primary);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   섹션5: 메인 포스트 그리드 (3열)
═══════════════════════════════════════════════════════════ */
.crl-main {
    background: var(--crl-bg);
    padding: 56px 24px;
}

/* 3열 그리드 */
.crl-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.crl-post-card {
    background: var(--crl-card-bg);
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.crl-card-thumb-link {
    display: block;
    text-decoration: none;
}

.crl-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--crl-border);
}

.crl-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.crl-post-card:hover .crl-card-thumb img {
    transform: scale(1.04);
}

.crl-card-body {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 배지 — 카드 내부 상단 배치 */
.crl-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--crl-primary-l);
    color: var(--crl-dark);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.crl-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0 0 10px;
    line-height: 1.45;
}

.crl-card-title a {
    color: inherit;
    text-decoration: none;
}

.crl-card-title a:hover {
    color: var(--crl-primary);
}

.crl-card-excerpt {
    font-size: 0.86rem;
    color: var(--crl-muted);
    margin: 0 0 14px;
    line-height: 1.6;
    flex: 1;
}

.crl-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--crl-border);
}

.crl-card-date {
    font-size: 0.78rem;
    color: var(--crl-muted);
}

.crl-card-read {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--crl-primary);
    text-decoration: none;
    white-space: nowrap;
}

.crl-card-read:hover {
    color: var(--crl-primary-dk);
    text-decoration: underline;
}

/* 빈 포스트 */
.crl-no-posts {
    text-align: center;
    color: var(--crl-muted);
    padding: 40px 0;
}

/* 페이지네이션 */
.crl-pagination {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.crl-page-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.crl-page-list li a,
.crl-page-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--crl-radius-sm);
    border: 1px solid var(--crl-border);
    font-size: 0.85rem;
    color: var(--crl-text);
    text-decoration: none;
    background: var(--crl-card-bg);
}

.crl-page-list li a:hover {
    background: var(--crl-primary);
    color: #fff;
    border-color: var(--crl-primary);
}

.crl-page-list li span.current {
    background: var(--crl-primary);
    color: #fff;
    border-color: var(--crl-primary);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   섹션6: Mid-page CTA 배너
═══════════════════════════════════════════════════════════ */
.crl-cta-banner {
    background: var(--crl-primary);
    padding: 56px 24px;
}

.crl-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.crl-cta-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.crl-cta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 28px;
    line-height: 1.65;
}

.crl-cta-banner .crl-btn-primary {
    background: #fff;
    color: var(--crl-primary-dk) !important;
    border-color: #fff;
}

.crl-cta-banner .crl-btn-primary:hover {
    background: var(--crl-primary-l);
    border-color: var(--crl-primary-l);
    color: var(--crl-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   섹션7: CATEGORY HUB (2×2 그리드)
═══════════════════════════════════════════════════════════ */
.crl-hub-section {
    background: var(--crl-card-bg);
    padding: 56px 24px;
}

.crl-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.crl-hub-block {
    background: var(--crl-bg);
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    padding: 24px 24px 20px;
}

.crl-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--crl-primary);
}

.crl-hub-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0;
}

.crl-hub-more {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--crl-primary);
    text-decoration: none;
    white-space: nowrap;
}

.crl-hub-more:hover {
    color: var(--crl-primary-dk);
    text-decoration: underline;
}

.crl-hub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.crl-hub-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--crl-border);
}

.crl-hub-item:last-child {
    border-bottom: none;
}

.crl-hub-link {
    font-size: 0.88rem;
    color: var(--crl-text);
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.crl-hub-link:hover {
    color: var(--crl-primary);
    text-decoration: underline;
}

.crl-hub-date {
    font-size: 0.75rem;
    color: var(--crl-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   섹션8: 2열 고정 FAQ (아코디언 없는 카드형)
═══════════════════════════════════════════════════════════ */
.crl-faq-section {
    background: var(--crl-bg);
    padding: 72px 24px;
}

.crl-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.crl-faq-card {
    background: var(--crl-card-bg);
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crl-faq-icon {
    width: 44px;
    height: 44px;
    background: var(--crl-primary-l);
    border-radius: var(--crl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.crl-faq-icon i,
.crl-faq-icon svg.lucide {
    width: 20px;
    height: 20px;
    color: var(--crl-primary-dk);
    stroke: var(--crl-primary-dk);
}

.crl-faq-q {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0;
    line-height: 1.4;
}

.crl-faq-a {
    font-size: 0.86rem;
    color: var(--crl-muted);
    margin: 0;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   섹션9: 인기 태그
═══════════════════════════════════════════════════════════ */
.crl-tags-section {
    background: var(--crl-card-bg);
    padding: 48px 24px;
}

.crl-tags-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--crl-dark);
    margin: 0 0 20px;
    text-align: center;
}

.crl-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.crl-tag-item {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.83rem;
    color: var(--crl-muted);
    background: var(--crl-bg);
    border: 1px solid var(--crl-border);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.crl-tag-item:hover {
    background: var(--crl-primary);
    color: #fff;
    border-color: var(--crl-primary);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   섹션10: Bottom CTA
═══════════════════════════════════════════════════════════ */
.crl-bottom-cta {
    background: var(--crl-dark);
    padding: 72px 24px;
}

.crl-bcta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.crl-bcta-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.3;
}

.crl-bcta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    margin: 0 0 32px;
    line-height: 1.7;
}

.crl-bottom-cta .crl-btn-primary {
    background: var(--crl-primary);
    color: #fff !important;
    border-color: var(--crl-primary);
}

.crl-bottom-cta .crl-btn-primary:hover {
    background: var(--crl-primary-dk);
    border-color: var(--crl-primary-dk);
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   섹션11: FOOTER
═══════════════════════════════════════════════════════════ */

/* 풀워이드 배경 (필수) */
.crl-footer {
    background: var(--crl-footer-bg);
}

.crl-footer-bottom {
    background: var(--crl-footer-bg);
    border-top: 1px solid rgba(255,255,255,.1);
}

/* .crl-container에는 background 없음 */

.crl-footer-main {
    padding: 64px 24px 52px;
}

/* 푸터 2열 그리드 (필수) */
.crl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.crl-footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.crl-footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
    line-height: 1.65;
}

.crl-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.crl-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--crl-radius-sm);
    padding: 5px 10px;
}

.crl-footer-badge i,
.crl-footer-badge svg.lucide {
    width: 14px;
    height: 14px;
    color: var(--crl-primary);
    stroke: var(--crl-primary);
}

.crl-footer-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--crl-radius-sm);
    background: var(--crl-primary);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.crl-footer-shop-btn:hover {
    background: var(--crl-primary-dk);
    color: #fff;
    text-decoration: none;
}

.crl-footer-shop-btn i,
.crl-footer-shop-btn svg.lucide {
    width: 16px;
    height: 16px;
    color: #fff;
    stroke: #fff;
}

.crl-footer-col-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.crl-footer-links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.crl-footer-links li a {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.crl-footer-links li a:hover {
    color: var(--crl-primary);
    text-decoration: none;
}

.crl-footer-links li a i,
.crl-footer-links li a svg.lucide {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.45);
    stroke: rgba(255,255,255,0.45);
}

.crl-footer-links li a:hover i,
.crl-footer-links li a:hover svg.lucide {
    color: var(--crl-primary);
    stroke: var(--crl-primary);
}

.crl-footer-links-ext {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 12px;
    margin-top: 8px;
}

/* 푸터 하단 */
.crl-footer-bottom {
    padding: 18px 24px;
}

.crl-footer-bottom .crl-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.crl-footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.crl-footer-copy a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.crl-footer-copy a:hover {
    color: var(--crl-primary);
    text-decoration: underline;
}

.crl-footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.crl-footer-legal a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.crl-footer-legal a:hover {
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   Scroll-to-Top 버튼
═══════════════════════════════════════════════════════════ */
.crl-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--crl-dark2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.25s, visibility 0.25s;
    padding: 0;
}

.crl-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.crl-scroll-top:hover {
    background: var(--crl-primary);
}

.crl-stb-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.crl-stb-track {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 3;
}

.crl-stb-fill {
    fill: none;
    stroke: var(--crl-primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.2s;
}

.crl-stb-pct {
    position: relative;
    z-index: 1;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   반응형: 태블릿 (≤1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .crl-purpose-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .crl-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crl-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .crl-footer-brand {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════════════════
   반응형: 모바일 (≤768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 모바일 여백 12px (필수) */
    .crl-hero-inner {
        padding: 52px 12px 40px;
    }

    .crl-purpose-section,
    .crl-budget-section,
    .crl-faq-section {
        padding: 40px 12px;
    }

    .crl-main,
    .crl-hub-section {
        padding: 36px 12px;
    }

    .crl-cta-banner,
    .crl-bottom-cta {
        padding: 40px 12px;
    }

    .crl-footer-main {
        padding: 44px 12px 40px;
    }

    .crl-footer-bottom {
        padding: 12px;
    }

    .crl-hero-title {
        font-size: 1.75rem;
    }

    .crl-hero-stats {
        gap: 0;
    }

    .crl-stat-item {
        padding: 0 16px;
    }

    .crl-stat-num {
        font-size: 1.2rem;
    }

    .crl-purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crl-budget-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .crl-post-grid {
        grid-template-columns: 1fr;
    }

    .crl-hub-grid {
        grid-template-columns: 1fr;
    }

    .crl-faq-grid {
        grid-template-columns: 1fr;
    }

    /* 푸터 2열 그리드 (필수) */
    .crl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .crl-footer-brand {
        grid-column: 1 / -1;
    }

    .crl-section-title {
        font-size: 1.4rem;
    }

    .crl-cta-title,
    .crl-bcta-title {
        font-size: 1.3rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   반응형: 소형 모바일 (≤480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* 모바일 여백 10px (필수) */
    .crl-container {
        padding: 0 10px;
    }

    .crl-hero-title {
        font-size: 1.5rem;
    }

    .crl-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .crl-hero-stats {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .crl-stat-divider {
        display: none;
    }

    .crl-stat-item {
        width: 45%;
    }

    .crl-purpose-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 푸터 2열 유지 */
    .crl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .crl-footer-brand {
        grid-column: span 2;
    }

    .crl-footer-bottom .crl-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
