/**
 * TYPOGRAPHY
 * 
 * Contains general styling for typography.
 */

/* Links
---------------------------------------------------------*/

a,
a.env-text-body-01,
.env-nav__link {
    font-weight: var(--jor-theme-link-font-weight);
}

a > p {
    font-weight: normal;
}

.env-text-heading-02 a,
.env-text-heading-03 a,
.env-text-heading-04 a,
.env-text-heading-05 a,
.env-text-display-01 a,
.env-text-display-02 a,
.env-text-display-03 a,
.env-ui-text-overline a,
.env-ui-text-heading a,
.env-ui-text-sectionheading a,
.env-ui-text-subheading a,
.env-ui-text-caption a {
    font-weight: inherit;
}

a {
    text-decoration-thickness: 2px !important;
    text-underline-offset: 2px;
    transition: all .2s ease;
}

a:hover {
    text-decoration-thickness: 4px !important;
    text-underline-offset: 4px;
}

/* Lists
---------------------------------------------------------*/

.sv-text-portlet-content ul.env-text-body-01,
.sv-text-portlet-content ol.env-text-body-01,
.sv-text-portlet-content .env-text-body-01 ul,
.sv-text-portlet-content .env-text-body-01 ol {
    margin: 0;
    padding-left: 1.5rem;
}

.sv-text-portlet-content ul.env-text-body-01,
.sv-text-portlet-content ol.env-text-body-01 {
    margin-bottom: 1.5rem;
}

.sv-text-portlet-content ul.env-text-body-01 li,
.sv-text-portlet-content ol.env-text-body-01 li {
    margin: 0 0 0.5em 0;
    padding: 0;
}

.sv-text-portlet-content ul.env-text-body-01 li:last-child,
.sv-text-portlet-content ol.env-text-body-01 li:last-child {
    margin-bottom: 0;
}
