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

/*************** ADD CUSTOM CSS HERE.   ***************/
.nav-dropdown{
    border-radius:10px;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default li a {
    color: #b42e60;
}
.albumdiemden-container .readmore-btn-tr {
    padding: 5px;
}
.header-main .nav > li > a {
    line-height: 16px;
    padding: 5px 11px;
    line-height: 16px;
    padding: 5px 15px;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
}
.header-main .nav > li > a{
   line-height: 16px;
    padding: 5px 11px;
}
.nav-spacing-xlarge>li{
    margin: 0 0px;
}
.nav>li.html {
    font-size: 16px;
}
.tieudetour span {
    font-size: 14px;
    font-weight:bold;
}
.header:not(.transparent) .header-nav-main.nav > li > a{

}
header.header.transparent.has-transparent .header-main .nav > li > a {
       line-height: 16px;
    padding: 5px 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
}

header.header.transparent.has-transparent .header-main .nav > li.active > a {
border-radius: 999px;
background: none;
}

body header.header .header-button a, .sidebar-menu.no-scrollbar .header-button a {
    background-image: url(imgs/bg-btn-header.png);
    background-color: transparent !important;
    background-size: 100% 100%;
    border-radius: 0px !important;
    background-repeat: no-repeat;
    color: #A83468 !important;
    font-weight: 500;
    position: relative;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: none;
    padding: 0px 25px;
    border: none !important;
    max-width: 140px;
    text-align: center;
}
body header.header .header-button a span, .sidebar-menu.no-scrollbar .header-button a span{
     color: #A83468 !important;
}
header.header .header-button a:before, .sidebar-menu.no-scrollbar .header-button a:before {
    content: '';
    position: relative;
    background-image: url('imgs/phone-header.svg');
    display: block;
    width: 17px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
header.header.transparent.has-transparent img.header-logo-dark {
    display: block !important;
}
header.header.transparent.has-transparent img.header_logo.header-logo{
     display: none !important;
}
.header:not(.transparent) .header-nav-main.nav > li.active > a{
	color: #fff;
} 
header.header.transparent.has-transparent .header-main .nav > li > a > i:not(.icon-angle-down) {
    color: #ffff !important;
}
.chitiet_noidung h1 {
    font-size: 30px;
    color: #b30660;
    font-weight: 600;
}
.chitiet_noidung p#breadcrumbs {
    margin: 10px 0px;
}
.chitiet_noidung p#breadcrumbs a {
    color: #b30660;
}
/* ====== Variables (tùy chỉnh nhanh) ====== */
:root{
  --promo-red: #b30660;          /* màu header */
  --promo-text: #2b2b2b;
  --promo-muted: #e9eef3;        /* nền card */
  --promo-divider: #e6e8ec;      /* gạch phân cách */
  --promo-shadow: 0 10px 30px rgba(16,24,40,.08);
  --radius-xl: 18px;
  --radius-md: 10px;
}
.topbar_single {
    position: static;
    position: sticky;
    top: 24px;
    height: max-content;
    z-index: 5;
    top: 0;
}
/* ====== Card ====== */
.promo-card{
  max-width: 520px;              /* đổi theo layout */
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--promo-shadow);
  overflow: hidden;              /* để bo góc header */
}

/* Header đỏ bo tròn phía trên */
.promo-card__header{
  background: var(--promo-red);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  padding: 16px 20px;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

/* ====== List ====== */
.promo-list{
  list-style: none;
  margin: 0;
  padding: 0px 18px 18px;
}
.toc_list > li > a{
  color:#c21d5a;           /* đỏ */
  font-weight:700;
}
.promo-item{
  padding: 12px 0;
  border-bottom: 1px solid var(--promo-divider);
}
.promo-item:last-child{ border-bottom: 0; }

.promo-item > a{
  display: grid;
  grid-template-columns: 92px 1fr;   /* ảnh trái 92px */
  gap: 14px;
  align-items: center;
  text-decoration: none !important;
}

/* Ảnh thumb */
.promo-item__thumb{
  width: 92px;
  height: 62px;                     /* tỉ lệ gần giống hình mẫu */
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--promo-muted);
  box-shadow: 0 1px 2px rgba(0,0,0,.04) inset;
}
.promo-item__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

/* Tiêu đề */
.promo-item__title{
  margin: 0;
  color: var(--promo-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;            /* clamp 2 dòng */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover nhẹ */
.promo-item > a:hover .promo-item__thumb img{
  transform: scale(1.03);
}
.promo-item > a:hover .promo-item__title{
  text-decoration: none;
  text-underline-offset: 2px;
}
.other-news .news-heading{
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 18px;
}

.news-card{
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16,24,40,.10);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.news-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(16,24,40,.14);
}

.news-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-thumb{
  width: 100%;
  aspect-ratio: 16/9;           /* giữ tỉ lệ ảnh như mockup */
  overflow: hidden;
}
.news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-body{
  padding: 14px 18px 16px;
}
.news-title{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 12px;
  display: -webkit-box;         /* clamp 2 dòng */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-date{
  color: #6b7280;
  font-size: 14px;
}

/* bo góc mạnh như hình */
.news-card{
    border-radius: 0px 0px 10px 10px;
}
.news-thumb img{
  border-radius: 10px 10px 0px 0px;
}
.news-thumb{ border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* spacing cột Flatsome */
.other-news .row .col{ margin-bottom: 22px; }
.post-actions-bar{
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; padding:14px 0; border-top:1px solid #e5e7eb;
}

.btn-back{
  display:inline-flex; align-items:center; gap:8px;
  padding: 5px 10px; border-radius:999px; border:0;
  background:#f6f7f9; color:#111827; font-weight:600; cursor:pointer;
  box-shadow: 0 6px 18px rgba(16,24,40,.06) inset, 0 2px 10px rgba(16,24,40,.05);
  transition: background .2s ease, transform .1s ease;
}
.btn-back:hover{ background:#eef2ff; }
.btn-back:active{ transform: translateY(1px); }
.icon-arrow{ font-size:18px; line-height:1; }

.share-group{ display:flex; align-items:center; gap:12px; }
.share-label{ font-weight:600; }

.share-btn{
  width:46px; height:46px; border-radius:999px; background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  border:1px solid #eef0f3;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.share-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16,24,40,.14);
  background:#f8fafc;
}
.post-meta-bar{
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; margin:10px 0 24px;
  flex-wrap:wrap;
}
.post-meta-left{ display:flex; align-items:center; gap:12px; }
.author-avatar img{ border-radius:50%; }
.author-info{ display:flex; align-items:center; gap:8px; font-size:14px; color:#4b5563; }
.author-name{ font-weight:600; color:#111827; }
.author-name:hover{ text-decoration:none; }
.dot{ opacity:.5; }

.post-meta-right{ display:flex; gap:10px; align-items:center; }
.share-btn-meta{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:999px;
  background:#f3f4f6; color:#374151; border:1px solid #e5e7eb;
  transition:all .2s ease; position:relative;
}
.share-btn-meta:hover{ background:#eef2ff; color:#111827; border-color:#c7d2fe; }
.share-btn-meta.fb{ color:#1877f2; } .share-btn-meta.tw{ color:#000; }
.share-btn-meta.in{ color:#0a66c2; } .share-btn.zl{ color:#0a7cff; }
.social-icons-vertical {
  display: flex;          /* xếp theo hàng ngang */
  gap: 15px;              /* khoảng cách giữa các icon */
  justify-content: left; /* căn giữa */
  margin: 20px 0;
  
}

.social-icons-vertical a {
  font-size: 22px;
  color: #fff;
  background: #b42e60; /* màu nền xanh dương */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-menu-tr.icon_sine i {
    color: #b42e60;
}
.social-icons-vertical a:hover {
  background: #b42e60; /* Đổi màu khi hover */
  transform: scale(1.1);
}
@media (max-width: 549px){
  .post-meta-right{ width:100%; }
}

/* Responsive */
@media (max-width: 640px){
  .post-actions-bar{ flex-wrap:wrap; }
  .share-group{ margin-left:auto; }
}

/* Responsive tinh chỉnh */
@media (max-width: 549px){
  .news-title{ font-size: 14px; }
}
/* Responsive nhỏ hơn 380px* */


@media screen and (min-width: 1400px) {
    .header-inner.flex-row.container.logo-left.medium-logo-center {
        max-width: 1260px;
    }
}

@media only screen and (max-width: 48em) {
.swal2-html-container input, .swal2-html-container textarea { 
    margin-bottom: 0px !important;
}
button.swal2-close {
    border: none;
    font-size: 26px;
}
#top-bar .flex-col.hide-for-medium.flex-left{
          display: unset !important;  
    }
    .tieudetour span {
    font-size: 10px !important;
    font-weight: bold;
    text-align: center;
}
    .swal2-html-container .sw-row {
        grid-template-columns: 1fr 1fr !important;
    }
    h2#swal2-title {
    font-size: 22px!important;
    }
    .swal2-html-container .sw-field label { 
    font-size: 11px;
}
    input.flatpickr-input.flatpickr-mobile {
    padding: 10px 0px !important;
}

}