/* Nur auf den Neuigkeiten-Shortcode begrenzte Gestaltung. */
.nas-news {
  --nas-bg: #f0ece9;
  --nas-ink: #111;
  --nas-card: #fff;
  --nas-space: 35px;
  padding: 28px 0 65px;
  background: var(--nas-bg);
  color: var(--nas-ink);
}
.nas-news *, .nas-news *::before, .nas-news *::after { box-sizing: border-box; }
.nas-news__inner { width: min(100% - 80px, 1220px); margin: 0 auto; }
.nas-news__title {
  text-align: center;
  text-transform: none;
}
.nas-news__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 46px;
}
.nas-news__tab {
  appearance: none;
  min-height: 29px;
  padding: 5px 17px;
  border: 1px solid #222;
  border-radius: 0;
  color: var(--nas-ink);
  background: transparent;
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.nas-news__tab:hover, .nas-news__tab:focus-visible {
  background: #151515;
  color: #fff;
}
.nas-news__tab:focus-visible, .nas-arrow:focus-visible, .nas-card__button:focus-visible {
  outline: 2px solid #1e61a9;
  outline-offset: 3px;
}
/* Der aktive Tab ist zurückhaltend markiert, wie im Referenzbild. */
.nas-news__tab.is-active { box-shadow: inset 0 -2px 0 #111; }
.nas-news__panel[hidden] { display: none !important; }
.nas-news__empty { text-align: center; min-height: 120px; padding: 40px 0; }
/* Fallback ohne Slick: reguläres Kartenraster. */
.nas-slider:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.nas-slide { padding: 0 var(--nas-space); height: 100%; }
.nas-card {
  display: flex;
  flex-direction: column;
  min-height: 496px;
  height: 100%;
  padding: 19px 19px 40px;
  background: var(--nas-card);
  box-shadow: none;
}
.nas-card__media {
  width: 100%;
  aspect-ratio: 300 / 283;
  overflow: hidden;
  background: #eae5e0;
}
.nas-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.nas-card__body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 45px;
  text-align: center;
}
.nas-card__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  margin-top: auto;
  padding: 7px 18px;
  border: 1px solid #222;
  border-radius: 0;
  color: var(--nas-ink);
  background: transparent;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.nas-card__button:hover, .nas-card__button:focus-visible { background: #111; color: #fff; }
/* Slick: gleich hohe Karten und Navigation neben den Karten. */
.nas-slider.slick-initialized { position: relative; }
.nas-slider.slick-initialized .slick-track { display: flex !important; }
.nas-slider.slick-initialized .slick-slide { height: auto; float: none; }
.nas-slider.slick-initialized .slick-slide > div { height: 100%; }
.nas-arrow {
  position: absolute;
  z-index: 2;
  top: 44%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #080808;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}
.nas-arrow svg { width: 19px; height: 27px; fill: none; stroke: currentColor; stroke-width: 3; }
.nas-arrow--prev { left: -28px; }
.nas-arrow--next { right: -28px; }
.nas-arrow.slick-disabled { opacity: .25; cursor: default; }
@media (max-width: 1100px) {
  .nas-news { --nas-space: 20px; }
  .nas-news__inner { width: min(100% - 65px, 1220px); }
  .nas-card__heading { font-size: 18px; }
}
@media (max-width: 900px) {
  .nas-slider:not(.slick-initialized) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nas-card { min-height: 455px; }
  .nas-card__body { padding-top: 32px; }
}
@media (max-width: 640px) {
  .nas-news { --nas-space: 8px; padding: 32px 0 45px; }
  .nas-news__inner { width: min(100% - 54px, 1220px); }
  .nas-news__title { margin-bottom: 25px; font-size: 35px; }
  .nas-news__tabs { gap: 8px; margin-bottom: 30px; }
  .nas-news__tab { padding: 7px 9px; font-size: 10px; }
  .nas-slider:not(.slick-initialized) { grid-template-columns: 1fr; gap: 18px; }
  .nas-card { min-height: 430px; padding: 15px 15px 28px; }
  .nas-card__body { padding-top: 28px; }
  .nas-card__heading { font-size: 17px; }
  .nas-card__subheading { font-size: 15px; }
  .nas-arrow--prev { left: -28px; }
  .nas-arrow--next { right: -28px; }
}
