:root {
  color-scheme: light;
  --ink: #352e30;
  --muted: #766a6c;
  --line: #605658;
  --blue: #5d5455;
  --paper: #f8f6f6;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  color: var(--ink);
  background: #bdb4b7 url("../files/img/page/bgv.jpg") repeat;
  background-image: url("../files/img/page/bgv.jpg");
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  width: 98%;
  min-width: 0;
  max-width: 1500px;
  min-height: calc(100vh - 28px);
  margin: 14px auto;
  border: 1px solid #000000;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 2px 10px rgba(35, 26, 29, .2);
}

.site-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  padding: 24px 0;
  background-color: #bdb4b7;
  background-image: linear-gradient(180deg, rgba(255,255,255,.10), rgba(189,177,181,.12)), url("../files/img/page/veritas_top_26.jpg");
  background-size: 100% 100%, cover;
  background-position: left top, left center;
  background-repeat: no-repeat;
}

.language-switcher {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  display: flex;
  gap: clamp(4px, 1vw, 8px);
}
.language-switcher a {
  display: block;
  width: clamp(30px, 6.25vw, 50px);
  height: clamp(18px, 3.75vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .35);
  filter: grayscale(35%) saturate(.7);
  opacity: .58;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.flag { display: block; width: 100%; height: 100%; }
.flag--uk {
  background-color: #012169;
  background-image:
    linear-gradient(to right, transparent 43%, #c8102e 43% 57%, transparent 57%),
    linear-gradient(to bottom, transparent 38%, #c8102e 38% 62%, transparent 62%),
    linear-gradient(to right, transparent 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(to bottom, transparent 33%, #fff 33% 67%, transparent 67%),
    linear-gradient(32deg, transparent 41%, #fff 41% 47%, #c8102e 47% 53%, #fff 53% 59%, transparent 59%),
    linear-gradient(148deg, transparent 41%, #fff 41% 47%, #c8102e 47% 53%, #fff 53% 59%, transparent 59%);
}
.flag--se {
  background-color: #006aa7;
  background-image:
    linear-gradient(to right, transparent 26%, #fecc00 26% 38%, transparent 38%),
    linear-gradient(to bottom, transparent 40%, #fecc00 40% 60%, transparent 60%);
}
.flag--ru {
  background-image: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
}
.language-switcher a:hover,
.language-switcher a:focus-visible {
  z-index: 1;
  filter: grayscale(0) saturate(1.15);
  opacity: 1;
  transform: scale(1.06);
}
.language-switcher a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.brand {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  background: #020202;
  box-shadow: 0 3px 10px rgba(35, 26, 29, .15);
}

.brand-mark {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fc0001;
}

.brand-mark i:nth-child(1) { top: 10px; left: 20px; }
.brand-mark i:nth-child(2) { top: 29px; left: 10px; }
.brand-mark i:nth-child(3) { top: 29px; right: 9px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 700 34px/1 Arial, sans-serif; letter-spacing: .03em; }
.brand-copy strong { color: #ffffff; }
.brand-copy small { margin-top: 5px; color: #fc0001; font: 600 12px Arial, sans-serif; }

.header-motto {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  gap: 28px;
  width: max-content;
  color: rgba(39, 25, 25, 0.36);
  font-size: 18px;
  white-space: nowrap;
}

.main-menu {
  position: relative;
  z-index: 1;
  display: flex;
  height: 45px;
  min-height: 45px;
  border: 1px solid #FFFFFF;
  background: linear-gradient(180deg, #b2a8ac 0%, #766a6c 100%);
  font-family: Arial, sans-serif;
}

.menu-tab {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.25vw, 10px);
  min-width: clamp(72px, 15vw, 120px);
  min-height: clamp(34px, 5.625vw, 45px);
  padding: clamp(3px, .5vw, 4px) clamp(8px, 1.75vw, 14px);
  border-right: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.menu-tab b { color: #fff; font-size: 20px; }
.menu-tab a { display: block; color: #9f8282; text-decoration: none; font-weight: 600; }
.menu-tab:hover { color: #190202; background: rgba(255, 255, 255, 0.336); }
.menu-tab:hover a{ color: #190202;}
.menu-tab.is-active { color: var(--ink); background: #fff; border-bottom: 1px solid #fff; }
#B1.menu-tab.is-active { position: relative; z-index: 1; margin-bottom: -1px; }
.menu-tab.is-active b { color: var(--blue); }

.main-menu .has-dropdown { position: relative; }
.main-menu .menu-link { color: inherit; text-decoration: none; font-weight: 600; }
.main-menu .has-dropdown .dropdown-trigger { margin-left: -6px; }
.dropdown-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dropdown-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1px;
  z-index: 2;
  display: none;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 0 4px 8px rgba(35, 26, 29, .2);
}
.main-menu .has-dropdown:hover .dropdown-menu,
.main-menu .has-dropdown:focus-within .dropdown-menu { display: block; }
.menu-tab .dropdown-menu a {
  display: block;
  padding: 9px 14px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.dropdown-menu li:nth-child(odd) { background: #c5b6bc; }
.dropdown-menu li:nth-child(even) { background: #c2a1ae; }
.menu-tab .dropdown-menu a:hover,
.menu-tab .dropdown-menu a:focus-visible,
.dropdown-menu li:hover { background: #796d6f; color: #fff; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(0, 5fr);
  align-items: stretch;
}

.body-content {
  min-width: 0;
  padding: clamp(12px, 3vw, 24px) clamp(8px, 4.25vw, 34px) clamp(16px, 6vw, 48px);
  background: rgba(255,255,255,.78);
}

.body-content h1 { margin: 0 0 38px; color: #776a6e; font-size: clamp(34px, 4vw, 56px); }
.intro { display:block; gap: 28px; align-items: start; }
.intro h2 { margin: 0 0 12px; color: #62575a; font-size: 23px; }
.intro ol { margin: 0; padding-left: 26px; color: #766a6c; font-size: 18px; line-height: 1.65; }
.intro li { padding: 0 0 15px 3px; }
.intro li strong { color: #a35f6c; }

.image-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px solid rgba(96,86,88,.22);
  color: rgba(96,86,88,.62);
  background: rgba(189,177,181,.2);
  text-align: center;
}

.right-sidebar {
  min-width: 0;
  border-left: 1px dotted var(--line);
  background: rgba(255,255,255,.58);
  font-size: clamp(8px, 2vw, 16px);
}

.right-sidebar section, .sidebar-quote { padding: clamp(4px, 2vw, 18px) clamp(4px, 2.5vw, 20px); border-bottom:  1px dotted rgba(96,86,88,.35); }
.right-sidebar h2 { margin: 0 0 12px; color: #554b4e; font: 600 20px Arial, sans-serif; }
#page_E1 img { display: block; width: calc(100% + 40px); height: auto; margin-right: -20px; margin-left: -20px; }
.sidebar-links a { display: block; padding: 9px 0; border-bottom: 1px dotted rgba(96,86,88,.3); color: #a35f6c; font-size: 17px; text-decoration: none; }
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-feature { min-height: 170px; background: linear-gradient(180deg, rgba(189,177,181,.16), rgba(118,106,108,.15)); }
.sidebar-feature p { color: var(--muted); line-height: 1.5; }
.sidebar-quote { margin: 0; color: var(--muted); font-size: 18px; font-style: italic; line-height: 1.6; }
.sidebar-quote p { margin: 8px 0 18px; }
.sidebar-quote cite { display: block; text-align: right; font-style: normal; }
.sidebar-quote--image { aspect-ratio: 1; overflow: hidden; padding: 0; }
.sidebar-percentage-image { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.sidebar-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 15px;
  border-top: 4px solid var(--blue);
  color: #fff;
  background: linear-gradient(180deg, #bdb1b5 0%, #988d91 100%);
  font: 15px Arial, sans-serif;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

.site-footer .brand-mark {
  width: clamp(32px, 3.15vw, 44px);
  height: clamp(32px, 3.15vw, 44px);
  flex: 0 0 auto;
  border-width: 3px;
}

.site-footer .brand-mark i {
  width: 22%;
  height: 22%;
  transform: translate(-50%, -50%);
}

.site-footer .brand-mark i:nth-child(1) { top: 29%; left: 50%; }
.site-footer .brand-mark i:nth-child(2) { top: 64%; left: 30%; }
.site-footer .brand-mark i:nth-child(3) { top: 64%; left: 70%; }

.footer-brand-name{
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}
.footer-copyright {
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 900px) {
  .page { width: 100%; margin: 0 auto; }
  .content-layout { grid-template-columns: minmax(0, 13fr) minmax(0, 5fr); }
  .body-content { padding-right: clamp(8px, 2.45vw, 22px); padding-left: clamp(8px, 2.45vw, 22px); }
  .intro { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 800px) {
  .main-menu { height: auto; min-height: clamp(34px, 5.625vw, 45px); flex-wrap: wrap; }
  body { font-size: clamp(10px, 2vw, 16px); }
  .brand-copy strong { font-size: clamp(20px, 4.25vw, 34px); }
  .brand-copy small { font-size: clamp(9px, 1.5vw, 12px); }
  .header-motto { font-size: clamp(11px, 2.25vw, 18px); }
  .menu-tab { font-size: clamp(10px, 2vw, 16px); }
  .menu-tab b { font-size: clamp(12px, 2.5vw, 20px); }
  .body-content h1 { font-size: clamp(22px, 4.25vw, 34px); }
  .intro h2 { font-size: clamp(12px, 2.875vw, 23px); }
  .intro ol { font-size: clamp(10px, 2.25vw, 18px); }
  .right-sidebar h2 { font-size: clamp(10px, 2.5vw, 20px); }
  .sidebar-links a { font-size: clamp(8px, 2.125vw, 17px); }
  .sidebar-quote { font-size: clamp(8px, 2.25vw, 18px); }
  .site-footer { font-size: clamp(10px, 1.875vw, 15px); }
  .footer-brand-name { font-size: clamp(13px, 2.25vw, 18px); }
  .footer-copyright { font-size: clamp(9px, 1.5vw, 12px); }
}


.marquee {
  width: 100%;
  margin: 0;
  padding: 6px 0;
  overflow: hidden;
  box-sizing: border-box;
  border: none;
  background: rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
}

.marquee-track span {
  display: block;
  flex: 0 0 auto;
  padding-right: 4rem;
  color: #352e30;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

img
{
	border: 0;
}

a
{
	text-decoration: none;
	color: #990019;
}
a:hover
{
	text-decoration: underline;
	color: #fc0001;
}

/* Accessible, standards-based replacements for legacy HTML formatting. */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.constitution-heading { text-align: center; }
.constitution-heading--size-1 { font-size: .75rem; }
.constitution-heading--size-4 { font-size: 1.5rem; }
.constitution-heading--size-5 { font-size: 1.875rem; }
.constitution-heading--size-6 { font-size: 2.25rem; }
