/* Keep the original article table usable on narrow screens without changing other languages. */
.linyo-ru-page .buying-guide .spec-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.linyo-ru-page .buying-guide .spec-table {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
}
.linyo-ru-page .buying-guide .spec-table col:first-child { width: 32%; }
.linyo-ru-page .buying-guide .spec-table col:nth-child(2) { width: 68%; }
.linyo-ru-page .buying-guide .spec-table th,
.linyo-ru-page .buying-guide .spec-table td { overflow-wrap: anywhere; }
@media (max-width: 1279px) {
  .linyo-ru-page .linyo-language-menu summary,
  .linyo-ru-page .linyo-language-options a { min-height: 44px; box-sizing: border-box; }
  .linyo-ru-page .linyo-language-options a { display: flex; align-items: center; }
}
@media (max-width: 900px) {
  .linyo-ru-page .compare-table {
    table-layout: fixed;
    min-width: calc(220px + 3 * clamp(148px, calc(100vw - 172px), 220px));
  }
  .linyo-ru-page .compare-table tr > :first-child {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (max-width: 480px) {
  /* Preserve enough viewport to read other columns when the table scrolls. */
  .linyo-ru-page .compare-table tr > :first-child { position: static; box-shadow: none; }
}
@media (min-width: 1280px) {
  .linyo-ru-page { --header-offset: 160px; }
  .linyo-ru-page .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    row-gap: 8px;
    padding-block: 10px;
  }
  .linyo-ru-page .site-header .brand { justify-self: start; }
  .linyo-ru-page .site-header .site-nav {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    gap: 10px;
    justify-content: space-between;
  }
  .linyo-ru-page .site-header .site-nav > a,
  .linyo-ru-page .site-header .site-nav > a.button { flex: 0 0 auto; white-space: nowrap; }
  .linyo-ru-page .detail-nav { top: 128px; }
  .linyo-ru-page .composite-hero.ydsl-home-hero .wyd-hero-copy h1 {
    font-size: clamp(42px, 3.4vw, 54px);
    max-width: 400px;
  }
}
@media (max-width: 767px) {
  .linyo-ru-page .site-header .brand img { width: clamp(88px, 27.5vw, 106px) !important; }
  .linyo-ru-page .site-header .mobile-contact { min-width: 0; padding-inline: 6px; }
  .linyo-ru-page .site-header .menu-toggle { min-width: 72px; padding-inline: 4px; }
}
