/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Áp dụng SVN-Book Antiqua cho toàn bộ website Flatsome */
body,
button,
input,
select,
textarea,
.nav > li > a,
.button,
.button span,
h1, h2, h3, h4, h5, h6,
p, a, strong, em, b, i,
label, li, ul, ol,
th, td,
.header-nav, .footer,
.widget, .widget-title {
    font-family: "SVN-Book Antiqua", "Book Antiqua", serif !important;
}

/* 
span,
body *,.tooltip,
.heading-font,
.alt-font,
blockquote, figcaption,
.price, .woocommerce-Price-amount,
.badge, .count, */

.top-divider {
    border-top: none !important;
}


/* PHAN POR DU AN SLIDE*/
.aawindows-portfolio {
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.aawindows-portfolio.is-dragging 
{ 
	cursor: grabbing; 
}

.aawindows-portfolio__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
}

.aawindows-portfolio .aawindows-item {
	flex: 0 0 auto;
	display: block;
	width: calc(24vw - 10px);
	max-width: 480px;
	margin: 0 10px 0 0;
	color: #111;
	text-decoration: none;
}

/* .aawindows-item__num {
	display: block;
	font-size: 15px;
	line-height: 1;
	margin-bottom: 10px;
}
 */
.aawindows-item__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	height: 3em; 
	text-transform: uppercase;
/* 	letter-spacing: -0.02em; */
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.aawindows-item__addr {
	font-size: 14px;
	line-height: 1.4;
	height: 2.8em;  
	margin: 8px 0 0;
	color: #222;
	overflow: hidden;
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.aawindows-item__img {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	margin-top: 10px;
}
.aawindows-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.aawindows-item:hover .aawindows-item__img img { 
	transform: scale(1.08); 
}

@media (max-width: 849px) {
	.aawindows-portfolio .aawindows-item { 
		width: calc(42vw - 10px); 
	}
	.aawindows-item__title { 
		font-size: 20px; 
	}
}

@media (max-width: 549px) {
	.aawindows-portfolio .aawindows-item { 
		width: calc(78vw - 10px); 
	}
	.aawindows-item__title { 
		font-size: 18px; 
	}
}

/* PHAN GIOI THIEU */
.photo .col-inner{
    position: relative;
    padding: 0 0 18px 18px;
}

.photo .img {
	margin-bottom: 0 !important;
}

.photo img {
	border-radius: 6px;
}

.photo .col-inner::before {
    content: "";
    position: absolute;
    inset: 18px 18px 0 0;
    border: 1px solid #CDD5E3;
    background: repeating-linear-gradient(90deg, transparent 0 79px, #CDD5E3 79px 80px), repeating-linear-gradient(0deg, transparent 0 79px, #CDD5E3 79px 80px);
    opacity: .7;
    transform: translate(-18px, 18px);
    border-radius: 6px;
}

.text-photo p{
    position: absolute;
    left: 0%;
    bottom: 0%;
    background: #153365;
    color: #fff;
    border-left: 4px solid #D60F17;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 500;
    max-width: 240px;
    line-height: 1.35;
	 margin-bottom: 0;
}


@media (max-width: 440px) {
	.text-photo p {
    left: 0%;
    bottom: -2%;
    padding: 6px 6px;
		font-size: .84rem;
	}
}

.crumb {
    color: #153365;
    font-weight: 600;
    display: flex;
    align-items: center;
	  font-size: 20px;
    gap: 10px;
}

.crumb::before {
    content: "";
    width: 28px;
    height: 3px;
    background: #D60F17;
}

.text-main p {
	margin-bottom: 0;
}

.text-main h1 {
    font-size: clamp(1.7rem, 3.1vw, 2.4rem);
    line-height: 1.2;
    font-weight: 600;
}

.photo-right h1 {
    font-size: clamp(1.7rem, 3.1vw, 2.4rem);
    line-height: 1.2;
    font-weight: 600;
    margin: 16px 0 20px;
}

.brands-l, .brands-r {
	display: flex;
}

.brands-l .col-inner{
  border-left: 4px solid #D60F17;
	border-radius: 6px;
}

.brands-r .col-inner{
  border-left: 4px solid #153365;
	border-radius: 6px;
}

.brands-r p,
.brands-l p {
	margin-bottom: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
 
.card {
    position: relative;
    overflow: hidden;         
    border-radius: 6px;
/*     aspect-ratio: 4 / 3; */
}
  
.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
  }
  
.card:hover img { 
		transform: scale(1.04); 
}
 
.card-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 20px;
    background: #153365db;
    border-top: 3px solid #D60F17;
    color: #fff;
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  }

.card:hover .card-panel,
.card:focus-within .card-panel { 
		transform: translateY(0); 
}
 
.card-panel h3 { 
	font-size: 1.3rem; 
	color: #fff;
	font-weight: 600; 
  margin-bottom: 0;
}

.card-panel p  { 
	font-size: .92rem; 
	color: #D5DEEC; 
	line-height: 1.5; 
	margin-bottom: 0;
}
 
  @media (hover: none) {
    .card-panel {
      height: auto;
      transform: none;
      border-top: 0;
      padding-top: 48px;
      background: linear-gradient(transparent, rgba(15, 33, 68, .94) 40%);
    }
  }
  @media (max-width: 640px) {
    .cards { grid-template-columns: 1fr; }
    .card { aspect-ratio: 16 / 10; }
  }

/* DOI TAC & KHACH HANG */
.aaw-gallery-wrap {
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.aaw-gallery-wrap.is-dragging { 
	cursor: grabbing; 
}

.aaw-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: max-content !important;
	max-width: none !important;
	margin: 0 !important;
	will-change: transform;
}

.aaw-track > .col {
	flex: 0 0 auto !important;
	width: 16vw !important;       
	max-width: 260px !important;
	padding: 0 8px !important;
	margin: 0 !important;
}

.aaw-track .col-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
/* 	height: 110px; */
	padding: 6px;
	background: #fff !important;
	border: 1px solid #153365;
	border-radius: 12px;
	box-shadow: none !important;
	transform: none !important;
}
.aaw-track .col-inner a,
.aaw-track .col-inner .box,
.aaw-track .col-inner .box-image,
.aaw-track .col-inner .image-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

.aaw-track .col-inner img {
	position: static !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	margin: 0 !important;
	pointer-events: none;
	filter: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.aaw-track .col-inner:hover,
.aaw-track .col-inner:hover img,
.aaw-track .box:hover .box-image img {
	filter: none !important;
	opacity: 1 !important;
	transform: none !important;
}
.aaw-track .overlay,
.aaw-track .image-overlay { 
	display: none !important; 
}

@media (max-width: 849px) {
	.aaw-track > .col { 
		width: 28vw !important; 
	}
}
@media (max-width: 549px) {
	.aaw-track > .col { 
		width: 44vw !important;  
	}
}

/* DU AN XANH */
.aawgreen__panels {
	display: flex;
	width: 100%;
	height: clamp(420px, 40vw, 760px);
	min-height: 420px;
	overflow: hidden;
}

.aawgreen__item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	min-height: 420px;
	overflow: hidden;
	display: block;
	cursor: pointer;
	transition: flex-grow .9s cubic-bezier(.65, 0, .25, 1);
}

.aawgreen__item.is-active { 
	flex-grow: 10; 
}

.aawgreen__item,
.aawgreen__item:hover,
.aawgreen__item:focus,
.aawgreen__item:active {
	color: #fff !important;
	text-decoration: none !important;
}

/* ---------- Ảnh ---------- */
.aawgreen__item .aawgreen__img {
	position: absolute;
	top: 0;
	left: 50%;
	width: 72vw;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transform: translateX(-50%);
	pointer-events: none;
	filter: grayscale(1) brightness(.72);
	transition: filter .6s ease;
}
.aawgreen__item.is-active .aawgreen__img { filter: none; }
.aawgreen__item:hover .aawgreen__img { filter: none; }

.aawgreen__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 45%);
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;
}
.aawgreen__item.is-active:hover::after { opacity: 1; }


.aawgreen__info {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	display: block;
	width: 72vw;
	max-width: 880px;
	padding: 0 4vw 36px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .4s ease, transform .4s ease;
}

.aawgreen__item.is-active:hover .aawgreen__info {
	opacity: 1;
	transform: none;
	transition: opacity .5s ease, transform .5s ease;
}

.aawgreen__num {
	display: none;
}

.aawgreen__name {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	color: #fff !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.aawgreen__addr {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	opacity: .92;
}


@media (hover: none) {
	.aawgreen__item .aawgreen__img { 
		filter: grayscale(1) brightness(.8); 
	}
	
	.aawgreen__item.is-active .aawgreen__img { filter: none; }
	.aawgreen__item.is-active .aawgreen__info { opacity: 1; transform: none; }
	.aawgreen__item.is-active::after { opacity: 1; }
}

@media (max-width: 849px) {
	.aawgreen__item .aawgreen__img {
		width: 100vw; 
	}
	.aawgreen__info {
		width: 100vw; 
		padding: 0 36vw 20px 20px;
	}
	.aawgreen__name { 
		font-size: 20px; 
	}
}

@media (max-width: 549px) {
	.aawgreen__panels {
		flex-direction: column;
		height: 135vw;
		min-height: 0;
	}
	.aawgreen__item { 
		min-height: 0; 
	}
	.aawgreen__item.is-active {
		flex-grow: 8; 
	}
	.aawgreen__item .aawgreen__img {
		left: 0;
		width: 100%;
		height: 100vw;
		min-height: 100%;
		transform: none;
	}
	.aawgreen__info { 
		width: 100%; 
		padding: 0 20px 20px; 
	}
	.aawgreen__name { 
		font-size: 16px; 
	}
}

/* LINH VUC HOAT DONG */
.aawf br:empty,
.aawf p:empty {
    display: none !important;
}

.aawf {
	--aawf-num-w: 34px;
	--aawf-ico-w: 16px;
	--aawf-gap:   22px;
	--aawf-shift: 14px;  
	--aawf-indent: calc(var(--aawf-num-w) + var(--aawf-gap)); 
	--aawf-dur: 6000ms;
}

.aawf__body {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.aawf__stage {
	position: relative;
	min-height: 480px;
	overflow: hidden;
	background: #e9ecf3;
	border-radius: 6px;
}

.aawf__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(21, 51, 101, .6) 0%, rgba(21, 51, 101, 0) 40%);
	pointer-events: none;
}

.aawf__pic {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.08);
	pointer-events: none;
	transition:
		opacity .9s ease,
		transform 1.6s cubic-bezier(.2, .6, .2, 1);
}

.aawf__pic.is-active {
	opacity: 1;
	transform: scale(1);
}

.aawf__count {
	position: absolute;
	left: 28px;
	bottom: 22px;
	z-index: 2;
	font-size: 15px;
	letter-spacing: .04em;
	color: #fff;
}

.aawf__count b {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: 0;
}

.aawf__count span {
	opacity: .75;
}

.aawf__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e6e8ef;
}

.aawf__item {
	position: relative;
	margin: 0;
	margin-left: 0 !important;
	border-bottom: 1px solid #e6e8ef;
}

.aawf__item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 2px;
	background: #D60F17;
}

.aawf.is-auto .aawf__item.is-active::after {
	animation: aawf-bar var(--aawf-dur) linear forwards;
}

@keyframes aawf-bar {
	from { width: 0; }
	to   { width: 100%; }
}

.aawf .aawf__btn {
	position: relative;
	display: grid;
	grid-template-columns: var(--aawf-num-w) 1fr var(--aawf-ico-w);
	column-gap: var(--aawf-gap);
	align-items: center;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 20px 4px;
	font: inherit;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	color: #8a90a6;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	transition:
		color .4s ease,
		padding-left .4s ease;
}

.aawf .aawf__btn::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #D60F17;
	border-radius: 50%;
	transform: scale(0);
	transition: transform .4s ease;
}

.aawf .aawf__btn:hover,
.aawf .aawf__btn:focus {
	color: #153365;
	background: none;
}

.aawf .aawf__btn:focus-visible {
	outline: 2px solid #D60F17;
	outline-offset: -2px;
}

.aawf__num {
	font-size: 18px;
	font-weight: 700;
	color: inherit;
}

.aawf__ttl {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

.aawf__ico {
	position: relative;
	width: var(--aawf-ico-w);
	height: var(--aawf-ico-w);
}

.aawf__ico::before,
.aawf__ico::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	background: currentColor;
	transition: transform .4s ease;
}

.aawf__ico::after {
	transform: rotate(90deg);
}

.aawf__item.is-active .aawf__btn {
	padding-left: var(--aawf-shift);
	color: #153365;
}

.aawf__item.is-active .aawf__btn::before {
	transform: scale(1);
}

.aawf__item.is-active .aawf__num,
.aawf__item.is-active .aawf__ico {
	color: #D60F17;
}

.aawf__item.is-active .aawf__ico::after {
	transform: rotate(0deg);
}

.aawf__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .6s cubic-bezier(.65, 0, .25, 1);
}

.aawf__item.is-active .aawf__panel {
	grid-template-rows: 1fr;
}

.aawf__inner {
	min-height: 0;
	overflow: hidden;
	padding: 0 0 0 calc(var(--aawf-indent) + var(--aawf-shift));  /* thẳng hàng với tiêu đề */
	opacity: 0;
	transition: opacity .4s ease;
}

.aawf__item.is-active .aawf__inner {
	padding-bottom: 22px;
	opacity: 1;
	transition: opacity .6s ease .25s;
}

.aawf__link {
	display: inline-block;
	padding-bottom: 2px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #153365;
	border-bottom: 1px solid currentColor;
	transition: color .3s ease;
}

.aawf__link:hover {
	color: #D60F17;
}


/* ===== */
.aawf__flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
	margin-top: 50px;
	padding: 20px 0;
	border-top: 1px solid #D60F17;
	border-bottom: 1px solid #D60F17;
}

.aawf__step {
	position: relative;
	padding: 6px 6px;
	font-size: clamp(15px, 1.50vw, 22px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-align: center;
	text-transform: uppercase;
	color: #153365;
	transition: color .3s ease;
}

.aawf__step:hover {
	color: #D60F17;
}

/* @media (max-width: 1099px) {
	.aawf__body {
		gap: 32px;
	}
} */

@media (max-width: 849px) {

	.aawf__body {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.aawf__stage {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.aawf__flow {
		margin-top: 40px;
	}

	.aawf__step {
		font-size: 14px;
		padding: 6px 10px;
	}
}

@media (max-width: 549px) {
	.aawf {
		--aawf-num-w: 26px;
		--aawf-ico-w: 14px;
		--aawf-gap:   14px;
	}

	.aawf .aawf__btn {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.aawf__num {
		font-size: 15px;
	}

	.aawf__ttl {
		font-size: 14px;
	}

	.aawf__count {
		left: 18px;
		bottom: 14px;
	}

	.aawf__count b {
		font-size: 26px;
	}

	.aawf__flow {
		grid-template-columns: 1fr 1fr;
		gap: 6px 0;
		padding: 16px 0;
	}

	.aawf__step {
		font-size: 14px;
		padding: 6px 8px;
	}

	.aawf__step + .aawf__step::before {
		display: none;
	}

	.aawf__step:last-child {
		grid-column: 1 / -1;
	}
}


@media (prefers-reduced-motion: reduce) {
	.aawf *,
	.aawf *::before,
	.aawf *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* BLOG - HOME  */

.blog-home .is-divider {
    background-color: #D60F17;
    display: block;
    height: 2px;
    max-width: 1500px;
    width: 100%;
}

.flickity-page-dots .dot {
    border: 3px solid #111;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 0 5px;
    opacity: .4;
    transition: opacity .3s;
    width: 12px;
}



































