footer[role="contentinfo"] {
  background-color: var(--woodsmoke-50);
  padding: 2rem 0;
  margin-top: 2rem;
}

footer[role="contentinfo"] a {
    color: var(--font-color);
    text-decoration: none;
}

footer[role="contentinfo"] nav > ul {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: auto;
    max-width: 92.625rem;
}

footer[role="contentinfo"] nav > ul > li {
    flex: 1 1 12.5rem;
}

@media (max-width: 480px) {

    footer[role="contentinfo"] {
        margin-top: 1rem;
        padding: 0;
    }

    footer[role="contentinfo"] nav > ul {
        flex-direction: column;
        gap: 0rem;
    }
    
    footer[role="contentinfo"] nav > ul > li {
        border-top: 1px solid var(--woodsmoke-200);
        flex: unset;
        padding: 0 1rem;
        width: calc(100% - 2rem);
    }

    footer[role="contentinfo"] nav > ul > li > label {
        position: relative;
    }

    footer[role="contentinfo"] nav > ul > li > label::before {
        background-image: url(/themes/custom/lovekrakow/icons/ic_menu_link.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 0.5rem;
        content: "";
        display: block;
        height: 1.5rem;
        position: absolute;
        right: 0;
        width: 1.5rem;
    }

    footer[role="contentinfo"] nav > ul > li > input[type="checkbox"] + ul {
       max-height: 0;
       overflow: hidden;
       transition: max-height 0.5s ease;
    }

    footer[role="contentinfo"] nav > ul > li > input[type="checkbox"]:checked + ul {
        max-height: 100vh;
    }

    footer[role="contentinfo"] nav > ul > li > label:has(+ input[type="checkbox"]:checked)::before {
        transform: rotate(90deg);
    }

    footer[role="contentinfo"] nav > ul > li > ul > li {
        line-height: 1.4;
    }

    footer[role="contentinfo"] nav > ul > li > ul > li:last-child{
        margin-bottom: 1rem;
    }

    footer[role="contentinfo"] nav > ul > li > ul > li {
        margin-bottom: 0.25rem;
     }
}

footer[role="contentinfo"] nav > ul > li > label {
    display: block;
    font-size: var(--body-lg--font-size);
    margin: 0.5rem 0;
    min-width: 13.875rem;
    padding: 0.625rem 0;
}

footer[role="contentinfo"] nav > ul > li > input[type="checkbox"] {
    display: none;
}

footer[role="contentinfo"] nav > ul > li ul {
    display: flex;
    flex-direction: column;
    font-size: var(--body-sm--font-size);
    gap: 0.5rem;
}

footer[role="complementary"] {
    background-color: var(--lk-color--logo--fg);
    padding: 2rem 0;   
}

footer[role="complementary"] > div {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: auto;
    max-width: 92.625rem;
}

@media (max-width: 480px) {
    footer[role="complementary"] > div {
        flex-direction: column;
    }
}

footer[role="complementary"] #block-lovekrakow-markawitryny-3 img {
    width: 190px;
    height: auto;
}

footer[role="complementary"] #block-lovekrakow-stopkasocial ul {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

footer[role="complementary"] #block-lovekrakow-stopkasocial ul li {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    border: 1px solid var(--woodsmoke-500);
    display: inline-block;
    border-radius: 50%;
    height: 42px;
    text-indent: -10000px;
    width: 42px;
}

footer[role="complementary"] #block-lovekrakow-stopkasocial ul li a {
    display: block;
    height: 100%;
    width: 100%;
}

footer[role="complementary"]  #block-lovekrakow-markawitryny-3 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer[role="complementary"]  #block-lovekrakow-markawitryny-3 span {
    font-size: var(--body-xs--font-size);
    color: var(--font-color-negative)
}