/*
Theme Name: Flatsome Child
Description: Child theme for Flatsome Theme - Optimized for PTN Logistics (BG-PTN-2026-SPEED)
Author: UX Themes / VietLamCoder
Template: flatsome
Version: 3.19.12
*/

/*************** CUSTOM CSS FOR PTN LOGISTICS ***************/
/* Zero-Horizontal-Overflow & Mobile Viewport Integrity */
html, body, #wrapper, #main {
    overflow-x: clip;
    max-width: 100vw;
}
.rank-math-breadcrumb {
    max-width: 100% !important;
    overflow-x: hidden;
    word-wrap: break-word;
}

.custom-language-divider {
    color: #ccc;
    font-weight: bold;
    display: inline-block;
    align-self: center;
}
.social-share-buttons .post-tags strong {
    color: #7b7b7b;
    font-size: 15px;
}
.rmp-rating-widget.js-rmp-rating-widget,
.rmp-rating-widget.js-rmp-rating-widget.rmp-rating-widget--has-rated {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.article-inner footer.entry-meta.text-left {
    display: none;
}
.social-share-buttons .post-tags a.post-tag {
    color: #5e5e5e;
    font-size: 15px;
}
.social-share-buttons .post-tags a.post-tag:hover {
    color: #0084ff;
}
.slider-wrapper.relative.box-slider.border-banner-box.mobile-line-3 .flickity-viewport .flickity-slider {
    height: 100%;
    position: absolute;
    width: 100%;
    margin-left: 0.4rem !important;
    margin-right: 10px !important;
}
#content .section0 .row .col .flickity-viewport .flickity-slider > .banner {
    max-width: 24% !important;
    margin: 0 5px !important;
}
.hinhanhkhachanglogo,
.kk-star-ratings.kksr-auto.kksr-align-left.kksr-valign-top,
.thongtincotmotlichsu,
.blog-share.text-center,
.blog-wrapper.blog-single.page-wrapper aside#block_widget-2 {
    display: none;
}
img.attachment-medium.size-medium.wp-post-image.lazy-load-active,
img.attachment-medium.size-medium.wp-post-image {
    object-fit: cover;
    width: 100%;
    height: auto;
}
span.counter.couen {
    color: aliceblue !important;
}
@-webkit-keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}
.slider-glleray {
    display: flex;
    align-items: center;
    height: 150px;
}
.home-gallery-slider {
    background: white;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 120px;
}
.home-gallery-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.home-gallery-slider::before {
    left: 0;
    top: 0;
}
.home-gallery-slider .slide-gallery-item {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: flex;
    width: 25%;
}
.social-share-buttons {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between !important;
    background: #dcdcdc80;
    padding: 24px;
    border-radius: 8px;
}
.social-share-buttons-a {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.social-share-buttons-a p {
    margin-right: 13px;
    color: #141414;
    font-size: 17px;
}
a.btn-copy-link {
    margin-right: 11px;
}
.post-tags {
    width: 50%;
}
.rmp-rating-widget {
    border-bottom: 1px solid #00000000 !important;
    border-top: 1px solid #ececec;
    padding: 10px 0;
}
.entry-meta.uppercase.is-xsmall {
    font-size: 14px;
}
a.btn-share-fb,
a.btn-share-linkedin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.article-inner h3 strong,
.article-inner h4 strong,
.article-inner h5 strong {
    color: #005baa;
}
#toc-sidebar a.active {
    color: rgb(225, 59, 54);
    font-weight: bold;
}
.article-inner h2 {
    color: rgb(225, 59, 54);
}
div#toc-sidebar ul li a {
    color: #000000;
}
.header .header-nav-main.nav li.lang-item.current-lang a {
    color: #e33a36;
    border-bottom: 1px solid #e33a36;
    padding-bottom: 2px;
    margin-top: -8px;
}
.header .header-nav-main.nav li.lang-item.current-lang a span {
    margin-left: 0rem !important;
}
.header-inner div#logo,
.header-inner .flex-col.hide-for-medium.flex-right {
    width: 17% !important;
}
html body section.section.cuz-breakcrumb {
    padding: 4px 0 !important;
}
.content-area.page-wrapper .row.row-main .large-12.col {
    padding-top: 0px;
    padding-bottom: 0px;
}
span.title-1.text-primary-900 {
    line-height: 150%;
}
.content-area.page-wrapper {
    padding-top: 0px !important;
}
.row.trangthongtinbloglayout .col.small-12.large-12 {
    margin-top: 5px;
    margin-bottom: 17px;
}
@media (max-width: 549px) {
    .social-share-buttons {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        justify-content: space-between !important;
        background: #dcdcdc80;
        padding: 24px !important;
        border-radius: 8px;
    }
    .post-tags {
        width: 100%;
    }
    section.section.sectionthongtinblog.mac .blog-cn .box-text.text-center {
        margin-top: 5px;
    }
    .social-share-buttons-a {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 8px;
        align-items: flex-start;
    }
    .social-share-buttons-a p {
        margin-right: 13px;
        color: #141414;
        font-size: 17px;
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }
    #content .section0 .row .col .flickity-viewport .flickity-slider > .banner {
        max-width: 96% !important;
        margin-right: 10px !important;
    }
    #content .section0 .row .col .flickity-viewport .flickity-slider > .banner .img.has-hover.x.md-x.lg-x.y.md-y.lg-y,
    #content .section0 .row .col .flickity-viewport .flickity-slider > .banner .img.has-hover.x.md-x.lg-x.y.md-y.lg-y .img-inner.image-zoom.image-cover.dark {
        height: 230px;
    }
    .header-main {
        height: 70px !important;
    }
    .thongtinblog .flickity-viewport {
        height: 390px !important;
    }
    .row.trangthongtinbloglayout .col.small-12.large-12 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    section.section.sectionthongtinblog,
    .col.medium-12.small-12.large-5,
    .col.show-for-small.medium-5.small-12.large-5 {
        padding-left: 20px;
        padding-right: 20px;
    }
    .off-canvas-left.mfp-ready .mfp-content {
        top: 70px !important;
        box-shadow: none;
        border-top: 1px solid #ccc;
    }
    .off-canvas.mfp-ready .mfp-close {
        background-color: #fff;
        color: #333;
        left: 11px !important;
        top: 15px !important;
        opacity: 1;
        border-radius: 25px;
        font-size: 35px;
        width: 32px !important;
        height: 32px !important;
    }
    nav.rank-math-breadcrumb p {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
    }
    nav.rank-math-breadcrumb a,
    nav.rank-math-breadcrumb .separator,
    nav.rank-math-breadcrumb .last {
        display: inline-block;
        flex-shrink: 0;
    }
    nav.rank-math-breadcrumb p::-webkit-scrollbar {
        display: none;
    }
    .footer-secondary.pull-right {
        text-align: center !important;
    }
    .row.row-small.align-equal.mobile-2 {
        padding-left: 15px;
    }
    .footer-wrapper .col.medium-4.small-12.large-4 {
        padding-left: 20px;
    }
    section.section.sectionthongtinblog.mac img.attachment-medium.size-medium.wp-post-image.lazy-load-active,
    section.section.sectionthongtinblog.mac img.attachment-medium.size-medium.wp-post-image {
        height: 135px;
        object-fit: fill;
    }
    section.section.sectionthongtinblog.mac .box-text.text-center {
        margin-top: -95px;
    }
    section.section.sectionthongtinblog.mac .col.post-item {
        height: 320px !important;
    }
    .home-gallery-slider .slide-gallery-item {
        width: 33%;
    }
}
@media (min-width: 549px) {
    ol.flickity-page-dots {
        display: none;
    }
    .col.medium-3.small-12.large-3 .col-inner,
    .large-3.col #secondary {
        position: sticky;
        top: 100px;
        z-index: 1000;
    }
}
.col.grid-col .col-inner:hover h4 strong {
    color: rgb(225, 59, 54);
}
.khachhangdoitac .img-inner.image-cover.dark img.attachment-original.size-original.lazy-load-active,
.khachhangdoitac .img-inner.image-cover.dark img.attachment-original.size-original {
    object-fit: cover;
    width: 270px !important;
    height: 90px !important;
    margin: 0px auto;
}
.cat-label {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.6rem !important;
    max-width: 215px;
    font-size: 0.85rem !important;
    padding: 4px 22px;
    background-color: #eee;
    border-radius: 8px;
    color: #080808;
    font-weight: bold;
    margin-bottom: 10px !important;
}
.trangthongtinbloglayout {
    gap: 20px;
}
@media (min-width: 1030px) {
    .trangthongtinbloglayout .col.medium-8.small-12.large-8 {
        min-width: 73%;
    }
    .trangthongtinbloglayout .col.medium-3.small-12.large-3 {
        width: 25%;
    }
}
@media screen and (min-width: 850px) {
    .trangthongtinbloglayout .col.medium-8.small-12.large-8 {
        flex-basis: 73%;
        max-width: 73%;
    }
}
@media (max-width: 850px) {
    .trangthongtinbloglayout .col.medium-8.small-12.large-8 {
        width: 100% !important;
    }
}