.news-page {
    padding-bottom: 30px;

    &.is-empty {
        display: flex;
        flex-direction: column;
    }

    .news-banner {
        display: block;
        margin: 10px 16px 9px;
        overflow: hidden;
        border: 1px solid var(--gray-050);
        border-radius: 20px;

        img {
            display: block;
            width: 100%;
            aspect-ratio: 358 / 280;
            object-fit: cover;
        }
    }

    .news-tabs {
        display: flex;
        gap: 10px;
        padding: 5px 16px 10px;
        overflow-x: auto;
        scrollbar-width: none;

        &::-webkit-scrollbar {
            display: none;
        }

        .news-tab {
            flex-shrink: 0;
            padding: 8px 15px;
            border: 1px solid var(--gray-100);
            border-radius: 1000px;
            background: var(--white-color);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            color: var(--gray-800);

            &.active {
                border-color: var(--primary-color);
                background: var(--primary-050);
                color: var(--primary-color);
            }
        }
    }

    .news-list {
        display: flex;
        flex-direction: column;
        padding: 0 16px;

        .news-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 20px 0;
            border-bottom: 1px solid var(--gray-050);

            &:first-child {
                padding-top: 14px;
            }

            .news-card-text {
                display: flex;
                flex: 1;
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                min-width: 0;

                .news-card-type {
                    padding: 5px 10px;
                    border-radius: 6px;
                    background: var(--gray-000);
                    font-size: 12px;
                    font-weight: 600;
                    line-height: 1.2;
                    color: var(--gray-600);
                }

                .news-card-title {
                    display: -webkit-box;
                    overflow: hidden;
                    font-size: 15px;
                    font-weight: 600;
                    line-height: 1.5;
                    color: var(--gray-900);
                    word-break: break-all;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                }

                .news-card-date {
                    font-size: 12px;
                    font-weight: 400;
                    line-height: normal;
                    color: var(--gray-500);
                }
            }

            .news-card-image {
                flex-shrink: 0;
                width: 100px;
                height: 100px;
                border: 1px solid var(--gray-050);
                border-radius: 15px;
                object-fit: cover;
            }

            &[data-type="CAMPAIGN"] .news-card-type {
                background: var(--orange-050);
                color: var(--orange5-color);
            }

            &[data-type="UPDATE"] .news-card-type {
                background: var(--Lime-Bg);
                color: var(--Lime-Point);
            }
        }
    }

    .search-input-wrap {
        + .news-list {
            margin-top: 14px;
        }
    }

    .news-empty {
        padding: 80px 16px;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-400);
        text-align: center;
    }

    .news-empty-view {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        text-align: center;

        img {
            width: 120px;
            height: 120px;
            margin-bottom: 10px;
        }

        .news-empty-title {
            margin-bottom: 10px;
            font-size: 17px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--gray-700);
        }

        .news-empty-desc {
            font-size: 15px;
            font-weight: 500;
            line-height: 1.6;
            color: var(--legacy-gray5-color);
        }
    }
}
