/* Articol editorial public + cardul editorial folosit pe paginile entităților.
   Indexul are propriul strat în editorial-reviews-index.css. */

.editorial-review-detail-page {
  --editorial-ink: #171325;
  --editorial-muted: #6f697d;
  --editorial-paper: #fff;
  --editorial-page: #f6f7fb;
  --editorial-line: rgba(53, 45, 75, 0.11);
  --editorial-accent: #7c3aed;
  --editorial-accent-strong: #6d28d9;
  --editorial-accent-soft: #f3efff;
  --editorial-pink: #db2777;
  --editorial-success: #13795b;
  --editorial-danger: #b4233d;
  --editorial-card-shadow: 0 14px 34px rgba(39, 31, 64, 0.065);
  color-scheme: light;
  background: var(--editorial-page);
  color: var(--editorial-ink);
}

.editorial-review-detail-shell {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 72px;
}

.editorial-review-breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 0 2px 12px;
  color: var(--editorial-muted);
  font-size: 0.74rem;
}

.editorial-review-breadcrumb a {
  flex: 0 0 auto;
  color: var(--editorial-accent-strong);
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.editorial-review-breadcrumb svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.editorial-review-breadcrumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-review,
.editorial-review-content,
.editorial-review-lead,
.editorial-review-header {
  min-width: 0;
}

.editorial-review-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 7% 94%, rgba(124, 58, 237, 0.11), transparent 35%),
    radial-gradient(circle at 94% 5%, rgba(236, 72, 153, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.98);
  box-shadow: var(--editorial-card-shadow);
}

.editorial-review-lead::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(124, 58, 237, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.editorial-review-lead--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-review-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.editorial-review-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.editorial-review-eyebrow,
.editorial-review-trust-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.2;
}

.editorial-review-eyebrow {
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--editorial-accent), var(--editorial-pink));
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.editorial-review-trust-badge {
  color: #554d64;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(72, 61, 95, 0.11);
}

.editorial-review-eyebrow svg,
.editorial-review-trust-badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.3px;
}

.editorial-review-header h1 {
  max-width: 700px;
  margin: 20px 0 0;
  overflow-wrap: break-word;
  color: var(--editorial-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.editorial-review-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: #514b5c;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.58;
}

.editorial-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.editorial-review-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 999px;
  color: #665d75;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 730;
}

.editorial-review-tags svg {
  width: 12px;
  height: 12px;
  color: var(--editorial-accent);
}

.editorial-review-meta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 20px;
}

.editorial-review-byline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #716a7d;
  font-size: 0.78rem;
  font-weight: 720;
}

.editorial-review-byline svg {
  width: 15px;
  height: 15px;
  color: var(--editorial-accent);
}

.editorial-review-share {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 999px;
  color: var(--editorial-accent-strong);
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.editorial-review-share svg {
  width: 15px;
  height: 15px;
}

.editorial-review-share-status {
  color: var(--editorial-success);
  font-size: 0.7rem;
  font-weight: 740;
}

.editorial-review-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(53, 45, 75, 0.09);
}

.editorial-review-jump-links button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  color: #554c64;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(72, 61, 95, 0.1);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}

.editorial-review-jump-links button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.editorial-review-hero {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ece9f2;
}

.editorial-review-hero-stage {
  position: relative;
  min-height: 440px;
}

.editorial-review-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-review-hero--portrait img {
  object-fit: contain;
  object-position: center top;
}

.editorial-review-zoomable {
  cursor: zoom-in;
}

.editorial-review-zoomable:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: -5px;
}

.editorial-review-hero-gallery-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 17, 30, 0.64);
  box-shadow: 0 8px 22px rgba(15, 10, 25, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.editorial-review-hero-gallery-hint svg {
  width: 16px;
  height: 16px;
}

.editorial-review-hero-gallery-hint strong {
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1;
}

.editorial-review-hero figcaption {
  position: relative;
  margin: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(20, 17, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.66rem;
  line-height: 1.4;
}

.editorial-review-hero figcaption a,
.editorial-review-gallery figcaption a {
  color: inherit;
  text-underline-offset: 2px;
}

.editorial-review-content {
  width: min(820px, 100%);
  margin: 18px auto 0;
}

.editorial-review-snapshot,
.editorial-review-longread,
.editorial-review-media-story,
.editorial-review-gallery-section {
  scroll-margin-top: 92px;
}

#editorial-review-snapshot-title,
#editorial-review-media-title,
#editorial-review-longread-title,
#editorial-review-gallery-title {
  scroll-margin-top: 92px;
}

.editorial-review-snapshot,
.editorial-review-longread {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--editorial-line);
  border-radius: 26px;
  background: var(--editorial-paper);
  box-shadow: var(--editorial-card-shadow);
}

.editorial-review-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.editorial-review-section-heading > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--editorial-accent);
  background: var(--editorial-accent-soft);
}

.editorial-review-section-heading > span svg {
  width: 19px;
  height: 19px;
}

.editorial-review-section-heading > div {
  min-width: 0;
}

.editorial-review-section-heading p,
.editorial-review-section-kicker {
  margin: 0 0 2px;
  color: var(--editorial-accent-strong);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-review-section-heading h2,
.editorial-review-related h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: inherit;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 830;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.editorial-review-verdict {
  padding: 20px;
  border: 1px solid rgba(124, 58, 237, 0.11);
  border-radius: 18px;
  background: linear-gradient(145deg, #f2efff, #fbfaff);
}

.editorial-review-verdict > span,
.editorial-review-audience > span {
  display: block;
  margin-bottom: 7px;
  color: var(--editorial-accent-strong);
  font-size: 0.65rem;
  font-weight: 830;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.editorial-review-verdict p,
.editorial-review-audience p {
  margin: 0;
  color: #3f394b;
  line-height: 1.62;
}

.editorial-review-verdict p {
  font-size: 1rem;
  font-weight: 560;
}

.editorial-review-rubric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.editorial-review-rubric {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--editorial-line);
  border-radius: 17px;
}

.editorial-review-rubric--strengths {
  border-color: rgba(19, 121, 91, 0.15);
  background: rgba(232, 249, 242, 0.72);
}

.editorial-review-rubric--weaknesses {
  border-color: rgba(180, 35, 61, 0.12);
  background: rgba(255, 242, 245, 0.75);
}

.editorial-review-rubric h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  color: var(--editorial-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.editorial-review-rubric h3 svg {
  width: 16px;
  height: 16px;
}

.editorial-review-rubric ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #4c4557;
  font-size: 0.84rem;
  line-height: 1.52;
}

.editorial-review-rubric li + li {
  margin-top: 7px;
}

.editorial-review-audience {
  margin-top: 10px;
  padding: 18px 20px;
  border-radius: 17px;
  background: #faf9fc;
}

.editorial-review-audience p {
  font-size: 0.9rem;
}

.editorial-review-media-story,
.editorial-review-longread,
.editorial-review-gallery-section {
  margin-top: 18px;
}

.editorial-review-media-story,
.editorial-review-gallery-section {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--editorial-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--editorial-card-shadow);
}

.editorial-review-media {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eeecf2;
}

.editorial-review-media + .editorial-review-media {
  margin-top: 18px;
}

.editorial-review-media > img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.editorial-review-video-stage,
.editorial-review-youtube {
  display: grid;
  width: 100%;
  place-items: center;
  overflow: hidden;
  background: #17131f;
}

.editorial-review-media--landscape .editorial-review-video-stage,
.editorial-review-media--landscape .editorial-review-youtube {
  aspect-ratio: 16 / 9;
}

.editorial-review-media--square .editorial-review-video-stage,
.editorial-review-media--square .editorial-review-youtube {
  aspect-ratio: 1;
}

.editorial-review-media--portrait .editorial-review-video-stage,
.editorial-review-media--portrait .editorial-review-youtube {
  min-height: min(72vh, 720px);
  padding: 18px;
}

.editorial-review-video-stage video,
.editorial-review-youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.editorial-review-video-stage video {
  max-height: 720px;
  object-fit: contain;
}

.editorial-review-media--portrait .editorial-review-video-stage video,
.editorial-review-media--portrait .editorial-review-youtube iframe {
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
}

.editorial-review-media > figcaption {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: var(--editorial-muted);
  background: #fff;
  font-size: 0.72rem;
  line-height: 1.45;
}

.editorial-review-media > figcaption strong {
  color: var(--editorial-ink);
  font-size: 0.82rem;
}

.editorial-review-transcript {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--editorial-line);
  color: var(--editorial-muted);
  background: #faf9fc;
  font-size: 0.76rem;
}

.editorial-review-transcript summary {
  color: var(--editorial-ink);
  font-weight: 790;
  cursor: pointer;
}

.editorial-review-transcript p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.editorial-review-body {
  color: #3e3849;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.72;
}

.editorial-review-body > :first-child {
  margin-top: 0;
}

.editorial-review-body > :last-child {
  margin-bottom: 0;
}

.editorial-review-body h2,
.editorial-review-body h3 {
  color: var(--editorial-ink);
  font-family: inherit;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.editorial-review-body h2 {
  margin: 1.65em 0 0.55em;
  font-size: 1.5em;
}

.editorial-review-body h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.24em;
}

.editorial-review-body p,
.editorial-review-body ul,
.editorial-review-body ol,
.editorial-review-body blockquote {
  margin-top: 0;
  margin-bottom: 1.05em;
}

.editorial-review-body blockquote {
  margin-inline: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--editorial-accent);
  border-radius: 0 16px 16px 0;
  color: #554d63;
  background: var(--editorial-accent-soft);
  font-weight: 610;
}

.editorial-review-body a {
  color: var(--editorial-accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.editorial-review-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.editorial-review-gallery-heading {
  align-items: center;
}

.editorial-review-gallery-heading > strong {
  align-self: center;
  margin-left: auto;
  color: var(--editorial-muted);
  font-size: 0.72rem;
  font-weight: 760;
  white-space: nowrap;
}

.editorial-review-gallery figure {
  min-width: 0;
  margin: 0;
}

.editorial-review-gallery-item--overflow {
  display: none;
}

.editorial-review-gallery-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #ece9f2;
}

.editorial-review-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .editorial-review-gallery-image-wrap:hover img {
    transform: scale(1.025);
    filter: brightness(0.94);
  }
}

.editorial-review-gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background: rgba(17, 13, 28, 0.52);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.editorial-review-gallery-more strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.editorial-review-gallery-more small {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 760;
}

.editorial-review-gallery figcaption {
  padding: 8px 3px 0;
  color: var(--editorial-muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.editorial-review-lightbox .zoom-modal-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 10003;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 12, 24, 0.62);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.editorial-review-lightbox .zoom-modal-close svg {
  width: 22px;
  height: 22px;
}

.editorial-review-lightbox .zoom-modal-close:hover,
.editorial-review-lightbox .zoom-modal-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(15, 12, 24, 0.86);
  outline: none;
  transform: scale(1.04);
}

.editorial-review-after-article {
  width: min(820px, 100%);
  margin: 0 auto;
}

.editorial-review-entity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--editorial-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--editorial-card-shadow);
}

.editorial-review-entity__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--editorial-accent);
  background: var(--editorial-accent-soft);
}

.editorial-review-entity__icon svg {
  width: 20px;
  height: 20px;
}

.editorial-review-entity p {
  margin: 0 0 3px;
  color: var(--editorial-muted);
  font-size: 0.69rem;
  font-weight: 720;
}

.editorial-review-entity strong {
  display: block;
  overflow: hidden;
  color: var(--editorial-ink);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-review-entity > a,
.editorial-review-back-to-index a,
.editorial-review-not-found a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--editorial-accent), var(--editorial-pink));
  font-size: 0.74rem;
  font-weight: 790;
  text-decoration: none;
}

.editorial-review-entity > a svg,
.editorial-review-back-to-index svg,
.editorial-review-not-found a svg {
  width: 16px;
  height: 16px;
}

.editorial-review-related {
  margin-top: 34px;
}

.editorial-review-related > div {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.editorial-review-related > div > a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid var(--editorial-line);
  border-radius: 17px;
  color: var(--editorial-ink);
  background: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.editorial-review-related span {
  color: var(--editorial-muted);
  font-size: 0.7rem;
}

.editorial-review-related strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-review-related svg {
  width: 17px;
  height: 17px;
  color: var(--editorial-accent);
}

.editorial-review-back-to-index {
  margin-top: 30px;
  text-align: center;
}

.editorial-review-preview {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #7a3414;
  background: #fff2df;
  font-size: 0.76rem;
  font-weight: 780;
  text-align: center;
}

.editorial-review-not-found {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  padding: 42px 22px;
  border: 1px dashed rgba(124, 58, 237, 0.25);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.editorial-review-not-found > span {
  color: var(--editorial-accent);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 860;
  letter-spacing: -0.07em;
  line-height: 1;
}

.editorial-review-not-found h1 {
  margin: 12px 0 0;
  color: var(--editorial-ink);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 830;
  letter-spacing: -0.04em;
}

.editorial-review-not-found p {
  max-width: 520px;
  margin: 10px auto 20px;
  color: var(--editorial-muted);
  line-height: 1.55;
}

/* Reviewul compact afișat pe paginile de eveniment și locație. */
.editorial-review-on-entity {
  width: min(100%, 980px);
  margin: 48px auto 28px;
  padding: 0 12px;
}

.editorial-review-on-entity__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.editorial-review-on-entity__heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #7c3aed;
  background: #f3efff;
}

.editorial-review-on-entity__heading svg {
  width: 20px;
  height: 20px;
}

.editorial-review-on-entity__heading p {
  margin: 0 0 2px;
  color: #6d28d9;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-review-on-entity__heading h2 {
  margin: 0;
  color: #171325;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 820;
  letter-spacing: -0.03em;
}

.editorial-review-on-entity__card {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  overflow: hidden;
  border: 1px solid rgba(53, 45, 75, 0.11);
  border-radius: 24px;
  color: #171325;
  background: #fff;
  box-shadow: 0 16px 42px rgba(31, 27, 55, 0.08);
  text-decoration: none;
}

.editorial-review-on-entity__media {
  min-height: 220px;
  overflow: hidden;
  background: #ebe9f3;
}

.editorial-review-on-entity__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-review-on-entity__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 4vw, 36px);
}

.editorial-review-on-entity__copy small {
  color: #6d28d9;
  font-weight: 760;
}

.editorial-review-on-entity__copy strong {
  margin-top: 8px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.editorial-review-on-entity__copy > span {
  margin-top: 11px;
  color: #6f697d;
  line-height: 1.55;
}

.editorial-review-on-entity__copy b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: #6d28d9;
  font-size: 0.86rem;
}

.editorial-review-on-entity__copy b svg {
  width: 17px;
  height: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .editorial-review-share:hover,
  .editorial-review-jump-links button:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(73, 50, 126, 0.09);
  }

  .editorial-review-related > div > a:hover,
  .editorial-review-on-entity__card:hover {
    border-color: rgba(124, 58, 237, 0.24);
    transform: translateY(-2px);
    box-shadow: 0 17px 38px rgba(39, 31, 64, 0.1);
  }
}

@media (min-width: 992px) {
  .editorial-review-detail-page .navbar-glass .header-mobile-back-btn {
    display: none !important;
  }

}

.editorial-review-share:focus-visible,
.editorial-review-jump-links button:focus-visible,
.editorial-review-entity > a:focus-visible,
.editorial-review-related a:focus-visible,
.editorial-review-back-to-index a:focus-visible,
.editorial-review-on-entity__card:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.28);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  body.editorial-review-detail-page {
    padding-top: 0 !important;
  }

  .editorial-review-detail-shell {
    width: min(100% - 24px, 820px);
    padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .editorial-review-detail-page .navbar-glass.detail-minimal-header .header-mobile-back-btn {
    top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
    right: calc(env(safe-area-inset-right, 0px) + 18px) !important;
  }

  .editorial-review-breadcrumb {
    display: none;
  }

  .editorial-review-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border-radius: 25px;
  }

  .editorial-review-header {
    order: 2;
    padding: 26px;
  }

  .editorial-review-hero {
    order: 1;
    border-radius: 24px 24px 0 0;
  }

  .editorial-review-hero-stage {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .editorial-review-hero--portrait .editorial-review-hero-stage {
    /* A compact overview; the original remains available in the lightbox. */
    aspect-ratio: auto;
    height: clamp(180px, 32svh, 260px);
  }

  .editorial-review-hero img {
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: var(--review-focus-x, 50%) var(--review-focus-y, 0%);
  }

  .editorial-review-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .editorial-review-rubric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 679.98px) {
  .editorial-review-detail-shell {
    width: calc(100% - 20px);
  }

  .editorial-review-header {
    padding: 20px 27px 22px;
  }

  .editorial-review-lead {
    margin-inline: -10px;
    border-inline: 0;
    border-radius: 0;
  }

  .editorial-review-hero {
    border-radius: 0;
  }

  .editorial-review-trust-row {
    align-items: flex-start;
  }

  .editorial-review-eyebrow,
  .editorial-review-trust-badge {
    min-height: 29px;
    padding: 5px 9px;
    font-size: 0.61rem;
  }

  .editorial-review-header h1 {
    margin-top: 16px;
    font-size: clamp(1.5rem, 6.7vw, 1.75rem);
    line-height: 1.25;
  }

  .editorial-review-intro {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .editorial-review-tags {
    margin-top: 14px;
  }

  .editorial-review-tags span:nth-child(n + 6) {
    display: none;
  }

  .editorial-review-meta-actions {
    margin-top: 16px;
  }

  .editorial-review-jump-links {
    flex-wrap: nowrap;
    margin-right: -17px;
    margin-left: -17px;
    padding-right: 17px;
    padding-left: 17px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .editorial-review-jump-links::-webkit-scrollbar {
    display: none;
  }

  .editorial-review-jump-links button {
    flex: 0 0 auto;
  }

  .editorial-review-hero-stage {
    aspect-ratio: 4 / 3;
  }

  .editorial-review-hero figcaption {
    margin: 8px;
    padding: 8px 9px;
    font-size: 0.61rem;
  }

  .editorial-review-content {
    margin-top: 10px;
  }

  .editorial-review-snapshot,
  .editorial-review-longread,
  .editorial-review-media-story,
  .editorial-review-gallery-section {
    padding: 18px 15px;
    border-radius: 22px;
  }

  .editorial-review-section-heading {
    gap: 10px;
    margin-bottom: 15px;
  }

  .editorial-review-section-heading > span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .editorial-review-section-heading h2 {
    font-size: 1.28rem;
  }

  .editorial-review-verdict,
  .editorial-review-rubric,
  .editorial-review-audience {
    padding: 15px;
    border-radius: 15px;
  }

  .editorial-review-verdict p {
    font-size: 0.92rem;
  }

  .editorial-review-rubric-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-review-body {
    font-size: 0.94rem;
    line-height: 1.67;
  }

  .editorial-review-body h2 {
    font-size: 1.36em;
  }

  .editorial-review-media-story,
  .editorial-review-longread,
  .editorial-review-gallery-section {
    margin-top: 10px;
  }

  .editorial-review-media {
    border-radius: 15px;
  }

  .editorial-review-media--portrait .editorial-review-video-stage,
  .editorial-review-media--portrait .editorial-review-youtube {
    min-height: min(68vh, 620px);
    padding: 10px;
  }

  .editorial-review-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-review-gallery-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .editorial-review-gallery-item:nth-child(3) img {
    aspect-ratio: 16 / 9;
  }

  .editorial-review-entity {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 15px;
    border-radius: 19px;
  }

  .editorial-review-entity > a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .editorial-review-related > div > a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .editorial-review-related span {
    grid-column: 1 / -1;
  }

  .editorial-review-related strong {
    white-space: normal;
  }

  .editorial-review-back-to-index {
    margin-top: 24px;
  }

  .editorial-review-on-entity {
    margin-top: 36px;
    padding: 0;
  }

  .editorial-review-on-entity__card {
    grid-template-columns: 112px minmax(0, 1fr);
    border-radius: 20px;
  }

  .editorial-review-on-entity__media {
    min-height: 174px;
  }

  .editorial-review-on-entity__copy {
    padding: 17px 16px;
  }

  .editorial-review-on-entity__copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .editorial-review-on-entity__copy > span {
    display: none;
  }

  .editorial-review-on-entity__copy b {
    margin-top: 10px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-review-share,
  .editorial-review-related > div > a,
  .editorial-review-on-entity__card {
    transition: none;
  }
}

.editorial-review-longread a { overflow-wrap: anywhere; }
