/* Release-News test: Variant 01 "Release Briefing".
   Scope: .rn-release only, so the normal article and news pages are untouched. */

#block-main #main #content .rn-release {
  --rn-ink: #10202c;
  --rn-muted: #5b7180;
  --rn-line: #dbe6ee;
  --rn-blue: #2f6fb0;
  --rn-navy: #0d1b26;
  --rn-soft: #f4f7f9;
  --rn-green: #2f8f6b;
  color: var(--rn-ink);
  padding: 22px 0 10px;
}

.rn-release,
.rn-release * {
  box-sizing: border-box;
}

.rn-release a {
  text-decoration: none;
}

/* Small news channel navigation above the release hero. */
.rn-release .rn-newsnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 16px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.rn-release .rn-newsnav a {
  color: var(--rn-blue);
}

.rn-release .rn-newsnav a:hover,
.rn-release .rn-newsnav a:focus-visible {
  text-decoration: underline;
}

.rn-release .rn-kicker {
  margin: 0 0 8px;
  color: var(--rn-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rn-release .rn-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 38px 38px 42px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(90, 173, 232, .26), transparent 38%),
    linear-gradient(135deg, #0d1b26 0%, #123149 62%, #17496c 100%);
  border-radius: 10px;
}

/* Archive releases use the same hero without a product image. */
.rn-release .rn-hero.rn-hero-solo {
  grid-template-columns: minmax(0, 1fr);
}

.rn-release.rn-has-bg .rn-hero {
  background: linear-gradient(135deg, #0d1b26 0%, #123149 62%, #17496c 100%);
}

.rn-release.rn-has-bg .rn-hero::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  background: var(--rn-bg) center / cover no-repeat;
  filter: blur(2.5px) brightness(.52) saturate(.85);
  transform: scale(1.03);
}

.rn-release.rn-has-bg .rn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(13, 27, 38, .96) 0%, rgba(13, 27, 38, .82) 55%, rgba(13, 27, 38, .55) 100%);
}

.rn-release.rn-has-bg .rn-hero > * {
  position: relative;
  z-index: 1;
}

.rn-release .rn-hero-solo .rn-lead {
  max-width: 780px;
}

.rn-release .rn-hero .rn-kicker {
  color: #8fd0ff;
}

#block-main #main #content .rn-release .rn-hero h1 {
  max-width: 640px;
  margin: 0 0 12px;
  color: #fff !important;
  font-size: clamp(36px, 4.6vw, 58px) !important;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.rn-release .rn-hero h1 small {
  display: block;
  margin-top: 6px;
  color: #b9d9ee !important;
  font-size: .42em;
  font-weight: 500;
  letter-spacing: -.01em;
}

.rn-release .rn-lead {
  max-width: 640px;
  margin: 0;
  color: #d5e5f1;
  font-size: 16px;
  line-height: 1.62;
}

.rn-release .rn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 14px 0 18px;
  color: #a9c9dd;
  font-size: 10px;
  font-weight: 600;
}

.rn-release .rn-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rn-release .rn-meta i {
  font-size: 11px;
}

.rn-release .rn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rn-release .rn-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.rn-release .rn-btn i {
  font-size: 12px;
}

.rn-release .rn-btn-light {
  color: var(--rn-navy) !important;
  background: #fff;
  border-color: #fff;
}

.rn-release .rn-btn-light:hover,
.rn-release .rn-btn-light:focus-visible {
  color: var(--rn-navy) !important;
  background: #e8f4fc;
  border-color: #e8f4fc;
}

.rn-release .rn-btn-ghost {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
}

.rn-release .rn-btn-ghost:hover,
.rn-release .rn-btn-ghost:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
}

.rn-release .rn-btn-soft {
  color: var(--rn-blue) !important;
  background: #eaf3f8;
  border-color: #eaf3f8;
}

.rn-release .rn-btn-soft:hover,
.rn-release .rn-btn-soft:focus-visible {
  color: var(--rn-blue) !important;
  background: #dcecf7;
  border-color: #dcecf7;
}

.rn-release .rn-btn-sm {
  padding: 7px 10px;
  font-size: 10px;
}

.rn-release .rn-art {
  position: relative;
  min-height: 250px;
  padding: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
}

.rn-release .rn-art-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #b9d9ee;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Real product screenshot instead of the mockup tile grid. */
.rn-release .rn-art-shot {
  padding: 14px;
}

.rn-release .rn-art-shot .rn-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.rn-release .rn-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.rn-release .rn-photo-grid span {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #3c7ca8, #7fc4ef);
}

.rn-release .rn-photo-grid span:nth-child(2n) { background: linear-gradient(135deg, #b96d3f, #e8a56c); }
.rn-release .rn-photo-grid span:nth-child(3n) { background: linear-gradient(135deg, #3f7d6a, #91c9a9); }
.rn-release .rn-photo-grid span:nth-child(5n) { background: linear-gradient(135deg, #6b5d9b, #b7a7e8); }

.rn-release .rn-badge {
  position: absolute;
  right: -10px;
  bottom: -12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--rn-ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.rn-release .rn-badge i {
  color: #e87722;
}

.rn-release .rn-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -22px 18px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(13, 27, 38, .08);
}

.rn-release .rn-stat {
  padding: 14px 16px;
  border-right: 1px solid var(--rn-line);
}

.rn-release .rn-stat:last-child {
  border-right: 0;
}

.rn-release .rn-stat b {
  display: block;
  color: var(--rn-ink);
  font-size: 21px;
  line-height: 1;
}

.rn-release .rn-stat span {
  display: block;
  margin-top: 4px;
  color: var(--rn-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rn-release .rn-section {
  margin: 38px 0;
}

.rn-release .rn-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#block-main #main #content .rn-release .rn-section-head h2,
#block-main #main #content .rn-release .rn-card h2 {
  margin: 0;
  color: var(--rn-ink);
  font-size: 24px;
  line-height: 1.2;
}

.rn-release .rn-section-head > a {
  color: var(--rn-blue);
  font-size: 11px;
  font-weight: 700;
}

.rn-release .rn-section-head > a:hover {
  text-decoration: underline;
}

.rn-release .rn-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rn-release .rn-feature {
  display: flex;
  gap: 13px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: 9px;
}

.rn-release .rn-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--rn-blue);
  background: #eaf3f8;
  border-radius: 10px;
}

.rn-release .rn-icon i {
  font-size: 17px;
  line-height: 1;
}

#block-main #main #content .rn-release .rn-feature h3 {
  margin: 1px 0 5px;
  color: var(--rn-ink);
  font-size: 15px;
  line-height: 1.3;
}

.rn-release .rn-feature p {
  margin: 0;
  color: var(--rn-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Two real screenshots between the highlights and the upgrade checks. */
.rn-release .rn-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rn-release .rn-gallery figure {
  margin: 0;
}

.rn-release .rn-gallery .rn-shot-link {
  display: block;
}

.rn-release .rn-gallery .rn-shot-link:hover img,
.rn-release .rn-gallery .rn-shot-link:focus-visible img {
  border-color: var(--rn-blue);
}

.rn-release .rn-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: 9px;
}

.rn-release .rn-gallery figcaption {
  margin-top: 7px;
  color: var(--rn-muted);
  font-size: 10px;
  line-height: 1.45;
}

.rn-release .rn-gallery figcaption code {
  font-size: 9px;
  color: var(--rn-ink);
}

/* Context block between the facts bar and the highlight cards. */
.rn-release .rn-prose {
  max-width: 880px;
}

#block-main #main #content .rn-release .rn-prose h2 {
  margin: 0 0 10px;
  color: var(--rn-ink);
  font-size: 24px;
  line-height: 1.2;
}

.rn-release .rn-prose > p:not(.rn-kicker) {
  margin: 0 0 12px;
  color: var(--rn-muted);
  font-size: 13px;
  line-height: 1.7;
}

.rn-release .rn-prose > p:last-child {
  margin-bottom: 0;
}

.rn-release .rn-prose .rn-prose-note {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--rn-line);
  font-size: 11px;
}

/* Compact three-column notes above the download band. */
.rn-release .rn-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rn-release .rn-note {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: 9px;
}

#block-main #main #content .rn-release .rn-note h3 {
  margin: 0 0 6px;
  color: var(--rn-ink);
  font-size: 14px;
  line-height: 1.3;
}

.rn-release .rn-note h3 i {
  margin-right: 6px;
  color: var(--rn-blue);
  font-size: 12px;
}

.rn-release .rn-note p {
  margin: 0 0 10px;
  color: var(--rn-muted);
  font-size: 11px;
  line-height: 1.55;
}

.rn-release .rn-note a {
  color: var(--rn-blue);
  font-size: 10px;
  font-weight: 700;
}

.rn-release .rn-note a:hover {
  text-decoration: underline;
}

.rn-release .rn-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 14px;
  margin: 26px 0;
}

.rn-release .rn-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: 10px;
}

.rn-release .rn-check-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.rn-release .rn-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.rn-release .rn-check > i {
  margin-top: 2px;
  color: var(--rn-green);
  font-size: 14px;
}

.rn-release .rn-check strong {
  display: block;
  margin-bottom: 2px;
  color: var(--rn-ink);
  font-size: 12px;
}

.rn-release .rn-check span {
  display: block;
  color: var(--rn-muted);
  font-size: 10px;
  line-height: 1.45;
}

.rn-release .rn-change-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f5;
  color: var(--rn-ink);
  font-size: 11px;
}

.rn-release .rn-change-row:last-of-type {
  border-bottom: 0;
}

.rn-release .rn-change-row code {
  color: var(--rn-muted);
  font-size: 9px;
  font-weight: 700;
}

.rn-release .rn-change-row em {
  display: inline-block;
  margin-left: 6px;
  color: #8a9ba7;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.rn-release .rn-change-row + .rn-btn {
  margin-top: 12px;
}

.rn-release .rn-download-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  color: #fff;
  background: var(--rn-navy);
  border-radius: 9px;
}

#block-main #main #content .rn-release .rn-download-band h3 {
  margin: 0 0 3px;
  color: #fff !important;
  font-size: 18px;
}

.rn-release .rn-download-band p {
  margin: 0;
  color: #b9d0df;
  font-size: 11px;
}

/* Release pages use the full content width and no sidebar, whether they are
   reached through the hidden test menu or through the regular news menu. */
body.release-test #main #sidebar-a,
body:has(.rn-release) #main #sidebar-a {
  display: none !important;
}

body.release-test #main.layout-main.has-right,
body.release-test #main.layout-main.has-left.has-right,
body:has(.rn-release) #main.layout-main.has-right,
body:has(.rn-release) #main.layout-main.has-left.has-right {
  grid-template-columns: minmax(0, 1fr) !important;
}

body:has(.rn-release) #breadcrumbs {
  display: none !important;
}

body:has(.rn-release) #block-main {
  padding-top: 0 !important;
}

@media (max-width: 980px) {
  .rn-release .rn-hero,
  .rn-release .rn-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-release .rn-note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-release .rn-hero {
    gap: 26px;
    padding: 30px;
  }

  .rn-release .rn-hero h1 {
    max-width: 26ch;
  }
}

@media (max-width: 767px) {
  #block-main #main #content .rn-release {
    padding-top: 12px;
  }

  .rn-release .rn-hero {
    padding: 24px 21px 28px;
  }

  #block-main #main #content .rn-release .rn-hero h1 {
    font-size: 38px !important;
  }

  .rn-release .rn-lead {
    font-size: 14px;
  }

  .rn-release .rn-badge {
    position: static;
    width: max-content;
    max-width: 100%;
    margin-top: 10px;
  }

  .rn-release .rn-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
  }

  .rn-release .rn-stat:nth-child(2) {
    border-right: 0;
  }

  .rn-release .rn-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--rn-line);
  }

  .rn-release .rn-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-release .rn-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-release .rn-section-head h2,
  .rn-release .rn-card h2 {
    font-size: 22px;
  }

  #block-main #main #content .rn-release .rn-prose h2 {
    font-size: 22px;
  }

  .rn-release .rn-download-band {
    align-items: flex-start;
    padding: 20px;
  }
}
