/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	max-width: 100%;
	overflow: hidden;
    font-family: "Inter", sans-serif;
}
.header-top .button {
    min-height: 28px;
    height: 28px;
    line-height: 28px;
}
.header:not(.transparent) .header-nav-main.nav > li > a {
    font-weight: normal;
}
.nav-spacing-xlarge>li {
    margin: 0 20px;
}
.header:not(.transparent) .header-nav-main.nav > li.active > a {
    font-weight: bold;
}
.button {
    font-size: 16px;
    font-weight: normal;
}
.page-title-inner.container {
    display: none;
}
.widget .is-divider {
    display: none;
}
span.widget-title {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.widget ul.menu > li {
    border: 1px solid #E9E9E9;
    border-radius: 4px;
    margin-bottom: 4px;
    padding-left: 10px;
}
.widget ul.menu > li:hover {
    background-color: var(--primary-color);
}
.widget ul.menu > li > a {
    font-size: 18px;
    color: #333;
    padding: 10px 0;
}
.widget ul.menu > li:hover > a {
    color: #fff;
}
.widget ul.menu > li:hover > .toggle {
    color: #fff !important;
}
.widget ul.menu > li img {
    transition: filter 0.3s ease;
}
/* Đổi ảnh sang màu trắng khi hover vào thẻ li */
.widget ul.menu > li:hover img {
    filter: brightness(0) invert(1);
}
.widget ul.menu > li li>a {
    padding: 10px 15px;
}
.widget ul.menu > li.current-menu-item.menu-item-has-children {
    background-color: var(--primary-color);
}
.widget ul.menu > li.current-menu-item.menu-item-has-children > a {
    color: #fff;
}
.widget ul.menu > li.current-menu-item.menu-item-has-children > .toggle {
    color: #fff !important;
}
.widget ul.menu > li.current-menu-item.menu-item-has-children img {
    filter: brightness(0) invert(1);
}

.woocommerce-product-gallery__wrapper.product-gallery-slider {
    margin-bottom: 30px;
    border: 1px solid #E9E9E9;
    border-radius: 8px;
    padding: 3px;
}
.woocommerce-product-gallery__wrapper.product-gallery-slider img {
    border-radius: 8px;
    height: 372px;
    object-fit: scale-down;
}

.product-thumbnails.thumbnails a {
    border-radius: 8px;
}
.product-thumbnails.thumbnails img {
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.vams-product-banner{
  position:relative;
  background:#1a56db;
  overflow:hidden;
  min-height:430px;
  display:flex;
  align-items:center;
  background-repeat: no-repeat;
  background-position: center;
}
.vpb-mask{
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center right;
  background-size:auto 100%;
  pointer-events:none;
}
.vpb-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding-top:32px;
  padding-bottom:32px;
}
.vpb-content{
  max-width:520px;
}
.vpb-breadcrumb,
.vpb-breadcrumb a,
.vpb-breadcrumb span{
  font-size:13px;
  color:rgba(255,255,255,.75);
  margin-bottom:10px;
}
.vpb-breadcrumb a:hover{ color:#fff; }
/* Yoast breadcrumb separator */
.vpb-breadcrumb .breadcrumb_last{ color:#fff; font-weight:600; }
.vpb-title{
  font-size:40px;
  font-weight:800;
  color:#fff;
  line-height:1.15;
  margin:0 0 4px;
  text-transform:uppercase;
}
.vpb-subtitle{
  font-size:35px;
  font-weight:400;
  color:rgba(255,255,255,.9);
  margin:0 0 16px;
}
.vpb-desc{
  font-size:20px;
  color:rgba(255,255,255,.8);
  line-height:1.6;
  margin:0;
  max-width:420px;
}

/* Khung chính của Card */
.download-card {
	background-color: #F6F8FC; /* Màu nền xám/xanh nhạt */
	border: 1px solid #E2E6F0; /* Viền mỏng */
	border-radius: 12px;       /* Bo góc */
	padding: 20px;
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: 500px;
	box-sizing: border-box;
}

/* Vòng tròn chứa Icon */
.icon-container {
	width: 60px;
	height: 60px;
	background-color: #FFFFFF;
	border: 1px solid #DCE4F5;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0; /* Tránh bị co lại khi text quá dài */
}

/* Khung chứa nội dung text */
.content-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Tiêu đề */
.title {
	margin: 0;
	color: #193BB2; /* Màu xanh dương đậm */
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

/* Đoạn mô tả */
.description {
	margin: 0;
	color: #333333;
	font-size: 16px;
	line-height: 1.4;
}

/* Liên kết có mũi tên */
.widget .download-card .link {
	text-decoration: none;
	color: #193BB2;
	font-size: 14px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	transition: opacity 0.2s;
}

.link:hover {
	opacity: 0.8;
}

/* Box container */
.post-item .box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

/* Image wrapper */
.image-cover {
  position: relative;
  overflow: hidden;
}

.image-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-item .box:hover .image-cover img {
  transform: scale(1.05);
}

/* Text overlay - luôn full height, content bám dưới */
.box.hover-dark .box-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0.35) !important;
  padding: 10px !important;
  transition: background-color 0.4s ease;
  z-index: 2;
  box-sizing: border-box;
}

.box.hover-dark:hover .box-text {
  background-color: rgba(0, 0, 0, 0.72) !important;
}

/* Inner text wrapper */
.box-text-inner.blog-post-inner {
  width: 100%;
}

/* Title */
.box.hover-dark .post-title {
  color: #ffffff;
  margin: 0 0 4px 0;
  font-weight: 600;
  line-height: 1.4;
}

/* Date */
.box.hover-dark .post-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin: 0;
}

/* Divider */
.box.hover-dark .is-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 6px 0;
  height: 1px;
  background: none;
}

/* Badge nếu có */
.box.box-badge .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background-color: #e74c3c;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-big .post-item .post-title {
    font-size: 26px;
}
.post-item .post-title {
    font-size: 20px;
}

@media(max-width:767px){
  .vpb-title{ font-size:22px; }
  .vpb-subtitle{ font-size:16px; }
  .vpb-mask{ background-position:bottom right; background-size:cover; opacity:.25; }
}
@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }
    .ic-box.icon-box-left {
        display: block;
    }
    .ic-box.icon-box-left .icon-box-img {
        margin-bottom: 10px;
    }
    .ic-box.icon-box-left .icon-box-text {
        padding-left: 0;
    }

}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */
.blog-single .article-inner > .entry-header {
    display: none;
}
/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
.product-small.box .box-image img {
    height: 200px;
    object-fit: cover;
}
/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}
@media (min-width: 850px){
    header#header .nav-dropdown {
        display: block;
    }
    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 0;
        display: none !important;
        border-radius: 5px;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }
    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
        font-size: 14px;
    }
    header#header .nav-dropdown li:hover > ul.sub-menu{
        display: block !important;
    }
    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }
    header#header .nav-dropdown li.menu-item-has-children > a {
        font-weight: 400;
        text-transform: none;
        color: rgba(102,102,102,.85);
        font-size: 14px;
    }
    header#header .nav-dropdown li.active>a {
        color: #e82c2a;
    }
}
/* */
.archive #nav_menu-6,
.archive #nav_menu-5{
  display: none;
}

.term-43 #nav_menu-5,
.term-38 #nav_menu-4 {
  display: block;
}
body .tcm-l1-item {
  font-size: 16px;
}