@import "_reset";
@import "_breakpoint";
@import "_variables";
@import "_fonts";
@import "mixin";
body {
    color: var(--color-text);
    width: 100%;
    overflow-x: hidden;
    font-family: 'VulfMono-Light', sans-serif;
    font-size: toRem(20);
    font-weight: 300;
    line-height: toRem(26);
    letter-spacing: toRem(-.22);
    @include mobile {
        font-size: toRem(14);
    }
}

.container {
    //width: 100%;
    max-width: $size__desktop-width;
    padding: 0 20px;
    margin: 0 -20px;
    position: relative;
    overflow: hidden;
    @include tablet {
        padding: 0;
        margin: auto;
        max-width: 100%;
    }
    @include desktop {
        width: auto;
    }
}

h1,
.title {
    font-size: 72px;
    line-height: 1;
}

h2,
.title {
    font-size: 56px;
    line-height: 1.12;
}

h3 {
    font-size: 36px;
    line-height: 1.12;
}

h4 {
    font-size: 25px;
    line-height: 1.2;
}

h1,
h2,
h3,
h4 {
    @include mobile {
        font-size: 14px;
    }
}

a {
    letter-spacing: -0.22px;
    @include mobile {
        line-height: toRem(18.2);
        word-break: break-all;
    }
    &:not(.cta) {
        @include normalLink();
        &~br {
            display: none;
        }
    }
}

p {
    letter-spacing: -0.22px;
    @include mobile {
        line-height: toRem(18.2);
    }
}

.wp-block-heading {
    @include normalHeading();
    @include mobile {
        font-size: toRem(14);
        margin-top: 1.5rem;
    }
}

.img-fluid {
    background-repeat: no-repeat;
    background-size: cover;
    font-style: italic;
    height: auto;
    max-width: 100%;
    shape-margin: .75rem;
    vertical-align: middle;
}

em {
    font-style: italic;
}

.otgs-development-site-front-end {
    display: none !important;
}

.page-name-bold {
    max-width: 100%;
}

.post-nav {
    display: flex;
    flex-direction: space-between;
    margin-bottom: toRem(188);
    margin-top: toRem(50);
    >div {
        display: block;
        width: calc(50% - .5rem);
        @include mobile {
            max-width: 100%;
            width: 100%;
        }
        a {
            @include linkWithArrow();
            display: block;
            max-width: toRem(412);
            &:before {
                min-width: 1.75rem;
            }
        }
        span {
            display: inline-block;
        }
    }
    .nav-next {
        margin-left: 1rem;
    }
    .nav-previous {
        a:before {
            background-position: right 0;
            transform: scale(-1, 1);
        }
    }
}

.mb-big {
    margin-bottom: toRem(164) !important;
}

.mb-med {
    margin-bottom: toRem(100) !important;
}

.mb-nor {
    margin-bottom: toRem(67) !important;
}

@include tablet {
    .mb-m-big {
        margin-bottom: toRem(88) !important;
    }
    .mb-m-med {
        margin-bottom: toRem(50) !important;
    }
    .mb-m-nor {
        margin-bottom: toRem(40) !important;
    }
}