/* Custom Footer Styles replacing Tailwind */
.custom-footer {
    color: #000;
    font-family: inherit;
}


.cf-top {
    background-color: #F5F5F5;
}

.cf-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 20px;
}

@media (min-width: 640px) {
    .cf-container {
        padding: 16px 40px;
    }
}

@media (min-width: 1024px) {
    .cf-container {
        flex-direction: row;
        gap: 24px;
        padding: 16px 80px;
    }
}

.cf-support {}

.cf-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .cf-title {
        margin-bottom: 4px;
    }
}

.cf-hotline {
    color: #FF0000;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
}

.cf-hotline:hover {
    text-decoration: underline;
}

.cf-opacity-0 {
    opacity: 0;
}

.cf-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 12px;
}

@media (min-width: 1024px) {
    .cf-support-grid {
        grid-template-columns: 214px 214px;
        gap: 4px;
        font-size: 14px;
    }
}

.cf-support-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.cf-support-link:hover {
    color: #FF0000;
}

.cf-follow-us {}

@media (min-width: 1024px) {
    .cf-follow-us {
        text-align: right;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.cf-follow-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .cf-follow-title {
        margin-bottom: 16px;
    }
}

.cf-social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 1024px) {
    .cf-social-links {
        justify-content: flex-end;
        gap: 8px;
    }
}

.cf-social-links a {
    display: inline-block;
}

.cf-social-icon {
    height: auto;
    object-fit: cover;
    width: 30px;
}

/* BOTTOM FOOTER */
.cf-bottom {
    background-color: #DCDBDB;
    padding-bottom: 50px;
}

.cf-bottom-container {
    gap: 16px;
}

@media (min-width: 1024px) {
    .cf-bottom-container {
        gap: 24px;
    }
}

.cf-bottom-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .cf-bottom-left {
        gap: 16px;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 9px;
    }
}

.cf-bct-img {
    width: 120px;
    height: auto;
}

.cf-copyright {
    display: none;
    font-size: 14px;
    margin-top: auto;
}

@media (min-width: 1024px) {
    .cf-copyright {
        display: block;
    }
}

.cf-bottom-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .cf-bottom-right {
        max-width: 700px;
        text-align: right;
        font-size: 14px;
    }
}

.cf-company-info {
    margin: 0;
}

.cf-company-name {
    display: block;
    text-transform: uppercase;
}

.cf-company-desc {
    display: block;
}

.cf-copyright-mobile {
    display: block;
    font-size: 14px;
    margin-top: 16px;
}

@media (min-width: 1024px) {
    .cf-copyright-mobile {
        display: none;
    }
}

.cf-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .cf-legal-links {
        justify-content: flex-end;
        gap: 16px;
    }
}

.cf-legal-link {
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.cf-legal-link:hover {
    color: #DC2626;
    /* red-600 */
}

.cf-separator {
    color: inherit;
}

/* Override gs18 defaults just in case */
.custom-footer p,
.custom-footer h4,
.custom-footer a,
.custom-footer div {
    box-sizing: border-box;
}
