/* =============================================================
   고객센터 메인 페이지 스타일
   - 메뉴 카드 그리드
   - 운영시간 영역
   - FAQ / 공지사항 미리보기
   - 모바일 반응형
   ============================================================= */

/* -------------------------------------------------------------
   전화상담 카드
   ------------------------------------------------------------- */
.cs-call-card {
    background: var(--color-primary);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cs-call-card__info {
    flex: 1;
}

.cs-call-card__label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 4px;
}

.cs-call-card__number {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.cs-call-card__hours {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
}

.cs-call-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cs-call-card__btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* -------------------------------------------------------------
   메뉴 카드 그리드
   ------------------------------------------------------------- */
.cs-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.cs-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    text-align: center;
}

.cs-menu-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.cs-menu-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb, 59, 130, 246), 0.1);
    border-radius: 10px;
    color: var(--color-primary);
}

.cs-menu-card__icon svg {
    width: 22px;
    height: 22px;
}

.cs-menu-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}

/* -------------------------------------------------------------
   섹션 헤더 (FAQ / 공지사항 미리보기)
   ------------------------------------------------------------- */
.cs-section {
    margin-bottom: 28px;
}

.cs-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cs-section__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.cs-section__more {
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color 0.15s;
}

.cs-section__more:hover {
    color: var(--color-primary);
}

/* -------------------------------------------------------------
   FAQ 미리보기 목록
   ------------------------------------------------------------- */
.cs-faq-list {
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    overflow: hidden;
}

.cs-faq-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s;
}

.cs-faq-item:last-child {
    border-bottom: none;
}

.cs-faq-item:hover {
    background: var(--color-bg-light);
}

.cs-faq-q {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    flex-shrink: 0;
}

.cs-faq-text {
    flex: 1;
    font-size: 14px;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-faq-item svg {
    flex-shrink: 0;
    color: var(--color-text-light);
}

/* -------------------------------------------------------------
   공지사항 미리보기 목록
   ------------------------------------------------------------- */
.cs-notice-list {
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    overflow: hidden;
}

.cs-notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s;
}

.cs-notice-item:last-child {
    border-bottom: none;
}

.cs-notice-item:hover {
    background: var(--color-bg-light);
}

.cs-notice-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.cs-notice-pin {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #fef3c7;
    color: #d97706;
    flex-shrink: 0;
}

.cs-notice-title {
    font-size: 14px;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-notice-date {
    font-size: 12px;
    color: var(--color-text-light);
    flex-shrink: 0;
    white-space: nowrap;
}

/* -------------------------------------------------------------
   빈 상태
   ------------------------------------------------------------- */
.cs-empty {
    text-align: center;
    padding: 32px 20px;
    color: var(--color-text-light);
    font-size: 14px;
}

/* -------------------------------------------------------------
   운영시간 안내 박스
   ------------------------------------------------------------- */
.cs-hours-box {
    background: var(--color-bg-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
}

.cs-hours-box__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.cs-hours-row {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 4px;
    line-height: 1.5;
}

.cs-hours-row__label {
    font-weight: 600;
    color: var(--color-text);
    flex-shrink: 0;
    min-width: 60px;
}

/* -------------------------------------------------------------
   모바일 반응형 (최대 480px)
   ------------------------------------------------------------- */
@media (max-width: 480px) {
    .cs-call-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cs-call-card__btn {
        width: 100%;
        justify-content: center;
    }

    .cs-call-card__number {
        font-size: 22px;
    }

    /* 메뉴: 2열 */
    .cs-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-faq-text {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cs-notice-title {
        font-size: 13px;
    }
}

/* -------------------------------------------------------------
   태블릿 반응형 (768px 이하)
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    /* 메뉴: 4열 → 2열 */
    .cs-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-menu-card {
        padding: 18px 10px;
    }
}
