/* Editorial Reading Mode - Custom Template Styles */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;700&display=swap');

/* --- 1. News Bar --- */
.post-template-single-pro-editorial .editorial-news-bar {
    background-color: #cc0000;
    /* Breaking News Red */
    text-align: center;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 0;
    color: #ffffff;
    /* White text */
    width: 100%;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    /* Bold */
}

.post-template-single-pro-editorial .editorial-news-bar strong {
    font-weight: 900;
    /* Extra bold for "BREAKING" */
    color: #fff;
}

.post-template-single-pro-editorial .editorial-news-bar a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s;
}

.post-template-single-pro-editorial .editorial-news-bar a:hover {
    color: #ffffff;
    opacity: 0.8;
}


/* --- 2. High Specificity Scoping & Global Background Override --- */
html,
body.single-pro-editorial,
.post-template-single-pro-editorial,
.post-template-single-pro-editorial .page-wrapper,
.post-template-single-pro-editorial .main-page-wrapper,
.post-template-single-pro-editorial .doob-main-wrapper,
.post-template-single-pro-editorial .editorial-reading,
.post-template-single-pro-editorial #page,
.post-template-single-pro-editorial .site,
.post-template-single-pro-editorial .site-content,
.post-template-single-pro-editorial .header-default,
.post-template-single-pro-editorial .rbt-single-widget .wp-block-search__label {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
}

/* Footer Exception */
.post-template-single-pro-editorial footer {
    background-color: #000 !important;
    background: #000 !important;
}

/* Theme Variable Overrides */
.post-template-single-pro-editorial {
    --color-heading: #111111;
    --color-body: #1a1a1a;
    --primary-font: 'Roboto', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    --color-primary: #000000;
}


/* --- 3. Layout Structure & Elementor Reset --- */
.post-template-single-pro-editorial .main-content-area {
    padding-top: 60px;
    padding-bottom: 80px;
}

.post-template-single-pro-editorial .container {
    max-width: 1400px;
    /* Open Layout */
}

/* Force Reset Elementor Section margins/paddings */
.post-template-single-pro-editorial .elementor-section,
.post-template-single-pro-editorial .elementor-column {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.post-template-single-pro-editorial .elementor-widget {
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* [elementor-widget-container reset REMOVED by request] */


/* --- 4. Clean Typography (Aggressive Override) --- */
.post-template-single-pro-editorial .entry-content,
.post-template-single-pro-editorial .entry-content * {
    font-family: 'Roboto', sans-serif !important;
    font-size: 19px !important;
    color: #1a1a1a !important;
    line-height: 1.8 !important;
}

/* Restore Icon Fonts (Specific Chained Override) */
.post-template-single-pro-editorial .entry-content i.fas,
.post-template-single-pro-editorial .entry-content i.fa,
.post-template-single-pro-editorial .entry-content i.fab,
.post-template-single-pro-editorial .entry-content i.far,
.post-template-single-pro-editorial .entry-content span.elementor-icon-list-icon i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    text-transform: none !important;
}

/* Reset Theme Padding Overrides on Entry Content */
.post-template-single-pro-editorial .entry-content,
.post-template-single-pro-editorial .page-entry-content-footer-wrapper {
    padding: 0 !important;
    margin: 0;
}


/* --- 5. Content Elements / Formatting --- */

/* Paragraphs */
.post-template-single-pro-editorial .entry-content p {
    margin-bottom: 24px;
}

/* Images */
.post-template-single-pro-editorial .entry-content img {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%
}

/* Headings (Override generic * rule for size/weight) */
.post-template-single-pro-editorial .entry-content h2,
.post-template-single-pro-editorial .entry-content h3,
.post-template-single-pro-editorial .entry-content h4,
.post-template-single-pro-editorial .entry-content h5,
.post-template-single-pro-editorial .entry-content h6 {
    color: #111 !important;
    font-weight: 700 !important;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3 !important;
    font-family: 'Roboto', sans-serif !important;
}

.post-template-single-pro-editorial .entry-content h2 {
    font-size: 32px !important;
}

.post-template-single-pro-editorial .entry-content h3 {
    font-size: 26px !important;
}

.post-template-single-pro-editorial .entry-content h4 {
    font-size: 22px !important;
}

.post-template-single-pro-editorial .entry-content h5 {
    font-size: 20px !important;
}

.post-template-single-pro-editorial .entry-content h6 {
    font-size: 18px !important;
}

/* Links (Black default, Blue Hover) */
.post-template-single-pro-editorial .entry-content a {
    color: #095ed5 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s ease;
}

.post-template-single-pro-editorial .entry-content a:hover {
    color: #193cb8 !important;
    background-color: transparent;
}

/* Lists */
.post-template-single-pro-editorial .entry-content ul,
.post-template-single-pro-editorial .entry-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
    margin-left: 20px;
}

.post-template-single-pro-editorial .entry-content ul {
    list-style-type: disc !important;
}

.post-template-single-pro-editorial .entry-content ol {
    list-style-type: decimal !important;
}

.post-template-single-pro-editorial .entry-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Blockquotes */
.post-template-single-pro-editorial .entry-content blockquote {
    border: none;
    border-left: 2px solid #000;
    padding: 10px 0 10px 30px;
    margin: 40px 0;
    background-color: #f3f3f3 !important;
    font-family: 'Roboto', sans-serif !important;
    font-style: italic;
    font-size: 24px !important;
    font-weight: 300 !important;
    color: #000 !important;
    line-height: 1.6 !important;
}

.post-template-single-pro-editorial .entry-content blockquote p {
    margin-bottom: 0 !important;
}

/* Remove Theme Icons */
.post-template-single-pro-editorial blockquote::before,
.post-template-single-pro-editorial .wp-block-quote::before,
.post-template-single-pro-editorial .wp-block-quote.is-style-large::before,
.post-template-single-pro-editorial .wp-block-quote.is-large::before {
    content: none !important;
    display: none !important;
}


/* --- 6. Header & Meta --- */
.post-template-single-pro-editorial .article-header {
    margin-bottom: 10px;
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0px;
}

.post-template-single-pro-editorial .header-default,
.post-template-single-pro-editorial .wp-block-search .wp-block-search__input {
    border-bottom: 1px solid #eee;
}

/* Breadcrumbs (Black + Bold) */
.post-template-single-pro-editorial .editorial-breadcrumbs {
    font-size: 14px;
    color: #000000 !important;
    font-weight: 600 !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
}

.post-template-single-pro-editorial .editorial-breadcrumbs a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600 !important;
    transition: color 0.3s ease;
}

.post-template-single-pro-editorial .editorial-breadcrumbs a:hover {
    color: #333 !important;
}

/* Article Title */
.post-template-single-pro-editorial .article-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-family: 'Playfair Display', serif !important;
}

/* Article Meta */
.post-template-single-pro-editorial .article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: #555 !important;
}

.post-template-single-pro-editorial .meta-left span {
    margin-right: 15px;
    color: #555 !important;
}

.post-template-single-pro-editorial .meta-left strong {
    color: #000;
    font-weight: 500;
}

/* Social Share */
.post-template-single-pro-editorial .social-share {
    display: flex;
    gap: 10px;
    align-items: center;
}

.post-template-single-pro-editorial .social-share a {
    color: #555;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.post-template-single-pro-editorial .social-share a:hover {
    color: #000;
}

/* Featured Image */
.post-template-single-pro-editorial .article-featured-image {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}

.post-template-single-pro-editorial .article-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* --- 7. Sidebar --- */
.post-template-single-pro-editorial .sidebar-area {
    padding-left: 0;
    border-left: none;
    /* No border */
    position: sticky;
    top: 100px;
    /* Follows user */
    height: fit-content;
}

.post-template-single-pro-editorial .widget {
    margin-bottom: 40px;
}

/* Sidebar Titles (Uppercase, Playfair) */
.post-template-single-pro-editorial .widget .title,
.post-template-single-pro-editorial .widget h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    display: inline-block;
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
}

/* Sidebar Lists */
.post-template-single-pro-editorial .widget ul,
.post-template-single-pro-editorial .wp-block-latest-posts,
.post-template-single-pro-editorial .wp-block-categories {
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.post-template-single-pro-editorial .widget ul li,
.post-template-single-pro-editorial .wp-block-latest-posts li,
.post-template-single-pro-editorial .wp-block-categories li {
    margin-bottom: 12px;
    font-size: 20px !important;
    font-family: 'Playfair Display', serif !important;
    padding-left: 0 !important;
}

/* No Icons */
.post-template-single-pro-editorial .widget ul li::before,
.post-template-single-pro-editorial .wp-block-latest-posts li::before,
.post-template-single-pro-editorial .wp-block-categories li::before {
    content: none !important;
    display: none !important;
}

/* Sidebar Links (Black) */
.post-template-single-pro-editorial .widget ul li a,
.post-template-single-pro-editorial .wp-block-latest-posts a,
.post-template-single-pro-editorial .wp-block-categories a {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Playfair Display', serif !important;
}

.post-template-single-pro-editorial .widget ul li a:hover,
.post-template-single-pro-editorial .wp-block-latest-posts a:hover,
.post-template-single-pro-editorial .wp-block-categories a:hover {
    color: #193cb8 !important;
}


/* --- 8. Footer Colors (White Text on Black) --- */
.post-template-single-pro-editorial footer div,
.post-template-single-pro-editorial footer p,
.post-template-single-pro-editorial footer li a,
.post-template-single-pro-editorial footer li,
.post-template-single-pro-editorial .footer-style-default .footer-top .rainbow-footer-widget .menu li a,
.post-template-single-pro-editorial footer .widget ul li a,
.post-template-single-pro-editorial .menu-item,
.post-template-single-pro-editorial footer h4 {
    color: #fff !important;
}


/* --- 9. Responsive --- */

/* Desktop Open Layout */
@media (min-width: 992px) {
    .post-template-single-pro-editorial .col-lg-8 {
        flex: 0 0 63% !important;
        max-width: 63% !important;
    }

    .post-template-single-pro-editorial .col-lg-4 {
        flex: 0 0 32% !important;
        max-width: 32% !important;
    }
}

/* Mobile/Tablet */
@media (max-width: 991px) {
    .post-template-single-pro-editorial .sidebar-area {
        padding-left: 0;
        border-left: none;
        margin-top: 50px;
        border-top: 1px solid #eee;
        padding-top: 40px;
        position: static;
        /* Disable sticky on mobile */
    }

    .post-template-single-pro-editorial .entry-content,
    .post-template-single-pro-editorial .entry-content * {
        font-size: 18px !important;
    }

    .post-template-single-pro-editorial .article-title {
        font-size: 32px;
    }

    .post-template-single-pro-editorial .col-lg-8 {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .post-template-single-pro-editorial .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .post-template-single-pro-editorial .meta-right {
        width: 100%;
        margin-top: 5px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    /* News Bar Mobile Optimization */
    .post-template-single-pro-editorial .editorial-news-bar {
        font-size: 11px;
        padding: 10px 20px;
        line-height: 1.5;
    }
}

/* Mobile Menu Visibility Fix */
.post-template-single-pro-editorial .popup-mobile-menu .mainmenu-item li a {
    color: #ffffff !important;
}