/* templates/homepage1_corporate/styles.css - 템플릿 전용 스타일 */

/* 7:3 비율 그리드 레이아웃 */
.news-banner-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 20px;
    align-items: start;
}

.news-section {
    width: 100%;
}

.banner-section-wrapper {
    height: auto;
    width: 100%;
    max-width: 100%;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .news-banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 배너 섹션 레이아웃 조정 */
.banner-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

.banner-slider-container {
    width: 100%;
    max-width: 100%;
}

.banner-slider {
    width: 100%;
    position: relative;
}

.banner-slide {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.banner-slide.active {
    opacity: 1;
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.banner-title {
    padding: 10px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    width: 100%;
    max-width: 100%;
}

.banner-controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
}

.banner-prev, .banner-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 3px;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.banner-dots {
    display: flex;
    gap: 5px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-dot.active {
    background: #333;
}

.banner-placeholder {
    padding: 2rem;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder p {
    margin: 0;
}
