/* Lizle 홈페이지 - Site Library 스타일 카드 갤러리 */

.site-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home .site-header {
    border-bottom: none !important;
    background: var(--lz-base-3); /* 홈 헤더는 흰색 단색 */
}

.lz-hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #E7E4DC; /* 히어로: 그레이톤이 살짝 들어간 연한 베이지(그레이지) 단색 */
    color: var(--lz-contrast);
    padding: 90px 20px;
}

.lz-hero-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.lz-hero-copy {
    flex: 1 1 480px;
}

.lz-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--lz-contrast);
    background: rgba(19, 26, 38, .08);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.lz-hero-banner h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
    color: var(--lz-contrast);
}

.lz-hero-tagline {
    font-size: 15px;
    color: rgba(19, 26, 38, .75);
    line-height: 1.8;
    margin: 0 0 32px;
    max-width: 480px;
}

.lz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lz-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 14px 26px;
    border-radius: 8px;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.lz-hero-btn--ghost {
    background: transparent;
    color: var(--lz-contrast) !important;
    border: 1.5px solid rgba(19, 26, 38, .3);
}

.lz-hero-btn--ghost:hover {
    border-color: var(--lz-contrast);
    transform: translateY(-2px);
}

.lz-hero-btn--solid {
    background: var(--lz-accent);
    color: #fff !important;
}

.lz-hero-btn--solid:hover {
    background: var(--lz-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.lz-hero-visual {
    position: relative;
    flex: 1 1 380px;
    max-width: 420px;
}

.lz-hero-visual-panel {
    background: var(--lz-contrast);
    border-radius: 20px;
    padding: 30px;
    aspect-ratio: 4 / 3.4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(19, 26, 38, .2);
}

.lz-hero-visual-svg {
    width: 100%;
    height: 100%;
}

.lz-hero-callout {
    position: absolute;
    left: -20px;
    bottom: -24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 15px 35px rgba(19, 26, 38, .18);
    max-width: 260px;
}

.lz-hero-callout-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.lz-hero-callout strong {
    display: block;
    font-size: 13px;
    color: var(--lz-contrast);
    margin-bottom: 2px;
}

.lz-hero-callout span {
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 900px) {
    .lz-hero-grid {
        flex-direction: column;
    }
    .lz-hero-visual {
        max-width: 320px;
        margin: 0 auto;
    }
    .lz-hero-callout {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
}

.lz-consult-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 80px 20px;
    background-color: var(--lz-contrast);
    background-image:
        radial-gradient(circle at 85% 20%, rgba(var(--lz-accent-rgb), .35) 0%, transparent 45%),
        radial-gradient(circle at 10% 85%, rgba(var(--lz-contrast-3-rgb), .55) 0%, transparent 50%);
    overflow: hidden;
}

.lz-consult-grid {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 56px;
}

.lz-consult-copy {
    flex: 1 1 380px;
}

.lz-consult-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.lz-consult-heading {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 16px;
}

.lz-consult-copy-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 420px;
}

.lz-consult-inner {
    position: relative;
    z-index: 1;
    flex: 1 1 380px;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
}

.lz-consult-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.lz-consult-form .ins-ask-textarea {
    min-height: 100px;
}

.lz-consult-form .ins-ask-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .lz-consult-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .lz-consult-inner {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .lz-hero-banner h1 { font-size: 28px; }
    .lz-consult-row { flex-direction: column; }
    .lz-consult-inner { padding: 22px; }
    .lz-consult-heading { font-size: 24px; }
}

.lz-library {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.lz-library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.lz-library-search {
    flex-shrink: 0;
}

.lz-library-search input {
    width: 240px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
}

.lz-library-search input:focus {
    outline: none;
    border-color: var(--lz-accent);
    background: #fff;
}

.lz-library-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.lz-filter-pill {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.lz-filter-pill:hover {
    background: #e2e8f0;
}

.lz-filter-pill.is-active {
    background: var(--lz-contrast);
    color: #fff;
}

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

.lz-library-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
    transition: box-shadow .2s, transform .2s;
}

.lz-library-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    transform: translateY(-3px);
}

.lz-library-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.lz-library-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lz-library-thumb-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.lz-thumb-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.lz-thumb-decor--a {
    width: 70%;
    padding-top: 70%;
    top: -25%;
    right: -20%;
    background: rgba(255, 255, 255, .10);
}

.lz-thumb-decor--b {
    width: 55%;
    padding-top: 55%;
    bottom: -25%;
    left: -18%;
    background: rgba(0, 0, 0, .12);
}

.lz-thumb-icon {
    position: relative;
    width: 30px;
    height: 30px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

.lz-library-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}

.lz-library-card:hover .lz-library-overlay {
    opacity: 1;
}

.lz-library-view-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--lz-contrast);
    background: #fff;
    padding: 9px 20px;
    border-radius: 999px;
}

.lz-library-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
}

.lz-library-caption h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lz-library-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--lz-contrast);
    background: var(--lz-accent-tint);
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.lz-library-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    padding: 40px 0;
}

/* ============================================================
 * 카드그리드 섹션 인트로 (태그+제목+설명)
 * ============================================================ */
.lz-library-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.lz-library-intro-tag,
.lz-hero-tag,
.lz-news-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--lz-contrast);
    background: rgba(19, 26, 38, .08);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.lz-library-intro-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--lz-contrast);
    margin: 0 0 10px;
}

.lz-library-intro-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
 * 미니 상담 CTA 배너 (카드그리드 - 최신소식 사이)
 * ============================================================ */
.lz-mini-cta {
    background: var(--lz-accent-tint);
    padding: 24px 20px;
}

.lz-mini-cta-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.lz-mini-cta-inner p {
    font-size: 14px;
    color: var(--lz-contrast);
    margin: 0;
}

.lz-mini-cta-btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: var(--lz-accent);
    text-decoration: none !important;
    padding: 10px 22px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .15s;
}

.lz-mini-cta-btn:hover {
    background: var(--lz-accent-hover);
}

/* ============================================================
 * 최신 소식 섹션
 * ============================================================ */
.lz-news-section {
    background: transparent;
    padding: 72px 20px;
}

.lz-news-inner {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
}

.lz-news-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--lz-contrast);
    margin: 0 0 10px;
}

.lz-news-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 40px;
}

.lz-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.lz-news-card {
    background: #fff;
    border: 1px solid #e9e2d8;
    border-radius: 14px;
    overflow: hidden;
}

.lz-news-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.lz-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lz-news-thumb-fallback {
    width: 100%;
    height: 100%;
}

.lz-news-body {
    padding: 22px;
}

.lz-news-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.lz-news-body h3 a {
    color: var(--lz-contrast);
    text-decoration: none;
}

.lz-news-body h3 a:hover {
    color: var(--lz-accent);
}

.lz-news-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 16px;
}

.lz-news-more {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: var(--lz-accent);
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background .15s;
}

.lz-news-more:hover {
    background: var(--lz-accent-hover);
}

@media (max-width: 780px) {
    .lz-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .lz-library-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 780px) {
    .lz-library-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lz-library-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .lz-library-grid {
        grid-template-columns: 1fr;
    }
    .lz-library-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .lz-library-search input {
        width: 100%;
    }
}

/* ============================================================
 * Lizle이 제공하는 서비스 (LIZLE SERVICE)
 * ============================================================ */
.lz-service-section {
    background: #fdfaf7;
    padding: 72px 20px;
}

.lz-service-inner {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
}

.lz-service-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lz-accent);
    margin-bottom: 10px;
}

.lz-service-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--lz-contrast);
    margin: 0 0 44px;
}

.lz-service-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lz-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px;
}

.lz-service-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lz-accent-tint);
    color: var(--lz-accent);
    margin-bottom: 16px;
}

.lz-service-item h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--lz-contrast);
    margin: 0 0 12px;
}

.lz-service-item p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.lz-service-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.lz-service-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(19, 26, 38, .15);
    cursor: pointer;
    transition: width .2s, background .2s;
}

.lz-service-dot.is-active {
    width: 22px;
    background: var(--lz-accent);
}

@media (max-width: 768px) {
    .lz-service-section { padding: 56px 0; }
    .lz-service-inner { padding: 0 20px; }
    .lz-service-heading { font-size: 24px; margin-bottom: 28px; }

    .lz-service-track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 20px;
        margin: 0 -20px;
    }
    .lz-service-track::-webkit-scrollbar { display: none; }

    .lz-service-item {
        flex: 0 0 46%;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .lz-service-item { flex: 0 0 62%; }
}
