/* ===========================
   홈 페이지 전용 스타일
=========================== */

/* 홈 페이지 제목 숨김 */
.home .wp-block-post-title,
.home h1.wp-block-post-title {
    display: none !important;
}

/* 테마 컨테이너 풀너비 해제 (헤더/푸터 제외) */
.home .wp-block-post-content,
.home .entry-content,
.home main > .wp-block-group,
.home figure.wp-block-post-featured-image {
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 히어로 및 섹션 풀너비 */
.home main,
.home .wp-block-post-content,
.home .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* 블록 사이 자동 여백 제거 */
.home .wp-block-post-content > *,
.home .entry-content > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.home .wp-block-html {
    margin: 0 !important;
}

.home .lc-hero,
.home .lc-cta,
.home .lc-section--gray {
    width: 100%;
    box-sizing: border-box;
}

/* 히어로 */
.lc-hero {
    padding: 100px 24px 80px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lc-hero__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 16px;
}
.lc-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 auto 20px;
    max-width: 680px;
}
.lc-hero__desc {
    font-size: 1.05rem;
    color: #555550;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.lc-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.lc-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.lc-btn--primary {
    background: #2563eb;
    color: #ffffff;
}
.lc-btn--primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}
.lc-btn--secondary {
    background: #f1f1ee;
    color: #1a1a1a;
    border: 1px solid #e5e5e0;
}
.lc-btn--secondary:hover {
    background: #e5e5e0;
    color: #1a1a1a;
}

/* 카테고리 섹션 */
.lc-section {
    padding: 64px 40px;
    max-width: 1080px;
    margin: 0 auto;
    box-sizing: border-box;
}
.lc-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a1a;
}
.lc-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.lc-cat-card {
    display: block;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e5e0;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.lc-cat-card:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
}
.lc-cat-card__icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 12px;
    font-style: normal;
}
.lc-cat-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.lc-cat-card__desc {
    font-size: 0.875rem;
    color: #666660;
    line-height: 1.6;
}

/* 서비스 섹션 */
.lc-section--gray {
    background: #f4f4f1;
    width: 100%;
    padding: 64px 40px;
    box-sizing: border-box;
}
.lc-section--gray .lc-section-inner {
    max-width: 1080px;
    margin: 0 auto;
}
.lc-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.lc-service-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e5e0;
    border-radius: 8px;
}
.lc-service-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.lc-service-card__desc {
    font-size: 0.875rem;
    color: #666660;
    line-height: 1.65;
}

/* CTA 섹션 */
.lc-cta {
    padding: 80px 24px;
    text-align: center;
    background: #1a1a1a;
    width: 100%;
    box-sizing: border-box;
}
.lc-cta__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.lc-cta__desc {
    font-size: 0.95rem;
    color: #aaaaaa;
    margin-bottom: 32px;
}
.lc-btn--white {
    background: #ffffff;
    color: #1a1a1a;
}
.lc-btn--white:hover {
    background: #f1f1ee;
    color: #1a1a1a;
}

/* 하단 소개 */
.lc-about {
    padding: 56px 40px;
    max-width: 1080px;
    margin: 0 auto;
    box-sizing: border-box;
}
.lc-about__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.lc-about__content p {
    font-size: 0.9rem;
    color: #555550;
    line-height: 1.75;
    max-width: 640px;
}

/* 반응형 */
@media (max-width: 900px) {
    .lc-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .lc-hero { padding: 56px 20px; }
    .lc-section { padding: 48px 20px; }
    .lc-section--gray { padding: 48px 20px; }
    .lc-about { padding: 48px 20px; }
    .lc-cta { padding: 56px 20px; }
    .lc-categories { grid-template-columns: 1fr; }
    .lc-services { grid-template-columns: 1fr; }
}
