/* Ronjas Welt – produktive Beitragsübersicht im bestehenden bluefish-Layout. */

/* Basisregeln der früheren Ronja-Stylesheet-Datei, die diese Seite weiterhin nutzt. */
.bf-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  padding: .7rem 1rem;
  transform: translateY(-180%);
  background: #fff;
  color: #004c74;
  border: 2px solid #004c74;
  font-weight: 700;
}

.bf-skip-link:focus {
  transform: translateY(0);
}

.bf-kicker {
  margin: 0 0 .55rem !important;
  color: #765f52;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.bf-ronja-footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid #cfd0d1;
  text-align: center;
}

.bf-footer-links,
.bf-social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.bf-footer-links {
  gap: .65rem 1.4rem;
  margin-bottom: 1rem;
}

.bf-footer-links a {
  color: #005f94;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bf-social-links {
  gap: 1rem;
  margin-bottom: .8rem;
}

.bf-social-links a {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.bf-social-links img {
  display: block;
}

.bf-ronja-footer p {
  margin: 0;
  font-size: .9rem;
}

.bf-ronja-test-page,
.bf-ronja-test-page * {
  box-sizing: border-box;
}

.bf-ronja-test-page {
  color: #44494c;
}

.bf-rj-main {
  width: 100%;
  padding: 30px 0 3rem;
}

.bf-rj-banner,
.bf-rj-layout {
  display: grid;
  grid-template-columns: minmax(0, 28.56%) minmax(0, 70%);
  column-gap: 1.44%;
  width: 100%;
  margin: 0;
}

.bf-rj-banner {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.bf-rj-layout {
  align-items: start;
}

.bf-rj-banner-copy,
.bf-rj-banner-figure,
.bf-rj-sidebar,
.bf-rj-content,
.bf-rj-feature,
.bf-rj-card {
  min-width: 0;
}

.bf-rj-sidebar-sticky {
  position: sticky;
  top: 1.25rem;
}

.bf-rj-banner-copy {
  display: flex;
  height: 440px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  flex-direction: column;
  justify-content: center;
  background: #7e6b60;
  color: #fff;
}

.bf-rj-banner-figure {
  height: 440px;
  margin: 0;
  overflow: hidden;
  background: #dce9ef;
}

.bf-rj-banner-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bf-rj-banner-copy h1 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.bf-rj-banner-copy p {
  margin: 0;
  color: #fff;
  line-height: 1.65;
}

.bf-rj-banner-copy .bf-rj-banner-kicker {
  margin-bottom: .25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bf-rj-side-nav {
  margin-bottom: 1.25rem;
  padding: 1.15rem;
  background: #f4f9fc;
  border: 1px solid #ccd8de;
}

.bf-rj-side-nav h2 {
  margin: 0 0 .8rem;
  color: #006da8;
  font-size: 1.1rem;
  line-height: 1.3;
}

.bf-rj-side-nav button {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .55rem .7rem;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  background: transparent;
  color: #37464d;
  border: 0;
  border-bottom: 1px solid #d7e2e7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bf-rj-side-nav button:last-child {
  border-bottom: 0;
}

.bf-rj-side-nav button:hover,
.bf-rj-side-nav button:focus {
  background: #e5f1f7;
  color: #004c74;
}

.bf-rj-side-nav button.is-active {
  background: #006da8;
  color: #fff;
  font-weight: 700;
}

.bf-rj-side-nav button span {
  flex: 0 0 auto;
  font-size: .82rem;
}

.bf-rj-nav-loading {
  margin: 0;
  color: #68757b;
  font-size: .9rem;
}

.bf-rj-page-heading {
  margin-bottom: clamp(2.25rem, 4.5vw, 4rem);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  background: #f4f9fc;
  border-left: 6px solid #0086cb;
  box-shadow: 0 10px 28px rgba(0, 55, 82, .08);
}

.bf-rj-page-heading h2 {
  margin: 0 0 .8rem;
  color: #006da8;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.bf-rj-page-heading > p:last-child {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.bf-rj-status {
  margin: -2rem 0 2rem;
  color: #58666c;
  font-size: .92rem;
}

.bf-rj-section-heading {
  margin-bottom: 1.25rem;
}

.bf-rj-section-heading h2,
.bf-rj-detail h2 {
  margin: 0;
  color: #006da8;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.bf-rj-feature-section,
.bf-rj-older-section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: 1.5rem;
}

.bf-rj-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  overflow: hidden;
  background: #fbfaf9;
  border-top: 5px solid #765f52;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.bf-rj-preview {
  margin: 0;
  overflow: hidden;
  background: #dce9ef;
}

.bf-rj-preview img,
.bf-rj-card .bf-rj-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.bf-rj-preview figcaption {
  padding: .6rem .8rem;
  background: #eef4f7;
  color: #556168;
  font-size: .85rem;
  line-height: 1.45;
  text-align: center;
}

.bf-rj-feature-copy {
  display: flex;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.bf-rj-meta {
  display: flex;
  margin: 0 0 .7rem;
  align-items: center;
  gap: .45rem .8rem;
  flex-wrap: wrap;
  color: #59666c;
  font-size: .85rem;
}

.bf-rj-category {
  display: inline-block;
  padding: .25rem .65rem;
  background: #e4f1f7;
  color: #005f94;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bf-rj-feature h3,
.bf-rj-card h3 {
  color: #006da8;
  line-height: 1.25;
}

.bf-rj-feature h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.bf-rj-feature-copy > p:not(.bf-rj-meta) {
  margin: 0 0 1.2rem;
  line-height: 1.7;
}

.bf-rj-read-button,
.bf-rj-detail-close {
  display: inline-flex;
  min-height: 46px;
  padding: .65rem 1.15rem;
  align-items: center;
  justify-content: center;
  background: #006da8;
  color: #fff;
  border: 2px solid #006da8;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.bf-rj-read-button:hover,
.bf-rj-read-button:focus,
.bf-rj-detail-close:hover,
.bf-rj-detail-close:focus {
  background: #00547f;
  border-color: #00547f;
}

.bf-rj-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.bf-rj-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ccd8de;
  border-top: 4px solid #0086cb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .055);
}

.bf-rj-card:nth-child(even) {
  border-top-color: #765f52;
}

.bf-rj-card-copy {
  display: flex;
  flex: 1 1 auto;
  padding: 1.2rem;
  flex-direction: column;
  align-items: flex-start;
}

.bf-rj-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.22rem;
}

.bf-rj-card-copy > p:not(.bf-rj-meta) {
  margin: 0 0 1.1rem;
  line-height: 1.62;
}

.bf-rj-card .bf-rj-read-button {
  margin-top: auto;
}

.bf-rj-detail {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.4rem, 3.5vw, 3rem);
  background: #fff;
  border: 1px solid #cbd9df;
  border-top: 6px solid #0086cb;
  box-shadow: 0 10px 30px rgba(0, 55, 82, .11);
  scroll-margin-top: 1rem;
}

.bf-rj-detail[hidden] {
  display: none;
}

.bf-rj-detail-head {
  display: flex;
  margin-bottom: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.bf-rj-detail-close {
  flex: 0 0 auto;
  background: #fff;
  color: #005f94;
}

.bf-rj-detail-summary {
  max-width: 900px;
  margin: 0 0 1.4rem;
  color: #4d585d;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
}

.bf-rj-detail-text {
  max-width: 920px;
  margin-bottom: 2rem;
}

.bf-rj-detail-text p {
  margin: 0 0 1rem;
  line-height: 1.78;
}

.bf-rj-detail-gallery {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.bf-rj-detail-gallery.layout-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bf-rj-detail-gallery.layout-stacked,
.bf-rj-detail-gallery.layout-single-large {
  grid-template-columns: minmax(0, 1fr);
}

.bf-rj-detail-gallery figure {
  min-width: 0;
  margin: 0;
  align-self: start;
  background: #f7fbfd;
  border: 1px solid #d2dde2;
}

.bf-rj-detail-gallery.layout-stacked figure,
.bf-rj-detail-gallery.layout-single-large figure {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.bf-rj-detail-gallery.layout-stacked a,
.bf-rj-detail-gallery.layout-single-large a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.bf-rj-detail-gallery img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bf-rj-detail-gallery.layout-stacked img,
.bf-rj-detail-gallery.layout-single-large img {
  width: auto;
  max-width: min(100%, 620px);
  max-height: 500px;
}

.bf-rj-detail-gallery figcaption {
  padding: .7rem .9rem;
  color: #4f5c62;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.bf-rj-empty,
.bf-rj-message {
  padding: 1.2rem;
  background: #f4f9fc;
  border-left: 5px solid #0086cb;
}

.bf-rj-message-error {
  background: #fff4f3;
  border-left-color: #a52525;
  color: #751a1a;
}

.bf-rj-image-missing {
  display: flex;
  min-height: 180px;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  background: #f7eeee;
  color: #7c2424;
  text-align: center;
}

.bf-rj-main button:focus-visible,
.bf-rj-main a:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

.bf-ronja-test-page .bf-footer-links a {
  display: inline-flex;
  min-height: 44px;
  padding: .35rem 0;
  align-items: center;
}

.bf-rj-main p,
.bf-rj-main h1,
.bf-rj-main h2,
.bf-rj-main h3,
.bf-rj-main figcaption,
.bf-rj-main button {
  overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
  .bf-rj-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .bf-rj-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .bf-rj-banner,
  .bf-rj-layout {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    width: 100%;
  }

  .bf-rj-banner {
    gap: 0;
  }

  .bf-rj-banner-copy {
    height: auto;
    min-height: 250px;
  }

  .bf-rj-banner-figure {
    height: auto;
  }

  .bf-rj-banner-figure img {
    height: auto;
  }

  .bf-rj-sidebar-sticky {
    position: static;
  }

  .bf-rj-side-nav {
    margin-bottom: 1rem;
  }
}

@media (max-width: 720px) {
  .bf-rj-detail-gallery.layout-stacked img,
  .bf-rj-detail-gallery.layout-single-large img {
    max-width: 100%;
    max-height: 70vh;
  }


  .bf-rj-card-grid,
  .bf-rj-detail-gallery.layout-two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-rj-detail-head {
    flex-direction: column;
  }

  .bf-rj-detail-close,
  .bf-rj-read-button {
    width: 100%;
  }
}

@media (max-width: 399px) {
  .bf-rj-banner-copy,
  .bf-rj-page-heading,
  .bf-rj-detail {
    padding: 1.2rem;
  }

  .bf-rj-page-heading {
    border-left-width: 4px;
  }

  .bf-rj-feature-copy,
  .bf-rj-card-copy {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ronja-test-page *,
  .bf-ronja-test-page *::before,
  .bf-ronja-test-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Ergänzung für Videos in der Detailansicht von Ronjas Welt */
.bf-rj-detail-videos {
  margin-top: 2rem;
}

.bf-rj-detail-videos-heading {
  margin: 0 0 1rem;
  color: #006da8;
  font-size: 1.35rem;
}

.bf-rj-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.bf-rj-video {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  border: 1px solid #d2dde2;
}

.bf-rj-video.is-portrait {
  max-width: min(100%, 460px);
}

.bf-rj-video.is-landscape {
  max-width: min(100%, 820px);
}

.bf-rj-video.is-square {
  max-width: min(100%, 620px);
}

.bf-rj-video video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
}

.bf-rj-video figcaption {
  padding: .7rem .9rem;
  color: #4f5c62;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}
