/*
Theme Name: NewsCave
Theme URI: https://afthemes.com/products/newscave/
Author: AF themes
Author URI: https://afthemes.com
Requires at least: 4.0
Requires PHP: 5.0
Tested up to: 7.1
Description: NewsCave is a fast, responsive, and SEO-friendly dark mode WordPress theme designed for modern news sites, online magazines, blogs, newspaper portals, and digital publishers. Powered by lightweight code and speed optimization, NewsCave delivers exceptional performance, high Core Web Vitals, and an enhanced dark UI/UX for comfortable nighttime reading. It features 50+ pre-designed starter sites fully compatible with the Gutenberg Block Editor, Elementor, and popular page builders for instant one-click demo import. Built with customizable header/footer layouts, flexible block patterns, category banner styles, seamless WooCommerce integration, full RTL and multilingual (WPML) readiness, and accessibility-focused standards, it gives you complete design control. NewsCave integrates smoothly with leading plugins like Yoast SEO, Rank Math, Jetpack, and Contact Form 7 to help you launch a high-traffic, professional news or magazine publication with ease. Explore the live preview and demo at https://afthemes.com/products/newscave/
Template: covernews
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newscave
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.

NewsCave WordPress Theme, Copyright 2026 AF themes
NewsCave is distributed under the terms of the GNU GPL v2 or later.
*/

:root {
    /* Purple tones mixed with black — softer contrast on dark UI */
    --newscave-purple-deep: #0c0612;
    --newscave-purple: #221433;
    --newscave-purple-mid: #2f1d47;
    --newscave-purple-soft: #4a3a62;
    --newscave-purple-accent: #9a82c4;
    --newscave-bar-gradient: linear-gradient(
        90deg,
        #08050e 0%,
        #1e1230 45%,
        #14101c 100%
    );
    --newscave-gold: #e8c547;
    --newscave-card-stripe: linear-gradient(
        135deg,
        var(--newscave-gold) 0%,
        var(--newscave-purple-mid) 28%,
        var(--newscave-purple-soft) 52%,
        var(--newscave-gold) 100%
    );
}

body.dark.custom-background,
body.dark {
    background-color: #111111;
}

/* Logo + purple menu — fixed at top after scrolling past the date bar */
body.newscave-fixed-header #masthead.site-header.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.newscave-masthead-placeholder {
    display: none;
    width: 100%;
}

/* Header banner image behind HWAN789 logo */
.header-layout-3 #masthead .masthead-banner.newscave-header-banner {
    position: relative;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.header-layout-3 #masthead .masthead-banner.newscave-header-banner.data-bg::before {
    display: none;
}

.header-layout-3 #masthead .masthead-banner.newscave-header-banner .site-branding {
    text-align: center;
}

.header-layout-3 .site-header .site-branding .site-title {
    text-transform: none;
}

/* hwan789 logo — hide text site title when logo is used */
.newscave-site-branding .site-title,
.newscave-site-branding .site-description,
.site-branding .site-title,
.site-branding .site-description,
.af-mobile-site-title-wrap .site-title {
    display: none !important;
}

/* Header logo only — do not change masthead / row height */
.newscave-site-branding .custom-logo-link,
.site-branding .custom-logo-link {
    line-height: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Top bar (date + sosmed) — purple theme */
.top-masthead {
    background: var(--newscave-bar-gradient) !important;
}

.top-masthead,
.top-masthead .topbar-date,
.top-masthead .top-navigation a,
.top-masthead a {
    color: #fff;
}

/* Top bar: date left, square social icons right */
.newscave-topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-masthead .newscave-topbar-social.social-navigation {
    float: none;
    margin-left: auto;
}

.top-masthead .newscave-topbar-social ul li a {
    border-radius: 0;
    width: 34px;
    height: 34px;
    font-size: 15px;
}

.top-masthead .newscave-topbar-social ul li:not(:last-child) {
    margin-right: 5px;
}

.newscave-topbar-social ul a[href*="t.me"]:after {
    content: "\f2c6";
}

.newscave-topbar-social .newscave-social-telegram a {
    background: #24a1de;
}

.newscave-topbar-social .newscave-social-telegram a:after {
    content: "\f2c6";
}

.newscave-topbar-social .newscave-social-chrome a {
    background: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.78 1.22 9.33 3.24L35.6 6.3C31.94 3.4 27.18 1.5 22 1.5 13.16 1.5 5.66 6.66 2.4 14.5l8.55 6.62C12.66 15.62 17.94 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.5 24c0-1.55-.15-3.07-.42-4.55H24v9.02h12.7c-.55 2.98-2.22 5.5-4.74 7.22l7.19 5.58C43.98 37.98 46.5 31.55 46.5 24z'/%3E%3Cpath fill='%2334A853' d='M10.95 28.88c-.48-1.45-.76-2.98-.76-4.88s.28-3.43.76-4.88l-8.55-6.62C1.35 17.06 0 20.38 0 24s1.35 6.94 3.4 10.5l7.55-6.62z'/%3E%3Cpath fill='%23FBBC05' d='M24 46.5c6.48 0 11.93-2.13 15.89-5.81l-7.19-5.58c-2.01 1.35-4.59 2.16-8.7 2.16-6.06 0-11.34-4.12-13.16-9.62l-8.55 6.62C5.66 41.34 13.16 46.5 24 46.5z'/%3E%3Ccircle fill='%234285F4' cx='24' cy='24' r='9.5'/%3E%3Ccircle fill='%23fff' cx='24' cy='24' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.newscave-topbar-social .newscave-social-chrome a:after {
    content: none;
}

.newscave-topbar-social .newscave-social-whatsapp a {
    background: #25d366;
}

.newscave-topbar-social .newscave-social-whatsapp a:after {
    content: "\f232";
}

.newscave-topbar-social .newscave-social-tiktok a {
    background: #111;
}

.newscave-topbar-social .newscave-social-tiktok a:after {
    content: "\e900";
}

.newscave-topbar-social .newscave-social-twitter a {
    background: #000;
}

.newscave-topbar-social .newscave-social-twitter a:after {
    content: "\f099";
}

@media only screen and (max-width: 991px) {
    .newscave-topbar-right {
        justify-content: center;
    }

    .top-masthead .newscave-topbar-social.social-navigation {
        margin-left: 0;
    }
}

img.newscave-logo,
.custom-logo.newscave-logo {
    width: auto;
    max-width: min(420px, 90vw);
    height: auto;
    max-height: 118px;
    display: block;
}

.newscave-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    text-align: center;
    padding: 8px 0;
}

.newscave-footer-brand .newscave-copyright-label {
    font-size: 14px;
    line-height: 1.4;
    color: inherit;
}

.newscave-footer-brand .newscave-footer-logo-link {
    line-height: 0;
    display: inline-flex;
    align-items: center;
}

img.newscave-footer-logo {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 36px;
    display: block;
}

.site-info .newscave-footer-brand {
    display: flex;
}

.widget-title,
.widget-title span,
.covernews-heading-style,
.em-reated-posts .related-title,
.wp-block-group .wp-block-search__label,
.wp-block-group .wp-block-heading,
.widget_block .wp-block-search__label,
.widget_block .wp-block-heading,
#secondary .widget-title span,
span.header-after {
    font-size: 16px;
}

.wp-element-button,
.wp-block-button.is-style-fill a,
.woocommerce a.button:hover,
:is(.woocommerce, .woocommerce-page) :is(#content input.button, #respond input#submit, a.button, button.button, input.button),
.woocommerce nav.woocommerce-pagination ul li :is(a:hover, a:focus, span.current),
:is(.woocommerce, .woocommerce-page) :is(#content input.button.alt:hover, #respond input#submit.alt:hover,
    a.button.alt:hover, button.button.alt:hover, input.button.alt:hover),
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #review_form #respond .form-submit input#submit:hover,
.covernews-reaction-button .reaction-percentage,
.wc-block-checkout .wp-block-button__link,
:root .wc-block-featured-product__link :where(.wp-element-button, .wp-block-button__link),
:root .wc-block-featured-category__link :where(.wp-element-button, .wp-block-button__link),
.woocommerce-notices-wrapper .button,
.wc-block-grid .wp-block-button__link,
.wp-block-button.wc-block-components-product-button .wp-block-button__link,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
body a.sidr-class-sidr-button-close,
#infinite-handle span,
.wp-block-search__button,
body .wc-block-components-button,
body .wc-block-components-button:hover,
body .secondary-color,
body nav.main-navigation,
body :is(button, input[type="button"], input[type="reset"], input[type="submit"]),
body .aft-affiliate-button,
body .site-content .search-form .search-submit,
body .site-footer .search-form .search-submit,
body .em-post-format i,
.widget-title span::before,
.em-reated-posts .related-title::before,
.wp-block-group .wp-block-search__label::before,
.wp-block-group .wp-block-heading::before,
.widget_block .wp-block-search__label::before,
.widget_block .wp-block-heading::before,
body span.header-after:after,
body #secondary .widget-title span:after,
body .af-tabs.nav-tabs>li>a.active:after,
body .af-tabs.nav-tabs>li>a:hover:after,
body span.trending-no,
body .wp-block-tag-cloud.is-style-outline a:hover,
body .tagcloud a:hover {
    background: var(--newscave-purple-mid);
}

body.dark.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .categorized-story .grid-item-metadata .posts-author a:hover,
body.dark.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .categorized-story span.item-metadata.posts-date a:hover,
body.default.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .categorized-story span.author-links a:hover i,
body.default.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .categorized-story span.author-links a:hover,
body.dark.aft-main-banner-slider-full .main-slider.aft-banner-slider .slider-figcaption .slide-title a:hover,
body.default.aft-main-banner-slider-full .main-slider.aft-banner-slider .slider-figcaption .slide-title a:hover,
body.dark.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .spotlight-post .title-heading .article-title-2 a:hover,
body.default.aft-main-banner-slider-grid-2 .slider-with-2-editors-picks .spotlight-post .title-heading .article-title-2 a:hover,
body.dark .entry-content>[class*="wp-block-"] .wp-block-post-title a:not([class]):hover,
body.default .entry-content>[class*="wp-block-"] .wp-block-post-title a:not([class]):hover,
body.dark .entry-content>[class*="wp-block-"] .taxonomy-category a:not([class]),
body.default .entry-content>[class*="wp-block-"] .taxonomy-category a:not([class]),
body.default .entry-content>[class*="wp-block-"] .wp-block-categories-list.wp-block-categories a:not([class]):hover,
body.dark .latest-posts-full .header-details-wrapper .entry-title a:hover,
body.dark .entry-title a:hover,
body.dark.archive article .entry-title a:hover,
body.dark h3.article-title a:hover,
body.dark .trending-posts-carousel h3.article-title a:hover,
#wp-calendar caption,
#wp-calendar td#today,
.wp-calendar-nav a,
.entry-title a:hover,
.comments-area .comment-author a:hover,
.comment .comment-reply-link:hover,
.comments-area .reply .comment-reply-link:hover,
.comment-meta a:visited:hover,
body.default.archive article .entry-title a:hover,
body:is(.default, .dark) h3.article-title.article-title-1 a:hover,
body:is(.default, .dark) .article-title.article-title-1 a:hover,
body:is(.default, .dark) .article-title a:hover,
body:is(.default, .dark) .wc-block-components-product-name:hover,
body:is(.default, .dark) .covernews-toc-list a:hover,
body:is(.default, .dark) .covernews-sponsor a:hover,
body:is(.default, .dark) .covernews-source a:hover,
a.author-website:hover,
.author-box-content a.author-posts-link:hover,
.trending-posts-carousel h3.article-title a:hover,
.product_meta>span a:hover,
.wp-block-button.is-style-outline a,
.entry-content>[class*="wp-block-"] a.wc-block-grid__product-link:hover,
body .entry-content ul.wc-block-product-categories-list a:not([class]):hover,
body .entry-content>[class*="wp-block-"] .wc-block-review-list-item__product a:hover,

.default .wp-block-latest-comments a:hover,
.default .wp-block-page-list li a:hover,
.default .wp-block-latest-posts li a:hover,
.default .wp-block-archives li a:hover,
.default .widget_recent_comments li a:hover,
.default .widget_pages li a:hover,
.default .widget_archive li a:hover,
.default .widget_meta li a:hover,
.default .widget_nav_menu li a:hover,
.default .widget_recent_entries li a:hover,

body:is(.default, .dark) .exclusive-slides a:hover,
body:is(.default, .dark).aft-main-banner-slider-full .main-slider .slider-figcaption .grid-item-metadata .author-links a:hover,
body:is(.default, .dark).aft-main-banner-slider-full .main-slider .slider-figcaption .grid-item-metadata .author-links a:hover i,
body .hentry .entry-header-details .post-excerpt a.aft-readmore:hover,
body:is(.default, .dark) .post-description .aft-readmore-wrapper a.aft-readmore:hover,
body:is(.default, .dark) .hentry .header-details-wrapper .posts-author a:hover,
body:is(.default, .dark) .slider-figcaption:not(.slider-figcaption-1) .grid-item-metadata .posts-date a:hover,
body:is(.default, .dark) .slider-figcaption:not(.slider-figcaption-1) .grid-item-metadata .posts-author a:hover,
body:is(.default, .dark) .aft-full-title-first .author-links a:hover,
body:is(.default, .dark) .aft-comment-count a:hover,
body:is(.default, .dark) .aft-view-count a:hover,
body :is(a:visited:hover, a:hover, a:focus, a:active),
body .figure-categories-2 .cat-links a {
    color: var(--newscave-purple-accent);
}

body.default .entry-content>[class*="wp-block-"] .wp-block-categories-list.wp-block-categories a:not([class]):hover,
body.dark .latest-posts-full .header-details-wrapper .entry-title a:hover,
body.dark .entry-title a:hover,
body.dark h3.article-title a:hover,
body.dark h3.article-title.article-title-1 a:hover,
body.dark .trending-posts-carousel h3.article-title a:hover,
body.dark .exclusive-slides a:hover,
body.dark .article-title.article-title-1 a:hover,
body.dark .article-title a:hover,
#wp-calendar :is(caption, td#today),
.wp-calendar-nav a,
h3.article-title.article-title-1 a:hover,
.trending-posts-carousel h3.article-title a:hover,
:is(.entry-title, .exclusive-slides, .article-title.article-title-1, .article-title, .item-metadata.posts-date) a:hover,
.hentry .header-details-wrapper .posts-author a:hover,
.grid-item-metadata .posts-date a:hover,
.grid-item-metadata .posts-author a:hover,
.aft-full-title-first .author-links a:hover,
.aft-comment-count a:hover,
.aft-view-count:hover,
body:is(.default, .dark).aft-main-banner-slider-full .main-slider .slider-figcaption .grid-item-metadata .author-links a:hover,
body:is(.default, .dark).aft-main-banner-slider-full .main-slider .slider-figcaption .grid-item-metadata .author-links a:hover i,
body.dark .item-metadata.posts-date a:hover,
body.dark .hentry .header-details-wrapper .posts-author a:hover,
body.dark .grid-item-metadata .posts-date a:hover,
body.dark .grid-item-metadata .posts-author a:hover,
body.dark .aft-full-title-first .author-links a:hover,
body.dark .aft-comment-count a:hover,
body.dark .aft-view-count a:hover,
body .figure-categories-2 .cat-links a {
    color: var(--newscave-purple-accent);
}

body h3.covernews-subtitle,
body .sp-thumbnail-container.sp-selected-thumbnail:before,
body #loader:after {
    border-left-color: var(--newscave-purple-accent);
}

#scroll-up::after {
    border-bottom-color: var(--newscave-purple-accent);
}

.wp-element-button,
.wp-block-button.is-style-fill a,
.wp-block-button.is-style-outline a,
body .covernews-post-badge {
    border-color: var(--newscave-purple-soft);
}

.aft-main-banner-slider-grid .trending-story .figure-categories .cat-links a.covernews-categories,
.full-plus-list .spotlight-post:first-of-type .figure-categories .cat-links a.covernews-categories,
.figure-categories .cat-links a.covernews-categories {
    background-color: var(--newscave-purple-mid);
}

.aft-main-banner-slider-list-tabbed .af-main-banner-editors-picks .figure-categories .cat-links a.covernews-categories,
.aft-main-banner-slider-list .af-main-banner-editors-picks .figure-categories .cat-links a.covernews-categories,
.tabbed-story .figure-categories .cat-links a.covernews-categories,
.covernews_tabbed_posts_widget .figure-categories .cat-links a.covernews-categories,
.list .spotlight-post .figure-categories .cat-links a.covernews-categories,
.full-plus-list .spotlight-post .figure-categories .cat-links a.covernews-categories,
.trending-posts-vertical-carousel .figure-categories .cat-links a.covernews-categories,
.trending-story .figure-categories .cat-links a.covernews-categories {
    color: var(--newscave-purple-accent);
}

body .figure-categories .cat-links a.category-color-2 {
    background-color: var(--newscave-gold);
    color: #1a1025;
}

body .tabbed-container .figure-categories .cat-links a.covernews-categories.category-color-2,
body .trending-story .figure-categories .cat-links a.covernews-categories.category-color-2,
body .list .spotlight-post .figure-categories .cat-links a.covernews-categories.category-color-2,
body .full-plus-list .spotlight-post .figure-categories .cat-links a.covernews-categories.category-color-2,
body .covernews_tabbed_posts_widget .figure-categories .cat-links a.covernews-categories.category-color-2,
body .trending-posts-vertical-carousel .figure-categories .cat-links a.covernews-categories.category-color-2 {
    color: var(--newscave-gold);
}

body.aft-main-banner-slider-grid .trending-story .figure-categories .cat-links a.covernews-categories.category-color-2,
body .full-plus-list .spotlight-post:first-of-type .figure-categories .cat-links a.covernews-categories.category-color-2 {
    color: #1a1025;
    background-color: var(--newscave-gold);
}

body span.header-after.category-color-2:after {
    background: var(--newscave-gold);
}

body .figure-categories .cat-links a.category-color-3 {
    background-color: var(--newscave-purple-soft);
    color: #1a1025;
}

body .tabbed-container .figure-categories .cat-links a.covernews-categories.category-color-3,
body .trending-story .figure-categories .cat-links a.covernews-categories.category-color-3,
body .list .spotlight-post .figure-categories .cat-links a.covernews-categories.category-color-3,
body .full-plus-list .spotlight-post .figure-categories .cat-links a.covernews-categories.category-color-3,
body .covernews_tabbed_posts_widget .figure-categories .cat-links a.covernews-categories.category-color-3,
body .trending-posts-vertical-carousel .figure-categories .cat-links a.covernews-categories.category-color-3 {
    color: var(--newscave-purple-soft);
}

body.aft-main-banner-slider-grid .trending-story .figure-categories .cat-links a.covernews-categories.category-color-3,
body .full-plus-list .spotlight-post:first-of-type .figure-categories .cat-links a.covernews-categories.category-color-3 {
    color: #1a1025;
    background-color: var(--newscave-purple-soft);
}

body span.header-after.category-color-3:after {
    background: var(--newscave-purple-soft);
}

/* Main menu bar — deeper purple like logo */
body nav.main-navigation {
    background: var(--newscave-bar-gradient) !important;
}

body nav span.topbar-date,
body .header-layout-2 .site-header nav.main-navigation.aft-sticky-navigation .site-title a,
body nav.main-navigation.aft-sticky-navigation span.af-mobile-site-title-wrap .site-title a,
body nav.main-navigation .menu ul.menu-desktop>li>a>button,
body nav.main-navigation .menu ul.menu-desktop>li>a .angle-down,
body nav.main-navigation .menu ul.menu-desktop>li>a,
body nav :is(.search-icon:visited, .search-icon:hover, .search-icon:focus, .search-icon:active, .search-icon) {
    color: #ffffff;
}

nav.main-navigation .search-overlay.reveal-search .search-icon i.covernews-icon-search:before,
nav.main-navigation .search-overlay.reveal-search .search-icon i.covernews-icon-search:after,
body nav .offcanvas-menu span,
body .search-overlay.reveal-search .search-icon i.fa.fa-search:after,
body .search-overlay.reveal-search .search-icon i.fa.fa-search:before,
body .search-overlay.reveal-search .search-icon i.fa.search:after,
body nav .ham:before,
body nav .ham:after,
body nav .ham,
body .main-navigation .navigation-container ul>li>a:after,
body nav.main-navigation .menu .menu-mobile li a button:before,
body nav.main-navigation .menu .menu-mobile li a button:after,
body .navigation-container nav.main-navigation ul>li>a:after {
    background-color: #ffffff;
}

#scroll-up:focus::after {
    border-bottom-color: #373737;
}

body .exclusive-posts .exclusive-now {
    background: var(--newscave-purple-mid);
}

span.menu-description {
    background: #1a1a1a;
}

body:is(.default, .dark) figcaption.slider-figcaption-1 .article-title a:hover,
body:is(.default, .dark) figcaption.slider-figcaption-1 .slide-title a:hover {
    color: #ffffff;
}


body.dark .slider-figcaption :is(span.author-links, span.posts-date) a:hover,
body.default .slider-figcaption span.author-links :is(i, a),
.slider-figcaption :is(a, a:hover, a:focus, a:visited),
.main-slider-wrapper .grid-item-metadata .aft-comment-count a:hover,
.main-slider-wrapper .grid-item-metadata .aft-view-count a:hover,
.aft-banner-5 .grid-item-metadata .aft-comment-count a:hover,
.aft-banner-5 .grid-item-metadata .aft-view-count a:hover,
.aft-banner-5 .grid-item-metadata .posts-author a:hover,
.aft-banner-5 .af-main-banner-editors-picks .grid-item-metadata,
.aft-banner-5 .trending-story .grid-item-metadata,
.aft-banner-5 .trending-story .grid-item-metadata a,
body.dark .aft-banner-5 .grid-item-metadata .posts-author a:hover,
.aft-banner-2 .grid-item-metadata .author-links,
.aft-banner-2 .grid-item-metadata .aft-comment-count a:hover,
.aft-banner-2 .grid-item-metadata .aft-view-count a:hover,
.aft-banner-2 .grid-item-metadata .posts-author a:hover,
body.dark .aft-banner-2 .grid-item-metadata .aft-comment-count a:hover,
body.dark .aft-banner-2 .grid-item-metadata .aft-view-count a:hover,
body.dark .aft-banner-2 .grid-item-metadata .posts-author a:hover,
.aft-banner-1 .grid-item-metadata .author-links,
.aft-banner-1 .grid-item-metadata .aft-comment-count a:hover,
.aft-banner-1 .grid-item-metadata .aft-view-count a:hover,
.aft-banner-1 .grid-item-metadata .posts-author a:hover,
.aft-banner-1 .af-main-banner-editors-picks .grid-item-metadata a,
.aft-banner-2 .af-main-banner-editors-picks .grid-item-metadata a,
.aft-banner-5 .af-main-banner-editors-picks .grid-item-metadata a,
body.dark .categorized-story .title-heading .article-title-2 a:visited:hover,
body.dark .categorized-story .title-heading .article-title-2 a,
body .categorized-story .title-heading .article-title-2 a:visited:hover,
body .categorized-story .title-heading .article-title-2 a,
body.dark .full-plus-list .spotlight-post:first-of-type figcaption h3 a:hover,
body .full-plus-list .spotlight-post:first-of-type figcaption h3 a:hover,
body.dark .slider-figcaption-1 .article-title a:visited:hover,
body.dark .slider-figcaption-1 .article-title a:hover,
.slider-figcaption-1 .article-title a:visited:hover,
.slider-figcaption-1 .article-title a:hover {
    color: #ffffff;
}

.default .site-footer .wp-block-latest-comments a:hover,
.default .site-footer .wp-block-page-list li a:hover,
.default .site-footer .wp-block-latest-posts li a:hover,
.default .site-footer .wp-block-archives li a:hover,
.default .site-footer .widget_recent_comments li a:hover,
.default .site-footer .widget_pages li a:hover,
.default .site-footer .widget_archive li a:hover,
.default .site-footer .widget_meta li a:hover,
.default .site-footer .widget_nav_menu li a:hover,
.default .site-footer .widget_recent_entries li a:hover {
    color: #fff;
}

.main-navigation .menu li a button {
    color: inherit;
}

body.default .navigation-container ul li a {
    color: #fff;
}

body .slider-figcaption :is(a, a:hover, a:focus, a:visited, a:visited:hover) {
    color: #fff;
}

.entry-content section.covernews-author-bio {
    margin-top: 24px;
}

@media only screen and (max-width: 991px) {
    nav .navigation-container ul li :is(a, a:visited) {
        color: #ffffff;
    }

    nav.main-navigation .menu .menu-mobile li a button:before,
    nav.main-navigation .menu .menu-mobile li a button:after {
        background-color: #ffffff;
    }
}

@media only screen and (max-width: 640px) {
    .topbar-date {
        line-height: 35px;
    }
}
.wp-block-latest-posts.wp-block-latest-posts__list li{margin-top:0;}
.blockspare-list-wrap ul.wp-block-list {
    list-style: none;
}
input.awpa-rating-button {
    color: #fff !important;
    border: 0 !important;
}
.wp-block-image figcaption {
    text-align: start;
}
/* 
.widget_block a:not([class]),
.widget_text a:not([class]),
.entry-content>[class*="wp-block-"] a:not([class]):hover,
.entry-content> :is(ul, ol, p) a:not([class]):is(:link) {
    text-decoration: auto;
} */

/* Cashback column: always show 2 stacked posts */
.af-main-banner-editors-picks .featured-posts-grid .even-grid {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 12px;
}

.af-main-banner-editors-picks .featured-posts-grid .even-grid:last-child {
    margin-bottom: 0;
}

/* Casino featured horizontal slider */
.af-main-banner-featured-posts .banner-casino-posts-wrapper {
    position: relative;
    padding: 0 40px;
}

.af-main-banner-featured-posts .casino-featured-carousel .slick-slide {
    padding: 0 8px;
}

.af-main-banner-featured-posts .af-casino-navcontrols {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.af-main-banner-featured-posts .af-casino-navcontrols .slide-icon {
    pointer-events: auto;
    cursor: pointer;
}

.af-main-banner-featured-posts .af-casino-navcontrols .slide-prev {
    float: left;
}

.af-main-banner-featured-posts .af-casino-navcontrols .slide-next {
    float: right;
}

/* Main post grid above pagination: always 3 columns on desktop. */
.home #aft-inner-row .latest-posts-grid {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

@media (max-width: 991px) {
    .home #aft-inner-row .latest-posts-grid {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .home #aft-inner-row .latest-posts-grid {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Gallery page — post featured images only */
.newscave-gallery-page-wrap #primary {
    flex: 0 0 100%;
    max-width: 100%;
}

.newscave-image-gallery-grid {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.newscave-gallery-item {
    margin: 0;
    position: relative;
}

.newscave-gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    background: #1a1a1a;
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.newscave-gallery-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    background: var(--newscave-card-stripe);
    pointer-events: none;
    z-index: 2;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.newscave-gallery-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.newscave-gallery-thumb:hover img {
    transform: scale(1.04);
}

.newscave-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
}

.newscave-gallery-lightbox[hidden] {
    display: none !important;
}

.newscave-gallery-lightbox-inner {
    max-width: min(1200px, 96vw);
    max-height: 90vh;
}

.newscave-gallery-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.newscave-gallery-lightbox-close,
.newscave-gallery-lightbox-prev,
.newscave-gallery-lightbox-next {
    position: absolute;
    border: none;
    background: var(--newscave-purple-mid);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 0;
}

.newscave-gallery-lightbox-close {
    top: 16px;
    right: 16px;
}

.newscave-gallery-lightbox-prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.newscave-gallery-lightbox-next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

body.newscave-gallery-lightbox-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .newscave-image-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .newscave-image-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .newscave-gallery-thumb img {
        height: 160px;
    }
}

/* Thin gold–purple stripe border on cards (logo style) */
body.dark :is(
    .spotlight-post,
    article.latest-posts-grid,
    .af-main-banner-editors-picks .featured-posts-grid > div,
    .af-main-banner-trending-posts .spotlight-post,
    .af-main-banner-featured-posts .spotlight-post,
    .banner-trending-posts-wrapper .spotlight-post,
    .full-plus-list .spotlight-post,
    .list .spotlight-post,
    .tabbed-story .spotlight-post,
    .missed-section .spotlight-post,
    .em-reated-posts .spotlight-post,
    #secondary .widget,
    .categorized-story
) {
    position: relative;
    isolation: isolate;
}

body.dark :is(
    .spotlight-post,
    article.latest-posts-grid,
    .af-main-banner-editors-picks .featured-posts-grid > div,
    .af-main-banner-trending-posts .spotlight-post,
    .af-main-banner-featured-posts .spotlight-post,
    .banner-trending-posts-wrapper .spotlight-post,
    .full-plus-list .spotlight-post,
    .list .spotlight-post,
    .tabbed-story .spotlight-post,
    .missed-section .spotlight-post,
    .em-reated-posts .spotlight-post,
    #secondary .widget,
    .categorized-story
)::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 2px;
    background: var(--newscave-card-stripe);
    pointer-events: none;
    z-index: 4;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

body.dark .main-slider .slide-inner,
body.dark .aft-banner-slider .slide-inner {
    position: relative;
    isolation: isolate;
}

body.dark .main-slider .slide-inner::before,
body.dark .aft-banner-slider .slide-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 2px;
    background: var(--newscave-card-stripe);
    pointer-events: none;
    z-index: 4;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}