/* ==========================================================================
   Typography Foundation
   WIO Presentation System
   Mobile First
   ========================================================================== */


/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    margin: 0 0 var(--space-xs);
    text-align: left;
}

h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    color: var(--theme-color-heading);
}

h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
}

h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
}

h4 {
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
}

h5 {
    font-size: var(--font-size-h5);
    line-height: var(--line-height-h5);
}

h6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-h6);
}


/* --------------------------------------------------------------------------
   Text
   -------------------------------------------------------------------------- */

p {
    margin: 0 0 var(--space-xs);
}

small {
    font-size: var(--font-size-small);
}

strong {
    font-weight: var(--font-weight-bold);
}

em {
    font-style: italic;
}

p {
    text-align: left;
}

small,
strong,
em {
    text-align: inherit;
}
/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: underline;
}

a:hover,
a:focus {
    text-decoration-thickness: 2px;
}


/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

ul,
ol {
    margin: 0 0 var(--space-md);
    padding-left: calc(var(--space-lg) * 0.75);
}

li {
    margin-bottom: var(--space-sm);
}


/* --------------------------------------------------------------------------
   Quotes
   -------------------------------------------------------------------------- */

blockquote {
    margin: 0 0 var(--space-lg);
    padding-left: var(--space-md);
    border-left: 4px solid currentColor;
    font-style: italic;
}


/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        text-align: center;
    }

    p,
    li {
        text-align: left;
        hyphens: auto;
    }

}