html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

body {
    overflow-x: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    font-family: var(--main-font);
    font-weight: var(--regular);
    font-size: var(--p);
}

* {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

main section {
    padding: 40px 0;
}

@media (min-width: 768px) {
    main section {
        padding: 60px 0;
    }
}

@media (min-width: 992px) {
    main section {
        padding: 80px 0;
    }
}

@media (min-width: 1200px) {
    main section {
        padding: 100px 0;
    }
}

@media (min-width: 1400px) {
    main section {
        padding: 120px 0;
    }
}

@media (min-width: 992px) {
    .col-lg-fifth {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 1200px) {
    .col-xl-fifth {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 1400px) {
    .col-xxl-fifth {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

img,
video {
    height: auto;
    max-width: 100%;
}

figure {
    background: #f2f4fa;
    max-width: 100%;
    overflow: hidden;
}

figure img.size-full {
    border-radius: 0;
}

figure figcaption {
    padding: 10px 40px;
    text-align: center;
}

iframe {
    max-width: 100%;
}

iframe[src*=youtube] {
    aspect-ratio: 16/9;
    border-radius: 8px;
    display: block;
    height: auto;
    overflow: hidden;
    width: 100%;
}

ul:not([class]),
ol:not([class]) {
    line-height: 1.5;
    margin-bottom: 24px;
    padding-left: 24px;
}

ul:not([class]) {
    list-style: none !important;
}

ul:not([class]) li::before {
    background: #28385a;
    border-radius: 100%;
    content: "";
    display: inline-block;
    height: 4px;
    margin: -2px 7px 0 -12px;
    vertical-align: middle;
    width: 4px;
}

b,
strong {
    font-weight: var(--bold);
}

[type=text],
[type=email],
[type=number],
[type=tel],
[type=password],
textarea,
select {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 12.5px 0;
    width: 100%;
}

textarea {
    border: 1px solid var(--white);
    padding: 16px;
}

.aligncenter,
.alignleft,
.alignright {
    display: block;
    margin: 0 auto 15px;
}

.txtcenter {
    text-align: center;
}

.txtright {
    text-align: right;
}

.txtjustify {
    text-align: justify;
}

blockquote {
    border-left: 2px solid #28385a;
    color: #28385a;
    font-size: 1.5rem;
    font-weight: 600;
    max-width: calc(600px + 2rem);
    padding-left: 2rem;
}

blockquote p {
    line-height: 2.25rem;
}

.cta {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .cta {
        text-align: center;
    }
}

.wp-pagenavi .pages {
    border: 0px !important;
}

.wp-pagenavi {
    border-top: 0px solid;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-top: 60px;
    padding-top: 40px;
    position: relative;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    border: 1px solid var(--dark-blue) !important;
    border-radius: 2rem;
    color: var(--dark-blue);
    display: inline-block;
    font-weight: 500;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 5px 10px;
    text-align: center;
}

.wp-pagenavi .page,
.wp-pagenavi .current {
    height: 40px;
    padding: 8px 2px;
    width: 40px;
}

.wp-pagenavi .page:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi .current {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi [class*=postslink] {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-color: var(--dark-blue);
    color: var(--dark-blue);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    padding: 4px 1rem;
}

.wp-pagenavi [class*=postslink]:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    margin: 0 auto 10px;
}

.socials {
    margin: 0;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
}

.socials li {
    list-style: none;
}

.socials li::before {
    display: none;
}

.socials__item a {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3px;
    width: 32px;
}

.socials__item a::before {
    font-family: "FontAwesome";
    font-size: 16px;
}

.socials__item a:hover {
    color: #28385a;
}

.socials__item a[data-social*=facebook]::before {
    content: "\f39e";
}

.socials__item a[data-social*=twitter]::before {
    content: '';
    background-image: url('../img/social_x.svg');
    width: 16px;
    height: 16px;
    filter: invert(1);
    background-repeat: no-repeat;
}

.socials__item a[data-social*=linkedin]::before {
    content: "\f0e1";
}

.socials__item a[data-social*=instagram]::before {
    content: "\f16d";
}

.socials__item a[data-social*=youtube]::before {
    content: "\f167";
}

.socials__item a[data-social*=vimeo]::before {
    content: "\f27d";
}

.socials__item a[data-social*=whatsapp]::before {
    content: "\f232";
}

.socials__item a[data-social*=tiktok]::before {
    content: "\e07b";
}

.socials__item a[data-social*=mail]::before {
    content: " \f0e0";
}

.sharing {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-top: 1px solid #e8eaf0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 16px 12px 32px;
    text-align: right;
}

.sharing__list {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
}

.sharing__list li {
    list-style: none;
}

.sharing__list li::before {
    display: none;
}

.sharing__icon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #50a0f0;
    border-radius: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3px;
    width: 32px;
}

.sharing__icon::before {
    content: "";
    display: block;
    font-family: "FontAwesome";
    font-size: 1rem;
}

.sharing__item[data-rs*=facebook] .sharing__icon::before {
    content: "\f39e";
}

.sharing__item[data-rs*=twitter] .sharing__icon::before {
    content: "\e61b";
}

.sharing__item[data-rs*=linkedin] .sharing__icon::before {
    content: "\f0e1";
}

.sharing__item[data-rs*=instagram] .sharing__icon::before {
    content: "\f16d";
}

.sharing__item[data-rs*=youtube] .sharing__icon::before {
    content: "\f167";
}

.sharing__item[data-rs*=vimeo] .sharing__icon::before {
    content: "\f27d";
}

.twitter-tweet {
    margin-left: auto;
    margin-right: auto;
}

.content {

    h2,
    h3 {
        color: var(--dark-blue);
    }

    
    img {
        border-radius: 20px;
    }
    
    &#section_hhm {
        background-image: url('../../img/bg_section_hhm.svg');
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        background-blend-mode: lighten;
        background-color: rgba(255, 255, 255, 0.5);

        h2:nth-child(2) {
            font-weight: var(--light);
        }
    }

    &#where_find {
        padding-top: 20px !important;

        * p {
            margin-bottom: 2px !important;
        }

        img {
            max-height: 550px;
            object-fit: cover;
        }
    }
}

@media (min-width: 992px) {
    .content .limited {
        max-width: 824px;
    }
}

@media (min-width: 768px) {
    .alignleft {
        float: left;
        margin-right: 20px;
    }

    .alignright {
        float: right;
        margin-left: 15px;
    }

    .wp-pagenavi {
        padding-left: 150px;
        padding-right: 150px;
    }

    .wp-pagenavi [class*=postslink] {
        position: absolute;
        top: 40px;
        width: 135px;
    }

    .wp-pagenavi .previouspostslink {
        left: 0;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .wp-pagenavi .nextpostslink {
        margin-left: 1rem;
        margin-top: 0;
        right: 0;
    }

    ul:not([class]),
    ol:not([class]) {
        padding-left: 3rem;
    }
}