html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1 0 auto;
}

.sponsorzy-shortcode {
    width: 100%;
    background: #FFF;
    padding: 1rem 0;
}

.site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #1a1a1a;
    color: #fff;
    padding: 2rem 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.site-footer * {
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Padding zamiast gap, wliczony w max-width */
    box-sizing: border-box;
}

.footer-column {
    padding: 0; /* Usunięto padding, aby kontrolować odstępy na poziomie kontenera */
}

.footer-column-1 {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 1rem;
}

.footer-subcolumn.footer-logo {
    margin-right: 1rem;
}

.footer-subcolumn.footer-text {
    text-align: left;
    flex: 1;
}

.footer-subcolumn.footer-social {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-text p {
    font-family: "Saira Condensed", sans-serif;
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #fff;
}

.footer-column-2,
.footer-column-3,
.footer-column-4,
.footer-column-5,
.footer-column-6 {
    flex: 0 0 12%;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 0.45rem;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    font-family: "Saira Condensed", sans-serif;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #ddd;
    transform: translateX(5px);
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ddd;
    transition: width 0.3s ease;
}

.footer-nav a:hover::before {
    width: 100%;
}

.footer-nav .menu-item-link {
    font-family: "Saira Condensed", sans-serif;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    cursor: default;
}

.footer-nav .menu-item-link:hover {
    color: #fff;
    text-decoration: none;
}

.footer-nav ul {
    margin-left: 1rem;
}

.footer-nav ul li:first-child {
    margin-top: 0.25rem;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: #e40001;
}

.footer-bottom {
    width: 100%;
    background: #151515;
    padding: 1rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.footer-copyright {
    font-family: "Saira Condensed", sans-serif;
    font-size: 0.875rem;
    color: #fff;
    margin: 0;
}

.footer-link {
    font-family: "Saira Condensed", sans-serif;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ddd;
}

@media (max-width: 1200px) {
    .footer-container {
        display: none;
    }

    .site-footer {
        padding: 0;
    }

    .footer-bottom-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }

    .footer-copyright,
    .footer-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        gap: 0.5rem;
        text-align: center;
    }
}