:root {
  color-scheme: light;
  --ipse-navy: #0b2342;
  --ipse-navy-deep: #071a31;
  --ipse-blue: #16446f;
  --ipse-gold: #cc9a34;
  --ipse-paper: #ffffff;
  --ipse-tint: #f1f6fb;
  --ipse-line: #d5e1ec;
  --ipse-copy: #102a49;
  --content-width: 1240px;
  --nav-height: 58px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem); }
body {
  margin: 0;
  background: var(--ipse-paper);
  color: var(--ipse-copy);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ipse-navy); text-underline-offset: .18em; text-decoration-color: var(--ipse-gold); }
a:hover { color: var(--ipse-blue); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ipse-gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  z-index: 1000;
  top: .5rem;
  left: .5rem;
  transform: translateY(-160%);
  padding: .65rem 1rem;
  background: var(--ipse-navy);
  color: var(--ipse-paper);
}
.skip-link:focus { transform: translateY(0); }

.brand-row {
  width: min(100% - 48px, 1420px);
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}
.brand-mark { display: block; width: clamp(230px, 31vw, 440px); line-height: 0; }
.brand-mark img { display: block; width: 100%; height: auto; }
.language-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.language-nav a {
  color: var(--ipse-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.language-nav a:hover { color: var(--ipse-gold); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ipse-paper);
  border-top: 1px solid var(--ipse-line);
  border-bottom: 2px solid var(--ipse-gold);
  box-shadow: 0 5px 20px rgba(11, 35, 66, .08);
}
.site-nav-inner { width: min(100% - 32px, 1480px); margin: 0 auto; }
.mobile-menu-toggle { display: none; }
.site-menu, .site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu {
  min-height: var(--nav-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.site-menu > li { position: relative; display: flex; align-items: stretch; }
.menu-entry { display: flex; align-items: stretch; }
.site-menu a, .menu-label, .menu-expand {
  min-height: var(--nav-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: var(--ipse-navy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-menu > li > .menu-entry > a,
.site-menu > li > .menu-label { border-bottom: 3px solid transparent; }
.site-menu a:hover, .site-menu a:focus-visible, .menu-label:hover, .menu-label:focus-visible {
  color: var(--ipse-blue);
  border-bottom-color: var(--ipse-gold);
}
.menu-expand { width: 30px; padding: 0; }
.chevron {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.menu-item.is-expanded > .menu-entry .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 210;
  display: none;
  min-width: 230px;
  background: var(--ipse-paper);
  border: 1px solid var(--ipse-line);
  border-top: 3px solid var(--ipse-gold);
  box-shadow: 0 12px 28px rgba(11, 35, 66, .14);
}
.submenu li { position: relative; }
.submenu a, .submenu .menu-label {
  min-height: 43px;
  width: 100%;
  justify-content: flex-start;
  padding: 10px 16px;
  border-bottom: 1px solid var(--ipse-line);
  font-size: 11px;
  white-space: normal;
}
.submenu .menu-entry { width: 100%; }
.submenu .menu-expand { min-height: 43px; border-bottom: 1px solid var(--ipse-line); }
.submenu .submenu { top: -3px; left: 100%; }
.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu,
.menu-item.is-expanded > .submenu { display: block; }

.page-body { min-height: 52vh; padding: 42px 24px 88px; }
.page-body.is-home { padding: 0 0 88px; }
.content-shell { width: min(100%, var(--content-width)); margin: 0 auto; }
.page-title {
  margin: 0 auto 32px;
  color: var(--ipse-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.article-meta { margin: -18px 0 28px; color: var(--ipse-navy); font-size: .9rem; }
.article-content { color: var(--ipse-copy); overflow-wrap: anywhere; }
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
  color: var(--ipse-navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}
.article-content h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
.article-content h2 { margin-top: 2.3em; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.article-content h3 { margin-top: 1.8em; font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.article-content p, .article-content li, .article-content td, .article-content th,
.article-content label, .article-content blockquote { color: var(--ipse-copy) !important; }
.article-content p { max-width: 82ch; margin: 0 0 1.15em; }
.article-content img { display: block; max-width: 100%; height: auto; margin: 1.2rem auto; }
.article-content figure { margin: 1.8rem 0; }
.article-content figcaption { color: var(--ipse-navy); font-size: .88rem; }
.article-content blockquote {
  margin: 1.6rem 0;
  padding: .4rem 0 .4rem 1.4rem;
  border-left: 3px solid var(--ipse-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}
.article-content table { width: 100%; border-collapse: collapse; }
.article-content th { background: var(--ipse-navy); color: var(--ipse-paper) !important; text-align: left; }
.article-content th, .article-content td { padding: 11px 13px; border: 1px solid var(--ipse-line); }
.article-content tr:nth-child(even) { background: var(--ipse-tint); }
.article-content form { max-width: 780px; padding: 22px; border: 1px solid var(--ipse-line); background: var(--ipse-tint); }
.article-content input, .article-content select, .article-content textarea {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ipse-line);
  border-radius: 0;
  background: var(--ipse-paper);
  color: var(--ipse-navy);
}
.article-content input[type="submit"], .article-content button, .article-content .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--ipse-navy);
  background: var(--ipse-navy);
  color: var(--ipse-paper) !important;
  font-weight: 700;
  text-decoration: none;
}
.article-content input[type="submit"]:hover, .article-content button:hover,
.article-content .elementor-button:hover { background: var(--ipse-gold); color: var(--ipse-navy) !important; }
.article-content .elementor-section { padding: clamp(22px, 4vw, 52px) 0; }
.article-content .elementor-container { width: min(100%, var(--content-width)); margin: 0 auto; }
.article-content .elementor-column { min-width: 0; }
.article-content .elementor-widget-wrap { padding: clamp(10px, 1.5vw, 22px); }
.article-content .elementor-widget-heading .elementor-heading-title { margin: 0 0 .55em; }
.article-content .elementor-widget-text-editor { line-height: 1.7; }
.article-content .elementor-button-wrapper { margin: 12px 0; }
.article-content .elementor-video, .article-content iframe { width: 100%; border: 0; }
.article-content .elementor-video iframe { aspect-ratio: 16 / 9; height: auto; }
.article-content .elementor-post__card, .article-content .elementor-widget-image-box,
.article-content .elementor-widget-icon-box { height: 100%; border: 1px solid var(--ipse-line); background: var(--ipse-paper); }
.article-content .elementor-post__text, .article-content .elementor-image-box-content,
.article-content .elementor-icon-box-content { padding: 18px; }
.article-content .elementor-background-overlay { opacity: .24; }
.article-content .e-con { width: 100%; }
.article-content [style*="color: #888"], .article-content [style*="color:#888"],
.article-content [style*="color: #777"], .article-content [style*="color:#777"],
.article-content [style*="color: #808080"], .article-content [style*="color:#808080"] { color: var(--ipse-navy) !important; }

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 112px) max(24px, calc((100vw - var(--content-width)) / 2));
  background: linear-gradient(115deg, var(--ipse-navy-deep), var(--ipse-navy) 67%, var(--ipse-blue));
  color: var(--ipse-paper);
}
.home-hero::after {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -20%;
  width: 42vw;
  height: 42vw;
  max-width: 660px;
  max-height: 660px;
  border: 1px solid rgba(204, 154, 52, .48);
  border-radius: 50%;
  content: "";
}
.home-hero .elementor-container { width: min(100%, var(--content-width)); margin: 0 auto; }
.home-hero .elementor-widget-wrap { max-width: 920px; padding: 0; }
.home-hero h1, .home-hero h2, .home-hero h3, .home-hero p,
.home-hero .elementor-heading-title { color: var(--ipse-paper) !important; }
.home-hero h1, .home-hero .elementor-heading-title {
  margin: 0 0 .45em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
}
.home-hero p { font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.home-hero .elementor-button { border-color: var(--ipse-gold); background: var(--ipse-gold); color: var(--ipse-navy) !important; }
.is-home .article-content > .elementor > .elementor-section:not(.home-hero) { padding-inline: 24px; }
.is-home .article-content > .elementor > .elementor-section:not(.home-hero) .elementor-container { width: min(100%, var(--content-width)); }

.site-footer { background: var(--ipse-navy); color: var(--ipse-paper); }
.footer-grid {
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: 52px 0 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.footer-group h2 { margin: 0 0 14px; color: var(--ipse-paper); font-size: .82rem; letter-spacing: .1em; }
.footer-group ul { margin: 0; padding: 0; list-style: none; }
.footer-group li { margin: 0 0 8px; }
.footer-group a, .social-links a { color: var(--ipse-paper); text-decoration-color: var(--ipse-gold); }
.footer-group a:hover, .social-links a:hover { color: var(--ipse-gold); }
.footer-bottom {
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: 17px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: var(--ipse-paper);
  font-size: .82rem;
}
.social-links { display: flex; flex-wrap: wrap; gap: 17px; }

.knowledge-link {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ipse-gold);
  border-radius: 50%;
  background: var(--ipse-navy);
  color: var(--ipse-paper);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 35, 66, .24);
}
.knowledge-link span { font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.cookie-banner {
  position: fixed;
  z-index: 300;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  background: var(--ipse-navy);
  color: var(--ipse-paper);
  border-top: 3px solid var(--ipse-gold);
  box-shadow: 0 -8px 28px rgba(11, 35, 66, .18);
}
.cookie-banner p { max-width: 760px; margin: 0; color: var(--ipse-paper); font-size: .86rem; line-height: 1.45; }
.cookie-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.cookie-actions a { color: var(--ipse-paper); }
.cookie-actions button {
  min-height: 38px;
  padding: 6px 18px;
  border: 1px solid var(--ipse-gold);
  background: var(--ipse-gold);
  color: var(--ipse-navy);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1260px) {
  :root { --nav-height: 54px; }
  .site-nav-inner { width: 100%; }
  .mobile-menu-toggle {
    min-height: var(--nav-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border: 0;
    background: var(--ipse-paper);
    color: var(--ipse-navy);
    cursor: pointer;
  }
  .mobile-menu-toggle .menu-icon { width: 24px; height: 16px; display: inline-flex; flex-direction: column; justify-content: space-between; }
  .mobile-menu-toggle .menu-icon i { display: block; height: 2px; background: var(--ipse-navy); }
  .site-menu { display: none; align-items: stretch; min-height: 0; padding: 8px 18px 18px; }
  .site-nav.is-open .site-menu { display: block; max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; overscroll-behavior: contain; }
  .site-menu > li { display: block; border-top: 1px solid var(--ipse-line); }
  .site-menu > li:last-child { border-bottom: 1px solid var(--ipse-line); }
  .site-menu a, .menu-label, .menu-expand { min-height: 46px; padding: 10px 8px; font-size: 12px; }
  .site-menu > li > .menu-entry > a, .site-menu > li > .menu-label { border-bottom: 0; }
  .site-menu > li > .menu-entry { width: 100%; }
  .site-menu > li > .menu-entry > a, .site-menu > li > .menu-label { flex: 1; justify-content: flex-start; }
  .site-menu > li > .menu-entry > .menu-expand { width: 46px; }
  .submenu, .submenu .submenu { position: static; min-width: 0; display: none; border: 0; border-top: 1px solid var(--ipse-line); box-shadow: none; padding-left: 15px; }
  .menu-item.is-expanded > .submenu { display: block; }
  .submenu a, .submenu .menu-label { min-height: 42px; padding: 9px 12px; }
  .submenu .menu-entry { width: 100%; }
  .submenu .menu-expand { min-height: 42px; }
  .menu-item:hover > .submenu, .menu-item:focus-within > .submenu { display: none; }
  .menu-item.is-expanded:hover > .submenu, .menu-item.is-expanded:focus-within > .submenu { display: block; }
}

@media (max-width: 760px) {
  .brand-row { width: min(100% - 32px, 600px); min-height: auto; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0; }
  .brand-mark { width: min(100%, 390px); }
  .language-nav { justify-content: flex-start; gap: 4px 11px; }
  .page-body { padding: 30px 18px 68px; }
  .page-body.is-home { padding: 0 0 68px; }
  .home-hero { min-height: 400px; padding: 48px 22px; }
  .is-home .article-content > .elementor > .elementor-section:not(.home-hero) { padding-inline: 18px; }
  .article-content .elementor-container { display: flex; flex-direction: column; gap: 12px; }
  .article-content .elementor-column { width: 100% !important; }
  .article-content .elementor-section { padding: 24px 0; }
  .article-content table { display: block; max-width: 100%; overflow-x: auto; }
  .footer-grid { width: min(100% - 36px, 600px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 38px 0 28px; }
  .footer-bottom { width: min(100% - 36px, 600px); }
  .cookie-banner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 13px 18px; }
  .cookie-actions { flex-wrap: wrap; }
  .knowledge-link { right: 12px; bottom: 12px; width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  .brand-mark { width: min(100%, 310px); }
  .language-nav a { font-size: 10px; }
  .home-hero { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
