/* ========================================
   프로모션 슬라이더
   ======================================== */

.main-slider {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
}

.main-slider ul {
    list-style: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

.main-slider li {
    min-width: 100%;
    min-height: 150px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

.main-slider .inner {
    width: 100%;
    max-width: 1024px;
    padding: 0 20px;
}

.main-slider .box {
    color: white;
    text-align: center;
}

.main-slider .text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.main-slider .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.main-slider .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   커버 스타일
   ======================================== */

.blog-cover {
    padding: 40px 0;
    max-width: 1024px;
    margin: 0 auto;
}

.blog-cover h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--quantum-text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
}

.cover-item {
    background: var(--quantum-bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.cover-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cover-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cover-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0;
}

.cover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-content {
    padding: 20px;
}

.cover-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--quantum-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cover-date {
    font-size: 14px;
    color: var(--quantum-text-tertiary);
}

.more-btn {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 12px 24px;
    background: var(--quantum-bg-secondary);
    color: var(--quantum-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.more-btn:hover {
    background: var(--quantum-border-medium);
}

/* ========================================
   커버 반응형
   ======================================== */

/* 모바일 (700px 이하) */
@media (max-width: 700px) {
    .cover-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .main-slider .text {
        font-size: 20px;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .main-slider li {
        height: 250px;
    }

    .main-slider .text {
        font-size: 18px;
    }
}
