@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink-950: #071522;
  --ink-900: #0b1e30;
  --ink-800: #16324a;
  --ink-700: #29465f;
  --ink-600: #536a7c;
  --line: #d8e0e7;
  --surface: #ffffff;
  --surface-soft: #f2f5f7;
  --surface-blue: #eaf1f8;
  --brand: #1764c0;
  --brand-dark: #0b4a92;
  --accent: #d39a48;
  --shadow: 0 20px 54px rgba(7, 21, 34, 0.1);
  --content: 1180px;
  --font-display: "Manrope", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: var(--ink-950);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(23, 100, 192, 0.2);
  color: var(--ink-950);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-950);
  font-weight: 720;
  line-height: 1.16;
  text-wrap: balance;
  font-family: var(--font-display);
}

p {
  margin: 0 0 1.25em;
  color: var(--ink-700);
  font-size: clamp(1rem, 0.975rem + 0.12vw, 1.055rem);
  line-height: 1.74;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  letter-spacing: -0.006em;
}

strong,
b {
  color: var(--ink-900);
  font-weight: 680;
}

a {
  color: var(--brand-dark);
  text-decoration-color: rgba(11, 74, 146, 0.34);
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 100, 192, 0.28);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

html {
  margin-top: 0 !important;
}

body {
  top: 0 !important;
}

.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  visibility: hidden !important;
}

.page_fix {
  position: static !important;
  top: 0 !important;
}

.language__img {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 21, 34, 0.24);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  position: relative;
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

#header-wrapper {
  position: relative;
  isolation: isolate;
  min-height: 450px;
  overflow: hidden;
  background-color: var(--ink-900);
  background-image: image-set(
    url("../media/content/banner.webp") type("image/webp"),
    url("../../images/banner.jpg") type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-position: center 48%;
  background-size: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#header-wrapper::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 27, 0.32) 0%, rgba(4, 16, 27, 0.08) 42%, rgba(4, 16, 27, 0.86) 100%),
    linear-gradient(90deg, rgba(4, 16, 27, 0.25), transparent 56%);
  content: "";
}

#header-wrapper::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0 68%, var(--accent) 68% 78%, transparent 78%);
  content: "";
}

#header {
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 48px 28px;
}

#header > div:first-child:has(.name-active) {
  justify-content: flex-start !important;
  margin-bottom: auto;
}

.name-active {
  display: block;
  width: min(820px, 100%);
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 680;
  line-height: 1.06;
  text-align: left;
  letter-spacing: -0.045em;
  text-shadow: 0 3px 28px rgba(4, 16, 27, 0.36);
}

#menu {
  width: 100%;
}

#menu ul {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px;
  overflow-x: auto;
  list-style: none;
  background: rgba(7, 21, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  box-shadow: 0 16px 44px rgba(4, 16, 27, 0.22);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

@supports (backdrop-filter: blur(12px)) {
  #menu ul {
    background: rgba(7, 21, 34, 0.73);
    backdrop-filter: blur(12px) saturate(115%);
  }
}

#menu li {
  flex: 0 0 auto;
  margin: 0;
}

#menu a {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 680;
  line-height: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

#menu a::after {
  position: absolute;
  right: 13px;
  bottom: 6px;
  left: 13px;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

#menu a:hover,
#menu a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

#menu a:hover::after,
#menu a:focus-visible::after,
#menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

#menu a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--accent);
}

#menu a:active {
  transform: translateY(1px);
}

#menu a[data-google-lang] {
  min-width: 54px;
  color: #f2c37c;
  text-align: center;
  cursor: pointer;
}

#menu li:nth-last-child(3):has(a[data-google-lang]) {
  margin-left: auto;
}

#wrapper {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(234, 241, 248, 0.68), transparent 260px),
    var(--surface-soft);
}

#wrapper::before {
  position: absolute;
  top: 0;
  left: max(24px, calc((100% - var(--content)) / 2));
  width: 88px;
  height: 1px;
  background: var(--accent);
  content: "";
}

#staff {
  padding-block: clamp(56px, 7vw, 92px) clamp(72px, 9vw, 118px);
}

#staff::after {
  display: block;
  clear: both;
  content: "";
}

.title {
  position: relative;
  margin: clamp(48px, 6vw, 76px) 0 26px;
  padding-left: 22px;
  text-transform: none;
}

#staff > .title:first-child,
#staff > p:first-child + .title {
  margin-top: 0;
}

.title::before {
  position: absolute;
  top: 0.08em;
  bottom: 0.12em;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  content: "";
}

.title h2,
#page h2 {
  max-width: 960px;
  padding: 0;
  color: var(--ink-950);
  font-size: clamp(1.7rem, 2.65vw, 2.72rem);
  font-weight: 720;
  line-height: 1.14;
  text-align: left;
  text-transform: none;
  letter-spacing: -0.042em;
}

.title .byline {
  color: var(--ink-600);
  font-size: 1rem;
}

#staff > p,
#staff > ul,
#staff > ol {
  max-width: 940px;
}

#staff > p {
  text-wrap: pretty;
}

#staff > p:has(> .leftimg),
#staff > p:has(> .rightimg) {
  display: flow-root;
  max-width: 1060px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

#staff p[style*="text-align: center"] {
  max-width: 100%;
  text-align: center !important;
}

#staff font[size="6"] {
  color: var(--ink-900);
  font-family: inherit;
  font-size: clamp(1.16rem, 1.65vw, 1.46rem);
  font-weight: 680;
  line-height: 1.52;
}

#staff img {
  height: auto;
  border: 1px solid rgba(7, 21, 34, 0.09);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(7, 21, 34, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.leftimg {
  float: left;
  margin: 0.35em clamp(24px, 4vw, 54px) 24px 0;
}

.rightimg {
  float: right;
  margin: 0.35em 0 24px clamp(24px, 4vw, 54px);
}

#staff > p:first-of-type .leftimg {
  width: min(46%, 500px);
}

#staff img[width="300"] {
  width: min(100%, 300px) !important;
}

#staff img[width="277"] {
  width: min(100%, 277px) !important;
}

#staff img[width="200"] {
  width: min(100%, 200px) !important;
}

#staff img[width="148"] {
  width: min(100%, 148px) !important;
}

.image {
  display: inline-block;
}

.image img,
.image-full img {
  display: block;
  width: 100%;
}

.image-full,
.image-centered {
  display: block;
  margin: 0 0 2em;
}

.image-left {
  float: left;
  margin: 0 2em 2em 0;
}

.image-centered img {
  width: auto;
  margin-inline: auto;
}

.info {
  position: relative;
  max-width: 940px;
  margin: 42px 0 18px;
  padding-left: 18px;
  color: var(--brand-dark);
  font-size: 1.03rem;
  font-weight: 680;
  line-height: 1.55;
  text-align: left;
  letter-spacing: 0.005em;
}

#staff > p.info:first-of-type {
  max-width: 900px;
  margin: 0 auto 34px;
  padding-left: 0;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

#staff > p.info:not(:first-of-type)::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 3px;
  background: var(--accent);
  content: "";
}

.david {
  text-align: right;
}

table {
  width: 100% !important;
  min-width: 0 !important;
  margin: 28px 0 46px !important;
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--shadow) !important;
  font-family: inherit !important;
  font-size: 0.94rem !important;
}

table thead tr {
  background: var(--ink-900) !important;
  color: #ffffff !important;
  text-align: left;
}

table th,
table td {
  height: auto !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink-800);
  line-height: 1.55;
  vertical-align: top;
}

table td[bgcolor] {
  background-color: transparent !important;
}

/* Neutralize legacy bgcolor attributes used by the object tables. */
.objects td,
#staff table[id^="content"] td {
  background-color: transparent !important;
}

table thead th,
table thead th a {
  color: #ffffff !important;
  font-weight: 700;
  font-family: var(--font-display);
}

table tbody tr,
table tr {
  background: var(--surface) !important;
}

table tbody tr:nth-of-type(even),
table tr:nth-child(even) {
  background: #f6f8fa !important;
}

table tr:hover {
  background: var(--surface-blue) !important;
}

table tr {
  transition: background-color 160ms ease;
}

table tr:last-child td {
  border-bottom: 0 !important;
}

table a {
  font-weight: 700;
}

.objects,
#staff table[id^="content"] {
  table-layout: fixed;
}

.objects td:first-child,
#staff table[id^="content"] td:first-child {
  width: 42%;
}

.objects td:nth-child(2),
#staff table[id^="content"] td:nth-child(2) {
  width: 48%;
}

.objects td:last-child,
#staff table[id^="content"] td:last-child {
  width: 10%;
  color: var(--ink-600);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

[id^="expand"] {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid #c8d5e1;
  border-radius: 3px;
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 700;
  cursor: pointer;
}

[id^="content"] {
  overflow: hidden;
}

#staff [align="center"] > div {
  gap: 24px !important;
  align-items: flex-start;
  margin: 0 !important;
  padding: 22px 24px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#staff [align="center"] > div:first-child {
  border-top: 1px solid var(--line) !important;
}

#staff [align="center"] > div > div:first-child {
  flex: 0 0 34%;
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#staff [align="center"] > div > div:last-child {
  flex: 1;
  color: var(--ink-900);
  text-align: left !important;
}

#staff [align="center"] a[style] {
  color: var(--brand-dark) !important;
}

.button,
button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(23, 100, 192, 0.15);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(23, 100, 192, 0.2);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(23, 100, 192, 0.16);
}

button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
  border-color: #a9b8c4;
  background: #a9b8c4;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.72;
  transform: none;
}

input,
select,
textarea {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bdcad5;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink-900);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #93aabd;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23, 100, 192, 0.1);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7e909f;
  opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--brand);
}

#copyright {
  width: min(calc(100% - 48px), var(--content));
  padding-block: 32px 38px;
}

#copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.8;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#copyright a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

ul.style3,
ul.style4,
ul.contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.style3 li {
  padding: 1.4em 0 0;
  margin: 0 0 1em;
}

ul.style4 li {
  border-top: 1px solid var(--line);
  line-height: 3;
}

.box1,
.box2,
.box3,
.box4,
.boxA,
.boxB,
.boxC,
.tbox1,
.tbox2 {
  width: auto;
}

.burger {
  display: none;
}

/* Download cards */

.download-list {
  display: grid;
  max-width: 940px;
  gap: 16px;
  margin-top: 8px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid #d4dee7;
  border-left: 3px solid var(--brand);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(7, 21, 34, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card__label {
  color: var(--ink-600);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.download-card__content p:last-child {
  margin-bottom: 0;
}

.download-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--brand);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 100, 192, 0.16);
}

.download-link::after {
  width: 7px;
  height: 7px;
  margin-left: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.download-meta {
  display: block;
  color: var(--ink-600);
  font-size: 0.86rem;
  line-height: 1.55;
}

.download-meta + p {
  margin-top: 18px;
}

/* Individual page compositions built around the existing content order. */

@media (min-width: 900px) {
  #staff:has(.download-list),
  #staff:has(a[href^="mailto:"]),
  #staff:has(> table[width="700"][align="center"]) {
    display: grid;
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
    column-gap: clamp(46px, 7vw, 92px);
    align-items: start;
  }

  #staff:has(.download-list) > .title:first-child,
  #staff:has(a[href^="mailto:"]) > .title:first-child,
  #staff:has(> table[width="700"][align="center"]) > .title:first-child {
    position: sticky;
    top: 34px;
    grid-column: 1;
    margin: 0;
  }

  #staff:has(.download-list) > .download-list,
  #staff:has(a[href^="mailto:"]) > [align="center"],
  #staff:has(> table[width="700"][align="center"]) > table[width="700"] {
    grid-column: 2;
    width: 100% !important;
    max-width: none;
    margin-top: 0 !important;
  }

  #staff:has(a[href^="mailto:"]) > p:empty,
  #staff:has(> table[width="700"][align="center"]) > p:empty {
    display: none;
  }
}

#staff:has(.download-list) .download-card {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(26px, 4vw, 38px);
  border-left-width: 4px;
  background:
    linear-gradient(135deg, rgba(234, 241, 248, 0.52), transparent 48%),
    #ffffff;
}

#staff:has(img[src*="r1equip"]) > .title:first-child {
  max-width: 1080px;
  margin-bottom: 34px;
}

#staff:has(img[src*="r1equip"]) > p:has(> img[src*="r1equip"]) {
  max-width: 1120px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d4dee7;
  border-top: 3px solid var(--brand);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(234, 241, 248, 0.72), transparent 56%),
    #ffffff;
  box-shadow: 0 18px 48px rgba(7, 21, 34, 0.08);
}

#staff:has(img[src*="r1equip"]) img[src*="r1equip"] {
  width: min(38%, 410px) !important;
}

#staff:has(img[src*="r1equip"]) img[src*="r8equip"] {
  float: right;
  margin: 0.35em 0 24px clamp(24px, 4vw, 54px);
}

#staff:has(img[src*="r1equip"]) img[src*="r5equip"] {
  width: min(100%, 980px) !important;
  padding: clamp(8px, 1.5vw, 16px);
  border-color: #cad5de;
  background: #ffffff;
}

#staff:has(table[id^="content"]) table[id^="content"] tr:hover,
#staff:has(table.objects) table.objects tr:hover {
  background: #f8fafc !important;
  box-shadow: inset 3px 0 0 rgba(23, 100, 192, 0.38);
}

#staff:has(table[id^="content"]) table[id^="content"] td:last-child,
#staff:has(table.objects) table.objects td:last-child {
  color: var(--ink-700);
  font-weight: 680;
}

/* Final editorial polish */

#header-wrapper:not(:has(.name-active)),
#header-wrapper:not(:has(.name-active)) #header {
  min-height: 380px;
}

#menu ul {
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
}

#menu li {
  scroll-snap-align: start;
}

#staff hr {
  height: 1px;
  margin: 28px 0 8px;
  border: 0;
  background: var(--line);
}

#staff > p.metric {
  display: flex;
  min-height: 56px;
  max-width: var(--reading);
  align-items: center;
  margin: 12px 0;
  padding: 14px 20px;
  border: 1px solid #d5e0e9;
  border-left: 3px solid var(--brand);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 10px 30px rgba(7, 21, 34, 0.05);
}

#staff > p:not(.metric) + p.metric {
  margin-top: 24px;
}

#staff > p.metric + p:not(.metric) {
  margin-top: 30px;
}

#staff > p[style*="text-align: center"]:has(> img) {
  margin-block: 34px 44px;
}

#staff > p[style*="text-align: center"]:has(> img) img {
  display: block;
  margin-inline: auto;
}

/* Contact table: match the modern Russian contact layout without changing its markup. */

#staff table:not([id]) {
  display: block;
  margin-top: 8px !important;
  overflow: hidden;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}

#staff table:not([id]) tbody {
  display: block;
}

#staff table:not([id]) tr {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  background: transparent !important;
}

#staff table:not([id]) td {
  min-width: 0;
  padding: 20px 24px !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

#staff table:not([id]) td:first-child {
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

#staff table:not([id]) td:last-child {
  color: var(--ink-900);
  font-weight: 500;
}

/* Object groups and open state */

#staff > .title:has(+ table[id^="content"]) {
  min-height: 70px;
  align-items: center;
  gap: 20px;
  margin: 14px 0 0;
  padding: 16px 18px 16px 20px;
  border: 1px solid #d7e0e8;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(7, 21, 34, 0.045);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

#staff > .title:has(+ table[id^="content"])::before {
  top: 16px;
  bottom: 16px;
}

#staff > .title:has(+ table[id^="content"]) h2 {
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

#staff > .title:has(+ table[id^="content"]:not([style*="display:none"]):not([style*="display: none"])) {
  border-color: #b9ccdc;
  border-radius: 4px 4px 0 0;
  background: var(--surface-blue);
  box-shadow: none;
}

#staff table[id^="content"] {
  height: auto !important;
  margin-top: 0 !important;
  border-top: 0 !important;
  border-radius: 0 0 4px 4px;
}

#staff img[id^="expand"] {
  display: block;
  width: 42px !important;
  min-width: 42px;
  height: 42px !important;
  min-height: 42px;
  padding: 12px;
  border: 1px solid #c6d4df !important;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(7, 21, 34, 0.08);
  object-fit: contain;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

#staff img[id^="expand"]:hover {
  border-color: var(--brand) !important;
  background: #f8fbfe;
}

#staff img[id^="expand"]:focus-visible {
  outline: 3px solid rgba(23, 100, 192, 0.32);
  outline-offset: 3px;
}

#staff > .title:has(+ table[id^="content"]:not([style*="display:none"]):not([style*="display: none"])) img[id^="expand"] {
  border-color: var(--brand) !important;
  transform: rotate(45deg);
}

#staff > .title:has(+ table.objects) {
  margin-top: 54px;
  margin-bottom: 18px;
}

/* Certificate documents */

#staff:has(#slide-caption) .galleria {
  width: min(100%, 820px) !important;
  height: clamp(560px, 76vw, 1000px) !important;
  margin: 8px auto 0 !important;
  border: 1px solid rgba(7, 21, 34, 0.18);
  border-radius: 5px;
  background: #070d13 !important;
  box-shadow: 0 24px 58px rgba(7, 21, 34, 0.18);
}

#slide-caption {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 820px;
  min-height: 38px;
  margin: 22px auto 18px;
  padding: 16px 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-700);
  font-family: inherit;
  font-size: 0.88rem !important;
  line-height: 1.6;
  text-align: center;
  white-space: pre-line;
  transform: none !important;
}

#staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) > p.info:not(:has(img)) {
  max-width: 800px;
  margin: 44px auto 14px;
  padding: 0;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}

#staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) > p.info:not(:has(img))::before {
  display: none;
}

#staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) > p:has(> img[src*="images/sertif/"]) {
  display: flex;
  max-width: 1120px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 52px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) img[src*="images/sertif/"] {
  width: auto;
  max-width: calc(50% - 10px);
  padding: 8px;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 21, 34, 0.12);
}

#staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) img[src*="images/sertif/"]:only-child {
  max-width: min(100%, 560px);
}

/* Modern controls for the existing Galleria implementation. */

.galleria-theme-classic .galleria-stage {
  top: 14px;
  right: 14px;
  bottom: 68px;
  left: 14px;
  background: radial-gradient(circle at 50% 45%, #111b24, #05090d 72%);
}

.galleria-theme-classic .galleria-thumbnails-container {
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 48px;
}

.galleria-theme-classic .galleria-thumbnails .galleria-image {
  height: 40px;
  margin-right: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  opacity: 0.72;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.galleria-theme-classic .galleria-thumbnails .galleria-image:hover {
  border-color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.galleria-theme-classic .galleria-counter {
  bottom: 14px;
  left: 14px;
  padding: 5px 7px;
  border-radius: 3px;
  background: rgba(4, 12, 19, 0.76);
  font: 650 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
}

.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
  top: 31px;
  width: 42px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background-color: rgba(4, 12, 19, 0.66);
  background-image: none !important;
  opacity: 0.82;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.galleria-theme-classic .galleria-image-nav-left {
  left: 14px;
}

.galleria-theme-classic .galleria-image-nav-right {
  right: 14px;
}

.galleria-theme-classic .galleria-image-nav-left::before,
.galleria-theme-classic .galleria-image-nav-right::before {
  position: absolute;
  top: 20px;
  width: 13px;
  height: 13px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  content: "";
}

.galleria-theme-classic .galleria-image-nav-left::before {
  left: 16px;
  transform: rotate(45deg);
}

.galleria-theme-classic .galleria-image-nav-right::before {
  right: 16px;
  transform: rotate(225deg);
}

.galleria-theme-classic.notouch .galleria-image-nav-left:hover,
.galleria-theme-classic.notouch .galleria-image-nav-right:hover {
  background-color: rgba(4, 12, 19, 0.9);
  opacity: 1;
}

.galleria-theme-classic [role="button"]:focus-visible {
  outline: 3px solid #f2c37c;
  outline-offset: 3px;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  #staff > p > img:not([id^="expand"]),
  #staff > p > a > img {
    transform-origin: center;
  }

  #staff > p > img:not([id^="expand"]):hover,
  #staff > p > a > img:hover {
    border-color: rgba(23, 100, 192, 0.2);
    box-shadow: 0 24px 54px rgba(7, 21, 34, 0.16);
    transform: translateY(-2px);
  }

  .download-card:hover {
    border-color: #bdcfdd;
    box-shadow: 0 18px 42px rgba(7, 21, 34, 0.09);
    transform: translateY(-2px);
  }

  .download-link:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: #ffffff;
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #header-wrapper {
    animation: header-reveal 650ms ease-out both;
  }

  #staff {
    animation: content-reveal 520ms 120ms ease-out both;
  }

  @keyframes header-reveal {
    from {
      opacity: 0.75;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes content-reveal {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @supports (animation-timeline: view()) {
    #staff > .title:not(:first-child),
    #staff > p[style*="text-align: center"]:has(> img),
    .download-card {
      animation: section-reveal linear both;
      animation-range: entry 0% entry 26%;
      animation-timeline: view();
    }

    @keyframes section-reveal {
      from {
        opacity: 0.68;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  #header-wrapper,
  #header {
    min-height: 400px;
  }

  #header {
    padding-top: 34px;
  }

  #menu a {
    padding-inline: 11px;
    font-size: 0.71rem;
  }

  #staff {
    width: min(calc(100% - 48px), 920px);
  }
}

@media (max-width: 760px) {
  .container,
  #copyright {
    width: min(calc(100% - 32px), var(--content));
  }

  #header-wrapper,
  #header {
    min-height: 330px;
  }

  #header-wrapper:not(:has(.name-active)),
  #header-wrapper:not(:has(.name-active)) #header {
    min-height: 290px;
  }

  #header-wrapper {
    background-position: 56% center;
  }

  #header {
    padding-block: 28px 18px;
  }

  .name-active {
    width: 100%;
    font-size: clamp(1.55rem, 7.4vw, 2.2rem);
  }

  #menu {
    width: calc(100vw - 16px);
    margin-left: calc((100vw - 100% - 16px) / -2);
  }

  #menu ul {
    gap: 2px;
    padding: 7px;
    border-radius: 4px;
    scroll-padding-inline: 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  #menu ul::-webkit-scrollbar {
    display: none;
  }

  #menu li {
    scroll-snap-align: start;
  }

  #menu a {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.7rem;
  }

  #menu li:nth-last-child(3):has(a[data-google-lang]) {
    margin-left: 0;
  }

  #staff {
    width: min(calc(100% - 32px), 680px);
    padding-block: 50px 76px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 18px;
  }

  #staff:has(.download-list),
  #staff:has(a[href^="mailto:"]),
  #staff:has(> table[width="700"][align="center"]) {
    display: block;
  }

  #staff:has(img[src*="r1equip"]) > p:has(> img[src*="r1equip"]) {
    padding: 20px 18px;
  }

  #staff:has(img[src*="r1equip"]) img[src*="r1equip"],
  #staff:has(img[src*="r1equip"]) img[src*="r8equip"] {
    float: none;
    width: 100% !important;
    margin: 0 0 24px;
  }

  .download-link {
    width: 100%;
  }

  .title {
    margin-top: 42px;
    padding-left: 16px;
  }

  .title h2,
  #page h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .leftimg,
  .rightimg,
  #staff > p:first-of-type .leftimg {
    float: none;
    width: 100%;
    max-height: 440px;
    margin: 0 0 24px;
    object-fit: cover;
  }

  table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    border-radius: 3px;
    white-space: normal;
  }

  table th,
  table td {
    min-width: 150px;
    padding: 13px 14px !important;
  }

  #staff table:not([id]) {
    overflow: visible;
  }

  #staff table:not([id]) tr {
    grid-template-columns: 1fr;
  }

  #staff table:not([id]) td {
    min-width: 0;
    padding: 14px 0 !important;
  }

  #staff table:not([id]) td:first-child {
    padding-bottom: 4px !important;
  }

  #staff table:not([id]) td:last-child {
    padding-top: 4px !important;
  }

  .objects,
  #staff table[id^="content"] {
    overflow: visible;
  }

  .objects tbody,
  #staff table[id^="content"] tbody {
    display: block;
  }

  .objects tr,
  #staff table[id^="content"] tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-bottom: 1px solid var(--line);
  }

  .objects td,
  #staff table[id^="content"] td,
  .objects td:first-child,
  #staff table[id^="content"] td:first-child,
  .objects td:nth-child(2),
  #staff table[id^="content"] td:nth-child(2),
  .objects td:last-child,
  #staff table[id^="content"] td:last-child {
    width: auto;
    min-width: 0;
  }

  .objects td:first-child,
  #staff table[id^="content"] td:first-child {
    grid-column: 1 / -1;
    padding-bottom: 5px !important;
    border-bottom: 0 !important;
    color: var(--ink-900);
    font-weight: 700;
  }

  .objects td:nth-child(2),
  #staff table[id^="content"] td:nth-child(2) {
    padding-top: 5px !important;
  }

  .objects td:last-child,
  #staff table[id^="content"] td:last-child {
    padding-top: 5px !important;
    text-align: right;
  }

  #staff > .title:has(+ table[id^="content"]) {
    min-height: 62px;
    gap: 12px;
    margin-top: 10px;
    padding: 13px 12px 13px 16px;
  }

  #staff > .title:has(+ table[id^="content"])::before {
    top: 13px;
    bottom: 13px;
  }

  #staff > .title:has(+ table[id^="content"]) h2 {
    font-size: clamp(1.02rem, 5.2vw, 1.3rem);
  }

  #staff img[id^="expand"] {
    width: 40px !important;
    min-width: 40px;
    height: 40px !important;
    min-height: 40px;
  }

  #staff:has(#slide-caption) .galleria {
    height: clamp(520px, 135vw, 680px) !important;
  }

  #slide-caption {
    min-height: 34px;
    margin: 18px auto 12px;
    padding: 14px 8px 0;
    font-size: 0.78rem !important;
  }

  #staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) > p.info:not(:has(img)) {
    margin-top: 36px;
    font-size: 0.82rem;
  }

  #staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) > p:has(> img[src*="images/sertif/"]) {
    gap: 12px;
    margin-bottom: 38px;
  }

  #staff:has(img[src*="images/sertif/"]):not(:has(#slide-caption)) img[src*="images/sertif/"] {
    max-width: 100%;
  }

  .galleria-theme-classic .galleria-image-nav-left,
  .galleria-theme-classic .galleria-image-nav-right {
    width: 38px;
    height: 52px;
  }

  .galleria-theme-classic .galleria-image-nav-left::before,
  .galleria-theme-classic .galleria-image-nav-right::before {
    top: 17px;
  }

  .galleria-theme-classic .galleria-image-nav-left::before {
    left: 14px;
  }

  .galleria-theme-classic .galleria-image-nav-right::before {
    right: 14px;
  }

  #staff [align="center"] > div {
    flex-direction: column !important;
    gap: 7px !important;
    padding: 18px 0 !important;
  }

  #staff [align="center"] > div > div:first-child {
    flex-basis: auto;
  }

  #copyright p {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
}

/* 2026 identity, reading rhythm and compact inner-page mastheads. */

:root {
  --reading: 800px;
  --hero-height: 300px;
  --docked-navigation: 94px;
  --photo-grade: contrast(1.035) saturate(0.96) brightness(1.01);
}

#header-wrapper {
  z-index: 300;
  min-height: var(--hero-height);
  position: sticky;
  top: calc((var(--hero-height) - var(--docked-navigation)) * -1);
}

#header {
  position: relative;
  min-height: var(--hero-height);
}

#header:not(:has(.name-active))::before {
  position: absolute;
  top: 28px;
  left: 0;
  width: 48px;
  aspect-ratio: 1;
  background: url("../brand/fortuna-mark.svg") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 8px 20px rgba(4, 16, 27, 0.25));
}

#header > .language__img {
  display: none;
}

#header-wrapper:has(#menu a[aria-current="page"][href$="index.php"]),
#header-wrapper:has(#menu a[aria-current="page"][href$="indexeng.php"]) {
  --hero-height: 450px;
}

#header-wrapper:not(:has(#menu a[aria-current="page"][href$="index.php"])):not(:has(#menu a[aria-current="page"][href$="indexeng.php"])) .name-active {
  width: min(680px, 100%);
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
}

.name-active {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(12px, 1.8vw, 20px);
  align-items: start;
}

.name-active::before {
  width: clamp(40px, 4.2vw, 56px);
  aspect-ratio: 1;
  margin-top: 0.03em;
  background: url("../brand/fortuna-mark.svg") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 8px 20px rgba(4, 16, 27, 0.25));
}

#menu {
  z-index: 2;
}

#menu a[data-google-lang].language__img_active,
#menu a[data-google-lang][aria-pressed="true"],
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="ru"] #menu a[data-google-lang="ru"],
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="en"] #menu a[data-google-lang="en"],
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="uk"] #menu a[data-google-lang="uk"] {
  border-color: rgba(255, 255, 255, 0.72);
  background: var(--accent);
  color: var(--ink-950);
  box-shadow: inset 0 -2px 0 rgba(7, 21, 34, 0.3), 0 5px 16px rgba(4, 16, 27, 0.2);
}

#menu a[data-google-lang].language__img_active::after,
#menu a[data-google-lang][aria-pressed="true"]::after,
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="ru"] #menu a[data-google-lang="ru"]::after,
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="en"] #menu a[data-google-lang="en"]::after,
html:not(:has(#menu [data-google-lang][aria-pressed]))[lang^="uk"] #menu a[data-google-lang="uk"]::after {
  background: var(--ink-950);
  transform: scaleX(1);
}

#staff,
#staff .title,
#staff [tabindex] {
  scroll-margin-top: calc(var(--docked-navigation) + 18px);
}

#staff > p,
#staff > ul,
#staff > ol {
  max-width: var(--reading);
}

#staff > p:has(> .leftimg),
#staff > p:has(> .rightimg),
#staff > p[style*="text-align: center"] {
  max-width: 1060px;
}

#staff img[src="assets/media/content/main.webp"],
#staff img[src="assets/media/enhanced/main.webp"] {
  filter: var(--photo-grade);
}

#staff:has(#slide-caption) .galleria {
  height: clamp(480px, 56svh, 720px) !important;
}

@media (max-width: 1040px) and (min-width: 761px) {
  :root {
    --hero-height: 280px;
  }

  #header-wrapper:has(#menu a[aria-current="page"][href$="index.php"]),
  #header-wrapper:has(#menu a[aria-current="page"][href$="indexeng.php"]) {
    --hero-height: 400px;
  }
}

@media (max-width: 760px) {
  :root {
    --hero-height: 236px;
    --docked-navigation: 0px;
  }

  #header-wrapper,
  #header-wrapper:has(#menu a[aria-current="page"][href$="index.php"]),
  #header-wrapper:has(#menu a[aria-current="page"][href$="indexeng.php"]) {
    position: relative;
    top: auto;
  }

  #header-wrapper:has(#menu a[aria-current="page"][href$="index.php"]),
  #header-wrapper:has(#menu a[aria-current="page"][href$="indexeng.php"]) {
    --hero-height: 330px;
  }

  #header-wrapper:not(:has(#menu a[aria-current="page"][href$="index.php"])):not(:has(#menu a[aria-current="page"][href$="indexeng.php"])) .name-active {
    width: min(500px, 100%);
    font-size: clamp(1.35rem, 6.2vw, 1.8rem);
  }

  .name-active::before {
    width: clamp(34px, 10vw, 42px);
  }

  #header:not(:has(.name-active))::before {
    top: 20px;
    width: 40px;
  }

  #staff:has(#slide-caption) .galleria {
    height: clamp(360px, 58svh, 520px) !important;
  }
}

/* Stage two: unified navigation, editorial pages and contact presentation. */

#menu.menu-enhanced,
#menu:has(.menu-track) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

#menu .menu-track {
  position: relative;
  min-width: 0;
}

#menu .menu-track::before,
#menu .menu-track::after {
  position: absolute;
  z-index: 4;
  top: 1px;
  bottom: 1px;
  width: 32px;
  pointer-events: none;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

#menu .menu-track::before {
  left: 1px;
  background: linear-gradient(90deg, rgba(7, 21, 34, 0.98), transparent);
}

#menu .menu-track::after {
  right: 1px;
  background: linear-gradient(270deg, rgba(7, 21, 34, 0.98), transparent);
}

#menu .menu-track.is-scrollable:not(.is-scroll-start)::before,
#menu .menu-track.is-scrollable:not(.is-scroll-end)::after {
  opacity: 1;
}

#menu .primary-menu {
  height: 100%;
  justify-content: space-between;
}

#menu .language-menu {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  align-self: center;
  justify-content: flex-end;
  gap: 3px;
  overflow: visible;
  padding: 4px;
  background: rgba(7, 21, 34, 0.94);
  scrollbar-width: none;
}

#menu .language-menu li {
  margin: 0 !important;
}

#menu .language-menu a[data-google-lang] {
  min-width: 40px;
  min-height: 36px;
  padding: 7px 6px;
  font-size: 0.68rem;
  line-height: 20px;
}

.brand-lockup {
  width: 100%;
  margin-bottom: auto;
}

.page-contact #staff {
  align-items: start;
}

.page-contact .contact-list {
  overflow: hidden;
  border: 1px solid #d4dee7 !important;
  border-top: 3px solid var(--brand) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 18px 48px rgba(7, 21, 34, 0.08) !important;
}

.page-contact .contact-list--cards {
  gap: 0 !important;
}

.page-contact .contact-list--cards > div,
.page-contact .contact-list--table tr {
  position: relative;
}

.page-contact .contact-list--cards > div::before,
.page-contact .contact-list--table tr::before {
  display: none;
  content: none;
}

.page-contact .contact-list--cards > div {
  display: grid !important;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 24px !important;
  align-items: center !important;
  padding: 24px 26px !important;
}

.page-contact .contact-list--table tr {
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr) !important;
  gap: 24px;
  align-items: center;
  padding: 0 26px;
}

.page-contact .contact-list--table td {
  padding-inline: 0 !important;
}

.page-contact .contact-list a {
  display: inline-block;
  padding-block: 3px;
  color: var(--brand-dark) !important;
  font-weight: 620;
}

.page-info #staff > p.info:first-of-type {
  max-width: var(--reading);
  margin: 0 0 38px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-700);
  text-align: left;
}

.page-info #staff > p.info:not(:first-of-type) {
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--ink-900);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

.page-info #staff img[src*="/info/"] {
  width: auto;
  max-width: min(100%, 850px);
  padding: 6px;
  border-color: #c9d5df;
  border-radius: 4px;
  background: #ffffff;
}

.page-equipment #staff > .title:first-child h2 {
  max-width: 1040px;
  font-size: clamp(1.7rem, 2.45vw, 2.52rem);
  line-height: 1.12;
}

.page-equipment #staff > p:not(:has(img)) {
  max-width: var(--reading);
}

.page-object #staff > .title:has(+ table[id^="content"]):hover {
  border-color: #bdcfdd;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 21, 34, 0.075);
}

.page-object #staff > .title.object-group--open {
  border-color: #b9ccdc;
  border-radius: 4px 4px 0 0;
  background: var(--surface-blue);
  box-shadow: none;
}

.page-object #staff > .title.object-group--open img[id^="expand"] {
  border-color: var(--brand) !important;
  transform: rotate(45deg);
}

.page-sertif #staff:has(#slide-caption) .galleria {
  border-color: #bdcbd7;
  border-top: 3px solid var(--brand);
  background: #102331 !important;
}

.page-sertif .galleria-theme-classic .galleria-stage {
  background: linear-gradient(145deg, #f4f6f8, #dfe6eb 76%);
}

.page-sertif .galleria-theme-classic .galleria-stage img {
  filter: contrast(1.025);
  box-shadow: 0 12px 34px rgba(7, 21, 34, 0.16);
}

.page-sertif #slide-caption {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #d4dee7;
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  #menu .language-menu a:hover,
  #menu .language-menu a:focus-visible {
    transform: translateY(-1px);
  }

  .page-contact .contact-list a:hover {
    text-decoration-color: currentColor;
    transform: translateX(2px);
  }
}

@media (max-width: 760px) {
  #menu.menu-enhanced,
  #menu:has(.menu-track) {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  #menu .language-menu {
    grid-row: 1;
    justify-self: end;
    min-height: 38px;
    padding: 3px;
  }

  #menu .language-menu a[data-google-lang] {
    min-width: 36px;
    min-height: 32px;
    padding: 5px 6px;
    line-height: 20px;
  }

  #menu .menu-track {
    grid-row: 2;
  }

  #menu .primary-menu {
    justify-content: flex-start;
  }

  #header-wrapper:not(:has(#menu a[aria-current="page"][href$="index.php"])):not(:has(#menu a[aria-current="page"][href$="indexeng.php"])),
  #header-wrapper:not(:has(#menu a[aria-current="page"][href$="index.php"])):not(:has(#menu a[aria-current="page"][href$="indexeng.php"])) #header {
    --hero-height: 292px;
  }

  .title h2.heading-long br {
    display: none;
  }

  .title h2.heading-long {
    font-size: clamp(1.38rem, 6.6vw, 1.78rem);
    line-height: 1.17;
    letter-spacing: -0.032em;
  }

  .title h2.heading-extra-long,
  .page-equipment #staff > .title:first-child h2.heading-extra-long {
    font-size: clamp(1.28rem, 6vw, 1.48rem);
    line-height: 1.16;
  }

  .page-contact .contact-list--cards > div,
  .page-contact .contact-list--table tr {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px 14px !important;
    padding: 18px !important;
  }

  .page-contact .contact-list--cards > div > div:first-of-type,
  .page-contact .contact-list--table td:first-of-type {
    grid-column: 1;
  }

  .page-contact .contact-list--cards > div > div:last-of-type,
  .page-contact .contact-list--table td:last-of-type {
    grid-column: 1;
  }

  .page-info #staff > p.info:first-of-type {
    padding: 16px 17px;
  }

  .page-info #staff > p.info:not(:first-of-type) {
    margin-top: 42px;
  }

  .page-sertif #slide-caption {
    padding: 14px;
  }
}

@media (forced-colors: active) {
  #menu a,
  .button,
  button,
  input,
  .contact-list,
  .download-card {
    forced-color-adjust: auto;
  }
}

@media print {
  @page {
    margin: 15mm;
  }

  html,
  body {
    background: #ffffff;
    color: #111111;
    font-size: 10.5pt;
    line-height: 1.48;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
  }

  #header-wrapper {
    min-height: auto;
    background: #ffffff;
  }

  #header-wrapper::before,
  #header-wrapper::after,
  #menu {
    display: none;
  }

  #header {
    min-height: auto;
    padding: 0 0 10mm;
  }

  .name-active {
    max-width: none;
    color: #111111;
    font-size: 20pt;
    letter-spacing: -0.03em;
  }

  #wrapper {
    background: #ffffff;
  }

  #staff,
  #staff:has(.download-list),
  #staff:has(a[href^="mailto:"]),
  #staff:has(> table[width="700"][align="center"]) {
    display: block;
    width: 100%;
    padding: 0;
  }

  #staff > .title {
    position: static !important;
    margin: 8mm 0 4mm;
    break-after: avoid;
  }

  .title h2,
  #page h2 {
    font-size: 17pt;
  }

  p,
  li,
  td,
  th {
    color: #111111 !important;
  }

  a {
    color: #111111 !important;
    text-decoration: underline;
  }

  img,
  table,
  .download-card,
  #staff [align="center"] > div {
    break-inside: avoid;
  }

  #staff img {
    max-height: 235mm;
    border-color: #b8b8b8;
  }

  table {
    margin: 4mm 0 7mm !important;
    border-color: #888888 !important;
    font-size: 8.5pt !important;
  }

  table th,
  table td {
    padding: 2.5mm 3mm !important;
    border-color: #b8b8b8 !important;
  }

  #staff table[id^="content"] {
    display: table !important;
  }

  #staff img[id^="expand"],
  .galleria-theme-classic .galleria-thumbnails-container,
  .galleria-theme-classic .galleria-image-nav,
  .galleria-theme-classic .galleria-counter {
    display: none !important;
  }

  .download-card {
    border: 1px solid #999999;
    background: #ffffff;
  }

  #copyright p {
    color: #333333;
    font-size: 8.5pt;
  }
}
