/*
Theme Name: BlackNews
Theme URI:  https://afthemes.com/products/blacknews/
Author:     AF themes
Author URI: https://afthemes.com/
Description: BlackNews is a modern, dark newspaper-style WordPress theme designed for news, blogs, and magazine publishers seeking a bold and professional design. Fully compatible with popular page builders like Elementor, Gutenberg, Brizy, Beaver Builder, Visual Composer, and Divi, it offers exceptional design flexibility. This responsive, SEO-optimized theme supports major plugins such as WooCommerce, Jetpack, Contact Form 7, and Yoast SEO, enabling the creation of feature-rich websites. Multilingual and RTL-ready, with demo content available in English, Spanish, Chinese, Arabic, French, and Japanese, BlackNews caters to global audiences. Its lightweight structure and fast-loading performance ensure optimal user experience, while features like 1-click demo import, customizable widgets, diverse layout options, and banner areas make setup intuitive and content presentation engaging. Perfect for news portals, blogs, and magazines, BlackNews combines sleek functionality with a captivating dark design. Explore more at https://afthemes.com/products/blacknews/.
Template: morenews
Version: 1.0.15
Requires at least: 4.0
Requires PHP: 5.3
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blacknews
Tags: news, blog, entertainment, one-column, two-columns, three-columns, four-columns, grid-layout, block-patterns, block-styles, left-sidebar, right-sidebar, custom-header, flexible-header, custom-background, custom-logo, custom-menu, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, footer-widgets, translation-ready, theme-options, threaded-comments, wide-blocks

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

BlackNews WordPress Theme, Copyright 2025 AF themes
BlackNews is distributed under the terms of the GNU GPL v2 or later.
*/

div#main-navigation-bar {
    background: #0140DD;
}

.exclusive-posts .exclusive-now {
    background-color: #D70015;
}

.main-navigation .menu-description {
    background-color: #D70015;
}

.main-navigation .menu-description:after {
    border-top: 5px solid #D70015;
}

div.custom-menu-link>a {
    background: #D70015;
}

.aft-dark-mode .aft-main-banner-wrapper .af-slick-navcontrols,
.aft-dark-mode .morenews-widget .af-slick-navcontrols,
.aft-dark-mode .morenews-customizer .section-wrapper .af-slick-navcontrols,

body.aft-dark-mode.single-post-title-full .entry-header-details,
body.aft-dark-mode .main-navigation .menu .menu-mobile,
body.aft-dark-mode .main-navigation .menu>ul>li>ul,
body.aft-dark-mode .main-navigation .menu>ul ul,
body.aft-dark-mode .af-search-form,
body.aft-dark-mode .aft-popular-taxonomies-lists,
body.aft-dark-mode .exclusive-slides::before,
body.aft-dark-mode .exclusive-slides::after,
body.aft-dark-mode .banner-exclusive-posts-wrapper .exclusive-posts:before,

body.aft-dark-mode.woocommerce div.product,
body.aft-dark-mode.home.blog main.site-main,
body.aft-dark-mode main.site-main,
body.aft-dark-mode.single main.site-main .entry-content-wrap,
body.aft-dark-mode .af-main-banner-latest-posts.grid-layout.morenews-customizer .container-wrapper,
body.aft-dark-mode .af-middle-header,
body.aft-dark-mode .mid-header-wrapper,
body.aft-dark-mode .comments-area,
body.aft-dark-mode .af-breadcrumbs,
.aft-dark-mode .morenews-customizer,
body.aft-dark-mode .morenews-widget {
    background-color: #343438;
}

@media only screen and (min-width: 993px) {

    body.aft-dark-mode .main-navigation .menu ul ul ul,
    body.aft-dark-mode .main-navigation .menu>ul>li>ul {
        background-color: #343438;
    }
}

.af-cat-widget-carousel a.morenews-categories.category-color-1 {
    background-color: #0140DD;

}

a.morenews-categories.category-color-1 {
    color: #0140DD;
}

.af-cat-widget-carousel a.morenews-categories.category-color-2 {
    background-color: #D70015;

}

a.morenews-categories.category-color-2 {
    color: #D70015;
}

p {
    margin-bottom: 30px;
}



.entry-content,
.entry-header .post-excerpt {
    font-size: 18px;
}

body.single-post .entry-title,
h1.page-title {
    font-size: 34px;
}

ul.wp-block-list,
ol.wp-block-list {
    margin-bottom: 20px;
}

body,
button,
input,
select,
optgroup,
textarea {
    line-height: 1.7;
}

input {
    vertical-align: middle;
}

textarea {
    width: 100%;
}

body .reply a,
div#respond input[type="submit"],
.btn-style1 a:visited,
.btn-style1 a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 5px 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.cat-links li a {
    font-size: 12px;
    letter-spacing: normal;
    line-height: 1;
}

.af-cat-widget-carousel a.morenews-categories {
    padding: 5px 10px;

}

blockquote {
    font-size: 1.4rem;
}

ul.trail-items li a {
    font-size: 16px;
    opacity: 1;
}

.entry-header .entry-meta {
    font-size: 16px;
}

.entry-header .post-excerpt {
    font-size: 1.4rem;
}

a.comment-reply-link {
    font-size: 12px;
    padding: 5px 10px;
    transition: all 300ms ease-out;
    text-transform: uppercase;
    font-weight: 700;
}

a.comment-reply-link,
a.comment-reply-link:visited,
a.comment-reply-link:hover,
a.comment-reply-link:focus {
    color: #ffffff;
}

.wp-calendar-table tbody,
#wp-calendar tbody {
    color: #404040;
}

.aft-dark-mode .wp-block-table :where(figcaption),
.aft-dark-mode .wp-block-calendar table:where(:not(.has-text-color)),
.aft-dark-mode .wp-calendar-table tbody,
.aft-dark-mode #wp-calendar tbody {
    color: #ffffff;
}

footer.site-footer.data-bg::before,
.af-header-image.data-bg::before {

    opacity: .6;
}

.gallery-caption {
    position: static;
}

figcaption a {
    text-decoration: underline;
}

.morenews-pagination .nav-links .page-numbers.dots {
    border-width: 0;
}

body.page div.comments-area {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.entry-content>[class^="wp-block-"] {
    margin-bottom: 30px;
}

.morenews-widget .wp-block-group .wp-block-heading {
    font-size: 16px;
}

ul.wp-block-categories-list.wp-block-categories li a,
ul.wp-block-archives-list.wp-block-archives li a {
    font-weight: 700;
    transition: all 0.075s linear;
    border-width: 0;
}

.mailchimp-block .block-title,
.morenews_posts_slider_widget .read-single .read-details .read-title h3,
article.latest-posts-full .read-title h3,
.af-banner-carousel .read-title h3 {
    font-size: 34px;
}

.wp-post-author .wp-post-author-meta-bio {
    opacity: 1;
}

.wp-post-author .awpa-display-name {
    font-weight: 700;
}

.awpa-review-field .right-star .awpa-rating-button {
    border-radius: 50px;
    text-transform: none;
    font-weight: 400;
    line-height: normal;
}

a.awpa-more-posts:hover {
    border-bottom: 1px solid !important;
}

.single h3.awpa-title,
.single .awpa-review-field h3 {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body .entry-content>ul a.wp-block-pages-list__item__link {
    border: none;
}

article .promotionspace .morenews-customizer {
    margin-bottom: 0;
}

article .mailchimp-block {
    margin-top: 20px;
}



body .post-navigation .em-post-navigation {
    opacity: 1;
    font-weight: normal;
}

.entry-content.read-details .entry-meta {
    font-size: 16px;
}

/* header promotion background remove*/
body.aft-dark-mode .header-promotion .morenews-widget,
body.aft-default-mode .header-promotion .morenews-widget {
    background: transparent;
}

div[id*="splw-location-weather"].splw-main-wrapper {
    max-width: unset !important;
}

.home-featured-widgets .morenews-widget:last-child {    
    margin-bottom: 20px;
}

.secondary-footer .af-container-row,
.site-info .af-container-row {
    margin: 0;
}

/* 
.elementor-page .container-wrapper,
.elementor-default .container-wrapper {
    
    max-width: 1260px;
} */

@media only screen and (max-width: 375px) {
    body .site-branding .site-title {
        font-size: 2.75rem;
    }
}

@media only screen and (max-width: 640px) {

    .container-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    
    body.single-post .entry-title,
    body h1.page-title {
        font-size: 1.75rem;
    }

    body.single .entry-header .aft-post-excerpt-and-meta .post-excerpt {
        font-size: 1.2rem;
    }

    .reply,
    .comment div#respond,
    .comment-content,
    .comment .children {
        margin-left: 50px;
    }

    .comment-author img {
        width: 30px;
    }

    .comment .children .children .reply,
    .comment .children .children .comment-content,
    .comment .children .children .children .children {
        margin-left: 0;
    }

}



@media (min-width: 1200px) {
    body.single-content-mode-boxed article.af-single-article .post-thumbnail.full-width-image {
        padding-top: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .exclusive-posts .exclusive-now {
        float: left;
    }

    .main-navigation .menu .menu-mobile {
        width: 50%;
    }

    .header-layout-3 .site-header .site-branding .site-title,
    body .site-branding .site-title {
        font-size: 2.75rem
    }
}

@media only screen and (max-width: 479px) {
    .exclusive-posts .exclusive-now {
        float: none;
    }

    .main-navigation .menu .menu-mobile {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .af-main-banner-latest-posts .read-title h3,
    .af-main-banner-featured-posts .read-title h3 {
        font-size: 18px;
    }
}

