/* 심플한 보도자료 섹션 - 달구 사이트와 통일성 */
.press-release-section {
    background: #ffffff; /* 완전 흰색으로 변경 */
    padding: 60px 0;
    position: relative;
}

.press-release-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 섹션 헤더 - 더 심플하게 */
.press-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.press-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    position: relative;
}

.press-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ed6242;
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite alternate;
}

@keyframes titleUnderline {
    0% { width: 50px; opacity: 0.7; }
    100% { width: 70px; opacity: 1; }
}

.press-section-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* 🔥 수정 3: 캐러셀 컨테이너 - overflow: hidden 확실히 적용 */
.press-carousel-wrapper {
    overflow: hidden; /* 핵심! 외부 래퍼에 overflow: hidden */
    position: relative;
    margin-bottom: 30px;
}

.press-cards-grid {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0; /* gap 제거하여 정확한 슬라이딩 보장 */
    /* overflow-x: hidden 제거 - 외부 래퍼에서 처리 */
}

/* 심플한 보도자료 카드 */
.press-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    /* flex 속성들 제거 - JS에서 동적으로 설정 */
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 카드 이미지 - 더 크게! */
.press-card-image {
    width: 100%;
    height: 220px; /* 180px에서 220px로 증가 */
    overflow: hidden;
    background: #f5f5f5;
}

.press-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-card:hover .press-card-image img {
    transform: scale(1.05);
}

/* 카드 콘텐츠 - 심플하게 */
.press-card-content {
    padding: 20px;
}

.press-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.press-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.press-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px; /* 정확히 2줄 높이 */
}

/* 심플한 네비게이션 점 */
.press-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ed6242;
    transform: scale(1.3);
}

/* 상태 표시 */
.empty-state, .loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i, .loading-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

.loading-state i {
    color: #ed6242;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 반응형 - CSS 브레이크포인트를 JS와 통일 */
@media (max-width: 1024px) { /* 1024px로 변경 */
    /* 태블릿: 2개씩 - JS에서 처리하므로 CSS flex 속성 제거 */
}

@media (max-width: 768px) {
    .press-release-section {
        padding: 40px 0;
    }

    .press-section-title {
        font-size: 1.75rem;
    }

    /* 모바일: 1개씩 - JS에서 처리하므로 CSS flex 속성 제거 */
    .press-card-content {
        padding: 16px;
    }
}