/* Homepage slider and video card shortcode. */
.home .content-slider .widget  {
    margin: 0;
    padding: 0;
}
.home .content-slider .widget:nth-child(1) .mainposts {
    position: relative;
    isolation: isolate;
}
.home .content-slider .box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 650px;
    padding: 150px max(32px, calc((100% - 1200px) / 2)) 70px;
    animation: lotek-slider-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home .content-slider .widget:nth-child(1) .mainposts > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 650px;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}
.home .content-slider .box > .title,
.home .content-slider .box > .title h2 {
    max-width: 580px;
    color: #002c55;
    font-size: 52px;
    font-weight: 750;
    line-height: 1.15;
}
.home .content-slider{
    position: relative;
}

.home .content-slider .box > .title{
	margin-bottom: 20px;
}

.home .content-slider .box > .title > span,
.home .content-gioithieu .widget-title > span {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    color: #315578;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.home .content-slider .box > .title > span::before {
    content: '';
    flex: 0 0 25px;
    height: 2px;
    background: currentColor;
}

.home .content-gioithieu .widget-title > span{
    border-left: 3px solid #00a9ef;
    padding-left: 8px;
    line-height: 1.1;
}

.home .content-slider .title span  {
    color: #00a9ef;
}
.home .content-slider .noidung  {
    max-width: 540px;
    color: #53677b;
    font-size: 17px;
    line-height: 1.6;
}
.home .content-slider .noidung p {
    margin: 0 0 28px;
    font-size: 18px;
    color: #434343;
}
.home .content-slider .noidung ul  {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.home .content-slider .noidung li  {
    list-style: none;
    margin: 0;
    padding: 0;
}
.home .content-slider .noidung a {
    display: inline-flex;
    padding: 9px 25px;
    border: 1px solid #003c78;
    border-radius: 40px;
    background: #003c78;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.home .content-slider .noidung li:nth-child(2) a  {
    background: rgb(255 255 255 / 94%);
    color: #003c78;
    border-color: #a7b8c8;
}
.home .content-slider .noidung a:hover  {
    transform: translateY(-3px);
    background: #007ebc;
    border-color: #007ebc;
    color: #fff;
}

/* Benefits strip below the homepage slider. */
.home .content-banner {
    position: relative;
    z-index: 2;
    margin-top: -28px;
    padding: 0 32px 40px;
    background: linear-gradient(to bottom, transparent 28px, #f4f8fa 28px);
}
.home .content-banner > .wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 20px 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(0 44 85 / 3%);
}
.home .content-banner > .wrap::before,
.home .content-banner > .wrap::after {
    display: none;
}
.home .content-banner .widget {
    position: relative;
    padding: 0 32px;
}
.home .content-banner .widget + .widget::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 1px;
    background: #edf1f4;
}
.home .content-banner .mainposts {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 56px;
}
.home .content-banner .mainposts > img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    object-fit: contain;
}
.home .content-banner .box {
    flex: 1;
    min-width: 0;
}
.home .content-banner .title {
    margin: 0 0 4px;
    color: #002c55;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}
.home .content-banner .noidung,
.home .content-banner .noidung p {
    color: #788391;
    font-size: 13px;
    line-height: 18px;
}

/* Homepage introduction: text on the left, image on the right. */
.home :is(.content-gioithieu, .content-sanpham) {
    position: relative;
    isolation: isolate;
}
.home :is(.content-gioithieu, .content-sanpham)::before,
.home :is(.content-gioithieu, .content-sanpham)::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 80px;
    height: 144px;
    background: radial-gradient(circle, rgb(0 169 239 / 16%) 3px, transparent 3.5px) 0 0 / 16px 16px;
    pointer-events: none;
}
.home :is(.content-gioithieu, .content-sanpham)::before {
    top: 80px;
    left: 8px;
}
.home :is(.content-gioithieu, .content-sanpham)::after {
    right: 20px;
    bottom: 32px;
}
.home .content-gioithieu {
    padding: 50px 0 0;
    background: radial-gradient(circle at 95% 24%, transparent 171px, rgb(0 169 239 / 4%) 157px 265px, transparent 266px);
}
.home .content-gioithieu::after {
    width: 128px;
}

.home .content-gioithieu > .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;
}

.home .content-gioithieu .widget:nth-child(1) {
    grid-area: 1 / 2;
}
.home .content-gioithieu .widget:nth-child(2) {
    grid-area: 1 / 1;
}
.home .content-gioithieu .widget-title {
    margin: 0 0 18px;
}

.home .content-gioithieu h2 {
    color: #00a9ef;
    font-size: 42px;
    font-weight: 800;
    line-height: 44px;
}
.home .content-gioithieu h2 > span {
    display: block;
    color: #002c55;
}
.home .content-gioithieu .textwidget p {
    margin: 0 0 15px;
}
.home .content-gioithieu .textwidget p:last-child {
    margin: 22px 0 0;
}
.home .content-gioithieu .textwidget a,
.content-sanpham .more-from-category a,
.content-duan .more-from-category a,
.content-blog .more-from-category a {
    display: inline-block;
    padding: 9px 25px;
    border-radius: 24px;
    background: #002c55;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.home .content-gioithieu .textwidget a:hover,
.content-sanpham .more-from-category a:hover,
.content-duan .more-from-category a:hover,
.content-blog .more-from-category a:hover {
    background: #00a9ef;
    transform: translateY(-3px);
}
.home .content-gioithieu .textwidget a:focus-visible {
    outline: 2px solid #00a9ef;
    outline-offset: 4px;
}

/* Homepage services. */
.content-dichvu {
    padding: 50px 0;
    background: url('../../images/nendv.webp') no-repeat center #f7fbff;
    background-size: cover;
}
.content-dichvu > .wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}
.content-dichvu > .wrap::before,
.content-dichvu > .wrap::after {
    display: none;
}
.content-dichvu .widget_text {
    grid-column: 1 / -1;
}
.content-dichvu h2 {
    color: #002c55;
    font-size: 42px;
    font-weight: 700;
    line-height: 49px;
}
.content-dichvu h2::before {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: 20px;
    background: #00a9ef;
}
.content-dichvu h2 span {
    display: block;
    color: #00a9ef;
}
.content-dichvu .mainposts {
    overflow: hidden;
    border-radius: 20px;
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 12px 32px rgb(0 44 85 / 8%);
}
.content-dichvu .mainposts,
.content-dichvu img {
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.content-dichvu .image-upload:hover .mainposts {
    transform: translateY(-3px);
}
.content-dichvu .mainposts > a {
    display: block;
    overflow: hidden;
}
.content-dichvu img {
    display: block;
    width: 100%;
    margin: 0;
}
.content-dichvu .image-upload:hover img {
    transform: scale(1.04);
}

.content-dichvu a{
    margin: 0;
}
.content-dichvu .box {
    padding: 12px 10px;
    background: #002c55;   
    border-radius: 0 0 20px 20px; 
}
.content-dichvu .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}
.content-dichvu .title,
.content-dichvu .title a {
    color: #fff;
}

/* Homepage articles. */
.content-blog {
    position: relative;
    isolation: isolate;
    padding: 50px 0;
    background: #fbfeff;
}
.content-blog::before,
.content-blog::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(0 169 239 / 14%) 3px, transparent 3.5px) 0 0 / 16px 16px;
    pointer-events: none;
}
.content-blog::before {
    top: 24px;
    left: 12px;
}
.content-blog::after {
    right: 12px;
    bottom: 24px;
    width: 112px;
    height: 192px;
}
.content-blog .widget-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 28px;
}
.content-blog .widget-title {
    grid-area: 1 / 1;
    align-self: center;
    margin-bottom: 12px;
}

.content-blog .widget-title a,
.content-blog .widget-item-title a,
.content-blog li h3 a {
    color: #002c55;
}
.content-blog .widget-item-title a:hover,
.content-blog li h3 a:hover {
    color: #00a9ef;
}
.content-blog .more-from-category {
    grid-area: 1 / 2;
    align-self: center;
    justify-self: end;
    margin-bottom: 12px;
}

.content-blog .main-posts {
    grid-area: 2 / 1;
}
.content-blog .post > a:has(img) {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}
.content-blog .main-posts img {
    display: block;
    width: 100%;
    aspect-ratio: 1.9;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.content-blog .list-info {
    padding-top: 20px;
}
.content-blog .post-info,
.content-blog .post-info time {
    color: #9299a5;
    font-size: 14px;
    line-height: 22px;
}
.content-blog .post-info time {
    padding-left: 24px;
    background: url('../../images/date.png') no-repeat left center / 16px 16px;
}
.content-blog .list-info .post-info {
    margin-bottom: 5px;
}
.content-blog .widget-item-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
}
.content-blog .main-posts + ul {
    grid-area: 2 / 2;
    display: grid;
    align-content: start;
    gap: 24px;
    list-style: none;
}
.content-blog li {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 12px 20px;
}
.content-blog li > a:has(img) {
    grid-area: 1 / 1 / 3 / 2;
    margin: 0;
    overflow: hidden;
    border-radius: 15px;
}
.content-blog li img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.content-blog li .post-info {
    grid-area: 1 / 2;
    margin-top: 10px;
}
.content-blog li h3 {
    grid-area: 2 / 2;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
}

/* Project cards enabled by check_sphot. */
.content-duan {
    padding: 70px 32px;
    background: #fff;
}
.content-duan .has-sphot > .widget-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.content-duan .has-sphot .widget-title {
    grid-area: 1 / 1;
    align-self: center;
    margin-bottom: 16px;
}

.content-duan .more-from-category {
    grid-area: 1 / 2;
    align-self: center;
    justify-self: end;
    margin-bottom: 16px;
}

.content-duan .main-posts:has(.lotek-project) {
    grid-area: 2 / 1;
}
.content-duan .main-posts:has(.lotek-project) + ul {
    grid-area: 2 / 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}
.content-duan .lotek-project {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.content-duan .main-posts .lotek-project {
    aspect-ratio: 5 / 4;
}
.content-duan .lotek-project .post-thumb {
    position: absolute;
    inset: 0;
}
.content-duan .lotek-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.content-duan .lotek-project:hover img,
.content-blog a:hover > img {
    transform: scale(1.04);
}

/*.content-duan .post-thumb::after {
    content: '\2192';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #00a9ef;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.content-duan .post-thumb:hover::after {
    transform: translateX(3px);
    background: #00a9ef;
    color: #fff;
}*/
.content-duan .lotek-project .list-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgb(0 44 85 / 90%));
    color: #fff;
    pointer-events: none;
}

.content-duan .lotek-project .widget-item-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.content-duan .lotek-project .widget-item-title a {
    color: #fff;
    pointer-events: auto;
}

.content-duan .main-posts .widget-item-title a{
    color: #002c55;
}

.content-duan .project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 8px;
    color: inherit;
    font-size: 14px;
    line-height: 20px;
}
.content-duan .project-address::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
    background: currentColor;
    -webkit-mask: url('../../images/contact-location.svg') center / contain no-repeat;
    mask: url('../../images/contact-location.svg') center / contain no-repeat;
}

.content-duan .project-address + .project-area {
    padding-left: 16px;
    border-left: 1px solid currentColor;
}
.content-duan .main-posts .list-info {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 15px;
    border-radius: 20px;
    background: #ffffffbf;
    color: #002c55;
}
.content-duan .main-posts .widget-item-title {
    font-size: 20px;
    line-height: 32px;
}

.content-duan ul .lotek-project .project-meta{
    display: none;
}

.content-duan .main-posts .project-meta {
    font-size: 16px;
    line-height: 14px;
}

/* Product cards enabled by check_sp. */
.content-sanpham .widget-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
}
.content-sanpham .widget-title {
    align-self: center;
    margin-bottom: 28px;
}
.content-sanpham .main-posts {
    grid-area: 2 / 1 / 3 / -1;
    min-width: 0;
}
.content-sanpham .widget-title h2,
.content-duan .widget-title h2,
.content-blog .widget-title h2 {
    padding-left: 12px;
    border-left: 4px solid #00a9ef;
    font-size: 42px;
    font-weight: 800;
    line-height: 32px;
}
.content-sanpham .widget-title h2 a,
.content-duan .widget-title h2 a {
    color: #002c55;
}
.content-sanpham .view-all {
    display: none;
}
.content-sanpham .more-from-category {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-area: 1 / 2;
    align-self: center;
    margin: 0 0 28px;
}
.content-sanpham .more-from-category a {
    order: 1;
}

.content-sanpham{
    padding: 70px 0;
    background: #f9fdff;
}
.home .content-sanpham::before,
.home .content-sanpham::after {
    height: 208px;
    opacity: 0.65;
}
.home .content-sanpham::before {
    top: 40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
}
.home .content-sanpham::after {
    right: 8px;
    bottom: 20px;
}

.caia-post-list-widget .main-posts:not(.slick-initialized):has(> .lotek-product) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.slick-list:has(.lotek-product) {
    overflow: hidden;
    margin: 0 -10px;
    padding: 12px 0;
}
.slick-track:has(> .lotek-product) {
    position: relative;
    display: flex;
}
.lotek-product.slick-slide {
    margin: 0 10px;
}
.content-sanpham .slick-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #18457b;
    border-radius: 50%;
    background: #fff;
    color: #002c55;
    font-size: 0;
    cursor: pointer;
    margin-top: -1px;
}
.content-sanpham .slick-arrow::before {
    content: '';
    width: 18px;
    height: 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h16M12 1l5 5-5 5' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h16M12 1l5 5-5 5' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.content-sanpham .slick-prev::before {
    transform: rotate(180deg);
}
.content-sanpham .slick-arrow:hover {
    background: #18457b;
    color: #fff;
}
.content-sanpham .slick-hidden {
    display: none;
}

/* Video link shortcode: [lotek_video]. */
a.lotek-video-card,
.home .content-slider .noidung a.lotek-video-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: 280px;
    max-width: 100%;
    padding: 9px 10px 9px 16px;
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 20px;
    background: rgb(255 255 255 / 88%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #00578d;
    text-decoration: none;
    text-transform: none;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 6px 24px rgb(0 38 70 / 12%);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
a.lotek-video-card:hover,
.home .content-slider .noidung a.lotek-video-card:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: #fff;
    color: #00578d;
    box-shadow: 0 10px 30px rgb(0 145 235 / 24%);
}
a.lotek-video-card:focus-visible {
    outline: 2px solid #00a9ef;
    outline-offset: 4px;
}
.lotek-video-card-play {
    position: relative;
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #01a9ee;
    color: #fff;
    box-shadow: 0 3px 16px rgb(1 169 238 / 30%);
}
.lotek-video-card-play::before,
.lotek-video-card-play::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgb(1 169 238 / 62%);
    border-radius: 50%;
    pointer-events: none;
    animation: lotek-play-ring 2.8s ease-out infinite;
}
.lotek-video-card-play::after {
    animation-delay: 1.4s;
}
.lotek-video-card-play svg {
    transform: translateX(1px);
    filter: drop-shadow(0 0 3px rgb(0 169 239 / 40%));
    animation: lotek-play-icon 2.8s ease-in-out infinite;
}
@keyframes lotek-play-ring {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    80%, 100% {
        transform: scale(1.75);
        opacity: 0;
    }
}
@keyframes lotek-play-icon {
    0%, 100% {
        transform: translateX(1px) scale(1);
    }
    50% {
        transform: translateX(2px) scale(1.12);
    }
}
.lotek-video-card-text {
    flex: 1;
    min-width: 0;
}
.lotek-video-card-text strong {
    display: block;
    color: #00578d;
    font-size: 14px;
    font-weight: 600;
}
.lotek-video-card-text > span {
    display: block;
    color: #83909c;
    font-size: 14px;
    font-weight: 400;
}
.lotek-video-card > img {
    flex: 0 0 90px;
    width: 90px;
    height: 64px;
    margin: 0;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.lotek-video-card:hover > img,
.lotek-video-card:focus-visible > img {
    transform: scale(1.04);
}

.home .content-slider > .widget:nth-child(2) {
    position: absolute;
    bottom: 10%;
    right: 30px;
    z-index: 1;
    max-width: calc(100% - 60px);
}

@media (max-width: 1100px) {
    .home .content-banner .widget {
        padding: 0 20px;
    }
    .home .content-banner .mainposts {
        gap: 14px;
    }
}

@media (max-width: 960px) {
    .home .content-banner .mainposts {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .home .content-slider {
        margin-top: 55px;
    }
    .home .content-slider .box  {
        min-height: 650px;
        padding: 60px 32px 80px;
    }
    .home .content-slider .box > .title,
    .home .content-slider .box > .title h2 {
        max-width: 480px;
        font-size: 40px;
    }
    .home .content-slider .noidung  {
        max-width: 460px;
    }

    .home .content-gioithieu > .wrap {
        gap: 32px;
    }
    .home .content-gioithieu h2 {
        font-size: 34px;
        line-height: 38px;
    }

    .content-dichvu > .wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .content-dichvu h2 {
        font-size: 42px;
        line-height: 48px;
    }

    .content-blog .widget-wrap {
        grid-template-columns: minmax(0, 1fr);
    }
    .content-blog .more-from-category {
        grid-area: 2 / 1;
    }
    .content-blog .main-posts {
        grid-area: 3 / 1;
    }
    .content-blog .main-posts + ul {
        grid-area: 4 / 1;
    }

    .content-duan .has-sphot > .widget-wrap {
        grid-template-columns: minmax(0, 1fr);
    }
    .content-duan .more-from-category {
        grid-area: 2 / 1;
    }
    .content-duan .main-posts:has(.lotek-project) {
        grid-area: 3 / 1;
    }
    .content-duan .main-posts:has(.lotek-project) + ul {
        grid-area: 4 / 1;
    }
    .content-duan li.lotek-project {
        aspect-ratio: 5 / 4;
    }

    .caia-post-list-widget .main-posts:not(.slick-initialized):has(> .lotek-product) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home .content-banner {
        padding: 0;
        margin-top: 20px;
    }
    .home .content-banner .widget {
        padding: 0 6px;
    }
    .home .content-banner .mainposts > img {
        flex-basis: 28px;
        width: 28px;
        height: auto;
    }
    .home .content-banner .title {
        font-size: 13px;
        line-height: 16px;
    }
    .home .content-banner .noidung,
    .home .content-banner .noidung p {
        font-size: 11px;
        line-height: 15px;
    }

    .home .content-banner .noidung p{
        display: none;
    }

    .home .content-slider .box  {
        min-height: auto;
        padding: 30px 15px 130px;
    }
    .home .content-slider .box > .title,
    .home .content-slider .box > .title h2 {
        max-width: 400px;
        font-size: 30px;
    }

    .home .content-slider .noidung p{
        font-size: 16px;
    }
    .home .content-slider .noidung  {
        max-width: 400px;
        font-size: 15px;
    }
    .home .content-slider .noidung ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home .content-slider .noidung li a {
         display: flex;
        justify-content: center;
        padding: 8px 7px;
        text-align: center;
        font-size: 15px;
    }

    .home .content-banner{ padding: 0;background: linear-gradient(to bottom, transparent 28px, #f4f8fa42 28px); }
    .home .content-banner > .wrap {
        box-shadow: 0 8px 28px rgb(0 44 85 / 17%);
    }
    .lotek-video-card-text > span{ font-size: 12px; }

    .lotek-video-card > img {
        flex: 0 0 70px;
        width: 70px;
        height: 50px;
    }

    .lotek-video-card-play {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .home .content-slider .noidung ul{
        gap:  7px;
    }
    .home .content-slider .widget:nth-child(1) .mainposts > img {
        min-height: 0;
        object-position: 40% center;
    }
    .home .content-slider .widget:nth-child(1) .mainposts::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: rgb(255 255 255 / 32%);
    }

    .home .content-gioithieu {
        padding: 32px 0;
    }
    .home .content-gioithieu > .wrap {
        grid-template-columns: minmax(0, 1fr);
    }
    .home .content-gioithieu .widget:nth-child(1) {
        grid-area: 1 / 1;
    }
    .home .content-gioithieu .widget:nth-child(2) {
        grid-area: 2 / 1;
    }
    .home .content-gioithieu h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .home .content-slider .box > .title > span, .home .content-gioithieu .widget-title > span{
        font-size: 10px;
    }

    .home :is(.content-gioithieu, .content-sanpham)::before, .home :is(.content-gioithieu, .content-sanpham)::after {
        content: '';
        position: absolute;
        z-index: -1;
        width: 80px;
        height: 144px;
        background: radial-gradient(circle, rgb(0 169 239 / 5%) 3px, transparent 3.5px) 0 0 / 16px 16px;
        pointer-events: none;
    }

    .home .content-gioithieu > .wrap{
        gap:  0;
    }

    .home .content-gioithieu .widget:nth-child(1){
        margin-bottom: 30px;
    }

    .content-sanpham{
        padding: 30px 0;
    }

    .content-sanpham .widget-title h2 {
        font-size: 30px;
        line-height: 26px;
    }

    .home .content-slider > .widget:nth-child(2) {
        bottom: 32px;
        left: 15px;
        right: auto;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 600px) {
    .caia-post-list-widget .main-posts:not(.slick-initialized):has(> .lotek-product) {
        grid-template-columns: minmax(0, 1fr);
    }
    .content-sanpham .main-posts:not(.slick-initialized):has(> .lotek-product) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .content-sanpham .main-posts > .lotek-product:nth-child(n+5) {
        display: none;
    }
    .content-sanpham .widget-title {
        grid-column: 1 / -1;
    }
    .content-sanpham .more-from-category {
        grid-area: 3 / 1 / 4 / -1;
        justify-self: center;
        margin: 20px 0 0;
    }

    .content-dichvu .title {
        font-size: 15px;
        line-height: 34px;
        line-height: 1.268;
        font-weight: 600;
    }

    .content-dichvu .box{
        padding: 10px 5px;
    }

    .content-dichvu > .wrap{
        gap:  15px;
    }

    .content-duan,
    .content-dichvu {
        padding: 30px 0;
    }
    
}

@media (max-width: 480px) {
    
    .home .content-banner > .wrap {
        padding: 16px 0;
        border-radius: 20px;
    }

    .content-dichvu > .wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-dichvu h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 7px;
    }

    .content-blog {
        padding: 48px 0;
    }
    .content-blog .widget-title h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .content-blog .widget-item-title {
        font-size: 17px;
        line-height: 24px;
        margin-bottom: 10px;
    }
    .content-blog li {
        gap: 8px 14px;
    }
    .content-blog li h3 {
        font-size: 15px;
        line-height: 20px;
    }
    .content-blog li .post-info {
        margin-top: 0;
    }

    .content-blog .main-posts p{
        font-size: 14px;
    }

    .content-blog .post-info, .content-blog .post-info time{
        font-size: 12px;
    }

    .content-duan .lotek-project .list-info {
        padding: 15px 10px 10px;
    }

    .content-duan li.lotek-project h3{
        font-size: 14px !important;
        line-height: 20px !important;
        font-size: 14px !important;
        text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    }

    .home .site-inner{
        padding: 0;
    }

    .content-blog::before, .content-blog::after {
        content: '';
        position: absolute;
        z-index: -1;
        width: 144px;
        height: 144px;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(0 169 239 / 8%) 3px, transparent 3.5px) 0 0 / 16px 16px;
        pointer-events: none;
    }

    .content-sanpham .widget-title h2, .content-duan .widget-title h2, .content-blog .widget-title h2{
        font-size: 28px;
    }

    .content-duan .more-from-category {
        grid-area: 5 / 1;
        justify-self: center;
        margin: 20px 0 0;
    }

    .content-blog .more-from-category{
        display: none;
    }
    .content-duan .main-posts:has(.lotek-project) + ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-duan .has-sphot > .widget-wrap,
    .content-blog .widget-wrap{
        gap:  0;
    }

    .content-blog .main-posts{
        margin: 20px 0;
    }
    .content-duan .main-posts .widget-item-title {
        font-size: 16px;
        line-height: 22px;
    }
    .content-duan .main-posts .list-info {
        padding: 12px;
    }

    .content-duan .main-posts .project-meta{
        font-size: 13px;
    }

    .content-duan .main-posts .list-info {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .content-duan .main-posts:has(.lotek-project){
        margin-bottom: 20px;
    }

    .content-sanpham .more-from-category a {
        padding: 7px 20px;
        font-size: 15px;
    }

    .home .content-gioithieu h2{
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .content-slider .box,
    .lotek-video-card-play::before,
    .lotek-video-card-play::after,
    .lotek-video-card-play svg {
        animation: none;
    }
    a.lotek-video-card,
    .home .content-slider .noidung a.lotek-video-card,
    .lotek-video-card > img {
        transition: none;
        transform: none;
    }
    a.lotek-video-card:hover,
    .home .content-slider .noidung a.lotek-video-card:hover,
    .lotek-video-card:hover > img,
    .lotek-video-card:focus-visible > img {
        transform: none;
    }
}
