html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

.site-header {
    background-color: #0d2d5a;
    color: white;
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-header__center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-header__right {
    display: flex;
    justify-content: flex-end;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    display: block;
}

.site-title {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
}

.page-content {
    flex: 1;
    padding: 20px;
}

.site-footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 14px 12px;
        text-align: center;
    }

    .site-header__left,
    .site-header__center,
    .site-header__right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-header__right {
        display: none;
    }

    .site-logo {
        height: 48px;
        max-width: 100%;
    }

    .site-title {
        font-size: 20px;
        line-height: 1.25;
        max-width: 100%;
        word-break: break-word;
    }

    .page-content {
        padding: 12px;
    }

    .site-footer {
        font-size: 13px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 10px;
        gap: 8px;
    }

    .site-logo {
        height: 42px;
    }

    .site-title {
        font-size: 17px;
    }

    .page-content {
        padding: 10px;
    }
}