/*
Theme Name: 	   NewsAlt
Text Domain: 	   newsalt
Template: 			newsmash
Version:            1.0.78
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/newsalt-free/
Description:        NewsAlt is a fast, clean, Best Responsive News Magazine WordPress theme. NewsAlt 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, NewsAlt 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. NewsAlt 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. NewsAlt 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: 2, 131, 131;
    --dt-black-color: #0a1233;
}

/* Header 6  */
.header--six + .mainfeatured_section {
    margin-top: 2rem;
}

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

.header--six .dt_navbar-menus .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.5rem;
}

.header--six .dt_navbar-menu {
    padding: 0;
    min-height: 6rem;
    justify-content: space-between;
}

.header--six .dt_navbar-wrapper.is--sticky.on .dt-row.dt-py-3 {
    display: none;
}


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

.header--six .dt_navbar-nav .dt_navbar-mainmenu>.menu-item-has-children>a:after,
.header--six .dt_navbar-nav .dt_navbar-mainmenu>li>a,
.header--six .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.header--six .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a,
.header--six .dt_navbar-nav .dt_navbar-mainmenu>li:hover>a {
    color: #fff;
}

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

.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li>a {
    padding: 1rem 1.4rem;
    line-height: 1.5;
}

.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.active>a,
.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.current-menu-item>a,
.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.current_page_item>a,
.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.current-menu-ancestor>a {
    background-color: #fff;
    color: var(--dt-main-color);
}

.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>.menu-item-has-children.current-menu-ancestor>a:after,
.header--six.menu_active-three .dt_navbar-nav .dt_navbar-mainmenu>li.active>a:after {
    color: var(--dt-main-color);
}

.header--six .dt_navbar-button-item .dt-btn.dt-btn-primary:after {
    background: var(--dt-black-color);
}

.dt_navbar-cart-item .cart_count {
    top: -0.8rem;
    right: -1.1rem;
}

/* Header Menu Active */
.menu_active-two .dt_navbar-nav .dt_navbar-mainmenu>li>a::before {
    content: '';
    display: block;
    position: absolute;
    left: 0.7rem;
    top: 1.2rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--dt-main-color);
    border-radius: 0.5rem;
    transform: scale(0);
    transition: all .35s ease-in-out;
}

.menu_active-two .dt_navbar-nav .dt_navbar-mainmenu>li.active>a::before,
.menu_active-two .dt_navbar-nav .dt_navbar-mainmenu>li.focus>a::before,
.menu_active-two .dt_navbar-nav .dt_navbar-mainmenu>li:hover>a::before {
    transform: scale(1)
}


.mainfeatured_section.style-7 .post_columns-grid {
    grid-template-columns: auto;
}

.mainfeatured_section.style-7 .post_columns-grid {
	grid-gap: 2rem;
}

.mainfeatured_section.style-7 .post_columns-grid .post .thumb .inner {
    height: 247px;
}

.wp-block-woocommerce-empty-mini-cart-contents-block .wc-block-mini-cart__empty-cart-wrapper p strong {
    font-size: 16px;
}

.wc-block-components-product-title a.wc-block-components-product-name {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 30px;
    padding: 0.25em 0 8px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 10px;
    text-decoration: none;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-cart__totals-title {
    font-size: 24px;
    line-height: 34px;
    text-transform: capitalize;
    margin-bottom: 15px;
    color: var(--dt-black-color);
}

.wc-block-cart__submit-container .wc-block-cart__submit-button.wc-block-components-button:not(.is-link).contained {
    background-color: var(--dt-main-color) !important;
}

.wc-block-grid__products .wc-block-components-product-sale-badge.wc-block-grid__product-onsale {
    left: 15px;
    top: 15px;
    padding: 0;
    color: #fff;
    background: var(--dt-main-color);
    right: auto;
    min-width: 45px;
    height: 24px;
    line-height: 24px;
    display: block;
    overflow: hidden;
    min-height: auto;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.2px;
    border: none;
}

.wc-block-grid__product-price.price ins {
    color: var(--dt-main-color);
    font-weight: bold;
}

.wc-block-grid__products .wc-block-components-product-button__button {
    border-radius: 0;
    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-grid__products .wc-block-components-product-button__button:hover, 
.wc-block-grid__products .wc-block-components-product-button__button:focus {
    background-color: var(--dt-black-color);
}

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

.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-black-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-black-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: var(--dt-whi-color);
}

.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-black-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-black-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-black-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-pri-color);
}

.wp-block-latest-comments {
    padding-left: 0;
}

.wp-block-latest-comments li a:not(:hover, :focus) {
    color: var(--dt-black-color);
}

/* 优化首页滑块翻页按钮样式 - 按钮放在滑块内部并水平对齐 */
.mainfeatured_section .post-carousel-lg .slick-next,
.mainfeatured_section .post-carousel-lg .slick-prev {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease-in-out !important;
    z-index: 10 !important;
    opacity: 0.9 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mainfeatured_section .post-carousel-lg .slick-prev:before,
.mainfeatured_section .post-carousel-lg .slick-next:before {
    color: #fff !important;
    font-size: 20px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
}

.mainfeatured_section .post-carousel-lg .slick-next:hover,
.mainfeatured_section .post-carousel-lg .slick-prev:hover {
    background: var(--dt-main-color) !important;
    border-color: var(--dt-main-color) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.mainfeatured_section .post-carousel-lg .slick-prev {
    left: 20px !important;
}

.mainfeatured_section .post-carousel-lg .slick-next {
    right: 20px !important;
}