/* =====================================================
   ẨN ABSOLUTE FOOTER CỦA FLATSOME
   ===================================================== */
.absolute-footer {
    display: none !important;
}

/* =====================================================
   CUSTOM FOOTER
   ===================================================== */

.child-footer {
    background: #1a2332;
    color: #cbd5e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.child-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 28px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Cột brand */
.cf-brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.cf-brand-desc {
    font-size: 14px;
    color: #90a4ae;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

/* Tiêu đề cột */
.cf-col-title,
.cf-widget-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 18px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #2d3e55 !important;
}

/* Menu links */
.cf-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cf-menu li {
    margin-bottom: 10px !important;
}

.cf-menu li a {
    color: #90a4ae !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color .2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.cf-menu li a::before {
    content: '›';
    font-size: 16px;
    color: #3b82f6;
    line-height: 1;
}

.cf-menu li a:hover {
    color: #fff !important;
}

/* Widget trong footer */
.cf-brand-widgets { margin-top: 1px; }

/* Kích thước ảnh logo trong footer — chỉnh max-width và height bên dưới */
.cf-col-brand img {
    max-width: 180px !important;
    height: auto !important;
    width: auto !important;
    display: block;
    margin-bottom: 12px;
}

.cf-widget p {
    color: #90a4ae;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.cf-widget a {
    color: #90a4ae !important;
    text-decoration: none !important;
}

.cf-widget a:hover {
    color: #fff !important;
}

/* Bottom bar */
.cf-bottom {
    background: #111b29;
    border-top: 1px solid #2d3e55;
}

.cf-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.cf-copy {
    font-size: 13px;
    color: #607d8b;
}

.cf-bottom-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 20px !important;
}

.cf-bottom-menu li a {
    color: #607d8b !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color .2s !important;
}

.cf-bottom-menu li a:hover {
    color: #90a4ae !important;
}

/* Responsive */
@media (max-width: 768px) {
    .child-footer-inner {
        grid-template-columns: 1fr;
        padding: 36px 20px 28px;
        gap: 28px;
    }
    .cf-bottom-inner {
        padding: 14px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .cf-bottom-menu {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
}
