/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}



/* =====================================
   TIMELINE TIẾN ĐỘ DỰ ÁN
   ===================================== */

.timeline-tiendo {
    width: 100%;
    padding: 3px 0 15px;
    overflow: hidden;
}

/* Khung timeline */
.timeline-tiendo .timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Đường timeline */
.timeline-tiendo .timeline-track::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 8px;
    height: 3px;
    background: #ed1e24;
    z-index: 1;
}

/* Từng mốc */
.timeline-tiendo .timeline-item {
    position: relative;
    flex: 1;
    min-width: 0;
    text-align: center;
    z-index: 2;
}

/* Chấm tròn */
.timeline-tiendo .timeline-dot {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ed1e24;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ed1e24;
    z-index: 3;
}

/* Nội dung */
.timeline-tiendo .timeline-content {
    padding: 0 6px;
}

/* Quý */
.timeline-tiendo .timeline-date {
    margin-bottom: 4px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

/* Nội dung tiến độ */
.timeline-tiendo .timeline-title {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Hover */
.timeline-tiendo .timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    transition: all 0.25s ease;
}

.timeline-tiendo .timeline-item:hover .timeline-date {
    color: #ed1e24;
    transition: all 0.25s ease;
}



/* =====================================
   MOBILE
   ===================================== */

@media (max-width: 549px) {

    .timeline-tiendo {
        overflow-x: auto;
        overflow-y: hidden;
        padding: 3px 0 15px;
        /* Cho phép vuốt ngang mượt */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .timeline-tiendo::-webkit-scrollbar {
        display: none;
    }

    /*
     * Giữ timeline đủ rộng để 6 mốc
     * không bị chen chúc trên điện thoại
     */
    .timeline-tiendo .timeline-track {
        width: 724px;
        min-width: 727px;
        padding: 0 15px;
        margin-left: -35px;
    }

    .timeline-tiendo .timeline-track::before {
        left: 40px;
        right: 40px;
        top: 6px;
        height: 2px;
    }

    .timeline-tiendo .timeline-dot {
        width: 15px;
        height: 15px;
        margin-bottom: 15px;
        border-width: 2px;
    }

    .timeline-tiendo .timeline-date {
        font-size: 13px;
    }

    .timeline-tiendo .timeline-title {
        font-size: 12px;
    }

    .timeline-tiendo .timeline-content {
        padding: 0 5px;
    }

}
.icon-box.featured-box.icon-chudautu.icon-box-center.text-center {
    background-color: #ed1e240f;
    border-radius: 7px;
    padding: 15px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 14%);
}
.icon-chudautu p {
    margin-top: -15px;
}


/* ===== AUTHOR BOX - SRT DU AN SUN GROUP ===== */
.entry-author.author-box {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    margin: 30px 0;
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #ed1e24;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: box-shadow .25s ease;
}

.entry-author.author-box:hover {
    box-shadow: 0 6px 22px rgba(237, 30, 36, 0.09);
}

/* Hàng chính: ảnh + nội dung */
.entry-author.author-box > .flex-row {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start !important;
    gap: 20px;
    width: 100%;
    margin: 0 !important;
}

/* Cột ảnh */
.entry-author.author-box > .flex-row > .flex-col.mr.circle {
    flex: 0 0 90px !important;
    width: 90px !important;
    max-width: 90px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Khung ảnh */
.entry-author.author-box .blog-author-image {
    width: 90px;
    height: 90px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #ed1e24;
    box-sizing: border-box;
}

.entry-author.author-box .blog-author-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    border-radius: 50%;
}

/* Cột nội dung */
.entry-author.author-box > .flex-row > .flex-col.flex-grow {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
    padding: 0 !important;
    margin: 0 !important;
}

/* Tên tác giả */
.entry-author.author-box h5.author-name {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .5px;
    color: #222;
}

.entry-author.author-box h5.author-name a {
    color: inherit;
    text-decoration: none;
}

.entry-author.author-box h5.author-name a:hover {
    color: #ed1e24;
}

/* Mô tả */
.entry-author.author-box p.author-desc {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

/* Social: nằm dưới mô tả, không bị lệch */
.entry-author.author-box .author-socials {
    display: flex !important;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

.entry-author.author-box .author-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none !important;
    margin: 0 !important;
    padding: 6px 13px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    color: #444;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    transition: all .2s ease;
}

.entry-author.author-box .author-socials a:hover {
    background: #ed1e24;
    border-color: #ed1e24;
    color: #fff;
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {
    .entry-author.author-box {
        padding: 16px;
        margin: 24px 0;
        border-radius: 10px;
    }

    .entry-author.author-box > .flex-row {
        gap: 12px;
    }

    .entry-author.author-box > .flex-row > .flex-col.mr.circle {
        flex: 0 0 60px !important;
        width: 60px !important;
        max-width: 60px !important;
    }

    .entry-author.author-box .blog-author-image {
        width: 60px;
        height: 60px;
    }

    .entry-author.author-box h5.author-name {
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .entry-author.author-box p.author-desc {
        font-size: 13px;
        line-height: 1.7;
    }

    .entry-author.author-box .author-socials {
        gap: 6px;
        margin-top: 10px !important;
    }

    .entry-author.author-box .author-socials a {
        padding: 5px 10px;
        font-size: 11px;
    }
}