/* Font-Face */

/* Styled text  */
html,
body:not(.wp-core-ui),
.acf-block-editor,
.acf-block-preview,
.acf-block-frontend {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 200;
    font-size: 15px;
    line-height: 1.54;
    color: var(--color-txt);
}

@media screen and (min-width: 1380px) {
    html,
    body:not(.wp-core-ui),
    .acf-block-editor,
    .acf-block-preview,
    .acf-block-frontend {
        font-size: 20px;
        line-height: 1.7;
    }
}

.styled-txt p {
    font-family: var(--text);
    margin-bottom: 15px;
    -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 p:last-child {
    margin-bottom: 0;
}

.styled-txt a {
    text-decoration: underline;
}

@media (hover: hover) {
}
.styled-txt h1,
.editor-post-title h1 {
    font-family: var(--sans);
    font-size: calc(40 / var(--rootsize));
    line-height: calc(46 / var(--rootsize));
    letter-spacing: 0.07em;
    font-weight: 200;
}
@media screen and (min-width: 768px) {
    .styled-txt h1,
    .editor-post-title h1 {
        font-size: calc(60 / var(--rootsize));
        line-height: calc(61 / var(--rootsize));
        letter-spacing: 0.08em;
    }
}
.styled-txt h1,
.editor-post-title h1,
.styled-txt h2 {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 200;
    font-size: calc(30 / var(--rootsize));
    line-height: calc(38 / var(--rootsize));
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-txt-dark);
    margin-bottom: 34px;
}

@media screen and (min-width: 1380px) {
    .styled-txt h1,
    .editor-post-title h1,
    .styled-txt h2 {
        font-size: calc(48 / var(--rootsize));
        line-height: calc(64 / var(--rootsize));
        margin-bottom: 64px;
        letter-spacing: 0.08em;
    }
}

.styled-txt h3 {
    font-family: var(--sans);
    font-weight: 200;
    font-size: calc(24 / var(--rootsize));
    line-height: calc(32 / var(--rootsize));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0;
}

@media screen and (min-width: 1380px) {
    .styled-txt h3 {
        font-size: calc(36 / var(--rootsize));
        line-height: calc(46 / var(--rootsize));
        margin-bottom: 32px;
    }
}

.styled-txt h4 {
    font-weight: 400;
    font-size: calc(19 / var(--rootsize));
    line-height: calc(26 / var(--rootsize));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

@media screen and (min-width: 1380px) {
    .styled-txt h4 {
        font-size: calc(22 / var(--rootsize));
        line-height: calc(28 / var(--rootsize));
        margin-bottom: 16px;
    }
}

.styled-txt h4 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 1.2em;
}

@media screen and (min-width: 1380px) {
    .styled-txt h4 {
        font-size: 22px;
        line-height: 1;
    }
}

.styled-txt h5 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 1.2em;
}

@media screen and (min-width: 1380px) {
    .styled-txt h5 {
        font-size: 21px;
        line-height: 1;
    }
}

.styled-txt h6 {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 1.2em;
}

@media screen and (min-width: 1380px) {
    .styled-txt h6 {
        font-size: 18px;
        line-height: 1;
    }
}
.subheadline,
.styled-txt p.subheadline {
    font-family: var(--serif);
    font-style: normal;
    font-weight: 400;
    font-size: calc(36 / var(--rootsize));
    line-height: calc(39 / var(--rootsize));
}

@media screen and (min-width: 768px) {
    .subheadline,
    .styled-txt p.subheadline {
        font-size: calc(42 / var(--rootsize));
        line-height: calc(56 / var(--rootsize));
    }
}
small,
.small {
    font-size: calc(13 / var(--rootsize));
    line-height: calc(24 / var(--rootsize));
}

@media screen and (min-width: 768px) {
    small,
    .small {
        font-size: calc(16 / var(--rootsize));
        line-height: calc(22 / var(--rootsize));
    }
}
.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(--serif);
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 33px;
    position: relative;
}
@media screen and (min-width: 768px) {
    .styled-txt blockquote {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 47px;
        position: relative;
    }
}
.styled-txt blockquote p {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.2;
    position: relative;
}
@media screen and (min-width: 768px) {
    .styled-txt blockquote p {
        font-size: 42px;
        line-height: 1.2;
        position: relative;
    }
}
.styled-txt cite {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
}

.styled-txt button,
.cta {
    display: inline-block;
    outline: none;
    border: 1px solid;
    color: #fff;
    background-color: #000;
    text-align: center;
    text-decoration: none;
    padding: 0.25em 0.5em 0.35em;
    line-height: 1;
    transition: all 0.15s ease-in-out;
}

.styled-txt button:hover,
.cta:hover {
    background-color: #fff;
    color: #000;
}

.styled-txt button:active,
.cta:active,
.cta.active {
    background-color: #000;
    color: #fff;
    transition: none;
}

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;
}
