/* eSite | Author: PhDr. Pavel Bartoš, LL.M., DBA. | Version: 0.1.0-rc.5 */
:root {
  --accent: #175bdc;
  --ink: #142446;
  --muted: #6d7b91;
  --surface: #f4f7fb;
  --paper: #fff;
  --line: #e3e9f1;
  --radius: 20px;
  --max: 1200px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
select,
textarea {
  outline-offset: 4px;
}
.site-header {
  max-width: var(--max);
  margin: auto;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
}
.site-logo {
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: -0.7px;
  line-height: 1.15;
}
.site-logo img {
  max-width: 220px;
  max-height: 65px;
  display: block;
}
.site-header nav {
  margin-left: auto;
}
.site-header ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
  align-items: center;
}
.site-header li {
  position: relative;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-item > a {
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
.nav-item > a:hover {
  color: var(--accent);
}
.submenu-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 5px;
  font-size: 15px;
}
.site-header li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 12px 40px #10214418;
  align-items: stretch;
}
.site-header li > ul a {
  display: block;
  padding: 9px;
  white-space: normal;
}
.site-header li.open > ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.language-switch {
  display: flex;
  gap: 9px;
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.language-switch a {
  text-decoration: none;
  opacity: 0.55;
}
.language-switch a[aria-current='page'] {
  opacity: 1;
  font-weight: 750;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink);
}
main {
  min-height: 60vh;
}
.block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 28px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 640px;
  padding-top: 60px;
  padding-bottom: 85px;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 75px);
  line-height: 1.03;
  letter-spacing: -3.4px;
  margin: 22px 0 27px;
  font-weight: 780;
  max-width: 820px;
}
.hero p {
  max-width: 510px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  font-size: clamp(27px, 3.4vw, 43px);
  line-height: 1.2;
  letter-spacing: -1.6px;
  margin: 12px 0 25px;
}
h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}
.button:hover {
  filter: brightness(1.1);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.hero-image {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-art {
  height: 450px;
  border-radius: 45% 45% 12% 12%;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-art div {
  position: absolute;
  width: 240px;
  height: 300px;
  border-radius: 120px 120px 25px 25px;
  transform: rotate(25deg);
  background: var(--accent);
  left: 22%;
  top: 17%;
  opacity: 0.9;
}
.hero-art div:nth-child(2) {
  left: 44%;
  top: 40%;
  background: #edbd6a;
  transform: rotate(-18deg);
  width: 180px;
  height: 220px;
}
.hero-art div:nth-child(3) {
  left: -20%;
  top: 72%;
  background: var(--ink);
  transform: rotate(58deg);
  width: 340px;
  height: 160px;
}
.hero-art b {
  font-family: Georgia, serif;
  color: white;
  font-size: 240px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transform: rotate(-12deg);
}
.prose {
  max-width: 950px;
}
.prose p {
  white-space: normal;
  color: var(--muted);
  font-size: 17px;
}
.prose h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -2px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}
.content-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  position: relative;
  min-width: 0;
}
.content-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: calc(var(--radius) / 2);
}
.content-card p {
  color: var(--muted);
  font-size: 14px;
}
.content-card h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
}
.content-card h2 a {
  text-decoration: none;
}
.card-number {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 48px;
}
.content-card > a {
  display: inline-block;
  color: var(--accent);
  font-size: 23px;
  text-decoration: none;
}
.cta {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 55px;
  max-width: calc(var(--max) - 56px);
  margin: 35px auto 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta h2 {
  margin: 0 0 13px;
}
.cta p {
  margin: 0;
  color: var(--muted);
}
.cta .button {
  flex-shrink: 0;
}
.block > img,
.block > video,
.gallery img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 650px;
  object-fit: contain;
}
figure.block {
  padding-top: 25px;
  padding-bottom: 25px;
}
figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.site-footer {
  max-width: var(--max);
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 35px 28px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.site-footer strong {
  color: var(--ink);
  font-size: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  font-size: 12px;
}
.consent {
  display: none;
  position: fixed;
  left: 25px;
  right: 25px;
  bottom: 22px;
  max-width: 700px;
  z-index: 100;
  margin: auto;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 60px #11233d25;
  gap: 20px;
  align-items: center;
  font-size: 12px;
}
.consent.visible {
  display: flex;
}
.consent p {
  margin: 0;
  flex: 1;
}
.consent button {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
}
.consent button[data-consent='allow'] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.hero.align-center {
  grid-template-columns: 1fr;
}
.hero.align-center p {
  margin-left: auto;
  margin-right: auto;
}
.hero.align-center .hero-art {
  display: none;
}
.filters {
  display: flex;
  gap: 15px;
  margin: 25px 0;
  align-items: end;
}
.filters label {
  flex: 1;
}
.filters input,
.filters select,
input,
textarea,
select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.filters label {
  font-size: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.section-heading h1 {
  font-size: 50px;
  margin: 0;
  letter-spacing: -2px;
}
.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.pagination a {
  padding: 8px 15px;
  text-decoration: none;
  background: var(--surface);
  border-radius: 6px;
}
.pagination a[aria-current='page'] {
  background: var(--accent);
  color: white;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 25px 0;
}
.gallery img {
  height: 300px;
  object-fit: cover;
}
.gallery img:first-child:last-child {
  grid-column: 1/-1;
  height: 450px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
dt,
dd {
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.contact-card {
  padding: 25px;
  background: var(--surface);
  border-radius: var(--radius);
}
.contact-card p {
  margin: 0 0 7px;
}
.member-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.member-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}
.member-form .full {
  grid-column: 1/-1;
}
.member-form textarea {
  min-height: 150px;
}
.member-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.member-tabs {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.member-tabs button {
  background: var(--surface);
  border: 0;
  border-radius: 7px;
  padding: 10px 17px;
  color: var(--ink);
}
.member-status {
  padding: 14px;
  background: var(--surface);
  margin: 15px 0;
  border-radius: 8px;
}
.member-list {
  list-style: none;
  padding: 0;
}
.member-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.member-list small {
  display: block;
  color: var(--muted);
}
.member-list button {
  padding: 5px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js-motion.animation-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 18px;
  }
  .site-header ul {
    gap: 15px;
  }
  .hero {
    gap: 30px;
    min-height: 540px;
  }
  .hero-art {
    height: 360px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .card-grid {
    gap: 15px;
  }
  .content-card {
    padding: 25px;
  }
  .cta {
    margin: 25px 28px 50px;
  }
  .site-logo {
    font-size: 20px;
  }
  .language-switch {
    padding-left: 12px;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 19px 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .site-logo {
    margin-right: auto;
    max-width: 65%;
    font-size: 21px;
  }
  .site-logo img {
    max-width: 170px;
    max-height: 45px;
  }
  .menu-toggle {
    display: block;
  }
  .language-switch {
    border: 0;
    margin-left: auto;
    padding: 0;
  }
  .site-header nav {
    display: none;
    order: 5;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }
  .site-header nav.open {
    display: block;
  }
  .site-header nav > ul {
    display: block;
  }
  .site-header nav li {
    margin: 0;
  }
  .site-header .nav-item {
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .nav-item > a {
    font-size: 15px;
    white-space: normal;
    display: block;
    padding: 13px 0;
    flex: 1;
  }
  .submenu-toggle {
    padding: 10px 14px;
  }
  .site-header li > ul {
    position: static;
    box-shadow: none;
    background: var(--surface);
    border: 0;
    margin-bottom: 9px;
    padding: 6px 14px;
    border-radius: 6px;
    min-width: 0;
  }
  .site-header li > ul a {
    padding: 11px 0;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 20px 55px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.2px;
    margin: 17px 0 22px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-art {
    height: 300px;
    max-width: 100%;
    border-radius: 35% 35% 12% 12%;
  }
  .hero-art div {
    left: 27%;
    top: 5%;
  }
  .hero-art div:nth-child(2) {
    top: 40%;
    left: 47%;
  }
  .hero-art div:nth-child(3) {
    left: -4%;
  }
  .hero-art b {
    font-size: 210px;
  }
  .hero-image {
    height: 330px;
  }
  .block {
    padding: 40px 20px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 25px;
  }
  .card-number {
    margin-bottom: 30px;
  }
  .content-card h3 {
    font-size: 24px;
  }
  .cta {
    display: block;
    padding: 30px 25px;
    margin: 20px 20px 45px;
    max-width: none;
  }
  .cta .button {
    margin-top: 25px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .site-footer {
    padding: 27px 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
  }
  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
  .consent.visible {
    display: flex;
    flex-wrap: wrap;
    left: 12px;
    right: 12px;
    padding: 17px;
    gap: 12px;
  }
  .consent p {
    flex-basis: 100%;
  }
  .prose h1 {
    font-size: 37px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h1 {
    font-size: 39px;
  }
  .section-heading .button {
    margin-top: 20px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label {
    flex-basis: 100%;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img:first-child:last-child {
    height: 300px;
  }
  .member-form {
    grid-template-columns: 1fr;
  }
  .member-form .full {
    grid-column: auto;
  }
}

@font-face {
  font-family: eSiteSans;
  src: url('/esite-assets/fonts/sans.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: eSiteSerif;
  src: url('/esite-assets/fonts/serif.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: eSiteMono;
  src: url('/esite-assets/fonts/mono.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body {
  font-family: var(--body-font, eSiteSans, Arial, sans-serif);
}
h1,
h2,
h3,
.site-logo {
  font-family: var(--heading-font, var(--body-font, eSiteSans, Arial, sans-serif));
}
.site-header nav {
  font-family: var(--nav-font, var(--body-font, eSiteSans, Arial, sans-serif));
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.nav-backdrop {
  display: none;
}
.site-header .header-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.theme-subhead {
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  max-width: var(--max);
  margin: auto;
}
.menu-toggle span {
  font-size: 12px;
  margin-left: 8px;
}
.site-header li > ul li {
  width: 100%;
}
.site-header li > ul .nav-item > a {
  white-space: normal;
}
.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 55px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.contact-form .full {
  grid-column: 1/-1;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-form .check input {
  width: 18px;
  height: 18px;
}
.contact-form .contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}
.contact-status {
  font-size: 13px;
  margin-bottom: 0;
}
.contact-form button:disabled {
  opacity: 0.55;
  cursor: default;
}
.contact-intro p {
  color: var(--muted);
}
@media (hover: hover) and (min-width: 761px) {
  body[data-nav-mode='hover'] .site-header li:hover > ul,
  body[data-nav-mode='hover'] .site-header li:focus-within > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 760px) {
  .contact-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form {
    padding: 22px;
    grid-template-columns: 1fr;
  }
  .contact-form .full {
    grid-column: auto;
  }
  .header-note {
    display: none;
  }
  .site-header .header-actions {
    gap: 12px;
  }
  .theme-subhead {
    padding: 12px 20px;
    font-size: 10px;
  }
}
/* Keep drawer navigation above its page backdrop, including fixed-header themes. */
body.menu-open .site-header {
  z-index: 31;
}
/* Configurable shared header and footer. Height is a minimum so content remains readable. */
.esite-region-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}
.esite-region-item {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.esite-region-item img {
  display: block;
  width: auto;
  max-width: min(240px, 100%);
  max-height: 90px;
  object-fit: contain;
}
.esite-region-item {
  text-decoration: none;
}
.esite-region-item[href]:hover {
  text-decoration: underline;
}
.site-header[data-region-custom],
.site-footer[data-region-custom] {
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer[data-region-custom] .esite-region-items {
  width: 100%;
  justify-content: space-between;
}
.document-block .button {
  gap: 12px;
}
.document-block p {
  color: var(--muted);
}
body.esite-header-off .academy-strip,
body.esite-header-off .theme-subhead {
  display: none;
}
body.esite-header-off main,
body.esite-header-off .site-footer,
body.esite-header-flow main,
body.esite-header-flow .site-footer,
body.esite-header-flow .theme-subhead {
  margin-left: auto !important;
}
body.esite-header-flow .site-header {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--max);
  flex-direction: row !important;
  flex-wrap: wrap !important;
}
body.esite-header-flow .site-header.rail-header nav {
  flex-basis: 100%;
}
body.esite-header-flow .site-header.rail-header nav > ul {
  display: flex;
  flex-wrap: wrap;
}
body.esite-header-flow .site-header .header-kicker,
body.esite-header-flow .site-header .rail-home {
  display: none;
}
body.esite-header-fixed {
  padding-top: var(--esite-header-space, 100px);
}
body.esite-footer-fixed {
  padding-bottom: var(--esite-footer-space, 100px);
}
body.esite-header-fixed .site-header {
  position: fixed !important;
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 40 !important;
}
body.esite-footer-fixed .site-footer {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 24;
}
body.esite-header-fixed .site-header.rail-header {
  flex-direction: row;
  flex-wrap: wrap;
  padding: 20px 28px;
  gap: 20px;
}
body.esite-header-fixed .site-header.rail-header nav {
  flex-basis: 100%;
}
body.esite-header-fixed .site-header.rail-header nav > ul {
  display: flex;
  flex-wrap: wrap;
}
body.esite-header-fixed .site-header.rail-header .header-kicker,
body.esite-header-fixed .site-header.rail-header .rail-home {
  display: none;
}
body.esite-header-fixed .site-header.rail-header .language-switch {
  margin: 0;
}
body.theme-academy-gray.esite-header-fixed main,
body.theme-academy-gray.esite-header-fixed .site-footer,
body.theme-academy-gray.esite-header-fixed .theme-subhead {
  margin-left: auto;
}
body.theme-nature.esite-footer-fixed:not(.esite-header-fixed):not(.esite-header-flow) .site-header {
  bottom: calc(var(--esite-footer-space, 100px) + 22px);
}
body.esite-header-off.theme-nature {
  padding-bottom: 0;
}
@media (max-width: 760px) {
  .site-header[data-region-custom] .esite-region-items {
    flex: 1;
    gap: 10px;
  }
  .esite-region-item img {
    max-width: 140px;
    max-height: 70px;
  }
  .site-footer[data-region-custom] .esite-region-items {
    justify-content: flex-start;
  }
  .esite-region-item {
    font-size: 13px;
  }
  body.esite-header-fixed .site-header.rail-header {
    padding: 15px 20px;
  }
  body.esite-header-flow .site-header.rail-header nav > ul,
  body.esite-header-fixed .site-header.rail-header nav > ul {
    display: block;
  }
  body.esite-header-flow .site-header.rail-header nav {
    display: none;
  }
  body.esite-header-flow .site-header.rail-header nav.open {
    display: block;
  }
}
body[data-esite-preview] .esite-preview-focus {
  outline: 3px solid #175bdc;
  outline-offset: -3px;
}
.esite-image-placeholder {
  display: inline-grid;
  place-items: center;
  min-width: 80px;
  min-height: 55px;
  background: #eaf1ff;
  color: #175bdc;
  border: 1px dashed currentColor;
  font-size: 30px;
}
/* Configurable language switching, including complete visual hiding. */
body.esite-language-off .language-switch {
  display: none !important;
}
.language-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  max-width: 320px;
}
.language-options a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.language-options.language-style-names a,
.language-options.language-style-flags a {
  font-size: 12px;
  white-space: normal;
}
.language-options.language-style-buttons a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  background: var(--surface);
  opacity: 1;
}
.language-options.language-style-buttons a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.language-flag {
  width: 23px;
  height: 16px;
  flex: none;
  border: 1px solid #aaaaaa66;
  border-radius: 2px;
}
.language-globe {
  font-size: 19px;
}
.language-select {
  width: auto;
  max-width: 230px;
  font-size: 12px;
  padding: 7px 26px 7px 9px;
  line-height: 1.4;
  min-height: 32px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}
@media (max-width: 760px) {
  .language-options {
    max-width: 45vw;
    gap: 8px;
  }
  .language-options.language-style-names a,
  .language-options.language-style-flags a {
    font-size: 11px;
  }
  .language-select {
    max-width: 150px;
  }
  .language-options.language-style-buttons a {
    padding: 5px 7px;
  }
}
.social-bar {
  --social-size: 40px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px;
  max-width: 100%;
  color: var(--ink);
}
.social-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}
.social-vertical {
  flex-direction: column;
  align-items: flex-start;
}
.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: var(--social-size);
  min-height: var(--social-size);
  padding: 7px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
}
.social-bar a:hover,
.social-bar a:focus-visible {
  color: var(--accent);
}
.social-bar svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}
.social-filled a {
  background: var(--surface);
  border-color: var(--line);
}
.social-outline a {
  border-color: currentColor;
}
.social-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.social-left,
.social-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 18;
  max-height: calc(100dvh - 160px);
  max-width: min(260px, 40vw);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.social-left {
  left: 8px;
}
.social-right {
  right: 8px;
}
body[data-social-side='left'] {
  padding-left: var(--social-side-space, 64px);
}
body[data-social-side='right'] {
  padding-right: var(--social-side-space, 64px);
}
[data-social-host] {
  flex-wrap: wrap;
}
.site-footer > .social-bar {
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.site-header > .social-bar {
  flex-shrink: 0;
}
.theme-academy-gray.esite-header-theme.esite-header-on .social-left {
  left: 258px;
}
@media (max-width: 760px) {
  .social-left,
  .social-right {
    max-width: 32vw;
    max-height: calc(100dvh - 130px);
  }
  .social-bar a {
    font-size: 10px;
  }
  .site-header > .social-bar {
    flex-basis: 100%;
  }
  .theme-academy-gray.esite-header-theme.esite-header-on .social-left {
    left: 8px;
  }
}
/* Objects added to the original theme chrome retain its native navigation. */
[data-region-augmented] {
  flex-wrap: wrap;
}
[data-region-augmented] > .esite-region-items {
  grid-column: 1/-1;
  flex-basis: 100%;
  width: 100%;
  padding-top: 12px;
}
.esite-region-item[data-object-width] img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}

/* eSite appearance controls and reusable search. */
.language-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.language-style-pills a {
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--surface);
  text-decoration: none;
  opacity: 1;
}
.language-style-pills a[aria-current='page'] {
  background: var(--accent);
  color: var(--paper);
}
.language-style-underline a {
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.language-style-underline a[aria-current='page'] {
  border-color: var(--accent);
}
.language-style-segmented {
  gap: 0 !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.language-style-segmented a {
  padding: 7px 10px;
  opacity: 1;
  text-decoration: none;
}
.language-style-segmented a[aria-current='page'] {
  background: var(--ink);
  color: var(--paper);
}
.language-style-flag-codes a {
  font-size: 12px;
  text-decoration: none;
}
.language-style-flag-only a {
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  opacity: 0.65;
}
.language-style-flag-only a[aria-current='page'] {
  border-color: var(--accent);
  opacity: 1;
}
.language-compact {
  position: relative;
  font-size: 12px;
}
.language-compact summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}
.language-compact summary::-webkit-details-marker {
  display: none;
}
.language-compact > .language-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding: 9px;
  min-width: 170px;
  max-width: min(280px, 85vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 25px #0002;
  z-index: 60;
}
.language-compact[open] > .language-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.language-style-compact a {
  padding: 6px;
  font-size: 12px;
  text-decoration: none;
  white-space: normal;
}
.esite-search {
  display: flex;
  flex: 0 1 180px;
  align-items: stretch;
  gap: 0;
  width: 180px;
  min-width: 0;
  max-width: min(180px, 100%) !important;
  height: 36px;
  margin: 0;
  font: inherit;
  box-sizing: border-box;
  border: 1px solid var(--line, #ccd2dc);
  border-radius: 7px;
  background: var(--paper, #fff);
  color: var(--ink, #142446);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.esite-search:focus-within {
  border-color: var(--accent, #2759bd);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent, #2759bd) 12%, transparent);
}
.esite-search input {
  flex: 1;
  min-width: 0;
  width: 0;
  max-width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: transparent;
  color: inherit;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  box-sizing: border-box;
}
.esite-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  opacity: 1;
  padding: 7px;
  cursor: pointer;
}
.esite-search button:hover,
.esite-search button:focus-visible {
  opacity: 1;
  background: var(--surface, #f2f5fa);
}
.esite-search button svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
}
.esite-theme-search {
  flex: 0 1 auto;
  grid-column: auto;
  width: 180px;
  max-width: 100%;
  min-width: 0;
}
.site-header:has(> .esite-theme-search),
.site-footer:has(> .esite-theme-search) {
  flex-wrap: wrap;
}
.esite-region-free [data-region-type='search'] .esite-search {
  height: min(36px, 100%);
  width: 180px;
  max-width: min(180px, 100%) !important;
}
.esite-region-free [data-region-type='search'] {
  overflow: visible;
}
.esite-search-results {
  max-width: 950px;
}
.esite-search-results > h1 {
  font-size: clamp(30px, 5vw, 50px);
}
.esite-search-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.esite-search-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.esite-search-list h2 {
  font-size: 24px;
  letter-spacing: normal;
  margin: 0 0 10px;
}
.esite-search-list p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
body[data-design-style='soft'] {
  --radius: 26px;
}
body[data-design-style='soft'] :is(.content-card, .button, .contact-form, .esite-search input) {
  border-radius: 22px;
}
body[data-design-style='square'] {
  --radius: 0px;
}
body[data-design-style='square']
  :is(.content-card, .button, .contact-form, .esite-search input, .esite-search button) {
  border-radius: 0;
}
body[data-design-style='outline'] .button {
  background: transparent;
  color: var(--accent);
  border: 1px solid currentColor;
}
body[data-design-style='outline'] .content-card {
  background: transparent;
  border: 2px solid var(--line);
  box-shadow: none;
}
body[data-design-style='elevated'] :is(.content-card, .contact-form) {
  box-shadow: 0 12px 32px #0002;
}
body[data-design-style='elevated'] .button {
  box-shadow: 0 6px 15px #0002;
}
body[data-design-style='minimal'] .content-card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body[data-design-style='minimal'] .button {
  border-radius: 0;
}
/* Content remains visible without JavaScript. Only observed blocks receive motion classes. */
body.js-motion .esite-motion-target {
  transition:
    opacity var(--scroll-duration, 650ms) ease,
    transform var(--scroll-duration, 650ms) cubic-bezier(0.2, 0.65, 0.3, 1),
    filter var(--scroll-duration, 650ms) ease;
  opacity: 0;
  transform: var(--motion-transform, none);
  filter: var(--motion-filter, none);
}
body.js-motion[data-scroll-effect='reveal'] .esite-motion-target {
  --motion-transform: translateY(28px);
}
body.js-motion[data-scroll-effect='slide-left'] .esite-motion-target {
  --motion-transform: translateX(-28px);
}
body.js-motion[data-scroll-effect='slide-right'] .esite-motion-target {
  --motion-transform: translateX(28px);
}
body.js-motion[data-scroll-effect='zoom'] .esite-motion-target {
  --motion-transform: scale(0.94);
}
body.js-motion[data-scroll-effect='blur'] .esite-motion-target {
  --motion-filter: blur(7px);
  --motion-transform: translateY(12px);
}
body.js-motion[data-scroll-effect='flip'] .esite-motion-target {
  --motion-transform: perspective(1000px) rotateX(9deg);
  transform-origin: center bottom;
}
body.js-motion[data-scroll-effect='stagger'] .esite-motion-target {
  --motion-transform: translateX(-24px);
}
body.js-motion[data-scroll-effect='stagger'] .esite-motion-target:nth-child(even) {
  --motion-transform: translateX(24px);
}
body.js-motion .esite-motion-target.visible {
  opacity: 1;
  transform: none;
  filter: none;
}
body[data-scroll-effect='none'] .reveal {
  opacity: 1;
  transform: none;
}
body:has(.esite-motion-target) {
  overflow-x: clip;
}
@media (max-width: 760px) {
  .esite-search button span {
    display: none;
  }
  .language-compact summary {
    padding: 6px;
  }
  .language-options {
    max-width: min(320px, 70vw);
  }
  .esite-theme-search {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.js-motion .esite-motion-target {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
@media print {
  body.js-motion .esite-motion-target {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .esite-theme-search {
    display: none;
  }
}

/* Responsive map embeds retain provider controls and attribution. */
.esite-map-heading h2 {
  margin-top: 0;
}
.esite-map-frame {
  width: 100%;
  height: var(--map-height, 320px);
  border: 1px solid var(--line, #ccd2dc);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: var(--surface, #f2f5fa);
}
.esite-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
}
.esite-map-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  font-size: 13px;
}
.esite-map-caption address {
  font-style: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}
.esite-map-caption a {
  color: var(--accent);
  text-decoration: none;
  flex: none;
}
.esite-map-caption a:hover {
  text-decoration: underline;
}
.esite-map-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius, 12px);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 760px) {
  .esite-map-caption {
    flex-direction: column;
    gap: 8px;
  }
  .esite-map-frame {
    height: min(var(--map-height, 320px), 420px);
  }
}

/* Blog uses theme colours and keeps article order identical in every layout. */
.esite-blog {
  max-width: 1180px;
  margin-inline: auto;
  overflow-wrap: anywhere;
}
.esite-blog h1 {
  margin-bottom: 1rem;
}
.esite-blog-list {
  margin-top: 2rem;
}
.esite-blog-card {
  min-width: 0;
  background: var(--surface, #fff);
  color: var(--ink, #222);
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 12px;
  overflow: hidden;
}
.esite-blog-picture {
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.esite-blog-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.esite-blog-picture:hover img {
  transform: scale(1.03);
}
.esite-blog-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 3rem;
  opacity: 0.4;
}
.esite-blog-copy {
  padding: 1.4rem;
}
.esite-blog-copy h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.25;
}
.esite-blog-copy h2 a {
  color: inherit;
  text-decoration: none;
}
.esite-blog-copy h2 a:hover {
  text-decoration: underline;
}
.esite-blog-meta {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0.25rem 0;
}
.esite-blog-top {
  display: inline-block;
  border-radius: 4px;
  background: #aa761a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  letter-spacing: 0.08em;
}
.esite-blog-horizontal {
  display: grid;
  gap: 1.5rem;
}
.esite-blog-horizontal .esite-blog-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}
.esite-blog-horizontal .esite-blog-picture {
  aspect-ratio: 1;
  align-self: start;
}
.esite-blog-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.esite-blog-tiles .esite-blog-picture {
  aspect-ratio: 1;
}
.esite-blog-newspaper {
  column-count: 3;
  column-gap: 2rem;
  column-rule: 1px solid #ddd;
}
.esite-blog-newspaper .esite-blog-card {
  break-inside: avoid-column;
  margin-bottom: 1.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.esite-blog-newspaper .esite-blog-picture {
  aspect-ratio: 3/2;
}
.esite-blog-newspaper .esite-blog-copy {
  padding: 1rem 0;
}
.esite-blog-newspaper .esite-blog-copy h2 {
  font-family: Georgia, serif;
}
.esite-blog-detail {
  max-width: 850px;
}
.esite-blog-detail header {
  margin: 2rem 0;
}
.esite-blog-subtitle {
  font-size: 1.15em;
  line-height: 1.5;
}
.esite-blog-intro {
  font-size: 1.2em;
  line-height: 1.7;
  font-weight: 600;
}
.esite-blog-body {
  line-height: 1.85;
  white-space: normal;
  margin: 2rem 0;
}
.esite-blog-cover,
.esite-blog-bottom {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  margin: 1.5rem 0;
}
.esite-blog a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
@media (max-width: 850px) {
  .esite-blog-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .esite-blog-newspaper {
    column-count: 2;
  }
  .esite-blog-horizontal .esite-blog-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .esite-blog-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .esite-blog-newspaper {
    column-count: 1;
  }
  .esite-blog-horizontal .esite-blog-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .esite-blog-horizontal .esite-blog-picture {
    aspect-ratio: 16/9;
  }
  .esite-blog-copy {
    padding: 1rem;
  }
}

/* The magnifier belongs to search, independently of menu icon settings. */
form.esite-search button .esite-search-icon {
  display: block !important;
  visibility: visible;
  opacity: 1;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
form.esite-search button .esite-search-icon :is(circle, path) {
  fill: none;
  stroke: currentColor;
}
