/**
 * MUI V2 Single News Stylesheet.
 * Extends the stable single post article shell while adding news-only sidebar/spotlight styling.
 */

body.mui-v2-single-news-template #mui-v2-single-post.mui-v2-single-news {
    isolation: isolate !important;
}

/* Spotlight benefits: intentionally no outer card/frame. */
body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-news-spotlight-benefits {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-news-spotlight-item {
    border-bottom: 1px solid #e5e5e785 !important;
    padding-bottom: 14px !important;
    text-decoration: none !important;
    transition: opacity 180ms ease !important;
}

body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-news-spotlight-item:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-news-spotlight-item:hover {
    opacity: 0.92 !important;
}

body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-single-news-comments-wrap #comments-section {
    margin-top: 0 !important;
}

@media (max-width: 1023px) {
    body.mui-v2-single-news-template #mui-v2-single-post #post-sidebar-col {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }

    body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-single-news-sidebar {
        margin-top: 0 !important;
    }
}

/* Dark Mode */
html.dark body.mui-v2-single-news-template #mui-v2-single-post .mui-v2-news-spotlight-item {
    border-bottom-color: #2D2D34 !important;
}

/* Focus mode keeps only the article column, matching the existing single post behavior. */
body.mui-v2-single-news-template.mui-v2-single-focus-mode #post-sidebar-col,
body.mui-v2-single-news-template.mui-v2-single-focus-mode .mui-v2-single-news-comments-wrap {
    display: none !important;
}
