/* =====================================================================
   Spiel-Rezension (Design: Spiel Rezension.dc.html)
   --w-col-Spalte: Artikel + sticky Marginalie (Cover, Wertung, Steckbrief).
   ===================================================================== */

.rezension-head,
.rezension-layout {
  width: var(--w-col);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ---- head ---- */

.rezension-head {
  margin-top: 64px;
}

.rezension-back {
  font-size: 12.5px;
  color: var(--sub);
}

.rezension-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-top: 26px;
}

.rezension-meta__kind {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: oklch(0.5 0.13 var(--cat-hue, 30));
}

.rezension-meta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.6 0.13 var(--cat-hue, 30));
}

:root[data-theme="dunkel"] .rezension-meta__kind {
  color: oklch(0.74 0.1 var(--cat-hue, 30));
}

.rezension-meta__date {
  color: var(--faint);
}

.rezension-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 12px 0 0;
  font-weight: 700;
}

/* ---- layout ---- */

.rezension-layout {
  margin-top: 32px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.rezension-article {
  flex: 1;
  min-width: 0;
}

/* ---- text (KirbyText) ---- */

.rezension-text p {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 18px;
  color: var(--body);
  text-wrap: pretty;
}

.rezension-text > :last-child {
  margin-bottom: 0;
}

.rezension-text blockquote {
  margin: 26px 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}

.rezension-text blockquote p {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
}

.rezension-text ul,
.rezension-text ol {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body);
  margin: 0 0 18px;
  padding-left: 22px;
}

/* ---- fazit card ---- */

.rezension-fazit {
  margin-top: 36px;
  padding: 24px 28px;
}

.rezension-fazit__head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.rezension-fazit__ring {
  display: block;
  padding: 3px;
  border-radius: 50%;
  flex: none;
  background: oklch(0.6 0.13 var(--cat-hue, 30));
}

.rezension-fazit__ring img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card);
}

.rezension-fazit__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rezension-fazit__sub {
  font-size: 12px;
  color: var(--faint);
}

.rezension-fazit__text p {
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
  color: var(--body);
  text-wrap: pretty;
}

/* ---- links & siblings ---- */

.rezension-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}

.rezension-share {
  font-size: 12.5px;
}

.rezension-siblings {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 12.5px;
}

.rezension-siblings a {
  color: var(--sub);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- marginalia ---- */

.rezension-side {
  width: 168px;
  flex: none;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 28px;
  align-self: flex-start;
}

.rezension-side__cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 2.14;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 7px, var(--card) 7px, var(--card) 14px);
}

.rezension-side__cover-hint {
  font: 9.5px ui-monospace, monospace;
  color: var(--faint);
}

.rezension-side__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rezension-side__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--faint);
}

.rezension-side__value {
  font-size: 13px;
  margin-top: 3px;
  color: var(--body);
}

/* Pilz-Wertung: shared .pips snippet, masked into the design's mushroom */
.rezension-side .pips {
  gap: 2.5px;
  margin-top: 5px;
  color: var(--sub);
}

.rezension-side .pips__pip {
  width: 15px;
  height: 13px;
  border-radius: 0;
  background: currentColor;
  opacity: .22;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M16 .8C6.2.8.8 8.3.8 14.9c0 2.7 2.1 4.6 4.8 4.6h20.8c2.7 0 4.8-1.9 4.8-4.6C31.2 8.3 25.8.8 16 .8ZM21 8.4a5 5 0 1 0-10 0 5 5 0 1 0 10 0ZM6.5 13.4a1.9 3.4 0 1 0-3.8 0 1.9 3.4 0 1 0 3.8 0ZM29.3 13.4a1.9 3.4 0 1 0-3.8 0 1.9 3.4 0 1 0 3.8 0Z'/%3E%3Crect fill='none' stroke='%23fff' stroke-width='1.8' x='8.6' y='16.6' width='14.8' height='10.2' rx='5.1'/%3E%3Cellipse fill='%23fff' cx='13.2' cy='21.4' rx='1.25' ry='2.3'/%3E%3Cellipse fill='%23fff' cx='18.8' cy='21.4' rx='1.25' ry='2.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M16 .8C6.2.8.8 8.3.8 14.9c0 2.7 2.1 4.6 4.8 4.6h20.8c2.7 0 4.8-1.9 4.8-4.6C31.2 8.3 25.8.8 16 .8ZM21 8.4a5 5 0 1 0-10 0 5 5 0 1 0 10 0ZM6.5 13.4a1.9 3.4 0 1 0-3.8 0 1.9 3.4 0 1 0 3.8 0ZM29.3 13.4a1.9 3.4 0 1 0-3.8 0 1.9 3.4 0 1 0 3.8 0Z'/%3E%3Crect fill='none' stroke='%23fff' stroke-width='1.8' x='8.6' y='16.6' width='14.8' height='10.2' rx='5.1'/%3E%3Cellipse fill='%23fff' cx='13.2' cy='21.4' rx='1.25' ry='2.3'/%3E%3Cellipse fill='%23fff' cx='18.8' cy='21.4' rx='1.25' ry='2.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rezension-side .pips__pip.is-filled {
  background: currentColor;
  opacity: 1;
}

/* ---- responsive ---- */

@media (max-width: 600px) {
  .rezension-head {
    margin-top: 44px;
  }
}

@media (max-width: 860px) {
  .rezension-layout {
    flex-direction: column;
    gap: 32px;
  }

  .rezension-side {
    position: static;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px 20px;
    align-items: start;
  }

  .rezension-side__cover {
    grid-column: 1 / -1;
    max-width: 280px;
  }
}


/* kirbytag output ((image:…), (youtube:…)) inside review/legal text — the
   generic figure/consent styling lives in beitrag.css for the blog; these
   scoped equivalents keep embedded media styled on this page's column. */
.rezension-text .figure {
  margin: 26px 0;
}

.rezension-text .figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.rezension-text .figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
}

.rezension-text .video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  background: oklch(0.24 0.01 60);
}

.rezension-text .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rezension-text .video-container .consent-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.rezension-text .video-container .consent-box p {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.rezension-text .video-container .consent-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
