/* News & Wissen: Artikelliste, Rubriken und Seitenwahl. */
.artikelliste {
  --portalblau: #1d3a61;
  color: #252b30;
  font-family: Arial, Helvetica, sans-serif;
}
.artikelliste > h1 {
  margin: 0;
  font-size: .875rem;
  line-height: 1.25;
}
.artikelliste a:focus-visible {
  outline: 3px solid #16789c;
  outline-offset: 2px;
}
.artikelliste .mag-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .875rem;
  margin-top: .6rem;
  border-bottom: 1px solid #d8e3ee;
}
.mag-tabs > * {
  display: block;
  padding: .5rem 0 .5625rem;
  font: 400 .8125rem/1.3 Arial, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
}
.mag-tabs > a, .mag-tabs > a:hover {
  color: var(--portalblau);
  text-decoration: none;
}
.mag-tabs > [aria-current="page"] {
  color: #000;
  font-weight: 700;
}
.mag-tabs > a:focus-visible { outline-offset: 0; }
@media (min-width: 768px) {
  .artikelliste .mag-tabs { column-gap: 1.125rem; }
}

.mag-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: start;
  gap: .875rem;
  position: relative;
  padding: .75rem 0;
  border-top: 1px solid #d9dfe4;
}
.mag-tabs + .mag-row { border-top: 0; }
.mag-row > :only-child { grid-column: 1 / -1; }
.mag-row .mag-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mag-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.mag-row time {
  display: block;
  font: 400 .75rem/1.4 Arial, sans-serif;
  color: #535d65;
}
.mag-row h2 {
  margin: .1rem 0 .2rem;
  font: 700 .8125rem/1.3 Inter, Arial, sans-serif;
  hyphens: auto;
}
.mag-row h2 a, .mag-row h2 a:hover { color: #000; text-decoration: none; }
.mag-row h2 a::after { content: ''; position: absolute; inset: 0; }
.mag-row:focus-within { outline: 3px solid #16789c; outline-offset: 3px; }
.mag-row p {
  margin: 0;
  color: #353b40;
  font: 400 .875rem/1.45 Arial, Helvetica, sans-serif;
}
.mag-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  padding-top: 1rem;
  border-top: 1px solid #ced9e1;
  font: 400 .875rem/1.35 Arial, Helvetica, sans-serif;
}
.mag-pages > * {
  box-sizing: border-box;
  padding: .5rem .8rem;
  border: 1px solid #ced9e1;
  border-radius: 5px;
  font: inherit;
}
.mag-pages > a[rel] { display: inline-flex; align-items: center; justify-content: center; }
.mag-pages > a, .mag-pages > a:hover { color: #000066; text-decoration: none; }
.mag-pages > a:hover { background: #eee; border-color: #ddd; }
.mag-pages > [aria-current="page"] {
  border-color: var(--portalblau);
  background: var(--portalblau);
  color: white;
}

.artikelgalerien { width: 420px; max-width: 100%; }
.artikelgalerien .widget_text table { width: 100%; table-layout: fixed; }
.artikelgalerien .widget_text img { box-sizing: border-box; max-width: 100%; height: auto; }

/* Die feste Desktop-Hülle bei fehlendem Platz einspaltig anordnen. */
@media (max-width: 1180px) {
  #skyscraper { display: none; }
}
@media (max-width: 999px) {
  body, #main, #content #center { box-sizing: border-box; width: 100%; }
  #root { background: white; }
  #main { padding: 0 1rem; }
  .head_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    height: auto;
    overflow-x: auto;
  }
  .head_menu .left {
    float: none;
    flex: none;
    width: auto;
    padding: .375rem 0;
    white-space: nowrap;
  }
  .head_menu .right { float: none; flex: none; padding: 0; }
  .logo_cont { height: auto; padding: .875rem 0 .625rem; }
  .logo_cont #logo, .logo_cont .search { position: static; }
  .logo_cont #logo img { width: min(205px, 52%); height: auto; }
  .logo_cont .search { width: 100%; max-width: 100%; margin-top: .5rem; }
  .logo_cont .wd-search-wrapper { max-width: 100%; }
  .logo_cont > div[style] { top: 1.75rem !important; right: 0 !important; }
  .site_menu { height: auto; }
  .site_menu #nav {
    display: flex;
    float: none;
    overflow-x: auto;
    white-space: nowrap;
  }
  .site_menu #nav > li { flex: none; }
  .site_menu #nav ul { display: none; }
  #service { padding: .5rem 0; }
  #service #print { display: none; }
  #content { display: flex; flex-direction: column; }
  #content #center { order: -1; float: none; padding: 1.25rem 0; }
  #content #left { float: none; padding-bottom: 1rem; }
  #left .dropdown-left-inside { left: min(100%, calc(100vw - 190px)); }
  #banner { max-width: 100%; overflow: hidden; }
}
@media (max-width: 550px) {
  .mag-row { grid-template-columns: 4.75rem minmax(0, 1fr); gap: .65rem; }
  .mag-row .mag-image { margin-top: .2rem; }
}
