/*
Theme Name: Flastsome Child
Theme URI: https://example.com/
Description: Child theme for the Flatsome theme
Author: Your Name
Author URI: https://example.com/
Template: flatsome
Version: 1.0.0
*/

h1, h1 strong {
	font-size: clamp(25px, 7vw, 45px) !important;
	color: var(--primary-color);
	font-weight: 600;
}

h2, h2 strong{
	font-size: clamp(22px, 6vw, 40px) !important;
	color: var(--primary-color);
	font-weight: 600;
}

h3, h3 strong {
	font-size: clamp(20px, 5vw, 30px) !important;
	font-weight: 600;
}


h4, h4 strong {
	font-size: clamp(18px, 5vw, 22px) !important;
	font-weight: 600;
}


h5, h5 strong {
	font-size: clamp(14px, 4vw, 16px) !important;
	color: var(--primary-color);
	font-weight: 600;
}

h6, h6 strong {
	font-size: clamp(14px, 4vw, 16px) !important;
	color: var(--primary-color);
	font-weight: 600;
}

body{
	font-size: clamp(14px, 4vw, 16px);
}


.topbar-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.topbar-track {
  display: inline-flex;
  gap: 60px;
  will-change: transform;
}

.topbar-track span {
  font-size: 14px;
  color: #fff;
}


#top-bar>.flex-row {
	max-width: 100%;
}
 
#top-bar>.flex-row>.flex-col {
	width: 100%;
}


#top-bar {
	background-image: radial-gradient(circle at center center, #e53762 20%, #6050d8 100%);
}

#masthead .header-inner .header-nav {
	justify-content: center;
}

.header-button .button {
	padding: 5px 20px;
}

/* Wrapper */
.partner-dropdown {
	position: relative;
	display: inline-block;
}

/* Button */
.partner-btn {
	color: var(--primary-color);
	border: none;
	padding: 12px 38px 12px 18px;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	line-height: 1;
}

/* Font Awesome arrow down */
.partner-btn::after {
	content: "\f107"; /* fa-caret-down */
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: .6rem;
	transition: transform 0.3s ease;
}

/* Dropdown */
.partner-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 260px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 999;
}

/* Item */
.partner-menu a {
	position: relative;
	display: block;
	padding: 14px 20px 14px 50px;
	color: #333;
	font-size: 1rem;
	text-decoration: none;
}

.partner-menu a::before {
	content: "\f2dc";
	font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: var(--primary-color);
}

.partner-menu a:hover {
	background: #f6f6f6;
}

.partner-dropdown:hover .partner-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.partner-dropdown:hover .partner-btn::after {
	transform: translateY(-50%) rotate(180deg);
}


#wide-nav .flex-row .nav {
	justify-content: space-between;
}

#wide-nav .nav>li>a {
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
}

#wide-nav .flex-row .flex-col {
	width: 100%;
}

.html_topbar_right {
	padding: 2px !important;
	background: #fff;
}

.post-item .col-inner,
.post-item .box{
	border-radius: 20px;
}

.post-item .box .box-image {
	border-radius: 20px 20px 0 0;
}

.post-item .box .box-text .post-title a,
.post-item .box .from_the_blog_excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;   /* số dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-item .box .box-text-inner .is-divider {
	background: #fff;
}

.service-homepage .col-service-homepage .col-inner .row{
	padding: 30px;
}
.col-service-homepage>.col-inner {
	border-radius: 10px;
}
.col-4-homepages>.col-inner {
	height: 100%;
	border-radius: 10px;
	background-color: var(--primary-color);
	padding: 30px;
}

.massage-heading {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	height: 100%;
}

.col-4-homepages .text {
	height: 100%;
}

.col-4-homepages h3 {
	color: #fff;
}

.btn-massage br {
	display: none;
}

.btn-massage {
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	justify-content: center;
	border: 3px solid #fff;
	padding: 5px 20px;
	border-radius: 50px;
	font-size: 1.1rem;
	margin-bottom: 0;
	position: relative;
  	overflow: hidden; 
	margin-right: 0;
	color: #fff;
}

.massage-heading p {
	display: flex;
	justify-content: center;
	margin-bottom: 0;
}

.btn-massage::before {
	content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: clip-path .35s cubic-bezier(.21, .6, .35, 1);
    clip-path: polygon(0 0, 0.1% 0, 0.1% 100%, 0 100%);
}
.btn-massage:hover::before {
 clip-path: polygon(0 0, 150% 0, 100% 100%, 0 100%);
}

.service-homepage .slider-nav-light .flickity-page-dots .dot.is-selected {
	background: var(--primary-color);
	opacity: 1;
}

.massage-experiences .img-inner {
	border-radius: 10px;
}

.list-check-homepage .col-inner.box-shadow-1 {
	padding: 20px;
	border-radius: 20px;
	height: 100%;
	background: #fff;
}

.submit-homepage .row{
	background: var(--primary-color);
	padding: 50px;
	border-radius: 10px;
}

.submit-homepage .row .col .text-right p{
	display: flex;
    justify-content: flex-end;
    align-items: center;
}
.submit-homepage .row .col {
	padding-bottom: 0;
}
.submit-homepage h3,
.submit-homepage p{
	margin-bottom: 0;
	color: #fff;
}
.submit-homepage  .btn-massage {
	color: #fff;
}

.customers-homepage .icon-box {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
}

.customers-homepage .icon-box  .testimonial-text {
	line-height: 2;
	font-style: normal;
}

.customers-homepage .icon-box .testimonial-name {
	color: var(--primary-color);
}
.slider-nav-light .flickity-page-dots .dot.is-selected {
	background-color: var(--primary-color);
}
.slider-nav-light .flickity-page-dots .dot {
	border-color: var(--primary-color);
}

@media (max-width: 545px){
	.massage-heading h3{
		display: flex;
		justify-content: center;
	}
	#top-bar {
		display: none;
	}
	.post-item .col-inner, .post-item .box  {
		border-radius: 10px;
	}
	.post-item .box .box-image {
		border-radius: 10px 10px 0 0;
	}
	.news-homepage .row-small>.col {
		padding: 0 3.8px 19.6px;
	}
}

.flickity-page-dots {
	bottom: 0px;
}

#footer {
	border-top: 5px solid var(--primary-color);
}

.price-tables .box .box-image {
	border-radius: 20px;
}

.price-tables .post-item .box {
    display: flex;
}

@media (max-width: 545px){
	.price-tables .post-item .box .box-image {
		border-radius: 10px 0 0 10px;
	}
	.submit-homepage .row  {
		padding: 15px;
	}
	.btn-massage {
		font-size: 1rem;
	}
	.btn-massage {
		padding: 2px 15px;
		margin-top: 20px;
	}
	.submit-homepage .row .col .text-right p{
		display: flex;
		justify-content: center;
	}
	.submit-homepage .row {
		border-radius: 0;
	}
}

#masthead li.current-dropdown>.nav-dropdown {
	left: 0;
}

#masthead .nav-dropdown.nav-dropdown-default>li>a {
	margin: 0;
	font-size: clamp(14px, 4vw, 16px);
}
#masthead  .menu-item .sub-menu li {
	padding: 10px 20px;
	border-bottom: 1px solid #FFFFFF0F !important;
}

.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before,
.nav-dropdown-has-arrow li.has-dropdown:after{
	display: none;
}

.nav-dropdown-has-border .nav-dropdown {
	border: 2px solid var(--primary-color);
}

.contact-pages p br{
	display: none;
}

.contact-line {
	display: flex;
	align-items: center;   /* căn giữa theo chiều dọc */
	gap: 8px;              /* khoảng cách icon – chữ */
	margin-bottom: 6px;
}

.contact-line i {
	min-width: 18px;       /* giúp icon thẳng cột */
	text-align: center;
	color: var(--primary-color);
	font-size: 14px;
}


.contact-form-page .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100% !important;
    padding: 25px 20px !important;
    border-radius: 50px !important;
    border: 1px solid var(--primary-color) !important;
    color: #000 !important;
}

.contact-form-page .wpcf7-form-control.wpcf7-textarea {
    width: 100% !important;
    border-radius: 15px !important;
    border: 1px solid var(--primary-color) !important;
    color: #000 !important;
}

.contact-form-page .wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    line-height: 1 !important;
    background: var(--primary-color);
    padding: 15px !important;
    border-radius: 50px !important;
}


.abm-related-inner {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}

.abm-related-inner .abm-related-thumb {
    flex: 0 0 30%;
    max-width: 30%;
	margin-right: 10px;
}

.abm-related-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;   
  overflow: hidden;      
}

.abm-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;     
  display: block;
	border-radius: 5px;
}

.abm-related-item-title a {
	display: -webkit-box;        
	-webkit-box-orient: vertical; 
	-webkit-line-clamp: 2;        
	line-clamp: 2;                
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;  
}

.abm-related-date {
	font-size: 14px;
}
.abm-related-item-title {
	margin-bottom: 0;
}

#block-2 .abm-related-list .col {
	padding: 0 15px 0px;
}

.article-inner p {
	text-align: justify;
}

#respond {
	display: none;
}

@media (max-width: 849px){
	#masthead .header-inner{
		background: var(--primary-color);
	}
	#logo a img {
		filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(7488%) hue-rotate(242deg) brightness(107%) contrast(101%);
	}
	.mobile-nav  .header-button .button {
		padding: 0px;
		background: #fff;
	}
	.mobile-nav  .header-button .button i {
		color: var(--primary-color);
	}
}


#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}
#button-contact-vr .button-contact .phone-vr {
    height: 65px;
    width: 60px;
    bottom: 50%;
    left: -25%;
}

#gom-all-in-one .button-contact {
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
}
#button-contact-vr {
    transform: scale(1);
}
#button-contact-vr {
    border-radius: 10px;
    padding-bottom: 0px;
    border: none;
}
#button-contact-vr {
    border: 2px solid var(--primary-color);
    padding-bottom: 20px;
    border-radius: 50px;
}
#button-contact-vr {
    left: 10px;
    bottom: 15%;
}
#button-contact-vr {
    position: fixed;
    bottom: 0;
    z-index: 99999;
}

#button-contact-vr {
    border-radius: 10px;
    padding-bottom: 0px;
    border: none;
}

.phone-vr-circle-fill {
	display: none;
}

#gom-all-in-one{
	padding-bottom: 15px;
}



.sub-menu.nav-dropdown.nav-dropdown-default{
  display:block;
}

.nav li> .sub-menu.nav-dropdown.nav-dropdown-default{
  max-height:320px;
  overflow-y:auto;
  overflow-x:hidden;
}

.nav-dropdown.nav-dropdown-default>li>a {
	border-bottom: 1px solid var(--primary-color);
}
.box-text .button {
    margin-top: 0;
}
.col-inner ul li {
	margin-left: 0;
}