/* Font-Face */

/* Styled text  */

body:not(.wp-core-ui),
.acf-block-editor,
.acf-block-preview,
.acf-block-frontend {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
}

@media screen and (min-width: 768px) {
    body:not(.wp-core-ui),
    .acf-block-editor,
    .acf-block-preview,
    .acf-block-frontend {
        font-weight: 400;
        font-size: 19px;
        line-height: 34px;
    }
}

.styled-txt p:not([class]) {
    margin-bottom: 12px;
    -epub-word-break: hyphenate;
    -ms-word-break: hyphenate;
    word-break: normal;
    word-wrap: normal;
    -webkit-hyphens: auto;
    -epub-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.styled-txt a:not([class]) {
    text-decoration: underline;
}

@media (hover: hover) {
    .styled-txt a:not([class]):hover {
        color: #f00;
    }
}

.styled-txt h1,
.editor-post-title {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 44px;
    line-height: 44px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
    .styled-txt h1,
    .editor-post-title {
        font-size: 72px;
        line-height: 72px;
    }
}

.styled-txt h2 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .styled-txt h2 {
        font-size: 32px;
        line-height: 41px;
    }
}

.home .styled-txt h1,
.home .styled-txt h2 {
    font-size: 80px;
    line-height: 88px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 30px;
    max-width: 100%;
    overflow: hidden;
    padding-right: 0.05em;
}

@media screen and (min-width: 768px) {
    .home .styled-txt h1,
    .home .styled-txt h2 {
        font-size: 180px;
        line-height: 189px;
        margin-bottom: 50px;
    }
}
.styled-txt h3 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: -0.03em;
}

@media screen and (min-width: 768px) {
    .styled-txt h3 {
        font-size: 28px;
        line-height: 31px;
        letter-spacing: 0;
    }
}

.styled-txt h4 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    .styled-txt h4 {
        font-size: 27px;
        line-height: 36px;
        letter-spacing: 0.02em;
    }
}

.styled-txt h5 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: -0.03em;
}

@media screen and (min-width: 768px) {
    .styled-txt h5 {
        font-size: 32px;
        line-height: 40px;
    }
}

.styled-txt h6 {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 1.2em;
}

@media screen and (min-width: 768px) {
    .styled-txt h6 {
        font-size: 18px;
        line-height: 1;
    }
}

.styled-txt ol {
    list-style: decimal;
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

.styled-txt ol > li {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
}

.styled-txt ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 0.6em;
}

.styled-txt li ol > li {
    margin: 0;
}

.styled-txt li ol > li:before {
    content: counters(item, ".") " ";
}

.styled-txt ul {
    list-style: disc;
    margin-left: 20px;
}

.styled-txt li {
    position: relative;
    margin-bottom: 8px;
}

.styled-txt blockquote {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
    .styled-txt blockquote {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 50px;
    }
}
.styled-txt blockquote p:not([class]) {
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
}
.styled-txt cite {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
}
@media screen and (min-width: 768px) {
    .styled-txt cite {
        font-size: 19px;
        line-height: 34px;
        margin-bottom: 10px;
        position: relative;
    }
}
.styled-txt button.cta,
.cta {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    padding: 15px 16px;
    background-color: var(--black);
    color: var(--white);
    transition: all 0.3s ease-out;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}
@media screen and (min-width: 768px) {
    .styled-txt button.cta,
    .cta {
        font-size: 19px;
        line-height: 21px;
        letter-spacing: 0.02em;
        padding: 22.5px 24px;
    }
}
.styled-txt button.cta:hover,
.styled-txt .cta:hover {
    color: var(--white);
    background-color: var(--accent);
}

/* .styled-txt button:visited,
.cta:visited {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.75);
} */

.styled-txt button.cta:active,
.styled-txt .cta:active,
.styled-txt .cta:active,
.styled-txt .cta.active {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.75);
}

nav ul,
nav li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

nav a {
    text-decoration: none;
}

.styled-txt sub,
sub {
    vertical-align: sub !important;
    font-size: smaller !important;
}

.styled-txt sup,
sup {
    vertical-align: super;
    font-size: smaller;
}

.unitprev-txt {
    padding-left: 24px;
    padding-right: 24px;
}

@media screen and (min-width: 768px) {
    .unitprev-txt {
        padding-left: 0;
        padding-right: 0;
    }
}
