@font-face { font-family: "Merriweather"; src: url("../fonts/Merriweather-VariableFont_opsz,wdth,wght.ttf"); font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; }
@font-face { font-family: "Merriweather"; src: url("../fonts/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf"); font-style: italic; font-weight: 200 900; font-stretch: 75% 125%; }
@font-face { font-family: "Playfair"; src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf"); font-style: normal; font-weight: 200 900; }
@font-face { font-family: "Playfair"; src: url("../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf"); font-style: italic; font-weight: 200 900; }
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf"); font-style: normal; font-weight: 200 900; }
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf"); font-style: italic; font-weight: 200 900; }

:root {
  --font-family: "Merriweather", serif;
  --font-family-display: "Playfair", serif;
  --font-family-sans: "Open Sans", sans-serif;
  --font-weight-normal: 300;
  --font-weight-bold: 600;
  --color-bg: #faf9f9;
  --color-primary: #4472c4aa;
  --color-accent: #4472c4cc;
  --color-text: #222222;
  --color-muted: #4472c499;
  --color-bg-header: #4472c466;
  --color-bg-footer: #4472c4;
  --color-bg-highlight: #4caf5010;
  --color-bg-highlight: #4472c41a;
  --max-width: 1440px;
}

*, ::after, ::before { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { font-family: var(--font-family); font-size: 100%; hyphens: auto; }
body { margin: 0; color: var(--color-text); background: var(--color-bg); font-size: 1rem; font-weight: var(--font-weight-normal); line-height: 1.6; }

h1,h2,h3 { font-family: var(--font-family-display); font-weight: var(--font-weight-bold); line-height: 1.4; margin: 1rem 0; hyphens: none; }
h1 { #text-transform: uppercase; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
b, strong { font-weight: var(--font-weight-bold); }
a { color: inherit; text-decoration: none; transition: .5s; }
a:hover { text-decoration: underline; transition: .5s; }
img { display: block; max-width: 100%; }
figcaption { font-size: 66%; margin-top: .3em; }
li::marker { color: var(--color-accent); }

nav ul { font-family: var(--font-family-sans); list-style: none; display: flex; gap: 1.5em; margin: 0; padding: 0; }
nav a { font-weight: var(--font-weight-normal); color: inherit; transition: .5s; }
nav a:hover {text-decoration: none; }
#hmenu a:hover,
#hmenu li.trail>a,
#hmenu strong { font-weight: var(--font-weight-normal); color: var(--color-muted); transition: .5s; }
#hmenu { color: var(--color-bg-footer); font-size: 1.2em; }
#hmenu .section-inner { display: flex; justify-content: space-between; }

#suche .formbody { display: flex; justify-content: space-between; gap: .5em; font-size: .8em; }
#suche .widget { margin-bottom: 0; }
#suche .widget-text input { width: 10em; border: 1px solid var(--color-bg-header); border-radius: 5px; background: #ffffffbb; padding: .3em; }
#suche .widget-submit button { padding: 0 .5em; }
#suchergebnisse .mod_search form,
#suchergebnisse .mod_search .info,
#suchergebnisse .search_default .url { display: none; }

#nmenu a:hover,
#nmenu strong { font-weight: var(--font-weight-normal); color: #ffffffbb; transition: .5s; }

#switch { display: none; position: fixed; right: 1rem; top: 1rem; padding: .3em .5em; font-size: 1.5rem; color: #000; background-color: #cccccc99; border-radius: 4px; z-index: 10; }
#switch a:hover { text-decoration: none; } 

#header { background: var(--color-bg-header); }
#header .section-inner { padding-top: 1.5%; padding-bottom: 1.5%; }
#header figure { max-width: 33%; margin: 0 auto; }
#footer { font-family: var(--font-family-sans); color: #fff; background: var(--color-bg-footer); }
#footer .section-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75em; }
#footer p { margin: 0; }
#header,
#footer nav,
#footer nav a { color: #fff; }
#footer nav ul>li:last-child { background-image: url(/files/forumaktuell/grafiken/logo-white.png); background-size: contain; background-repeat: no-repeat; width: 1em; font-size: 1em; background-position: center; }
#footer nav ul>li:last-child a { color: transparent; }

#main a { font-weight: var(--font-weight-bold); color: var(--color-accent); }

.section-inner,
.syndication { max-width: var(--max-width); margin: 0 auto; padding: 2em 1em; }
.syndication { padding-top: 1em; padding-bottom: 0; }

.highlight-section { background: var(--color-bg-highlight); }

.two-column>div, 
.three-column>div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr); gap: 2.5em; align-items: flex-start; }
.three-column>div { grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr) minmax(0, 1fr); }

.mod_eventlist .header { display: none; }

.mod_newslist,
.mod_eventlist,
.suchergebnisse,
.content-gallery>ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); gap: 1em .5em; align-items: flex-start; }
.mod_newslist>div,
.mod_eventlist>.event,
.mod_newsreader,
.search_default { height: 100%; padding: .7em; margin: 2px; background: #fff; border-radius: 4px; box-shadow: 2px 2px 10px #eee; }
.mod_newslist img,
.search_default img { min-width: 100%; }
.mod_newslist .permanent .info { color: #fff; }
.mod_newslist .info,
.mod_newsreader .info { font-family: var(--font-family-sans); margin-top: 0; margin-bottom: .1em; font-size: .8em; }
.mod_newslist .more,
.mod_newsreader .more,
.mod_newslist .back,
.mod_newsreader .back { font-family: var(--font-family-sans); margin-bottom: 0; }
.mod_newsreader .info,
.mod_newsreader div:not(.autor)>h2 { display: inline-block; font-family: var(--font-family-sans); font-weight: var(--font-weight-normal); margin-top: 0; margin-bottom: .1em; margin-right: .5em; font-size: 1em; }

/* Newslist: Datum und Bildunterschrift in das Bild schieben */
.layout_latest .info { position: relative; top: .5em; left: .5em; display: inline-block; background: #ffffffcc; padding: 0 .3em; border-radius: 2px; }
.layout_latest figure { margin-top: -1.5em; }
.layout_latest figcaption { position: relative; position: fixed; margin-top: -2em; margin-left: .5em; #bottom: 2.5em; #left: .5em; display: inline-block; background: #ffffffcc; padding: 0 .5em; border-radius: 2px; }

.kat-liste { color: var(--color-accent); font-family: var(--font-family-sans); background: var(--color-bg-highlight); border-top: 1px dotted var(--color-bg-header); font-size: .88em; }
.kat-liste .section-inner { display: flex; align-items: center; gap: 0 1em; }
.kat-liste .content-text { hyphens: none; }
.kat-liste>div { padding-top: .4em; padding-bottom: .4em; }
.kat-liste ul { display: flex; flex-wrap: wrap; gap: .5em 1em; list-style: none; padding-left: 0; margin: .5em 0; }
.kat-liste li { border: 1px solid var(--color-muted); border-radius: 4px; padding: .1em .5em; }
.kat-liste a,
.kat-liste li.active strong { font-weight: var(--font-weight-normal); color: var(--color-text); transition: 300ms; }
.kat-liste li.active>a { color: inherit; }
.kat-liste li.active>a:hover { text-decoration: none; }

.content-text.media--left figure,
.content-text.media--right figure { max-width: 50%; margin-right: 1em; margin-top: 1em; }
.content-text.media--right figure { margin-right: 0; margin-left: 1em; }

.pagination .previous a::before { content: "<< "; }
.pagination .next a::after { content: " >>"; }

#hmenu { background-color: var(--color-bg-highlight); }
#hmenu .section-inner,
#footer .section-inner { padding: 1em 1em; }

#ueberschrift>div { padding-bottom: 0; }

/* Mitmachen-Formular */
select, input, textarea, .widget-submit>button { font-size: inherit; font-family: var(--font-family-sans); }
.widget { display: flex; margin-bottom: 0.5em; }
label { width: 12em; }
input,
textarea { width: 20em; }
.widget-submit button { padding: .3em 2em; background-color: var(--color-bg-footer); color: #fff; border: none; border-radius: 4px; }
span.mandatory { color: red; }
.widget-submit>button { cursor: pointer; }

/* Autor */
.autor figure { width: 12%; min-width: 120px; }
.autor figure img { object-fit: cover; clip-path: circle(50% at 50% 50%); }
.autor figcaption { text-align: center; }


/* Mobil */
@media (max-width: 768px) {
      #hmenu .menu,
      #nmenu { display: none; }
      #switch { display: block; }
      .brand { font-size: 1.6em; }
      .two-column>div,
      .three-column>div,
      .contact-layout {
        grid-template-columns: 1fr;
      }

      #header figure { max-width: 50vw; }
}
@media (max-width: 583px) {
      .layout_latest { border-bottom: 1px solid var(--color-bg-footer); }
}
