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

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Fahkwang';
    src: url('assets/fonts/Fahkwang-Regular.eot');
    src: url('assets/fonts/Fahkwang-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Fahkwang-Regular.woff2') format('woff2'),
        url('assets/fonts/Fahkwang-Regular.woff') format('woff'),
        url('assets/fonts/Fahkwang-Regular.ttf') format('truetype'),
        url('assets/fonts/Fahkwang-Regular.svg#Fahkwang-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'UTM Edwardian';
    src: url('assets/fonts/UTMEdwardian.eot');
    src: url('assets/fonts/UTMEdwardian.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/UTMEdwardian.woff2') format('woff2'),
        url('assets/fonts/UTMEdwardian.woff') format('woff'),
        url('assets/fonts/UTMEdwardian.ttf') format('truetype'),
        url('assets/fonts/UTMEdwardian.svg#UTMEdwardian') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.owl-nav.disabled{display: none !important;}
.owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-prev {left: 0}
.owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-next {right: 0;}
.absolute-footer {display: none !important;}
.border-radius {
    border-radius: 36px;
    overflow: hidden;
}
body {
    font-size: 18px !important;
}
h1, h2, h3, .h1, .h2, .h3 {
    font-family: Fahkwang !important;
    letter-spacing: 2px;
}
h1, .h1 {font-size: 2em;}
h2, .h2 {font-size: 1.8em;}
h3, .h3 {font-size: 1.4em;}
.alt-font {
    font-family: "UTM Edwardian" !important;
}

/* Custom gap tag <gap height="XX" /> */
gap {
    display: block;
    width: 100%;
    height: 0;
}
.button, button, input[type=button], input[type=reset], input[type=submit] {font-weight: normal;}
.button.icon-arrow-right {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 2.5em;
}
.button.icon-arrow-right::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('/wp-content/uploads/2025/11/icon-arrow-right.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    transition: all 0.3s ease;
}
.button.icon-arrow-right:hover::before {
    transform: translateY(-50%) translateX(8px);
}
.row.align-right {
    flex-direction: row-reverse;
}
.service-item .banner {
    border: 1px solid var(--fs-color-primary);
    border-radius: 30px;
    overflow: hidden;
}
.service-child > .col-inner {
    background-color: #ede3f0;
    background-image: url(assets/images/bg-service-child.png);
    background-size: 190px;
    background-position: calc(100% + 15px) calc(100% + 15px);
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 20px 20px 0 20px;
}
.service-child h3 {
    font-size: 1.25em;
    letter-spacing: 0;
}
.home .service-item .text h3 {
    text-align: center;
}
.workshop-image {
    border: 1px solid var(--fs-color-primary);
    border-radius: 48px;
    overflow: hidden;
}
.section-partners .ux-logo {
    margin: 0 15px;
}

/* Newsletter Form Style */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wpcf7-form label {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--fs-color-primary) !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    width: 100%;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Remove default select arrow and date picker icon styling */
.wpcf7-form select {
    background-image: none !important;
}

.wpcf7-form select::-ms-expand {
    display: none;
}

/* Style for select dropdown arrow - custom if needed */
.wpcf7-form select {
    cursor: pointer;
}

.wpcf7-form input::placeholder {
    color: #000;
    opacity: 0.6;
}

.wpcf7-form label + input::placeholder {
    opacity: 0;
}

.wpcf7-form input:focus {
    border-bottom-width: 2px !important;
}

/* Submit wrapper */
.wpcf7-form .submit-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.wpcf7-form .submit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-image: url('/wp-content/uploads/2025/11/icon-arrow-right.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.wpcf7-form .submit-wrapper:hover .submit-icon {
    transform: translateX(8px);
}

.wpcf7-form .submit-wrapper input[type="submit"] {
    background: transparent !important;
    border: none !important;
    color: var(--fs-color-primary) !important;
    padding: 0;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
    width: auto;
    margin: 0;
    font-size: inherit;
    font-weight: normal;
}

.wpcf7-spinner {display: none !important;}

/* Header Main Navigation - Book now button and contact info */
.header-nav-main.nav-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.header-nav-main .html_topbar_left {
    color: var(--fs-color-secondary);
    font-size: 14px;
}

.header-nav-main .html_topbar_left i {
    color: var(--fs-color-secondary);
    margin-right: 5px;
}
.stuck .header-nav-main.nav-left {
    gap: 5px;
}
.stuck .button {
    min-height: 1.2em;
    line-height: 1.8em;
}
.section-services .section-bg :is(img,picture,video) {
    height: auto;
}
.nav-icon .icon-menu{color: var(--fs-color-secondary);}
.corevalue-number > *{
    font-size: 3em;
    line-height: 0.9em;
}
.page-title > *{
    font-family: "UTM Edwardian" !important;
    color: rgb(253, 233, 241);
    position: absolute;
    font-size: 18rem;
    line-height: 0.87em;
    text-align: left;
}

/* Accordion Styles */
.accordion-title {
    border-top: none !important;
    border-bottom: 1px solid var(--fs-color-primary) !important;
    color: var(--fs-color-primary) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 0;
    padding-right: 0;
}

.accordion-title .toggle {
    order: 2 !important;
    margin-left: 15px !important;
    margin-right: 0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.accordion-title .toggle i {
    display: none !important;
}

.accordion-title .toggle::before {
    content: "" !important;
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    background-image: url('/wp-content/uploads/2025/11/icon-arrow-right.svg') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: rotate(90deg) !important;
    transition: transform 0.3s ease !important;
}

.accordion-title.active .toggle::before,
.accordion-title[aria-expanded="true"] .toggle::before {
    transform: rotate(90deg) !important;
}

.accordion-title span {
    order: 1 !important;
    flex: 1 !important;
}

.blog-wrapper {
    padding: 0;
}

/* ============================================
   ARCHIVE BLOG STYLING - Match với giao diện mẫu
   ============================================ */

/* Featured Post Section - Background hồng nhạt - Full width */
.featured-post-section {
    background-color: #fde9f1 !important; /* Light pink background */
    padding: 80px 0;
    margin-bottom: 30px;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.featured-post-wrapper {
    background-color: transparent !important;
}

.featured-post-content {
    padding: 20px 0;
}

/* Featured Post Meta */
.featured-post-section .post-meta {
    color: #333 !important;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.featured-post-section .post-meta .post-date,
.featured-post-section .post-meta .post-category {
    color: #333 !important;
}

.featured-post-section .post-meta .post-separator {
    margin: 0 8px;
    color: #333 !important;
}

/* Featured Post Title */
.featured-post-title {
    margin-bottom: 20px;
}

/* Featured Post Excerpt */
.featured-post-excerpt p {
    color: #333 !important;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Featured Post Button */
.featured-post-button {
    background-color: #6A406A !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 0 24px;
    font-weight: normal;
    text-transform: none;
    display: inline-block;
}

.featured-post-button:hover {
    background-color: #5a305a !important;
}
/* ============================================
   Blog Posts Grid Section - 3 Columns
   ============================================ */

.blog-posts-section {
    padding: 60px 0;
    background-color: #fff !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Blog Post Cards - Rounded corners, background hồng nhạt cho text - Áp dụng cho tất cả box article */
.box-blog-post {
    background-color: #fff !important;
    border-radius: 20px !important;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

/* Post Image - Bo viền trên - Chiều cao bằng 60% chiều rộng */
.box-blog-post .box-image {
    margin-bottom: 0;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 60%; /* Chiều cao = 60% chiều rộng */
}

.box-blog-post .box-image img {
    border-radius: 20px 20px 0 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.box-blog-post .box-image:hover img {
    transform: scale(1.1);
}

/* Post Text Content - Background hồng nhạt */
.box-blog-post .box-text {
    background-color: #ede3f0 !important; /* Light pink background */
    padding: 25px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Post Meta */
.box-blog-post .box-text .post-meta {
    color: #333 !important;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.box-blog-post .box-text .post-meta .post-date,
.box-blog-post .box-text .post-meta .post-category {
    color: #333 !important;
}

.box-blog-post .box-text .post-meta .post-separator {
    margin: 0 8px;
    color: #333 !important;
}

/* Post Title */
.box-blog-post .post-title {
    margin-bottom: 15px;
}

.box-blog-post .post-title a {
    font-size: 1.3em;
    font-weight: bold;
}

/* Post Excerpt */
.box-blog-post .post-excerpt {
    margin-bottom: 20px;
    flex: 1;
}

.box-blog-post .post-excerpt p {
    color: #333 !important;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

/* Read More Link - Style giống .button.icon-arrow-right */
.box-text-footer {
    text-align: center;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 2.5em;
    color: #6A406A !important;
    text-decoration: none;
    font-weight: normal;
    margin-top: auto;
    transition: all 0.3s ease;
    min-height: 32px;
}

.read-more-link::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('/wp-content/uploads/2025/11/icon-arrow-right.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #5a305a !important;
}

.read-more-link:hover::before {
    transform: translateY(-50%) translateX(8px);
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .page-title > *{
        font-size: 10rem;
        line-height: 1.44em;
    }
    
    /* Mobile adjustments for archive */
    .featured-post-section {
        padding: 40px 15px;
        margin-bottom: 40px;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .blog-posts-section {
        padding: 40px 15px;
    }
    
    .box-blog-post {
        margin-bottom: 25px;
    }

}

/* ============================================
   SERVICE SINGLE PAGE STYLING
   ============================================ */
.service-wrapper {
    padding: 0;
}
/* Service Title Section */
.service-title-section {
    padding: 60px 0 40px;
    text-align: center;
}
/* Service Featured Section */
.service-featured-section {
    padding: 40px 0 60px;
}

.service-featured-image {
    margin-bottom: 0;
}

/* Video Play Button Overlay */
.video-play-button {
    position: relative;
    display: block;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-play-button:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Service Summary */
.service-summary {
    padding: 20px 0;
}

.summary-intro {
    font-style: italic;
    color: #666 !important;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

.summary-points {
    margin-top: 20px;
}

.summary-point {
    color: #333 !important;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 0;
}

.summary-point:last-child {
    margin-bottom: 0;
}

.summary-points-content {
    color: #333 !important;
    font-size: 1em;
    line-height: 1.8;
}

.service-excerpt {
    color: #333 !important;
    font-size: 1em;
    line-height: 1.8;
}

/* Service Description Section */
.service-description-section {
    padding: 40px 0 60px;
}

.service-content {
    color: #333 !important;
    font-size: 1em;
    line-height: 1.8;
}

.service-content p {
    margin-bottom: 20px;
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* Service CTA Section - Booking Form */
.service-cta {
    margin-top: 40px;
}

/* Service Archive Page */
.service-archive-wrapper {
    background-color: rgb(253, 233, 241);
    padding: 80px 0;
}

.service-archive-wrapper .gap-element {
    padding-top: 50px;
}

.service-archive-wrapper .service-item {
    margin-bottom: 0;
}

.service-archive-wrapper .banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.service-archive-wrapper .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-archive-wrapper .banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-archive-wrapper .banner-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-archive-wrapper .text {
    margin-bottom: 20px;
}


/* Related Services Section */
.related-services-section {
    background-color: #fde9f1 !important; /* Light pink background */
    padding: 80px 0;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
.header-nav .hotline > a{
    color: var(--fs-color-secondary);
}
.nav-sidebar .hotline {
    margin-bottom: 15px;
}
.nav-sidebar li>a {
    color: #333;
}
/* Responsive for Service */
@media only screen and (max-width: 48em) {
    .service-title {
        font-size: 1.8em;
    }
    
    .service-title-section {
        padding: 40px 0 30px;
    }
    
    .service-featured-section {
        padding: 30px 0 40px;
    }
    
    .service-description-section {
        padding: 30px 0 40px;
    }
    .corevalue-number {
        font-size: 3rem !important;
    }
    .accordion-inner {
        padding: 1em;
    }
}
@media (max-width: 549px) {
    .box-text {
        font-size: 100%;
    }
}