/* ===================================================
   VIA Custom Footer — Style 2
=================================================== */

.via-footer-style-2 {
    padding: 70px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.via-footer-style-2 *,
.via-footer-style-2 *::before,
.via-footer-style-2 *::after {
    box-sizing: border-box;
}

/* ===================================================
   Container
=================================================== */

.via-footer-style-2 .via-cf-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ===================================================
   Brand
=================================================== */

.via-footer-style-2 .via-cf-brand-col {
    text-align: left;
}

.via-footer-style-2 .via-cf-logo {
    margin-bottom: 20px;
}

.via-footer-style-2 .via-cf-logo img {
    display: block;
    max-width: 220px;
    height: auto;
}

.via-footer-style-2 .via-cf-company-name {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.via-footer-style-2 .via-cf-desc {
    margin: 0;
    font-size: 15px;
    opacity: .85;
}

/* ===================================================
   Columns
=================================================== */

.via-footer-style-2 .via-cf-content-col {
    text-align: left;
}

.via-footer-style-2 .via-cf-col-title {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* ===================================================
   List
=================================================== */

.via-footer-style-2 .via-cf-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.via-footer-style-2 .via-cf-item-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.via-footer-style-2 .via-cf-item-row:last-child {
    margin-bottom: 0;
}

/* ===================================================
   Icon
=================================================== */

.via-footer-style-2 .via-cf-item-icon {
    flex: 0 0 20px;
    width: 20px;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;
}

/* ===================================================
   Text / Links
=================================================== */

.via-footer-style-2 .via-cf-item-text {
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;

    /* xử lý email, url, địa chỉ dài */
    overflow-wrap: anywhere;
    word-break: normal;
}

.via-footer-style-2 a.via-cf-item-text:hover {
    color: var(--via-cf-style-2-accent, #00ADB5);
}

/* ===================================================
   Bottom
=================================================== */

.via-footer-style-2 .via-cf-bottom {
    margin-top: 60px;
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

.via-footer-style-2 .via-cf-copyright {
    margin: 0;
    font-size: 14px;
    opacity: .7;
}

/* ===================================================
   Tablet
=================================================== */

@media (max-width: 991px) {

    .via-footer-style-2 .via-cf-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}

/* ===================================================
   Mobile
=================================================== */

@media (max-width: 767px) {

    .via-footer-style-2 {
        padding-top: 50px;
    }

    .via-footer-style-2 .via-cf-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        grid-template-areas:

            "brand brand"
            "content-col-1 content-col-2"
            "content-col-3 content-col-3";
    }

    .via-footer-style-2 .via-cf-brand-col {
        grid-area: brand;
    }
  
    .via-footer-style-2 .via-cf-container > .via-cf-content-col:nth-of-type(2){
        grid-area: content-col-1;
    }

    .via-footer-style-2 .via-cf-container > .via-cf-content-col:nth-of-type(3){
        grid-area: content-col-2;
    }

    .via-footer-style-2 .via-cf-container > .via-cf-content-col:nth-of-type(4){
        grid-area: content-col-3;
    }
  
    .via-footer-style-2 .via-cf-brand-col {
        text-align: center;
    }

    .via-footer-style-2 .via-cf-logo img {
        margin: 0 auto;
    }

    .via-footer-style-2 .via-cf-company-name {
        font-size: 24px;
    }
  
    .via-footer-style-2 .via-cf-item-row {
        justify-content: center;
        text-align: left;
    }

}

/* ===================================================
   Fullscreen Preview
=================================================== */

.via-cf-fullscreen-style_2 {
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    background: transparent;
}

.via-cf-fullscreen-style_2 #via-custom-footer-style-2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 200px;
}

.via-cf-fullscreen-style_2 #via-custom-footer-style-2 .via-cf-container {
    width: 100%;
}

.via-cf-fullscreen-style_2 #via-custom-footer-style-2 .via-cf-bottom {
    margin-top: auto;
    width: 100%;
}