body {
    margin: 0;
    font-family: 'Noto Serif', serif;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    /* padding: 20px; */
}

footer {
    background-color: #f0f0f0;
    color: #333;
    padding: 30px 20px;
    margin-top: auto;
    font-size: 0.9em;
}

.copyright-txt {
    margin: 0;
    background-color: #f6a11a;
    padding: 2px 10px;
    color: #222;
    font-size: 0.8em;
}

.modifiedby-txt a {
    margin: 0;
    /* background-color: #ffc76c; */
    padding: 2px 0px;
    color: #222;
    font-size: 0.9em;
}

.footer {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    gap: 30px;
    margin: auto;
}

.footer-legal-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-section-title {
    margin-top: 0;
}

.footer-links-section {
    display: flex;
    flex-direction: column;
    line-height: 1.9;

    .footer-link {
        text-decoration: none;
        color: #333;
    }

    .footer-link:hover {
        text-decoration: underline;
        color: #b67712;
    }
}

.footer-platform {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-platform img {
    width: 160px;
    height: auto;
}

.license-section {
    font-size: 0.85em;
    color: #555;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 15px;
}

.license-txt a {
    word-break: break-word;
    color: #555;
}

.license-txt a:hover {
    color: #b67712;
}

.license-img {
    max-width: 100px;
    height: auto;
}

.logos-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.logo-block img {
    max-width: 100px;
    height: auto;
    max-height: 100px;
}

address {
    font-style: normal;
    line-height: 1.7;
}

.ojs-logo {
    max-width: 100px;
}

@media (max-width: 769px) {
    .ojs-logo {
        max-width: 80px;
    }



    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr auto;
    }
}

@media (max-width: 426px) {
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logos-section {
        justify-content: space-evenly;
        margin-bottom: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer-platform {
        align-items: center;
        margin-top: 20px;
    }

    .footer-platform img {
        width: 100px;
    }

    .logo-block img {
        max-width: 90px;
    }
}
