@import url("native-image-cta.css");

/* Aktuelles native Artikel – nur unter .native-news scoped */

.native-news.native-news--article {
  background: #ffffff;
  padding: 2rem 1rem 3rem;
}

.native-news .native-news__inner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* CSS-003f: Zurück-Button — reine CTA-Back-Tokens (nach HTML-HYG-001b, ohne Fallbacks) */
.native-news .native-news__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: var(--hit-cta-back-padding-block) var(--hit-cta-back-padding-inline);
  border: none;
  border-radius: var(--hit-cta-back-radius);
  box-sizing: border-box;
  background-color: var(--hit-cta-back-bg);
  background-image: none;
  color: var(--hit-cta-back-fg) !important;
  font-family: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--hit-cta-back-font-size);
  line-height: var(--hit-cta-back-line-height);
  font-weight: var(--hit-cta-back-font-weight);
  text-decoration: none !important;
  text-shadow: none;
  cursor: pointer;
  transition: var(--hit-cta-transition);
}

.native-news .native-news__back:visited {
  color: var(--hit-cta-back-fg) !important;
  background-color: var(--hit-cta-back-bg);
}

.native-news .native-news__back:hover,
.native-news .native-news__back:focus {
  background-color: var(--hit-cta-back-hover-bg);
  color: var(--hit-cta-back-fg) !important;
  text-decoration: none !important;
  opacity: 1;
}

.native-news .native-news__back:active {
  background-color: var(--hit-cta-back-active-bg);
  color: var(--hit-cta-back-fg) !important;
}

.native-news .native-news__back:focus-visible {
  outline: var(--hit-cta-focus-outline-on-light);
  outline-offset: var(--hit-cta-focus-offset-on-light);
  background-color: var(--hit-cta-back-hover-bg);
}

.native-news .native-news__title {
  margin: 0 0 1rem;
  color: #2a82c9;
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.native-news .native-news__featured {
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .native-news .native-news__featured {
    max-width: 78%;
    margin-left: auto;
    margin-right: auto;
  }
}

.native-news .native-news__featured-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.native-news .native-news__article {
  color: #6c6c6c;
  font-family: "PT Sans", sans-serif;
  font-size: 19px;
  line-height: 1.55;
}

.native-news .native-news__article p {
  margin: 0 0 1em;
}

.native-news .native-news__article ul,
.native-news .native-news__article ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.native-news .native-news__article li {
  margin-bottom: 0.35em;
}

.native-news .native-news__article a {
  color: #2a82c9;
  text-decoration: underline;
}

.native-news .native-news__article a[href^="tel:"],
.native-news .native-news__article a[href^="mailto:"],
.native-news .native-news__article a[href^="tel:"]:visited,
.native-news .native-news__article a[href^="mailto:"]:visited {
  text-decoration: none;
  border-bottom: none;
}

.native-news .native-news__article a[href^="tel:"]:hover,
.native-news .native-news__article a[href^="tel:"]:focus,
.native-news .native-news__article a[href^="tel:"]:focus-visible,
.native-news .native-news__article a[href^="tel:"]:active,
.native-news .native-news__article a[href^="mailto:"]:hover,
.native-news .native-news__article a[href^="mailto:"]:focus,
.native-news .native-news__article a[href^="mailto:"]:focus-visible,
.native-news .native-news__article a[href^="mailto:"]:active {
  color: #2a82c9;
  text-decoration: none;
  border-bottom: none;
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

.native-news .native-news__article a:not([href^="tel:"]):not([href^="mailto:"]):hover,
.native-news .native-news__article a:not([href^="tel:"]):not([href^="mailto:"]):focus {
  text-decoration: underline;
}

.native-news .native-news__article img {
  max-width: 100%;
  height: auto;
  display: block;
}

.native-news .native-news__article .wp-video,
.native-news .native-news__article video {
  max-width: 100%;
  height: auto;
}

.native-news .native-news__article .wp-video {
  width: 100% !important;
}

.native-news .native-news__article .native-news__cta-img {
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .native-news.native-news--article {
    padding: 1.25rem 1rem 2rem;
  }

  .native-news .native-news__featured {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .native-news .native-news__article {
    font-size: 18px;
  }
}
