/* Section Vita blog */
.vita-blog {
    text-align: center;
    padding-top: 100px;
}

.vita-blog h1 {
    font-family: 'Playfair Display', serif;
    font-size: 68px;
    font-weight: 400;
    line-height: 74px;
    letter-spacing: -2px;
    color: #0C4242;
    margin-bottom: 50px;
    min-height: 74px;
}

.vita-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 17px;
}

.menu-btn {
    min-width: 205px;
    max-width: 205px;
    height: 50px;
    background-color: #AFBEBB;
    border: none;
    border-radius: 30px;
    margin: 0 5px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;  
    transition: background 0.3s, color 0.3s;
}

.menu-btn.active {
    background-color: #0C4242;
}

/* section bodycare headerpage */

/* section bodycare category list DESKTOP*/
.treatment-container {
    display: flex;
    justify-content: space-between;
}

.treatment-card {
    text-align: center;
    transition: all 0.3s ease;
}

.treatment-border {
    padding: 6px;
    border-radius: 50%;
    transition: border 0.3s ease;
}

.treatment-image {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.treatment-title {
    margin-top: 14px;
}

.treatment-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: transparent;
    border-radius: 50%;
    z-index: 1;
}

.treatment-card:hover {
    cursor: pointer;
}

.treatment-card.active .treatment-title {
    color: #708E86;
}


.treatment-card.active .treatment-image::before {
    background-color: rgba(112, 142, 134, 0.6);
}

.treatment-card.active .treatment-border {
    border: 1px solid #AFBEBB;
}

.treatment-card:hover .treatment-title {
    color: #0C4242;
}


.treatment-card:hover .treatment-image::before {
    background-color: rgba(112, 142, 134, 0.6);
}

.treatment-card:hover .treatment-border {
    border: 1px solid #AFBEBB;
}

#treatment-carousel .owl-nav {
    position: absolute;
    top: 41%;
    left: 50%;
    right: 0;
    width: 127.3%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#treatment-carousel .owl-prev,
#treatment-carousel .owl-next {
    width: 50px;
    height: 50px;
    background-color: #EFF6F4;
    color: #0C4242;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

#treatment-carousel .owl-prev:hover,
#treatment-carousel .owl-next:hover {
    cursor: pointer;
}

#treatment-carousel .owl-nav.disabled {
    display: none !important;
}

.owl-theme .owl-dots .owl-dot span {
    width: 15px !important;
    height: 15px !important;
}

.owl-theme .owl-dots {
    margin-top: 50px;
}

.owl-dot span {
    background: #AFBEBB !important;
}


.owl-dot.active span {
    background: #0C4242 !important;
}



/* pagination custom */
.custom-dots {
    display: flex;
    justify-content: center;
}

.custom-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #AFBEBB;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-dot.active {
    background: #0C4242;
}

.btn-nav {
    width: 50px;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    border-radius: 50%;
    background-color: #EFF6F4;
}

.btn-nav img {
    vertical-align: initial;
}

@media (max-width: 991px) {
    .treatment-card:hover .treatment-image::before {
        background-color: none;
    }

    .treatment-card:hover .treatment-border {
        border: none;
    }

    /* <!-- section bodycare category list --> */
    .treatment-border {
        padding: 3px
    }

    .treatment-mb-container {
        padding: 0px 12px;
        padding-top: 50px;
        background-color: #EFF6F4;
    }

    .treatment-title {
        margin-top: 8.9px;
    }

    #treatment-carousel .owl-nav,
    .owl-theme .owl-dots {
        display: none;
    }

    .treatment-card {
        width: 80px;
        flex: 0 0 auto;
    }

    .owl-carousel .owl-item {
        width: 320px;
    }
}

/* @media (max-width: 1440px) {
    .treatment-image {
        border-radius: 0px;
        width: 20%;
    }

    .owl-carousel.owl-drag .owl-item {
        width: 170px !important;
    }

} */

/* Điều chỉnh chiều rộng tối đa của carousel */
@media (max-width: 1440px) {
    #treatment-carousel .owl-nav {
        position: absolute;
        top: 31%;
        left: 50%;
        right: 0;
        width: 111.3%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }
}

@media (max-width: 1280px) {
    #treatment-carousel .owl-nav {
        display: none;
    }
}


/* section articles list DESKTOP blog  */
.article-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    row-gap: 150px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 540px;
    max-width: 410px;
}

.article-image img {
    width: 100%;
    border-radius: 8px;
}

.article-title {
    font-family: 'Helvetica Neue Medium';
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: #7F7F7F;
    margin: 35px 0 15px;
}

.article-link {
    font-family: 'Helvetica Neue';
    font-size: 16px;
    color: #708E86;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
}

/* pagination custom desktop  */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    gap: 12px;
}

.pagination .nav {
    width: 50px;
    height: 50px;
    border: none;
    background: #EFF6F4;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-decoration: none;
}

.pagination .nav img {
    display: block;
    max-width: none;
}

.pagination .dot {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b0c5c2;
    border-radius: 50%;
    color: #EFF6F4;
    text-decoration: none;
    font-size: 24px;
    cursor: pointer;
}

.pagination .nav:last-of-type {
    margin-left: 67px;
}

.pagination .nav:last-of-type:hover {
    background: rgba(12, 66, 66, 0.2);
}

.pagination .nav:first-of-type {
    margin-right: 67px;
}

.pagination .nav:first-of-type:hover {
    background: rgba(12, 66, 66, 0.2);
}


.pagination .dot.active {
    background: #0C4242;
}

ul.record-list {
    display: none;
}

ul.pagination {
    display: none;
}

/* pagination mobile */
.pagination-mobile-number {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.pagination-mobile-number a,
.pagination-mobile-number span {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #0A463A;
  text-decoration: none;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pagination-mobile-number a.active {
  background: #0A463A;
  color: #fff;

}

.pagination-mobile-number a.nav {
  background: #fff;
  color: #0A463A;
  font-size: 22px;
  box-shadow: 0 2px 6px #00000010;
  border: none;
}

.pagination-mobile-number span {
  background: transparent;
  color: #BCC8C3;
  font-size: 18px;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  border: none;
}

.pagination-mobile-number a:hover:not(.active):not(.nav) {
  background: #e7f3ee;
}

.pagination-mobile-number a.nav[disabled] {
  opacity: 0.5;
  cursor: default;
}

@media (max-width: 576px) {
  .pagination-mobile-number {
    gap: 5px;
  }
  .pagination-mobile-number a,
  .pagination-mobile-number span {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}


/* section slide video desktop */
#video-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    width: 123.9%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#video-carousel .item-video {
    margin: 0 auto;
    height: 500px;
}

.item-video lite-youtube{
    border-radius:20px
}

#video-carousel .owl-video-wrapper {
    border-radius: 20px;
}

#video-carousel .owl-prev,
#video-carousel .owl-next {
    width: 50px;
    height: 50px;
    background-color: #EFF6F4;
    color: #0C4242;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

#video-carousel .owl-prev:hover,
#video-carousel .owl-next:hover {
    cursor: pointer;
}

/* section dịch vụ liên quan  */
.related-services {
    padding: 60px 0;
}

.related-services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: #0C4242;
    text-align: left;
    margin-bottom: 40px;
}

.services-slider {
    position: relative;
}

.services-wrapper {
    display: flex;
    gap: 26px;
}

.service-card {
    min-height: 540px;
    max-width: 410px;
    text-align: left;
}

.service-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.service-card h3 {
    font-family: 'Helvetica Neue medium', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 45px;
    color: #7F7F7F;
    line-height: 1.3;
}

.service-card-link{
    text-decoration: none;
}

.more-link {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #708E86;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #EFF6F4;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
}

.slider-nav.prev {
    left: -137px;
}

.slider-nav.next {
    right: -137px;
}

.icon-small {
    width: 24px;
    height: 15px;
    object-fit: contain;
}

/* css mobile page blog */ 
/* section first mobile */
.vita-blog-mobile {
    text-align: center;
    padding-top: 50px;
}

.vita-blog-mobile h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: -1px;
    color: #0C4242;
    margin-bottom: 30px;
}

.menu-btn-mobile {
    max-width: 205px;
    min-height: 50px;
    width: 100%;
    height: 100%;
    background-color: #AFBEBB;
    border: none;
    border-radius: 30px;
    margin: 0 5px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: dotted;
}

.menu-btn-mobile.active {
    background-color: #0C4242;
}

.vita-menu-mobile {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    margin: 0 36px;
    
}

.vita-menu-mobile a {
    text-decoration: none;

}

.vita-menu-mobile .menu-btn {
    max-width: 135px;
    height: 35px;
    border: none;
    border-radius: 30px;
    background-color: #FFFFFF;
    color: #0C4242;
    font-weight: bold;
    font-size: 14px;
    margin: 0;

}

.vita-menu-mobile .menu-btn.active {
    background-color: #0C4242;
    color: #FFFFFF;
}

/* section articles list DESKTOP blog  */

.article-container-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-card-mobile {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-height: 157px;
}

.article-image-mobile img {
    max-width: 157px;
    height: 157px;
    display: block;
}

.article-content-mobile {
    flex: 1;
    padding: 10px 20px 10px 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title-mobile {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 18px;
    color: #0C4242;
    font-weight: 300;
    line-height: 26px;
    margin-bottom: 10px;
}

.article-link-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #0C4242;
    font-weight: bold;
    font-size: 12px;
    height: 30px;
}

.pagination-mobile {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-height: 52px;
    background: #0C4242;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 31px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.btn-more img {
    width: 17px;
    height: 20px;
    display: block;
}



.article-content-mobile a img.icon-small {
    width: 24px;
    height: 15px;
    object-fit: contain;
}

/* video mobile */
.video-carousel-mb-wrapper {
    max-width: 265px;
    margin: 0 auto;
}

#video-carousel-mb .item-video {
    width: 265px;
    height: 470px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

#video-carousel-mb .item-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Nav */
#video-carousel-mb .owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 170px);
    left: -85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    pointer-events: none;
}

#video-carousel-mb .owl-nav button {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

#video-carousel-mb .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 911px) {
    #video-carousel-mb .owl-nav {
        width: calc(100% + 170px);
        left: -85px;
    }

    #video-carousel-mb .owl-nav button {
        width: 28px;
        height: 28px;
    }
}


/* section dich vụ liên quan mobile */
.related-services-mb {
    text-align: center;
    padding: 30px 0;
}

.related-services-mb h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -2px;
    margin-bottom: 30px;
    color: #0C4242;
}

.related-services-mb .owl-item {
    display: flex;
    justify-content: center;
}

.related-services-mb .service-card {
    border-radius: 12px;
    overflow: hidden;
    max-width: 338px;
}

.service-img-no-margin {
    border-radius: 25px;
    max-width: 338px;
    max-height: 338px;
    margin-bottom: 15px;
}

.related-services-mb .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #0C4242;
    margin: 10px 0;
}

.related-services-mb .more-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #0a5345;
    font-size: 16px;
    margin: 20px 0;
    gap:230px
}

.more-link img {
    margin: 0;
}

.related-services-mb .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-225%);
    pointer-events: none;
}

.related-services-mb .owl-nav button {
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    pointer-events: auto;
}