/*
Theme Name: 	   NewsBlogy
Text Domain: 	   newsblogy
Template: 			newsmunch
Version:            1.0.6
Tested up to:       6.8
Requires at least:  4.7
Requires PHP:       7.0
Author:             DesertThemes
Author URI:         https://desertthemes.com/
Theme URI:          https://desertthemes.com/themes/newsblogy-free/
Description:        NewsBlogy is a fast, clean, Best Responsive News Magazine WordPress theme. NewsBlogy 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, NewsBlogy 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. NewsBlogy 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. NewsBlogy demos https://preview.desertthemes.com/newsmunch/
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.
*/

/* ============================================================
   FONTS — Fraunces (display serif) + DM Sans (body sans-serif)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* ── Brand colour: dark navy blue ── */
    --dt-main-rgb: 0, 45, 98;          /* #002d62 */
    --dt-black-color: #0a1233;

    /* ── Typography ── */
    --dt-title-family: "Fraunces", Georgia, serif;   /* headings & display text */
    --dt-base-family:  "DM Sans", system-ui, sans-serif; /* body copy */

    /* ── Border radius scale ── */
    --dt-radius-sm:  6px;
    --dt-radius-md:  10px;
    --dt-radius-lg:  16px;
    --dt-radius-xl:  24px;
    --dt-radius-pill: 9999px;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */
body {
    font-optical-sizing: auto;
    font-family: var(--dt-base-family);
}

h1, h2, h3, h4, h5, h6,
.widget-title,
.post-title,
.entry-title {
    font-family: var(--dt-title-family);
}

/* ============================================================
   GLOBAL ROUNDING — cards, buttons, inputs, images, widgets
   ============================================================ */

/* Cards / posts */
.post,
.post-item,
.widget,
.dt_widget_post_list_sm,
.main-featured-section .widget {
    border-radius: var(--dt-radius-lg) !important;
    overflow: hidden;
}

/* Thumbnails & images inside posts */
.post .thumb,
.post .thumb .inner,
.post .thumb img,
.featured-post-lg .thumb,
.featured-post-lg .thumb .inner {
    border-radius: var(--dt-radius-md);
    overflow: hidden;
}

/* Buttons */
button,
.dt-btn,
.dt-btn-secondary,
.wp-block-button__link,
.wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
input[type="submit"],
input[type="button"],
a.button {
    border-radius: var(--dt-radius-pill) !important;
}

/* Search & form inputs */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
    border-radius: var(--dt-radius-md) !important;
}

/* Nav / dropdown items */
.dt_navbar-menus,
.dt_navbar-inner,
.dt_footer {
    border-radius: 0; /* keep structural elements square */
}

.dt_navbar-nav .sub-menu,
.dt_navbar-nav .dropdown-menu {
    border-radius: var(--dt-radius-md) !important;
    overflow: hidden;
}

/* Post category badges */
.post-categories a,
.cat-badge,
.cat-label {
    border-radius: var(--dt-radius-pill) !important;
}

/* Widget headers */
.widget-header,
.widget-title {
    border-radius: var(--dt-radius-sm);
}

/* Featured-link slider cards */
.post-list-sm {
    border-radius: var(--dt-radius-lg) !important;
}

/* Sidebar image blocks */
.dt_sidebar .wp-block-image img {
    border-radius: var(--dt-radius-md);
}

/* ============================================================
   HEADER — "header--five" overrides
   ============================================================ */
.header--five .site--logo a:focus {
    outline: 1px dotted #fff;
    outline-offset: 3px;
}

.header--five .dt_navbar-nav .dt_home-icon a:focus {
    outline: 1px dotted;
    outline-offset: -4px;
}

.header--five .dt_navbar-wrapper.is--sticky.on .dt_navbar-inner {
    display: none;
}

.header--five .dt_navbar-menu .dt_navbar-subscribe-item .dt-subscribe,
.header--five .dt_navbar-menu .dt_navbar-login-item .dt-user-login,
.header--five .dt_navbar-menu .dt_navbar-cart-item .dt_navbar-cart-icon,
.header--five .dt_navbar-menu .dt_navbar-search-item button.dt_navbar-search-toggle {
    background: transparent;
    width: 2.4rem;
    height: 2.4rem;
    line-height: normal;
    padding: 0;
    box-shadow: none;
}

.header--five .dt_navbar-menu .dt_navbar-sidebar-item .dt_navbar-sidebar-toggle,
.header--five .dt_navbar-sidebar-toggle:hover .dt_navbar-sidebar-toggle-inner,
.header--five .dt_navbar-sidebar-toggle:focus .dt_navbar-sidebar-toggle-inner,
.header--five .dt_navbar-nav .dt_home-icon a,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>.menu-item-has-children>a:after,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>li>a,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>li:hover>a,
.header--five .dt_navbar-nav .dt_navbar-mainmenu>li:not(:hover, .focus, .active)>a {
    color: #fff;
}

.header--five .dt_navbar-nav .dt_home-icon a::before,
.menu_active-three .header--five .dt_navbar-nav .dt_navbar-mainmenu>li>a::before {
    top: -4px;
}

.menu_active-three .header--five .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.menu_active-three .header--five .dt_navbar-nav .dt_navbar-mainmenu>li:hover>a,
.menu_active-three .header--five .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a,
.header--five .dt_navbar-nav .dt_home-icon a {
    background-color: #fff;
    color: var(--dt-main-color);
}

.header--five.menu_active-one .dt_navbar-nav .dt_navbar-mainmenu>li>a::before {
    background-color: #fff;
}

@media (min-width: 62em) {
    .header--five sup.menu-badge {
        top: -1px;
    }
}

.header--five .dt_navbar-menus {
    background-color: var(--dt-main-color);
}

.header--five .dt_navbar-wrapper .dt_navbar-menu {
    justify-content: space-between;
}

.header--five .dt_navbar-wrapper .dt_navbar-inner .dt-row.dt-py-5 {
    padding: 4.5rem 0;
}

.header--five .dt_navbar-wrapper .dt_navbar-inner .dt-row .dt-col-md:first-child .dt_navbar-right > ul {
    padding-left: 0;
    padding-right: 1.2rem;
    justify-content: start;
}

.header--five .dt_navbar-wrapper .dt_navbar-inner .site--logo {
    text-align: center;
}

.header--five.menu_active-two .dt_navbar-nav .dt_navbar-mainmenu>li>a::before {
    background: #fff;
}

.menu_active-three:not(.header--five) .dt_navbar-menus {
    padding: 0;
    border-bottom: 4px solid var(--dt-main-color);
}

.header--five.menu_active-default .dt_navbar-nav .dt_home-icon a,
.header--five.menu_active-one .dt_navbar-nav .dt_home-icon a,
.header--five.menu_active-two .dt_navbar-nav .dt_home-icon a,
.header--five.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.header--five.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li:hover>a,
.header--five.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a,
.header--five.menu_active-three .dt_navbar-nav .dt_home-icon a {
    background-color: rgba(0, 0, 0, .1);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.dt-posts.dt-g-4 .dt-col-md-12 .post.post-list {
    padding: 20px 0 20px 20px;
}

@media only screen and (max-width: 767px) {
    .dt-posts.dt-g-4 .dt-col-md-12 .post.post-list {
        padding: 0;
    }
}

/* ============================================================
   MISC
   ============================================================ */
.dt-current-date span i {
    color: #fff;
}

.dt_sidebar .wp-block-image.is-style-rounded img {
    padding: 2px;
    box-shadow: 0 2px 8px 1px rgba(36, 36, 36, 0.3);
}

/* ============================================================
   WOOCOMMERCE
   ============================================================ */
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:focus {
    color: #fff;
}

.wc-block-grid__products .wc-block-components-product-button__button {
    border-radius: var(--dt-radius-pill) !important;
    text-decoration: none;
}

.wc-block-components-product-title a.wc-block-components-product-name:hover,
.wc-block-components-product-title a.wc-block-components-product-name:focus {
    color: var(--dt-main-color);
}

.wc-block-components-product-name {
    color: var(--dt-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================
   BLOCK / PAGE LIST
   ============================================================ */
.wp-block-page-list {
    list-style: none;
    padding: 0;
}

.wp-block-page-list a {
    color: var(--dt-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.wp-block-page-list a:hover,
.wp-block-page-list a:focus {
    color: var(--dt-main-color);
}

.wp-block-list {
    padding: 0;
}

.wp-block-list.has-background {
    padding: 1.25em 2.375em;
    border-radius: var(--dt-radius-md);
}

/* Gap between slider cards */
.post-carousel-banner .slick-slide {
    margin: 0 10px;
}

.post-carousel-banner .slick-list {
    margin: 0 -10px;
}

#dt_header .dt_navbar-subscribe-item .dt-subscribe {
    background-color: #F9F7F2 !important;
    background: #F9F7F2 !important;
    border-color: #F9F7F2 !important;
    color: #000 !important;
}

#dt_header .dt_navbar-subscribe-item .dt-subscribe:hover,
#dt_header .dt_navbar-subscribe-item .dt-subscribe:focus {
    background-color: #e8e6e1 !important;
    background: #e8e6e1 !important;
    border-color: #e8e6e1 !important;
    color: #000 !important;
}

