
html {
  scroll-behavior: smooth;
  scroll-padding-block: 14px;
  scroll-snap-type: y mandatory;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(32, 168, 216, .16), transparent 34rem),
    linear-gradient(155deg, var(--stm-blue-950), #021e2e 72%);
}

.catalog-shell {
  display: grid;
  gap: 14px;
  min-height: 100svh;
  padding: 14px;
}
.slide {
  position: relative;
  isolation: isolate;
  width: min(var(--content-max), 100%);
  min-height: calc(100svh - 28px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--stm-surface);
  box-shadow: var(--shadow-deep);
  scroll-margin-top: 14px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slide[hidden] { display: none !important; }
.slide::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,79,115,.045) 1px, transparent 1px),
    linear-gradient(rgba(7,79,115,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000 0, transparent 54%);
}
.slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 58vw;
  height: 58vw;
  min-width: 700px;
  min-height: 700px;
  left: -20vw;
  bottom: -34vw;
  border-radius: 50%;
  border: 1px solid rgba(32,168,216,.26);
  box-shadow: 0 0 0 70px rgba(32,168,216,.035), 0 0 0 140px rgba(32,168,216,.025);
}

.slide-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-8);
  min-height: 88px;
  padding: 14px clamp(22px, 3.8vw, 60px);
  color: var(--stm-white);
  background: linear-gradient(100deg, var(--stm-blue-950), var(--stm-blue-800) 72%, var(--stm-blue-700));
}
.slide-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -7%;
  bottom: -27px;
  width: 44%;
  height: 40px;
  pointer-events: none;
  background: var(--stm-blue-700);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 7% 100%);
  opacity: .96;
}
.slide-header > * { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; min-width: 0; gap: 14px; }
.brand-symbol { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { min-width: 0; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.65vw, 42px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .92;
  white-space: nowrap;
}
.brand-descriptor {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(8px, .8vw, 12px);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .86;
  white-space: nowrap;
}
.catalog-meta { text-align: right; min-width: 0; }
.catalog-meta__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--stm-cyan-200); }
.catalog-meta__category { display: block; margin-top: 5px; max-width: 270px; font-size: 13px; line-height: 1.25; opacity: .9; }
.slide-number {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
}

.slide-content {
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(570px, 1.2fr);
  gap: clamp(26px, 3vw, 54px);
  padding: clamp(30px, 4.2vw, 64px) clamp(22px, 4.2vw, 68px) 24px;
}
.visual-column { position: relative; display: flex; flex-direction: column; min-width: 0; }
.eyebrow { margin: 0 0 10px; color: var(--stm-blue-700); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.product-title {
  max-width: 680px;
  margin: 0;
  color: var(--stm-blue-950);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .95;
  text-wrap: balance;
}
.product-description { max-width: 650px; margin: 16px 0 0; color: var(--stm-steel-600); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55; }
.product-stage { position: relative; min-height: 420px; flex: 1; display: grid; place-items: center; margin-top: 8px; }
.product-stage::before {
  content: "";
  position: absolute;
  width: min(77%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,168,216,.12), rgba(32,168,216,.025) 58%, transparent 59%), repeating-radial-gradient(circle, rgba(7,79,115,.12) 0 1px, transparent 1px 56px);
}
.product-stage::after { content: ""; position: absolute; left: 50%; bottom: 5%; width: 74%; height: 11%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(5,47,71,.2), transparent 68%); filter: blur(8px); }
.product-image-button { position: relative; z-index: 1; display: grid; place-items: center; width: min(78%, 510px); margin: 0; padding: 0; cursor: zoom-in; background: transparent; transition: transform var(--transition); }
.product-image-button:hover { transform: translateY(-5px) scale(1.012); }
.product-image { width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(8,49,70,.17)); }
.media-actions { position: absolute; z-index: 3; right: 0; bottom: 7%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.media-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
  color: var(--stm-blue-800);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition);
}
.media-action:hover { transform: translateY(-2px); background: #fff; }
.media-action svg { width: 16px; height: 16px; }

.details-column { display: flex; flex-direction: column; min-width: 0; padding-top: 6px; }
.details-card { overflow: hidden; border: var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,.94); box-shadow: var(--shadow-soft); }
.details-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 14px 20px; color: var(--stm-white); background: linear-gradient(95deg, var(--stm-blue-900), var(--stm-blue-700)); }
.details-card__head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 27px); line-height: 1; letter-spacing: .01em; }
.details-card__chip { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.spec-list { margin: 0; }
.spec-row { display: grid; grid-template-columns: minmax(190px, .92fr) minmax(230px, 1.08fr); gap: 18px; align-items: center; min-height: 44px; padding: 8px 20px; border-top: 1px solid var(--stm-steel-100); }
.spec-row:first-child { border-top: 0; }
.spec-row:nth-child(even) { background: rgba(237,242,244,.58); }
.spec-row dt { color: var(--stm-steel-600); font-size: 12px; font-weight: 650; line-height: 1.25; }
.spec-row dd { margin: 0; color: var(--stm-steel-950); font-size: 13px; font-weight: 760; line-height: 1.3; }
.application-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 12px; padding: 13px 18px; border: 1px solid rgba(200,60,55,.15); border-radius: var(--radius-md); background: linear-gradient(110deg, rgba(200,60,55,.08), rgba(255,255,255,.92)); }
.application-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--stm-red-600); color: var(--stm-white); }
.application-icon svg { width: 21px; height: 21px; }
.application-card h3 { margin: 0 0 4px; color: var(--stm-red-600); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.application-card p { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.35; }
.video-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 12px; padding: 13px 16px 13px 18px; border-radius: var(--radius-md); color: var(--stm-white); background: linear-gradient(115deg, #141b20, #242d33); }
.video-card.is-missing { grid-template-columns: 1fr; min-height: 84px; background: linear-gradient(115deg, #30404a, #18242b); }
.video-copy { min-width: 0; }
.video-label { display: block; margin-bottom: 8px; color: #b8c3c9; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.rutube-logo { width: 108px; height: auto; }
.video-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; padding: 8px 11px; border-radius: 10px; color: var(--stm-white); background: var(--stm-red-600); text-decoration: none; font-size: 11px; font-weight: 750; transition: transform var(--transition), background var(--transition); }
.video-button:hover { transform: translateY(-2px); background: var(--stm-red-500); }
.video-button svg { width: 16px; height: 16px; }
.video-missing-copy { margin: 7px 0 0; color: #d7e0e5; font-size: 12px; line-height: 1.35; }
.video-qr-wrap { display: grid; grid-template-columns: 76px; gap: 5px; justify-items: center; }
.video-qr { width: 76px; height: 76px; padding: 6px; border-radius: 9px; background: var(--stm-white); }
.video-qr-caption { max-width: 100px; color: #aeb9bf; font-size: 8px; line-height: 1.2; text-align: center; }

.slide-footer { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, auto) minmax(210px, 1fr); align-items: center; gap: clamp(18px, 3vw, 42px); min-height: 58px; padding: 10px clamp(22px, 4.2vw, 68px); border-top: 1px solid rgba(7,79,115,.11); color: var(--stm-steel-600); background: rgba(255,255,255,.82); font-size: 12px; }
.slide-footer a { text-decoration: none; }
.slide-footer a:hover { color: var(--stm-blue-700); }
.slide-nav { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-button, .contents-button { display: grid; place-items: center; height: 36px; border: 1px solid rgba(7,79,115,.16); border-radius: 11px; color: var(--stm-blue-800); background: #fff; cursor: pointer; transition: transform var(--transition), background var(--transition); }
.nav-button { width: 36px; }
.contents-button { grid-template-columns: auto 1fr; gap: 8px; padding: 0 12px; font-size: 11px; font-weight: 750; }
.nav-button:hover, .contents-button:hover { transform: translateY(-2px); background: var(--stm-steel-100); }
.nav-button:disabled { opacity: .35; cursor: default; transform: none; }
.nav-button svg, .contents-button svg { width: 17px; height: 17px; }
.nav-progress { min-width: 42px; text-align: center; color: var(--stm-blue-900); font-size: 11px; font-weight: 800; }


.page-rail {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: max(16px, env(safe-area-inset-right));
  display: grid;
  gap: 7px;
  padding: 8px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  background: rgba(3,47,71,.84);
  box-shadow: 0 14px 36px rgba(0,20,31,.28);
  backdrop-filter: blur(14px);
}
.page-rail__button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
}
.page-rail__button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.18);
}
.page-rail__button:disabled {
  opacity: .28;
  cursor: default;
  transform: none;
}
.page-rail__button svg { width: 18px; height: 18px; }
.page-rail__progress {
  display: grid;
  grid-template-columns: auto auto auto;
  place-content: center;
  gap: 3px;
  min-height: 34px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
}
.page-rail__progress strong {
  color: #fff;
  font-size: 13px;
}
.slide.is-active {
  outline: 1px solid rgba(32,168,216,.18);
  outline-offset: -1px;
}

.media-dialog, .contents-dialog { padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-lg); background: var(--stm-white); box-shadow: var(--shadow-deep); }
.media-dialog { width: min(1180px, calc(100vw - 28px)); max-height: calc(100svh - 28px); }
.contents-dialog { width: min(720px, calc(100vw - 28px)); max-height: min(82svh, 760px); }
.media-dialog::backdrop, .contents-dialog::backdrop { background: rgba(2,23,34,.84); backdrop-filter: blur(5px); }
.dialog-inner { position: relative; display: grid; place-items: center; min-height: min(88svh, 920px); padding: 54px 28px 28px; background: radial-gradient(circle at center, rgba(32,168,216,.10), transparent 52%), var(--stm-white); }
.dialog-viewport { width: 100%; height: min(78svh, 790px); overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: grab; }
.dialog-viewport:active { cursor: grabbing; }
.dialog-image { max-width: 94%; max-height: 94%; width: auto; height: auto; transform-origin: center center; user-select: none; -webkit-user-drag: none; transition: transform 100ms ease; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--stm-white); background: var(--stm-blue-900); cursor: pointer; }
.dialog-close svg { width: 19px; height: 19px; }
.zoom-controls { position: absolute; z-index: 5; left: 14px; top: 14px; display: flex; gap: 7px; }
.zoom-button { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; color: var(--stm-blue-900); background: rgba(255,255,255,.94); box-shadow: var(--shadow-soft); cursor: pointer; font-size: 12px; font-weight: 800; }
.zoom-button svg { width: 17px; height: 17px; }
.contents-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; color: #fff; background: linear-gradient(95deg, var(--stm-blue-950), var(--stm-blue-700)); }
.contents-head h2 { margin: 0; font-family: var(--font-display); font-size: 26px; }
.contents-list { max-height: calc(82svh - 78px); overflow: auto; padding: 10px; }
.contents-item { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; color: var(--stm-steel-800); background: transparent; cursor: pointer; text-align: left; }
.contents-item:hover, .contents-item.is-active { background: var(--stm-steel-100); color: var(--stm-blue-900); }
.contents-item__index { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--stm-blue-700); font-weight: 800; }
.contents-item__title { font-weight: 750; line-height: 1.25; }
.contents-item__page { color: var(--stm-steel-400); font-size: 11px; }

@media (min-width: 1101px) {
  .slide { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: calc(100svh - 28px); min-height: 720px; }
  .slide-content { min-height: 0; overflow: hidden; }
  .visual-column, .details-column { min-height: 0; }
}
@media (min-width: 1101px) and (max-height: 980px) {
  .slide-header { min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
  .brand-symbol { width: 43px; height: 43px; }
  .brand-name { font-size: clamp(28px, 2.25vw, 36px); }
  .brand-descriptor { margin-top: 4px; font-size: 9px; }
  .slide-number { width: 50px; font-size: 19px; }
  .slide-content { padding-top: 23px; padding-bottom: 12px; gap: 30px; }
  .eyebrow { margin-bottom: 7px; }
  .product-title { font-size: clamp(34px, 3.8vw, 54px); }
  .product-description { margin-top: 9px; font-size: 13px; }
  .product-stage { min-height: 0; margin-top: 0; }
  .product-image-button { width: min(68%, 410px); }
  .product-image { max-height: 390px; }
  .media-action { padding: 7px 9px; font-size: 9.5px; }
  .details-card__head { min-height: 50px; padding: 9px 18px; }
  .details-card__head h2 { font-size: 21px; }
  .spec-row { min-height: 31px; padding-top: 4px; padding-bottom: 4px; }
  .spec-row dt { font-size: 10px; }
  .spec-row dd { font-size: 11px; }
  .application-card, .video-card { margin-top: 7px; padding-top: 8px; padding-bottom: 8px; }
  .application-icon { width: 32px; height: 32px; }
  .application-card p { font-size: 11px; }
  .video-card { min-height: 72px; }
  .rutube-logo { width: 90px; }
  .video-button { margin-top: 6px; padding: 6px 9px; font-size: 10px; }
  .video-qr, .video-qr-wrap { width: 58px; }
  .video-qr { height: 58px; }
  .video-qr-caption { display: none; }
  .slide-footer { min-height: 44px; padding-top: 6px; padding-bottom: 6px; font-size: 10.5px; }
  .nav-button, .contents-button { height: 32px; }
  .nav-button { width: 32px; }
}
@media (max-width: 1100px) {
  html {
    scroll-padding-block: 0;
    scroll-snap-type: y proximity;
  }
  .catalog-shell { gap: 0; padding: 0; }
  .slide { min-height: 100svh; border-radius: 0; }
  .slide-header { grid-template-columns: 1fr auto; gap: 16px; min-height: 76px; padding: 12px 20px; }
  .catalog-meta { display: none; }
  .brand-symbol { width: 44px; height: 44px; }
  .brand-name { font-size: clamp(24px, 5.8vw, 34px); }
  .brand-descriptor { font-size: 8px; }
  .slide-number { width: 48px; font-size: 19px; }
  .slide-content { grid-template-columns: 1fr; gap: 12px; padding: 34px 18px 22px; }
  .product-title { max-width: 760px; font-size: clamp(40px, 8vw, 66px); }
  .product-description { max-width: 740px; }
  .product-stage { min-height: min(64vw, 510px); margin-top: 2px; }
  .product-image-button { width: min(66%, 430px); }
  .product-image { max-height: 480px; }
  .media-actions { right: 6%; bottom: 7%; }
  .details-column { padding-top: 0; }
  .slide-footer { grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 13px 18px 17px; }
  .slide-footer a:nth-child(3) { grid-column: 1 / -1; }
  .slide-nav { grid-column: 1 / -1; justify-self: stretch; justify-content: center; margin-top: 4px; }
}
@media (max-width: 1100px) and (min-width: 621px) {
  .page-rail {
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-auto-flow: column;
    transform: none;
  }
  .page-rail__progress { min-width: 42px; }
}

@media (max-width: 620px) {
  html { scroll-snap-type: none; }
  .page-rail { display: none; }
  .slide-header::after { bottom: -16px; height: 24px; width: 54%; }
  .brand { gap: 9px; }
  .brand-symbol { width: 38px; height: 38px; }
  .brand-name { font-size: 23px; }
  .brand-descriptor { display: none; }
  .slide-number { width: 42px; font-size: 17px; }
  .slide-content { padding: 30px 14px 18px; }
  .eyebrow { font-size: 10px; margin-bottom: 7px; }
  .product-title { font-size: clamp(36px, 11.5vw, 52px); line-height: .94; }
  .product-description { margin-top: 11px; font-size: 14px; }
  .product-stage { min-height: 360px; }
  .product-image-button { width: min(82%, 350px); }
  .media-actions { right: 0; bottom: 4%; gap: 5px; }
  .media-action { padding: 8px 9px; font-size: 9px; }
  .media-action span { display: none; }
  .media-action svg { width: 18px; height: 18px; }
  .details-card { border-radius: 18px; }
  .details-card__head { min-height: 58px; padding: 13px 14px; }
  .details-card__head h2 { font-size: 20px; }
  .details-card__chip { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; min-height: 0; padding: 10px 14px; }
  .spec-row dt { font-size: 11px; }
  .spec-row dd { font-size: 14px; }
  .application-card { padding: 13px 14px; }
  .application-icon { width: 38px; height: 38px; }
  .video-card { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .video-qr-wrap { display: none; }
  .rutube-logo { width: 118px; }
  .video-button { width: 100%; justify-content: center; padding: 12px 14px; }
  .slide-footer { grid-template-columns: 1fr; gap: 5px; font-size: 11px; }
  .slide-footer a:nth-child(3) { grid-column: auto; }
  .slide-nav { grid-column: auto; justify-content: space-between; margin-top: 8px; }
  .contents-button span { display: none; }
  .contents-button { width: 38px; padding: 0; grid-template-columns: 1fr; }
  .dialog-inner { padding: 58px 8px 12px; }
  .dialog-viewport { height: min(76svh, 690px); }
  .zoom-controls { left: 8px; top: 8px; gap: 4px; }
  .zoom-button { min-width: 36px; height: 36px; padding: 0 8px; }
  .dialog-close { top: 8px; right: 8px; width: 38px; height: 38px; }
  .contents-head h2 { font-size: 22px; }
  .contents-item { grid-template-columns: 36px 1fr; }
  .contents-item__page { display: none; }
}


/* v1.2: desktop alignment and contents readability */
@media (min-width: 1101px) {
  .slide-content { align-items: stretch; }
  .visual-column,
  .details-column { height: 100%; }
  .product-stage { min-height: 0; }

  /* The media chips and the video panel share the same lower baseline */
  .media-actions { bottom: 0; }
  .video-card {
    width: min(100%, 390px);
    min-height: 0;
    margin-top: auto;
    margin-left: auto;
    align-self: flex-end;
    grid-template-columns: minmax(0, 1fr) 60px;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
  }
  .video-card.is-missing {
    width: min(100%, 320px);
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .video-label { margin-bottom: 4px; font-size: 8.5px; }
  .rutube-logo { width: 82px; }
  .video-button {
    margin-top: 5px;
    padding: 6px 9px;
    border-radius: 9px;
    font-size: 9.5px;
  }
  .video-button svg { width: 14px; height: 14px; }
  .video-qr-wrap { width: 60px; grid-template-columns: 60px; gap: 0; }
  .video-qr { width: 60px; height: 60px; padding: 4px; border-radius: 8px; }
  .video-qr-caption { display: none; }
  .video-missing-copy { margin-top: 5px; font-size: 10px; }

  /* Contents: title and category are now two clearly separated lines */
  .contents-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 13px;
  }
  .contents-item > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .contents-item__title,
  .contents-item__type { display: block; }
  .contents-item__title { line-height: 1.2; }
  .contents-item__type {
    margin: 0;
    line-height: 1.15;
    letter-spacing: .1em;
  }
}

@media (min-width: 1101px) and (max-height: 980px) {
  .video-card {
    width: min(100%, 350px);
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 10px;
    padding: 8px 10px;
  }
  .video-qr-wrap { width: 54px; grid-template-columns: 54px; }
  .video-qr { width: 54px; height: 54px; }
  .rutube-logo { width: 76px; }
  .video-button { padding: 5px 8px; font-size: 9px; }
}

/* v1.6: use the available vertical space for technical specifications. */
@media (min-width: 1101px) and (max-height: 900px) {
  .slide-content {
    padding-top: 22px;
    padding-bottom: 12px;
    gap: 32px;
  }
  .details-column { padding-top: 0; }
  .details-card {
    display: flex;
    min-height: 478px;
    flex-direction: column;
  }
  .details-card__head {
    min-height: 58px;
    padding: 11px 20px;
  }
  .details-card__head h2 { font-size: 24px; }
  .details-card__chip {
    padding: 7px 11px;
    font-size: 10.5px;
  }
  .spec-list {
    display: grid;
    flex: 1 1 auto;
    grid-template-rows: repeat(10, minmax(40px, 1fr));
  }
  .spec-row {
    min-height: 40px;
    padding: 7px 20px;
    gap: 18px;
  }
  .spec-row dt {
    font-size: 12.5px;
    line-height: 1.28;
  }
  .spec-row dd {
    font-size: 13.5px;
    line-height: 1.3;
  }
  .application-card {
    margin-top: 9px;
    padding: 10px 18px;
  }
  .application-icon {
    width: 36px;
    height: 36px;
  }
  .application-card h3 { font-size: 10.5px; }
  .application-card p { font-size: 12px; }
  .video-card {
    min-height: 68px;
    margin-top: auto;
  }
}
