html.menu-open, body.menu-open { overflow: hidden; }

/* Keep price-table captions available to assistive technology without changing layout. */
.price-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.catalog-search { padding-top: 36px; padding-bottom: 12px; }
.catalog-search label { display: block; margin-bottom: 10px; font-weight: 700; }
.catalog-search__row { display: flex; gap: 12px; max-width: 720px; }
.catalog-search input { flex: 1; min-height: 48px; padding: 10px 14px; border: 1px solid #0004BE; font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.header__search { position: fixed; top: calc(var(--header-height) + 1px); right: clamp(160px, 11.459vw, 220px); z-index: 19; display: flex; align-items: stretch; gap: 6px; width: clamp(420px, 28vw, 560px); padding: 10px; border: 1px solid rgba(0, 4, 190, .2); border-top: 0; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .08); }
.header__search input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #0004BE; background: #fff; color: inherit; font: inherit; }
.header__search-button { min-width: 62px; border: 1px solid #0004BE; background: #0004BE; color: #fff; font: inherit; cursor: pointer; }
.header__search-button:hover, .header__search-button:focus { background: #00038f; }
.catalog-search__result h2 { margin-top: 22px; }
.catalog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.catalog-filter__link { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid #0004BE; color: #0004BE; text-decoration: none; }
.catalog-filter__link:hover, .catalog-filter__link:focus { background: #0004BE; color: #fff; }

/* Keep blog thumbnails the same height when source images have different ratios. */
.articles__item-image { aspect-ratio: 1342 / 766; overflow: hidden; }
.articles__item-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1199px) {
  .header__hamburger, .header__menu a, .swiper-button, .js-price-toggle { min-width: 44px; min-height: 44px; }
  .header__menu a { display: flex; align-items: center; }
}
@media (max-width: 480px) {
  .catalog-search__row { flex-direction: column; }
  .header__search { right: 12px; left: 12px; width: auto; }
  .header__search input { min-width: 0; flex: 1; }
}

.article-authors { margin: 0 0 48px; padding: 28px 0 0; border-top: 1px solid rgba(11,30,77,.2); }
.article-authors h2 { margin: 0 0 24px; font-size: 30px; text-transform: none; }
.article-authors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-author { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: start; padding: 20px; border: 1px solid rgba(11,30,77,.2); background: #f7f7f7; }
.article-author__photo { width: 112px; height: 112px; overflow: hidden; border-radius: 50%; background: #0b1e4d; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-extra-semibold); font-size: 28px; }
.article-author__photo img { width: 100%; height: 100%; margin: 0 !important; object-fit: cover; object-position: center top; }
.article-author h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.15; }
.article-author p { margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: var(--text-gray-dark); }
.article-author p:last-child { margin-bottom: 0; }
.article-author .article-author__role { color: var(--blue-dark); font-family: var(--font-extra-medium); }
@media (max-width: 767px) {
  .article-authors { margin-bottom: 32px; padding-top: 22px; }
  .article-authors h2 { font-size: 24px; }
  .article-authors__grid { grid-template-columns: 1fr; gap: 12px; }
  .article-author { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .article-author__photo { width: 80px; height: 80px; font-size: 22px; }
  .article-author h3 { font-size: 17px; }
  .article-author p { font-size: 13px; line-height: 1.4; }
}
