/* Footer Styles - Sticky Footer Implementation */
#footer {
    margin-top: auto;
    flex-shrink: 0;
}
#footer a {
    color: var(--text-color-light);
}
div#footer {
    background: var(--background-color-dark);
    text-align: center;
    color: var(--text-color-light);
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
img#footericon {
    max-width: 224px;
}
.subfooter {
    color: var(--text-color-light-gray);
    font-size: var(--font-size-small);
    margin-bottom: 12px;
}
.subflinks a {
    font-size: var(--font-size-small);
    color: var(--text-color-light-gray);
    margin-left: 5px;
    margin-right: 5px;
}
#footerright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}
#subfooter {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
@media (max-width: 768px) {
    div#footer {
        padding: 20px 10px;
        min-height: 140px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0;
    }
    img#footericon {
        max-width: 180px;
        margin-bottom: 15px;
    }
    #footerright {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    #footerright p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .subflinks {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
}
