:root {
    --blue-dark: #0047ca;
}


body {
    font-family: Arial, sans-serif;
}

:focus {
    outline: none
}



.bg-blue {
    background-color: var(--blue-dark);
}

.border-blue {
    border-color: var(--blue-dark);
}

header {
    position: relative;
}

header:before {
    content: "";
    background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMBAMAAABRpcpkAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMGAhQQCyEd++8AAAAUSURBVAjXY1AAQgMgdABCCBAAQQAT6AFRBPHcWgAAAABJRU5ErkJggg==);
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -1px;
    z-index: 1;
}

#navbar {
    white-space: nowrap
}

#navbar ul.dropdown-menu {
    padding: 0;
    border-radius: 0;
    box-shadow: unset;
}

#navbar .dropdown-menu>li a.nav-link:hover,
#navbar .dropdown-menu>li.show {
    color: #fff;
    background-color: #4db2ec;
}

#navbar .dropdown-menu>li a.nav-link {
    color: var(--bs-den-mo);
    padding: 10px 15px;
}

.dropdown-menu .dropdown .dropdown-menu {
    left: 100%;
    top: 0%;
    margin: 0;
    padding: 0 20px;
}

.dropdown-menu .dropdown .dropdown-menu.left {
    right: 100%;
    left: auto;
}

.custom-muc-luc {
    padding: 10px 10px 0;
    border: 1px solid #fd6c2b;
    border-radius: 10px;
    margin-bottom: 20px
}

.custom-muc-luc p:first-child {
    text-align: justify;
    color: #2a4d9f !important;
    font-weight: 700
}

.custom-muc-luc ul.noi-dung-chinh a:hover {
    color: #fd6c2b
}

.custom-muc-luc ul.noi-dung-chinh {
    list-style: none
}

.custom-muc-luc ul.noi-dung-chinh li {
    text-align: justify
}

.custom-muc-luc ul.noi-dung-chinh li::before {
    content: "◆";
    color: #fd6c2b;
    display: inline-block;
    width: 1.5em;
    margin-left: -1em
}

.custom-muc-luc ul.noi-dung-chinh a {
    color: #010101;
    font-size: 16px
}

.custom-muc-luc ul.noi-dung-chinh>li>ul.noi-dung-chinh li a {
    margin-left: 0
}

.custom-muc-luc ul.noi-dung-chinh>li>ul.noi-dung-chinh {
    padding-inline-start: 10px
}

.custom-muc-luc ul.noi-dung-chinh>li>ul.noi-dung-chinh li::before {
    content: ""
}

.news-body h3 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-align: justify;
    font-size: 20px;
    color: #2a4d9f;
    text-transform: uppercase
}

.news-body h3:before {
    position: absolute;
    content: "";
    width: 46px;
    height: 10px;
    opacity: .6;
    left: 0;
    background: #ffcbb4;
    z-index: -1
}

.news-body h3 a,
h3 a:hover {
    color: #2a4d9f !important
}

span.rsStar {
    display: inline-block;
    margin-left: 10px;
    background: #fff;
    position: relative;
    color: #e5451b;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: .8em;
    border-radius: 2px;
}

span.rsStar:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(82, 184, 88, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}

.avatar-comment {
    width: 23px;
    height: 23px;
}

.tagclouds small {
    font-size: 13px
}

.title-footer {
    color: #fff;
    text-transform: uppercase;
    background: var(--bs-primary);
    border-radius: 0 15px;
    text-align: center;
    font-weight: bold;
}

.news-body a {
    color: #3f76d8;
}

.news-body>p:nth-child(1)>img:nth-child(1),
.news-body>p:nth-child(2)>img:nth-child(1) {
    aspect-ratio: 2/1;
}

.news-body table.table-post-custom p {
    margin-bottom: 0
}

.i-footer {
    font-size: .8em;
    width: 1.4em;
    text-align: center;
    line-height: 1.4em;
    border-radius: .7em;
    color: #fff;
    background: var(--bs-primary);
}

.news-body h5 {
    color: #004ea4
}

table * {
    margin-bottom: 0
}

.custom-quote {
    border: 1px solid #fd6c2b;
    padding: 15px;
    border-radius: 10px;
    margin: 25px 0;
    quotes: "\201C" "\201D"
}

.custom-quote:before {
    color: #fd6c2b;
    content: open-quote;
    font-size: 4em;
    margin-left: -15px;
    background: #fff;
    line-height: 0
}

.custom-quote>p:first-child {
    margin-top: -2em
}

.table-post-custom tr td {
    border: 2px solid #fff;
    min-width: 50px;
    padding: 10px;
    text-align: justify
}

.bang-xanh tr:nth-child(odd) {
    background: #a9d0ff
}

.bang-xanh tr:nth-child(even) {
    background: #e5f0ff
}

.bang-xanh tr:nth-child(1) {
    background: #004ea4
}

.bang-cam tr:nth-child(odd) {
    background: #ffc28b
}

.bang-cam tr:nth-child(even) {
    background: #ffe7d4
}

.bang-cam tr:first-child {
    background: #f97c26
}

.call-mobile {
    width: 70%
}



.block-title span {
    display: inline-block;
    color: #222;
    font-weight: 700;
    font-size: 20px;
    line-height: 37px;
}

.td-module-thumb {
    position: relative;
}

.td-module-thumb a:last-child:before {
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: background-color .3s ease;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .7) 100%)
}

.widget-module {
    position: relative
}

.td-module-meta-info {
    position: absolute;
    bottom: 0;
    padding: 0 17px;
    margin-bottom: 17px;
    z-index: 1
}

.td-module-meta-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0
}

.td-module-meta-info h3>a,
.td-module-meta-info h3>a:hover {
    color: #fff;
}

.box-orient {
    -webkit-box-orient: vertical;
}

.animation-shake-horizontal {
    animation: shake-horizontal 7s;
    animation-iteration-count: infinite
}

@keyframes shake-horizontal {
    2% {
        transform: translate(3px, 0) rotate(0)
    }

    4% {
        transform: translate(1px, 0) rotate(0)
    }

    6% {
        transform: translate(4px, 0) rotate(0)
    }

    8% {
        transform: translate(-2px, 0) rotate(0)
    }

    10% {
        transform: translate(9px, 0) rotate(0)
    }

    12% {
        transform: translate(0, 0) rotate(0)
    }

    14% {
        transform: translate(-8px, 0) rotate(0)
    }

    16% {
        transform: translate(-7px, 0) rotate(0)
    }

    18% {
        transform: translate(1px, 0) rotate(0)
    }

    20% {
        transform: translate(-5px, 0) rotate(0)
    }

    22% {
        transform: translate(-2px, 0) rotate(0)
    }

    24% {
        transform: translate(-5px, 0) rotate(0)
    }

    26% {
        transform: translate(-1px, 0) rotate(0)
    }

    28% {
        transform: translate(3px, 0) rotate(0)
    }

    30% {
        transform: translate(-7px, 0) rotate(0)
    }

    32% {
        transform: translate(-8px, 0) rotate(0)
    }

    34% {
        transform: translate(4px, 0) rotate(0)
    }

    36% {
        transform: translate(8px, 0) rotate(0)
    }

    38% {
        transform: translate(-5px, 0) rotate(0)
    }

    40% {
        transform: translate(-6px, 0) rotate(0)
    }

    42% {
        transform: translate(7px, 0) rotate(0)
    }

    44% {
        transform: translate(1px, 0) rotate(0)
    }

    46% {
        transform: translate(3px, 0) rotate(0)
    }

    48% {
        transform: translate(10px, 0) rotate(0)
    }

    50% {
        transform: translate(1px, 0) rotate(0)
    }

    52% {
        transform: translate(3px, 0) rotate(0)
    }

    54% {
        transform: translate(-9px, 0) rotate(0)
    }

    56% {
        transform: translate(-8px, 0) rotate(0)
    }

    58% {
        transform: translate(7px, 0) rotate(0)
    }

    60% {
        transform: translate(2px, 0) rotate(0)
    }

    62% {
        transform: translate(-6px, 0) rotate(0)
    }

    64% {
        transform: translate(-9px, 0) rotate(0)
    }

    66% {
        transform: translate(-2px, 0) rotate(0)
    }

    68% {
        transform: translate(4px, 0) rotate(0)
    }

    70% {
        transform: translate(8px, 0) rotate(0)
    }

    72% {
        transform: translate(2px, 0) rotate(0)
    }

    74% {
        transform: translate(6px, 0) rotate(0)
    }

    76% {
        transform: translate(-4px, 0) rotate(0)
    }

    78% {
        transform: translate(4px, 0) rotate(0)
    }

    80% {
        transform: translate(9px, 0) rotate(0)
    }

    82% {
        transform: translate(6px, 0) rotate(0)
    }

    84% {
        transform: translate(-6px, 0) rotate(0)
    }

    86% {
        transform: translate(5px, 0) rotate(0)
    }

    88% {
        transform: translate(5px, 0) rotate(0)
    }

    90% {
        transform: translate(-4px, 0) rotate(0)
    }

    92% {
        transform: translate(0, 0) rotate(0)
    }

    94% {
        transform: translate(-6px, 0) rotate(0)
    }

    96% {
        transform: translate(6px, 0) rotate(0)
    }

    98% {
        transform: translate(10px, 0) rotate(0)
    }

    0%,
    100% {
        transform: translate(0, 0) rotate(0)
    }
}

.contactBarPhone {
    z-index: 999
}

.contactBarPhone .phone {
    animation: phone-shake .5s;
    animation-iteration-count: infinite;
}

.custom-scollbar {
    max-height: 300px;
    overflow: auto;
    direction: rtl;
}

.custom-scollbar::-webkit-scrollbar {
    width: 10px;
}

.custom-scollbar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

.custom-scollbar::-webkit-scrollbar-thumb {
    background: var(--bs-gray);
    border-radius: 10px;
}

.custom-scollbar * {
    direction: ltr;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.zalo-chat-widget {
    bottom: 490px !important;
    right: unset !important;
    left: 20px !important;
}

#bdcomment p {
    white-space: pre-line;
}

.list-01 {
    list-style-image: url(/images/icons/list-01.png);
}

.list-02 {
    list-style: none;
}

.list-02 li:before {
    content: "";
    border-color: transparent #006eff;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    left: -1.5em;
    top: 1em;
    z-index: -1;
    position: relative;
}

.list-02 li a {
    font-weight: bold;
    color: var(--bs-dark)
}

.list-02 li a:hover {
    color: #006eff;
}

@keyframes phone-shake {
    0% {
        transform: translate(1px, 1px) rotate(325deg)
    }

    10% {
        transform: translate(-1px, -2px) rotate(324deg)
    }

    20% {
        transform: translate(-3px, 0) rotate(326deg)
    }

    30% {
        transform: translate(3px, 2px) rotate(325deg)
    }

    40% {
        transform: translate(1px, -1px) rotate(326deg)
    }

    50% {
        transform: translate(-1px, 2px) rotate(324deg)
    }

    60% {
        transform: translate(-3px, 1px) rotate(325deg)
    }

    70% {
        transform: translate(3px, 1px) rotate(324deg)
    }

    80% {
        transform: translate(-1px, -1px) rotate(326deg)
    }

    90% {
        transform: translate(1px, 2px) rotate(325deg)
    }

    100% {
        transform: translate(1px, -2px) rotate(324deg)
    }
}

@media only screen and (max-width: 992px) {
    #btn-back-to-top {
        display: none !important
    }

    .zalo-chat-widget {
        display: none
    }

    .grid-scroll {
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0;
        overflow-y: hidden;
        z-index: 0;
        -webkit-overflow-scrolling: touch;
        transform: translate3d(0, 0, 0);
        display: inline-block;
    }

    .grid-scroll .td-module-meta-info h3 {
        white-space: normal
    }
}

@media only screen and (max-width: 767px) {
    #fb-root {
        display: none
    }

    table.dataTable {
        width: 100% !important;
        font-size: 11px !important;
        table-layout: auto;
    }

    table.dataTable thead th,
    table.dataTable thead td {
        padding: 5px 10px !important;
    }
}

.banner {
    position: relative;
    display: inline-block;
    width: 100%;
}

.banner img {
    width: 100%;
    /* hoặc giá trị cụ thể như 500px */
    max-height: 500px;
    /* để chiều cao tự động theo tỷ lệ, hoặc giá trị cụ thể như 300px */
    display: block;
}

.banner .contact-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    /* nền trắng gần như đặc */
    color: #d32f2f;
    /* đỏ nổi bật, có thể đổi xanh #1976d2 */
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* đổ bóng cho nổi */
}
.promo-offer{
  position: absolute;
  left: 24px;               /* đặt góc trái-trên để không đè lên box liên hệ bên phải */
  top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;

  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  color: #fff;
  font-weight: 600;
  line-height: 1.35;

  box-shadow: 0 10px 28px rgba(0,0,0,.20);
  z-index: 3;

  /* hiệu ứng nhẹ để nổi bật */
  animation: promoGlow 2.5s ease-in-out infinite;
}

/* Icon quà tặng */
.promo-icon{
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

/* Tiêu đề nhỏ dạng “nhãn” */
.promo-title{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .95;
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

/* Nội dung mô tả */
.promo-desc{
  display: block;
  font-size: 15px;          /* đủ lớn để đọc rõ */
}

/* Hiệu ứng phát sáng dịu */
@keyframes promoGlow{
  0%,100%{ box-shadow: 0 10px 28px rgba(221,36,118,.35); }
  50%   { box-shadow: 0 12px 36px rgba(221,36,118,.55); }
}

/* Responsive – Mobile & iPhone XR */
@media (max-width: 992px){
  .promo-offer{
    left: 12px; right: 12px; top: 12px;    /* kéo ra giữa theo chiều ngang */
    max-width: none;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .promo-icon{ font-size: 20px; }
  .promo-desc{ font-size: 14px; }
}

@media (max-width: 576px){
  .promo-desc{ font-size: 13.5px; }
}

.footer {
    padding: 20px 0;
    background-color: #262626;
}

.footer-section {
    width: 22%;
    display: inline-block;
    vertical-align: top;
    margin-right: 2%;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-title {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.2em;
    border-bottom: 2px solid #0074d9;
    padding-bottom: 5px;
    background-color: #f8f9fa; /* nền xám rất nhạt */
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
    color: #fff;
}

.footer-section li a {
    color: #fff;
    text-decoration: none;
}

.footer-section li a:hover {
    text-decoration: underline;
}

.footer-section li:last-child {
    margin-bottom: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.news-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}


.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 6px;
    color: #000;
}

.news-excerpt {
    font-size: 14px;
    color: #444;
    margin: 0;
}

.checkmark {
    color: green;
    font-weight: bold;
    margin-right: 5px;
}

.price-amount {
    color: #d00000;
    font-weight: bold;
    font-size: 18px;
}

.article-title {
    font-weight: bold;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    margin-bottom: 0px;
}

/* Áp dụng cho mỗi item */
.cottrai .row.g-0.pb-2 {
    border-bottom: 1px solid #ddd;
    /* đường kẻ */
    padding-bottom: 10px;
    /* khoảng cách dưới */
    margin-bottom: 10px;
    /* khoảng cách giữa các item */
}

/* Bỏ đường kẻ dưới cùng */
.cottrai .row.g-0.pb-2:last-child {
    border-bottom: none;
}

/* Style cho ảnh */
.cottrai img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Style tiêu đề */
.cottrai .article-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.cottrai .article-title a {
    text-decoration: none;
    color: #000;
}

.cottrai .article-title a:hover {
    color: #007bff;
    /* đổi màu khi hover */
}

:root {
    --blue: #1e5fbf;
    --line: #e7eef6;
}

.side-box {
    border: 1px solid var(--line);
    border-radius: .25rem;
    overflow: hidden;
    background: #fff;
    margin-bottom: 1rem
}

.side-head {
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: .6rem .9rem;
    font-size: .9rem
}

.side-list .list-group-item {
    border: 0;
    border-top: 1px solid var(--line);
    padding: .55rem .9rem
}

.side-list .list-group-item a {
    color: #1f2937;
    text-decoration: none;
    font-size: .925rem
}

.side-list .list-group-item a:hover {
    color: var(--blue)
}

.task-table thead th {
    background: #f3f7ff;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .3px
}

.task-table td,
.task-table th {
    border-bottom: 1px solid var(--line) !important
}

.stt-col {
    width: 70px;
    text-align: center;
    color: #6c757d
}

.article-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #111
}

.article-content p {
    margin: 0
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin: 1.2rem 0 .6rem;
    font-weight: 700
}

.article-content a {
    color: #0d6efd;
    text-decoration: underline
}

.article-content img {
    display: block;
    width: 100% !important;
    height: 500px !important;
    object-fit: contain;
    /* Cắt cho vừa khung nếu cần */
}

/* Bảng */
.article-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 1rem 0
}

.article-content table th,
.article-content table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.article-content table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* Nếu muốn bảng có thanh cuộn trên mobile */
.article-content {
    overflow-x: auto;
}

.service-price,
.service-desc {
    margin: 0;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.floating-contact {
    position: fixed;
    left: 18px;
    /* vị trí bên trái */
    bottom: 60px;
    /* cách đáy */
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

/* Base button */
.fc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    line-height: 1;
}

/* Zalo (tròn) */
.fc-zalo {
    width: 54px;
    height: 54px;
    background: #0a7cff;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(10, 124, 255, .25);
    position: relative;
    overflow: visible;
}

.fc-zalo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Phone (viên thuốc) */
.fc-call {
    background: #e53935;
    border-radius: 28px;
    padding: 8px 14px 8px 8px;
    box-shadow: 0 12px 20px rgba(229, 57, 53, .22);
    position: relative;
    overflow: visible;
}

.fc-call .fc-icon {
    width: 38px;
    height: 38px;
    background: #d32f2f;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15);
}

.fc-call .fc-text {
    padding: 0 2px 0 2px;
    font-size: 15px;
    white-space: nowrap;
}

/* Ripple ring */
.fc-ripple {
    position: absolute;
    left: 4px;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 70%);
    animation: fc-ping 1.6s ease-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes fc-ping {
    0% {
        transform: translateY(-50%) scale(.8);
        opacity: .9;
    }

    70% {
        transform: translateY(-50%) scale(1.4);
        opacity: .2;
    }

    100% {
        transform: translateY(-50%) scale(1.6);
        opacity: 0;
    }
}

/* Hover states */
.fc-zalo:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.fc-call:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.footer {
    background-color: #111;
    /* màu nền */
    color: #fff;
    padding: 30px 0;
    font-size: 14px;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .footer-section {
    flex: 1;
    min-width: 200px;
    /* giữ độ rộng hợp lý trên desktop */
}

.footer .footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 4px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.block-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 8px;
    color: #0066cc;
    /* Màu chữ */
    padding-left: 0px !important;
    border-bottom: 1px solid #e0e0e0;
}

/* Gạch nhấn bên dưới */
.block-title::after {
    content: "";
    position: absolute;
    left: 0;
    /* Nếu muốn căn giữa thì đổi thành 50% và transform */
    bottom: 0;
    width: 50px;
    /* Độ dài gạch */
    height: 3px;
    /* Độ dày gạch */
    background-color: #0066cc;
    /* Màu gạch nhấn */
    border-radius: 2px;
}

.news-list.tu-van-doanh-nghiep .news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.news-item img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.news-list.tu-van-doanh-nghiep .news-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}

.news-list.tu-van-doanh-nghiep .news-excerpt {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Mặc định ảnh full chiều ngang, không méo */
.dichvu-congty img {
    width: 100%;
    height: 400px;
    display: block;
}

/* Tô đậm title, cỡ chữ gọn gàng */
.navbar .nav-link {
    letter-spacing: .3px;
}

/* Dropdown width & shadow nhẹ */
.dropdown-menu {
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    border-radius: .5rem;
}

.service-card {
    border: 1px solid #eee;
    padding: 8px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 4px;
}

.service-card.large img {
    max-height: 250px;
}

.service-card.small img {
    max-height: 150px;
}

.article-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4em;
    color: #333;
}

.service-price {
    font-size: 14px;
    color: #555;
}

.price-amount {
    color: #d00;
    font-weight: bold;
}

.checkmark {
    color: green;
    margin-right: 4px;
}
:root{
      --text:#1f2937;
      --muted:#6b7280;
      --border:#e5e7eb;
      --primary:#0d6efd;
      --bg:#ffffff;
    }


.contact {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
    margin: 20px 0;
}

/* LEFT */
.info h1 {
    margin: 0 0 12px;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 800;
}

.info p {
    margin: 0 0 14px;
}

.info strong {
    font-weight: 800;
}

.hotline {
    margin: 18px 0;
    font-weight: 800;
}

.company {
    margin-top: 22px;
}

.company h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

.company p {
    margin: 6px 0;
}

.link {
    color: #2563eb;
    text-decoration: none
}

.link:hover {
    text-decoration: underline
}

/* RIGHT (form) */
.form card {
    display: block
}

.form form {
    display: block
}

label {
    display: block;
    font-weight: 600;
    margin: 8px 0 6px;
}

.req::after {
    content: " *";
    color: #dc2626;
    font-weight: 700;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    outline: none;
    font: inherit;
    background: #fff;
}

input:focus,
textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15)
}

textarea {
    resize: vertical;
    min-height: 160px
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mb-2 {
    margin-bottom: 12px
}

.mb-3 {
    margin-bottom: 16px
}

.btn {
    display: inline-block;
    border: 0;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(.95)
}

.note {
    color: var(--muted);
    font-size: 14px
}

/* Responsive */
@media (max-width: 900px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 520px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
.post-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    margin: .5rem 0 1.25rem;
    background: #f7f9fc;
    border: 1px solid #e9eef5;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
}

/* Icon đồng hồ nhỏ */
.post-meta .meta-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
    flex: 0 0 auto;
}

/* Mỗi cụm nhãn + giá trị */
.post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

/* Dấu phân tách giữa 2 mục */
.post-meta .meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    display: inline-block;
}

/* Nhãn mờ nhẹ */
.post-meta .meta-label {
    color: #64748b;
}

/* Badge “đã cập nhật” */
.post-meta .meta-badge {
    margin-left: .35rem;
    padding: .1rem .4rem;
    border-radius: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    background: #ecfeff;
    color: #0891b2;
    border: 1px solid #a5f3fc;
}
.post-date {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 13px;           /* nhỏ hơn tiêu đề */
    color: #64748b;            /* xám nhạt */
    margin-top: .25rem;
}

/* icon đồng hồ nhỏ trước ngày */
.post-date::before {
    content: "\f017";          /* Font Awesome clock icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    color: #9ca3af;
}

/* Top bar */
.top-bar{
  background:#f8f9fa;
  color:#1f2937;
  padding:8px 0;
  font-size:15px;
  font-weight:500;
  line-height:1.6;
}
.topbar-icon{ color:#0d6efd; font-size:18px; margin-right:.5rem; flex:0 0 auto; }
.contact-info .ci-item{
  display:flex; align-items:flex-start; gap:.5rem;
  margin:2px 0;    /* sát mà không dính */
}
.contact-info a{ color:#1f2937; text-decoration:none; }
.contact-info a:hover{ color:#0d6efd; }
.topbar-search .form-control{ min-width:220px; }  /* desktop */

/* ≥992px (desktop): giữ 1 hàng, căn 2 đầu */
@media (min-width: 992px){
  .topbar-wrap{ display:flex; justify-content:space-between; align-items:center; }
  .contact-info{ display:flex; gap:1.25rem; }
  .contact-info .ci-item{ margin:0; } /* bỏ margin dọc */
}

/* 576–991px (tablet): chia 2 cột */
@media (min-width:576px) and (max-width:991.98px){
  .topbar-wrap{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:.5rem 1rem; }
  .contact-info{ display:grid; grid-template-columns:1fr 1fr; gap:.25rem 1rem; }
  .topbar-search .form-control{ min-width:200px; }
}

/* ≤575px (mobile): xếp dọc + search full width */
@media (max-width:575.98px){
  .top-bar{
    background:#ffffff;        /* nền trắng tinh cho giống card */
    border-radius:8px;         /* bo góc */
    box-shadow:0 2px 6px rgba(0,0,0,0.08); /* bóng nhẹ */
    padding:10px;              /* khoảng cách trong */
    margin:8px;                /* cách lề 2 bên */
    display: none;
  }
  .contact-info{ margin-bottom:.75rem; }
  .contact-info .ci-item{ margin:4px 0; }
  .topbar-search .input-group{ width:100%; }
  .topbar-search .form-control{ width:100%; }
}

/* Thêm chút thẩm mỹ giống ảnh (khung nhẹ) – tùy chọn */
.top-bar{ border-bottom:1px solid #e5e7eb; }
.svc-swiper .swiper-slide {
  height: auto;
  display: flex;             /* để card lấp full chiều cao */
}

/* Card bao ngoài: flex column để đẩy nội dung xuống đáy */
.svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Ảnh đồng nhất chiều cao nhờ aspect-ratio */
.svc-thumb {
  width: 100%;
  aspect-ratio: 16/11;   /* hoặc 4/3, 16/9 tùy thiết kế */
  object-fit: cover;
  display: block;
}

/* Thân card (tiêu đề + giá) co giãn */
.svc-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 12px 0;
  /* Cắt tối đa 2 dòng */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.4em * 2); /* giữ chiều cao tối thiểu 2 dòng */
  flex: 1;  /* đẩy price xuống dưới */
}

.svc-price {
  padding: 6px 12px 12px;
  font-size: 14px;
  color: #111;
  margin-top: auto;  /* luôn nằm đáy card */
}
.pdf-viewer {
    width: 100%;
    height: 1200px;
    /* đặt chiều cao mong muốn, ví dụ 1200px */
    max-height: 90vh;
    /* hoặc giới hạn theo chiều cao viewport nếu muốn */
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-share .share-btn {
    display: inline-block;
    background: #1877f2;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}

.post-share .share-btn:hover {
    background: #145db2;
}
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 123, 24, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 123, 24, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 123, 24, 0);
    }
}

.btn-consult {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, #ff7a18, #ffb347);
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 4px solid #fff;
    border-radius: 50px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 123, 24, 0.5);
    z-index: 10;

    /* 💥 Hiệu ứng nhấp nháy nhẹ */
    animation: pulse-glow 1s infinite;
}

.btn-consult:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 123, 24, 0.6);
    animation: none;
    /* Tắt hiệu ứng khi hover để tránh rối mắt */
}
:target {
    scroll-margin-top: 100px;
    /* bằng chiều cao menu fixed */
}

