/* «Атлас сертификации»: графическая навигация Росстандарт. */
.rb-header { position: relative; z-index: 80; }
.rb-header .rb-header-top { height: 100px; }
.rb-header .rb-header-cta { border-radius: 3px; }
.rb-header .rb-nav-shell { background: var(--rb-pine); border-top: 0; }
.rb-header .rb-nav-row { min-height: 76px; gap: 25px; align-items: stretch; }
.rb-header .rb-nav { display: flex; align-items: stretch; }
.rb-theme .rb-header .rb-menu { flex: 1; gap: 22px; }
.rb-theme .rb-header .rb-menu > li > a { padding: 27px 0 23px; color: var(--rb-paper); font-size: 13px; font-weight: 500; border-bottom: 3px solid transparent; }
.rb-theme .rb-header .rb-menu > li > a:hover,
.rb-theme .rb-header .rb-menu > li.current-menu-item > a,
.rb-theme .rb-header .rb-menu > li.current-menu-ancestor > a { border-bottom-color: var(--rb-bronze); }
.rb-header .rb-search { width: 155px; padding-left: 18px; border-color: #ffffff35; align-self: center; }
.rb-theme .rb-header .rb-search input { width: 108px; color: var(--rb-paper); font-size: 10px; }
.rb-theme .rb-header .rb-search input::placeholder { color: #D9E6DC; opacity: 1; }
.rb-header .rb-search button { color: var(--rb-paper); }
.rb-header .rb-menu-toggle { border-radius: 3px; }
.rb-header .rb-menu-glyph { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.rb-header .rb-menu-toggle .rb-menu-caption { position: static; width: auto; height: auto; background: none; transform: none; margin: 0; font-size: 11px; font-weight: 600; line-height: 1; }
.rb-header .rb-menu-toggle[aria-expanded="true"] .rb-menu-caption { transform: none; }
.rb-header .rb-menu-glyph path { transform-origin: 12px 12px; transition: transform .2s; }
.rb-header .rb-menu-toggle[aria-expanded="true"] .rb-menu-glyph path:first-child { d: path("M5 5 19 19"); }
.rb-header .rb-menu-toggle[aria-expanded="true"] .rb-menu-glyph path:last-child { d: path("M19 5 5 19"); }

.rb-header .rb-atlas { flex: 0 0 224px; color: var(--rb-pine); }
.rb-header .rb-atlas-toggle { display: flex; align-items: center; gap: 11px; height: 100%; min-height: 76px; padding: 10px 14px; background: var(--rb-sage); cursor: pointer; list-style: none; border-left: 3px solid var(--rb-bronze); transition: background .2s; }
.rb-header .rb-atlas-toggle::-webkit-details-marker { display: none; }
.rb-header .rb-atlas-toggle::marker { content: ''; }
.rb-header .rb-atlas-toggle:hover { background: #e6eee4; }
.rb-header .rb-atlas-sign { width: 38px; height: 42px; flex-shrink: 0; fill: none; stroke: var(--rb-pine); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rb-header .rb-atlas-sign-accent { stroke: #806632; }
.rb-header .rb-atlas-toggle-copy { display: flex; flex-direction: column; gap: 4px; }
.rb-header .rb-atlas-toggle-copy b { font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.rb-header .rb-atlas-toggle-copy small { font-size: 9px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.rb-header .rb-atlas-chevron { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; margin-left: auto; transition: transform .2s; }
.rb-header .rb-atlas[open] .rb-atlas-chevron { transform: rotate(180deg); }
.rb-header .rb-atlas-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 85; max-height: calc(100dvh - 185px); overflow-y: auto; background: var(--rb-paper); border-bottom: 3px solid var(--rb-pine); box-shadow: 0 22px 40px #123b3229; }
.rb-header .rb-atlas-sheet { padding-top: 25px; padding-bottom: 18px; }
.rb-header .rb-atlas-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.rb-header .rb-atlas-eyebrow { color: var(--rb-green); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 7px; line-height: 1.5; }
.rb-header .rb-atlas-title { margin: 0; color: var(--rb-pine); font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.rb-header .rb-atlas-title em { font: italic 1.15em/1 Georgia, serif; letter-spacing: -.04em; }
.rb-header .rb-atlas-close { display: flex; justify-content: center; align-items: center; width: 39px; height: 39px; color: var(--rb-pine); border: 1px solid #bdcbbb; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s; }
.rb-header .rb-atlas-close:hover { background: var(--rb-sage); }
.rb-header .rb-atlas-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.rb-header .rb-atlas-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 280px; gap: 30px; }
.rb-header .rb-atlas-tabs { display: none; flex-direction: column; gap: 8px; border-left: 1px solid #c1cec2; align-self: start; }
.rb-header .has-atlas-js .rb-atlas-tabs { display: flex; }
.rb-header .rb-atlas-tab { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 77px; padding: 12px 15px 12px 17px; border: 0; border-left: 3px solid transparent; margin-left: -2px; background: transparent; color: var(--rb-pine); font-family: inherit; cursor: pointer; text-align: left; transition: background .2s; }
.rb-header .rb-atlas-tab > span:nth-child(2) { display: block; }
.rb-header .rb-atlas-tab b { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; }
.rb-header .rb-atlas-tab small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.6; }
.rb-header .rb-atlas-num { font: 23px/1 Georgia,serif; color: var(--rb-green); }
.rb-header .rb-atlas-tab-arrow { margin-left: auto; font-size: 17px; }
.rb-header .rb-atlas-tab:hover { background: #eaf0e7; }
.rb-header .rb-atlas-tab[aria-selected="true"] { background: var(--rb-pine); color: var(--rb-paper); border-left-color: var(--rb-bronze); }
.rb-header .rb-atlas-tab[aria-selected="true"] .rb-atlas-num { color: var(--rb-sage); }
.rb-header .rb-atlas-content { min-width: 0; }
.rb-header .rb-atlas-section { margin: 0 0 25px; }
.rb-header .has-atlas-js .rb-atlas-section { margin-bottom: 0; min-height: 279px; }
.rb-header .rb-atlas [hidden] { display: none !important; }
.rb-header .rb-atlas-section-label { color: var(--rb-muted); font-size: 10px; font-weight: 500; line-height: 1.5; margin: 0 0 13px; }
.rb-header .rb-atlas-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
.rb-theme .rb-header .rb-atlas-product { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 72px; padding: 5px 0; border-bottom: 1px solid var(--rb-line); color: var(--rb-pine); transition: color .2s; }
.rb-header .rb-atlas-product img { width: 57px; height: 57px; flex-shrink: 0; object-fit: contain; transition: transform .2s; }
.rb-header .rb-atlas-product > span:not(.rb-atlas-link-arrow) { font-size: 14px; line-height: 1.6; font-weight: 600; }
.rb-header .rb-atlas-link-arrow { flex-shrink: 0; margin-left: auto; font-size: 16px; font-weight: 400; line-height: 1; color: var(--rb-green); }
.rb-theme .rb-header .rb-atlas-product:hover { color: var(--rb-green); }
.rb-header .rb-atlas-product:hover img { transform: translateY(-3px); }
.rb-theme .rb-header .rb-atlas-all { display: flex; width: fit-content; align-items: center; gap: 26px; color: var(--rb-green); font-size: 10px; line-height: 1.5; font-weight: 700; padding: 15px 0 5px; }
.rb-header .rb-atlas-all span { font-size: 17px; }
.rb-header .rb-atlas-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.rb-theme .rb-header .rb-atlas-document { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--rb-line); min-height: 44px; padding: 5px 0; color: var(--rb-pine); font-size: 13px; line-height: 1.6; font-weight: 500; }
.rb-header .rb-atlas-document svg { width: 24px; height: 30px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.3; }
.rb-header .rb-atlas-document svg circle { fill: var(--rb-paper); }
.rb-theme .rb-header .rb-atlas-document:hover { color: var(--rb-green); }
.rb-theme .rb-header .rb-atlas-knowledge a { display: flex; gap: 20px; align-items: center; min-height: 58px; color: var(--rb-pine); border-bottom: 1px solid var(--rb-line); padding: 7px 0; }
.rb-header .rb-atlas-knowledge-index { width: 23px; color: var(--rb-green); font: 20px/1 Georgia,serif; }
.rb-header .rb-atlas-knowledge b { display: block; font-size: 12px; line-height: 1.5; font-weight: 600; }
.rb-header .rb-atlas-knowledge small { display: block; color: var(--rb-muted); font-size: 10px; margin-top: 3px; line-height: 1.5; }
.rb-theme .rb-header .rb-atlas-knowledge a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.rb-header .rb-atlas-route { display: block; width: 100%; min-width: 0; margin: 0; float: none; align-self: stretch; padding: 20px 19px 16px; border-radius: 0 36px 0 0; background: var(--rb-sage); position: relative; }
.rb-header .rb-atlas-route::before { content: ''; position: absolute; left: 0; bottom: 0; width: 27px; height: 3px; background: var(--rb-bronze); }
.rb-header .rb-atlas-route-kicker { color: var(--rb-green); margin: 0 0 12px; font-size: 8px; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
.rb-header .rb-atlas-route-title { margin: 0; color: var(--rb-pine); font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.rb-header .rb-atlas-route-title em { font: italic 1.3em Georgia,serif; }
.rb-header .rb-atlas-route > img { display: block; width: 100%; height: auto; margin: 11px 0 0; }
.rb-header .rb-atlas-route-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--rb-pine); font-size: 10px; font-weight: 600; line-height: 1.5; text-align: center; }
.rb-header .rb-atlas-route-steps li { list-style: none; margin: 0; padding: 0; }
.rb-header .rb-atlas-route-note { color: var(--rb-muted); margin: 19px 0 0; padding-top: 12px; border-top: 1px solid #b8caba; font-size: 10px; line-height: 1.7; }
.rb-header .rb-atlas-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rb-line); font-size: 10px; line-height: 1.7; color: var(--rb-muted); }
.rb-theme .rb-header .rb-atlas-foot a { display: inline-flex; align-items: center; gap: 25px; color: var(--rb-green); font-weight: 700; }
.rb-header .rb-atlas-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rb-header .rb-atlas-foot a span { font-size: 17px; }

@media (min-width:1201px) and (max-width:1350px) {
  .rb-header .rb-nav-row { gap: 18px; }
  .rb-header .rb-atlas { flex-basis: 207px; }
  .rb-header .rb-atlas-toggle { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .rb-header .rb-search { width: 125px; padding-left: 12px; }
  .rb-theme .rb-header .rb-search input { width: 80px; }
  .rb-theme .rb-header .rb-menu { gap: 15px; }
  .rb-theme .rb-header .rb-menu > li > a { font-size: 12px; }
  .rb-header .rb-atlas-layout { grid-template-columns: 195px minmax(0,1fr) 260px; gap: 22px; }
}
@media (max-width:1200px) {
  .rb-header .rb-header-top { height: 92px; gap: 22px; }
  .rb-header .rb-location { display: none; }
  .rb-header .rb-header-contact { margin-left: auto; }
  .rb-header .rb-header-cta { display: none; }
  .rb-header .rb-menu-toggle { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; width: 92px; height: 42px; padding: 7px 10px; margin-left: 0; background: transparent; border: 1px solid #b6c6b6; color: var(--rb-pine); }
  .rb-header .rb-nav-shell { display: none; background: var(--rb-paper); border-top: 1px solid var(--rb-line); }
  .rb-header .rb-nav-shell.is-open { display: block; }
  .rb-header .rb-nav-row { display: flex; flex-direction: column; gap: 0; min-height: 0; align-items: stretch; padding-top: 15px; padding-bottom: 24px; }
  .rb-header .rb-atlas { flex: none; width: 100%; }
  .rb-header .rb-atlas-toggle { padding: 12px 18px; min-height: 72px; background: var(--rb-pine); color: var(--rb-paper); }
  .rb-header .rb-atlas-toggle:hover { background: var(--rb-green); }
  .rb-header .rb-atlas-sign { stroke: var(--rb-paper); }
  .rb-header .rb-atlas-sign-accent { stroke: var(--rb-bronze); }
  .rb-header .rb-atlas-toggle-copy b { font-size: 14px; }
  .rb-header .rb-atlas-toggle-copy small { color: var(--rb-sage); font-size: 10px; }
  .rb-header .rb-atlas-panel { position: static; max-height: none; overflow: visible; border: 0; box-shadow: none; }
  .rb-header .rb-atlas-sheet { width: 100%; padding-top: 23px; padding-bottom: 14px; }
  .rb-header .rb-atlas-heading { margin-bottom: 22px; }
  .rb-header .rb-atlas-title { font-size: 29px; }
  .rb-header .rb-atlas-close { display: none; }
  .rb-header .rb-atlas-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 20px 25px; }
  .rb-header .rb-atlas-tabs { grid-column: 1/-1; flex-direction: row; border-left: 0; border-bottom: 1px solid var(--rb-line); gap: 0; }
  .rb-header .rb-atlas-tab { width: 33.333%; min-height: 65px; margin: 0; padding: 10px 14px; gap: 11px; border-left: 0; border-bottom: 2px solid transparent; }
  .rb-header .rb-atlas-tab[aria-selected="true"] { border-bottom-color: var(--rb-bronze); }
  .rb-header .rb-atlas-tab-arrow { display: none; }
  .rb-header .rb-atlas-section { min-height: 0 !important; }
  .rb-header .rb-atlas-content { min-height: 0; }
  .rb-header .rb-atlas-foot { margin-top: 20px; }
  .rb-header .rb-nav { display: block; margin-top: 15px; }
  .rb-theme .rb-header .rb-menu { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: rb-nav; }
  .rb-header .rb-menu > li { border-bottom: 1px solid var(--rb-line); counter-increment: rb-nav; }
  .rb-theme .rb-header .rb-menu > li > a { color: var(--rb-pine); display: flex; align-items: center; gap: 18px; padding: 15px 0; min-height: 50px; font-size: 13px; font-weight: 600; border: 0; white-space: normal; }
  .rb-theme .rb-header .rb-menu > li > a::before { content: '0' counter(rb-nav); color: var(--rb-green); font: 18px/1 Georgia,serif; width: 22px; flex-shrink: 0; }
  .rb-theme .rb-header .rb-menu .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 40px; }
  .rb-header .rb-search { width: 100%; margin-top: 20px; border: 1px solid #b6c6b6; border-radius: 3px; padding: 0 14px; }
  .rb-theme .rb-header .rb-search input { flex: 1; width: 100%; padding: 14px 0; color: var(--rb-pine); font-size: 13px; }
  .rb-theme .rb-header .rb-search input::placeholder { color: var(--rb-muted); }
  .rb-header .rb-search button { color: var(--rb-pine); }
  .rb-theme .rb-header .rb-mobile-call { display: block; font-size: 17px; color: var(--rb-green); margin-top: 22px; font-weight: 700; }
}
@media (max-width:700px) {
  .rb-header .rb-header-top { height: 88px; gap: 12px; }
  .rb-header .rb-brand-mark { width: 180px; height: 42px; }
  .rb-header .rb-brand-caption { font-size: 7px; }
  .rb-header .rb-header-contact { display: none; }
  .rb-header .rb-menu-toggle { margin-left: auto; width: 84px; gap: 7px; padding: 7px; }
  .rb-header .rb-menu-toggle .rb-menu-caption { font-size: 10px; }
  .rb-header .rb-atlas-layout { display: flex; flex-direction: column; gap: 20px; }
  .rb-header .rb-atlas-tabs { width: 100%; }
  .rb-header .rb-atlas-tab { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-height: 73px; padding: 10px; }
  .rb-header .rb-atlas-tab b { font-size: 10px; line-height: 1.5; }
  .rb-header .rb-atlas-tab small { display: none; }
  .rb-header .rb-atlas-num { font-size: 17px; }
  .rb-header .rb-atlas-heading { margin-bottom: 18px; }
  .rb-header .rb-atlas-eyebrow { font-size: 8px; letter-spacing: .09em; }
  .rb-header .rb-atlas-title { font-size: 28px; }
  .rb-header .rb-atlas-section-label { font-size: 10px; }
  .rb-header .rb-atlas-products { column-gap: 17px; }
  .rb-theme .rb-header .rb-atlas-product { min-height: 122px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 0; position: relative; }
  .rb-header .rb-atlas-product img { width: 57px; height: 57px; }
  .rb-header .rb-atlas-product > span:not(.rb-atlas-link-arrow) { font-size: 12px; line-height: 1.5; }
  .rb-header .rb-atlas-product .rb-atlas-link-arrow { position: absolute; right: 3px; top: 24px; }
  .rb-theme .rb-header .rb-atlas-all { min-height: 44px; font-size: 11px; padding-top: 14px; padding-bottom: 7px; }
  .rb-header .rb-atlas-document { font-size: 12px; min-height: 56px; gap: 12px; }
  .rb-header .rb-atlas-route { padding: 20px; border-radius: 0 30px 0 0; }
  .rb-header .rb-atlas-route > img { width: 100%; height: auto; max-height: 140px; margin-top: 0; }
  .rb-header .rb-atlas-route-title { font-size: 17px; }
  .rb-header .rb-atlas-route-title br { display: none; }
  .rb-header .rb-atlas-route-title em { white-space: nowrap; }
  .rb-header .rb-atlas-route-kicker { margin-bottom: 10px; font-size: 8px; }
  .rb-header .rb-atlas-route-steps { font-size: 9px; }
  .rb-header .rb-atlas-route-note { font-size: 11px; margin-top: 16px; }
  .rb-header .rb-atlas-foot { display: block; padding-top: 18px; font-size: 10px; line-height: 1.8; }
  .rb-theme .rb-header .rb-atlas-foot a { margin-top: 8px; min-height: 38px; font-size: 11px; gap: 13px; }
}
@media (max-width:360px) {
  body.rb-theme .container { min-width: 0; }
  .rb-header .rb-brand-mark { width: 155px; height: 37px; }
  .rb-header .rb-brand-caption { font-size: 6px; }
  .rb-header .rb-menu-toggle { width: 76px; gap: 5px; }
}
@media (prefers-reduced-motion:reduce) {
  .rb-header .rb-atlas-toggle,.rb-header .rb-atlas-chevron,.rb-header .rb-atlas-tab,.rb-header .rb-atlas-product img,.rb-header .rb-menu-glyph path { transition: none; }
}
