﻿@charset "UTF-8";

.health-care-detail{width:100%; float:left; padding-bottom:50px;}
@media (max-width:767px) {
    .health-care-detail{padding-bottom:6px;}
}
.head-page{width:100%; position:relative; float:left; margin-bottom:15px;}
.head-page .banner{width:100%; aspect-ratio:1/0.3; position:relative; display:flex; z-index:2; align-items:end}
.head-page .banner .caption{position:relative; z-index:2; width:450px; background:rgba(0,0,0,.3); margin-left:50px; border-radius:10px 10px 0 0; padding:30px 30px 35px 30px; backdrop-filter: blur(20px); color:#fff; -webkit-backdrop-filter: blur(20px); }
.head-page .banner .caption:after{content:''; width:calc(100% - 60px); height:5px; background:var(--color-blue); border-radius:5px 5px 0 0; position:absolute; bottom:0; left:30px;}
.head-page .banner .caption h1{font-weight:bold; font-size:23px; }
.head-page .banner .caption p{margin:0; font-weight:400; padding-top:10px; line-height:24px; font-size:15px;}
.head-page .banner .wrap-img{width:100%; height:100%; position:absolute; top:0; left:0;}
.head-page .banner .wrap-img img{width:inherit; height:inherit; object-fit:cover; border-radius:20px;}
.head-page .row-bottom{width:100%; float:left; display:flex; justify-content:space-between; align-items:center; position:relative; padding: 15px 20px; background:#fff; border-radius: 0 0 20px 20px; position:relative; z-index:1; box-shadow: 0 -20px #fff; }
.head-page .row-bottom .ratingSummary{width:100%; display:flex; align-items:center; flex-wrap:wrap; gap:0 20px;}
.head-page .row-bottom .ratingSummary .col-star{display:flex; justify-content:center; align-items:center; gap:5px}
.head-page .row-bottom .ratingSummary .col-star i{color:#ff9f00; font-size:20px;}
.head-page .row-bottom .ratingSummary .col-star span{font-size:16px; font-weight:bold}
.head-page .row-bottom .ratingSummary .col-total{display:flex; align-items:center; justify-content:center; gap:5px;}
.head-page .row-bottom .ratingSummary .col-total i{font-size:18px; width:100%; float:left; color:var(--color-blue);}
.head-page .row-bottom .ratingSummary .col-total span{font-size:14px; font-weight:bold; width:100%; white-space:nowrap; display:flex; gap:3px; }
.head-page .row-bottom .ratingSummary .col-total span:after{content:'lược đánh giá'; font-size:13px; font-weight:500; opacity:.75}
.head-page .row-bottom .nav-shareHealthCare{line-height:32px; position:relative; padding-left:40px; display:block; float:left; font-weight:500; margin-left:auto; white-space:nowrap; display:flex; align-items:center; gap:10px; color:var(--color) }
.head-page .row-bottom .nav-shareHealthCare:before{font-family: "Font Awesome 5";  font-weight: 400; content: "\f1e0"; font-size:16px;  background:#fff; text-align:center; color:var(--color-blue); }
.head-page .warning-note{display:none;}
@media (max-width:991px) {
    .head-page .banner{flex-direction:column; height:initial;}
    .head-page .banner .wrap-img{position:relative; height: 250px; z-index:2; margin-top:6px;}
    .head-page .banner .wrap-img img{border-radius:10px;}
    .head-page .banner .caption{width:100%; background:#fff; border-radius:0; color:var(--color); z-index:1; padding: 20px 20px; box-shadow: 0 -10px #fff;}
    .head-page .banner .caption:after{display:none;}
    .head-page .banner .caption h1{font-size:18px; margin:0;}
    .head-page .banner .caption p{font-size:14px; line-height:22px;}
    .head-page .row-bottom{border-radius:0 0 10px 10px}
    .head-page .row-bottom:before{content:''; width:calc(100% - 40px); height:1px; background:var(--color-border); display:block; position:absolute; top:0; left:20px;  }
    .head-page .warning-note{display:block;}
}

@media (min-width:992px) and (max-width:1199px) {
    .head-page .banner .caption{padding:20px 20px 25px 20px; width:400px;}
    .head-page .banner .caption h1{font-size:20px; margin-bottom:0;}
    .head-page .banner .caption p{font-size:14px; font-weight:400}
}

.body-page{width:100%; float:left; position:relative; display:grid; grid-template-columns:290px 1fr; gap:20px;}
.body-page .col-left{ display:flex; flex-direction:column; gap:15px;}
.body-page .col-right{ position:relative; display:flex; flex-direction:column; gap:15px;}
.body-page section{width:100%; position:relative; float:left; }
.body-page section .row-head{width:100%; height:50px; background:#fff; border-radius:7px; display:flex; align-items:center; justify-content:space-between; padding-left:15px; margin-bottom:10px;}
.body-page section .row-head:before{content: ''; width: 4px; height: 26px; background: var(--color-blue); border-radius: 0 4px 4px 0; position: absolute;  top: 11px; left: 0;}
.body-page section .row-head h2{margin:0; font-size:16px; font-weight:600;}
.body-page section .row-head .total{position:relative; display:flex; gap:4px; }
.body-page section .row-head .total:before{content: 'Tổng số:'; font-weight: normal; opacity: .75; color: var(--color); font-size: 13px;}
.body-page section .row-head .total b{font-weight:bold; color:var(--color-red)}
.body-page section .row-head .total span{font-weight: normal; opacity: .75; padding-right: 5px; color: var(--color);font-size: 13px;}
@media (max-width:991px) {
    .body-page{grid-template-columns:1fr; align-items: stretch!important; gap:15px;}
    .body-page .col-left .sticky-box{ display:flex; color:#fff; border-radius:10px; align-items:center; height:0px; padding: 0 0; opacity:0; visibility:hidden; pointer-events:none; transition:.3s; }
    .body-page .col-left .sticky-box.is-fixed{border-radius:0 0 10px 10px; box-shadow: 0 1px rgba(0,0,0,.05), 0 5px 20px rgba(0,0,0,.05);background:var(--color-blue); opacity:1; visibility:initial; pointer-events:inherit   }
}

@media (max-width:767px) {
    .body-page{gap:6px;}
    .body-page .col-right{gap:6px;}
}
@media (min-width:992px) {
    .body-page .col-left .sticky-box{gap:0; display:flex; flex-direction:column;}
    
}

/* menu catalog */
.health-jump{width:100%; float:left; position:relative; }
@media (max-width:991px) {
    .health-jump{position:absolute;top:0; display:flex; gap:10px; background:var(--color-blue); border-radius:0 0 10px 10px; padding: 0 20px; align-items:center }
    .health-jump:before{content:'Mục đang xem'; opacity:.85}
    .health-jump .nav-drop{display:flex; gap:10px; align-items:center; position:relative; z-index:3; line-height:50px; font-weight:500; color:#fff; margin-left:auto}
    .health-jump .nav-drop:after{font-family: "Font Awesome 5"; font-weight: 900; content: "\f107";}
    .health-jump .dropdown-menu{z-index:2; display:grid!important; grid-template-columns:repeat(3,1fr); gap:0 15px; width:100%; left:0!important; padding:10px 20px; top:100%!important; transform:initial!important; border:none; margin:10px 0 0 0; transition:.3s; border-radius: 10px 10px; box-shadow: 0 1px rgba(0,0,0,.03),0 5px 20px rgba(0,0,0,.1); opacity:0; visibility:hidden; pointer-events:none; transition:.3s; }
    .health-jump .dropdown-menu a{font-size:14px; font-weight:400; width:100%; display:block; padding: 6px 0;}
    .health-jump .dropdown-menu a.active{color:var(--color-blue)}
    .health-jump.show .dropdown-menu{opacity:1; visibility:initial; pointer-events:initial; margin-top:0;}
    
}
@media (max-width:767px) {
    .health-jump .dropdown-menu{grid-template-columns:repeat(2,1fr);}
}

@media (min-width:992px) {
    .area-catalog{margin-top:15px; position:relative; z-index:2;}
    .health-jump{background:#fff; padding:20px; border-radius:10px;  }
    .health-jump .nav-drop{display: block;  padding-bottom: 10px; border-bottom: 1px solid var(--color-border); margin-bottom: 15px; position: relative; font-weight: 600; font-size:16px; position:relative; pointer-events:none}
    .health-jump .nav-drop:before{content: ''; width: 12px;  height: 12px; background: #fff; transform: rotate(45deg); display: block; position: absolute; left: 20px; bottom: -6px;border-bottom: 1px solid var(--color-border);border-right: 1px solid var(--color-border);}
    .health-jump .dropdown-menu{position:relative!important; top:0!important; display:block; transform:initial!important; border:none; display:flex; flex-direction:column; margin:0; padding:0;}
    .health-jump .dropdown-menu a{text-decoration: none; color: #000; font-size: 15px; position: relative; padding: 6px 20px 6px 25px; display: block; font-weight: 500; transition:.3s;}
    .health-jump .dropdown-menu a:before{content: ''; width: 12px; height: 12px; margin-top: -7px; border: 3px solid rgba(0, 0, 0, .15); border-radius: 0px; display: block; position: absolute; top: 50%; left: 0; transition:.3s;}
    .health-jump .dropdown-menu a.active{color:var(--color-blue); font-weight:600;}
    .health-jump .dropdown-menu a.active:before{border-color:var(--color-blue)}
}

/* Thông tin cảnh báo */
.warning-note{width:100%;background: linear-gradient(90deg, var(--color-red) 0, #ea580c 100%); border-radius:10px; padding:15px 20px; color:#fff; margin-top:15px; width:100%; float:left;}
@media (max-width:767px) {
    .warning-note{font-size:13px; padding:7px 10px; margin-top:6px;}
}

/* Nội dung tham khảo */
.health-overview{}
.health-overview .health-reading{border-radius:10px; padding:20px; background:#fff; position:relative; overflow:hidden;}


/* Danh sách sản phẩm */
ul.list-products{width:100%; margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:10px;}
ul.list-products li{background:#fff; border-radius:10px;}

@media (max-width:767px) {
    .body-page section .row-head{margin-bottom:6px;}
    ul.list-products{grid-template-columns:repeat(2,1fr); gap:6px;}
}
@media (min-width:768px) and (max-width:991px) {
    ul.list-products{grid-template-columns:repeat(3,1fr);}
}

@media (min-width:992px) and (max-width:1199px) {
    ul.list-products{grid-template-columns:repeat(3,1fr);}
}

@media (min-width:1200px) and (max-width:1439px) {
    ul.list-products{grid-template-columns:repeat(4,1fr);}
}

/* Danh sách video */
ul.list-video{width:100%; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; list-style:none; margin:0; padding:0;}
ul.list-video li{position:relative; background:#fff; border-radius:10px; overflow:hidden; z-index:1;}
ul.list-video li iframe{width:100%; aspect-ratio:16/9; border:none; border-radius:10px;}
ul.list-video li .caption{width:100%; float:left; position:relative; padding: 15px 20px; display:flex; flex-direction:column; gap:7px;} 
ul.list-video li .caption h3{font-size:15px; font-weight:600; margin:0;}
ul.list-video li .caption p{opacity:.75}
ul.list-video li .caption a{font-size:13px; font-weight:500; color:var(--color) ; display:flex; align-items:center; gap:5px; transition:.3s;}
ul.list-video li .caption a:hover{color:var(--color-red)}
ul.list-video li .caption a:before{font-family: "Font Awesome 5 Brands"; font-weight: 400; content: "\f167"; font-size:16px; color:var(--color-red)}
ul.list-video li .caption a:after{font-family: "Font Awesome 5"; font-weight: 400; content: "\f35d"; font-size:10px; opacity:.75; color:var(--color)}
@media (max-width:767px) {
    ul.list-video{grid-template-columns:repeat(1,1fr); gap:6px;}
}

/* Danh sách bài viết */
ul.list-news{width:100%; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; list-style:none; margin:0; padding:0;}
ul.list-news li{position:relative; background:#fff; border-radius:10px; overflow:hidden; padding:15px; z-index:1;}
ul.list-news li .nav-image{width:100%; aspect-ratio:1/0.7; border-radius:7px; display:block; overflow:hidden}
ul.list-news li .nav-image img{width:100%; height:100%; object-fit:cover;}
ul.list-news li .caption{width:100%; position:relative; padding-top:15px; gap:7px; display:flex; flex-direction:column}
ul.list-news li .caption h3{font-size:15px; font-weight:500; margin:0;}
ul.list-news li .caption h3 a{color:var(--color); transition:.3s;}
ul.list-news li .caption h3 a:hover{color:var(--color-blue)}
ul.list-news li .caption p{opacity:.75}
ul.list-news li .caption a.nav-more{font-size:13px; color:var(--color) ; display:flex; align-items:center; gap:10px; transition:.3s;}
ul.list-news li .caption a.nav-more:hover{color:var(--color-blue)}
ul.list-news li .caption a.nav-more:after{font-family: "Font Awesome 5"; font-weight: 400; content: "\f30b"; font-size: 14px; padding-top:2px;}
@media (max-width:767px) {
    ul.list-news{grid-template-columns:repeat(2,1fr); gap:6px;}
    ul.list-news li{padding:6px;}
}
@media (min-width:992px) and (max-width:1199px) {
    ul.list-news{grid-template-columns:repeat(2,1fr);}
}

/* Modal */
.myModal-right .modal-header{padding-bottom:15px;}
.myModal-right .modal-header .nav-close{top:10px; right:5px;}
.myModal-right .modal-header .modal-title{padding: 13px 0!important; font-weight:600!important; display:flex; align-items:center; gap:8px;}
.myModal-right .modal-content .modal-body{background:var(--color-bg); padding: 15px 20px}
.myModal-right .modal-dialog { position: fixed;  top: 0px;  right: 0;  bottom: 0px; margin: 0; width: 450px; max-width: 100%!important;  height: 100%; background:#fff; padding: 0 6px 6px 6px}
.myModal-right .modal-content {height: 100%;border-radius: 0; border: none; background:none}
.myModal-right .modal-body { overflow:hidden; overflow-y: auto; border-radius:7px;}
.myModal-right.fade .modal-dialog { transform: translate3d(100%, 0, 0); transition: transform 0.3s ease-out;}
.myModal-right.show .modal-dialog { transform: translate3d(0, 0, 0);}

#myModal-healthArticle .modal-header .modal-title:before{content:"\f0fa"; background:var(--color-green); color:#fff; font-family: "Font Awesome 5"; font-weight: 900; font-size:16px; width:32px; height:32px; line-height:30px; color:#fff;  text-align:center; border-radius:50%;}
#myModal-healthWarning .modal-header .modal-title:before{content:"\f071"; background:var(--color-red); color:#fff; font-family: "Font Awesome 5"; font-weight: 900; font-size:16px; width:32px; height:32px; line-height:30px; color:#fff;  text-align:center; border-radius:50%;}

@media (min-width:768px) {
    .myModal-right .modal-dialog{height: calc(100% - 20px); top:10px; bottom:10px; right:10px; border-radius:10px; overflow:hidden;}
}


/* Modal chia sẽ bài */
.modal-shareHealthCare .modal-content{ max-width:380px}
.modal-shareHealthCare .modal-content span{font-size:13px; opacity:.7}
.modal-shareHealthCare .modal-content .share-product{clear:both; padding: 10px 0 0 0; width:100%; float:left;}
.modal-shareHealthCare .modal-content .share-product span{float:left; line-height:36px; font-size:15px; padding-right:15px; font-weight:500;}
.modal-shareHealthCare .modal-content .share-product a{width:36px; height:36px; display:flex; align-items:center; justify-content:center;  font-size:16px; color:#fff; float:left; margin-right:10px; text-decoration:none; border-radius:5px; box-shadow:inset 0 0 rgba(0,0,0,0); transition:.3s; }
.modal-shareHealthCare .modal-content .share-product a:hover{box-shadow:inset 0 36px rgba(0,0,0,.2) } 
.modal-shareHealthCare .modal-content .share-product a.navFacebook{background:#1873eb}
.modal-shareHealthCare .modal-content .share-product a.navTwitter{background:#1c9cea}
.modal-shareHealthCare .modal-content .share-product a.navTelegram{background:#32afed}
.modal-shareHealthCare .modal-content .share-product a.navWhatsapp{background:#00ba3a}
.modal-shareHealthCare .modal-content .share-product a.navPinterest{background:#e60023}
.modal-shareHealthCare .modal-content .head-copy{width:100%; float:left; margin-top:15px;}
.modal-shareHealthCare .modal-content .head-copy i{float:right; font-style:normal; font-size:13px; color:var(--color-green)}
.modal-shareHealthCare .modal-content .nav-copyURL{width:100%; background:var(--color-bg); border-radius:7px; line-height: 42px; height:42px; padding: 0 50px 0 10px; color:rgba(0,0,0,.75); display:block; float:left; margin: 5px 0 20px 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; position:relative;}
.modal-shareHealthCare .modal-content .nav-copyURL:after{content:'Copy'; text-transform:uppercase; position:absolute; top:0; right:10px; color:var(--color-blue); font-size:11px; font-weight:bold; line-height:43px; }

/* Flexible topic sections: one reading column, responsive related content. */
.health-care-detail section{scroll-margin-top:24px}
.health-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.health-content-card{min-width:0;background:#fff;padding:18px;border-radius:10px;overflow-wrap:anywhere}
.health-content-card h3{font-size:17px;line-height:1.5;margin:12px 0}
.health-content-card p{line-height:1.7}
.health-content-card iframe{display:block;border:0;width:100%;aspect-ratio:16/9;border-radius:8px}
@media(max-width:767px){.health-content-grid{grid-template-columns:1fr}.health-reading{padding:16px}.health-care-detail .row-head{height:auto!important;min-height:50px;gap:10px;padding:12px 15px}.health-care-detail .row-head h2{line-height:1.5}}

#health-related .health-related-card{display:flex;flex-direction:column;padding:0;border:1px solid #e8edf2;overflow:hidden}
#health-related .health-related-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#f4f6f8}
#health-related .health-related-image img{display:block;width:100%;height:100%;object-fit:cover}
#health-related .health-related-copy{padding:18px;display:flex;flex-direction:column;flex:1}
#health-related .health-related-copy h3{margin:0 0 10px}
#health-related .health-related-copy h3 a{color:inherit}
#health-related .health-related-copy>a{color:var(--color-blue);margin-top:auto}
#health-related .health-related-copy p:empty{display:none}

.health-overview > .nav-fulldetail{position:static;display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #dce4ed;border-radius:6px;background:#fff;color:#1267e8;cursor:pointer}

