/* Hide original header elements */
.hero-section, .ultra-minimal-header {
    display: none !important;
}

/* Adjust news header spacing */
.news-header {
    padding-top: 0;
}

.news-meta {
    margin-top: 0.5rem;
}

/* Mobile adjustments for layout */
@media (max-width: 767px) {
    /* Fix for mobile layout - ensure main content appears before sidebar */
    .main-content {
        order: 1;
    }
    
    .sidebar-content {
        order: 2;
        margin-top: 2rem;
    }
}

/* Ensure proper stacking on mobile */
@media (max-width: 991px) {
    .news-detail-page .row {
        display: flex;
        flex-direction: column;
    }
}

/* Modern News Detail Layout */
.news-detail-page {
    background:
        radial-gradient(circle at top right, rgba(0, 114, 206, 0.07), transparent 35%),
        linear-gradient(180deg, #f7fbff 0%, #eff5fa 100%);
}

.news-detail-container {
    padding: 1.2rem 0 3rem;
}

.news-article {
    background: #fff;
    border: 1px solid rgba(0, 77, 153, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.4rem;
    box-shadow: 0 12px 28px rgba(10, 31, 68, 0.08);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
    color: #41586d;
    font-size: 0.9rem;
}

.news-date i,
.news-categories i {
    color: #0073c6;
}

.news-featured-image {
    margin: 0.9rem 0 1.15rem;
    border-radius: 12px;
    overflow: hidden;
    background: #dce7f2;
    border: 1px solid rgba(0, 77, 153, 0.1);
}

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

/* Body size + justify: global content-typography.css (variables: --tcl-content-font-size) */
.news-content {
    color: #31495d;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    color: #123f6c;
    margin-top: 1.4rem;
    margin-bottom: 0.65rem;
}

.news-content p {
    margin-bottom: 1rem;
}

.news-content a {
    color: #005ea8;
}

.news-content a:hover {
    color: #003f71;
}

.news-footer {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid #dce7f2;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.share-label {
    color: #123f6c;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-buttons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.share-buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

.share-buttons .facebook { background: #1877f2; }
.share-buttons .twitter { background: #1da1f2; }
.share-buttons .whatsapp { background: #25d366; }
.share-buttons .email { background: #6c757d; }

.news-sidebar {
    position: sticky;
    top: 1.25rem;
}

.sidebar-block.related-news {
    background: #fff;
    border: 1px solid rgba(0, 77, 153, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(10, 31, 68, 0.08);
    padding: 1rem;
}

.sidebar-title {
    color: #123f6c;
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid #e3eef8;
}

.related-news-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.7rem 0;
    border-bottom: 1px solid #ecf2f8;
}

.related-news-item:last-child {
    border-bottom: 0;
}

.related-news-image {
    border-radius: 8px;
    overflow: hidden;
    background: #e3ebf3;
}

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

.related-news-content h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 0.35rem;
}

.related-news-content h4 a {
    color: #184b79;
    text-decoration: none;
}

.related-news-content h4 a:hover {
    color: #005ea8;
}

.related-news-date {
    color: #607789;
    font-size: 0.8rem;
}

.related-news-date i {
    color: #0073c6;
}

@media (max-width: 991px) {
    .news-sidebar {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .news-detail-container {
        padding-top: 0.5rem;
    }

    .news-article,
    .sidebar-block.related-news {
        border-radius: 12px;
        padding: 1rem;
    }

    .related-news-item {
        grid-template-columns: 72px 1fr;
        gap: 0.6rem;
    }

    .related-news-image img {
        height: 62px;
    }
}
