/* Fallback default values in case JS hasn't run yet */
:root {
  --header-height: 80px;
  --footer-height: 60px;
}

.main-imprint {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100dvh - var(--header-height) - var(--footer-height));
    margin-inline: var(--margin-1);
}

.main-imprint section {
    width: 50vw;
    min-width: 500px;
    padding-top: 4rem;
}

@media screen and (width < 700px) {
    .main-imprint section {
        width: 100%;
        min-width: 0;
    }
}

.main-imprint h2 {
    font-size: inherit;
    font-weight: inherit;
    margin-bottom: 1.5rem;
    font-size: var(--font-size-menu);
}

.main-imprint section p:not(:last-of-type):has(:not(strong)) {
    margin-bottom: 1rem;
}
.main-imprint section p a {
    text-decoration: underline;
}

.main-imprint section p strong {
    font-weight: inherit;
    font-size: var(--font-size-menu);
}

.main-imprint section p:has(strong) {
    margin-block: 2rem;
}
.main-imprint section p:has(u) {
    margin-block: 1rem;
}