
html[data-theme="light"],
:root {
    --primary: #333;
    --link-color: rgb(0, 140, 186);
    --footer-link-color: #424242;
    --header-fg-color: #eee;
    --header-background-color: #264b5d;
    --content-background-color: #fff;
    --background-color: #ddd;
    --body-alert-info-bordercolor: #D6D6D6;
    
    --font-family-serif: "Times Roman", serif;
    --font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color-scheme: light dark;
    font-size: 105%;
}


@media (prefers-color-scheme: dark) {
    :root {
        --primary: #eee;
        --footer-link-color: #919191;
        --header-fg-color: #eee;
        --header-background-color: #264b5d;
        --content-background-color: #111;
        --background-color: #000;
        --body-alert-info-bordercolor: #008F00;
    }
}

html[data-theme="dark"] {
    --primary: #eee;
    --footer-link-color: #919191;
    --header-fg-color: #eee;
    --header-background-color: #264b5d;
    --content-background-color: #111;
    --background-color: #000;
    --body-alert-info-bordercolor: #008F00;
}

body {
    padding: 0;
    margin: 0;
    color: var(--primary);
    background-color: var(--background-color);
    font-family: var(--font-family-serif);
}

@media (min-width: 18rem) {
    section.article_teasers {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 39rem) {
    section.article_leading_teaser {
        max-width: 39rem;
    }
    section.article_teasers {
        grid-template-columns: 1fr 1fr;
        max-width: 39rem;
    }
    article.teaser {
        max-width: 18rem;
    }
    section.article, section.impressum {
        width: 39rem;
    }
    article.body div.inline-image {
        width: 20rem;
        float: left;
    }
}

@media (min-width: 62rem) {
    section.article_leading_teaser {
        max-width: 46rem;
    }
    section.article_teasers {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 60rem;
    }
    article.teaser {
        max-width: 18rem;
    }
    section.article, section.impressum {
        width: 52rem;
    }
    
    section.article article {
        width: 40rem;
    }
    article.body div.inline-image {
        width: 20rem;
        float: left;
    }

}

/* THEME SWITCH */
.theme-toggle {
    background: transparent;
    border: none;
}
.theme-toggle svg {
    vertical-align: middle;
    height: 1.2rem;
    width: 1.2rem;
    display: none;
}

.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
    fill: var(--header-fg-color);
    color: var(--header-background-color);
}

html[data-theme="auto"] .theme-toggle svg.theme-icon-when-auto {
    display: block;
}

html[data-theme="dark"] .theme-toggle svg.theme-icon-when-dark {
    display: block;
}

html[data-theme="light"] .theme-toggle svg.theme-icon-when-light {
    display: block;
}

/* HEADER SECTION */
header {
    background-color: var(--header-background-color);
    height: 3rem;
}

img.header-va-logo {
    margin-top: 1rem;
    margin-left: 1rem;
    width: 4.5rem;
    height: 4.5rem;
}

header button {
    margin-top: 0.75rem;
    margin-right: 1rem;
    float: right;
}

form.select-language {
    display: block;
    float: right;
}
form.select-language img {
    margin: 0.15rem 0.5rem 0.2rem 0.5rem;
    height: 0.8rem;
}

form.select-language button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-right: 0.5rem;
}

/* CONTENT WRAPPER */
div.content-wrapper {
    background-color: var(--content-background-color);
    padding: 1.5rem 1rem 4rem 1rem;
}

/* SECTION BRAND */
section.va-brand {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 6rem;
}

section.va-brand h1 {
    font-family: var(--font-family-sans-serif);
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0;
}

section.va-brand p {
    font-family: var(--font-family-sans-serif);
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 0.25rem;
}

/* SECTION ARTICLE TEASERS */

section.article_leading_teaser {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}
section.article_leading_teaser div.leading_image_frame {
    max-height: 22rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
}
section.article_leading_teaser img {
    width: 100%;
}

section.article_teasers {
    display: grid;
    grid-auto-rows: minmax(10rem, auto);
    column-gap: 1rem;
    row-gap: 4rem;
    margin-left: auto;
    margin-right: auto;
}
section.article_teasers a, section.article_leading_teaser a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

article.teaser {
}
article.teaser img {
    width: 100%;
}
article.teaser h2, section.article_leading_teaser h2 {
    font-family: var(--font-family-sans-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
section.article_leading_teaser h2 {
    font-size: 1.75rem;
    margin-top: 0.25rem;
}
article.teaser h3, section.article_leading_teaser h3 {
    font-family: var(--font-family-sans-serif);
    font-size: 0.92rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 0;
}
section.article_leading_teaser h3 {
    font-size: 1rem;
}
article.teaser p, section.article_leading_teaser p {
    margin-top: 0;
    line-height: 1.25rem;
    hyphens: auto;
}
section.article_leading_teaser p {
    font-size: 1.15rem;
    line-height: 1.5rem;
    margin-top: 1rem;
}

section.more_teasers {
    margin: 2rem;
}
section.more_teasers a {
    display: block;
    font-family: var(--font-family-sans-serif);
    font-size: 0.92rem;
    text-decoration: none;
    text-align: center;
    color: var(--footer-link-color);
    width: 18rem;
    border: 1px solid var(--footer-link-color );
    border-radius: 0.25rem;;
    padding: 0.4rem 0rem;
    margin: 0 auto;
}
section.more_teasers a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* SECTION ARTICLE DETAIL */

section.article {
    margin-left: auto;
    margin-right: auto;
}

section.article article {
    margin-left: auto;
    margin-right: auto;
}

section.article img {
    width: 100%;
    height: auto;
}
section.article div.caption {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.25rem;
    hyphens: auto;        
}
article.header {
    font-family: var(--font-family-sans-serif);
}
article.header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
article.header h3 {
    font-size: 0.92rem;
    font-weight: 300;
    letter-spacing: 5%;
    text-transform: uppercase;
    margin-bottom: 0;
}
article.header div.article_date {
    font-size: 0.92rem;
    margin-bottom: 3rem;
}
article.body h4 {
    font-family: var(--font-family-sans-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
article.body p {
    font-size: 1.2rem;
    margin-top: 0;
    line-height: 1.6rem;
    hyphens: auto;
}
article.body p.acronym {
    font-size: 1rem;
    border-top: 1px solid #888;
    width: 20%;
    margin-top: 1.5rem;
    padding-top: 0.25rem;
}
article.body div.inline-image {
    margin-top: 0.25rem;
    margin-right: 1.5rem;
}
article.body div.inline-image p.caption {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    hyphens: auto;
}
article.body div.alert-info p {
    font-size: 1rem;
    width: 80%;
    padding-left: 1rem;
    border-left: 0.25rem solid var(--body-alert-info-bordercolor);
}

/* SECTION IMPRESSUM FORMAT */
section.impressum {
    margin-left: auto;
    margin-right: auto;
}
section.impressum h2 {
    font-family: var(--font-family-sans-serif);
}
section.impressum h3 {
    font-family: var(--font-family-sans-serif);
}
section.impressum hr {
    border: none;
    border-top: 1px solid #888;
}
    
/* FOOTER */
footer {
    font-family: var(--font-family-sans-serif);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--footer-link-color);
    padding-top: 2rem;
    padding-left: 1.75rem;
}
footer a {
    text-decoration: none;
    color: var(--footer-link-color);
    margin-right: 1rem;
}
footer a:hover {
    text-decoration: underline;
}
div.copyright {
    margin-top: 1rem;
    font-size: 0.8rem;        
}

