/*
Theme Name: 	   Daily News N Blog
Text Domain: 	   dailynews
Version:            1.2.0
Tested up to:       7.1
Requires at least:  4.7
Requires PHP:       7.0
Author:             TecronTec
Author URI:         https://tecrontec.com/
Theme URI:          https://tecrontec.com/
Description:        Daily News N Blog is a premium, modern, and highly responsive WordPress theme redesigned for dynamic news, magazines, and publishers. Featuring a vibrant design, glassmorphism aesthetics, and smooth micro-animations, it delivers an unparalleled user experience. This custom theme is optimized for speed, SEO, and robust content delivery.
Tags:               blog, entertainment, grid-layout, custom-background, custom-header, custom-logo, custom-menu, featured-images, flexible-header, theme-options, 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.
 */
 
.dt_tabs.post-tabs  .category-badge {
    margin-bottom: 0.8rem;
}

.editor-pick-carousel .bs-blog-category .category-badge {
    position: absolute;
}

.wp-block-table figcaption {
    text-align: center;
    font-weight: 600;
}

.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);
}

.wp-block-calendar table caption {
    font-weight: 500;
}

.wc-block-grid__products .wc-block-components-product-button__button:hover, 
.wc-block-grid__products .wc-block-components-product-button__button:focus {
    background-color: var(--dt-secondary-color);
}

.wp-block-calendar table th {
    background: var(--dt-main-color);
}

.wc-block-components-product-name {
    color: var(--dt-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-author,
.wp-block-latest-posts__list .wp-block-latest-posts__post-date {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--dt-secondary-color);
}

.wp-block-code.has-text-color code {
    color: inherit;
}

.wc-block-cart__submit-button, 
.wc-block-cart__submit-button:hover, 
.wc-block-cart__submit-button:focus {
    color: #fff;
    text-decoration: none;
}

.wc-block-components-product-price__value {
    color: var(--dt-main-color);
}

.wc-block-components-totals-item {
    color: var(--dt-secondary-color);
    font-weight: 700;
}

div.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__totals-title {
    font-size: 24px;
}

.wc-block-cart-items th {
    color: var(--dt-secondary-color);
}

.wc-block-components-product-badge {
    background: var(--dt-main-color);
    color: #fff;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    background-color: var(--dt-main-color);
    color: #fff;
}

div.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    background: var(--dt-main-color);
    color: #fff;
}

.wc-block-featured-category__link .wp-block-button__link:hover, 
.wc-block-featured-category__link .wp-block-button__link:focus {
    color: #fff;
}

nav.woocommerce-breadcrumb a {
    text-decoration: none;
}

.wc-block-featured-product__price .woocommerce-Price-amount.amount {
    color: #fff;
}

.wc-block-featured-product__link a:hover, 
.wc-block-featured-product__link a:focus {
    color: #fff;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    color: #fff;
    text-decoration: none;
}

.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;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    font-size: 1.5rem;
}

.wc-block-components-product-metadata .wc-block-components-product-metadata__description>p {
    font-size: 1.2rem;
}

table.wc-block-cart-items .wc-block-components-product-price {
    font-size: 1.2rem;
}

.wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:hover, 
.wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:focus {
    color: #fff;
}

.widget.widget_shopping_cart a:before {
    display:none
}

.widget .wc-block-grid__products a:before {
    display: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    font-size: 1rem !important;
}

.wc-block-components-totals-item__value {
    font-size: 1.5rem;
}

.wc-block-mini-cart__footer-checkout,
.wc-block-mini-cart__footer-checkout:hover,
.wc-block-mini-cart__footer-checkout:focus {
    background-color: var(--dt-main-color);
    color: #fff;
}

.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions a {
    text-decoration: none;
}

.wc-block-mini-cart__badge {
    color: inherit;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    text-decoration: none;
}

.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions a {
    font-size: 1.2rem;
}

.wc-block-mini-cart__footer span.wc-block-components-totals-item__label {
    font-size: 1.5rem;
}

.wc-block-mini-cart__footer .wc-block-components-totals-item.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description {
    font-size: 1.2rem !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    text-decoration: none !important;
}

.wp-block-latest-comments__comment a {
    text-decoration: none;
}

.wc-block-components-product-badge {
    font-size: 1rem !important;
}

.wc-block-components-totals-coupon-link {
    text-decoration: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover, 
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus {
    color: var(--dt-main-color) !important;
}

.wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon {
    height: 2rem !important;
    width: 2rem !important;
}

.dt_sidebar .wp-block-comment-author-name a,
.dt_sidebar .wp-block-comment-date a {
    text-decoration: none;
    color: var(--dt-secondary-color);
}

.wp-block-avatar img {
    border-radius: 50%;
}

.wp-block-avatar:hover img {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

.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;
}

.wp-block-details.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-verse.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-preformatted.has-background {
    padding: 1em;
}

.wp-block-archives {
    list-style: none;
    padding: 0;
}

.wp-block-archives-list a {
    font-weight: 600;
    color: var(--dt-secondary-color);
}

.wp-block-archives-list a:hover, 
.wp-block-archives-list a:focus {
    color: var(--dt-main-color);
}

.wp-block-page-list.has-background {
    padding: 1rem;
}

a.wp-block-button__link:hover, 
a.wp-block-button__link:focus {
    color: #fff;
    text-decoration: none;
}

.wp-block-button.is-style-outline a.wp-block-button__link {
    color: var(--dt-main-color);
}

.wp-block-latest-comments {
    padding-left: 0;
}

.wp-block-latest-comments li a:not(:hover, :focus) {
    color: var(--dt-secondary-color);
}

.dt_footer .wp-block-latest-comments li a:not(:hover, :focus) {
    color: #fff;
}

.dt_footer ul.product_list_widget li .woocommerce-Price-amount {
    color: #fff;
}

.dt_footer ul.product_list_widget li {
    border-bottom: none;
}

.dt_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button) {
    background-color: var(--dt-main-color);
}

.dt_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button):hover,
.dt_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button):focus {
        background-color: var(--dt-main-color) !important;
}

.dt_footer .widget_shopping_cart a.checkout:hover, 
.dt_footer .widget_shopping_cart a.checkout:focus {
        background-color: var(--dt-main-color) !important;
}

.dt_footer .widget_shopping_cart span.amount {
    color: var(--dt-text-color);
}

.dt_footer .widget_shopping_cart li img {
   object-fit: contain !important;
   padding-right: 10px;
}

.dt_footer .widget  .wc-block-mini-cart__badge {
    color: #fff;
}

.dt_footer .widget .wc-block-cart-link {
    color:#fff;
    background: var(--dt-main-color);
}

.dt_footer .widget .wc-block-cart-link:hover, 
.dt_footer .widget .wc-block-cart-link:focus {
    text-decoration: none;
}

.woocommerce-account .woocommerce-Address-title h2 {
    font-size: 4rem;
}

.wp-block-button.is-style-outline a.wp-block-button__link {
    border-color: inherit;
    background: transparent
}

.wp-block-categories-list.has-background {
    padding: 1rem;
}

.wp-block-latest-comments.has-background {
    padding: 1rem;
}

.wp-block-file a {
    text-decoration: none;
}

.wp-block-file.has-background {
    padding: 1rem;
}

.woocommerce .summary .product_meta>span a {
    text-decoration: none;
}

table.wc-block-cart-items .wc-block-cart-items__header th {
    font-size: 1.6rem;
    font-weight: 700;
}

.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__totals-title {
    font-weight: 700;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, 
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: 600;
}

.wp-block-woocommerce-customer-account.has-background {
    padding: 1rem;
}

.wp-block-woocommerce-customer-account a:focus {
    text-decoration: underline !important;
}

.wc-block-customer-account__link {
    text-decoration: none;
}

.dt_footer .widget.widget_products ins .woocommerce-Price-amount.amount {
    color:#fff;
}

.woocommerce ul.products li.product a:focus .woocommerce-loop-product__title {
    color: var(--dt-main-color);
}

.wp-block-list li a:not(:hover):not(:focus) {
    text-decoration: none;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button {
    background-color: var(--dt-main-color);
}

/* ==========================================================================
   Modern UI Enhancements (Glassmorphism & Micro-animations)
   ========================================================================== */

body {
    background-color: #f3f4f6; /* Modern light gray */
    color: var(--dt-text-color);
}

/* Glassmorphism for Widgets & Cards */
.widget, .post-module, .dt-posts-module .post {
    background: var(--dt-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--dt-glass-border);
    border-radius: 16px;
    box-shadow: var(--dt-glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.widget:hover, .post-module:hover, .dt-posts-module .post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.12); /* Softer black shadow */
}

/* Modern Buttons */
.dt-btn {
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--dt-gradient);
    border: none;
    color: white;
}

.dt-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); /* Gold glow */
}

/* Header & Nav Enhancements */
.dt_navbar-mainmenu > li > a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

.dt_navbar-mainmenu > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--dt-main-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.dt_navbar-mainmenu > li:hover > a::after {
    width: 100%;
}

/* Modern Typography overrides */
h1, h2, h3, h4, h5, h6, .widget-title {
    font-family: var(--dt-title-family) !important;
    font-weight: 700;
    color: var(--dt-secondary-color);
}

body, p, a, span, div {
    font-family: var(--dt-base-family);
}