/*
Theme Name: Medin Child Theme
Theme URI: http://www.portotheme.com/wordpress/medin/
Author: p-themes
Author URI:   https://themeforest.net/user/p-themes/
Template: medin
Description: This is a child theme for Medin.
Version: 1.6.0
Text Domain: medin-child
*/

/*  [ Add your custom CSS below ]
================================ */

ul.numbered-list-lg li:before {
    top: 2px !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
p,
label,
div {
    font-family: "Montserrat", sans-serif !important;
}

.header-nav .nav-item > .nav-link,
.header-logo__wrapper .bloginfo_name {
    font-family: "Montserrat", sans-serif !important;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .modal-left {
        display: none;
    }

    .modal-right {
        width: 100% !important;
    }

    .reviews-photo {
        height: 100% !important;
    }
}

.text-detail {
    padding: 10px;
    text-align: center;
    color: white;
}

.text-danger {
    color: red;
    font-size: 0.8rem;
}

#mainSlider .slide .img--holder {
    filter: brightness(0.6);
}

/* .layout_dentco .block-bg__patient-info {
    background-image: url("https://chinhnhabsmien.vn/wp-content/uploads/2025/05/Cau-hoi-thuong-gap-scaled.jpg") !important;
    background-size: cover
} */

.layout_dentco .block-bg__patient-info {
    background-image: url("https://chinhnhabsmien.vn/wp-content/uploads/2025/11/anh.jpg") !important;
    background-size: contain
}

.reviews-photo {
    height: 40vw;
}

.reviews-photo img {
    height: 100%;
}

.row.col-equalH {
    margin-top: 10px !important;
}

.video-container {
    width: 100vw;
    height: auto;
    object-fit: cover;
}

.vc_column_container>.vc_column-inner {
    padding-right: 0px !important;
}

.column-filters .side-block li,
.woocommerce-MyAccount-navigation li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.column-filters .side-block li::before,
.woocommerce-MyAccount-navigation li::before {
    content: ">";
    font-size: 1rem;
    position: absolute;
    left: 0px;
    top: 0px;
}

.column-filters .side-block li::marker {
    content: "";
}

.column-filters .side-block .children {
    margin: 0px;
    margin-top: 10px;
}

.filter-select {
    height: 40px;
    width: 100%;
    padding: 0 40px 0 15px;
    font-size: 14px;
    color: #a9a9a9;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background-color: transparent;
    font-weight: 400;
}

.twentytwenty-horizontal .twentytwenty-before-label:before {
    content: "TRƯỚC";
}

.twentytwenty-horizontal .twentytwenty-after-label:before {
    content: "SAU";
}

@media (min-width: 1230px) {
    .container {
        max-width: 95% !important;
    }
}

.ch_nav_thumb {
    border-radius: 10px;
    height: 300px;
    width: 100% !important;
    object-fit: scale-down;
    background: black;
}

.post-navigation .nav-next {
    width: 100% !important;
}

.post-navigation .nav-previous {
    width: 100% !important;
}

.ch_nav_descr {
    margin-left: 0px !important;
}

.post-navigation .nav-links {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

span.vc_icon_element-icon.fa.fa-search:before {
    content: "\f002";
    /* Mã Unicode của icon search trong Font Awesome */
    font-family: "FontAwesome";
    /* Đảm bảo dùng đúng font */
    font-style: normal;
    font-weight: normal;
    speak: none;
}

span.vc_icon_element-icon.fa.fa-search {
    width: 300px;
    font-size: 1rem !important;
}

.vc_btn3.vc_btn3-color-juicy-pink,
.vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat {
    background-color: #5472d2 !important;
}

/* Common styles */
.ladi-transition {
    transition: all 150ms linear 0s;
}

.ladi-element {
    position: absolute;
}

.ladi-container {
    position: relative;
    margin: 0 auto;
    height: 100%;
}

/* Section styles */
.ladi-section {
    margin: 0 auto;
    position: relative;
}

.ladi-section .ladi-section-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Paragraph styles */
.ladi-paragraph {
    width: 100%;
    display: inline-block;
    word-break: break-word;
}

/* Image styles */
.ladi-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ladi-image .ladi-image-background {
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    background-attachment: scroll;
    background-origin: content-box;
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Button styles */
.ladi-button {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ladi-button .ladi-button-background {
    height: 100%;
    width: 100%;
    pointer-events: none;
    transition: inherit;
}

.ladi-button>.ladi-button-headline {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: table;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ladi-button>.ladi-button-headline .ladi-headline {
    display: table-cell;
    vertical-align: middle;
}

/* Headline styles */
.ladi-headline {
    width: 100%;
    display: inline-block;
    word-break: break-word;
    background-size: cover;
    background-position: center center;
}

.ladi-lazyload {
    opacity: 0;
    transition: opacity 0.3s;
}

.ladi-lazyload:not(.ladi-lazyload) {
    opacity: 1;
}

.ladi-wraper {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    touch-action: manipulation;
}


/* Blog Post Styling */
.chinhnha-blog-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.chinhnha-main-content {
    width: 100%;
    padding-right: 20px;
}

.chinhnha-post-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.chinhnha-post-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    background-color: #1e76bd05;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1e76bd4a;
}

/* Sidebar Styling */
.chinhnha-sidebar {
    width: 100%;
    padding-left: 20px;
}

.chinhnha-sidebar h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.chinhnha-related-post {
    padding: 10px;
    border: 1px solid;
    padding: 10px;
    box-shadow: 5px 5px #88888847;
    border-radius: 5px;
    margin-bottom: 60px;
}

.chinhnha-related-post a {
    text-decoration: none;
    color: #007bff;
    font-size: 1rem;
}

.chinhnha-related-post a:hover {
    color: #0056b3;
}

.text-bg-primary {
    background: #7367f0;
    font-size: 1rem !important;
    color: white;
    padding: 5px 10px !important;
}
.text-bg-secondary {
    background: cadetblue;
    font-size: 1rem !important;
    color: white;
    padding: 5px 10px !important;
}
/* Desktop View */
@media (min-width: 768px) {
    .chinhnha-main-content {
        width: 100% !important;
    }

    .chinhnha-sidebar {
        width: 100% !important;
        margin-top: 30px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .chinhnha-main-content {
        padding-right: 0;
    }

    .chinhnha-sidebar {
        padding-left: 0;
        margin-top: 20px;
    }
}