/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	max-width: 100%;
	overflow: hidden;
    font-family: "Be Vietnam Pro", sans-serif;
}
@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }

}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */

/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
.product-small.box .box-image img {
    height: 200px;
    object-fit: cover;
}
/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}

strong, b {
    font-weight: bold;
}
#footer ul {list-style:none; margin-bottom:0; margin-left:0;}
#footer li {margin-left:0; margin-bottom:5px;}
.header-bottom-nav > li > a {text-transform:uppercase;}
.page-title-bar .title {display:none;}
.page-title-bar {padding-top:10px; padding-bottom:10px; display:none;}
form {margin-bottom:0;}
.wpcf7-spinner {display:none;}
.top-bar-nav {background:#EAF7FB; padding:5px 20px; border-bottom:2px solid #F59E32; border-radius: 20px 20px 0px 0px; position:relative; top:1px}
.top-bar-nav a {color:#064AA1 !important; margin-left:10px; margin-right:10px;} 
.header-nav-main.nav-line-bottom > li > a:before {background-color:#F59E32;}
.gtbanner .banner-bg {border-radius:15px;}
.sumenh-row ul {list-style:none; margin-bottom:0;}
.sumenh-row li {margin-left:0 !important;}
p {margin-bottom:5px;}
h3 {margin-bottom:5px;}
.sumenh-row li:before {content: "\f05d"; font-family: FontAwesome; padding-right:8px; color:#35B2F2}
.sumenh-row {border-bottom:1px solid #fff;}
li {margin-bottom:5px;}
h2 {font-size:35px;}
.dichvu-box .col-inner {border-radius:15px;}
.dichvu-box .icon-inner {background-color:#fff; color:#88D9DD !important;}
.dichvu-box:hover .icon-inner { background-color:#0D47A1 !important; color:#0D47A1 !important}
.dichvu-box:hover .icon-inner img {display:none}
.dichvu-box:hover .linhvuc-box1 .icon-inner {background:url(http://template.demo-thietkeweb.com/anphatviet/wp-content/uploads/2026/09/e4.png) center no-repeat; background-size:46px 44px;}
.dichvu-box:hover .linhvuc-box2 .icon-inner {background:url(http://template.demo-thietkeweb.com/anphatviet/wp-content/uploads/2026/09/e5.png) center no-repeat; background-size:46px 44px;}
.dichvu-box:hover .linhvuc-box3 .icon-inner {background:url(http://template.demo-thietkeweb.com/anphatviet/wp-content/uploads/2026/09/e6.png) center no-repeat; background-size:46px 44px;}
.dichvu-box .col-inner:hover {background:#D7FDFF}
.dichvu-box .col-inner:hover .button {color:#F59E32;}
.dichvu-box .button:after {content: "\f061"; font-family: FontAwesome;}
.dichvu-box h3 {margin-bottom:10px;}
.box-blog-post:hover .post-title {color:#F59E32}
.from_the_blog_excerpt  {color:#666666;}
.box-blog-post:hover .from_the_blog_excerpt  {color:#333;}
.slider-tc:after {content:""; position:absolute; z-index:9999; bottom:0; width:100%; background-image:url(http://template.demo-thietkeweb.com/anphatviet/wp-content/uploads/2026/09/banner-shape-1.png); position:absolute; bottom:-1px; height:200px; background-size:cover; background-repeat:no-repeat}
.xemthem-but span:after {content: "\f061"; font-family: FontAwesome; padding-left:10px;}
#footer img.size-full.alignnone {margin-bottom:0}
.absolute-footer {display:none;}
#footer .button.icon.circle {border-radius: 8px !important; background: rgb(217 217 217 / 20%); color:#E6BE8A; border: 1px solid;}
.sumenh-col .col-inner:hover {background:#fff; border-radius:20px;}
.giatri-col {min-width:20%;}
.giatri-col .icon-box-img {margin-bottom:0}
.huanluyen-col .col-inner {border:1px solid #EAF7FB}
.huanluyen-col .col-inner:hover {background-color:#fff !important; border-color:#0D47A1;}
.doingu-box .col-inner:hover {background:#fff !important; border-color:#F59E32;}
.doingu-box .col-inner h4 {
    color: #34495E;
}
.doingu-box .col-inner p {
    color: #666666;
}
.doingu-box .col-inner:hover h4 {
    color: #0D47A1 ;
}
.doingu-box .col-inner:hover p {
    color: #333333 ;
}
.doingu-box .col-inner {border:1px solid #EAF7FB;}
.lich-khaigiang .box-blog-post {border-radius:12px !important; border:1px solid #EAF7FB;}
.has-shadow>.col>.col-inner {border-radius:12px}
.lich-khaigiang .box-image {border-radius:12px 12px 0px 0px}
.lich-khaigiang .box-text {border-radius:0px 0px 12px 12px;}
.lich-khaigiang .is-divider {display:none;}
.lich-khaigiang .post-title {margin-bottom:5px; font-size: 18px; color: #34495E; height: 50px; line-height: 25px}
.lich-khaigiang .box-text p {
    font-size: 14px;
    color: #666666;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.lich-khaigiang .button:after {content: "\f061"; font-family: FontAwesome; padding-left:5px;}
.lich-khaigiang .box-blog-post:hover .box-text {background:#fff !important;}
.lich-khaigiang .box-blog-post:hover .button {color:#F59E32;}
.lich-khaigiang .box-blog-post:hover {border-color:#F59E32;}
.lich-khaigiang .box-blog-post:hover .post-title {color:#0D47A1}

.table-responsive {
        width: 100%;
        overflow-x: auto;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .schedule-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        color: #333333;
        font-size: 14.5px; margin-bottom:0
    }

    /* KHẮC PHỤC LỖI WPAUTOP CỦA WORDPRESS TỰ ĐỘNG CHÈN THẺ BR */
    .schedule-table br,
    .btn-register br {
        display: none !important;
    }

    /* ----- HEADER STYLING ----- */
    .schedule-table thead tr th {
        background-color: #104da3;
        color: #ffffff;
        font-weight: 700;
        font-size: 15px;
        padding: 16px 14px;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        white-space: nowrap;
    }

    .schedule-table thead tr th:last-child {
        border-right: none;
    }

    .schedule-table thead tr th:first-child {
        border-top-left-radius: 12px;
    }

    .schedule-table thead tr th:last-child {
        border-top-right-radius: 12px;
    }

    /* ----- BODY STYLING ----- */
    .schedule-table tbody tr td {
        padding: 14px 16px;
        vertical-align: middle;
        border-right: 1px solid #ffffff;
        color: #444444;
    }

    .schedule-table tbody tr td:last-child {
        border-right: none;
        text-align: center;
    }

    /* Hàng lẻ & Hàng chẵn */
    .schedule-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .schedule-table tbody tr:nth-child(even) {
        background-color: #eef7fc;
    }

    /* Căn lề từng cột */
    .col-date { text-align: center; white-space: nowrap; }
    .col-title { text-align: left; font-weight: 500; }
    .col-target { text-align: left; }
    .col-type { text-align: center; white-space: nowrap; }
    .col-location { text-align: center; white-space: nowrap; }
    .col-action { text-align: center; white-space: nowrap; }

    /* ----- BUTTON STYLING ----- */
    .btn-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 7px 14px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 12.5px;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
        background-color: transparent;
        color: #f39223;
        border: 1.5px solid #f39223;
        line-height: 1.2;
        font-weight: normal;
    }

    .btn-register:hover {
        background-color: #f39223;
        color: #ffffff;
    }

    /* Icon SVG */
    .btn-icon {
        width: 14px;
        height: 14px;
        fill: currentColor;
        flex-shrink: 0;}
img.size-full.alignnone {margin-bottom:0}
.doingu-col h3 {font-size:20px; color:#0D47A1; margin-bottom: 5px; font-weight: 500; transition: all .2s;}
.doingu-col h4 {margin-bottom:10px; color:#F59E32; font-size: 16px; font-weight: normal; transition: all .2s;}
.doingu-col h4 strong {
    font-weight: normal; transition: all .2s;
}
.doingu-col p {margin-bottom:10px; font-size: 14px}
.doingu-col .col-inner:hover {background:#EAF7FB; border-radius:15px 15px 0px 0px; border-bottom:4px solid #F59E32}
.doingu-col .col-inner {border-bottom:4px solid #fff}
.doingu-col .col-inner:hover h4 strong {
    font-weight: bold;
}
.doingu-col .col-inner:hover h3 {
    font-weight: 900;
}

.table-responsive {
        width: 100%;
        overflow-x: auto;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .schedule-table {
        width: 100%;
        border-collapse: collapse;
        color: #2c3e50;
        font-size: 14px;
    }

    /* KHẮC PHỤC LỖI WPAUTOP CỦA WORDPRESS TỰ ĐỘNG CHÈN THẺ BR */
    .schedule-table br,
    .btn-link br {
        display: none !important;
    }

    /* ----- HEADER STYLING ----- */
    .schedule-table thead tr th {
        background-color: #0b4ea2;
        color: #ffffff;
        font-weight: 700;
        font-size: 15px;
        padding: 16px 12px;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        white-space: nowrap;
    }

    .schedule-table thead tr th:first-child {
        border-top-left-radius: 12px;
    }

    .schedule-table thead tr th:last-child {
        border-top-right-radius: 12px;
        border-right: none;
    }

    /* ----- BODY STYLING ----- */
    .schedule-table tbody tr {
        background-color: #ffffff;
        transition: background-color 0.25s ease;
        border-bottom: 1px solid #eef2f7;
    }

    .schedule-table tbody tr:last-child {
        border-bottom: none;
    }

    /* HIỆU ỨNG HOVER ĐỔI MÀU NỀN KHI DI CHUỘT VÀO HÀNG */
    .schedule-table tbody tr:hover {
        background-color: #d0ebff !important;
        cursor: pointer;
    }

    .schedule-table tbody tr td {
        padding: 14px 14px;
        vertical-align: middle;
        border-right: 1px solid #eef2f7;
    }

    .schedule-table tbody tr td:last-child {
        border-right: none;
    }

    /* Căn lề & định dạng từng cột */
    .col-stt { text-align: center; font-weight: 700; color: #333333; width: 50px; }
    .col-title { text-align: left; }
    .col-title .course-main { font-weight: 700; color: #1e293b; display: block; font-size: 14.5px; }
    .col-title .course-sub { font-size: 13px; color: #64748b; margin-top: 2px; display: block; }
    
    .col-date { text-align: center; white-space: nowrap; color: #1e293b; }
    .date-wrapper { display: inline-flex; align-items: center; gap: 6px; }
    .date-icon { width: 16px; height: 16px; fill: #0b4ea2; flex-shrink: 0; }

    .col-duration { text-align: center; white-space: nowrap; color: #334155; }
    .col-type { text-align: center; white-space: nowrap; color: #334155; }
    .col-location { text-align: center; white-space: nowrap; font-weight: 500; }
    .col-action { text-align: center; white-space: nowrap; }

    /* ----- BUTTON STYLING (KIỂU HÀNG 2) ----- */
    .btn-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-weight: 600;
        font-size: 13.5px;
        color: #0b4ea2;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 0.2s ease;
    }

    .btn-link:hover {
        color: #f39223;}
.boiduong-col .col-inner:hover {background:#0D47A1 !important; color:#fff;}
.boiduong-col .col-inner:hover h4 {color:#fff;}
.boiduong-col h4 {margin-bottom:0px;}
.boiduong-col .col-inner:hover .button {color:#fff;}

.tuition-table-responsive {
        width: 100%;
        overflow-x: auto;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .tuition-table {
        width: 100%;
        border-collapse: collapse;
        color: #2c3e50;
        font-size: 14.5px;
    }

    /* Khắc phục lỗi wpautop của WordPress tự chèn thẻ br */
    .tuition-table br {
        display: none !important;
    }

    /* ----- HEADER STYLING ----- */
    .tuition-table thead tr th {
        background-color: #0b4ea2;
        color: #ffffff;
        font-weight: 700;
        font-size: 15.5px;
        padding: 25px 12px;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        white-space: nowrap;
    }

    .tuition-table thead tr th:first-child {
        border-top-left-radius: 12px;
    }

    .tuition-table thead tr th:last-child {
        border-top-right-radius: 12px;
        border-right: none;
    }

    /* ----- BODY STYLING ----- */
    .tuition-table tbody tr {
        background-color: #ffffff;
        transition: background-color 0.25s ease;
        border-bottom: 1px solid #eef2f7;
    }

    .tuition-table tbody tr:last-child {
        border-bottom: none;
    }

    /* Hiệu ứng Hover đổi màu nền */
    .tuition-table tbody tr:hover {
        background-color: #d0ebff !important;
        cursor: pointer;
    }

    .tuition-table tbody tr td {
        padding: 14px 16px;
        text-align: center;
        vertical-align: middle;
        border-right: 1px solid #eef2f7;
        color: #334155;
    }

    .tuition-table tbody tr td:last-child {
        border-right: none;
    }

    .col-grade { font-weight: 600; color: #1e293b; }
    .col-fee { font-weight: 600; color: #0b4ea2; }
table {margin-bottom:0}
.gtbeboi-col svg {color:#666666;}
.gtbeboi-col .col-inner:hover svg {color:#F59E32}
.gtbeboi-col .col-inner {border:1px solid #fff}
.gtbeboi-col .col-inner:hover {background:#fff !important; border-color:#0D47A1;}
.gtbeboi-col .col-inner h4 {color:#0D47A1;}
.row-box-shadow-2 .col-inner {border-radius:12px;}
.tuition-table-no-hover tbody tr:hover {background-color: #F2F9FF !important;cursor: default !important;}
.banggiave-row tr {background:#F2F9FF !important;}
.uudai-col1 .col-inner {background:url(http://template.demo-thietkeweb.com/anphatviet/wp-content/uploads/2026/09/vbg.png)center no-repeat; background-size:cover; border-radius:15px;}
.uudai-col2 .col-inner {background:none;}
.box-clock svg {color:#F59E32;}


.btn-outline.button {
    font-weight: normal;
}
.badge.post-date .badge-inner {
    background: #88D9DD;
    border: 1px solid #35B2F2;
}
.badge.post-date * {
    color: #fff !important;
}
.box-blog-post .is-divider {
    max-width: 105px;
    background-color: #35B2F2;
    height: 1px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.footer-wrapper .icon-box p {
    margin-bottom: 0;
}
.footer-wrapper .icon-box-left {
    display: flex;
    align-items: center;
}
.icon-box-img img, .icon-box-img svg {
    padding-top: 0;
}
.button i, button i {
    top: 0;
}
.dark .social-icons .button.is-outline, .nav-dark .social-icons .button.is-outline {
    border: 1px solid;
    margin-right: 10px;
}
.header-top .social-icons {
    margin-left: 15px;
}
.header-nav-main.nav-line-bottom > li > a:before, .header-nav-main.nav-line-grow > li > a:before, .header-nav-main.nav-line > li > a:before, .header-nav-main.nav-box > li > a:hover, .header-nav-main.nav-box > li.active > a, .header-nav-main.nav-pills > li > a:hover, .header-nav-main.nav-pills > li.active > a {
    background-color: #F59E32 !important;
}

.btn-readmore.button.is-outline.primary {
    background-color: #EAF7FB !important;
    color: #0D47A1;
    border: 1px solid #0D47A1;
}
.btn-readmore.button.is-outline.primary:hover {
    background-color: #F59E32 !important;
    color: #fff !important;
    border: 1px solid #F59E32;
}
.button.primary.is-link {
    color: #4E4E4E;
    font-weight: normal;
    margin-right: 0;
}
.button.primary.is-link:hover {
    color: #0D47A1;
}
.is-small, .is-small.button {
    font-size: 12px;
    font-weight: normal;
}
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5 {
    line-height: inherit;
}
.banner p {
    margin-top: 0;
}
.align-item.icon-box-left {
    display: flex;
    align-items: center;
}
.shadow-custom > .col-inner {
    box-shadow: 0px 0px 12px 0px rgb(248 148 28 / 20%);
}
.icon-box-left h4 {
    margin-bottom: 0;
}
.icon-box p {
    margin-bottom: 0;
}

.rc-section { padding: 40px 0; }
.rc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.rc-title {
    font-size: 35px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
}

/* Nút điều hướng */
.rc-nav { display: flex; gap: 8px; }
.rc-btn {
    width: 38px;
    height: 38px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #b9dcf5;
    background: #fff;
    color: var(--primary-color);
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, opacity .2s;
}
.rc-btn:hover:not(:disabled) { background: #0b3c5d; color: #fff; }
.rc-btn:disabled { opacity: .35; cursor: default; }
.rc-nav.is-hidden { display: none; }

/* Track trượt */
.rc-track {
    --rc-gap: 16px;
    --rc-per-view: 5;
    display: flex;
    gap: var(--rc-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
}
.rc-track::-webkit-scrollbar { display: none; }

.rc-item {
    flex: 0 0 calc((100% - (var(--rc-per-view) - 1) * var(--rc-gap)) / var(--rc-per-view));
    scroll-snap-align: start;
    display: flex;
}

/* Tablet: 2 card + ló 1 phần card thứ 3 để người xem biết vuốt được */
@media (max-width: 849px) {
    .rc-track { --rc-per-view: 2.4; }
}
/* Mobile: 1 card + ló 1 phần card tiếp theo */
@media (max-width: 549px) {
    .rc-track { --rc-per-view: 1.2; --rc-gap: 12px; }
    .rc-title { font-size: 20px; }
}

/* Card */
.rc-card {
    width: 100%;
    background-color: #ebf6ff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
@media (hover: hover) {
    .rc-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }
}
.rc-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #d6ebfa;
}
.rc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rc-content {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.rc-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(15px * 1.35 * 2);
}
.rc-card-title a { color: inherit; text-decoration: none; }
.rc-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rc-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #0088cc;
    text-decoration: none;
}
.rc-link:hover { color: #005580; }

.col-course > .col-inner {
    transition: all .2s;
}

.col-course .icon-box-left h4 {
    margin-bottom: 5px;
}
.col-course > .col-inner:hover .icon-box-left ul li, 
.col-course > .col-inner:hover .icon-box-left p {
    font-weight: bold;
    color: var(--primary-color) !important;
}
.col-course > .col-inner:hover .icon-box-left h4 {
    font-weight: 900;
}
/* ===== CARD KHÓA HỌC: HIỆU ỨNG HOVER ===== */
.col-course > .col-inner {
  position: relative;
  overflow: hidden;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

/* Viền của Flatsome */
.col-course > .col-inner > .is-border {
  z-index: 1;
  transition: border-color .3s ease, border-width .3s ease;
}

/* Thanh cam dưới đáy, mặc định ẩn */
.col-course > .col-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: #f7a233;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s ease;
  z-index: 2;
  pointer-events: none;
}

/* Nội dung luôn nằm trên viền và thanh cam */
.col-course .icon-box {
  position: relative;
  z-index: 3;
}

/* ===== TRẠNG THÁI HOVER ===== */
.col-course:hover > .col-inner {
  background-color: #ffffff !important;   /* ghi đè màu nền inline */
  box-shadow: 0 10px 24px rgba(13, 71, 161, .12);
  transform: translateY(-4px);
}

.col-course:hover > .col-inner > .is-border {
  border-color: #0d47a1 !important;       /* ghi đè viền inline */
  border-width: 2px !important;
}

.col-course:hover > .col-inner::after {
  transform: scaleY(1);
}

/* Chữ nội dung chuyển xanh đậm, in đậm như ảnh demo */
.col-course:hover .icon-box-text .text,
.col-course:hover .icon-box-text .text > *,
.col-course:hover .icon-box-text li {
  color: #0d47a1 !important;
}

.col-course:hover .icon-box-text .text:not(:first-child) {
  font-weight: 600;
}
.button {
    font-weight: normal !important;
}

.course-v2-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.course-v2-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    background-color: #EAF7FB;
}
.course-v2-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.course-v2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.course-v2-content {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.course-v2-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.35;
}
.course-v2-title a {
    color: inherit;
    text-decoration: none;
}
.course-v2-title a:hover {
    color: #f39200;
}
.course-v2-excerpt {
    font-size: 16px;
    color: #666666;
    line-height: 1.45;
    margin-bottom: 18px;
    flex-grow: 1;
}
.course-v2-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 20px;
    align-items: start;
}
.course-v2-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.course-v2-meta-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}
.course-v2-meta-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.3;
}
.course-v2-meta-label {
    color: #666666;
    margin-bottom: 2px;
}
.course-v2-meta-value {
    color: #666666;
    font-weight: 600;
}
.course-v2-button-wrapper {
    text-align: center;
}
.course-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F59E32;
    border: 1px solid #f39200;
    border-radius: 6px;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.25s ease;
}

.course-v2-card:hover .course-v2-btn {
    background-color: #F59E32;
    color: #ffffff;
}

.icon-mb.icon-box-left {
    align-items: flex-start;
}
.icon-mb.icon-box-left .icon-box-img {
    width: 80px !important;
}

.ct-blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    align-items:start;
}

.ct-blog-card{
    background:#fff;
    border-radius:16px;
    box-shadow:0 2px 12px rgba(16,42,67,.08);
    transition:background .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* Trạng thái nổi bật giống card đầu trong ảnh demo */
.ct-blog-card:hover,
.ct-blog-card.is-active{
    background:#E9F5FC;
    box-shadow:0 6px 20px rgba(16,42,67,.12);
    transform:translateY(-3px);
}

.ct-blog-thumb{
    display:block;
    border-radius: 16px 16px 0 0;
    overflow:hidden;
    aspect-ratio:16/11;
}

.ct-blog-thumb img,
.ct-blog-img--empty{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#dfeaf2;
    transition:transform .4s ease;
}

.ct-blog-card:hover .ct-blog-thumb img{ transform:scale(1.05); }

.ct-blog-body{ padding: 20px }

.ct-blog-date{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:#8A94A6;
    margin-bottom:10px;
    transition:color .25s ease;
}

.ct-blog-card:hover .ct-blog-date,
.ct-blog-card.is-active .ct-blog-date{ color:#F5A623; }

.ct-blog-title{
    font-size:18px;
    line-height:1.45;
    font-weight:700;
    margin:0 0 10px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ct-blog-title a{
    color:#333333;
    text-decoration:none;
    transition:color .25s ease;
}

.ct-blog-card:hover .ct-blog-title a,
.ct-blog-card.is-active .ct-blog-title a{ color:#1B8FD4; }

.ct-blog-excerpt{
    font-size:15px;
    line-height:1.65;
    color:#6B7583;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

@media (max-width:849px){
    .ct-blog-grid{ grid-template-columns:repeat(2,1fr); gap:20px; }
}

@media (max-width:549px){
    .ct-blog-grid{ grid-template-columns:1fr; }
    .ct-blog-title{ font-size:17px; }
}

.ct-cat-banner{
    position:relative;
    width:100%;
    min-height: 592px;
    display:flex;
    align-items:center;
    background-color:#EAF3FB;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    margin-bottom:40px;
}
.ct-cat-banner:after {
    content: '';
    display: block;
    width: 100%;
    height: 95px;
    background-image: url(images/bg-after.png);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.ct-cat-banner--nobg{
    background-image:linear-gradient(90deg,#EAF3FB 0%,#F5FAFD 100%);
}

.ct-cat-banner__inner{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:40px 15px;
}

.ct-cat-banner__title{
    font-size:44px;
    line-height:1.15;
    font-weight:800;
    color:#0B57A4;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin:0 0 14px;
}

.ct-cat-banner__desc{
    max-width:420px;
    font-size:16px;
    line-height:1.7;
    color:#2C3A4B;
}

.ct-cat-banner__desc p{ margin:0; }

@media (max-width:849px){
    .ct-cat-banner{ min-height:260px; margin-bottom:28px; }
    .ct-cat-banner__title{ font-size:34px; }
    .ct-cat-banner__desc{ max-width:100%; font-size:15px; }
}

@media (max-width:549px){
    .ct-cat-banner{ min-height:200px; }
    .ct-cat-banner__title{ font-size:26px; }
	.ct-cat-banner__desc {
		display: none;
	}
}

/* ================= SIDEBAR CARD CHUNG ================= */
#secondary.widget-area{
    padding:0;
}

#secondary .widget{
    background:#E9F5FD;
    border-radius:16px;
    padding:22px 0px;
    margin-bottom:24px;
    box-shadow:0 2px 10px rgba(16,42,67,.05);
}

#secondary .widget-title{
    display:block;
    text-align:center;
    font-size: 20px;
    font-weight: bold;
    line-height:1.3;
    color:#0B57A4;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin-bottom:16px;
}

#secondary .widget-title span{ color:inherit; }

/* Ẩn gạch ngang mặc định của Flatsome */
#secondary .widget .is-divider{ display:none !important; }

#secondary .widget ul{
    list-style:none;
    margin:0;
    padding:0;
}

/* ================= DANH MỤC TIN TỨC ================= */
#secondary .widget_categories ul li.cat-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    position:relative;
    padding: 6px 16px;
    margin:0;
    border-bottom:1px solid #D6E9F6;
    font-size:15px;
    color:#3A4A5C;
    border: none !important;
    transition:background .25s ease, color .25s ease;
}

#secondary .widget_categories ul li.cat-item:last-child{ border-bottom:0; }

#secondary .widget_categories ul li.cat-item a{
    flex:1;
    color:inherit;
    text-decoration:none;
    transition:color .25s ease;
}

/* Số đếm nằm bên phải */
#secondary .widget_categories ul li.cat-item{
    white-space:nowrap;
}

#secondary .widget_categories ul li.cat-item > a{
    white-space:normal;
}

/* Hover + mục đang xem */
#secondary .widget_categories ul li.cat-item:hover{
    background:#D8EEFB;
    color:#0B57A4;
}

#secondary .widget_categories ul li.current-cat{
    background:#BFE4F8;
    color:#0B4C86;
    font-weight:700;
    border-bottom-color:transparent;
}

#secondary .widget_categories ul li.current-cat::before{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    bottom:8px;
    width:4px;
    border-radius:4px;
    background:#F39C12;
}

#secondary .widget_categories ul li.current-cat a{
    color:#000;
    font-weight: 600;
}

/* ================= TIN NỔI BẬT / BÀI VIẾT MỚI ================= */
#secondary .widget.flatsome_recent_posts {
    padding: 20px 20px;
}
#secondary .flatsome_recent_posts li.recent-blog-posts-li{
    margin:0;
    padding:0;
    border: none;
}

#secondary .flatsome_recent_posts li.recent-blog-posts-li:last-child{
    border-bottom:0;
}

#secondary .flatsome_recent_posts .recent-blog-posts{
    align-items:flex-start;
    padding:14px 6px !important;
    margin:0;
    align-items: center !important;
}

/* Thumbnail */
#secondary .flatsome_recent_posts .badge.post-date{
    width:70px;
    height:70px;
    margin:0 12px 0 0;
    padding:0;
    border:0;
    border-radius:8px;
    overflow:hidden;
    flex:0 0 70px;
}

#secondary .flatsome_recent_posts .badge.post-date .badge-inner{
    width:100%;
    height:100%;
    border:0 !important;
    border-radius:8px;
    background-size:cover !important;
    background-position:center !important;
}

/* Tiêu đề bài viết */
#secondary .flatsome_recent_posts .flex-col.flex-grow a{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:14px;
    line-height:1.5;
    font-weight:600;
    color:#1F2A37;
    text-decoration:none;
    transition:color .25s ease;
}

#secondary .flatsome_recent_posts li:hover .flex-col.flex-grow a{
    color:#0B57A4;
}

/* Dòng ngày tháng */
#secondary .flatsome_recent_posts .ct-post-date{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:6px;
    font-size:13px;
    color:#8A94A6;
}

#secondary .flatsome_recent_posts li:first-child .ct-post-date{
    color:#F39C12;
}

#secondary .flatsome_recent_posts .ct-post-date svg{
    flex:0 0 14px;
}

/* Ẩn dòng bình luận mặc định */
#secondary .flatsome_recent_posts .post_comments{
    display:none !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width:849px){
    #secondary .widget{ padding:20px 16px; }
    #secondary .widget-title{ font-size:17px; }
}

.block_widget {
    padding: 0 !important;
}
.banner, 
.banner-radius .banner-bg {
    border-radius: 16px;
}

/* ============ FORM ĐĂNG KÝ EMAIL ============ */
.wpcf7-form .row-contact{
    display:flex;
    align-items:stretch;
    background:#fff;
    border-radius: 8px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(16,42,67,.08);
    max-width:460px;
    margin:0;
    padding:0;
    flex-flow: nowrap;
}

.wpcf7-form .row-contact > div{
    margin:0;
    padding:0;
}

.wpcf7-form .row-contact > div:first-child{
    flex:1 1 auto;
    min-width:0;
}

.wpcf7-form .row-contact > div:last-child{
    flex:0 0 auto;
    position:relative;
}

.wpcf7-form .row-contact .wpcf7-form-control-wrap{
    display:block;
    width:100%;
}

/* Ô nhập email */
.wpcf7-form .row-contact input.wpcf7-email{
    width:100%;
    height:35px;
    margin:0;
    padding:0 18px;
    border:0;
    border-radius:0;
    background:#fff;
    box-shadow:none;
    font-size:12px;
    color:#3A4A5C;
}

.wpcf7-form .row-contact input.wpcf7-email:focus{
    outline:0;
    box-shadow:none;
    background:#fff;
}

.wpcf7-form .row-contact input.wpcf7-email::placeholder{
    color:#9AA5B1;
    font-size:12px;
}

/* Nút Đăng kí */
.wpcf7-form .row-contact input.wpcf7-submit{
    height:35px;
    margin:0;
    padding:0 50px 0 15px;
    border:0;
    border-radius: 8px;
    background:#F5A623;
    color:#fff;
    font-size:12px;
    font-weight:600;
    line-height:35px;
    letter-spacing:.3px;
    cursor:pointer;
    transition:background .25s ease;
    text-transform: none;
}

.wpcf7-form .row-contact input.wpcf7-submit:hover{
    background:#E5940F;
}

/* Mũi tên bên phải nút */
.wpcf7-form .row-contact > div:last-child::after{
    content:"";
    position:absolute;
    right:24px;
    top:50%;
    width:22px;
    height:12px;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='0' y1='6' x2='21' y2='6'/%3E%3Cpolyline points='16,1 22,6 16,11'/%3E%3C/svg%3E");
    pointer-events:none;
}

/* Spinner */
.wpcf7-form .row-contact .wpcf7-spinner{
    position:absolute;
    right:-34px;
    top:50%;
    transform:translateY(-50%);
    margin:0;
}

/* Thông báo lỗi / thành công */
.wpcf7-form .wpcf7-response-output{
    margin:14px 0 0;
    padding:10px 14px;
    border-radius:8px;
    font-size:14px;
}

.wpcf7-form .wpcf7-not-valid-tip{
    margin:6px 0 0 18px;
    font-size:13px;
    color:#E74C3C;
}

/* ============ RESPONSIVE ============ */
@media (max-width:549px){
    .wpcf7-form .row-contact{ max-width:100%; }

    .wpcf7-form .row-contact input.wpcf7-email{
        height:50px;
        font-size:15px;
        padding:0 14px;
    }

    .wpcf7-form .row-contact input.wpcf7-submit{
        height:50px;
        line-height:50px;
        font-size:15px;
        padding:0 46px 0 18px;
    }

    .wpcf7-form .row-contact > div:last-child::after{
        right:18px;
        width:18px;
    }
}

.ct-post-banner {
    position:relative;
    width:100%;
    min-height: 590px;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-color:#EAF3FB;
    margin-bottom:40px;
}
.ct-post-banner:after {
    content: '';
    display: block;
    width: 100%;
    height: 95px;
    background-image: url(images/bg-after.png);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

@media (max-width:849px){
    .ct-post-banner{ min-height:240px; margin-bottom:28px; }
}

@media (max-width:549px){
    .ct-post-banner{ min-height:180px; }
}

h1.entry-title {
    font-size: 26px;
    color: var(--primary-color);
}
.entry-content h2 {
    font-size: 24px;
}

/* ============ BÀI VIẾT LIÊN QUAN ============ */
.ct-related{
    margin:50px 0 30px;
}

.ct-related__heading{
    font-size:26px;
    line-height:1.3;
    font-weight:800;
    color:#0B3B8C;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin:0 0 28px;
}

.ct-related__list{
    display:flex;
    flex-direction:column;
    gap:32px;
}

.ct-related__item{
    display:flex;
    align-items:flex-start;
    gap:24px;
}

/* Ảnh */
.ct-related__thumb{
    flex:0 0 220px;
    width: 220px;
    display:block;
    border-radius:10px;
    overflow:hidden;
    aspect-ratio:16/11;
}

.ct-related__thumb img,
.ct-related__thumb-empty{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#dfeaf2;
    transition:transform .4s ease;
}

.ct-related__item:hover .ct-related__thumb img{
    transform:scale(1.05);
}

/* Nội dung */
.ct-related__body{
    flex:1 1 auto;
    min-width:0;
    padding-top:4px;
}

.ct-related__title{
    font-size:20px;
    line-height:1.45;
    font-weight:700;
    margin:0 0 10px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ct-related__title a{
    color:#34495E;
    text-decoration:none;
    transition:color .25s ease;
}

/* Bài đầu tiên highlight cam như demo */


.ct-related__item:hover .ct-related__title a{
    color:#F5A623;
}

.ct-related__excerpt{
    font-size:14px;
    line-height:1.8;
    color:#6B7583;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ============ RESPONSIVE ============ */
@media (max-width:849px){
    .ct-related{ margin:36px 0 24px; }
    .ct-related__heading{ font-size:20px; margin-bottom:22px; }
    .ct-related__list{ gap:24px; }
    .ct-related__thumb{ flex:0 0 140px; width:140px; }
    .ct-related__title{ font-size:16px; }
}

@media (max-width:549px){
    .ct-related__item{ gap:14px; }
    .ct-related__thumb{ flex:0 0 110px; width:110px; }
    .ct-related__title{ font-size:15px; margin-bottom:6px; }
    .ct-related__excerpt{ font-size:13px; -webkit-line-clamp:2; }
}

.row-box-contact > .col {
    padding-bottom: 0;
}
.row-box-contact label {
    font-weight: normal;
}
.row-box-contact input.wpcf7-form-control {
    height: 40px;
    border: 1px solid #B5B5B5;
    border-radius: 8px;
    box-shadow: none;
}
.row-box-contact textarea {
    border: 1px solid #B5B5B5;
    border-radius: 8px;
    box-shadow: none;
}
.row-box-contact input.wpcf7-submit {
    width: 100%;
    background-color: #D7FDFF !important;
    border: 1px solid #0D47A1;
    color: #0D47A1 !important;
    box-shadow: none;
    margin-bottom: 0;
}
.row-box-contact input.wpcf7-submit:hover {
    background-color: #F59E32 !important;
    color: #ffffff !important;
    border: 1px solid #F59E32;
}
.col-shadow > .col-inner {
    box-shadow: 0px 0px 12px 0px rgb(248 148 28 / 20%);
}


/* */
.page-numbers.nav-pagination {
    padding-top: 40px;
}
.course-archive-pagination span,
.course-archive-pagination a {
    display: inline-block;
    color: #000;
    border: 1px solid #000;
    line-height: 33px;
    font-size: 16px;
    width: 35px;
    border-radius: 100px;
    margin-right: 12px;
}
.course-archive-pagination a:hover,
.course-archive-pagination span {
    background: #0d47a1;
    color: #fff;
    border-color: #0d47a1;
}
.course-archive-header {
    color: rgb(52, 73, 94);
    font-size: 18px;
    overflow: hidden;
    margin-bottom: 30px;
    padding-top: 30px;
}
.course-archive-header h1 {
    color: #0d47a1;
    font-size: 35px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.count-up {
    font-weight: bold;
}
.count-up:after {
    content: "+";
    font-size: 1.3em;
}
.cus-per .count-up:after {
    content: "%";
    font-size: 1em;
}
/* */
.row-box-kg {
    background: url(images/bg-dn.png) center center no-repeat;
	background-size: cover;
    padding-top: 22px;
    min-height: 150px;
    padding-left: 20px;
    max-width: 1210px !important;
    border-radius: 12px;
}
.but-lienhengay.button {
    background: #fff !important;
    border: 1px solid #F59E32;
    color: #0D47A1;
    box-shadow: 0 0 0 !important;
    margin: 0;
}
.but-lienhengay.button:hover {
    background: #F59E32 !important;
    color: #fff;
}
.but-lienhengay span:after {content: "\f061"; font-family: FontAwesome; padding-left:10px;} 

@media (max-width: 480px) {
    .btn-job {
        font-size: 16px !important;
    }
    .row-box-kg {
        height: initial;
        background-size: cover;
    }
}