/*
Theme Name: The Thread
Theme URI: https://thethread.wedlakebell.com
DESCRIPTION: Wedlake Bell / The Thread custom Wordpress theme
Author: Michael Stott / realityhouse.co.uk
Author URI: https://realityhouse.co.uk
Version: 0.1
*/

/** reset **/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
    border: 0;
    outline: none;
    font-size: 100%;
    background: transparent;
    vertical-align: baseline;
    margin: 0;
    padding: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Italic.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Regular.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Bold.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-BoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-MediumItalic.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Medium.woff2') format('woff2'),
        url('/wp-content/themes/RH-WB-thread/fonts/DMSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Melange';
    src: url('/wp-content/themes/RH-WB-thread/fonts/melange-bold-webfont.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --white: #fff;
    --brown: #2C2A29;
    --tan: #D9BBA5;
    --tan-light: #F5EEE8;
    --red: #AB2328;
    --gold: #9D8B60;
    --dmsans: "DM Sans", sans-serif;
    --melange: "Melange", serif;
}

@view-transition {
    navigation: auto;
}

* {
    font-family: var(--dmsans);
    color: var(--brown);
    text-underline-offset: 2px;
}

section {
    padding: 3rem 0;
}

h1 {
    font-family: var(--melange);
    font-size: 2.75rem;
    line-height: 3.1rem;
    letter-spacing: 2%;
    text-transform: uppercase;
}

h2 {
    font-family: var(--melange);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 120%;
    letter-spacing: 5%;
    text-transform: uppercase;
}

h3 {
    font-family: var(--DMSans);
    font-size: 1.125rem;
    line-height: 130%;
    font-weight: 500;
}

p {
    font-size: 0.813rem;
}

a,
li,
small {
    font-family: var(--dmsans);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* SCROLLBAR */
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
    width: 12px;
    width: 10px;
}

body::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb {
    background-color: var(--red);
    background-color: var(--brown);
}

body::-webkit-scrollbar-track,
body *::-webkit-scrollbar-track {
    background: var(--tan);
    background: var(--white);
}

body *::-webkit-scrollbar {
    width: 6px;
    width: 4px;
}

body *::-webkit-scrollbar-thumb {
    background-color: var(--red);
    background-color: var(--red);
}

body *::-webkit-scrollbar-track {
    background: var(--tan);
    background: var(--white);
}

/* HEADER */

.site-header .site-header__nav {
    border-bottom: 1px solid var(--red);
    padding: 9px 24px 6px 24px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.site-header .site-header__nav nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.site-header .site-header__nav nav ul li {
    margin: 0;
    padding: 0;
    line-height: 150%;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.site-header .site-header__nav nav ul li a {
    text-decoration: none;
    padding: 3px 0 2px 0;
    border-bottom: 1px solid transparent;
}

.site-header .site-header__nav nav ul li a:hover {
    border-color: var(--brown);
}

.site-header .site-header__inner {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--red);
}

.site-header .site-header__branding {
    display: block;
    text-align: center;
    position: relative;
}

.site-header .site-header__branding a img {
    vertical-align: middle;
}

.site-header .site-header__branding .site-header__icon {
    position: absolute;
    left: 1.5rem;
}

/* HERO */

.home-hero {
    height: 650px;
    background-blend-mode: multiply;
    margin-top: 0;
    padding: 0;
}

.home-hero .home-hero__content {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(47, 47, 47, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
}

.home-hero .home-hero__content h1 {
    max-width: 450px;
    color: var(--white);
}

/* ARTICLES */
.home-articles .container {
    display: flex;
    Justify-content: space-between;
    gap: 30px;
}

.home-articles .container .featured.article,
.home-articles .container .article-grid {
    border-top: 1px solid var(--red);
}

.home-articles .container h2 {
    padding: 2rem 0;
}

.home-articles .container .featured.article {
    width: 60%;
}

.home-articles .container .article-grid {
    width: 40%;
    border-bottom: 1px solid var(--red);
    padding-bottom: 1rem;
}

.home-articles .article-grid__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article__details {
    display: flex;
    flex-direction: column;
}

.article-date {
    color: var(--red);
    text-transform: uppercase;
}

.article-author {
    color: var(--red);
    font-weight: bold;
    text-transform: uppercase;
}

.article__details p {
    line-height: 150%;
    letter-spacing: 10%;
}

.home-articles a,
.article__details a {
    text-decoration: none;
}

.article__title {
    padding-top: 0.5rem;
}

.home-articles .featured.article__title {
    font-size: 1.875rem;
    line-height: 121%;
    letter-spacing: -1%;
    padding-bottom: 1rem;
}

.home-articles .article-grid .article {
    display: flex;
    gap: 15px;
}

.home-articles .article-grid .article__details {
    width: 50%;
}

.home-articles .article-grid .view-all-articles {
    margin-top: 20px;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-align: right;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
}

.home-articles .article-grid .article__image {
    width: 50%;
}

.article__image img {
    width: 100%;
    height: auto;
}

.building-safety .section-heading h2 {
    font-size: 1.75rem;
    text-align: center;
    padding-bottom: 2rem;
}

.building-safety .article {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.building-safety .article-author {
    display: none;
}

.building-safety .swiper-button-next,
.building-safety .swiper-button-prev {
    position: relative;
    width: 48px;
    height: 48px;
    top: 0;
    margin-top: 2rem;
    display: inline-block;
}

.building-safety .swiper-button-next::after,
.building-safety .swiper-button-prev::after {
    display: none;
}

.building-safety .swiper-button-next {
    background-image: url('/wp-content/themes/RH-WB-thread/assets/img/arrow-right-grey-dark.svg');
    margin-left: 1rem;
}

.building-safety .swiper-button-prev {
    background-image: url('/wp-content/themes/RH-WB-thread/assets/img/arrow-left-grey-dark.svg');
    margin-right: 1rem;
    left: 0;
}

.construction-phase .container {
    background-color: var(--brown);
}

.construction-phase__grid {
    display: flex;
}

.construction-phase__content {
    width: 50%;
    padding: 2.5rem;
}

.construction-phase__heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.construction-phase__heading h2 {
    color: var(--white);
    font-size: 1.75rem;
}

.construction-phase__heading a {
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.813rem;
}

.construction-phase__articles {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.construction-phase__article {
    padding-bottom: 3rem;
    border-bottom: solid 1px #898989;
}

.construction-phase__article h3 a {
    color: var(--white);
    text-decoration: none;
}

.construction-phase__heading span {
    font-family: var(--melange);
    color: #898989;
}

.construction-phase__image {
    width: 50%;
    height: auto;
}

.construction-phase__image img {
    width: 100%;
}

.meet-the-authors.container {
    border-top: solid 1px var(--red);
}

.meet-the-authors h2 {
    font-size: 1.75rem;
    text-align: center;
    padding-bottom: 2rem;
}

.meet-the-authors .people-grid {
    display: flex;
    justify-content: space-evenly;
}

.meet-the-authors .people-grid .person-card {
    width: 14%;
}

.meet-the-authors .people-grid .person-card a {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-decoration: none;
}

.meet-the-authors .people-grid .person-card img {
    width: 80%;
    margin: 0 auto;
    border-radius: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
}

.meet-the-authors .people-grid .person-card .person-card__name {
    color: var(--red);
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 10%;
}

.meet-the-authors .people-grid .person-card .person-card__job-title {
    display: none;
}

/* INSIGHTS PAGE */

.thread-articles .article-grid-title {
    margin-bottom: 1.5rem;
}

.thread-articles .article-swiper .article-date,
.thread-articles .article-swiper .article-author {
    margin-bottom: 0.5rem;
}

.thread-articles .article-swiper .article__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5rem;
}

.thread-articles .article-swiper .article__title a {
    text-decoration: none;
}

.thread-articles .article-swiper .article .article-card__excerpt {
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.thread-articles .article-swiper-navigation {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.thread-articles .article-swiper-navigation .article-swiper-pagination {
    font-weight: 700;
    width: fit-content;
}

.thread-articles .article-swiper-navigation .article-swiper-pagination,
.thread-articles .article-swiper-navigation .article-swiper-pagination span {
    color: var(--red);
}

.thread-articles .article-swiper-navigation .article-swiper-button-next,
.thread-articles .article-swiper-navigation .article-swiper-button-prev {
    font-size: 3rem;
    color: var(--red);
    height: auto;
    cursor: pointer;
}

.thread-articles .article-swiper-navigation .swiper-button-disabled {
    opacity: 0.5;
}

.article-swiper .article-swiper-slide {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 0;
}

.article-swiper .swiper-wrapper {
    position: relative;
}

.article-swiper .swiper-wrapper::before,
.article-swiper .swiper-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--red);
    pointer-events: none;
    z-index: 2;
}

.article-swiper .swiper-wrapper::before {
    top: calc(33.333333% - 10px);
}

.article-swiper .swiper-wrapper::after {
    top: calc(66.666667% - 10px);
}

/* PEOPLE */

.people-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.people-card {
    position: relative;
    height: 100%;
}

.people-card__image {
    overflow: hidden;
}

.people-card__image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.people-card__content {
    padding: 12px;
}

.people-list li h2 {
    font-family: var(--DMsans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .1em;
    line-height: 135%;
    padding: 0 0 3px;
    font-size: .85rem;
}

.people-card__role,
.people-card__service {
    font-size: .9rem;
    padding: 0;
    width: 100%;
}

.people-card__role {
    padding-bottom: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.people-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.people-card:hover .people-card__image img {
    transform: scale(1.05);
}

.people-card:hover .people-card__content h2 {
    color: var(--red);
    text-decoration: underline;
}

/* PERSON PAGE */

#people_single {
    padding: 0;
}

#people_single_main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


#people_single_main>.container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

#people_single_main_img {
    width: 32.4%;
    position: sticky;
    top: 0;
    height: 100svh;
    line-height: 7px;
}

#people_single_main_img img {
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    margin-left: -24px;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

#people_single_main_info {
    box-sizing: border-box;
    width: 67.6%;
    padding: 36px 0 60px 40px;
      line-height: 1.7rem;
}

#people_single_main_info h1 {
    font-size: 3.125rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-family: var(--dmsans);
    color: var(--red);
    margin-bottom: 30px;
    padding-top: 85px;
}

#people_single_main h2.people_h2 {
    font-family: var(--dmsans);
    font-size: .85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: .1em;
    line-height: inherit;
    padding: 0 0 15px;
}

#people_single_main h2.people_h2 .role {
    display: block;
    font-weight: 500;
    text-transform: uppercase;
}

.people_contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1px 20px;
    padding: 0 0 30px;
    margin: 0;
    list-style: none;
    justify-content: space-between;
    max-width: 516px;
}

.people_contact li {
    flex: 0 1 calc(50% - 10px);
}

.people_contact li a {
    text-decoration: none;
}

.people_contact li a:hover {
    text-decoration: underline;
}

#people_single_main_info .search_results_list_tags_simple {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 45px;
    gap: 16px;
}

.search_results_list_tags li.search_results_list_tags_person {
    padding-left: 18px;
    background: url(/wp-content/themes/RH-WB-thread/assets/img/icon-tag.svg) 18px 50% no-repeat;
    background-position: 0 0;
    font-size: .85rem;
    line-height: 125%;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
}

.people_contact_cta {
    padding: 0 0 55px;
}

.people_contact_cta a {
    width: 100%;
    max-width: 297px;
    cursor: pointer;
    display: inline-block;
    padding: 11px 15px;
    min-width: 129px;
    text-align: center;
    text-decoration: none;
    background-color: var(--brown);
    color: var(--white);
    border: 1px solid var(--brown);
    font-size: .625rem;
    line-height: 140%;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#people_single_main h2 {
    font-family: var(--dmsans);
    font-size: 1.125rem;
    letter-spacing: .1em;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 0 15px;
}

.people_accordion .faq_holder {
    border-bottom: 1px solid var(--red);
}

.people_accordion .faq_holder:first-child {
    border-top: 1px solid var(--red);
}

.people_accordion .faq_question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.people_accordion .faq_question::-webkit-details-marker {
    display: none;
}

.thread-accordion-chevron {
    width: 10px;
    height: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
}

.people_accordion details[open] .thread-accordion-chevron {
    transform: rotate(225deg);
}

.people_accordion .faq_answer {
    padding: 0 0 25px;
}

#people_single_base {
    border-top: 1px solid var(--red);
    padding: 60px 0;
}

.people_testimonial {
    padding: 50px;
    margin-bottom: 50px;
    background: rgba(217, 187, 165, .25);
    border-radius: 18px;
    text-align: center;
}

.thread-person-testimonials .swiper-slide {
    height: auto;
}

.thread-person-testimonials .swiper-slide article {
    max-width: 750px;
    margin: auto;
}

.thread-person-testimonials .swiper-pagination {
    position: static;
    margin-top: 25px;
}

@media (max-width: 767px) {
    #people_single_main_img {
        width: 100%;
        height: auto;
        position: relative;
    }

    #people_single_main_img img {
        height: auto;
        max-height: 600px;
        display: block;
    }

    #people_single_main_info {
        width: 100%;
        padding: 30px 0 50px;
    }

    .people_contact li {
        flex-basis: 100%;
    }

    .people_testimonial {
        padding: 30px;
    }
}


/* Tablet */
@media (max-width: 1080px) {
    .people-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .people-list {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
footer .container {
    max-width: 100%;
    padding: 0 1rem;
}

footer .site-footer__logo-image {
    width: 50%;
    max-width: 644px;
    height: auto;
    padding: 3rem 0;
}

footer .footer_excerpt {
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.375rem;
    letter-spacing: 0px;
}

@media all and (min-width: 1025px) {

    .fixed-footer #section_main {
        position: relative;
        z-index: 1;
        background: var(--white);
    }

    .fixed-footer #site_footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .home.fixed-footer #overall-wrapper {
        padding-bottom: 100svh !important;
    }

    .home.fixed-footer #site_footer {
        height: 100svh;
        display: flex;
        flex-direction: column;
    }

    .home.fixed-footer #site_footer_brand {
        flex-grow: 1;
    }

    .home.fixed-footer #site_footer_brand .container {
        height: 100%;
    }

    .home.fixed-footer #site_footer_brand #footer_contact {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}

#site_footer {
    background: var(--white);
}

#site_footer a {
    text-decoration: none;
}

#site_footer a:hover {
    text-decoration: underline;
}

#site_footer_brand {
    background: var(--brown);
    padding: 23px 0;
    border-bottom: 10px solid var(--gold);
}

#site_footer_brand * {
    color: var(--white);
}

#site_footer_brand .container {
    display: flex;
    flex-direction: column;
}

#site_footer_brand #footer_contact {
    padding: 150px 0;
    text-align: center;
}

#site_footer_brand #footer_contact p:first-of-type {
    padding: 0 0 45px 0;
}

#site_footer_brand #footer_menu ul,
#site_footer_brand #footer_contact ul,
#site_footer_legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

#site_footer_brand #footer_menu ul li,
#site_footer_brand #footer_contact ul li,
#site_footer_legal ul li {
    margin: 0;
    padding: 0;
    line-height: 100%;
}

#site_footer_brand #footer_contact ul {
    gap: 15px;
    justify-content: center;
    max-width: 350px;
    max-width: 420px;
    margin: 0 auto;
}

#site_footer_legal {
    padding: 16px 0;
    padding: 24px 0;
}

#site_footer_legal .container {
    display: flex;
    justify-content: space-between;
    gap: 20px 30px;
    align-items: center;
}

#site_footer_legal small {
    max-width: 740px;
    display: block;
    font-size: 0.625rem;
    line-height: 18px;
}

#site_footer_legal ul {
    gap: 15px;
    flex-wrap: nowrap;
    gap: 20px;
}

#site_footer_legal ul li {
    line-height: 7px;
}

#site_footer_legal ul li img {
    height: 52px;
    height: 76px;
    width: auto;
    max-width: unset;
    height: 163px;
    height: 85px;
    width: auto;
}

#site_footer_legal ul li.logo_sra iframe {
    height: 85px;
    width: 150px !important;
}

@media all and (min-width: 580px) {
    #site_footer_brand #footer_menu ul li:not(:first-of-type) {
        padding-left: 20px;
        border-left: 1px solid var(--white);
    }

    #site_footer_brand #footer_contact ul li:not(:first-of-type):not(:last-of-type) {
        padding-left: 15px;
        border-left: 1px solid var(--white);
    }
}

@media all and (min-width: 760px) {
    #site_footer_brand #footer_menu ul li.footer_social {
        margin-left: auto;
        padding-left: 0;
        border: none;
    }
}

@media all and (min-width: 760px) and (max-width : 1850px) {
    #site_footer_brand #footer_menu ul li.footer_social {
        width: 100%;
        text-align: right;
    }
}

@media all and (min-width: 0px) and (max-width : 1380px) {

    #site_footer_brand #footer_contact {
        padding: 100px 0;
    }

    /** .home-loaded #home_banner_logo { top: 35px; }
    .home-loaded #home_banner_h1 h1 { font-size: 2.75rem; } **/

    .home_panel_flex li span strong {
        font-size: 1.125rem;
    }

}

@media all and (min-width: 0px) and (max-width : 1300px) {
    #site_footer_legal .container {
        flex-direction: column;
    }

    #site_footer_legal small {
        max-width: 100%;
        text-align: center;
    }

    #site_footer_legal ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #site_footer_legal ul li img {
        max-width: 100%;
    }
}

@media all and (min-width: 0px) and (max-width : 760px) {

    #site_footer_brand #footer_menu ul {
        justify-content: center;
    }

}