/*
Theme Name: Blogier
Theme URI: https://themeansar.com/free-themes/blogier-free-wordpress-theme/
Author: Themeansar
Author URI: https://themeansar.com
Description: Blogier is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Blogier 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. Blogier is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://demos.themeansar.com/blogus/blogier/ and documentation at https://docs.themeansar.com/docs/blogus/
Version: 1.1
Requires PHP: 7.0
Requires at least: 5.4
Tested up to: 6.4.3
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: blogus
Text Domain: blogier
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

Blogier WordPress Theme is child theme of Blogus, Copyright 2023 Themeansar
Blogier is distributed under the terms of the GNU General Public License v3

Blogier is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
:root {
    --box-color2: #fffaf4;
    --bxsh2: 0 3px 12px -1px rgba(7,10,25,.2), 0 22px 27px -20px rgba(7,10,25,.2);
}
body {
    font-family: var(--font-body);
}
code, pre, kbd, samp {
    font-family: var(--font-mono);
}
a:focus {
    outline: 1px solid;
    text-decoration: underline;
} 
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}
.bs-menu-full .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar-wp .navbar-nav{
    justify-content: flex-start;
    row-gap: 6px;
    flex-wrap: wrap;
}
.navbar-wp .navbar-nav > li> a{
    font-size: 15px;
    line-height: 1.3;
    padding: 0 8px;
}
.desk-header{
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
}
.desk-header.right-nav a {
    margin-right: 0.3rem;
}
.desk-header .msearch,
.desk-header .login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #e2e8f0);
    background: var(--color-bg, #fff);
    color: var(--color-text, #1a1a2a);
    font-size: 14px;
    padding: 0;
    text-decoration: none;
}
.desk-header .msearch:hover,
.desk-header .login-icon:hover {
    background: var(--color-primary, #006699);
    color: #fff;
    border-color: var(--color-primary, #006699);
}
html[data-theme='dark'] .desk-header .msearch,
html[data-theme='dark'] .desk-header .login-icon {
    background: var(--color-surface, #1e1e2e);
    border-color: var(--color-border, #2d2d3f);
    color: var(--color-text, #e0e0e0);
}
html[data-theme='dark'] .desk-header .msearch:hover,
html[data-theme='dark'] .desk-header .login-icon:hover {
    background: var(--color-primary, #6db3f2);
    color: #1a1a2e;
    border-color: var(--color-primary, #6db3f2);
}
.bs-content-list{
    display: grid;
    gap: 70px;
}
.bs-blog-post {
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
    overflow: visible;
    gap: 10px;
}
.bs-blog-post:hover{
    box-shadow: none;
}
.list-blog .bs-blog-thumb {
    margin: 0;   
    width: 40%;
    max-width: 40%;
    min-width: 40%;
    height: 100%;
    box-shadow: var(--bxsh2);
    border-radius: 8px;
}
.list-blog.bs-blog-post .small {
    padding: 5px 20px 0;
    overflow: hidden;
}
.list-blog.bs-blog-post{
    padding: 0;
}
.bs-blog-post .title{
    font-size: 28px;
    font-weight: 700;
    display: block;
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grid-blog .bs-blog-thumb {
    height: 300px;  
    box-shadow: var(--bxsh2);
    border-radius: 8px;
}
.grid-blog.bs-blog-post .small{
    padding: 30px 0 0;
}
.bs-content-grid{
    display: grid;
    grid-row-gap: 70px;
    grid-column-gap: 30px;
}
.column2{
    grid-template-columns: repeat(2, 1fr);
}
.column3{
    grid-template-columns: repeat(3, 1fr);
}
.bs-blog-post.single .bs-header .title{
    display: block;
    line-height: 1.3;
}
.bs-sidebar .bs-widget{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.bs-blog-category a{
    border-radius: 4px;
}
form.search-form .search-submit{
    border-radius: 8px;
}
input[type="search"]{
    border-radius: 8px;
}
.missed .wd-back{
    box-shadow: var(--bxsh2);
    border-radius: 8px;
    background: var(--box-color2);
}
.navigation.pagination .nav-links .page-numbers, .navigation.pagination .nav-links a, .post-nav-links a{
    border-radius: 4px;
}
.bs-blog-post.single{
    box-shadow: none;
}
.bs-blog-post.single:hover{
    box-shadow: none;
    overflow: visible;
}
.bs-blog-post .bs-header{
    padding: 0 0 20px;
    overflow: hidden;
}
.bs-blog-post.single img{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.bs-blog-post.single .small{
    padding: 20px 0 0;
    overflow: hidden;
}
.bs-blog-post .single .nav-links {
    border-radius: 8px;
}
.bs-info-author-block{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.py-4.px-3.mb-4.bs-card-box{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.comments-area.bs-card-box.p-4{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.single-class .bs-breadcrumb-section{
    margin-bottom: 40px;
}
.bs-breadcrumb-section .overlay{
    border-radius: 8px;
}
.bs-card-box{
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
}
.bs-breadcrumb-section{
    margin-bottom: 30px;
}
.bs-sidebar .bs-widget .bs-widget-tags a, .bs-sidebar .bs-widget .tagcloud a, .wp-block-tag-cloud a, .tagcloud a{
    border-radius: 8px;
}
.list-blog p{
    margin-bottom: 1rem;
}
.gallery .gallery-icon img{
    box-shadow: var(--bxsh2);
    border-radius: 8px;
}
.btn, .more-link, .woocommerce ul.products li.product .button{
    padding: 5px 20px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: var(--bxsh2);
}
.bs-blog-post.three.md {
    border-radius: 8px;
}
.featured-widget.wd-back{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.featured-widget .bs-blog-post{
    box-shadow: none;
}
.featured-widget .bs-blog-post:hover{
    box-shadow: none;
}
.featured-widget .bs-blog-thumb.lg {
    height: 300px;
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
.featured-widget .bs-blog-post .inner{
    padding: 0px !important;
    padding-top: 1rem !important;
}
.featured-widget .bs-blog-post .title {
    margin-bottom: 10px;
    font-size: 24px;
}
.small-post .img-small-post{
    border-radius: 8px;
    box-shadow: var(--bxsh2)
}
.bs-author img.rounded-circle{
    width: 150px;
    height: 150px;
    border-width: 3px;
    border-style: solid;
}
.widget_block .wp-block-search__button{
    border-radius: 8px;
}
.comment-form-comment textarea{
    border-radius: 8px;
}
input[type="submit"], button{
    border-radius: 8px;
}
.comments-area .reply a{
    border-radius: 8px;
}
.navbar-wp .navbar-brand{
    margin-right: 0;
    display: block;
    padding-top: 0;
}
.navbar-wp .navbar-brand img{
    max-width: 60px;
    height: auto;
}
.site-branding-text .site-title a{
    font-size: 18px !important;
}
.site-branding-text .site-description{
    font-size: 12px;
}
.navbar-header .navbar-brand{
    display: inline-block;
    vertical-align: middle;
}
.navbar-header .site-branding-text{
    display: inline-block;
    vertical-align: middle;
}
.wp-block-latest-posts__post-author:before, .wp-block-latest-posts__post-date:before{
    content: '\';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
}
.wp-block-latest-posts__post-date:before{
    content: '\';
}
.wp-block-latest-posts__post-title{
    display: block;
}
.wp-block-latest-posts__list .wp-block-latest-posts__featured-image + .wp-block-latest-posts__post-title{
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
	display: inline-block;
	margin-right: 10px;
}
footer .wp-block-heading { 
	padding: 5px 0;
	display: flex;
	width: 100%;
	align-items: center;
	margin-bottom: 20px;
	position: relative;
	border-style: solid;
	border-width: 0 0 1px 0;
}
footer .wp-block-heading::before {
	position: absolute;
	content: "";
	height: 3px;
	width: 25%;
	bottom: -1px;
	left: 0;
}
.site-branding-text .site-title{
    white-space: unset;
    word-break: break-word;
}
/* .navbar-header.d-none.d-lg-block {
	flex: 0 0 auto;
	max-width: 25%;
}
.navbar-expand-lg .navbar-collapse {
	flex: 0 0 auto;
	max-width: 58.3333333333%;
}
.desk-header.right-nav {
	flex: 0 0 auto;
	max-width: 12.6666666667%;
}  */
.bs-widget.promo{
    border-radius: 8px;
}
.bs-widget.promo .inner-content{
    border-radius: 8px;
}
/* Woocommerce */
.woocommerce ul.products li.product .button{ 
    border-width: 2px;
    border-style: solid;
    line-height: 30px;
}
.woocommerce ul.products li.product{
    border-radius: 8px;
}
.woocommerce ul.products li.product a img{
    border-radius: 8px;
    box-shadow: var(--bxsh2);
}
/* ---- ==== Media ==== ----*/
@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }
}
@media (min-width: 992px) {
    #sidebar-right {
        padding-right: unset;
        padding-left: 20px;
    }

    .sidebar-left #sidebar-right {
        padding-left: unset;
        padding-right: 20px;
    }
}
@media (max-width: 991.98px) {
    .navbar-wp .navbar-nav > li > a.nav-link, .navbar-wp .dropdown-menu > li > a{
        font-size: 16px;
    }
    .bs-menu-full .navbar .col-lg-6,
    .bs-menu-full .navbar .col-lg-7{
        padding: 0;
    }
    .column3{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .list-blog.bs-blog-post {
        display: grid;
    }
    .list-blog.bs-blog-post .small{
        padding-top: 20px;
    }
    .column2, .column3{
        grid-template-columns: repeat(1, 1fr);
    }
    .col-lg-8.content-right .grid-blog.bs-blog-post .bs-blog-category, .grid-blog.bs-blog-post .bs-blog-meta{
        justify-content: start;
    }
}

form.search-form .search-submit
{
    padding: 6px 35px;
}

pre 
{
    background: none;
}

.bs-blog-post.single .bs-header .title
{
    font-size: 40px;
}

.bs-info-author-block .bs-author-pic img
{
    width: 100px;
    height: 100px;
}

.wp-block-latest-posts__featured-image img
{
    box-shadow: var(--bxsh2);
    border-radius: 8px;
}

/* Sticky header */
.bs-headfour {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--color-bg, #fff);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    transition: box-shadow 0.3s ease;
}
.bs-headfour.scrolled {
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
}
html[data-theme='dark'] .bs-headfour {
    background: var(--color-bg, #1a1a2e);
    border-bottom-color: var(--color-border, #2d2d3f);
}
html[data-theme='dark'] .bs-headfour .site-title a,
html[data-theme='dark'] .bs-headfour .site-branding-text .site-title a,
html[data-theme='dark'] .m-header .site-title a {
    color: #fff !important;
}
html[data-theme='dark'] .bs-headfour .site-description,
html[data-theme='dark'] .bs-headfour .site-branding-text .site-description,
html[data-theme='dark'] .m-header .site-description {
    color: #999 !important;
}
html[data-theme='dark'] .bs-headfour.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Dark mode toggle */
.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #e2e8f0);
    background: var(--color-bg, #fff);
    color: var(--color-text, #1a1a2a);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    margin-left: 0.3rem;
}
.dark-mode-toggle:hover {
    background: var(--color-primary, #006699);
    color: #fff;
    border-color: var(--color-primary, #006699);
}
html[data-theme='dark'] .dark-mode-toggle {
    background: var(--color-surface, #1e1e2e);
    border-color: var(--color-border, #2d2d3f);
    color: var(--color-text, #e0e0e0);
}
html[data-theme='dark'] .dark-mode-toggle:hover {
    background: var(--color-primary, #6db3f2);
    color: #1a1a2e;
    border-color: var(--color-primary, #6db3f2);
}

/* Focus states (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--color-primary, #006699);
    outline-offset: 2px;
}
.dark-mode-toggle:focus-visible {
    outline: 2px solid var(--color-primary, #006699);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch targets */
@media (max-width: 767.98px) {
    .dark-mode-toggle {
        width: 44px;
        height: 44px;
    }
    .lang-switcher-btn,
    .lang-float-btn {
        min-width: 44px;
        min-height: 44px;
    }
}