:root {
  --ink: #17201e;
  --muted: #67756f;
  --paper: #fffaf0;
  --paper-strong: #ffffff;
  --wash: #f2efe6;
  --line: rgba(39, 48, 45, 0.15);
  --green: #2f8a5d;
  --deep-green: #12372c;
  --red: #bd222b;
  --amber: #d68a24;
  --teal: #247b86;
  --charcoal: #111817;
  --steel: #5f6e70;
  --shadow: 0 24px 70px rgba(17, 24, 23, 0.18);
  --theme-accent: #e29220;
  --theme-accent-2: #2e8b5a;
  --theme-accent-3: #be2c2a;
  --theme-rgb: 226, 146, 32;
  --theme-rgb-2: 46, 139, 90;
  --theme-rgb-3: 190, 44, 42;
  --bg-top: #241c12;
  --bg-bottom: #0c1112;
  --theme-heading: #1f6248;
  --theme-link: #b51d28;
}

body.theme-oil {
  --theme-accent: #e29220;
  --theme-accent-2: #2e8b5a;
  --theme-accent-3: #be2c2a;
  --theme-rgb: 226, 146, 32;
  --theme-rgb-2: 46, 139, 90;
  --theme-rgb-3: 190, 44, 42;
  --bg-top: #2b2012;
  --bg-bottom: #0c1112;
  --theme-heading: #1f6248;
  --theme-link: #b51d28;
}

body.theme-standard {
  --theme-accent: #418ede;
  --theme-accent-2: #df3a40;
  --theme-accent-3: #42a46b;
  --theme-rgb: 65, 142, 222;
  --theme-rgb-2: 223, 58, 64;
  --theme-rgb-3: 66, 164, 107;
  --bg-top: #101f34;
  --bg-bottom: #0d1218;
  --theme-heading: #1e5f8d;
  --theme-link: #bd222b;
}

body.theme-coolant {
  --theme-accent: #46bce8;
  --theme-accent-2: #2373b4;
  --theme-accent-3: #e64834;
  --theme-rgb: 70, 188, 232;
  --theme-rgb-2: 35, 115, 180;
  --theme-rgb-3: 230, 72, 52;
  --bg-top: #0f3343;
  --bg-bottom: #09141f;
  --theme-heading: #176f8e;
  --theme-link: #1d6da6;
}

body.theme-service {
  --theme-accent: #e58b1f;
  --theme-accent-2: #c5282d;
  --theme-accent-3: #f4d16b;
  --theme-rgb: 229, 139, 31;
  --theme-rgb-2: 197, 40, 45;
  --theme-rgb-3: 244, 209, 107;
  --bg-top: #3a1a12;
  --bg-bottom: #0f1011;
  --theme-heading: #8b3a20;
  --theme-link: #bd222b;
}

body.theme-inspection {
  --theme-accent: #2da17f;
  --theme-accent-2: #36b7cd;
  --theme-accent-3: #e29122;
  --theme-rgb: 45, 161, 127;
  --theme-rgb-2: 54, 183, 205;
  --theme-rgb-3: 226, 145, 34;
  --bg-top: #103632;
  --bg-bottom: #0a1316;
  --theme-heading: #1f6f62;
  --theme-link: #1a7f8f;
}

body.theme-contact {
  --theme-accent: #43a875;
  --theme-accent-2: #e1962b;
  --theme-accent-3: #ebeed9;
  --theme-rgb: 67, 168, 117;
  --theme-rgb-2: 225, 150, 43;
  --theme-rgb-3: 235, 238, 217;
  --bg-top: #123d2f;
  --bg-bottom: #091312;
  --theme-heading: #1e6d4f;
  --theme-link: #1f6d4f;
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 10% 7%, rgba(var(--theme-rgb-2), 0.34), transparent 25rem),
    radial-gradient(circle at 86% 15%, rgba(var(--theme-rgb), 0.35), transparent 31rem),
    radial-gradient(circle at 58% 46%, rgba(var(--theme-rgb-3), 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(var(--theme-rgb), 0.16), transparent 26rem),
    linear-gradient(180deg, rgba(8, 11, 12, 0.42), rgba(242, 239, 230, 0.94) 620px),
    #101616 url("../theme/images/bg.png") center top / cover fixed;
}

body::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, var(--theme-accent-2), var(--theme-accent), var(--theme-accent-3));
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  border: 3px solid #fff;
  border-radius: 8px;
  background: #0a1613;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  color: #fff;
  transform: translateY(0);
}

.accessibility-widget {
  position: fixed;
  inset-block-start: 98px;
  inset-inline-start: 12px;
  z-index: 90;
  color: #fff;
  font-family: Arial, Tahoma, sans-serif;
}

.accessibility-widget__trigger {
  min-width: 92px;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--theme-accent-2), var(--theme-accent), var(--theme-accent-3)) top / 100% 4px no-repeat,
    linear-gradient(135deg, rgba(18, 55, 44, 0.98), rgba(17, 24, 23, 0.98));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(var(--theme-rgb), 0.22) inset;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.accessibility-widget__trigger[aria-expanded="true"] {
  background:
    linear-gradient(90deg, var(--theme-accent-2), var(--theme-accent), var(--theme-accent-3)) top / 100% 4px no-repeat,
    linear-gradient(135deg, rgba(31, 98, 72, 0.98), rgba(17, 24, 23, 0.98));
}

.accessibility-panel {
  position: absolute;
  inset-block-start: 58px;
  inset-inline-start: 0;
  width: min(318px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--theme-rgb), 0.24), transparent 12rem),
    linear-gradient(180deg, rgba(18, 55, 44, 0.98), rgba(17, 24, 23, 0.98)),
    url("../theme/images/bg.png") center / cover;
  color: #fff;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(var(--theme-rgb), 0.18) inset;
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(var(--theme-rgb-2), 0.95), rgba(var(--theme-rgb), 0.9));
  color: #fff;
}

.accessibility-panel__header h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.accessibility-panel__close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(17, 24, 23, 0.32);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.accessibility-panel__controls {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.accessibility-panel__controls button {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.accessibility-panel__controls button[aria-pressed="true"],
.accessibility-panel__font button[aria-pressed="true"] {
  background: #fff2c7;
  color: #12372c;
  border-color: rgba(255, 242, 199, 0.74);
  box-shadow: inset -4px 0 0 var(--theme-accent);
}

.accessibility-panel__controls button[aria-pressed="true"] {
  margin-inline: 0;
  padding-inline: 10px;
}

.accessibility-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: #fff2c7;
  font-size: 15px;
  font-weight: 800;
}

.accessibility-panel__controls button[aria-pressed="true"] .accessibility-panel__icon {
  color: #12372c;
}

.accessibility-panel__font {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.accessibility-panel__font button {
  width: 52px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff2c7;
  font-weight: 800;
  cursor: pointer;
}

.accessibility-panel__font button:nth-child(1) {
  font-size: 24px;
}

.accessibility-panel__font button:nth-child(2) {
  font-size: 31px;
}

.accessibility-panel__font button:nth-child(3) {
  font-size: 39px;
}

.accessibility-panel__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  background: rgba(8, 11, 12, 0.32);
}

.accessibility-panel__footer a,
.accessibility-panel__footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff2c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

a {
  color: var(--deep-green);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffd24f;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(10, 22, 19, 0.72);
}

.page-layout:focus {
  outline: none;
  box-shadow: none;
}

html.a11y-grayscale {
  filter: grayscale(1);
}

html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 5px !important;
}

html.a11y-highlight-links a:not(.brand, .footer-brand) {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

html[data-a11y-font="large"] .entry-content,
html[data-a11y-font="large"] .side-nav,
html[data-a11y-font="large"] .primary-nav,
html[data-a11y-font="large"] .site-footer,
html[data-a11y-font="large"] .accessibility-panel {
  font-size: 18px;
}

html[data-a11y-font="larger"] .entry-content,
html[data-a11y-font="larger"] .side-nav,
html[data-a11y-font="larger"] .primary-nav,
html[data-a11y-font="larger"] .site-footer,
html[data-a11y-font="larger"] .accessibility-panel {
  font-size: 20px;
}

html[data-a11y-font="large"] .visual-hero h1 {
  font-size: 46px;
}

html[data-a11y-font="larger"] .visual-hero h1 {
  font-size: 50px;
}

html[data-a11y-font="large"] .visual-hero p,
html[data-a11y-font="larger"] .visual-hero p {
  font-size: 20px;
}

html.a11y-contrast-dark body,
html.a11y-contrast-dark .site-header,
html.a11y-contrast-dark .side-nav,
html.a11y-contrast-dark .article,
html.a11y-contrast-dark .site-footer,
html.a11y-contrast-dark .accessibility-panel {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-contrast-dark .visual-hero {
  background: #000 !important;
}

html.a11y-contrast-dark .visual-hero__image {
  opacity: 0.18;
}

html.a11y-contrast-dark a,
html.a11y-contrast-dark h1,
html.a11y-contrast-dark h2,
html.a11y-contrast-dark h3,
html.a11y-contrast-dark h4,
html.a11y-contrast-dark p,
html.a11y-contrast-dark li,
html.a11y-contrast-dark td,
html.a11y-contrast-dark th,
html.a11y-contrast-dark strong,
html.a11y-contrast-dark b,
html.a11y-contrast-dark .breadcrumbs,
html.a11y-contrast-dark .brand__text span,
html.a11y-contrast-dark .visual-hero p {
  color: #fff !important;
}

html.a11y-contrast-dark .visual-hero__chips span,
html.a11y-contrast-dark .button-link,
html.a11y-contrast-dark .accessibility-panel button,
html.a11y-contrast-dark .accessibility-panel a {
  background: #fff !important;
  color: #000 !important;
}

html.a11y-contrast-light body,
html.a11y-contrast-light .site-header,
html.a11y-contrast-light .side-nav,
html.a11y-contrast-light .article,
html.a11y-contrast-light .site-footer,
html.a11y-contrast-light .visual-hero,
html.a11y-contrast-light .accessibility-panel {
  background: #fff !important;
  color: #000 !important;
}

html.a11y-contrast-light .visual-hero__image {
  opacity: 0.12;
}

html.a11y-contrast-light a,
html.a11y-contrast-light h1,
html.a11y-contrast-light h2,
html.a11y-contrast-light h3,
html.a11y-contrast-light h4,
html.a11y-contrast-light p,
html.a11y-contrast-light li,
html.a11y-contrast-light td,
html.a11y-contrast-light th,
html.a11y-contrast-light strong,
html.a11y-contrast-light b,
html.a11y-contrast-light .breadcrumbs,
html.a11y-contrast-light .brand,
html.a11y-contrast-light .brand__text span,
html.a11y-contrast-light .visual-hero p,
html.a11y-contrast-light .primary-nav__link,
html.a11y-contrast-light .side-nav__link,
html.a11y-contrast-light .site-footer__links a {
  color: #000 !important;
}

html.a11y-contrast-light .visual-hero__chips span,
html.a11y-contrast-light .button-link,
html.a11y-contrast-light .accessibility-panel button,
html.a11y-contrast-light .accessibility-panel a {
  background: #000 !important;
  color: #fff !important;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 18, 18, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(1210px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 338px;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  width: 128px;
  height: 128px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 18px;
  line-height: 1.25;
}

.brand__text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.primary-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--theme-rgb-2), 0.92), rgba(var(--theme-rgb), 0.84));
  border-color: rgba(255, 255, 255, 0.2);
}

.primary-nav__link.is-active {
  box-shadow:
    inset 0 -4px 0 #fff2c7,
    0 10px 24px rgba(0, 0, 0, 0.18);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.visual-hero {
  position: relative;
  width: min(1210px, calc(100% - 32px));
  min-height: 390px;
  margin: 28px auto 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 11, 12, 0.9) 0%, rgba(8, 11, 12, 0.62) 42%, rgba(8, 11, 12, 0.16) 100%),
    var(--hero-image) center / cover no-repeat;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(var(--theme-rgb), 0.2) inset;
}

.visual-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 12, 0.94) 0%, rgba(8, 11, 12, 0.7) 42%, rgba(8, 11, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 30% 80%, rgba(var(--theme-rgb), 0.28), transparent 18rem);
  pointer-events: none;
}

.visual-hero__content {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  padding: 48px 46px;
  color: #fff;
}

.visual-hero__eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff2c7;
  font-size: 14px;
  font-weight: 700;
}

.visual-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.visual-hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
}

.visual-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.visual-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  color: #173028;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.page-layout {
  width: min(1210px, calc(100% - 32px));
  margin: 28px auto 64px;
  display: grid;
  grid-template-columns: minmax(230px, 292px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--theme-rgb), 0.22), transparent 13rem),
    linear-gradient(180deg, rgba(18, 55, 44, 0.98), rgba(19, 25, 25, 0.97)),
    url("../theme/images/bg.png") center / cover;
  box-shadow: var(--shadow);
}

.side-nav::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--theme-accent-2), var(--theme-accent), var(--theme-accent-3));
}

.side-nav__group {
  padding: 16px;
}

.side-nav__group + .side-nav__group {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.side-nav h2 {
  margin: 0 0 10px;
  color: #fff1c0;
  font-size: 13px;
  line-height: 1.3;
}

.side-nav__links {
  display: grid;
  gap: 5px;
}

.side-nav__link {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.side-nav__link:hover,
.side-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.side-nav__link.is-active {
  box-shadow: inset -4px 0 0 var(--theme-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(39, 48, 45, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--paper-strong), var(--paper));
  box-shadow: var(--shadow);
}

.article__header {
  padding: 18px 34px 0;
}

.article__header--compact {
  min-height: 54px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs__separator {
  color: #a3afa9;
}

.entry-content {
  padding: 22px 34px 42px;
  color: var(--ink);
}

.entry-content p {
  margin: 0;
  padding: 0 0 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 26px 0 10px;
  color: var(--theme-heading);
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 25px;
}

.entry-content h3 {
  font-size: 21px;
}

.entry-content h3:empty {
  display: none;
}

.entry-content strong,
.entry-content b {
  color: #192826;
}

.entry-content ul,
.entry-content ol {
  padding-inline-start: 22px;
}

.entry-content li {
  margin: 6px 0;
}

.entry-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  color: var(--ink);
  display: block;
  overflow-x: auto;
}

.entry-content td,
.entry-content th {
  padding: 9px 10px;
  border: 1px solid rgba(39, 48, 45, 0.16);
  vertical-align: top;
}

.entry-content tr:nth-child(even) td {
  background: rgba(var(--theme-rgb-2), 0.06);
}

.entry-content img {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 23, 0.16);
}

.entry-content figure {
  margin: 12px 0 24px;
}

.entry-content iframe {
  width: min(100%, 620px);
  max-width: 100%;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 23, 0.12);
}

.entry-content a {
  color: var(--theme-link);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.contact-fallback,
.accessibility-statement {
  margin-top: 20px;
}

.contact-fallback {
  padding: 20px;
  border: 1px solid rgba(var(--theme-rgb-2), 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--theme-rgb-2), 0.11), rgba(var(--theme-rgb), 0.08)),
    #fffdf7;
}

.contact-fallback h2 {
  margin-top: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 9px 16px;
  border: 2px solid rgba(10, 22, 19, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--theme-accent-2), var(--theme-accent));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button-link:hover {
  color: #fff;
  filter: brightness(0.96);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--theme-rgb), 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(10, 14, 15, 0.98), rgba(18, 55, 44, 0.98)),
    url("../theme/images/bg.png") center / cover;
}

.site-footer__inner {
  width: min(1210px, calc(100% - 32px));
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
  margin: 0;
}

.site-footer__content {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.site-footer__links a {
  color: #fff2c7;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.site-footer__links a:hover {
  color: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  width: 96px;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.38));
}

@media (max-width: 1060px) {
  .site-header__inner {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .primary-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .primary-nav__link {
    white-space: normal;
  }

  .visual-hero {
    min-height: 340px;
  }

  .visual-hero__content {
    padding: 40px 34px;
  }

  .visual-hero h1 {
    font-size: 34px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .side-nav {
    position: static;
    order: 2;
  }

  .article {
    order: 1;
  }
}

@media (max-width: 660px) {
  .site-header__inner,
  .visual-hero,
  .page-layout,
  .site-footer__inner {
    width: min(100% - 22px, 1210px);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand__logo {
    width: 92px;
    height: 92px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text span {
    font-size: 12px;
  }

  .visual-hero {
    margin-top: 18px;
    min-height: 0;
    background-position: 62% center;
  }

  .visual-hero__content {
    padding: 32px 22px;
  }

  .visual-hero h1 {
    font-size: 28px;
  }

  .visual-hero p {
    font-size: 16px;
  }

  .visual-hero__chips span {
    min-height: 34px;
    font-size: 14px;
  }

  .article__header {
    padding: 16px 20px 0;
  }

  .entry-content {
    padding: 18px 20px 32px;
  }

  .side-nav__group {
    padding: 14px;
  }

  .site-footer__inner {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .site-footer__content {
    justify-items: start;
  }

  .site-footer__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;
  }
}
