.profile-news-scroll {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-news-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: default;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    flex: 1;
}

.profile-news-scroll-container::-webkit-scrollbar {
    display: none;
}

.profile-news-scroll-container.grabbing {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.profile-news-items {
    display: flex;
    gap: 0.875rem;
    padding: 0.5rem 0 0.5rem 0.75rem;
    width: max-content;
}

.news-item {
    min-width: 240px;
    max-width: 260px;
    flex: 0 0 auto;
}

.news-card {
    padding: 0;
    border-radius: 0.5rem;
    border: 1px solid var(--overlay-light-07, rgba(255, 255, 255, 0.06));
    background: var(--overlay-light-02, rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.news-card-image-wrapper {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(var(--profile-placeholder-start-rgb, 102, 126, 234), 0.15), rgba(var(--profile-placeholder-end-rgb, 118, 75, 162), 0.15));
    flex-shrink: 0;
}

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

.news-card-content {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.news-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--overlay-light-95, rgba(255, 255, 255, 0.95));
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-subtext {
    font-size: 0.8rem;
    color: var(--overlay-light-60, rgba(255, 255, 255, 0.6));
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    padding: 0 0.875rem 0.875rem 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}

.news-card-date {
    font-size: 0.7rem;
    color: var(--overlay-light-45, rgba(255, 255, 255, 0.45));
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card-date::before {
    content: '📅';
    font-size: 0.75rem;
}

.news-card-detail-btn {
    padding: 0.375rem 0.75rem;
    background: rgba(var(--profile-placeholder-start-rgb, 102, 126, 234), 0.2);
    border: 1px solid rgba(var(--profile-placeholder-start-rgb, 102, 126, 234), 0.3);
    border-radius: 0.375rem;
    color: var(--overlay-light-90, rgba(255, 255, 255, 0.9));
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.news-card-detail-btn svg {
    width: 12px;
    height: 12px;
}

.profile-news-section {
    margin-bottom: 2rem;
}

.profile-news-header {
    margin-bottom: 1rem;
}

.profile-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--overlay-light-100, #ffffff);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-news-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--profile-placeholder-start, #667eea) 0%, var(--profile-placeholder-end, #764ba2) 100%);
    border-radius: 2px;
}

.profile-news-subtitle {
    font-size: 0.875rem;
    color: var(--overlay-light-60, rgba(255, 255, 255, 0.6));
    margin: 0 0 0.75rem 0;
}

.profile-news-nav-btn {
    position: relative;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    border: 1px solid var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    background: var(--overlay-light-05, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    color: var(--stats-text-color, rgba(255, 255, 255, 0.8));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.profile-news-nav-btn:hover {
    background: var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    border-color: var(--overlay-light-20, rgba(255, 255, 255, 0.2));
    color: var(--overlay-light-100, rgba(255, 255, 255, 1));
    transform: scale(1.05);
}

.profile-news-nav-btn:active {
    transform: scale(0.95);
}

.profile-news-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.profile-news-nav-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .news-item {
        min-width: 220px;
        max-width: 240px;
    }

    .news-card-image-wrapper {
        height: 120px;
    }

    .news-card-content {
        padding: 0.75rem;
        gap: 0.375rem;
    }

    .news-card-title {
        font-size: 0.85rem;
    }

    .news-card-subtext {
        font-size: 0.75rem;
    }

    .news-card-footer {
        padding: 0 0.75rem 0.75rem 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-card-date {
        font-size: 0.65rem;
    }

    .news-card-detail-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.7rem;
        padding: 0.35rem 0.65rem;
    }

    .profile-news-title {
        font-size: 1.25rem;
    }

    .profile-news-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .profile-news-header {
        margin-bottom: 0.75rem;
    }

    .profile-news-items {
        gap: 0.5rem;
    }

    .profile-news-nav-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .profile-news-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

