/*
Theme Name: RDT Clean
Theme URI: https://radiatech.ru/
Author: RaDiaTech
Description: Classic WordPress theme for the restored RaDiaTech content: corporate header with the real logo, accessible multi-level navigation, search, language switch and a footer with verified contacts. No page-builder code, no JavaScript, no external assets, no invented marketing blocks.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: rdt-clean
*/

:root {
  --rdt-red: #c8102e;
  --rdt-red-dark: #9d0b23;
  --rdt-ink: #18202a;
  --rdt-muted: #5c6774;
  --rdt-line: #e4e8ee;
  --rdt-soft: #f5f7f9;
  --rdt-white: #ffffff;
  --rdt-radius: 10px;
  --rdt-wrap: 1180px;
  --rdt-header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rdt-white);
  color: var(--rdt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rdt-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--rdt-red-dark);
}

:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 40px, var(--rdt-wrap));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  background: var(--rdt-white);
  color: var(--rdt-red);
  border: 2px solid var(--rdt-red);
  border-radius: 6px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--rdt-line);
  backdrop-filter: saturate(180%) blur(8px);
}

.top-bar {
  background: var(--rdt-ink);
  color: #cfd6de;
  font-size: 13px;
  line-height: 1.4;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding-block: 7px;
}

.top-bar p {
  margin: 0;
}

.top-bar-hours {
  color: #9eabb9;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.top-bar a {
  color: var(--rdt-white);
  font-weight: 600;
  text-decoration: none;
}

.top-bar a:hover {
  color: #ffb3bf;
  text-decoration: underline;
}

.top-bar-phone {
  white-space: nowrap;
}

.top-bar-mail {
  white-space: nowrap;
}

.lang-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-weight: 700;
}

.lang-return::before {
  content: "←";
  font-weight: 400;
}

.lang-return:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--rdt-header-h);
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rdt-ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--rdt-ink);
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--rdt-red);
  color: var(--rdt-white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Native disclosure controls with shared dismissal and keyboard handling. */

.nav-toggle {
  display: none;
  margin-left: auto;
}

.nav-toggle-summary {
  display: inline-flex;
  list-style: none;
}

.nav-toggle-summary::-webkit-details-marker {
  display: none;
}

.site-nav-desktop {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav-mobile {
  display: block;
}

.site-nav {
  min-width: 0;
}

.nav-level {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-level-1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.nav-level-1 > .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-level-1 > .nav-item > .nav-link,
.nav-level-1 > .nav-item > .nav-label {
  display: inline-block;
  padding-block: 8px;
  color: var(--rdt-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-level-1 > .nav-item > .nav-link:hover,
.nav-level-1 > .nav-item > .nav-link[aria-current="page"],
.nav-level-1 > .nav-item-current > .nav-link {
  color: var(--rdt-red);
  border-bottom-color: var(--rdt-red);
}

.nav-label {
  color: var(--rdt-muted);
  cursor: default;
}

.nav-sub {
  position: relative;
  display: inline-flex;
}

.nav-sub-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--rdt-muted);
  cursor: pointer;
  list-style: none;
}

.nav-sub-summary::-webkit-details-marker {
  display: none;
}

.nav-sub-summary.nav-group-summary {
  width: auto;
  height: auto;
  gap: 8px;
  padding: 8px 6px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-group-summary .nav-label {
  color: inherit;
  cursor: pointer;
}

@media (min-width: 1141px) {
  .site-nav-desktop .nav-sub {
    position: static;
  }

  .site-nav-desktop .nav-level-1 > .nav-item > .nav-sub > .nav-sub-panel {
    left: auto;
    right: 0;
  }

  .site-header .site-nav-desktop .nav-group-summary .nav-label {
    color: #eaf2fb;
  }

  .site-header .site-nav-desktop .nav-group-summary:is(:hover, :focus-visible) {
    background: rgba(234, 242, 251, 0.12);
  }
}

.nav-sub-summary:hover {
  background: var(--rdt-soft);
  color: var(--rdt-red);
}

.nav-sub-caret {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-sub[open] > .nav-sub-summary .nav-sub-caret {
  transform: translateY(1px) rotate(-135deg);
}

.nav-sub-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  min-width: 290px;
  max-width: 360px;
  padding: 8px;
  background: var(--rdt-white);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
  box-shadow: 0 18px 32px rgba(24, 32, 42, 0.14);
}

.nav-sub[open] > .nav-sub-panel {
  display: block;
}

.nav-level-2,
.nav-level-3 {
  display: block;
}

.nav-level-2 > .nav-item,
.nav-level-3 > .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.nav-level-2 .nav-link,
.nav-level-3 .nav-link,
.nav-level-2 .nav-label,
.nav-level-3 .nav-label {
  display: block;
  flex: 1 1 auto;
  padding: 8px 10px;
  color: var(--rdt-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 6px;
}

.nav-level-2 .nav-link:hover,
.nav-level-3 .nav-link:hover,
.nav-level-2 .nav-link[aria-current="page"],
.nav-level-3 .nav-link[aria-current="page"] {
  background: var(--rdt-soft);
  color: var(--rdt-red);
}

.nav-level-2 .nav-sub > .nav-sub-panel,
.nav-level-3 .nav-sub > .nav-sub-panel {
  top: -9px;
  left: 100%;
  margin-left: 2px;
}

/* Search */

.site-search {
  flex: 0 0 auto;
}

.site-search .rdt-search {
  margin: 0;
  gap: 6px;
}

.top-bar .rdt-search {
  margin: 0;
  gap: 6px;
}

.top-bar .rdt-search input[type="search"] {
  width: 190px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--rdt-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.top-bar .rdt-search input[type="search"]::placeholder {
  color: #b6c0cb;
}

.top-bar .rdt-search .rdt-btn {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
}

.site-search-panel {
  display: none;
}

/* Language switch */

.lang-nav {
  flex: 0 0 auto;
  padding-left: 16px;
  border-left: 1px solid var(--rdt-line);
}

.lang-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-nav a {
  color: var(--rdt-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.lang-nav a:hover,
.lang-nav a[aria-current="true"] {
  color: var(--rdt-red);
}

.lang-nav a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-panel {
  display: none;
}

.lang-return-panel {
  display: none;
}

/* -------------------------------------------------------------- page body */

.site-main {
  padding-block: 40px 72px;
}

.site-main > .wrap {
  max-width: 980px;
}

.page-title {
  margin: 0 0 26px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.post-meta {
  margin: -12px 0 28px;
  color: var(--rdt-muted);
  font-size: 14px;
}

.rdt-content {
  overflow-wrap: break-word;
}

.rdt-content h1,
.rdt-content h2,
.rdt-content h3,
.rdt-content h4,
.rdt-content h5,
.rdt-content h6 {
  margin: 1.55em 0 0.55em;
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 96px;
}

.rdt-content h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.rdt-content h2 {
  font-size: clamp(24px, 3vw, 31px);
  padding-bottom: 0.25em;
  border-bottom: 2px solid var(--rdt-line);
}

.rdt-content h3 {
  font-size: clamp(20px, 2.4vw, 24px);
}

.rdt-content h4 {
  font-size: 19px;
}

.rdt-content p,
.rdt-content ul,
.rdt-content ol,
.rdt-content blockquote,
.rdt-content figure,
.rdt-content .rdt-table-wrap {
  margin: 0 0 1.1em;
}

.rdt-content blockquote {
  padding: 18px 22px;
  background: var(--rdt-soft);
  border-left: 4px solid var(--rdt-red);
  border-radius: 0 8px 8px 0;
  color: var(--rdt-ink);
  font-size: 1.03em;
}

.rdt-content ul,
.rdt-content ol {
  padding-left: 1.45em;
}

.rdt-content .rdt-list {
  padding-left: 1.45em;
  margin: 0 0 1.1em;
}

.rdt-content .rdt-list li {
  margin: 0.35em 0;
}

.rdt-content li {
  margin: 0.35em 0;
}

.rdt-indent-1 { margin-left: 1.2em; }
.rdt-indent-2 { margin-left: 2.4em; }
.rdt-indent-3 { margin-left: 3.6em; }
.rdt-indent-4 { margin-left: 4.8em; }
.rdt-indent-5 { margin-left: 6em; }
.rdt-indent-6 { margin-left: 7.2em; }

.rdt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
}

.rdt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  min-width: 520px;
}

.rdt-table th,
.rdt-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--rdt-line);
  border-right: 1px solid var(--rdt-line);
  vertical-align: top;
  text-align: left;
}

.rdt-table th:last-child,
.rdt-table td:last-child {
  border-right: 0;
}

.rdt-table tr:last-child td {
  border-bottom: 0;
}

.rdt-table th {
  background: var(--rdt-soft);
  font-weight: 700;
}

.rdt-figure {
  margin: 1.4em 0;
}

.rdt-figure img {
  display: block;
  border-radius: var(--rdt-radius);
  border: 1px solid var(--rdt-line);
}

.rdt-figure figcaption {
  margin-top: 8px;
  color: var(--rdt-muted);
  font-size: 13px;
  line-height: 1.5;
}

.rdt-action {
  margin: 1.3em 0;
}

.rdt-btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--rdt-red);
  color: var(--rdt-white);
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, transform 120ms ease;
}

.rdt-btn:hover {
  background: var(--rdt-red-dark);
  color: var(--rdt-white);
  text-decoration: none;
}

.rdt-btn:active {
  transform: translateY(1px);
}

.rdt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}

.rdt-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--rdt-white);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.rdt-card:hover {
  border-color: #cfd6df;
  box-shadow: 0 8px 24px rgba(24, 32, 42, 0.06);
}

.rdt-card h2,
.rdt-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.rdt-card h2 a,
.rdt-card h3 a {
  color: var(--rdt-ink);
  text-decoration: none;
}

.rdt-card h2 a:hover,
.rdt-card h3 a:hover {
  color: var(--rdt-red);
}

.rdt-card time {
  color: var(--rdt-muted);
  font-size: 13px;
}

.rdt-card p {
  margin: 10px 0 16px;
  color: var(--rdt-muted);
  font-size: 14px;
  line-height: 1.55;
}

.rdt-card .rdt-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rdt-breadcrumbs {
  margin: 0 0 22px;
  color: var(--rdt-muted);
  font-size: 13px;
}

.rdt-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rdt-breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: #a8b0ba;
}

.rdt-breadcrumbs a {
  color: var(--rdt-muted);
  text-decoration: none;
}

.rdt-breadcrumbs a:hover {
  color: var(--rdt-red);
  text-decoration: underline;
}

.rdt-toc {
  margin: 1.4em 0 2em;
  padding: 18px 22px;
  background: var(--rdt-soft);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
  font-size: 15px;
}

.rdt-toc-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rdt-toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.rdt-toc li {
  margin: 4px 0;
}

.rdt-toc-level-1 { font-weight: 700; }
.rdt-toc-level-2 { margin-left: 0.7em; }
.rdt-toc-level-3 { margin-left: 1.4em; }
.rdt-toc-level-4 { margin-left: 2.1em; }

.rdt-share {
  margin: 1.7em 0;
  padding-top: 1.1em;
  border-top: 1px solid var(--rdt-line);
  font-size: 14px;
}

.rdt-share ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.rdt-embed {
  margin: 1.2em 0;
  padding: 16px 18px;
  background: var(--rdt-soft);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
}

.rdt-sitemap h2 {
  margin-top: 1.4em;
}

.rdt-sitemap ul {
  columns: 2;
  column-gap: 34px;
}

.rdt-sitemap li {
  break-inside: avoid;
}

.rdt-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.6em 0;
  padding: 24px;
  background: var(--rdt-soft);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
}

.rdt-form .rdt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rdt-form .rdt-field-full {
  grid-column: 1 / -1;
}

.rdt-form label {
  font-size: 14px;
  font-weight: 700;
}

.rdt-form input,
.rdt-form textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--rdt-white);
  color: var(--rdt-ink);
  border: 1px solid #cfd6df;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
}

.rdt-form textarea {
  min-height: 130px;
  resize: vertical;
}

.rdt-form input:focus,
.rdt-form textarea:focus {
  border-color: var(--rdt-red);
  outline: 3px solid rgba(200, 16, 46, 0.14);
  outline-offset: 0;
}

.rdt-form .rdt-submit {
  grid-column: 1 / -1;
}

.rdt-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--rdt-muted);
  font-size: 12px;
}

.rdt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rdt-notice {
  margin: 1.2em 0;
  padding: 18px 20px;
  background: var(--rdt-soft);
  border: 1px solid var(--rdt-line);
  border-left: 4px solid var(--rdt-muted);
  border-radius: 0 8px 8px 0;
}

.rdt-notice p:last-child {
  margin-bottom: 0;
}

.rdt-notice-success {
  border-left-color: #1f7a43;
  background: #f3fbf6;
}

.rdt-notice-pending {
  border-left-color: #a66a00;
  background: #fff9ec;
}

.rdt-notice-error {
  border-left-color: var(--rdt-red);
  background: #fff5f6;
}

.rdt-protected {
  border-left-color: var(--rdt-red);
}

.rdt-form-closed {
  border-left-color: var(--rdt-red);
}

.rdt-empty {
  padding: 24px;
  background: var(--rdt-soft);
  border: 1px solid var(--rdt-line);
  border-radius: var(--rdt-radius);
}

.rdt-search {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.rdt-empty .rdt-search {
  margin-top: 16px;
}

.rdt-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  font: inherit;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  margin-top: 40px;
  background: var(--rdt-ink);
  color: #cfd6de;
  font-size: 14px;
}

.site-footer a {
  color: var(--rdt-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffb3bf;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-block: 44px 32px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--rdt-white);
  font-size: 20px;
  font-weight: 800;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--rdt-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.site-footer address {
  margin: 0 0 10px;
  font-style: normal;
  line-height: 1.8;
}

.site-footer p {
  margin: 0 0 8px;
}

.footer-hours {
  color: #9eabb9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9eabb9;
  font-size: 12px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal-name {
  line-height: 1.7;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: #cfd6de;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 14px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9eabb9;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.pagination,
.navigation.pagination {
  margin-top: 30px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding-inline: 10px;
  border: 1px solid var(--rdt-line);
  border-radius: 6px;
  color: var(--rdt-ink);
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--rdt-red);
  border-color: var(--rdt-red);
  color: var(--rdt-white);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1240px) {
  .nav-level-1 {
    gap: 4px 10px;
  }
}

/* The desktop bar needs ~715px of navigation plus the brand and the language
   switch, so it collapses to the details/summary panel below 1141px. */
@media (max-width: 1140px) {
  .site-search-top {
    display: none;
  }

  .header-inner {
    gap: 12px;
    padding-block: 10px;
  }

  .site-nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .nav-toggle-summary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 9px 14px;
    border: 1px solid var(--rdt-line);
    border-radius: 8px;
    color: var(--rdt-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle-summary::before {
    content: "";
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  }

  .nav-toggle[open] > .nav-toggle-summary {
    border-color: var(--rdt-red);
    color: var(--rdt-red);
  }

  .nav-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    width: auto;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    padding: 10px 20px 22px;
    background: var(--rdt-white);
    border-bottom: 1px solid var(--rdt-line);
    box-shadow: 0 18px 30px rgba(24, 32, 42, 0.14);
  }

  .nav-toggle:not([open]) > .nav-panel {
    display: none;
  }

  .nav-level-1 {
    display: block;
  }

  .nav-level-1 > .nav-item {
    display: block;
    border-bottom: 1px solid var(--rdt-line);
  }

  .nav-level-1 > .nav-item > .nav-link,
  .nav-level-1 > .nav-item > .nav-label {
    display: block;
    padding: 13px 46px 13px 0;
    font-size: 16px;
    border-bottom: 0;
    white-space: normal;
  }

  .nav-sub {
    display: block;
    position: static;
  }

  .nav-sub > .nav-sub-summary {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
  }

  .site-nav-mobile .nav-sub > .nav-group-summary {
    position: static;
    width: 100%;
    min-height: 46px;
    height: auto;
    justify-content: space-between;
    padding: 13px 20px 13px 0;
    font-size: 16px;
  }

  .nav-sub > .nav-sub-panel {
    display: block;
    position: static;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 10px 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-sub:not([open]) > .nav-sub-panel {
    display: none;
  }

  .nav-level-2 .nav-link,
  .nav-level-3 .nav-link,
  .nav-level-2 .nav-label,
  .nav-level-3 .nav-label {
    padding: 10px 40px 10px 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .nav-level-2 > .nav-item,
  .nav-level-3 > .nav-item {
    display: block;
    border-top: 1px solid var(--rdt-line);
  }

  .nav-level-2 > .nav-item:first-child,
  .nav-level-3 > .nav-item:first-child {
    border-top: 0;
  }

  .site-search-panel {
    display: block;
    margin-top: 18px;
  }

  .site-search-panel .rdt-search {
    margin: 0;
  }

  .site-search-panel .rdt-search input[type="search"] {
    background: var(--rdt-soft);
    border-color: #cfd6df;
    color: var(--rdt-ink);
  }

  .lang-nav {
    padding-left: 0;
    border-left: 0;
    order: 2;
  }

  .lang-nav ul {
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .top-bar {
    display: none;
  }

  .header-inner > .lang-nav {
    display: none;
  }

  .lang-panel {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rdt-line);
  }

  .lang-return-panel {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--rdt-ink);
    border-color: #cfd6df;
  }

  .lang-return-panel:hover {
    background: var(--rdt-soft);
    color: var(--rdt-red);
  }

  .lang-panel .lang-nav {
    display: block;
    padding-left: 0;
    border-left: 0;
  }

  .lang-panel .lang-nav ul {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .lang-panel .lang-nav a {
    font-size: 14px;
  }

  .wrap {
    width: min(100% - 28px, var(--rdt-wrap));
  }

  .brand-logo {
    height: 38px;
  }

  .brand-name {
    font-size: 19px;
  }

  .site-main {
    padding-block: 26px 48px;
  }

  .rdt-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .rdt-sitemap ul {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rdt-table {
    min-width: 460px;
  }

  .pagination .nav-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Source-bound home appearance: public snapshot 24.10.2026, page13.
   Hero: #000; ordinary home sections: #ECECEC; brand accent: #4B9BBE.
   Only new selectors and already sanitized local images are used. */
.site-main.rdt-home-main { padding-top:0; background:#ececec; }
.site-main.rdt-home-main > .wrap { max-width:var(--rdt-wrap); }
.rdt-home-hero { background:#000; color:#fff; margin:0 0 0; }
.rdt-home-track { display:grid; grid-auto-flow:column; grid-auto-columns:100%; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#4b9bbe #18202a; }
.rdt-home-slide { position:relative; min-width:0; min-height:499px; overflow:hidden; scroll-snap-align:start; scroll-margin-top:110px; background:#000; }
.rdt-home-slide-image { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; }
.rdt-home-slide-copy { position:relative; z-index:1; width:54%; max-width:620px; padding:42px 36px 36px; }
.rdt-content .rdt-home-slide h3 { color:#fff; margin:0 0 16px; font-size:clamp(28px,3.8vw,44px); line-height:1.15; }
.rdt-home-slide-copy p { color:#fff; margin:0 0 24px; font-size:15.5px; line-height:1.55; }
.rdt-home-more { display:inline-block; border:1px solid #fff; border-radius:4px; padding:10px 22px; color:#fff; background:transparent; font-weight:600; text-decoration:none; }
.rdt-home-more:hover, .rdt-home-more:focus-visible { color:#fff; background:#4b9bbe; border-color:#4b9bbe; }
.rdt-home-slide-nav { display:flex; gap:12px; padding:12px 36px; border-top:1px solid #313b42; }
.rdt-home-slide-nav a { color:#fff; font-size:14px; font-weight:600; padding:5px 12px; border:1px solid #7f929f; border-radius:4px; text-decoration:none; }
.rdt-home-slide-nav a:hover, .rdt-home-slide-nav a:focus-visible { background:#4b9bbe; color:#fff; }
.rdt-home-intro { display:grid; grid-template-columns:1.3fr 1fr auto; align-items:center; gap:26px; padding:34px 36px; background:#000; color:#fff; margin-bottom:36px; }
.rdt-content .rdt-home-intro h1 { margin:0; font-size:clamp(24px,2.6vw,34px); line-height:1.2; color:#fff; }
.rdt-content .rdt-home-intro h2 { margin:0; padding:0; border:0; color:#fff; font-size:clamp(20px,2.2vw,28px); }
.rdt-content .rdt-home-intro .rdt-action { margin:0; }
.rdt-home-intro .rdt-btn { background:#4b9bbe; }
.rdt-home-intro .rdt-btn:hover { background:#357c9a; }
@media (max-width:900px) {
 .rdt-home-slide-copy { width:60%; padding:32px 26px; }
 .rdt-home-slide-copy p { font-size:14px; }
 .rdt-home-intro { grid-template-columns:1fr 1fr; padding:28px 26px; }
 .rdt-home-intro .rdt-action { grid-column:1/-1; }
}
@media (max-width:640px) {
 .rdt-home-main > .wrap { width:100%; padding:0 14px; }
 .rdt-home-hero, .rdt-home-intro { margin-left:-14px; margin-right:-14px; }
 .rdt-home-slide { min-height:0; scroll-margin-top:90px; }
 .rdt-home-slide-image { position:static; display:block; width:100%; height:auto; object-fit:contain; }
 .rdt-home-slide-copy { width:100%; max-width:none; padding:24px 22px 28px; }
 .rdt-home-slide-copy p { font-size:14px; line-height:1.5; }
 .rdt-home-slide-nav { padding:12px 22px; flex-wrap:wrap; }
 .rdt-home-intro { grid-template-columns:1fr; gap:18px; padding:28px 22px; }
 .rdt-home-intro .rdt-action { grid-column:auto; }
}
