/* News Page Styles */

/* Hero Section */
.news-hero {
    margin-top: 88px;
    background-color: #ffffff;
    min-height: calc(100vh - 88px);
    padding-bottom: 100px;
    position: relative;
}

/* Ticker Banner */
.news-ticker {
    background-color: #1a1a1a;
    height: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.news-ticker .ticker-content {
    display: flex;
    gap: 8px;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.news-ticker .ticker-content span {
    color: #696969;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.42px;
    padding: 0 8px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 252px;
}

/* Title */
.news-title {
    font-family: 'Corporate HQ', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1.44px;
    text-transform: uppercase;
    margin: 60px 0 48px 0;
}

/* Category Bar */
.news-category {
    margin-bottom: 60px;
}

.category-line {
    height: 1px;
    background-color: #1a1a1a;
    width: 100%;
}

.category-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.category-left {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    flex: 1;
}

.category-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.72px;
    text-transform: uppercase;
    margin: 0;
}

.category-divider {
    width: 1px;
    height: 16px;
    background-color: #1a1a1a;
}

.category-info {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.category-headline {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #4d4d4d;
    letter-spacing: -0.48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.category-date {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #8c8c8c;
    letter-spacing: -0.48px;
}

.category-arrows {
    display: flex-row;
    flex-direction: row;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.arrow-prev,
.arrow-next {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.arrow-prev:hover,
.arrow-next:hover {
    opacity: 0.6;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    row-gap: 80px;
}

.news-item {
    display: flex;
    flex-direction: column;
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.8;
}

.news-image {
    width: 100%;
    height: 338px;
    overflow: hidden;
    background-color: #1a1a1a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-image .news-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}


.news-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #8c8c8c;
    letter-spacing: -0.48px;
}

.news-headline {
    font-family: 'Pretendard', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.96px;
    line-height: 1.45;
    margin: 0;
}

.news-excerpt {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4d4d4d;
    letter-spacing: -0.42px;
    line-height: 1.61;
    margin: 0;
}

.news-divider {
    height: 1px;
    background-color: #e0e0e0;
    width: 100%;
    margin-top: 8px;
}

/* Responsive Styles */
@media (max-width: 1680px) {
    .news-container {
        padding: 0 180px;
    }
}

@media (max-width: 1440px) {
    .news-container {
        padding: 0 120px;
    }
    
    .news-grid {
        gap: 20px;
        row-gap: 60px;
    }
}

@media (max-width: 1280px) {
    .news-container {
        padding: 0 120px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 1024px) {
    .news-container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 0 30px;
    }
    
    .news-title {
        font-size: 48px;
        margin: 40px 0 32px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .category-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .category-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .category-info {
        width: 100%;
    }

    .category-divider {
        width: 100%;
        height: 1px;
    }
    
    .category-arrows {
        display: flex;
        flex-direction: row;
        align-self: flex-end;
    }

    .category-arrows .arrow-prev svg {
        transform: rotate(-90deg);
    }

    .category-arrows .arrow-next svg {
        transform: rotate(-90deg);
    }
    
    .news-headline {
        font-size: 24px;
    }
    
    .news-image {
        height: 250px;
    }
    
    .news-placeholder-logo {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 36px;
    }
    
    .category-name {
        font-size: 20px;
    }
    
    .news-headline {
        font-size: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-placeholder-logo {
        width: 120px !important;
        height: 120px !important;
    }
}