/*
Theme Name: news
Text Domain: news
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: VH WP
Author URI: https://t.me/vh_wp
Theme URI: https://t.me/vh_wp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/ 
@font-face {
    font-family: 'Yahoo Sans';
    src: url('assets/fonts/YahooSans-Light.woff2') format('woff2'),
        url('assets/fonts/YahooSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yahoo Sans';
    src: url('assets/fonts/YahooSans-Medium.woff2') format('woff2'),
        url('assets/fonts/YahooSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yahoo Sans';
    src: url('assets/fonts/YahooSans-Bold.woff2') format('woff2'),
        url('assets/fonts/YahooSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}





* {
        box-sizing: border-box;


}
:root {
    --primary-color: #6001d2;
}
html {
    -webkit-text-size-adjust: 100%;
}
b, strong {
    font-weight: 700;
}
body {
    margin: 0;
    padding: 0;
    background: #fff;
    line-height: 25px;
        -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #232a31;
    scroll-behavior: smooth;
    width: 100%;
   font-weight: normal;


}

body, button, input, select, optgroup, textarea, h1, h2, h3, h4, h5, h6 {
 font-family: "Yahoo Sans","Helvetica Neue",Helvetica,Arial,sans-serif;

}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing:  .2px;
    font-weight: bold;
}
h1 {
    font-size: 30px;
}
h2 {
    font-size: 25px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
img,figure, iframe, .wp-caption {
    max-width: 100%;
    height: auto;
}
button, a {
    cursor: pointer;
    text-decoration: none;
    outline: 0;

}
.container {
    margin: 0 auto;
    max-width: 1264px;
    min-width: 980px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.site-header {

    background: #fff;
}
.site-header .logo {
    width: 200px;
    float: left;
    margin-right: 15px;
}
.flex {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}
.site-header .flex {
        height: 64px;
}
.nav-header>ul>li>a {
    margin: 0 0 0 41px;
    color: #5b636a;
    font-size: 14px;
    font-family: 'Yahoo Sans';
    font-weight: bold;
}

.nav-header>ul>li.current-menu-item>a {
        color: #232a31;

} 

.switch-mode {
    display: flex;
    align-items: center;
    border-radius: 17px;
    padding: 5px 15px;
    color: #000;
    margin-left: 15px;
}

button.darkmode-button.topnav-button {
    cursor: pointer;
    height: 24px;
    padding: 0;
    background: transparent;
    color: #5b636a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-theme .devvn_readmore_flatsome {
    background: linear-gradient(180deg,rgba(255,255,255,0) 0%,#1f202b 85%);
}

.nav-header > ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}
.header-search form {
    display: flex;
    flex-wrap: wrap;
}
.header-search form button {
    background: var(--primary-color);
}
.header-search {
    min-width: 193px;
    flex: 1;
    margin-left: 15px;
}

.hide-pc {
    display: none;
}
.header-search form {
    display: flex;
    flex-wrap: wrap;
    background-color: #f0f3f5;
    border-radius: 99px;
}
.header-search form .input-wrap  {

    width: calc(100% - 46px);
}
.header-search form .input-wrap  input {
    width: 100%;
    display: block;
}
.header-search form:hover {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgb(0 0 0/16%);
}
.header-search form:hover input {
    background: #fff;
}
input:visited, input:focus {
    outline: 0;
    border: 0;
}

input, button, select {
    background-color: #f0f3f5;
    height: 45px;
    border-radius: 99px;
    border: 0;
    padding: 0 15px;
}
.recents-list .post-item {
    display: flex;
    margin-block: 20px;
}
.recents-list .post-item .post-image {
    position: relative;
    margin-right: 20px;
}
.recents-list .post-item .post-image {
    width: 270px;
    height: 150px;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.recents-list .post-item .post-image img {
    width: 270px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
}
.recents-list .post-item .post-text {
    flex: 1;
}
.recents-list .post-item .post-text .post-categories {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.posted-by, span.addition-post {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 5px;
    line-height: 1;
    margin-bottom: 5px;
}
.posted-by .dot {
    width: 3px;
    height: 3px;
    border-radius: 99px;
    background: #000;
}
h3.post-title {
    color: #232a31;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    padding: 0;
    margin-bottom: 4px;
}
h3.post-title a {
    color: #232a31;
    line-height: 1.4;
}
h3.post-title a:hover {
    color: var(--primary-color);
}
.recents-list .post-item p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-height: 1.43;
    margin-bottom: 5px;
    margin-top: 5px;
}
.h-title {
    position: relative;
    font-size: 16px;
    display: inline-block;
    padding-left: 15px;
    margin-top: 0;
    margin-bottom: 0;
}
.h-title:before {
    content: "";
    width: 6px;
    display: inline-block;
    background: var(--primary-color);
    height: 100%;
    margin-right: 15px;
    border-radius: 2px;
    position: absolute;
    left: 0;
}
.main-content {
    width: calc(100% - 320px);
    margin-right: 20px;
}
.main-sidebar {
    width: 300px;
    flex: 1;
}
aside {
    border-radius: 8px;
    padding: 18px 20px 16px;
    margin-bottom: 20px;
    box-shadow: 0 0 1px rgba(0,0,0,0.08),0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
}
.main-wrapper .flex {
    align-items: flex-start;
    flex-direction: row;
}
aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
aside>ul>li {
    margin-bottom: 15px
}
.vh-pagination a, .vh-pagination span {
    border: 1px solid #0f69ff;
    border-radius: 4px;
    padding: 5px 15px;
}
.vh-pagination {
    display: flex;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
    gap: 5px;
}
.vh-pagination span.current , .vh-pagination a:hover {
    background: var(--primary-color);
    color: #fff;
}
.main-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    align-items: center;
    list-style: none;
    gap: 5px;
    font-size: 13px;
}.footer-menu ul {
    display: flex;
    flex-direction: row; /* Đảm bảo các mục nằm ngang */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px; /* Khoảng cách giữa các <li> */
}

.footer-menu ul li {
    display: inline-block; /* Hoặc dùng flex */
    margin: 0;
    padding: 0;
}
.footer-menu li a {
    color: #232a31;

}
.footer-menu li a:hover {
    color: var(--primary-color);
}
.text-center {
    text-align: center;
}
.copyright-text  {
    font-size: 13px;
    text-align: center;
    display: block;
}
.social-links-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.social-links-list a {
    width: 24px;
    height: 24px;
}
.related-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}
.related-wrap .related-item{
    width: calc(100% / 3);
}

.related-item {
    padding: 15px;
}
.related-item .image {
    position: relative;
    padding-top: 56%;
}
.related-item .image img {
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.related-item .content {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        line-height: 1.43;
        margin-bottom: 5px;
        margin-top: 5px;
}
.related-item .content a {
    color: #232323;
}
            .share-item {
                display: flex;
                margin-top: 30px;
                margin-bottom: 30px;
                clear: both;
                align-items: center;
            }

            .share-item .item:not(:first-child) {
                margin-left: 10px;
                border-radius: 99px;
            }

            .share-item .item img {
                border-radius: 99px;
                text-align: center;
            }

            .share-item .item img {
                border-radius: 99px;
                text-align: center;
                width: 27px;
                height: 27px;
                object-fit: cover;
            }

            .item.facebook a {
                background-color: #3c5a99;
            }

            .item.twitter a {
                background-color: #0f1419;
            }

            .item.telegram a {
                background-color: #08c;
            }

            .item.whatsapp a {
                background-color: #25d366;
            }

            .share-item a {
                display: inline-flex;
                width: 34px;
                height: 34px;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                color: #fff;
                font-size: 20px;
            }
            .main-sidebar {
    position: sticky;
    top: 70px;
}
        .tabs {
            display: flex;
            list-style: none;
            padding: 0;
        }

        .tab {
            cursor: pointer;
            padding: 10px 20px;
            margin-right: 10px;
            background-color: #eee;
        }

        .tab:hover {
            background-color: #ddd;
        }

        .tab.active {
            background-color: #ccc;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }
        .sidebar-posts-list li a {
    color: #1d2228;
    font-size: 12px;
    font-family: 'Yahoo Sans';
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.sidebar-posts-list {
    display: flex;
    flex-wrap: wrap;
}
.sidebar-posts-list li {
    width: calc(50% - 4px);
    margin-bottom: 5px;
}
.sidebar-posts-list .num {
    color: var(--primary-color);
}
.sidebar-posts-list a:hover {
    color: var(--primary-color);
}
.sidebar-tab li {
    font-size: 13px;
    padding: 0 15px;
    background: none;
    font-weight: bold;
    color: #121212;
    position: relative;
}
.sidebar-tab li.active {
    border: none;
    background: none;
}
.sidebar-tab li:before, .sidebar-tab li:hover {
   background: transparent;
}
.sidebar-tab li.active:before, .sidebar-tab li:hover:before {
    content: "";
    width: 8px;
    height: 100%;
    position: absolute;
    background: var(--primary-color);
    left: 0;
    border-radius: 2px;
    top: 0;
}
.vh-search {
    background: #f5f5f5;
    border-radius: 99px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.vh-search button {
    background: var(--primary-color);
}
.featured-item {
    display: flex;
}
.second-featured {
    display: flex;
    flex-wrap: wrap;
}
.second-featured .seconds-item {
    margin: 5px;
}
.second-featured .seconds-item {
    width: calc(100% / 5 - 10px);
}
.second-featured .seconds-item a, .featured-posts p {
    color: #1d2228;
    line-height: 1.33;
    font-size: 13px;
    font-weight: bold;
        font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;

}
.featured-posts p {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.43;
    -webkit-line-clamp: 4;
    font-weight: normal;
}
.featured-item .content * {
    position: relative;
}

.second-featured .seconds-item a:hover {
    color: var(--primary-color);
}
.featured-item img {
    height: 100%;
}
.featured-item {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.featured-item h2 {
    line-height: 1.3;
    font-size: 26px;
    color: #232a31;
}
.featured-item h2:hover {
    color: var(--primary-color);
}
.second-featured .seconds-item .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.second-featured .seconds-item .image {
    position: relative;
    padding-top: 56%;
}
.featured-posts {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.featured-item .content:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
        background-position: right center;
    display: block!important;
    -webkit-filter: blur(15px);
    filter: blur(15px);
    opacity: .24;
    -webkit-transform: scale(1.5) scaleX(-1);
    transform: scale(1.5) scaleX(-1);
}
.featured-item .content {
    background-color: #e0e4e9;
    width: 40.4%;
    padding: 0 4%;
    position: relative;
    overflow: hidden;
}
.dark-theme {
    background: #100f0f;
    color: #fff;
}
.dark-theme .site-header {
    background: #313131;
}
.dark-theme .nav-header>ul>li>a {
    color: #fff;
}
.dark-theme  .second-featured .seconds-item a, .dark-theme .featured-posts p, .dark-theme .h-title, .dark-theme .recents-list .post-item p, .dark-theme h3.post-title, .dark-theme .footer-menu li a {
color: #fff; 
}
.dark-theme .social-links-list svg {
fill: #fff; 
}
.dark-theme h3.post-title a, .dark-theme .related-item .content a {
    color: #fff;
}
#slick-home img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#slick-home .image {
    position: relative;
    padding-top: 75%;
}
#slick-home .item {
    position: relative;
}
#slick-home .content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    z-index: 53;
    font-weight: bold;
}

.count {
    background-color: rgba(35,42,49,.8);
    display: inline-block;
    border-radius: 12px;
    color: #fff;
    width: 40px;
    text-align: center;
    font-size: 13px;
    position: absolute;
    z-index: 5432;
    right: 0;
    margin-top: 10px;
    margin-right: 25px;
}
#slick-home .content a{
    color: #fff;

}
#slick-home .item:before {
    background: -webkit-gradient(linear,left top,left bottom,color-stop(28%,rgba(18,23,23,0)),color-stop(34%,rgba(18,23,23,.04)),to(rgba(18,23,23,.84)));
    background: linear-gradient(-180deg,rgba(18,23,23,0) 28%,rgba(18,23,23,.04) 34%,rgba(18,23,23,.84) 100%);
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}
.header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 80px);
    background: #fff;
    height: 100%;
    z-index: 123;
     transform: translateX(-311px);
     visibility: hidden;

}
.header-mobile-inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-mobile-inner ul li a {
    font-size: 18px;
    display: block;
    color: #5b636a;
    padding: 7.5px 15px;
}
.header-close {
    transform: translateX(var(--frame-width));
    box-shadow: 0 4px 16px 0 rgb(0 0 0/20%), 0 0 2px 0 rgb(0 0 0/5%);
    width: 40px;
    height: 40px;
    border-radius: 99px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    justify-content: center;
    font-size: 21px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}
.header-mobile-inner {
    padding: 15px;
    padding-top: 40px;
}
.overlay {
    background: #00000059;
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(35 42 49/40%);
    overflow-y: scroll;
    z-index: 10;
}
.header-mobile.active {
        transform: translateX(0);
    overflow-x: hidden;
    transition: transform .4s ease-in-out!important;
    box-shadow: 0 4px 16px 0 rgb(0 0 0/20%), 0 0 2px 0 rgb(0 0 0/5%);
    visibility: visible;
}
.dark-theme .btn-menu svg path {
    fill: #fff;
}
.single-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.single-meta .left {
    width: 50%;
    flex-wrap: wrap;
    align-items: center;
}

.single-meta .left .posted-date {
    flex-basis: 100%;
    width: 100%;
}
.single-meta .left img {
    border-radius: 99px;
    margin-right: 15px;
}
.entry-title {
    font-size: 1.7em;
    line-height: 1.25;
    margin: 0;
    color: #232a31;
    font-stretch: normal;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 10px;
}
.single-meta {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
}
.dark-theme .vh-pagination a, .dark-theme .vh-pagination span {
    border-color: #d93;
    color: #79ef11;
}
.dark-theme .vh-pagination span.current, .dark-theme .vh-pagination a:hover {
    background: #79ef11;
    border-color: #79ef11;
    color: #333 !important;
}
.dark-theme .recents-list .post-item .post-text .post-categories a {
    color: #d93;
}
.dark-theme .h-title:before {
    background-color: #d93;
}
.dark-theme .h-title {
    color: #d93;
}
.dark-theme aside a {
    color: #000;
}
.dark-theme {
    --primary-color: #d93;
}
.dark-theme .entry-title {
    color: #d93;
}
.dark-theme a {
    color: #d93;
}
.dark-theme a:hover {
	color: #83ff45; 
}
.dark-theme .share-item a {
    color: #fff;
}
.dark-theme .switch-mode button svg {
    fill: #d93;
}
.dark-theme aside a:hover {
    color: #d9ad6c;
}
header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: rgb(0 0 0/40%) 0 0 10px 0;
}
.blog-title {
	font-size: 30px; 
}
@media only screen and (max-width: 992px) {
    header.fixed {
    position: relative;
    box-shadow: none;

}

    .hide-pc {
        display: block;
    }
    .main-content, .main-sidebar {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .header-search {
    min-width: 10px;
    max-width: 200px;
}
.second-featured .seconds-item, .related-wrap .related-item {
    width: calc(100% / 2 - 10px );
}
.container {
    width: 100%;
    max-width: 100%;
    min-width: 1px;
}
.recents-list .post-item .post-image {
    width: 35%;
}
.recents-list .post-item p {
    display: none;
}
h3.post-title a {
    color: #232a31;
    line-height: 1.4;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-height: 1.43;
    margin-bottom: 5px;
    margin-top: 5px;
}
.related-item {
    padding: 0;
    margin: 5px;
}
.btn-menu {
    width: 60px;
    cursor: pointer;
    z-index: 43;
}
.site-header .flex {
    justify-content: space-between;
}
.mobile-search {
    background: #f0f3f5;
    border-radius: 99px;
}
.mobile-search button, .mobile-search input {
    height: 40px;
    margin: 0;
}
.mobile-search svg path {
    fill: #000;
}
    .hide-mobile {
        display: none;
    }
 
    .switch-mode {
        border: 0;
        padding: 0;
    }

}