.custom-footer-three{
    padding: var(--block-margin) 0;
    font: var(--font-body-xsmall);
    background-repeat: repeat;
    background-position: center;
    background-size: 17.8rem auto;
}

.custom-footer-three a:not(:hover, :focus, :active){
    text-decoration: none;
}

.custom-footer-three > div{
	width: var(--wide-width);
    margin-left: auto;
    margin-right: auto;
}

.custom-footer-three > div:not(:last-child){
    padding-bottom: calc(var(--block-margin) / 2);
    margin-bottom: calc(var(--block-margin) / 2);
    border-bottom: 0.1rem solid;
}

.custom-footer-three-main{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--item-column-gap);
    row-gap: var(--row-gap);
}

.custom-footer-three-main-column:not([data-column-width="1"]){
    grid-column: span 2;
}

.custom-footer-three-main-column h2{
    font: var(--font-headline-7);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.custom-footer-three-main-column h2:first-child{
    margin-bottom: 1.6rem;
}

.custom-footer-three-main-column[data-column-type="logo"] .logo{
    display: block;
    width: max-content;
    max-width: 100%;
}

.custom-footer-three-main-column[data-column-type="logo"] .logo:not(:last-child){
    margin-bottom: 3.2rem;
}

.custom-footer-three-main-column[data-column-type="logo"] .logo :is(img, svg){
    width: 100%;
    max-width: 20rem;
    max-height: 4rem;
    object-fit: contain;
}

.custom-footer-three-main-column:is([data-column-type="menu"], [data-column-type="contact"]) ul{
    padding: 0;
}

.custom-footer-three-main-column:is([data-column-type="menu"], [data-column-type="contact"]) ul:last-child{
    margin-bottom: 0;
}

.custom-footer-three-main-column:is([data-column-type="menu"], [data-column-type="contact"]) ul li{
    display: block;
    list-style: none;
}

.custom-footer-three-main-column:is([data-column-type="menu"], [data-column-type="contact"]) ul li a{
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
}

.custom-footer-three-main-column[data-column-type="contact"] ul.social-media li a :is(svg, img){
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 0.5em;
}

.custom-footer-three-main-column > *:last-child{
    margin-bottom: 0;
}

.custom-footer-three-copyright{
    font: var(--font-body-xsmall);
}

.custom-footer-three-copyright .social-media{
    padding: 0;
    margin: 0;
    display: flex;
    column-gap: calc(var(--item-column-gap) / 2);
    row-gap: var(--item-row-gap);
}

.custom-footer-three-copyright .social-media li{
    display: block;
    list-style: none;
}

.custom-footer-three-copyright .social-media li a{
    display: block;
}

.custom-footer-three-copyright .social-media li a svg{
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    flex-shrink: 0;
}

.custom-footer-three-copyright nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--item-column-gap);
    row-gap: var(--item-row-gap);
    align-items: center;
}

.custom-footer-three-copyright nav ul li{
    display: block;
    list-style: none;
}

.custom-footer-three-copyright p{
    margin: 0;
}

@media (max-width: 767px){
    .custom-footer-three-main-column[data-column-type="logo"]:first-child{
        grid-column: span 2;
    }

    .custom-footer-three-copyright .social-media,
    .custom-footer-three-copyright nav{
        margin-bottom: 1em;
    }

    .custom-footer-three-copyright .social-media,
    .custom-footer-three-copyright nav ul{
        justify-content: center;
    }

    .custom-footer-three-copyright p{
        text-align: center;
    }
}

@media (min-width: 768px){
    .custom-footer-three-main{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        font: var(--font-body-small);
    }

    .custom-footer-three-main-column[data-column-width="2"]{
        grid-column: span 2;
    }

    .custom-footer-three-main-column:is([data-column-width="3"], [data-column-width="4"], [data-column-width="5"], [data-column-width="6"]){
        grid-column: span 3;
    }

    .custom-footer-three-main-column h2:first-child{
        min-height: 4rem;
        display: flex;
        align-items: flex-end;
    }

    .custom-footer-three-copyright{
        display: flex;
        column-gap: var(--item-column-gap);
        row-gap: var(--row-gap);
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        font: var(--font-body-small);
    }

    .custom-footer-three-copyright nav{
        margin-right: auto;
    }
}

@media (min-width: 1200px){
    .custom-footer-three-main{
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .custom-footer-three-main-column[data-column-width="4"]{
        grid-column: span 4;
    }

    .custom-footer-three-main-column[data-column-width="5"]{
        grid-column: span 5;
    }

    .custom-footer-three-main-column[data-column-width="6"]{
        grid-column: span 5;
    }
}