/* VITAMIND — Article-only geometric theme
   Apply class="vm-article-theme" to the article container.
*/

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] {
  --vm-teal: #009fb2;
  --vm-mint: #78dbcf;
  --vm-sand: #dca076;
  --vm-coral: #ff564e;
}

.vm-article-theme {
  --vm-navy: #233750;
  --vm-navy-2: #17283d;
  --vm-teal: #009fb2;
  --vm-teal-ink: #007481;
  --vm-mint: #78dbcf;
  --vm-mint-soft: #e4f8f5;
  --vm-sand: #dca076;
  --vm-sand-soft: #f7e7dc;
  --vm-coral: #ff564e;
  --vm-coral-soft: #ffe8e6;
  --vm-caution-bg: #fff1f0;
  --vm-caution-line: #e9a29e;
  --vm-caution-text: #943d43;
  --vm-paper: var(--vm-panel-bg, #ffffff);
  --vm-page: var(--vm-panel-alt-bg, var(--vm-panel-bg, #f5f8fa));
  --vm-text: var(--vm-text-strong, #243447);
  --vm-muted: var(--vm-text-muted, #637285);
  --vm-line: var(--vm-panel-border, #dce5ea);

  color: var(--vm-text);
  background: transparent;
  font-size: clamp(16px, 0.3vw + 15px, 18px);
  line-height: 1.78;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}

.vm-article-theme *,
.vm-article-theme *::before,
.vm-article-theme *::after {
  box-sizing: border-box;
}

.vm-article-theme .vm-article-shell {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 64px);
}

.vm-article-theme .vm-article-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: clamp(32px, 6vw, 56px);
  padding: clamp(28px, 6vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 112%, var(--vm-teal) 0 25%, transparent 25.4%),
    linear-gradient(135deg, var(--vm-navy), var(--vm-navy-2));
  border-radius: clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 60px rgb(35 55 80 / 18%);
}

.vm-article-theme .vm-article-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -44px;
  right: -36px;
  width: clamp(150px, 28vw, 230px);
  aspect-ratio: 1;
  border-radius: 28px;
  background:
    linear-gradient(
      to bottom,
      var(--vm-sand) 0 55%,
      var(--vm-coral) 55% 100%
    );
  opacity: 0.95;
  transform: rotate(3deg);
}

.vm-article-theme .vm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #dff9f6;
  font-size: 0.78em;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.vm-article-theme .vm-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--vm-mint);
}

.vm-article-theme h1,
.vm-article-theme h2,
.vm-article-theme h3,
.vm-article-theme h4 {
  color: var(--vm-navy);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.vm-article-theme .vm-article-header h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 6vw, 4.1rem);
}

.vm-article-theme .vm-article-header .vm-lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1vw + 0.85rem, 1.25rem);
  line-height: 1.62;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] > header > h1[class] {
  color: #233750;
  font-weight: 780;
  letter-spacing: -0.045em;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] h2,
.vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h2 {
  color: var(--vm-teal-ink, #007481);
  font-weight: 750;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] {
  --vm-summary-surface: var(--vm-panel-bg, #ffffff);

  position: relative;
  isolation: isolate;
  width: min(100%, 720px);
  max-width: calc(100vw - 32px);
  margin: clamp(24px, 4vw, 36px) auto 0;
  padding: clamp(16px, 2.5vw, 20px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(var(--vm-summary-surface), var(--vm-summary-surface)) padding-box,
    linear-gradient(
        135deg,
        var(--vm-teal, #009fb2) 0%,
        var(--vm-mint, #78dbcf) 52%,
        var(--vm-sand, #dca076) 100%
      )
      border-box;
  box-shadow: 0 16px 38px rgb(35 55 80 / 9%);
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] > header {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] > header > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] [data-ai-summary-icon] {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: transparent;
  box-shadow: none;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] [data-ai-summary-icon]::before {
  width: 32px;
  aspect-ratio: 1;
  background: url("/assets/imgs/template/ai-spark-alternating.svg") center / contain no-repeat;
  content: "";
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] h2 {
  margin: 0;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] > div {
  padding: 8px 0 0;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] ol {
  gap: 8px;
  line-height: 1.55;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] ol > li {
  min-height: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: none;
  box-shadow: none;
}

[data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] ol > li::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  align-self: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--vm-teal-ink, #007481);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1;
}

.theme-night
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"],
[data-theme="night"]
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] {
  --vm-summary-surface: var(--vm-panel-bg, #17283d);

  box-shadow: 0 18px 42px rgb(0 0 0 / 18%);
}

@media (max-width: 430px) {
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
    [aria-labelledby="article-summary-title"] {
    width: calc(100% - 32px);
    padding: 14px;
    border-radius: 18px;
  }

  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
    [aria-labelledby="article-summary-title"] [data-ai-summary-icon] {
    flex-basis: 30px;
    width: 30px;
    height: 28px;
  }

  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
    [aria-labelledby="article-summary-title"] [data-ai-summary-icon]::before {
    width: 28px;
  }
}

.vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h3 {
  color: color-mix(in srgb, var(--vm-navy) 84%, var(--vm-teal));
  font-weight: 690;
}

.vm-article-theme h2 {
  position: relative;
  margin: clamp(26px, 3.2vw, 32px) 0 10px;
  padding-top: 0;
  padding-left: 18px;
  border-top: 0;
  max-width: 100%;
  font-size: clamp(1.15rem, 4vw, 2.2rem);
  letter-spacing: -0.035em;
  text-wrap: nowrap;
  white-space: nowrap;
}

.vm-article-theme h2::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(var(--vm-teal), var(--vm-mint));
}

.vm-article-theme h3 {
  margin: clamp(18px, 2.4vw, 24px) 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.vm-article-theme .guide-frequency-nowrap {
  white-space: nowrap;
}

.vm-article-theme p,
.vm-article-theme ul,
.vm-article-theme ol {
  margin: 0 0 0.78em;
}

.vm-article-theme .blog-paragraph:has(+ ul),
.vm-article-theme .blog-paragraph:has(+ ol),
.vm-article-theme p:has(+ ul),
.vm-article-theme p:has(+ ol) {
  margin-bottom: 0;
}

.vm-article-theme strong {
  color: var(--vm-navy);
  font-weight: 760;
}

.vm-article-theme a {
  color: var(--vm-teal-ink);
  font-weight: 650;
  text-decoration-color: rgb(0 159 178 / 42%);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.vm-article-theme a:hover {
  color: var(--vm-coral);
  text-decoration-color: currentColor;
}

.vm-article-theme ul,
.vm-article-theme ol {
  padding-left: 1.4em;
}

.vm-article-theme li {
  margin-bottom: 0.48em;
  padding-left: 0.22em;
}

.vm-article-theme li::marker {
  color: var(--vm-teal);
  font-weight: 800;
}

.vm-article-theme .guide-preparation-list {
  display: grid;
  gap: 10px;
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.vm-article-theme .guide-preparation-list > li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 0 0 24px;
}

.vm-article-theme .guide-preparation-list > li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  color: var(--vm-teal);
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  content: "•";
}

.vm-article-theme .guide-limit-list {
  display: grid;
  gap: 10px;
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.vm-article-theme .guide-limit-list > li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  padding: 0;
}

.vm-article-theme .guide-limit-list > li::before {
  color: var(--vm-teal);
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  content: "•";
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps {
  display: grid;
  gap: 0;
  margin: 0.28em 0 1.2em;
  padding: 0;
  list-style: none;
  counter-reset: troubleshooting-step;
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 0 0 18px;
  counter-increment: troubleshooting-step;
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps > li::before {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vm-teal), var(--vm-teal-ink));
  color: #ffffff;
  font-size: 0.48rem;
  font-weight: 780;
  line-height: 1;
  content: "5." counter(troubleshooting-step);
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps > li::after {
  position: absolute;
  top: 28px;
  bottom: 6px;
  left: 13.5px;
  width: 1px;
  background: var(--vm-line);
  content: "";
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps > li:last-child {
  padding-bottom: 0;
}

.vm-article-theme[data-article-slug] .guide-troubleshooting-steps > li:last-child::after {
  display: none;
}

.vm-article-theme .guide-source-links {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-height: 264px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}

.vm-article-theme .guide-source-links > li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.vm-article-theme .guide-source-links a {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--vm-text-muted) 16%, var(--vm-panel-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--vm-panel-bg) 90%, var(--vm-text-strong) 8%);
  color: var(--vm-text);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.vm-article-theme .guide-source-links a > i {
  flex: 0 0 auto;
  color: var(--vm-teal);
  font-size: 0.875rem;
  line-height: 1;
}

.vm-article-theme .guide-source-links a > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .vm-article-theme .guide-source-links {
    max-height: 240px;
  }
}

.vm-article-theme blockquote {
  position: relative;
  margin: 2em 0;
  padding: clamp(22px, 4vw, 34px);
  color: var(--vm-navy);
  background:
    linear-gradient(135deg, var(--vm-mint-soft), #fff 70%);
  border: 1px solid rgb(0 159 178 / 18%);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgb(35 55 80 / 8%);
}

.vm-article-theme blockquote::before {
  content: "“";
  position: absolute;
  top: 4px;
  right: 22px;
  color: rgb(0 159 178 / 18%);
  font-size: 5.4rem;
  line-height: 1;
}

.vm-article-theme blockquote p:last-child {
  margin-bottom: 0;
}

.vm-article-theme[data-article-slug] .guide-caution {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  margin: 1.65em 0;
  padding: 16px 18px;
  color: var(--vm-caution-text);
  background: var(--vm-caution-bg);
  border: 1px solid color-mix(in srgb, var(--vm-coral) 68%, var(--vm-caution-line));
  border-radius: 14px;
}

.vm-article-theme[data-article-slug] .guide-caution__header {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 7px;
  text-align: center;
}

.vm-article-theme[data-article-slug] .guide-caution__header > i {
  color: var(--vm-coral);
  font-size: 1.3em;
  line-height: 1;
}

.vm-article-theme[data-article-slug] .guide-caution__title {
  color: inherit;
  font-size: 0.86em;
  font-weight: 780;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.vm-article-theme[data-article-slug] .guide-caution p {
  margin: 0;
  color: inherit;
  font-size: 0.94em;
  line-height: 1.62;
  text-align: center;
}

.vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important)) {
  color: #6f4b00;
  background: #fff5cc;
  border-color: #d9a514;
}

.vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important))
  .guide-caution__header > i {
  color: #a96f00;
}

.vm-article-theme .vm-summary,
.vm-article-theme .vm-note,
.vm-article-theme .vm-warning {
  margin: 1.8em 0;
  padding: clamp(20px, 3.5vw, 30px);
  border-radius: 22px;
}

.vm-article-theme .vm-summary {
  background: var(--vm-mint-soft);
  border: 1px solid rgb(0 159 178 / 20%);
  box-shadow: inset 5px 0 0 var(--vm-teal);
}

.vm-article-theme .vm-note {
  background: var(--vm-sand-soft);
  border: 1px solid rgb(220 160 118 / 28%);
  box-shadow: inset 5px 0 0 var(--vm-sand);
}

.vm-article-theme .vm-warning {
  background: var(--vm-coral-soft);
  border: 1px solid rgb(255 86 78 / 24%);
  box-shadow: inset 5px 0 0 var(--vm-coral);
}

.vm-article-theme .vm-summary > :last-child,
.vm-article-theme .vm-note > :last-child,
.vm-article-theme .vm-warning > :last-child {
  margin-bottom: 0;
}

.vm-article-theme .vm-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 2em 0;
}

.vm-article-theme .vm-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--vm-line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgb(35 55 80 / 8%);
}

.vm-article-theme .vm-card:nth-child(4n + 1) {
  border-top: 5px solid var(--vm-teal);
}

.vm-article-theme .vm-card:nth-child(4n + 2) {
  border-top: 5px solid var(--vm-sand);
}

.vm-article-theme .vm-card:nth-child(4n + 3) {
  border-top: 5px solid var(--vm-coral);
}

.vm-article-theme .vm-card:nth-child(4n + 4) {
  border-top: 5px solid var(--vm-mint);
}

.vm-article-theme .vm-card > :last-child {
  margin-bottom: 0;
}

/* Map the geometric theme to VITAMIND's existing step-by-step components. */
.vm-article-theme .guide-app-card,
.vm-article-theme .guide-step-card {
  border-color: var(--vm-line);
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-step-card {
  align-items: start;
  gap: clamp(18px, 2.4vw, 24px);
  margin: clamp(20px, 3vw, 28px) 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-step-copy > :last-child {
  margin-bottom: 0;
}

.vm-article-theme[data-article-slug] .guide-app-card {
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
  padding: clamp(22px, 3.5vw, 30px);
  border: 1px solid color-mix(in srgb, var(--vm-teal) 24%, var(--vm-line));
  border-radius: 24px;
  background: color-mix(in srgb, var(--vm-paper) 94%, var(--vm-teal) 6%);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--vm-navy) 12%, transparent);
}

.vm-article-theme[data-article-slug] .guide-app-identity {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
}

.vm-article-theme[data-article-slug] .guide-app-picture {
  width: 88px;
  height: 88px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-app-icon {
  padding: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-app-copy {
  min-width: 0;
}

.vm-article-theme[data-article-slug] .guide-app-copy .guide-kicker,
.vm-article-theme[data-article-slug] .guide-store-label {
  display: block;
  margin: 0 0 7px;
  color: var(--vm-teal-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.vm-article-theme[data-article-slug] .guide-app-identity h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.32rem);
}

.vm-article-theme[data-article-slug] .guide-app-identity p.guide-app-publisher {
  margin: 4px 0 0;
  color: var(--vm-muted);
  font-size: clamp(0.7rem, 0.66rem + 0.18vw, 0.8rem);
  font-weight: 500;
  line-height: 1.35;
}

.vm-article-theme[data-article-slug] .guide-app-identity p.guide-app-description {
  max-width: 42ch;
  margin: 10px 0 0;
  color: var(--vm-text);
  font-size: clamp(0.82rem, 0.78rem + 0.14vw, 0.9rem);
  line-height: 1.52;
}

.vm-article-theme[data-article-slug] .guide-store-panel {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--vm-line);
}

.vm-article-theme[data-article-slug] .guide-store-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vm-article-theme[data-article-slug] .guide-store-links a {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--vm-paper) 94%, var(--vm-teal) 6%);
}

@media (min-width: 768px) {
  .vm-article-theme[data-article-slug] .guide-app-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    align-items: center;
  }

  .vm-article-theme[data-article-slug] .guide-store-panel {
    padding-top: 0;
    padding-left: clamp(20px, 3vw, 28px);
    border-top: 0;
    border-left: 1px solid var(--vm-line);
  }

  .vm-article-theme[data-article-slug] .guide-store-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .vm-article-theme[data-article-slug] .guide-app-identity {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .vm-article-theme[data-article-slug] .guide-app-picture {
    width: 72px;
    height: 72px;
  }

  .vm-article-theme[data-article-slug] .guide-app-icon {
    border-radius: 18px;
  }

  .vm-article-theme[data-article-slug] .guide-store-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vm-article-theme[data-article-slug] .guide-store-favicon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  object-fit: contain;
}

.vm-article-theme[data-article-slug] .guide-store-links a > span {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.72rem, 0.66rem + 0.28vw, 0.88rem);
  font-weight: 730;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug] .guide-store-links a > .guide-store-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  overflow: visible;
  text-align: left;
}

.vm-article-theme[data-article-slug] .guide-store-copy > small {
  display: block;
  overflow: hidden;
  color: var(--vm-muted);
  font-size: clamp(0.64rem, 0.6rem + 0.14vw, 0.72rem);
  font-weight: 560;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug] .guide-store-copy > strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: clamp(0.86rem, 0.8rem + 0.24vw, 1rem);
  font-weight: 730;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug] .guide-model-card {
  margin: 1.6em 0 2em;
  padding: clamp(16px, 3vw, 24px);
  overflow: hidden;
  border: 1px solid var(--vm-line);
  border-radius: 20px;
  background: transparent;
}

.vm-article-theme[data-article-slug] .guide-model-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.vm-article-theme[data-article-slug] .guide-model-card__header h3,
.vm-article-theme[data-article-slug] .guide-speaker-models h3 {
  margin: 0;
  font-size: 1.02rem;
}

.vm-article-theme[data-article-slug] .guide-model-card__header > span {
  color: var(--vm-muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug] .guide-model-year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vm-article-theme[data-article-slug] .guide-model-year,
.vm-article-theme[data-article-slug] .guide-speaker-model-grid > div {
  min-width: 0;
}

.vm-article-theme[data-article-slug] .guide-model-year > strong,
.vm-article-theme[data-article-slug] .guide-speaker-model-grid > div > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--vm-teal-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vm-article-theme[data-article-slug] .guide-model-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vm-article-theme[data-article-slug] .guide-model-card li {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--vm-text);
  font-size: 0.82rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.vm-article-theme[data-article-slug] .guide-model-card li > span {
  display: block;
  color: var(--vm-muted);
  font-size: 0.86em;
  font-weight: 650;
}

.vm-article-theme[data-article-slug] .guide-speaker-models {
  margin-top: 22px;
}

.vm-article-theme[data-article-slug] .guide-speaker-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 12px;
}

@media (max-width: 620px) {
  .vm-article-theme[data-article-slug] .guide-model-card__header {
    display: grid;
  }

  .vm-article-theme[data-article-slug] .guide-model-year-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

/* Article media stays editorial: no card around an image, only rounded media. */
.vm-article-theme .guide-step-media,
.vm-article-theme .guide-gallery-item {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-step-media,
.vm-article-theme[data-article-slug] .guide-step-media-pair .guide-step-media {
  grid-template-rows: auto auto;
  height: auto;
  overflow: visible;
}

.vm-article-theme[data-article-slug] .guide-responsive-image {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 20px);
  background: transparent;
}

.vm-article-theme .guide-step-number {
  color: #ffffff;
  background: linear-gradient(135deg, var(--vm-teal), var(--vm-teal-ink));
}

.vm-article-theme .guide-privacy-note {
  color: var(--vm-text);
  background: var(--vm-mint-soft);
  border: 1px solid rgb(0 159 178 / 18%);
}

.vm-article-theme figure {
  margin: 2.2em 0;
}

.vm-article-theme img,
.vm-article-theme video {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme figcaption {
  min-height: 0;
  margin: 0;
  color: var(--vm-muted);
  font-size: clamp(0.72rem, 0.68rem + 0.18vw, 0.8rem);
  line-height: 1.45;
  text-align: left;
}

.vm-article-theme[data-article-slug] .guide-step-media img,
.vm-article-theme[data-article-slug] .guide-gallery-item img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vm-article-theme[data-article-slug] .guide-step-media img {
  border-radius: clamp(14px, 2vw, 20px);
}

.vm-article-theme[data-article-slug] .guide-step-media figcaption,
.vm-article-theme[data-article-slug] .guide-gallery-item figcaption {
  min-height: 0;
  margin: 0;
  color: var(--vm-muted);
  font-size: clamp(0.72rem, 0.68rem + 0.18vw, 0.8rem);
  line-height: 1.45;
  text-align: center;
  white-space: normal;
}

.vm-article-theme[data-article-slug] .guide-step-media figcaption strong,
.vm-article-theme[data-article-slug] .guide-gallery-item figcaption strong {
  color: var(--vm-teal-ink);
  font-weight: 740;
}

.vm-article-theme[data-article-slug] p.guide-secondary-note {
  margin-top: 0.7rem;
  color: var(--vm-muted);
  font-size: 0.82em;
  font-style: italic;
  font-weight: 430;
  line-height: 1.55;
}

.vm-article-theme[data-article-slug] .guide-menu-guide {
  margin: clamp(20px, 3.5vw, 28px) 0;
  padding: 16px 18px;
  border-left: 4px solid var(--vm-teal);
  border-radius: 0 16px 16px 0;
  background: color-mix(in srgb, var(--vm-teal) 12%, var(--vm-paper));
}

.vm-article-theme[data-article-slug] .guide-step-copy > .guide-menu-guide:last-child {
  margin-bottom: clamp(20px, 3.5vw, 28px);
}

.vm-article-theme[data-article-slug] .guide-menu-guide p.guide-secondary-note {
  margin: 0 0 13px;
  color: var(--vm-text);
  font-size: 0.82em;
  font-style: normal;
  font-weight: 720;
  line-height: 1.45;
}

.vm-article-theme[data-article-slug] p.guide-menu-path {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  color: var(--vm-text);
  font-size: 0.9em;
  font-weight: 720;
  line-height: 1.35;
  -webkit-overflow-scrolling: touch;
}

.vm-article-theme[data-article-slug] .guide-menu-path > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.vm-article-theme[data-article-slug] .guide-menu-path > span[aria-hidden="true"] {
  color: var(--vm-coral);
  padding: 0;
  font-size: 1.05em;
  font-weight: 800;
  line-height: 1;
}

.vm-article-theme hr {
  height: 4px;
  margin: clamp(36px, 6vw, 64px) 0;
  background:
    linear-gradient(
      90deg,
      var(--vm-teal) 0 32%,
      var(--vm-mint) 32% 54%,
      var(--vm-sand) 54% 78%,
      var(--vm-coral) 78% 100%
    );
  border: 0;
  border-radius: 999px;
}

.vm-article-theme .vm-table-wrap {
  max-width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--vm-line);
  border-radius: 20px;
  -webkit-overflow-scrolling: touch;
}

.vm-article-theme table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.94em;
}

.vm-article-theme th,
.vm-article-theme td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--vm-line);
  text-align: left;
  vertical-align: top;
}

.vm-article-theme th {
  color: #fff;
  background: var(--vm-navy);
  font-weight: 720;
}

.vm-article-theme tbody tr:nth-child(even) {
  background: var(--vm-page);
}

.vm-article-theme tbody tr:last-child td {
  border-bottom: 0;
}

.vm-article-theme code {
  padding: 0.16em 0.42em;
  color: var(--vm-navy);
  background: var(--vm-mint-soft);
  border: 1px solid rgb(0 159 178 / 16%);
  border-radius: 7px;
  font-size: 0.88em;
}

.vm-article-theme pre {
  max-width: 100%;
  margin: 2em 0;
  padding: 20px;
  overflow: auto;
  color: #eaf7f7;
  background: var(--vm-navy-2);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgb(35 55 80 / 18%);
}

.vm-article-theme pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.vm-article-theme .vm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  color: #fff;
  background: var(--vm-navy);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgb(35 55 80 / 18%);
  font: inherit;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.vm-article-theme .vm-button:hover {
  color: #fff;
  background: var(--vm-teal-ink);
  box-shadow: 0 14px 28px rgb(35 55 80 / 22%);
  transform: translateY(-1px);
}

.vm-article-theme .vm-button:focus-visible,
.vm-article-theme a:focus-visible {
  outline: 3px solid rgb(255 86 78 / 48%);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .vm-article-theme .vm-article-shell {
    width: min(100% - 24px, 820px);
    padding-block: 24px 44px;
  }

  .vm-article-theme .vm-article-header {
    padding: 28px 22px 34px;
    border-radius: 24px;
  }

  .vm-article-theme .vm-article-header::after {
    top: auto;
    right: -44px;
    bottom: -58px;
    width: 150px;
    opacity: 0.55;
  }

  .vm-article-theme .vm-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vm-article-theme h2 {
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-article-theme *,
  .vm-article-theme *::before,
  .vm-article-theme *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
.theme-night .vm-article-theme,
[data-theme="night"] .vm-article-theme {
    --vm-paper: #17283d;
    --vm-page: #1d3047;
    --vm-text: #e8f0f4;
    --vm-muted: #aab7c5;
    --vm-line: #344a62;
    --vm-mint-soft: #153e42;
    --vm-sand-soft: #3e3028;
    --vm-coral-soft: #462a2d;
    --vm-caution-bg: #38282d;
    --vm-caution-line: #845057;
    --vm-caution-text: #f2c7c9;
    background: transparent;
}

.theme-night
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] > header > h1[class],
[data-theme="night"]
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] > header > h1[class] {
  color: #f6fbfc;
}

.theme-night
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] h2,
[data-theme="night"]
  [data-article-shell-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  [aria-labelledby="article-summary-title"] h2,
.theme-night
  .vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h2,
[data-theme="night"]
  .vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h2 {
  color: #78dbcf;
}

.theme-night
  .vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h3,
[data-theme="night"]
  .vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"] h3 {
  color: #d7e5ee;
}

.theme-night .vm-article-theme h1,
.theme-night .vm-article-theme h2,
.theme-night .vm-article-theme h3,
.theme-night .vm-article-theme h4,
.theme-night .vm-article-theme strong,
[data-theme="night"] .vm-article-theme h1,
[data-theme="night"] .vm-article-theme h2,
[data-theme="night"] .vm-article-theme h3,
[data-theme="night"] .vm-article-theme h4,
[data-theme="night"] .vm-article-theme strong {
    color: #f6fbfc;
}

.theme-night .vm-article-theme .vm-card,
.theme-night .vm-article-theme table,
[data-theme="night"] .vm-article-theme .vm-card,
[data-theme="night"] .vm-article-theme table {
    background: #1b2d43;
}

.theme-night .vm-article-theme tbody tr:nth-child(even),
[data-theme="night"] .vm-article-theme tbody tr:nth-child(even) {
    background: #20354d;
}

.theme-night
  .vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important)),
[data-theme="night"]
  .vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important)) {
  color: #ffe7a3;
  background: #3a301c;
  border-color: #9b7628;
}

.theme-night
  .vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important))
  .guide-caution__header > i,
[data-theme="night"]
  .vm-article-theme[data-article-slug]
  .guide-caution:is(.guide-caution-note, :not(.guide-caution-important))
  .guide-caution__header > i {
  color: #f3bf43;
}

/* Direct Connect carousel contract: article-wide image rules must not change
   the media geometry owned by the placement and verification components. */
.vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  section:is([data-gallery-id="gc"], [data-gallery-id="gc-verification"])
  [data-gallery-media] {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  section:is([data-gallery-id="gc"], [data-gallery-id="gc-verification"])
  [data-gallery-media]
  > img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center top;
}

.vm-article-theme[data-article-slug="cach-ket-noi-loa-rear-va-sub-voi-tv-bravia-qua-direct-connect"]
  section[data-gallery-id="gc-verification"]
  [data-gallery-media] {
  height: var(--verification-media-height);
}
