/* ===== NEWS LIST PAGE ===== */
.ssg-news-page {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.ssg-page-header {
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ssg-page-title {
    font-size: 3em;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.ssg-page-subtitle {
    font-size: 1.2em;
    color: var(--color-gray-500);
    margin-bottom: 15px;
}

/* Filter Tabs */
.ssg-news-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.ssg-filter-btn {
    padding: 12px 30px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50px;
    color: var(--color-black);
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ssg-filter-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    color: #60a5fa;
}

.ssg-filter-btn.active {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

/* News Grid */
.ssg-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* News Card */
.ssg-news-card {
    background: linear-gradient(135deg, var(--ssg-logo-color) 0%, #2c3e5f 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.ssg-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ssg-news-card:hover::before {
    transform: scaleX(1);
}

.ssg-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.ssg-news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.ssg-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ssg-news-card:hover .ssg-news-image img {
    transform: scale(1.1);
}

.ssg-news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.ssg-news-content {
    padding: 25px;
}

.ssg-news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.ssg-news-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ssg-news-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssg-news-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssg-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.ssg-read-more:hover {
    gap: 12px;
    text-decoration: underline;
}

/* Featured News */
.ssg-featured-news {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 20px;
}

.ssg-featured-news .ssg-news-image {
    height: 100%;
    min-height: 400px;
}

.ssg-featured-news .ssg-news-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ssg-featured-news .ssg-news-title {
    font-size: 2em;
    -webkit-line-clamp: 3;
}

/* ===== NEWS DETAIL PAGE ===== */
.ssg-news-detail {
    padding: 100px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.ssg-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.ssg-back-button:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateX(-5px);
}

.ssg-detail-header {
    margin-bottom: 40px;
}

.ssg-detail-badge {
    display: inline-block;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
}

.ssg-detail-title {
    font-size: 2.5em;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1.3;
    margin-bottom: 20px;
}

.ssg-detail-meta {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--color-gray-900);
}

.ssg-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ssg-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.ssg-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssg-detail-content {
    color: var(--color-gray-900);
    line-height: 1.8;
    font-size: 1.1em;
}

.ssg-detail-content h2 {
    color: #60a5fa;
    font-size: 1.8em;
    /* margin: 40px 0 20px; */
}

.ssg-detail-content h3 {
    color: #60a5fa;
    font-size: 1.4em;
    /* margin: 30px 0 15px; */
}

.ssg-detail-content p {
    margin-bottom: 20px;
}

.ssg-detail-content ul, .ssg-detail-content ol {
    margin: 20px 0 20px 30px;
}

.ssg-detail-content li {
    margin-bottom: 10px;
}

.ssg-detail-content blockquote {
    border-left: 4px solid #60a5fa;
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

/* Share Buttons */
.ssg-share-section {
    /* margin-top: 60px; */
    padding: 30px;
    background: linear-gradient(135deg, var(--ssg-logo-color) 0%, #2c3e5f 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 15px;
}

.ssg-share-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #60a5fa;
}

.ssg-share-buttons {
    display: flex;
    gap: 15px;
}

.ssg-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ssg-share-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-3px);
}

/* Related News */
.ssg-related-news {
    margin-top: 20px;
}

.ssg-related-title {
    font-size: 2em;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .ssg-page-title {
        font-size: 2em;
    }

    .ssg-news-grid {
        grid-template-columns: 1fr;
    }

    .ssg-featured-news {
        grid-template-columns: 1fr;
    }

    .ssg-featured-news .ssg-news-image {
        min-height: 300px;
    }

    .ssg-detail-title {
        font-size: 1.8em;
    }

    .ssg-detail-image {
        height: 300px;
    }

    .ssg-share-buttons {
        flex-wrap: wrap;
    }
}