.update-version-browser {
  color: var(--text);
}

.update-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.update-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid #e3b98f;
  border-radius: 8px;
  background-color: #5b493b;
  box-shadow: 0 8px 22px rgba(135, 78, 29, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(135, 78, 29, 0.2);
}

.update-feature-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-feature-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  background: #3f8d24;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(30, 24, 18, 0.24);
  z-index: 2;
}

.update-feature-badge--upcoming {
  background: #a85d1a;
}

.update-feature-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 46px 14px 14px;
  background: linear-gradient(180deg, rgba(37, 25, 17, 0), rgba(37, 25, 17, 0.94) 40%);
  color: #fff;
}

.guide-article .update-feature-copy h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}

.update-feature-copy > p {
  margin: 0;
  color: #f2f2f2;
  font-size: 13px;
  line-height: 1.55;
}

.update-edition-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.update-edition-links a {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  background: rgba(255, 253, 249, 0.95);
  color: var(--text);
  padding: 8px 9px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.update-edition-links a:hover,
.update-edition-links a:focus-visible {
  border-color: #f0b277;
  background: #fff;
  transform: translateY(-1px);
}

.update-edition-links span,
.update-edition-links strong {
  display: block;
}

.update-edition-links span {
  color: #8a6b4f;
  font-size: 10px;
  font-weight: 700;
}

.update-edition-links strong {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
}

.update-test-versions {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffbf6;
}

.update-test-versions > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 13px 48px 13px 14px;
  background: #fff6ed;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.update-test-versions > summary::-webkit-details-marker {
  display: none;
}

.update-test-versions > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 13px;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f4dfca;
  color: #8f4a12;
  font-size: 18px;
  line-height: 25px;
}

.update-test-versions[open] > summary::after {
  content: "−";
}

.update-test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.update-test-link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.update-test-link:hover,
.update-test-link:focus-visible {
  transform: translateY(-1px);
  border-color: #e3b98f;
  box-shadow: 0 7px 16px rgba(135, 78, 29, 0.12);
}

.update-test-thumbnail {
  min-height: 92px;
  border-right: 1px solid var(--line);
}

.update-test-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-test-copy {
  align-self: center;
  min-width: 0;
  padding: 10px;
}

.update-test-copy small,
.update-test-copy strong,
.update-test-copy > span {
  display: block;
}

.update-test-copy small {
  color: #8f4a12;
  font-size: 10px;
  font-weight: 800;
}

.update-test-copy strong {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
}

.update-test-copy > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .update-feature-grid,
  .update-test-grid {
    grid-template-columns: 1fr;
  }

  .update-feature {
    min-height: 330px;
  }
}

@media (max-width: 480px) {
  .update-feature {
    min-height: 360px;
  }

  .update-edition-links {
    grid-template-columns: 1fr;
  }

  .update-test-link {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}
