/*
Theme Name: PlusGum Blog
Author: Maciej Noworyta (Vestigio)
Author URI: https://vestigio.agency
*/

@font-face {
    font-family: 'MulishFallback';
    src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
    size-adjust: 103%;
}

:root {
    --text-color: #222222;
    --primary-color: #e93e10;
    --secondary-color: #1a1a1a;
    --primary-background-color: #2c2f33;
    --white-color: #FFFFFF;
    --black-color: #222;
    --font-size-base: 16px;
    --font-size-h1: 52px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-h5: 18px;
    --font-size-h6: 14px;
}

a, abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, time, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: inherit;
    font-style: inherit;
}

article, aside, canvas, details, figcaption, figure, footer, header, menu, nav, section, summary {
    display: block;
}

a, ins, del {
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

strong {
    font-weight: 700;
}

caption, th {
    text-align: left;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 200ms ease;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--white-color);
    outline-offset: 2px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

html {
    -ms-overflow-style: scrollbar;
}

html, body {
    font-family: "Mulish", "MulishFallback", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: var(--font-size-base);
    line-height: 1.25;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1471px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

p {
    margin: 0 0 20px;
    line-height: 1.7;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    font-family: "Mulish", sans-serif;
    color: var(--text-color);
    line-height: 1.25;
}

h1, .h1 {
    font-size: var(--font-size-h1);
}

h2, .h2 {
    font-size: var(--font-size-h2);
}

h3, .h3 {
    font-size: var(--font-size-h3);
}

h4, .h4 {
    font-size: var(--font-size-h4);
}

h5, .h5 {
    font-size: var(--font-size-h5);
}

h6, .h6 {
    font-size: var(--font-size-h6);
}

.section {
    padding: 45px 0;
}

.section-heading {
    text-align: center;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-heading .title {
    font-size: 36px;
    font-weight: 600;
    color: var(--black-color);
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

.section-heading .title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.aligncenter,
div.aligncenter,
a img.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 0 0 20px 25px;
}

.alignleft {
    float: left;
    margin: 0 25px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 25px 25px;
}

a img.alignleft {
    float: left;
    margin: 5px 25px 25px 0;
}

a img.alignnone {
    margin: 5px 25px 25px 0;
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: clamp(28px, 6vw, var(--font-size-h1));
    }

    h2, .h2 {
        font-size: var(--font-size-h3);
    }

    h3, .h3 {
        font-size: var(--font-size-h4);
    }

    h4, .h4 {
        font-size: var(--font-size-h5);
    }

    h5, .h5 {
        font-size: var(--font-size-h6);
    }

    h6, .h6 {
        font-size: var(--font-size-h6);
    }

    .section {
        padding: 30px 0;
    }

    .section-heading {
        padding-bottom: 24px;
    }

    .section-heading .title {
        font-size: 22px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
