/* =========================================================
   BRAVIA SOFTWARE UPDATE ARTICLE — 4 COLOR SYSTEM
   Scope: article content only
   Core colors:
   1. Blue  #2563EB — system / primary
   2. Cyan  #06B6D4 — Internet
   3. Green #16A34A — USB / success
   4. Amber #F59E0B — warning

   Neutral white/gray/black values are used only for readability.
   No JS, data mapping, route, API or article behavior is changed.
   ========================================================= */

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] {
  --bravia-blue: #2563eb;
  --bravia-cyan: #06b6d4;
  --bravia-green: #16a34a;
  --bravia-amber: #f59e0b;

  --bravia-text: #172033;
  --bravia-muted: #5f6b7a;
  --bravia-line: #e4e9f0;
  --bravia-surface: #ffffff;
  --bravia-soft: #f7f9fc;

  color: var(--bravia-text);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: normal;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] *,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] *::before,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] *::after {
  box-sizing: border-box;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] img,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] video,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] > p:first-of-type {
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--bravia-muted);
  line-height: 1.7;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .blog-paragraph.blog-lead .bravia-firmware-summary {
  color: var(--bravia-blue);
  font-weight: 700;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h1,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h2,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h3 {
  color: var(--bravia-text);
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 56px);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h2 {
  margin: clamp(28px, 3.2vw, 34px) 0 12px;
  padding-left: 16px;
  border-left: 5px solid var(--bravia-blue);
  font-size: clamp(27px, 3.3vw, 38px);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h3 {
  margin: clamp(18px, 2.4vw, 24px) 0 8px;
  font-size: clamp(21px, 2.4vw, 27px);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h3:has(> .bravia-step-chip) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-chip {
  --bravia-step-chip-color: var(--bravia-blue);

  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--bravia-step-chip-color) 48%, var(--bravia-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bravia-step-chip-color) 14%, var(--bravia-surface));
  color: color-mix(in srgb, var(--bravia-step-chip-color) 82%, var(--bravia-text));
  font-size: 0.63em;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-chip--two {
  --bravia-step-chip-color: var(--bravia-cyan);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-chip--three {
  --bravia-step-chip-color: var(--bravia-green);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-title-text {
  min-width: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [aria-labelledby="software-check-title"]
  .guide-step-number {
  border: 1px solid color-mix(in srgb, var(--bravia-green) 48%, var(--bravia-line));
  background: color-mix(in srgb, var(--bravia-green) 14%, var(--bravia-surface));
  color: color-mix(in srgb, var(--bravia-green) 82%, var(--bravia-text));
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] p,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] ul,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] ol {
  margin-top: 0;
  margin-bottom: 18px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] li + li {
  margin-top: 8px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] strong {
  color: var(--bravia-text);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] a {
  color: var(--bravia-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] a:hover {
  text-decoration-thickness: 2px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] hr {
  height: 1px;
  margin: 48px 0;
  border: 0;
  background: var(--bravia-line);
}

/* ---------- Instruction flows ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-flow {
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 0;
  border-left: 4px solid var(--bravia-blue);
  border-radius: 0 14px 14px 0;
  background: color-mix(in srgb, var(--bravia-blue) 10%, var(--bravia-surface));
  box-shadow: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-flow p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 9px;
  align-items: center;
  min-width: 0;
  margin: 0;
  color: var(--bravia-text);
  font-size: 0.9em;
  font-weight: 720;
  line-height: 1.45;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-flow p > span {
  min-width: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 9px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-link > span:last-child {
  min-width: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--bravia-amber);
  font-size: 1.12em;
  font-weight: 900;
  line-height: 1;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-flow--summary {
  margin-block: 14px;
  border-left-color: var(--bravia-green);
  background: color-mix(in srgb, var(--bravia-green) 9%, var(--bravia-surface));
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-flow--summary strong {
  flex: 0 0 100%;
  color: var(--bravia-green);
}

/* Reuse the established article CTA button convention. */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-firmware-cta {
  margin: 20px 0 24px;
  text-align: center;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .vm-button {
  display: inline-flex;
  min-height: 46px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--bravia-blue);
  color: #fff;
  font: inherit;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgb(23 67 102 / 18%);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .vm-button:hover {
  background: var(--bravia-cyan);
  color: #fff;
}

/* ---------- Step figures ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure {
  display: grid;
  align-items: start;
  gap: 10px;
  margin: 16px 0 24px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure img {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-steps {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-steps li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-action-steps li::before {
  content: "→";
  color: var(--bravia-cyan);
  font-weight: 800;
  line-height: 1.5;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure figcaption {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--bravia-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Article-owned image galleries ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"][data-gallery-shape="landscape"]
  [role="region"] {
  height: clamp(250px, 34vw, 330px);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset],
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset][aria-current="true"] {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset]::before,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset]::after {
  content: none;
  background: none;
  opacity: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [data-gallery-media],
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [data-gallery-media]
  img {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset]:not([aria-current="true"])
  [data-gallery-media],
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [aria-posinset]:not([aria-current="true"])
  [data-gallery-media]
  img {
  border-radius: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [data-gallery-caption],
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  [data-gallery-presentation="image-only"]
  [data-gallery-badge] {
  display: none;
}

/* ---------- Four functional callouts ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout {
  position: relative;
  margin: 26px 0;
  padding: 20px 22px 20px 24px;
  border: 1px solid var(--bravia-line);
  border-left-width: 5px;
  border-radius: 16px;
  background: var(--bravia-surface);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, currentColor, transparent 36%);
  opacity: 0.055;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout > * {
  position: relative;
  z-index: 1;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout p:last-child {
  margin-bottom: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout--info {
  color: var(--bravia-blue);
  border-left-color: var(--bravia-blue);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout--internet {
  color: var(--bravia-cyan);
  border-left-color: var(--bravia-cyan);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout--usb {
  color: var(--bravia-green);
  border-left-color: var(--bravia-green);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout--warning {
  color: var(--bravia-amber);
  border-left-color: var(--bravia-amber);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout p,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout strong {
  color: var(--bravia-text);
}

/* ---------- Checklist ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 36px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--bravia-line);
  border-radius: 14px;
  background: var(--bravia-surface);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist__item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--bravia-blue);
  font-weight: 800;
  line-height: 1;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist__item p {
  min-width: 0;
  margin: 0;
}

/* ---------- Table ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare {
  width: 100%;
  margin: 24px 0 36px;
  overflow-x: auto;
  border: 1px solid var(--bravia-line);
  border-radius: 16px;
  background: var(--bravia-surface);
  -webkit-overflow-scrolling: touch;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare th,
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare td {
  padding: 15px 18px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--bravia-line);
  overflow-wrap: anywhere;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare th {
  color: #fff;
  background: var(--bravia-blue);
  font-size: 16px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare th:nth-child(2) {
  background: var(--bravia-green);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare tr:last-child td {
  border-bottom: 0;
}

/* ---------- Four-color rule cards ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 36px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--bravia-line);
  border-top: 5px solid currentColor;
  border-radius: 16px;
  background: var(--bravia-surface);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card p {
  margin: 0;
  color: var(--bravia-muted);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card--blue { color: var(--bravia-blue); }
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card--cyan { color: var(--bravia-cyan); }
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card--green { color: var(--bravia-green); }
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-card--amber { color: var(--bravia-amber); }

/* ---------- Flat file structure ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-file-examples {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 18px 0 28px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-file-example {
  min-width: 0;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-file-example > strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-file-tree {
  max-width: 100%;
  margin: 5px 0 0;
  padding: 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--bravia-text);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] :not(pre) > code {
  padding: 0.15em 0.38em;
  border-radius: 6px;
  background: var(--bravia-soft);
}

/* ---------- Blockquote / source note ---------- */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--bravia-blue);
  border-radius: 0 14px 14px 0;
  background: var(--bravia-soft);
  color: var(--bravia-muted);
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] blockquote > :last-child {
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] {
    font-size: 16px;
    line-height: 1.7;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h2 {
    margin-top: 28px;
    padding-left: 12px;
    border-left-width: 4px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure,
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure--pair {
    grid-template-columns: 1fr;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-step-figure img {
    border-radius: 18px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist,
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-rule-grid {
    grid-template-columns: 1fr;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-callout {
    padding: 17px 18px;
    border-radius: 14px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-compare {
    border-radius: 14px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"][data-gallery-shape="landscape"]
    [role="region"] {
    height: clamp(190px, 56vw, 260px);
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"]
    [data-gallery-media],
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"]
    [data-gallery-media]
    img {
    border-radius: 0;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"]
    [aria-posinset]:not([aria-current="true"])
    [data-gallery-media],
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"]
    [aria-posinset]:not([aria-current="true"])
    [data-gallery-media]
    img {
    border-radius: 0;
  }
}

@media (max-width: 390px) {
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
    [data-gallery-presentation="image-only"][data-gallery-shape="landscape"]
    [role="region"] {
    height: clamp(190px, 56vw, 230px);
  }
}

@media (max-width: 480px) {
  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h1 {
    font-size: 32px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h2 {
    font-size: 26px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] h3 {
    font-size: 21px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist__item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-checklist__item span {
    width: 38px;
    height: 38px;
  }

  .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] .bravia-file-tree {
    font-size: 0.74rem;
  }
}

/* ---------- Optional dark-mode compatibility ---------- */
body.theme-night .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"],
body.dark .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"],
[data-theme="night"] .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"],
[data-theme="dark"] .vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"] {
  --bravia-text: #edf2f7;
  --bravia-muted: #aeb9c7;
  --bravia-line: #2a3545;
  --bravia-surface: #111927;
  --bravia-soft: #172131;
}

/* Software-update galleries: reserve a centered label row immediately above
   each image, so the step text is outside the media and cannot be clipped. */
.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  section:is([data-gallery-id="software-check"], [data-gallery-id="software-install"])
  [aria-posinset] {
  position: relative;
  padding-top: 34px;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  section:is([data-gallery-id="software-check"], [data-gallery-id="software-install"])
  [data-gallery-caption] {
  display: none !important;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  section:is([data-gallery-id="software-check"], [data-gallery-id="software-install"])
  [data-gallery-badge] {
  position: absolute;
  z-index: 3;
  top: 6px;
  right: auto;
  left: 50%;
  display: inline-flex !important;
  width: max-content;
  max-width: calc(100% - 20px);
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  background: rgb(5 14 27 / 68%);
  color: #fff;
  font-size: clamp(0.56rem, 0.72vw, 0.66rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 1px 8px rgb(0 0 0 / 45%);
  white-space: nowrap;
  transform: translateX(-50%);
  transition:
    top 450ms cubic-bezier(0.22, 1, 0.36, 1),
    min-height 450ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 450ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 300ms ease,
    font-size 450ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease;
}

.vm-article-theme[data-article-slug="cap-nhat-phan-mem-tv-bravia"]
  section:is([data-gallery-id="software-check"], [data-gallery-id="software-install"])
  [aria-posinset][aria-current="true"]
  [data-gallery-badge] {
  top: 1px;
  min-height: 30px;
  padding: 6px 14px;
  background: rgb(5 14 27 / 86%);
  font-size: clamp(0.76rem, 1vw, 0.9rem);
}
