.read-more__foldout {
    transition: max-height 0.2s ease-out;
    font-size: var(--font-size-body);
}

.read-more__foldout a {
    color: var(--text-color-dark); /*var(--text-color-light);*/
}

.read-more__state {
    display: none;
}

.read-more__foldout .read-more__trigger {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: block;
    text-align: center;
    font-size: var(--font-size-body);
    color: var(--color-cta);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    margin: 0;
}

.page-template-default .read-more__foldout:before,
.page-template-text-php .read-more__foldout:before,
.page-template-simple-text .read-more__foldout:before {
    background-image: linear-gradient(to bottom, var(--bg-color-transparent), var(--bg-color-readmore-alternate) 75%);
}

.toptext__wrapper .read-more__foldout:before {
    background-image: linear-gradient(to bottom, var(--bg-color-transparent), var(--bg-color-readmore) 75%);
}

.fold-open {
    height: 100%;
}

.fold-open::before {
    content: none !important;
}

.fold-open .read-more__trigger {
    display: none;
}

.read-more__foldout img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: auto;
    display: flex;
}

.read-more__foldout h2 {
    max-width: 700px;
    font-size: var(--font-size-h2);
    font-weight: var(--headers-weight);
    margin: 0.75rem auto 1.5rem;
    text-transform: var(--headers-transform);
    color: var(--text-color-dark);
}

.read-more__foldout h3 {
    font-weight: var(--headers-weight);
    font-size: var(--font-size-h3);
    line-height: var(--line-height-medium-headline);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

.read-more__foldout h4 {
    margin-bottom: 1rem;
}

.read-more__foldout ul {
    font-size: var(--font-size-body);
    color: var(--text-color-dark); /*var(--text-color-light);*/
}

.read-more__foldout p,
.read-more__foldout>ol {
    font-size: var(--body-text);
    line-height: var(--line-height-body);
    color: var(--text-color-dark);
    margin-bottom: 0;
    padding: 0;
    margin: 0.75rem 0;
}

.read-more__foldout p:first-of-type {
    margin-top: 0;
}

.read-more__foldout p:empty {
    display: none;
}

@media screen and (min-width: 600px) {
    .read-more__foldout .read-more__trigger {
        font-size: var(--font-size-caption-desktop);
        margin: 0;
        padding-top: 0.5rem;
    }
}

/* FRONTPAGE READ-MORE */

@media screen and (min-width: 768px) {
    .read-more__foldout {
        font-size: var(--font-size-body-desktop);
    }

    .read-more__foldout h2 {
        font-size: var(--font-size-h2-desktop);
    }

    .read-more__foldout h3 {
        font-size: var(--font-size-h3-desktop);
    }

    .read-more__foldout p,
    .read-more__foldout>ol {
        font-size: var(--body-text);
        line-height: var(--line-height-body);
        color: var(--text-color-dark); /*var(--text-color-light);*/
    }
}