/* Single: News */

.single-news {
    padding: 60px 0 80px;
    background-color: #F9FBFD;
}

/* Top bar: back + category (same line) */
.news-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #009DDF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: #0087C1;
}

.btn-back svg {
    flex-shrink: 0;
}

/* Header */
.news-header {
    margin-bottom: 30px;
}

.news-top-bar .news-category {
    display: inline-block;
    background-color: #C5F4F7;
    color: #009DDF;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-category:hover {
    background-color: #36C3C1;
    color: #FFFFFF;
}

.news-title {
    font-size: 36px;
    font-weight: 700;
    color: #030024;
    margin: 0 0 20px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #888888;
}

.news-date::after {
    content: '•';
    margin-left: 16px;
    color: #E0E0E0;
}

.news-reading-time {
    color: #009DDF;
    font-weight: 500;
}

/* Featured Image */
.news-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.news-content {
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.8;
    color: #323232;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #030024;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #030024;
    margin: 30px 0 15px;
    line-height: 1.3;
}

.news-content ul,
.news-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.news-content li {
    margin-bottom: 10px;
}

.news-content a {
    color: #009DDF;
    text-decoration: underline;
}

.news-content a:hover {
    color: #0087C1;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

/* Share Section */
.news-share {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.share-title {
    font-size: 20px;
    font-weight: 700;
    color: #030024;
    margin: 0 0 20px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #323232;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    flex-shrink: 0;
}

.share-btn-facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}

.share-btn-twitter:hover {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
    color: #FFFFFF;
}

.share-btn-linkedin:hover {
    background-color: #0A66C2;
    border-color: #0A66C2;
    color: #FFFFFF;
}

.share-btn-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
}

.share-btn-copy:hover {
    background-color: #F6FCFC;
    border-color: #36C3C1;
    color: #36C3C1;
}

/* Related Posts */
.news-related {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.related-title {
    font-size: 28px;
    font-weight: 700;
    color: #030024;
    margin: 0 0 30px;
}

.news-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Use shared news-grid styles from archive-news.css */
.news-related-grid .news-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-related-grid .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.news-navigation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.nav-link {
    display: block;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: #36C3C1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #030024;
    line-height: 1.4;
}

.nav-link:hover .nav-title {
    color: #36C3C1;
}

/* Responsive */
@media (min-width: 768px) {
    .single-news {
        padding: 80px 0 100px;
    }

    .news-title {
        font-size: 42px;
    }

    .news-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-navigation {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-prev {
        text-align: left;
    }

    .nav-next {
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .news-title {
        font-size: 48px;
    }

    .news-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
