/*
Theme Name: 	   NewsOnline
Text Domain: 	   newsonline
Template: 			newsmash
Version:            1.0.3
Tested up to:       7.1
Requires at least:  4.7
Requires PHP:       7.0
Author:             DesertThemes
Author URI:         https://desertthemes.com/
Theme URI:          https://desertthemes.com/themes/newsonline-free/
Description:        NewsOnline is a fast, clean, Best Responsive News Magazine WordPress theme. NewsOnline is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. With its modern and clean design, NewsOnline offers a visually appealing layout that is easy to navigate, making it ideal for delivering content to your readers. This theme comes equipped with a range of customizable options, custom widgets, and color schemes, allowing you to tailor your website to your specific needs and branding. It also supports various post formats, making it easy to present a variety of content types, from articles and videos to images and galleries. NewsOnline is optimized for speed and SEO, ensuring that your website loads quickly and ranks well in search engine results. Its responsive design ensures that your content looks great on all devices, whether it's a desktop computer, tablet, or smartphone. NewsOnline demos https://preview.desertthemes.com/newsmash/
Tags:               blog, e-commerce, entertainment, grid-layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-logo, custom-menu, featured-images, featured-image-header, flexible-header, post-formats, rtl-language-support, translation-ready, theme-options, threaded-comments, footer-widgets
License: GPLv3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html

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.
*/

:root {
    --dt-main-rgb: 255, 93, 32;
    --dt-black-color: #012299;
}

/* Header 8 */

.dt_header.header--eight .dt_mobilenav,
.dt_header.header--eight {
    background: var(--dt-black-color);
}

.dt_header.header--eight .dt_navbar-wrapper,
.dt_header.header--eight .dt_header-topbar,
.dt_header.header--eight .dt_mobilenav-topbar {
    position: relative;
}

.dt_header.header--eight .dt_header-topbar{
	border-bottom: solid 1px rgba(189, 189, 189, 0.2);
}

.dt_header.header--eight .dt_navbar-wrapper.is--sticky.on:before,
.dt_header.header--eight .dt_navbar-wrapper:before,
.dt_header.header--eight .dt_header-topbar:before,
.dt_header.header--eight .dt_mobilenav-topbar:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
}

.dt_header.header--eight .dt_mobilenav-topbar {
    border-bottom: solid 1px rgba(189, 189, 189, 0.2);
}

.dt_header.header--eight .dt_header-topbar .dt_header-wrap .dt-user-login a {
    background-color: rgba(255, 255, 255, 0.3);
}

.dt_header.header--eight .dt_header-topbar .dt_header-wrap .dt-user-login a:focus {
    outline: 1px dashed;
}

.dt_header.header--eight .dt_header-topbar .dt_header-wrap .dt-user-login a:hover,
.dt_header.header--eight .dt_header-topbar .dt_header-wrap .dt-user-login a:focus,
.dt_header.header--eight .dt_mobilenav-topbar-content {
    color: #fff;
}

@media (min-width: 62em) {
    .dt_header.header--eight .site--logo {
        min-height: 13.7rem;
    }
}

.dt_header.header--eight .site--logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dt_header.header--eight .dt_navbar-menu.is--sticky.on {
    width: 100%;
    margin: 0;
}

.header--eight + .mainfeatured_section,
.header--eight + .hero-carousel {
    margin-top: 2.8rem;
}

.dt_header.header--eight .dt_navbar-menu {
    gap: 1.6rem;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.dt_header.header--eight .dt_navbar-wrapper.is--sticky.on,
.dt_header.header--eight .dt_navbar-wrapper {
    border-top: solid 1px rgba(189, 189, 189, 0.2);
}

.dt_header.header--eight .dt_navbar-menu .dt_navbar-nav {
    text-align: center;
}

.dt_header.header--eight .dt_switcherdarkbtn.dt_navbar-switcherdarkbtn-item {
    position: relative;
    top: unset;
    right: unset;
    width: 3.4em;
    height: 1.8em;
    transform: none;
    z-index: unset;
}

.dt_header.header--eight .dt_switcherdarkbtn.dt_navbar-switcherdarkbtn-item .dt_switcherdarkbtn-left:before {
    top: 0.6rem;
    right: 2.9rem;
    transform: none;
}

.dt_header.header--eight .dt_switcherdarkbtn.dt_navbar-switcherdarkbtn-item .dt_switcherdarkbtn-left:after {
    width: 3.4em;
}

.dt_header.header--eight .dt_switcherdarkbtn.dt_navbar-switcherdarkbtn-item.active .dt_switcherdarkbtn-left:before {
    right: 0.9rem;
}

.header--eight .dt_navbar-menu .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.8rem;
}

.header--eight .dt_navbar-menu .dt_navbar-cart-item .cart_count {
    top: -1rem;
    right: -1rem;
}

.header--eight .dt_mobilenav .dt_navbar-cart-item .cart_count {
    outline: solid 1px rgba(189, 189, 189, 0.3);
}

.header--eight .dt_navbar-menu .dt_navbar-cart-item .cart_count {
    background-color: var(--dt-main-color);
}

.header--eight .dt_navbar-menu .dt_navbar-cart-item .dt_navbar-cart-icon,
.header--eight .dt_navbar-menu .dt_navbar-search-item button.dt_navbar-search-toggle {
    background: transparent;
    width: auto;
    height: auto;
    line-height: normal;
    padding: 0;
    box-shadow: none;
}

@media (min-width: 62em) {
    .header--eight .dt_navbar-search-item button.dt_navbar-search-toggle:focus,
    .header--eight .dt_navbar-cart-item:focus-within .dt_navbar-cart-icon {
        outline-offset: 7px;
        outline: 1px dashed;
    }
}

.header--eight .dt_navbar-nav .dt_navbar-mainmenu>.menu-item-has-children>a:after {
    color: currentcolor;
}

.header--eight .dt_navbar-nav .dt_navbar-mainmenu>li>a {
    color: #fff;
}

.dt_header.header--eight .dt_navbar-menu .dt_navbar-left {
    max-width: 15%;
    flex-basis: 15%;
}

.dt_header.header--eight .dt_navbar-menu .dt_navbar-right {
    max-width: 15%;
    flex-basis: 15%;
}

.newsonline .dt_switcherdarkbtn:not(.dt_navbar-switcherdarkbtn-item) {
    display: none;
}

/* Front Low logo display fix: scoped to the NewsOnline header */
.dt_header.header--eight .dt_navbar .site--logo { display:flex; align-items:center; justify-content:center;border-radius:14px; padding:14px 24px; width:max-content; max-width:100%; margin:14px auto; min-height:0; }
.dt_header.header--eight .dt_navbar .site--logo a, .dt_header.header--eight .dt_mobilenav-logo .site--logo a { display:block; visibility:visible; opacity:1; }
.dt_header.header--eight .dt_navbar .site--logo img, .dt_header.header--eight .dt_mobilenav-logo .site--logo img { display:block; visibility:visible; opacity:1; width:auto; height:auto; max-width:280px; max-height:100px; object-fit:contain; }
.dt_header.header--eight .dt_mobilenav-logo .site--logo {background:#ffffff; border-radius:8px; padding:5px 9px; min-height:0; }
.dt_header.header--eight .dt_mobilenav-logo .site--logo img {max-width:170px; max-height:54px; }
/* Front Low: header palette taken from navy and orange logo. */
:root { --dt-main-rgb: 255, 107, 36; --dt-black-color: #082c50; }
.dt_header.header--eight,
.dt_header.header--eight .dt_header-inner,
.dt_header.header--eight .dt_header-navwrapper,
.dt_header.header--eight .dt_header-navwrapperinner,
.dt_header.header--eight .dt_navbar,
.dt_header.header--eight .dt_mobilenav {
    background: linear-gradient(115deg, #071d34 0%, #0b395b 100%) !important;
}
.dt_header.header--eight .dt_header-topbar,
.dt_header.header--eight .dt_mobilenav-topbar {
    background: #061c30 !important;
}
.dt_header.header--eight .dt_navbar-wrapper,
.dt_header.header--eight .dt_navbar-wrapper.is--sticky.on {
    background: #062640 !important;
    border-bottom: 3px solid #ff6b24;
}
.dt_header.header--eight .dt_navbar-nav .dt_navbar-mainmenu > li > a {
    color: #ffffff;
}
.dt_header.header--eight .dt_navbar-nav .dt_navbar-mainmenu > li > a:hover,
.dt_header.header--eight .dt_navbar-nav .dt_navbar-mainmenu > li > a:focus,
.dt_header.header--eight .dt_navbar-nav .dt_navbar-mainmenu > li.current-menu-item > a,
.dt_header.header--eight .dt_navbar-nav .dt_navbar-mainmenu > li.current_page_item > a {
    color: #ffbd90;
}
.dt_header.header--eight .dt_navbar .site--logo {
    box-shadow: 0 5px 16px rgba(1, 15, 28, 0.16);
}
.dt_header.header--eight .custom-logo {
    max-width: min(100%, 310px); height: auto; object-fit: contain;
}
@media (max-width: 767px) {
    .dt_header.header--eight .custom-logo { max-width: 230px; }
}

/* Menu Active Four */

.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li>a {
    margin: 0 1.2rem;
    padding: 4px 0;
    line-height: 1.25;
}

.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>.menu-item-has-children>a {
    padding-right: 1.8rem;
}

.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a,
.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li>a:hover,
.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li.current-menu-item>a,
.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li.current_page_item>a,
.menu_active-four .dt_navbar-nav .dt_navbar-mainmenu>li.current-menu-ancestor>a {
    color: var(--dt-main-color);
}

/* Newsonline */

.newsonline .padding-30.rounded.bordered.dt-posts-module {
    border: none;
    padding: 0;
    border-radius: 0;
}

.newsonline .padding-30.rounded.bordered.dt-posts-module .post.post-list {
    margin-bottom: 0;
}

.newsonline .padding-30.rounded.bordered.dt-posts-module .post.post-list .thumb {
    max-width: 335px;
    flex-basis: 335px;
}

.newsonline .padding-30.rounded.bordered.dt-posts-module .post.post-list .thumb img {
    height: 260px;
}

@media only screen and (max-width: 767px) {
    .newsonline .padding-30.rounded.bordered.dt-posts-module .post.post-list .thumb {
        float: none;
        flex-basis: 100%;
        max-width: 550px;
    }
    .newsonline .padding-30.rounded.bordered.dt-posts-module .post.post-list .thumb img {
        height: 220px;
    }
}

.newsonline .post .category-badge a,
.newsonline .toptags-inner .title {
    border-radius: 0;
}

.wp-block-accordion-heading.has-background .wp-block-accordion-heading__toggle {
    padding: 1rem;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
    text-decoration: none;
}

.wp-block-breadcrumbs li a {
    text-decoration: none;
}

.wp-block-breadcrumbs li a:not(:hover):not(:focus) {
    color: var(--dt-text-color);
}

.wp-block-comments.has-background {
    padding: 1rem;
}

/* Front Low widget-driven editorial homepage. Scoped to the Home page widget area. */
.frontlow-home { width:100%; max-width:100%; }
.frontlow-home .frontlow-home-widget { margin:0 0 2rem; }
.frontlow-home .frontlow-full-article { padding:clamp(1rem,2.4vw,2rem); margin-bottom:2rem; background:#fff; border:1px solid #e3eaf1; border-radius:14px; box-shadow:0 8px 25px rgba(6,38,64,.045); overflow-wrap:anywhere; }
.frontlow-home .frontlow-eyebrow { color:#d6530c; font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.frontlow-home .frontlow-feature-title { font-size:clamp(1.65rem,2.8vw,2.5rem); line-height:1.25; margin:.5rem 0; }
.frontlow-home .frontlow-feature-title a,.frontlow-home .frontlow-story-card h3 a { color:#082c50; text-decoration:none; }
.frontlow-home .frontlow-feature-title a:hover,.frontlow-home .frontlow-feature-title a:focus,.frontlow-home .frontlow-story-card h3 a:hover,.frontlow-home .frontlow-story-card h3 a:focus { color:#c44b10; text-decoration:underline; }
.frontlow-home .frontlow-article-date,.frontlow-home .frontlow-card-date { font-size:.82rem; color:#60758a; }
.frontlow-home .frontlow-feature-image { display:block; margin:1.1rem 0 1.5rem; }
.frontlow-home .frontlow-feature-image img { display:block; width:100%; max-height:500px; height:auto; object-fit:cover; border-radius:9px; }
.frontlow-home .frontlow-full-body { line-height:1.78; }
.frontlow-home .frontlow-full-body img,.frontlow-home .frontlow-full-body iframe,.frontlow-home .frontlow-full-body video { max-width:100%; height:auto; }
.frontlow-home .frontlow-full-body a { overflow-wrap:anywhere; }
.frontlow-home .frontlow-section-title { font-size:1.5rem; color:#082c50; margin:1rem 0 1.25rem; padding-bottom:.75rem; border-bottom:3px solid #ff6b24; }
.frontlow-home .frontlow-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; }
.frontlow-home .frontlow-story-card { min-width:0; display:flex; flex-direction:column; background:#fff; border:1px solid #e0e8ef; border-radius:12px; overflow:hidden; box-shadow:0 5px 17px rgba(6,38,64,.045); }
.frontlow-home .frontlow-card-image { display:block; overflow:hidden; aspect-ratio:16 / 10; background:#e9eff4; }
.frontlow-home .frontlow-card-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .18s ease; }
.frontlow-home .frontlow-card-image:hover img { transform:scale(1.025); }
.frontlow-home .frontlow-card-content { padding:1rem; display:flex; flex:1; flex-direction:column; }
.frontlow-home .frontlow-card-content h3 { font-size:1.02rem; line-height:1.4; margin:.45rem 0 .6rem; }
.frontlow-home .frontlow-card-content p { font-size:.9rem; line-height:1.6; }
.frontlow-home .frontlow-read-more { display:inline-block; align-self:flex-start; margin-top:auto; padding-top:.5rem; color:#bc4611; font-weight:700; }
.frontlow-home .frontlow-pagination { margin:2rem 0; }
.frontlow-home .frontlow-pagination ul { display:flex; flex-wrap:wrap; list-style:none; gap:.55rem; padding:0; }
.frontlow-home .frontlow-pagination a,.frontlow-home .frontlow-pagination span { display:inline-block; border:1px solid #c8d8e5; padding:.5rem .85rem; border-radius:6px; }
.frontlow-home .frontlow-pagination .current { background:#082c50; color:#fff; }
@media (max-width:1023px) { .frontlow-home .frontlow-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:639px) { .frontlow-home .frontlow-card-grid { grid-template-columns:1fr; } .frontlow-home .frontlow-full-article { padding:1rem; } }
@media (prefers-reduced-motion:reduce) { .frontlow-home .frontlow-card-image img { transition:none; } }

/* Front Low: homepage card alignment and accessible pagination. */
.frontlow-home,
.frontlow-home .frontlow-home-widget,
.frontlow-home .frontlow-more-stories {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}
.frontlow-home { clear: both; margin-inline: auto; }
.frontlow-home .frontlow-card-grid { align-items: stretch; grid-auto-flow: row; }
.frontlow-home .frontlow-story-card { box-sizing: border-box; height: 100%; min-width: 0; }
.frontlow-home .frontlow-card-image { width: 100%; flex: 0 0 auto; }
.frontlow-home .frontlow-card-content { min-width: 0; height: 100%; }
.frontlow-home .frontlow-card-content h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
}
.frontlow-home .frontlow-card-content p {
    margin: 0 0 1rem;
}
.frontlow-home .frontlow-read-more { margin-top: auto; }
.frontlow-home .frontlow-pagination {
    display: flex;
    width: 100%;
    margin: 2rem auto 0;
    justify-content: center;
    clear: both;
}
.frontlow-home .frontlow-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 0;
    margin: 0;
    max-width: 100%;
    list-style: none;
}
.frontlow-home .frontlow-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}
.frontlow-home .frontlow-pagination .page-numbers a,
.frontlow-home .frontlow-pagination .page-numbers span {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: .55rem .85rem;
    line-height: 1.2;
    margin: 0;
    border-radius: 8px;
    border: 1px solid #b6c7d6;
    background-color: #fff;
    color: #082c50;
    text-decoration: none;
}
.frontlow-home .frontlow-pagination .page-numbers .current {
    background-color: #082c50;
    border-color: #082c50;
    color: #fff;
    font-weight: 700;
}
.frontlow-home .frontlow-pagination .page-numbers a:hover,
.frontlow-home .frontlow-pagination .page-numbers a:focus-visible {
    border-color: #c64c0f;
    color: #a73e0a;
    background: #fff4ec;
}
.frontlow-home .frontlow-pagination .page-numbers a:focus-visible {
    outline: 2px solid #082c50;
    outline-offset: 2px;
}
/* Breakpoints respond to the actual article column, not the full screen. */
@supports (container-type: inline-size) {
    .frontlow-home .frontlow-more-stories { container-type: inline-size; }
    @container (max-width: 820px) {
        .frontlow-home .frontlow-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @container (max-width: 500px) {
        .frontlow-home .frontlow-card-grid { grid-template-columns: minmax(0, 1fr); }
    }
}
@media (max-width: 480px) {
    .frontlow-home .frontlow-pagination ul.page-numbers { gap: .35rem; }
    .frontlow-home .frontlow-pagination .page-numbers a,
    .frontlow-home .frontlow-pagination .page-numbers span {
        min-width: 44px;
        padding-inline: .6rem;
    }
}

/* Front Low 2026 pagination: avoid theme page-numbers, list and nav rules. */
.frontlow-home nav.frontlow-pagination {
    position: relative;
    display: block;
    clear: both;
    float: none;
    height: auto;
    width: 100%;
    max-width: 100%;
    margin: 2.25rem auto 2.5rem;
    padding: 0 0 .75rem;
    text-align: center;
    overflow: visible;
}
.frontlow-home nav.frontlow-pagination .frontlow-pages {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .65rem !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.frontlow-home nav.frontlow-pagination .frontlow-page-btn {
    box-sizing: border-box;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    position: static;
    width: auto;
    min-width: 46px;
    min-height: 46px;
    height: auto;
    margin: 0 !important;
    padding: .6rem 1rem;
    border: 1px solid #b9cddd;
    border-radius: 9px;
    background-color: #fff;
    color: #082c50;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-decoration: none;
    text-transform: none;
}
.frontlow-home nav.frontlow-pagination .frontlow-current {
    background-color: #082c50;
    color: #fff;
    border-color: #082c50;
}
.frontlow-home nav.frontlow-pagination a.frontlow-page-btn:hover,
.frontlow-home nav.frontlow-pagination a.frontlow-page-btn:focus-visible {
    background-color: #fff2e8;
    color: #a8430b;
    border-color: #ff6b24;
}
.frontlow-home nav.frontlow-pagination a.frontlow-page-btn:focus-visible {
    outline: 2px solid #082c50;
    outline-offset: 2px;
}
@media (max-width: 480px) {
    .frontlow-home nav.frontlow-pagination .frontlow-pages { gap: .45rem !important; }
    .frontlow-home nav.frontlow-pagination .frontlow-page-btn { padding: .55rem .8rem; min-width: 44px; min-height: 44px; }
}
