/* 뉴스룸 페이지 전용 스타일 */
.press-main {
    padding-top: 100px;
}
.press-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.page-title { text-align: center; margin-bottom: 3rem; }
.page-title h1 { font-size: 2.8rem; font-weight: 900; color: var(--heading-color); margin-bottom: 0.5rem; }
.page-title p { font-size: 1.1rem; color: #666; }

/* [변경] 피처드 슬라이더 스타일 */
.featured-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4rem;
}
.slider-container {
    display: flex;
    width: 300%; /* 슬라이드 개수(3개) * 100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide-item {
    width: 33.333%; /* 100% / 슬라이드 개수(3개) */
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.slide-content {
    position: absolute;
    height: 15%;
    bottom: 0;
    left: 0;
    width: 110%;
    background-color: var(--primary-color);
    color: white;
    padding-right: 2%;
    padding-left: 2%;
    padding-top: 2%;
    padding-bottom: 3%;
    border-top-right-radius: 10px;
}
.slide-content h3 { position: relative; font-size: 1.3rem; margin: 0 0 0 0; top: -0.47rem; }
.slide-content .date { font-size: 0.9rem; opacity: 0.8; }

/* [추가] 슬라이더 컨트롤 및 페이지네이션 */
.slider-controls {
    position: absolute;
    bottom: 0.9rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.slider-controls button {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}
.pagination {
    display: flex;
    gap: 0.5rem;
}
.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.pagination-dot.active {
    background-color: white;
}


/* 뉴스 그리드 및 아이템 (이전과 동일) */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.news-item { border-bottom: 1px solid #eee; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.news-item:last-child { border-bottom: none; }
.news-link { display: flex; gap: 1.5rem; text-decoration: none; color: inherit; }
.thumbnail { flex-shrink: 0; width: 200px; height: 130px; border-radius: 5px; overflow: hidden; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-link:hover .thumbnail img { transform: scale(1.05); }
.news-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; transition: color 0.3s ease; }
.news-link:hover .news-content h3 { color: var(--primary-color); }
.news-content .date { font-size: 0.9rem; color: #888; }
.category-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; background-color: var(--primary-color); color: white; margin-bottom: 0.1rem; }
.slide-content .category-tag { background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.8); }
.category-tag.blog { background-color: var(--secondary-color); }
.sidebar h4 { font-size: 1.3rem; padding-bottom: 0.5rem; border-bottom: 2px solid #333; margin-bottom: 1rem; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 5px; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-title { font-size: 1rem; font-weight: 500; margin-top: 0.8rem; color: #333; }

/* 반응형 디자인 */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: 1fr; }
    .slide-content { width: 70%; }


    .company-info {
            display : none;
        }
        .legal-notice {
            display : none;
        }

}
@media (max-width: 768px) {
    .press-main { padding-top: 150px; }
    .page-title h1 { font-size: 2.2rem; }
    .featured-slider { height: 300px; }
    .slide-content { width: 100%; border-top-right-radius: 0; }
    .slide-content h3 { font-size: 1.2rem; }
    .news-link { flex-direction: column; }
    .thumbnail { width: 100%; height: 180px; }
}


/* [추가] 카테고리 필터 스타일 */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 700;
}
