:root {
  --ural-teal: #168e9d;
  --ural-dark: #075c68;
  --ural-red: #a80e13;
  --ural-blue: #1269a8;
}

body {
  color: #1f2933;
  font-family: Arial, Helvetica, sans-serif;
}

/* Все обычные ссылки используют фирменный тёмно-бирюзовый цвет. */
a {
  color: var(--ural-dark);
}

a:hover,
a:focus {
  color: var(--ural-teal);
}

.container-header {
  background: #fff;
  background-image: none;
  color: var(--ural-dark);
  border-bottom: 4px solid var(--ural-teal);
}

.container-header .container-topbar {
  height: 115px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.container-topbar .mod-custom {
  position: absolute;
  right: max(1rem, calc((100% - 1000px) / 2));
  top: 50%;
  transform: translateY(-50%);
}

.container-header > .grid-child:not(.container-nav) {
  align-items: flex-start;
  height: 115px;
  margin: 0 auto;
  max-width: 1000px;
  padding: .95rem 0 .65rem;
}

.container-header .navbar-brand img {
  display: block;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
  width: 346px;
}

.container-header .navbar-brand .brand-logo img {
  width: 346px;
}

.container-header .navbar-brand {
  align-items: center;
  color: var(--ural-dark);
  display: flex;
  font-weight: 700;
  height: 100%;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand .brand-logo {
  align-items: center;
  display: flex;
  height: 100%;
}

.container-header .site-description {
  display: none;
}

.ural-contact {
  align-items: flex-start;
  box-sizing: border-box;
  color: #111;
  display: flex;
  font-size: .9rem;
  gap: 1rem;
  line-height: 1.35;
  margin: 0;
  min-height: 57px;
  padding-left: 0;
  text-align: left;
  width: 450px;
}

.ural-contact-icon {
  display: block;
  flex: 0 0 58px;
  height: 57px;
  object-fit: contain;
  width: 58px;
}

.ural-contact-details {
  flex: 1 1 auto;
  min-width: 0;
}

.ural-header-shell {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.ural-header-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  width: 160px;
}

.ural-header-actions a {
  align-items: center;
  border-radius: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .28);
  color: #fff;
  display: flex;
  font-size: .7rem;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.ural-header-actions a::before {
  font-size: .9rem;
  margin-right: .45rem;
}

.ural-header-actions .ural-call {
  background: #1269a8;
}

.ural-header-actions .ural-call::before {
  content: "☎";
}

.ural-contact strong {
  color: var(--ural-red);
}

.ural-contact a {
  color: inherit;
  opacity: 1;
  text-decoration: none;
}

.ural-contact a:hover,
.ural-contact a:focus {
  color: var(--ural-dark) !important;
  opacity: 1;
  text-decoration: underline;
}

.container-header .container-nav {
  align-items: stretch;
  background: var(--ural-teal);
  border-top: 1px solid rgba(255, 255, 255, .16);
  height: 50px;
  margin: 0;
  max-width: none;
  padding: 0;
}

.container-nav .mod-menu {
  align-items: stretch;
  height: 50px;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.container-nav .mod-menu > li {
  align-items: stretch;
  display: flex;
  padding: 0;
  position: relative;
}

.container-nav .mod-menu > li > a {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  font-size: .8rem;
  font-weight: 700;
  justify-content: center;
  padding: 0 1rem;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.container-nav .mod-menu > li:first-child > a {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.container-nav .mod-menu > li > a:hover,
.container-nav .mod-menu > li > a:focus {
  background: rgba(0, 0, 0, .12);
  color: #fff;
}

.container-nav .mod-menu > li.active > a,
.container-nav .mod-menu > li.current > a {
  background: #ddd;
  color: #111;
}

.container-nav .mod-menu__sub {
  background: #eee;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
  display: none;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 360px;
  padding: 0;
  position: absolute;
  top: 100%;
  width: 360px;
  z-index: 1000;
}

.container-nav .mod-menu > li.parent:hover > .mod-menu__sub,
.container-nav .mod-menu > li.parent:focus-within > .mod-menu__sub,
.container-nav .mod-menu > li.parent:hover > .mod-menu__sub[aria-hidden="true"],
.container-nav .mod-menu > li.parent:focus-within > .mod-menu__sub[aria-hidden="true"] {
  display: block;
}

/* Вложенные разделы каталога раскрываются вправо по наведению на родительский пункт. */
.container-nav .mod-menu__sub > li.parent:hover > .mod-menu__sub,
.container-nav .mod-menu__sub > li.parent:focus-within > .mod-menu__sub {
  display: block;
}

.container-nav .mod-menu__sub > li {
  display: block;
  position: relative;
}

.container-nav .mod-menu__sub > li > a {
  background: #eee;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  color: #59636a;
  display: block;
  font-size: .92rem;
  font-weight: 700;
  min-height: 38px;
  padding: .48rem .8rem;
  text-decoration: none;
  white-space: nowrap;
}

.container-nav .mod-menu__sub > li:last-child > a {
  border-bottom: 0;
}

.container-nav .mod-menu__sub > li > a:hover,
.container-nav .mod-menu__sub > li > a:focus {
  background: #ddd;
  color: var(--ural-dark);
}

.container-nav .mod-menu__sub .parent > a::after {
  content: "»";
  float: right;
  margin-left: 2rem;
}

.container-nav .mod-menu__sub .mod-menu__sub {
  left: 100%;
  top: -1px;
}

.container-nav .mod-menu__sub .mod-menu__sub > li > a {
  white-space: normal;
}

.ural-icons {
  background: var(--ural-teal) url("/images/bg_bottom.png") repeat;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-around;
  margin: 0 0 1.5rem;
  min-height: 270px;
  padding: 2.25rem max(1rem, calc((100% - 1200px) / 2));
}

/* Каталожные иконки показываем только на главной странице. */
body:not(.itemid-101) .ural-icons {
  display: none;
}

body.itemid-101 .ural-icons {
  display: flex;
}

.ural-icons a {
  align-items: center;
  color: #fff;
  display: flex;
  flex: 1 1 150px;
  flex-direction: column;
  font-weight: 700;
  gap: .55rem;
  max-width: 190px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.ural-icons a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.ural-icons img {
  height: 108px;
  object-fit: contain;
  width: 145px;
}

.container-top-a {
  grid-column: 1 / -1;
  margin-left: 0;
  max-width: none;
  padding: 0;
  width: calc(100% + 32px);
}

.top-a.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.top-a.card .card-body {
  padding: 0;
}

.container-component {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

/* Cassiopeia задаёт для элементов site-grid более специфичный max-width:none. */
.site-grid > .container-component {
  max-width: 1000px;
}

/* Служебные метаданные Joomla не нужны посетителям сайта. */
dl.article-info,
.article-info {
  display: none !important;
}

.itemid-101 .item-page .page-header,
.itemid-101 .item-page .article-info,
.itemid-101 .item-page .pagenav,
.itemid-101 .item-page .pagenavigation {
  display: none;
}

.itemid-101 .mod-breadcrumbs__wrapper {
  display: none;
}

.itemid-101 .container-component {
  height: auto;
  min-height: 0;
}

.itemid-101 .site-grid {
  margin-bottom: 0;
}

.itemid-101 .ural-icons {
  margin-bottom: 0;
}

.ural-home {
  color: #222;
  padding: 2rem 0 3rem;
}

.ural-home h1,
.ural-home h2,
.ural-home h3 {
  color: var(--ural-dark);
}

.ural-home h1 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin: 0 0 .9rem;
}

.ural-home h2 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 2.6rem 0 1rem;
}

.ural-home h3 {
  font-size: 1.05rem;
  margin: 0 0 .45rem;
}

.ural-home p {
  line-height: 1.55;
  margin: 0 0 .85rem;
}

.ural-home-intro {
  align-items: center;
  background: linear-gradient(135deg, #f2f8f8, #fff);
  border-left: 5px solid var(--ural-teal);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 250px;
  padding: 1.5rem 1.75rem;
}

.ural-home-kicker {
  color: var(--ural-red);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .55rem !important;
  text-transform: uppercase;
}

.ural-home-intro__lead {
  font-size: 1.08rem;
  max-width: 720px;
}

.ural-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.1rem;
}

.ural-home-button {
  background: var(--ural-dark);
  border: 1px solid var(--ural-dark);
  color: #fff !important;
  display: inline-block;
  font-weight: 700;
  padding: .65rem 1rem;
  text-decoration: none;
}

.ural-home-button:hover,
.ural-home-button:focus {
  background: var(--ural-teal);
  border-color: var(--ural-teal);
  color: #fff !important;
}

.ural-home-button--secondary {
  background: transparent;
  color: var(--ural-dark) !important;
}

.ural-home-button--secondary:hover,
.ural-home-button--secondary:focus {
  background: var(--ural-dark);
  color: #fff !important;
}

.ural-home-promise {
  background: var(--ural-dark);
  color: #fff;
  padding: 1.15rem;
}

.ural-home-promise strong,
.ural-home-promise span {
  display: block;
}

.ural-home-promise strong {
  font-size: 1.55rem;
  line-height: 1.1;
  margin-bottom: .55rem;
}

.ural-home-promise span {
  line-height: 1.4;
}

.ural-home-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ural-home-card {
  background: #f7f8f8;
  border: 1px solid #e1e6e7;
  color: #222;
  display: block;
  padding: 1rem;
  text-decoration: none;
}

.ural-home-card:hover,
.ural-home-card:focus {
  background: #e8f3f4;
  border-color: var(--ural-teal);
  color: #222;
}

.ural-home-card h3 {
  color: var(--ural-dark);
}

.ural-home-card p {
  font-size: .92rem;
  margin: 0;
}

.ural-home-stock {
  background: #f1f1f1;
  border-top: 3px solid var(--ural-teal);
  padding: 1.15rem 1.25rem;
}

.ural-home-stock h2 {
  margin-top: 0;
}

.ural-home-history {
  background: linear-gradient(135deg, #f7fbfb, #fff);
  border: 1px solid #dce8e9;
  border-top: 4px solid var(--ural-dark);
  margin-top: 2.6rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.ural-home-history h2 {
  margin-top: 0;
}

.ural-home-history__lead {
  color: #53636b;
  max-width: 780px;
}

.ural-home-timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
  position: relative;
}

.ural-home-timeline::before {
  background: #b9d5d7;
  content: "";
  height: 2px;
  left: 1.25rem;
  position: absolute;
  right: 1.25rem;
  top: 1.05rem;
}

.ural-home-timeline article {
  position: relative;
}

.ural-home-timeline time {
  align-items: center;
  background: var(--ural-teal);
  border: 4px solid #f7fbfb;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: .82rem;
  font-weight: 700;
  height: 2.2rem;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0 .45rem;
  position: relative;
  white-space: nowrap;
  width: auto;
  z-index: 1;
}

.ural-home-timeline h3 {
  font-size: 1rem;
  margin-top: .8rem;
}

.ural-home-timeline p {
  color: #53636b;
  font-size: .9rem;
  margin-bottom: 0;
}

.ural-home-history__note {
  border-left: 3px solid var(--ural-red);
  color: #53636b;
  font-size: .9rem;
  margin: 1.25rem 0 0;
  padding-left: .85rem;
}

.ural-home-checklist {
  display: grid;
  gap: .75rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ural-home-checklist li {
  border-left: 3px solid var(--ural-teal);
  padding-left: .85rem;
}

.ural-home-checklist strong {
  color: var(--ural-dark);
  display: block;
  margin-bottom: .2rem;
}

.ural-home-steps {
  counter-reset: home-step;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ural-home-steps li {
  counter-increment: home-step;
  padding-left: 2.4rem;
  position: relative;
}

.ural-home-steps li::before {
  align-items: center;
  background: var(--ural-teal);
  border-radius: 50%;
  color: #fff;
  content: counter(home-step);
  display: flex;
  font-weight: 700;
  height: 1.8rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 1.8rem;
}

.ural-home-cases {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ural-home-case {
  background: #f7fbfb;
  border: 1px solid #e1e6e7;
  margin: 0;
  overflow: hidden;
}

.ural-home-case__open {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

.ural-home-case__thumb {
  display: block;
  overflow: hidden;
  position: relative;
}

.ural-home-case__thumb img {
  display: block;
  height: 210px;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

.ural-home-case__open:hover .ural-home-case__thumb img,
.ural-home-case__open:focus .ural-home-case__thumb img {
  transform: scale(1.03);
}

.ural-home-case__play {
  align-items: center;
  background: var(--ural-dark);
  border-radius: 50%;
  bottom: .8rem;
  color: #fff;
  display: flex;
  font-size: .9rem;
  height: 2.4rem;
  justify-content: center;
  position: absolute;
  right: .8rem;
  width: 2.4rem;
}

.ural-home-case__body {
  display: block;
  padding: .9rem 1rem 1rem;
}

.ural-home-case__body strong {
  color: var(--ural-dark);
  display: block;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.ural-home-case__body span {
  color: #53636b;
  display: block;
  line-height: 1.45;
}

.ural-home-case__meta {
  color: var(--ural-teal) !important;
  font-size: .82rem;
  font-weight: 700;
  margin-top: .7rem;
  text-transform: uppercase;
}

.ural-home-gallery-items {
  display: none;
}

.ural-home-video-grid {
  display: none;
}

.ural-home-case figcaption {
  line-height: 1.4;
  padding: .75rem .1rem .1rem;
}

.ural-home-update {
  border-top: 1px solid #d7dfe0;
  color: #66727d;
  font-size: .9rem;
  margin-top: 2rem;
  padding-top: .85rem;
}

@media (min-width: 800px) {
  .container-header .navbar-brand .brand-logo {
    position: relative;
    z-index: 10;
  }
}

@media (max-width: 800px) {
  .ural-home-intro,
  .ural-home-grid,
  .ural-home-cases,
  .ural-home-video-grid {
    grid-template-columns: 1fr;
  }

  .ural-home-promise {
    max-width: none;
  }

  .ural-home-checklist,
  .ural-home-steps,
  .ural-home-timeline {
    grid-template-columns: 1fr;
  }

  .ural-home-timeline::before {
    bottom: 1.25rem;
    height: auto;
    left: 1.05rem;
    right: auto;
    top: 1.05rem;
    width: 2px;
  }

  .ural-home-timeline article {
    padding-left: 3.5rem;
  }

  .ural-home-timeline time {
    left: -.5rem;
    position: absolute;
    top: 0;
  }

  .ural-home-timeline article:last-child time {
    left: -1.25rem;
  }

  .ural-home-timeline h3 {
    margin-top: 0;
  }

  .ural-gallery-modal {
    padding: .5rem;
  }

  .ural-gallery-modal__dialog {
    max-height: calc(100vh - 1rem);
    padding: .75rem;
  }

  .ural-gallery-modal__stage {
    min-height: 58vw;
  }

  .ural-gallery-modal__title {
    font-size: 1rem;
  }
}

.ural-catalog-landing {
  color: #222;
  font-size: .95rem;
  line-height: 1.35;
  padding: 1.25rem 0 2rem;
}

.ural-catalog-page {
  color: #222;
  padding: 1.5rem 0 2.5rem;
}

.ural-catalog-page h1,
.ural-catalog-page h2 {
  color: var(--ural-dark);
}

.ural-catalog-page h1 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin: 0 0 .75rem;
}

.ural-catalog-page h2 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0;
}

.ural-catalog-kicker {
  color: var(--ural-red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 .45rem;
  text-transform: uppercase;
}

.ural-catalog-hero {
  align-items: center;
  background: linear-gradient(135deg, #f1f8f8, #fff);
  border-left: 5px solid var(--ural-teal);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 130px;
  margin-bottom: 2.25rem;
  padding: 1.5rem 1.75rem;
}

.ural-catalog-hero__lead {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 730px;
}

.ural-catalog-hero__mark {
  color: rgba(7, 92, 104, .12);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.ural-catalog-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.1rem;
}

.ural-catalog-button {
  background: var(--ural-dark);
  border: 1px solid var(--ural-dark);
  color: #fff !important;
  display: inline-block;
  font-weight: 700;
  padding: .65rem 1rem;
  text-decoration: none;
}

.ural-catalog-button:hover,
.ural-catalog-button:focus {
  background: var(--ural-teal);
  border-color: var(--ural-teal);
  color: #fff !important;
}

.ural-catalog-promise {
  color: #65747a;
  font-size: .9rem;
}

.ural-catalog-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ural-catalog-section-heading > p {
  color: #65747a;
  margin: 0;
  max-width: 480px;
  text-align: right;
}

.ural-catalog-direction-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ural-catalog-direction {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dbe6e8;
  color: #222;
  display: flex;
  gap: .9rem;
  min-height: 150px;
  padding: 1rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ural-catalog-direction:hover,
.ural-catalog-direction:focus {
  background: #f1f8f8;
  border-color: var(--ural-teal);
  color: #222;
  transform: translateY(-2px);
}

.ural-catalog-direction__icon {
  align-items: center;
  background: var(--ural-teal);
  display: flex;
  flex: 0 0 66px;
  height: 66px;
  justify-content: center;
  padding: .4rem;
}

.ural-catalog-direction__icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ural-catalog-direction__body {
  display: block;
  min-width: 0;
}

.ural-catalog-direction__body strong,
.ural-catalog-direction__body span,
.ural-catalog-direction__body em {
  display: block;
}

.ural-catalog-direction__body strong {
  color: var(--ural-dark);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: .35rem;
}

.ural-catalog-direction__body span {
  color: #65747a;
  font-size: .9rem;
  line-height: 1.4;
}

.ural-catalog-direction__body em {
  color: var(--ural-teal);
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
  margin-top: .65rem;
}

.ural-catalog-help {
  align-items: center;
  background: var(--ural-dark);
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
}

.ural-catalog-help h2 {
  color: #fff;
  margin-bottom: .45rem;
}

.ural-catalog-help p {
  line-height: 1.45;
  margin: 0;
  max-width: 700px;
}

.ural-catalog-help .ural-catalog-kicker {
  color: #bfe3e6;
}

.ural-catalog-help .ural-catalog-button {
  background: #fff;
  border-color: #fff;
  color: var(--ural-dark) !important;
  flex: 0 0 auto;
}

.ural-catalog-help .ural-catalog-button:hover,
.ural-catalog-help .ural-catalog-button:focus {
  background: var(--ural-red);
  border-color: var(--ural-red);
  color: #fff !important;
}

.ural-catalog-note {
  border-top: 1px solid #dbe6e8;
  color: #65747a;
  font-size: .9rem;
  margin: 1.5rem 0 0;
  padding-top: .85rem;
}

.ural-brand-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 1.5rem;
}

.ural-brand-card {
  color: var(--ural-dark) !important;
  display: flex;
  flex-direction: column;
  font-size: .9rem;
  font-weight: 700;
  gap: .45rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
}

.ural-brand-card:hover,
.ural-brand-card:focus {
  color: var(--ural-red) !important;
}

.ural-brand-card img {
  background: #fff;
  border: 1px solid #e2e5e8;
  box-sizing: border-box;
  height: 184px;
  object-fit: contain;
  padding: .5rem;
  width: 100%;
}

.ural-brand-card span {
  overflow-wrap: anywhere;
}

.ural-brand-page .ural-catalog-copy {
  min-width: 0;
}

.ural-brand-page .ural-catalog-copy h1,
.ural-brand-page .ural-catalog-copy h2 {
  color: var(--ural-dark);
}

.ural-brand-page .ural-catalog-copy .formright {
  display: none;
}

.ural-reagents-page {
  color: #222;
}

.ural-reagent-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 1.5rem;
}

.ural-reagent-card {
  color: var(--ural-dark) !important;
  display: flex;
  flex-direction: column;
  font-size: .78rem;
  font-weight: 600;
  gap: .45rem;
  line-height: 1.25;
  min-width: 0;
  text-align: center;
  text-decoration: underline;
}

.ural-reagent-card:hover,
.ural-reagent-card:focus {
  color: var(--ural-red) !important;
}

.ural-reagent-card img {
  background: #fff;
  border: 1px solid #e2e5e8;
  box-sizing: border-box;
  height: 92px;
  object-fit: contain;
  padding: .35rem;
  width: 100%;
}

.ural-reagent-card span {
  overflow-wrap: anywhere;
}

.ural-reagents-page .ural-catalog-copy {
  min-width: 0;
}

.ural-reagents-page .ural-catalog-copy h2 {
  color: #222;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: .2rem 0 .8rem;
}

.ural-reagents-page .ural-catalog-copy h3 {
  color: #222;
  font-size: 1rem;
  line-height: 1.25;
  margin: 1rem 0 .6rem;
}

.ural-reagents-page .ural-catalog-copy .formright {
  display: none;
}

.ural-pump-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 2rem;
}

.ural-pump-card {
  color: var(--ural-dark) !important;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
  gap: .45rem;
  line-height: 1.2;
  min-width: 0;
  text-align: center;
  text-decoration: underline;
}

.ural-pump-card:hover,
.ural-pump-card:focus {
  color: var(--ural-red) !important;
}

.ural-pump-card img {
  height: 140px;
  object-fit: contain;
  width: 100%;
}

.ural-pump-card span {
  overflow-wrap: anywhere;
}

.ural-pumps-page .ural-catalog-copy {
  min-width: 0;
}

.ural-pumps-page .ural-catalog-copy h2 {
  color: var(--ural-dark);
  font-size: 1.55rem;
  line-height: 1.2;
  margin: .25rem 0 1rem;
}

.ural-pumps-page .ural-catalog-copy h2 a {
  color: inherit;
}

.ural-pumps-page .ural-catalog-copy .formright {
  display: none;
}

@media (max-width: 1100px) {
  .ural-reagent-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ural-pump-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ural-reagent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ural-pump-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ural-reagent-grid {
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ural-reagent-card {
    font-size: .72rem;
  }

  .ural-pump-grid {
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ural-pump-card {
    font-size: .82rem;
  }

  .ural-pump-card img {
    height: 110px;
  }
}

.ural-catalog-landing h2 {
  color: #222;
  font-size: 1.45rem;
  margin: .75rem 0 .8rem;
}

.ural-catalog-main {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.ural-catalog-copy p {
  margin: 0 0 .8rem;
  text-align: justify;
}

.ural-catalog-copy img {
  max-width: 100%;
}

.ural-catalog-copy img[style*="float: right"] {
  margin-left: 1.25rem !important;
}

.ural-catalog-copy img[style*="float: left"] {
  margin-right: 1.25rem !important;
}

.ural-catalog-request {
  background: #e4e4e4;
  border: 1px solid #d2d2d2;
  color: #66727d;
  padding: .75rem;
}

.ural-catalog-request-title {
  border-bottom: 1px solid #bdbdbd;
  font-size: 1.15rem;
  margin-bottom: .6rem;
  padding-bottom: .35rem;
  text-align: center;
}

.ural-catalog-request input,
.ural-catalog-request textarea {
  background: #fff;
  border: 1px solid #bfc3c7;
  box-sizing: border-box;
  color: #66727d;
  display: block;
  font: inherit;
  margin: 0 0 .35rem;
  padding: .35rem;
  width: 100%;
}

.ural-catalog-request textarea {
  min-height: 100px;
  resize: vertical;
}

.ural-catalog-request button {
  background: #1095a5;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: 700;
  margin: .65rem auto 0;
  padding: .45rem 1.2rem;
}

.ural-catalog-request-note {
  font-size: .78rem;
  line-height: 1.3;
  margin: .65rem 0 0;
}

.ural-qa {
  padding: 0 0 2rem;
}

.ural-qa-intro {
  margin-bottom: 1.5rem;
}

.ural-qa-item {
  border-top: 1px solid #e1e5e8;
  padding: 1.25rem 0;
}

.ural-qa-item h2 {
  color: #222;
  font-size: 1.2rem;
  margin: 0 0 .35rem;
}

.ural-qa-meta {
  color: #7a858e;
  font-size: .85rem;
  margin-bottom: .75rem;
}

.ural-qa-question,
.ural-qa-answer {
  line-height: 1.45;
  margin: 0 0 .75rem;
}

.ural-qa-question {
  background: #f5f6f7;
  border-left: 4px solid var(--ural-teal);
  padding: .75rem 1rem;
}

.ural-qa-answer {
  padding-left: 1rem;
}

.ural-qa-answer strong {
  color: var(--ural-dark);
}

@media (max-width: 800px) {
  .ural-catalog-hero {
    grid-template-columns: 1fr;
  }

  .ural-catalog-hero__mark {
    display: none;
  }

  .ural-catalog-section-heading {
    align-items: start;
    flex-direction: column;
    gap: .6rem;
  }

  .ural-catalog-section-heading > p {
    text-align: left;
  }

  .ural-catalog-direction-grid {
    grid-template-columns: 1fr;
  }

  .ural-catalog-help {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .ural-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ural-catalog-main {
    grid-template-columns: 1fr;
  }

  .com-content-article__body table:has(tr + tr) tr:first-child td,
  .item-page table:has(tr + tr) tr:first-child td {
    font-size: 12px !important;
  }

}

.container-footer {
  background: #fff;
  border-top: 5px solid var(--ural-teal);
  color: #66727d;
  margin-top: 2.5rem;
  box-shadow: 0 -1px 0 rgb(15 93 104 / 18%);
}

.container-footer .grid-child {
  margin: 0 auto;
  max-width: 1000px;
  padding: 1.75rem 0 1.25rem;
}

.container-footer .grid-child > .mod-custom {
  width: 100%;
}

.ural-footer {
  color: #66727d;
  font-size: 1rem;
  padding: 0;
}

.ural-footer a {
  color: var(--ural-dark);
}

.ural-footer-layout {
  align-items: start;
  border-bottom: 1px solid #cfdadd;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr .9fr 1.3fr;
  min-height: 92px;
  padding-bottom: 1.5rem;
}

.ural-footer-address {
  align-items: center;
  display: flex;
  gap: .75rem;
}

.ural-footer-address strong {
  color: #1f2933;
}

.ural-footer-icon {
  background: url("/images/fmap.png") no-repeat center;
  background-size: contain;
  display: block;
  flex: 0 0 70px;
  height: 60px;
  width: 70px;
}

.ural-footer-contact {
  padding-top: .35rem;
}

.ural-footer-docs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin-top: .65rem;
}

.ural-footer-docs span {
  color: #1f2933;
  font-weight: 700;
  width: 100%;
}

.ural-footer-search {
  display: flex;
  margin-top: .1rem;
}

.ural-footer-search input {
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  color: #66727d;
  font: inherit;
  height: 40px;
  min-width: 0;
  padding: 0 .65rem;
  width: 100%;
}

.ural-footer-search button {
  background: var(--ural-dark);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  height: 40px;
  width: 48px;
}

.ural-footer-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.ural-footer-bottom a {
  font-weight: 700;
}

.com-content-category__items,
.com-content-category__items > li {
  list-style: none;
  padding-left: 0;
}

.ural-legal-document {
  color: #1f2933;
  line-height: 1.65;
  max-width: 1040px;
}

.ural-legal-document h1,
.ural-legal-document h2 {
  color: var(--ural-dark);
}

.ural-legal-document h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.ural-legal-document h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 2rem 0 .65rem;
}

.ural-legal-document p,
.ural-legal-document ul {
  margin: 0 0 1rem;
}

.ural-legal-document li + li {
  margin-top: .3rem;
}

.ural-legal-meta {
  color: #66727d;
  font-size: .9rem;
}

/* Лента новостей: старый сайт показывал анонсы, а не табличный список. */
.com-content-category-blog {
  background: #fff;
}

.com-content-category-blog .blog-item {
  border-bottom: 1px solid #e5e8ea;
  clear: both;
  padding: 1.25rem 0 1.5rem;
}

.com-content-category-blog .blog-item + .blog-item {
  margin-top: .25rem;
}

.com-content-category-blog .page-header {
  margin: 0 0 .85rem;
}

.com-content-category-blog .page-header h2 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0;
}

.com-content-category-blog .page-header h2 a {
  color: var(--ural-dark);
  text-decoration: underline;
}

.com-content-category-blog .item-content {
  color: #222;
  font-size: 1rem;
  line-height: 1.35;
}

.com-content-category-blog .item-content img {
  height: auto;
  max-width: 250px;
}

.com-content-category-blog .readmore {
  clear: both;
  margin: .9rem 0 0;
}

.com-content-category-blog .readmore a.btn {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ural-dark);
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

.com-content-category-blog .readmore a.btn .icon-chevron-right {
  display: none;
}

/* Пагинация в цветах сайта. */
.com-content-category-blog__pagination .pagination,
.com-content-category__pagination .pagination {
  gap: 0;
  margin: 1.5rem 0 0;
}

.com-content-category-blog__pagination .page-link,
.com-content-category__pagination .page-link {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e0e3;
  color: var(--ural-dark);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  text-decoration: none;
}

.com-content-category-blog__pagination .page-item:first-child .page-link,
.com-content-category__pagination .page-item:first-child .page-link {
  border-radius: .35rem 0 0 .35rem;
}

.com-content-category-blog__pagination .page-item:last-child .page-link,
.com-content-category__pagination .page-item:last-child .page-link {
  border-radius: 0 .35rem .35rem 0;
}

.com-content-category-blog__pagination .page-item + .page-item .page-link,
.com-content-category__pagination .page-item + .page-item .page-link {
  border-left: 0;
}

.com-content-category-blog__pagination .page-link:hover,
.com-content-category__pagination .page-link:hover {
  background: var(--ural-teal);
  border-color: var(--ural-teal);
  color: #fff;
}

.com-content-category-blog__pagination .page-item.active .page-link,
.com-content-category__pagination .page-item.active .page-link {
  background: var(--ural-dark);
  border-color: var(--ural-dark);
  color: #fff;
}

.com-content-category-blog__pagination .page-item.disabled .page-link,
.com-content-category__pagination .page-item.disabled .page-link {
  background: #eef2f3;
  color: #718087;
  opacity: 1;
}

/* Contact page layout restored from the original site. */
.ural-contact-page {
  color: #222;
  padding: 1.25rem 0 2rem;
}

.ural-contact-page h1 {
  color: #222;
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

.ural-contact-columns {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.ural-contact-copy {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.ural-contact-copy p {
  margin: 0 0 1.25rem;
}

.ural-contact-copy a,
.ural-contact-signature a {
  color: var(--ural-dark);
  text-decoration: underline;
}

.ural-contact-pdf {
  margin-left: .5rem;
  vertical-align: middle;
}

.ural-contact-important strong {
  color: #e00000;
}

.ural-contact-form-panel {
  background: #ddd;
  color: #6e7478;
  padding: .75rem 1rem 1rem;
}

.ural-contact-form-panel h2 {
  border-bottom: 1px solid #bbb;
  color: #73797d;
  font-size: 1.15rem;
  margin: 0 0 .75rem;
  padding: 0 0 .45rem;
  text-align: center;
}

.ural-contact-form {
  display: grid;
  gap: .45rem;
}

.ural-contact-form input[type="text"],
.ural-contact-form input[type="email"],
.ural-contact-form input[type="file"],
.ural-contact-form textarea {
  background: #fff;
  border: 1px solid #b8bec1;
  border-radius: 0;
  box-sizing: border-box;
  color: #333;
  font: inherit;
  padding: .35rem .5rem;
  width: 100%;
}

.ural-contact-form input[type="file"] {
  border: 0;
  padding: .15rem 0;
}

.ural-contact-form textarea {
  min-height: 105px;
  resize: vertical;
}

.ural-contact-privacy {
  color: #333;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
  margin: .2rem 0 .4rem;
}

.ural-contact-privacy a {
  color: var(--ural-dark);
  text-decoration: underline;
}

.ural-contact-consent {
  align-items: flex-start;
  display: flex;
  gap: .45rem;
}

.ural-contact-consent input[type="checkbox"] {
  display: inline-block;
  flex: 0 0 auto;
  height: 1rem;
  margin: .15rem 0 0;
  padding: 0;
  width: 1rem;
}

.ural-contact-consent span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ural-catalog-request .ural-contact-consent {
  box-sizing: border-box;
  display: flex;
  width: 100%;
}

.ural-contact-form button {
  background: var(--ural-teal);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  justify-self: center;
  padding: .55rem 1.2rem;
}

.ural-contact-form button:hover {
  background: var(--ural-dark);
}

.ural-contact-map {
  clear: both;
  margin-top: 2rem;
}

.ural-contact-map h2 {
  color: #222;
  font-size: 1.7rem;
  margin: 0 0 1rem;
}

.ural-contact-map iframe {
  border: 0;
  display: block;
  height: 360px;
  width: 100%;
}

.ural-contact-signature {
  font-weight: 700;
  margin: .75rem 0 0;
  text-align: right;
}

.ural-gallery-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 2100;
}

.ural-gallery-modal[hidden] {
  display: none;
}

.ural-gallery-modal__backdrop {
  background: rgba(4, 36, 42, .78);
  inset: 0;
  position: absolute;
}

.ural-gallery-modal__dialog {
  background: #fff;
  box-sizing: border-box;
  max-height: calc(100vh - 2rem);
  max-width: 1050px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.ural-gallery-modal__header {
  align-items: baseline;
  border-bottom: 1px solid #dce8e9;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .85rem;
  padding: 0 2.5rem .65rem 0;
}

.ural-gallery-modal__title {
  color: var(--ural-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.ural-gallery-modal__counter {
  color: #6b7b82;
  font-size: .9rem;
  white-space: nowrap;
}

.ural-gallery-modal__close,
.ural-gallery-modal__nav {
  align-items: center;
  background: var(--ural-dark);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.ural-gallery-modal__close {
  background: transparent;
  color: var(--ural-dark);
  font-size: 1.8rem;
  line-height: 1;
  padding: .1rem .35rem;
  position: absolute;
  right: .55rem;
  top: .45rem;
}

.ural-gallery-modal__close:hover,
.ural-gallery-modal__close:focus,
.ural-gallery-modal__nav:hover,
.ural-gallery-modal__nav:focus {
  background: var(--ural-red);
  color: #fff;
}

.ural-gallery-modal__stage {
  align-items: center;
  background: #123f46;
  display: flex;
  justify-content: center;
  min-height: min(52vw, 520px);
  position: relative;
}

.ural-gallery-modal__stage img,
.ural-gallery-modal__stage video {
  display: block;
  max-height: min(62vh, 560px);
  max-width: 100%;
}

.ural-gallery-modal__stage img {
  height: auto;
  object-fit: contain;
}

.ural-gallery-modal__stage video {
  background: #123f46;
  height: auto;
  object-fit: contain;
  width: auto;
}

.ural-gallery-modal__caption {
  color: #53636b;
  line-height: 1.4;
  margin: .7rem 0 .5rem;
}

.ural-gallery-modal__nav {
  border-radius: 50%;
  font-size: 1.5rem;
  height: 2.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
}

.ural-gallery-modal__nav--prev {
  left: .75rem;
}

.ural-gallery-modal__nav--next {
  right: .75rem;
}

.ural-gallery-modal__thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .7rem;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: .15rem;
}

.ural-gallery-modal__thumb {
  background: #edf5f5;
  border: 2px solid transparent;
  cursor: pointer;
  flex: 0 0 78px;
  height: 52px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.ural-gallery-modal__thumb.is-active {
  border-color: var(--ural-red);
}

.ural-gallery-modal__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ural-gallery-modal__thumb span {
  align-items: center;
  background: var(--ural-dark);
  color: #fff;
  display: flex;
  font-size: .8rem;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.ural-modal-open {
  overflow: hidden;
}

.ural-request-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 2000;
}

.ural-request-modal[hidden] {
  display: none;
}

.ural-request-modal__backdrop {
  background: rgba(0, 0, 0, .55);
  inset: 0;
  position: absolute;
}

.ural-request-modal__dialog {
  background: #ddd;
  box-sizing: border-box;
  color: #555;
  max-height: calc(100vh - 2rem);
  max-width: 430px;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.ural-request-modal__dialog h2 {
  border-bottom: 1px solid #bbb;
  color: #73797d;
  font-size: 1.25rem;
  margin: 0 2rem .75rem 0;
  padding-bottom: .5rem;
  text-align: center;
}

.ural-request-modal__intro {
  color: #555;
  font-size: .9rem;
  margin: 0 0 .75rem;
  text-align: center;
}

.ural-request-modal__close {
  background: transparent;
  border: 0;
  color: #66727d;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  padding: .1rem .35rem;
  position: absolute;
  right: .55rem;
  top: .45rem;
}

.ural-request-modal__close:hover,
.ural-request-modal__close:focus {
  color: var(--ural-dark);
}

.ural-request-form {
  gap: .45rem;
}

.ural-request-form .ural-contact-privacy {
  margin-top: .2rem;
}

.ural-request-form-status {
  border: 1px solid transparent;
  border-radius: .35rem;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 .85rem;
  padding: .8rem .9rem;
  text-align: center;
}

.ural-request-form-status.is-pending {
  background: #eef5f6;
  border-color: #c8dfe2;
  color: var(--ural-dark);
}

.ural-request-form-status.is-success {
  background: #eaf6ef;
  border-color: #b9dfc7;
  color: #176b3a;
  font-weight: 700;
}

.ural-request-form-status.is-error {
  background: #fff1f0;
  border-color: #efc3bf;
  color: #a42118;
}

.ural-inline-form-status {
  border: 1px solid transparent;
  border-radius: .35rem;
  font-size: .95rem;
  line-height: 1.45;
  margin: 0 0 .65rem;
  padding: .7rem .8rem;
  text-align: center;
}

.ural-inline-form-status.is-pending {
  background: #eef5f6;
  border-color: #c8dfe2;
  color: var(--ural-dark);
}

.ural-inline-form-status.is-success {
  background: #eaf6ef;
  border-color: #b9dfc7;
  color: #176b3a;
  font-weight: 700;
}

.ural-inline-form-status.is-error {
  background: #fff1f0;
  border-color: #efc3bf;
  color: #a42118;
}

@media (max-width: 800px) {
  .container-header > .grid-child:not(.container-nav) {
    height: auto;
    min-height: 145px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container-topbar .mod-custom {
    left: 1rem;
    right: 1rem;
    top: .75rem;
    transform: none;
  }

  .container-header .container-topbar {
    height: auto;
  }

  .ural-header-shell {
    flex-direction: column;
    gap: .5rem;
  }

  .ural-contact {
    background-position: 0 .15rem;
    font-size: .8rem;
    width: auto;
  }

  .container-header .navbar-brand,
  .container-header .navbar-brand .brand-logo {
    height: auto;
  }

  .container-header .navbar-brand img {
    height: auto;
  }

  .ural-header-actions {
    flex-direction: row;
    width: auto;
  }

  .ural-header-actions a {
    font-size: .75rem;
    padding: 0 .75rem;
  }

  .container-header .navbar-brand img {
    max-width: min(100%, 360px);
  }

  .container-header .container-nav,
  .container-nav .mod-menu {
    height: auto;
  }

  .container-nav .mod-menu {
    flex-wrap: wrap;
  }

  .container-nav .mod-menu > li > a {
    font-size: .8rem;
    min-height: 48px;
    padding: .5rem .7rem;
    white-space: normal;
  }

  .ural-icons {
    gap: .5rem;
    min-height: 0;
    padding: 1.25rem .5rem;
  }

  .ural-icons a {
    flex-basis: 120px;
    font-size: .8rem;
  }

  .container-footer .grid-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ural-footer-layout {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .ural-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  .ural-contact-columns {
    grid-template-columns: 1fr;
  }

  .ural-contact-map iframe {
    height: 300px;
  }
}

/* Полноценная адаптивная сетка: desktop остаётся в прежних размерах, а
   узкие экраны получают собственную компоновку без горизонтального скролла. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

.container-component,
.site-grid > .container-component {
  width: min(100% - 2rem, 1000px);
}

.container-header > .grid-child:not(.container-nav),
.container-footer .grid-child {
  width: min(100% - 2rem, 1000px);
}

.container-topbar .mod-custom {
  max-width: calc(100% - 2rem);
}

.ural-mobile-menu-toggle {
  display: none;
}

.ural-mobile-menu-panel {
  display: contents;
}

.ural-mobile-menu-backdrop,
.ural-mobile-panel-head,
.ural-mobile-menu-contact,
.ural-mobile-menu-action,
.ural-mobile-menu-close {
  display: none;
}

@media (max-width: 1100px) {
  .container-header > .grid-child:not(.container-nav),
  .container-footer .grid-child,
  .container-component,
  .site-grid > .container-component {
    width: min(100% - 2rem, 1000px);
  }

  .container-topbar .mod-custom {
    right: 1rem;
  }

  .container-header .navbar-brand img,
  .container-header .navbar-brand .brand-logo img {
    height: 82px;
    width: min(310px, 100%);
  }

  .ural-contact {
    width: 390px;
  }

  .ural-header-actions {
    width: 150px;
  }

  .container-nav .mod-menu > li > a {
    font-size: .74rem;
    padding-left: .7rem;
    padding-right: .7rem;
  }

  .container-nav .mod-menu {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .container-nav .mod-menu > li {
    display: block;
    min-width: 0;
  }

  .container-nav .mod-menu > li > a {
    line-height: 1.15;
    padding-left: .3rem;
    padding-right: .3rem;
    text-align: center;
    white-space: normal;
  }

  body.itemid-101 .ural-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .ural-icons a {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .container-header {
    display: flex;
    flex-direction: column;
  }

  .container-header > .grid-child:not(.container-nav) {
    order: 1;
  }

  .container-header > .container-topbar {
    order: 2;
    width: 100%;
  }

  .container-header > .container-nav {
    order: 3;
  }

  .container-header > .grid-child:not(.container-nav),
  .container-footer .grid-child,
  .container-component,
  .site-grid > .container-component {
    width: min(100% - 1.5rem, 680px);
  }

  .container-header > .grid-child:not(.container-nav) {
    min-height: 0;
    padding: .75rem 0 .85rem;
  }

  .container-header .container-topbar {
    display: none;
  }

  .container-topbar .mod-custom {
    left: 0;
    max-width: none;
    position: static;
    right: auto;
    transform: none;
    width: 100%;
  }

  .container-header > .grid-child:not(.container-nav) {
    height: auto;
  }

  .container-header .navbar-brand,
  .container-header .navbar-brand .brand-logo {
    justify-content: center;
    width: 100%;
  }

  .container-header .navbar-brand {
    position: relative;
  }

  .container-header .navbar-brand img,
  .container-header .navbar-brand .brand-logo img {
    height: auto;
    max-height: 92px;
    width: min(360px, 100%);
  }

  .container-header .navbar-brand .ural-mobile-menu-toggle {
    align-items: center;
    background: var(--ural-dark);
    border: 0;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    font-size: .62rem;
    font-weight: 700;
    gap: .2rem;
    justify-content: center;
    min-height: 54px;
    padding: .45rem .55rem;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
  }

  .container-header .navbar-brand .ural-mobile-menu-toggle:hover,
  .container-header .navbar-brand .ural-mobile-menu-toggle:focus {
    background: var(--ural-teal);
  }

  .ural-mobile-menu-toggle__icon {
    font-size: 1.35rem;
    line-height: 1;
  }

  .ural-header-shell {
    align-items: center;
    flex-direction: column;
    gap: .7rem;
  }

  .ural-contact {
    align-items: center;
    font-size: .88rem;
    justify-content: center;
    min-height: 48px;
    width: 100%;
  }

  .ural-contact-icon {
    flex-basis: 50px;
    height: 50px;
    width: 50px;
  }

  .ural-header-actions {
    width: min(100%, 320px);
  }

  .ural-header-actions a {
    flex: 1 1 auto;
    font-size: .78rem;
    height: 36px;
  }

  .container-header .container-nav {
    background: transparent;
    border: 0;
    height: 0;
    min-height: 0;
    padding: 0;
    position: static;
  }

  .ural-mobile-menu-panel {
    background: #fdfdfd;
    color: #fff;
    display: none;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem 1rem 1.5rem;
    position: fixed;
    right: 0;
    top: 0;
    width: min(88vw, 390px);
    z-index: 2051;
  }

  .container-nav.is-mobile-open .ural-mobile-menu-panel {
    display: block;
  }

  .ural-mobile-menu-backdrop {
    background: rgba(5, 10, 14, .72);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 2050;
  }

  .container-nav.is-mobile-open .ural-mobile-menu-backdrop {
    display: block;
  }

  .ural-mobile-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.35rem;
  }

  .ural-mobile-panel-brand {
    display: block;
    max-width: 190px;
  }

  .ural-mobile-panel-brand img {
    display: block;
    height: auto;
    max-width: 100%;
  }

  .ural-mobile-menu-close {
    align-items: center;
    background: transparent;
    border: 1px solid rgb(0 0 0 / 14%);
    border-radius: .7rem;
    color: #393939;
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    height: 52px;
    justify-content: center;
    line-height: 1;
    width: 52px;
  }

  .ural-mobile-menu-close:hover,
  .ural-mobile-menu-close:focus {
    background: var(--ural-red);
  }

  .container-nav .ural-mobile-menu-panel .mod-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .container-nav .mod-menu > li,
  .container-nav .mod-menu > li > a {
    width: 100%;
  }

  .container-nav .mod-menu > li > a {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: .88rem;
    justify-content: flex-start;
    min-height: 45px;
    padding: .7rem 1rem;
    color: #000;
  }

  .container-nav .mod-menu__sub,
  .container-nav .mod-menu__sub .mod-menu__sub {
    background: #eef1f2;
    border: 0;
    box-shadow: none;
    display: block;
    left: auto;
    min-width: 0;
    position: static;
    top: auto;
    width: 100%;
  }

  .container-nav .mod-menu__sub > li > a {
    background: #eef1f2;
    border-bottom: 1px solid #d5dddf;
    color: var(--ural-dark);
    font-size: .84rem;
    padding: .65rem 1rem .65rem 1.8rem;
    white-space: normal;
  }

  .container-nav .mod-menu__sub .mod-menu__sub > li > a {
    background: #f7f9f9;
    padding-left: 2.7rem;
  }

  .ural-mobile-menu-contact {
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #121212;
    display: block;
    font-size: .82rem;
    line-height: 1.35;
    margin-top: 1.1rem;
    padding-top: 1rem;
  }

  .ural-mobile-menu-contact p {
    margin: 0 0 .75rem;
  }

  .ural-mobile-menu-contact strong {
    color: var(--ural-red);
  }

  .ural-mobile-menu-contact a {
    color: #000;
    text-decoration: none;
  }

  .ural-mobile-menu-action {
    background: var(--ural-teal);
    border-radius: 0;
    color: #fff !important;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.1rem;
    padding: .8rem 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .ural-mobile-menu-action:hover,
  .ural-mobile-menu-action:focus {
    background: var(--ural-red);
  }

  .ural-icons {
    gap: 1rem .5rem;
    margin-bottom: 0;
    min-height: 0;
    padding: 1.4rem .5rem 1.6rem;
  }

  .ural-icons a {
    flex: 1 1 30%;
    font-size: .62rem;
    gap: .4rem;
    max-width: 33%;
  }

  .ural-icons img {
    height: 76px;
    width: 105px;
  }

  .container-top-a {
    margin-left: 0;
    width: 100%;
  }

  .ural-footer-layout {
    gap: 1.25rem;
  }

  .ural-footer-address {
    justify-content: flex-start;
  }

  .ural-footer-contact {
    padding-top: 0;
  }

  .ural-footer-search {
    max-width: 100%;
  }

  .ural-footer-bottom {
    gap: .65rem;
  }

  .ural-footer-bottom a {
    align-self: flex-start;
  }

  .com-content-category-blog .item-content img {
    float: none !important;
    display: block;
    margin: 0 0 1rem;
    max-width: 100%;
  }

  .com-content-category-blog .page-header h2 {
    font-size: 1.35rem;
  }

  .com-content-category-blog__pagination .pagination,
  .com-content-category__pagination .pagination {
    flex-wrap: wrap;
  }

  .ural-contact-page h1,
  .ural-home h1,
  .ural-catalog-page h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .ural-home h2,
  .ural-catalog-page h2,
  .ural-contact-map h2 {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .ural-home,
  .ural-catalog-page,
  .ural-contact-page {
    padding-top: 1.25rem;
  }

  .ural-home-intro,
  .ural-catalog-hero {
    padding: 1.1rem;
  }

  .ural-home-actions,
  .ural-catalog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ural-home-button,
  .ural-catalog-button {
    text-align: center;
    width: 100%;
  }

  .ural-contact-columns {
    gap: 1.25rem;
  }

  .ural-contact-form-panel {
    padding: .85rem;
  }

  .ural-contact-map {
    margin-top: 1.5rem;
  }

  .ural-contact-map iframe {
    height: min(70vw, 320px);
  }

  .ural-contact-signature {
    text-align: left;
  }

  .ural-gallery-modal__dialog {
    max-height: calc(100vh - 1rem);
    padding: .75rem;
  }

  .ural-gallery-modal__stage {
    min-height: 50vw;
  }

  .ural-gallery-modal__nav {
    height: 2.25rem;
    width: 2.25rem;
  }

  .ural-gallery-modal__nav--prev {
    left: .35rem;
  }

  .ural-gallery-modal__nav--next {
    right: .35rem;
  }

  .ural-request-modal {
    padding: 0;
  }

  .ural-request-modal__dialog {
    max-height: 92vh;
    max-width: none;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container-header > .grid-child:not(.container-nav),
  .container-footer .grid-child,
  .container-component,
  .site-grid > .container-component {
    width: calc(100% - 1rem);
  }

  .container-header .navbar-brand img,
  .container-header .navbar-brand .brand-logo img {
    max-height: 76px;
    margin-right: auto;
    margin-left: -60px;
  }

  .ural-contact {
    font-size: .78rem;
    gap: .55rem;
  }

  .ural-contact-icon {
    flex-basis: 42px;
    height: 42px;
    width: 42px;
  }

  .ural-icons {
    gap: 1.1rem .25rem;
    padding-left: .25rem;
    padding-right: .25rem;
  }

  .ural-icons a {
    flex-basis: 50%;
    max-width: 50%;
  }

  .ural-icons img {
    height: 70px;
    width: 96px;
  }

  .ural-footer-address {
    align-items: flex-start;
  }

  .ural-footer-icon {
    flex-basis: 54px;
    height: 50px;
    width: 54px;
  }

  .ural-footer-bottom {
    font-size: .86rem;
  }

  .ural-brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ural-gallery-modal__header {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }

  .ural-gallery-modal__stage {
    min-height: 58vw;
  }
}

/* Общие узкие места Joomla-страниц. */
.mod-breadcrumbs__wrapper {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mod-breadcrumbs {
  line-height: 1.4;
}

.com-content-article__body,
.item-page,
.com-contact,
.com-content-category,
.com-content-category-blog {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.com-content-article__body table,
.item-page table {
  background: #fff;
  border: 1px solid #202a31;
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  max-width: 100%;
  overflow: visible;
  table-layout: auto;
  width: 100% !important;
}

.com-content-article__body table td,
.item-page table td {
  border: 1px solid #202a31;
  font-weight: 400;
  line-height: 1.4;
  padding: .72rem .62rem;
  text-align: left;
  vertical-align: middle;
  word-spacing: normal;
}

.com-content-article__body table td p,
.item-page table td p {
  margin: 0;
  text-align: left;
}

.com-content-article__body table:has(tr + tr) tr:first-child td,
.item-page table:has(tr + tr) tr:first-child td {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.com-content-article__body table:has(tr + tr) tr:first-child td strong,
.item-page table:has(tr + tr) tr:first-child td strong {
  font-weight: 800;
}

.com-content-article__body table td:first-child,
.item-page table td:first-child {
  text-align: center;
  white-space: nowrap;
  width: 3.2rem;
}

.com-content-article__body table td:nth-child(2),
.item-page table td:nth-child(2) {
  width: 43%;
}

.com-content-article__body table td:nth-child(n+3),
.item-page table td:nth-child(n+3) {
  white-space: nowrap;
}

/* Таблицы с описанием материалов имеют четыре равноправные колонки.
 * Общие правила выше рассчитаны на каталожные таблицы с номером и
 * специально сжимают первую колонку, из-за чего длинный текст уезжает
 * за пределы экрана и растягивает таблицу. */
.com-content-article__body table:has(td[rowspan="2"]):has(td[colspan="3"]),
.item-page table:has(td[rowspan="2"]):has(td[colspan="3"]) {
  table-layout: fixed;
  width: 100% !important;
}

.com-content-article__body table:has(td[rowspan="2"]):has(td[colspan="3"]) td,
.item-page table:has(td[rowspan="2"]):has(td[colspan="3"]) td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.com-content-article__body table:has(td[rowspan="2"]):has(td[colspan="3"]) td:first-child,
.item-page table:has(td[rowspan="2"]):has(td[colspan="3"]) td:first-child {
  text-align: left;
  width: 58% !important;
}

.com-content-article__body table:has(td[rowspan="2"]):has(td[colspan="3"]) td:nth-child(n+2),
.item-page table:has(td[rowspan="2"]):has(td[colspan="3"]) td:nth-child(n+2) {
  text-align: center;
  width: 14% !important;
}

.com-content-article__body table img,
.item-page table img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

.com-content-article__body table a,
.item-page table a {
  color: var(--ural-dark);
  font-weight: 600;
}

.com-content-article__body table a:hover,
.com-content-article__body table a:focus,
.item-page table a:hover,
.item-page table a:focus {
  color: var(--ural-teal);
}

.com-content-article__body table + p,
.item-page table + p {
  margin-top: 1rem;
}

/* PDF-инструкции: не оставляем половину таблицы пустой под иконку. */
.com-content-article__body table:has(> tbody > tr:only-child):has(a[href$=".pdf"]),
.item-page table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) {
  table-layout: fixed;
  width: 100% !important;
}

.com-content-article__body table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:first-child,
.item-page table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:first-child {
  overflow-wrap: anywhere;
  white-space: normal;
  width: 40% !important;
}

.com-content-article__body table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:nth-child(2),
.item-page table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:nth-child(2) {
  text-align: left !important;
  width: 60% !important;
}

.com-content-article__body table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:nth-child(2) p,
.item-page table:has(> tbody > tr:only-child):has(a[href$=".pdf"]) td:nth-child(2) p {
  text-align: left !important;
  word-spacing: normal;
}

.com-contact table,
.com-content-category table,
.com-content-category-blog table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.com-content-article__body pre,
.item-page pre,
.com-content-article__body code,
.item-page code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.com-content-article__body iframe,
.item-page iframe,
.com-content-category iframe,
.com-content-category-blog iframe {
  max-width: 100%;
}

.pagination {
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: .2rem;
}

@media (max-width: 800px) {
  .com-content-article__body,
  .item-page {
    overflow-x: auto;
  }

  .com-content-article__body table,
  .item-page table {
    display: table;
    min-width: 680px;
    width: max-content !important;
  }

  .mod-breadcrumbs__wrapper {
    margin-left: 0;
    margin-right: 0;
    padding: .65rem .75rem;
  }

  .mod-breadcrumbs {
    font-size: .88rem;
  }

  .ural-catalog-main {
    grid-template-columns: 1fr;
  }

  .ural-catalog-copy p {
    text-align: left;
  }

  .ural-catalog-copy img[style*="float: right"],
  .ural-catalog-copy img[style*="float: left"] {
    float: none !important;
    display: block;
    margin: 0 auto 1rem !important;
  }

  .ural-brand-card {
    font-size: .78rem;
  }

  .ural-brand-card img {
    height: 78px;
  }

  .com-content-article__body,
  .item-page,
  .com-content-category,
  .com-content-category-blog {
    font-size: .98rem;
  }

  .com-content-article__body h1,
  .item-page h1,
  .com-content-category h1,
  .com-content-category-blog h1 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    line-height: 1.15;
  }

  .com-content-article__body h2,
  .item-page h2,
  .com-content-category h2,
  .com-content-category-blog h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    line-height: 1.2;
  }

  .com-content-article__body img,
  .item-page img,
  .com-content-category img,
  .com-content-category-blog img {
    height: auto !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .mod-breadcrumbs__wrapper {
    font-size: .82rem;
  }

  .ural-catalog-direction {
    min-height: 0;
    padding: .8rem;
  }

  .ural-catalog-direction__icon {
    flex-basis: 54px;
    height: 54px;
  }

  .ural-catalog-direction__body strong {
    font-size: .98rem;
  }

  .ural-catalog-direction__body span {
    font-size: .84rem;
  }

  .com-content-article__body,
  .item-page,
  .com-content-category,
  .com-content-category-blog {
    font-size: .94rem;
  }
}

/* Единая кнопка закрытия для модальных окон и мобильного меню. */
.ural-modal-close {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8dde1;
  border-radius: 0;
  box-shadow: none;
  color: var(--ural-dark);
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  height: 40px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 40px;
}

.ural-modal-close:hover,
.ural-modal-close:focus-visible {
  background: #fff;
  border-color: var(--ural-dark);
  color: var(--ural-dark);
  outline: 3px solid rgb(0 91 103 / 18%);
  outline-offset: 2px;
}

.ural-gallery-modal__close,
.ural-request-modal__close {
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.ural-gallery-modal__header {
  padding-right: 5rem;
}

.ural-request-modal__dialog h2 {
  margin-right: 5rem;
}

.ural-mobile-panel-head .ural-mobile-menu-close {
  flex: 0 0 40px;
  height: 40px;
  position: relative;
  right: auto;
  top: auto;
  width: 40px;
}

/* Компактное уведомление о cookie без блокировки страницы. */
.ural-cookie-notice {
  align-items: center;
  background: #f4f9f9;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  bottom: 12px;
  box-shadow: 0 4px 18px rgb(0 0 0 / 20%);
  color: #000;
  display: flex;
  font-size: .86rem;
  gap: .9rem;
  left: 50%;
  line-height: 1.35;
  max-width: calc(100% - 2rem);
  padding: .45rem .55rem .45rem .85rem;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1100;
}

.ural-cookie-notice[hidden] {
  display: none;
}

.ural-cookie-notice a {
  color: var(--ural-dark);
  font-weight: 700;
  text-decoration: underline;
}

.ural-cookie-notice button {
  background: var(--ural-teal);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 700;
  padding: .42rem .7rem;
}

.ural-cookie-notice button:hover,
.ural-cookie-notice button:focus-visible {
  background: var(--ural-dark, #075d68);
}

@media (max-width: 600px) {
  .ural-cookie-notice {
    align-items: stretch;
    bottom: 8px;
    flex-direction: column;
    gap: .45rem;
    max-width: calc(100% - 1rem);
    padding: .65rem;
    width: calc(100% - 1rem);
  }

  .ural-cookie-notice button {
    align-self: flex-start;
  }
}
