/* Ausfuehrlicher Bericht La Gomera – ausschliesslich seitenbezogene Gestaltung. */
body.red-reference-report-page > main {
  background: transparent;
  backdrop-filter: none;
}

.red-reference-report-page .report-wrap {
  width: min(1120px, calc(100% - 2.6rem));
  margin-inline: auto;
}

.red-reference-report-page .report-hero {
  padding: clamp(2.8rem, 6vw, 5.4rem) 0 clamp(2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--red-line);
  background: transparent;
}

.red-reference-report-page .report-hero-card,
.red-reference-report-page .report-card,
.red-reference-report-page .report-toc,
.red-reference-report-page .report-gallery-card {
  border: 1px solid var(--red-line);
  border-radius: 20px;
  background: var(--red-card, #FFF9EB);
  box-shadow: 0 12px 34px rgba(61, 51, 31, .08);
}

.red-reference-report-page .report-hero-card {
  max-width: 900px;
  padding: clamp(1.45rem, 4vw, 3rem);
}

.red-reference-report-page .report-eyebrow,
.red-reference-report-page .report-section-label {
  color: var(--red-ochre);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.red-reference-report-page .report-hero h1 {
  max-width: 18ch;
  margin: .6rem 0 1rem;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.03;
}

.red-reference-report-page .report-lead {
  max-width: 68ch;
  margin: 0;
  color: var(--red-muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.red-reference-report-page .report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.35rem;
}

.red-reference-report-page .report-meta span {
  padding: .42rem .78rem;
  border: 1px solid var(--red-forest);
  border-radius: 999px;
  background: var(--red-forest);
  color: #fffaf0;
  font-size: .78rem;
  font-weight: 600;
}

.red-reference-report-page .report-main {
  padding: clamp(2rem, 4vw, 3.5rem) 0 5rem;
}

.red-reference-report-page .report-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 1rem;
  margin-top: 1.25rem;
  align-items: start;
}

.red-reference-report-page .report-card,
.red-reference-report-page .report-toc,
.red-reference-report-page .report-gallery-card {
  padding: clamp(1.25rem, 3vw, 2.2rem);
}

.red-reference-report-page .report-card {
  margin-top: 1.25rem;
  scroll-margin-top: 8rem;
}

.red-reference-report-page .report-intro-grid > .report-card,
.red-reference-report-page .report-intro-grid > .report-toc {
  margin-top: 0;
}

.red-reference-report-page .report-card h2,
.red-reference-report-page .report-gallery-card h2 {
  margin: .35rem 0 .85rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.red-reference-report-page .report-card h3 {
  margin: 1.35rem 0 .45rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.red-reference-report-page .report-card p,
.red-reference-report-page .report-card li,
.red-reference-report-page .report-gallery-card p {
  color: #3f4439;
}

.red-reference-report-page .report-card p:last-child,
.red-reference-report-page .report-gallery-card p:last-child {
  margin-bottom: 0;
}

.red-reference-report-page .report-toc h2 {
  margin: 0 0 .8rem;
  font-size: 1.2rem;
}

.red-reference-report-page .report-toc p {
  margin: 0 0 .85rem;
  color: var(--red-muted);
  font-size: .88rem;
}

.red-reference-report-page .report-toc ol {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding-left: 1.2rem;
}

.red-reference-report-page .report-toc a,
.red-reference-report-page .report-source-list a {
  color: var(--red-forest);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

.red-reference-report-page .report-note {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--red-ochre);
  border-radius: 0 12px 12px 0;
  background: var(--red-forest);
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(25, 52, 32, .12);
}

.red-reference-report-page .report-note strong {
  color: #fffaf0;
}

.red-reference-report-page .report-evidence-grid,
.red-reference-report-page .report-principle-grid,
.red-reference-report-page .report-observation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}

.red-reference-report-page .report-principle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.red-reference-report-page .report-evidence,
.red-reference-report-page .report-principle,
.red-reference-report-page .report-observation {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 250, 240, .16);
  border-radius: 14px;
  background: var(--red-forest);
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(25, 52, 32, .1);
}

.red-reference-report-page .report-evidence strong,
.red-reference-report-page .report-principle strong,
.red-reference-report-page .report-observation strong {
  display: block;
  margin-bottom: .35rem;
  color: #fffaf0;
  font-family: 'Fraunces', serif;
  font-size: 1.04rem;
}

.red-reference-report-page .report-evidence p,
.red-reference-report-page .report-principle p,
.red-reference-report-page .report-observation p {
  margin: 0;
  color: rgba(255, 250, 240, .9);
  font-size: .9rem;
}

.red-reference-report-page .report-table-wrap {
  max-width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--red-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .38);
}

.red-reference-report-page .report-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.red-reference-report-page .report-table th,
.red-reference-report-page .report-table td {
  padding: .85rem .95rem;
  border-bottom: 1px solid var(--red-line);
  text-align: left;
  vertical-align: top;
}

.red-reference-report-page .report-table th {
  background: var(--red-forest);
  color: #fffaf0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.red-reference-report-page .report-table td {
  color: #3f4439;
  font-size: .9rem;
}

.red-reference-report-page .report-table tr:last-child td {
  border-bottom: 0;
}

.red-reference-report-page .report-timeline {
  display: grid;
  gap: .85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.red-reference-report-page .report-timeline li {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--red-line);
}

.red-reference-report-page .report-timeline li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.red-reference-report-page .report-timeline time {
  color: var(--red-ochre);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.red-reference-report-page .report-gallery-card {
  margin-top: 1.25rem;
}

.red-reference-report-page .report-gallery-subtitle {
  margin: 1.7rem 0 .45rem;
  color: var(--red-forest-deep);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.red-reference-report-page .report-gallery-intro {
  max-width: 78ch;
  margin-bottom: 0;
}

.red-reference-report-page .report-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 220px));
  grid-auto-rows: 1fr;
  justify-content: center;
  align-items: stretch;
  gap: .75rem;
  margin-top: 1.15rem;
}

.red-reference-report-page .report-process-grid,
.red-reference-report-page .report-epilogue-grid {
  justify-content: start;
}

.red-reference-report-page .report-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--red-line);
  border-radius: 14px;
  background: var(--red-paper-soft);
}

.red-reference-report-page .report-photo img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  cursor: zoom-in;
  transition: filter .2s ease, transform .2s ease;
}

.red-reference-report-page .report-photo img:hover {
  filter: brightness(.92);
  transform: scale(1.015);
}

.red-reference-report-page .report-photo img:focus-visible {
  outline: 3px solid var(--red-ochre);
  outline-offset: -3px;
}

.red-reference-report-page .report-photo.is-wide,
.red-reference-report-page .report-before-grid .report-photo.is-wide,
.red-reference-report-page .report-before-grid .report-photo.is-wide.is-paired {
  grid-column: auto;
}

.red-reference-report-page .report-photo.is-wide img,
.red-reference-report-page .report-before-grid .report-photo:not(.is-wide) img,
.red-reference-report-page .report-before-grid .report-photo.is-wide img {
  height: 145px;
  aspect-ratio: auto;
  object-fit: cover;
}

.red-reference-report-page .report-photo figcaption {
  padding: .7rem .85rem;
  color: var(--red-muted);
  font-size: .76rem;
  line-height: 1.4;
}

.red-reference-report-page .report-epilogue-grid {
  align-items: stretch;
}

.red-reference-report-page .report-epilogue-grid .report-photo {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.red-reference-report-page .report-epilogue-grid .report-photo figcaption {
  display: flex;
  min-height: 5rem;
  flex: 1;
  flex-direction: column;
}

.red-reference-report-page .report-caption-main,
.red-reference-report-page .report-caption-date {
  display: block;
}

.red-reference-report-page .report-caption-date {
  margin-top: auto;
  padding-top: .35rem;
  font-weight: 700;
  white-space: nowrap;
}

.red-reference-report-page .report-feature-split {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.red-reference-report-page .report-feature-split .report-feature-photo {
  width: 100%;
  margin: 0;
}

.red-reference-report-page .report-feature-copy {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.red-reference-report-page .report-feature-copy > p {
  margin: 0;
}

.red-reference-report-page .report-feature-photo {
  width: min(100%, 340px);
  margin: 1.25rem auto 1.6rem;
  overflow: hidden;
  border: 1px solid var(--red-line);
  border-radius: 14px;
  background: var(--red-paper-soft);
}

.red-reference-report-page .report-feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: zoom-in;
  transition: filter .2s ease, transform .2s ease;
}

.red-reference-report-page .report-feature-photo img:hover {
  filter: brightness(.92);
  transform: scale(1.01);
}

.red-reference-report-page .report-feature-photo img:focus-visible {
  outline: 3px solid var(--red-ochre);
  outline-offset: -3px;
}

.red-reference-report-page .report-feature-photo figcaption {
  padding: .7rem .85rem;
  color: var(--red-muted);
  font-size: .76rem;
  line-height: 1.4;
}

.red-reference-report-page .report-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem 1.25rem;
  background: rgba(13, 12, 10, .94);
}

.red-reference-report-page .report-image-lightbox.is-open {
  display: flex;
}

.red-reference-report-page .report-image-lightbox img {
  display: block;
  width: auto;
  max-width: min(96vw, 1600px);
  height: auto;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.red-reference-report-page .report-image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font: 300 2rem/1 sans-serif;
  cursor: pointer;
}

.red-reference-report-page .report-image-lightbox-close:hover,
.red-reference-report-page .report-image-lightbox-close:focus-visible {
  background: #fff;
  color: #171512;
  outline: none;
}

body.report-lightbox-open {
  overflow: hidden;
}

body.red-shell-page .reference-photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 210px));
  justify-content: center;
  align-items: start;
  gap: .75rem;
}

body.red-shell-page .reference-photo,
body.red-shell-page .reference-photo.is-wide {
  grid-column: auto;
}

body.red-shell-page .reference-photo img,
body.red-shell-page .reference-photo.is-wide img {
  height: 140px;
}

.red-reference-report-page .report-concept-figure {
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid var(--red-line);
  border-radius: 16px;
  background: var(--red-paper-soft);
  box-shadow: 0 12px 30px rgba(61, 51, 31, .08);
}

.red-reference-report-page .report-concept-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.red-reference-report-page .report-concept-figure figcaption {
  padding: .75rem .9rem;
  color: var(--red-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.red-reference-report-page .report-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.2rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.red-reference-report-page .report-source-list li {
  margin: 0;
  padding-right: .6rem;
  overflow-wrap: anywhere;
  font-size: .86rem;
}

.red-reference-report-page .report-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.2rem;
  margin-top: 1rem;
}

.red-reference-report-page .report-glossary div {
  padding-top: .7rem;
  border-top: 1px solid var(--red-line);
}

.red-reference-report-page .report-glossary dt {
  color: var(--red-forest-deep);
  font-weight: 700;
}

.red-reference-report-page .report-glossary dd {
  margin: .2rem 0 0;
  color: var(--red-muted);
  font-size: .88rem;
}

.red-reference-report-page .report-actions,
.red-shell-page .reference-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.red-reference-report-page .report-actions .btn,
.red-shell-page .reference-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: .78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--red-forest);
  color: #fffaf0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.red-reference-report-page .report-actions .btn:hover,
.red-reference-report-page .report-actions .btn:focus-visible,
.red-shell-page .reference-actions .btn:hover,
.red-shell-page .reference-actions .btn:focus-visible {
  background: var(--red-forest-deep);
}

@media (max-width: 820px) {
  .red-reference-report-page .report-intro-grid,
  .red-reference-report-page .report-evidence-grid,
  .red-reference-report-page .report-principle-grid,
  .red-reference-report-page .report-observation-grid,
  .red-reference-report-page .report-source-list,
  .red-reference-report-page .report-glossary {
    grid-template-columns: 1fr;
  }

  .red-reference-report-page .report-feature-split {
    grid-template-columns: 1fr;
  }

  .red-reference-report-page .report-feature-split .report-feature-photo {
    width: min(100%, 300px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .red-reference-report-page .report-wrap {
    width: min(100% - 1rem, 1120px);
  }

  .red-reference-report-page .report-hero {
    padding-top: 1rem;
  }

  .red-reference-report-page .report-hero-card,
  .red-reference-report-page .report-card,
  .red-reference-report-page .report-toc,
  .red-reference-report-page .report-gallery-card {
    padding: 1rem;
    border-radius: 15px;
  }

  .red-reference-report-page .report-timeline li {
    grid-template-columns: 1fr;
    gap: .2rem;
  }

  .red-reference-report-page .report-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .red-reference-report-page .report-photo.is-wide,
  .red-reference-report-page .report-before-grid .report-photo.is-wide,
  .red-reference-report-page .report-before-grid .report-photo.is-wide.is-paired {
    grid-column: auto;
  }

  .red-reference-report-page .report-photo img,
  .red-reference-report-page .report-photo.is-wide img,
  .red-reference-report-page .report-before-grid .report-photo:not(.is-wide) img,
  .red-reference-report-page .report-before-grid .report-photo.is-wide img {
    height: 135px;
    aspect-ratio: auto;
  }

  body.red-shell-page .reference-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.red-shell-page .reference-photo,
  body.red-shell-page .reference-photo.is-wide {
    grid-column: auto;
  }

  body.red-shell-page .reference-photo img,
  body.red-shell-page .reference-photo.is-wide img {
    height: 135px;
  }
}

@media (max-width: 420px) {
  .red-reference-report-page .report-photo-grid,
  body.red-shell-page .reference-photo-grid {
    grid-template-columns: minmax(0, 240px);
  }

  .red-reference-report-page .report-photo img,
  .red-reference-report-page .report-photo.is-wide img,
  body.red-shell-page .reference-photo img,
  body.red-shell-page .reference-photo.is-wide img {
    height: 160px;
  }
}
