/* Mặc định cho PC */
.is_pc {
    display: block !important;
}

.is_mobi {
    display: none !important;
}

/* Mobile (điều chỉnh hiển thị) */
@media screen and (max-width: 768px) {
    .is_pc {
        display: none !important;
    }

    .is_mobi {
        display: block !important;
    }
}

@-webkit-keyframes scale {
	0% {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1)
	}

	50% {
		-webkit-transform: scale(0.9);
		-ms-transform: scale(0.9);
		transform: scale(0.9)
	}

	100% {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1)
	}
}

@keyframes scale {
	0% {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1)
	}

	50% {
		-webkit-transform: scale(0.9);
		-ms-transform: scale(0.9);
		transform: scale(0.9)
	}

	100% {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1)
	}
}

.boai-content-sc {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.textzoom {
    animation: scale 1s infinite linear;
    -webkit-animation: scale 1s infinite linear;
    -moz-animation: scale 1s infinite linear;
    display: inline-block;
}

.blue-border-container {
    margin: 1.5rem 0;
    background: #cfede7;
    background: var(--wpcomp-3th-color);
    border-width: 1px;
    border-style: solid;
    border-color: #3b9e7f;
    border-color: var(--wpcomp-primary-color);
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    line-height: 25px;
}
.sc-moreInPst, .html-related-posts {
    padding: 20px 30px 20px 3.98%;
}
/*
* Bài viết liên quan cũ
*/
.sc-moreInPst {
    margin: 1rem 0;
    background: #cfede7;
    background: var(--wpcomp-3th-color);
    border-width: 1px;
    border-style: solid;
    border-color: #3b9e7f;
    border-color: var(--wpcomp-primary-color);
    border-radius: 10px;
}
.sc-moreInPst .moreInPst-head {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #248082;
    color: var(--wpcomp-primary-color);
    margin: 0;
    padding: 0;
}
.sc-moreInPst .moreInPst-ctnt {
    margin: 0;
    padding: 0.5rem 0 0.5rem 20px;
    font-size: 21px;
}
.sc-moreInPst .moreInPst-ctnt li {
    list-style: disc;
    padding: 0;
    margin: 0 !important;
    position: relative !important;
}
.sc-moreInPst .moreInPst-ctnt li a {
    text-decoration: none;
    color: #333333;
    color: var(--wpcomp-text-color);
    padding: 3px 0;
    font-size: 16px;
    font-weight: bold;
}
.sc-moreInPst .moreInPst-ctnt li a:hover {
    color: var(--wpcomp-primary-color);
}
/*
* Bài viết liên quan mới
*/
.html-related-posts .block-header .title-heading {
    margin: 0 0 0 0;
    font-family: inherit;
    font-size: 24px;
}
.html-related-posts .block-content ul {
    padding: 0.5rem 0 0.5rem 20px;
    margin: 0;
    font-size: 21px;
}
.html-related-posts .block-content ul li {
    position: relative;
    list-style: disc;
}
.html-related-posts .block-content ul li a {
    color: #333333;
    color: var(--wpcomp-text-color);
    display: inline-block;
    padding: 3px 0px 3px 0 !important; 
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}
.html-related-posts .block-content ul li a:hover {
    color: var(--wpcomp-primary-color);
}
/*
* .sc_boai.sc-html
*/
.sc_boai {
    position: relative;
    margin: 0 auto 16px;
    text-align: center;
}
.sc_boai a {
    color: inherit;
    display: inline-block !important;
    line-height: inherit;
    outline: none;
}
.sc_boai img {
    display: initial;
}
.sc_boai.sc-html {
    max-width: 750px;
    padding: 15px 20px;
    font-family: Roboto;
}
.sc_boai.sc-html,
.sc_boai.sc-html .sc-boai-content {
    border-radius: 20px;
}
.sc_boai.sc-html .sc-boai-heading {
    color: #ffffff;
    font-family: 'UTM HelvetIns';
    font-size: 20px;
    text-transform: uppercase;
    text-align: center !important;
    margin-top: 0 !important;
}
.sc_boai.sc-html .sc-boai-note span,
.sc_boai.sc-html .sc-boai-heading span {
    color: #ffff00;
}
.sc_boai.sc-html .sc-boai-heading span {
    display: block;
    font-size: 30px;
}
.sc_boai.sc-html .sc-boai-content {
    background-color: #ffffff;
    font-weight: normal;
    font-size: 16px;
    padding: 15px 25px;
}
.sc_boai.sc-html .sc-boai-content ul {
    padding-left: 0;
}
.sc_boai.sc-html .sc-boai-content ul li {
    list-style: disc;
    list-style-position: inside;
    text-align: initial;
    padding: 3px 5px;
    margin: 0 !important;
}
.sc_boai.sc-html .sc-boai-content ul li span {
    color: #ff0000;
}
.sc_boai .sc-boai-note {
    color: #ffffff;
    font-size: 16px;
    font-style: italic;
    text-align: center !important;
}
.sc_boai .sc-boai-note:last-child,
.sc_boai.sc-html .sc-boai-content ul:last-child {
    margin: 0 !important;
}
.sc_boai.sc-html .sc-boai-footer {
    padding-top: 15px;
}
.sc_boai.sc-html .sc-boai-buttons {
    display: flex;
    margin-bottom: 18px;
    justify-content: center; /* Canh giữa theo chiều ngang */
    align-items: center; /* Canh giữa theo chiều dọc */
    height: 100%;
}
.sc_boai.sc-html .sc-boai-buttons .btn-group {
    display: flex;
    gap: 9px;
}
/* Hiệu ứng nhấp nháy nút xanh */
@keyframes blue-blink {
    0% {
        background-color: #3a8dde; /* Màu xanh nhạt */
    }
    50% {
        background-color: #ff7a29; /* Màu xanh đậm */
    }
    100% {
        background-color: #3a8dde; /* Màu xanh nhạt */
    }
}

/* Hiệu ứng nhấp nháy nút cam */
@keyframes orange-blink {
    0% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
    50% {
        background-color: #3a8dde; /* Màu đỏ đậm */
    }
    100% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
}

/* Hiệu ứng nhấp nháy nút xanh */
@keyframes green-blink {
    0% {
        background-color: #009257; /* Màu xanh nhạt */
    }
    50% {
        background-color: #ff7a29; /* Màu xanh đậm */
    }
    100% {
        background-color: #009257; /* Màu xanh nhạt */
    }
}

/* Hiệu ứng nhấp nháy nút cam */
@keyframes orange2-blink {
    0% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
    50% {
        background-color: #009257; /* Màu đỏ đậm */
    }
    100% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
}

.sc_boai.sc-html .sc-boai-buttons .btn-chat {
    border-radius: 22px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    gap: 5px;
    font-family: 'UTM HelvetIns';
    font-weight: 400;
    align-items: center;
    line-height: initial;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 30px 5px 30px;
    white-space: nowrap;
    background-size: 200% 200%; /* Tăng kích thước để hiệu ứng mượt hơn */
    animation: blink-animation 2s step-start infinite; /* Animation rõ ràng */
}
.sc_boai.sc-html .sc-boai-buttons .btn-chat img {
    display: initial;
    margin: 0 11px 0 0;
}
.sc_boai.sc-html .sc-boai-buttons .btn-tuvan {
    animation: orange-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.sc_boai.sc-html .sc-boai-buttons .btn-dangky {
    animation: blue-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.sc_boai.sc-html.bg-blue .sc-boai-buttons .btn-tuvan {
    animation: orange2-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.sc_boai.sc-html.bg-blue .sc-boai-buttons .btn-dangky {
    animation: green-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.border-radius-10 {
    border-radius: 10px;
}
/*
* .sc_boai.bg-blue
*/
.bg-blue {
    background-color: #2163af;
}
.sc_boai.bg-blue .sc-boai-content ul li::marker {
    color: #2163af;
}
.sc_boai.bg-blue .sc-boai-content ul li::before {
    background: initial !important;
    position: initial !important;
    width: initial !important;
    height: initial !important;
}
/*
* .sc_boai.bg-green
*/
.bg-green {
    background-color: #009570;
}
.sc_boai.bg-green .sc-boai-content ul li::marker {
    color: #009570;
}
/*
* .vssc-chatbonus
*/
.vssc-chatbonus .boai-sc-inside {
    gap: 18px;
}
.vssc-chatbonus a {
    background: #e9424f;
    border-radius: 9px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    overflow: hidden;
    gap: 13px;
    text-transform: uppercase;
    font-family: var(--wpcomp-font-heading);
    font-size: 23px;
    font-weight: normal;
    text-decoration: none;
    padding: 18px 6% 16px;
    width: calc(50% - 9px);
    white-space: nowrap;
}
.vssc-chatbonus .wpcomp-bg-transform>a:nth-child(2) {    
    gap: 16px;
}
.vssc-chatbonus .wpcomp-bg-transform>a.active {
    background: #16b254;
}
/*
* .sc_boai.sc-uudai-tri-lv3
*/
.sc_boai.sc-uudai-tri-lv3 .sc-boai-inner {
    display: inline-block;
    position: relative;
}
.sc_boai.sc-uudai-tri-lv3 .sc-boai-inner > img {
    width: auto;
    height: auto;
    max-width: 100%;
}
.sc_boai.sc-uudai-tri-lv3.is_pc .send-phonenumber {
    position: absolute;
    top: initial;
    left: initial;
    bottom: 0;
    right: 0;
    width: 65%;
    line-height: 1.42857143;
}
.sc_boai .send-phonenumber {
    padding: 9px;
}
.sc_boai .send-phonenumber .send-phonenumber-form {
    border-radius: 24px;
    background-color: #ffffff;
    display: flex;
    text-align: left;
    padding-left: 34px;
    overflow: hidden;
    height: 46px;
}
.sc_boai .send-phonenumber input.d-phone {
    width: calc(100% - 84px);
    height: 46px;
}
.sc_boai .send-phonenumber input.d-phone:focus {
    border: medium none;
    outline: 0;
}
.sc_boai .send-phonenumber button,
.sc_boai .send-phonenumber input.d-phone {
    border: medium none;
    background: inherit;
}
.sc_boai .send-phonenumber button {
    padding: 0;
    width: 84px;
}
@media screen and (min-width: 768px) {
    .vssc-chatbonus .boai-sc-inside {
        width: 70%;
    }
    .sc_boai.sc-html .sc-boai-sendphone {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .sc_boai.sc-html .send-phonenumber {
        display: flex;
        gap: 0;
        width: 90%;
    }
    .sc_boai.sc-html .send-phonenumber .send-phonenumber-form {
        padding-left: 20px;
        width: 100%;
    }
    .sc_boai.sc-html .send-phonenumber .btn-container {
        height: 46px;
    }
    .sc_boai.sc-html .send-phonenumber .btn-container a > img {
        height: 56px;
    }
}
@media screen and (max-width: 360px) {
    .sc_boai.sc-html .sc-boai-content {
        padding: 15px 10px 15px 43px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat {
        font-size: 13px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat img {
        height: 18px;
    }
}
@media screen and (max-width: 430px) {
    .sc_boai.sc-html .sc-boai-heading span {
        font-size: 22px !important;
    }
}
@media screen and (max-width: 480px) {
    .sc_boai.sc-html .sc-boai-heading {
        font-size: 16px;
    }
    .sc_boai.sc-html .sc-boai-heading span {
        font-size: 24px;
    }
    .sc_boai.sc-html .sc-boai-content ul li {
        text-indent: -23px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat {
        padding: 4px 10px 5px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat img {
        margin-right: 6px;
    }
}
@media screen and (max-width: 575.98px) {
    .vssc-chatbonus .boai-sc-inside {
        gap: 12px;
        width: 100%;
    }
    .vssc-chatbonus a {
        gap: 10px;
        font-size: 18px;
        padding: 10px 10px 12px;
        width: calc(50% - 6px);
    }
}
@media screen and (max-width: 375px) {
    .vssc-chatbonus a {
        gap: 8px !important;
        font-size: 15px;
        padding: 8px 3% 10px;
    }
}