/* tabelle reposive */
table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: left;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: left;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}

}


/* Copyright bei Barrierefrei raus */
.djacc-popup .djacc__footer {
    display: none;
}

/* Footer immer unten */
#sp-main-body + * {
    margin-top: auto;
    margin-bottom: 0;
}
.body-innerwrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Striche bei Sozial weg */
.article-details .article-ratings-social-share {
    padding: 1rem 0;
    border: none;
    margin-bottom: 1rem;
}

/* schrift Menu */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
  font-family: 'Arial', sans-serif; 
  letter-spacing: 1px;
  font-size: 18px;
  color: #ffffff;
    line-height: 1;
    display: inline-block;
    padding: 8px 0;
    cursor: pointer;
}

/* Laufschrift rot */
.js-marquee {
   font-size: 26px;
   color: red;
}

/* Newsflash Abstand */
.newsflash {
   margin-bottom: 3em;
}

/* Burger Menu breiter */ 
.menu-toggler {
     padding-left: 230px;
}

/* newsflash Rahmen */
.no-card .newsflash-horiz li {
    border: 1px solid #dfe3e7;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.1);
    box-shadow: 1px 1px 4px rgba(0,0,0,.1);
    padding: 0 1rem 1rem;
}

#sp-main-body {
    padding: 2%;
}
/* Newsflash weiterlesen */
/* Container auf Grid umstellen */
#sp-component .blog.items-leading,
#sp-component .blog.items-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Einzelne News-Kachel */
.item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover-Effekt */
.item:hover {
  transform: translateY(-5px);
}

/* Bild oben */
.item .article-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Titel */
.item .article-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem;
  color: #006d7a;
}

/* Introtext */
.item .article-intro {
  margin: 0 1rem 1rem;
  color: #444;
  line-height: 1.5;
}

/* Optional: Weiterlesen-Link */
.item .readmore {
  margin: 0 1rem 1rem;
  text-align: right;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2rem 0 1.5rem;
  color: #0099a1;
  letter-spacing: 0.5px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0 auto 2rem;
  max-width: 900px;
}

.book-item {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.book-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #333;
}

.book-item a {
  color: #0099a1;
  font-weight: 600;
  text-decoration: none;
}

.book-item a:hover {
  text-decoration: underline;
}



