* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  text-decoration: none;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}
*[data-anim] {
  opacity: 0;
}
img.fullwidth {
  display: block;
  width: 100%;
}
img.maxwidth {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
/*
section,
.container {
    position: relative;
    .clear-fix();
}

.container {
    padding-bottom: 50px;
}
*/
.flexbox-container {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  align-items: center;
}
.flexbox-row {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.flexbox-row > div {
  float: none;
}
nobr {
  white-space: nowrap;
}
.animation {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
}
:root {
  /* LIGHT */
  --bg-header: #1E6091;
  --bg-footer: #1B263B;
  --bg-main: #F2E6D8;
  --bg-aside: #153455;
  --bg-surface: #f9f3ed;
  --bg-search: #bddbf1;
  --bg-theme-toggle: #1B263B;
  --bg-menu-toggle: #153455;
  --accent-warm: #E76F51;
  --text-header: #ffffff;
  --text-footer: #bddbf1;
  --text-main: #0D1B2A;
  --text-main-secondary: #243A5E;
  --text-aside: #ffffff;
  --text-muted: #1E6091;
  --text-search: #153455;
  --link-aside: #ffffff;
  --link-aside-hover: #FFD166;
  --link-aside-active: #e0ebfc;
  --buoy-red: #E76F51;
  --buoy-red-dark: #e45c3b;
  --buoy-blue: #1E6091;
  --buoy-blue-dark1: #1b5884;
  --buoy-blue-dark2: #194f78;
  --buoy-white: #ffffff;
  --buoy-white-dark: #cccccc;
}
body.dark {
  /* DARK */
  --bg-header: #153455;
  --bg-footer: #153455;
  --bg-main: #0D1B2A;
  --bg-aside: #1B263B;
  --bg-surface: #153455;
  --bg-search: #1E6091;
  --bg-theme-toggle: #bddbf1;
  --bg-menu-toggle: #153455;
  --accent-warm: #E76F51;
  --text-header: #ffffff;
  --text-footer: #ffffff;
  --text-main: #e0ebfc;
  --text-main-secondary: #bddbf1;
  --text-aside: #ffffff;
  --text-muted: #F2E6D8;
  --text-search: #ffffff;
  --link-aside: #ffffff;
  --link-aside-hover: #FFD166;
  --link-aside-active: #e0ebfc;
  --buoy-red: #e45c3b;
  --buoy-red-dark: #cf401d;
  --buoy-blue: #243A5E;
  --buoy-blue-dark1: #203353;
  --buoy-blue-dark2: #1c2c48;
  --buoy-white: #d9d9d9;
  --buoy-white-dark: #999999;
}
header {
  transition: background 0.3s, color 0.3s;
  background: var(--bg-header);
  color: var(--text-header);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  will-change: background-color;
}
@media (max-width: 767px) {
  header {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0;
    right: 0;
    z-index: 101;
  }
}
header .mobile-hidden {
  display: flex;
  align-items: center;
  gap: 8px;
}
header .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 32px;
  padding: 6px 8px;
  background: var(--bg-menu-toggle);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  cursor: pointer;
  margin-left: 4px;
}
@media (max-width: 767px) {
  header .hamburger {
    display: flex !important;
  }
}
header .hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-header);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
header .hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header .hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
header .hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.theme-toggle {
  padding: 7px 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: none;
  cursor: pointer;
  background: var(--bg-theme-toggle);
  color: var(--text-header);
  margin-left: 5px;
}
@media (max-width: 767px) {
  .theme-toggle {
    margin: 16px auto 0;
  }
}
main {
  display: flex;
  transition: background 0.3s, color 0.3s;
  background: var(--bg-main);
  color: var(--text-main);
  will-change: background-color;
}
@media (max-width: 767px) {
  main {
    padding-top: var(--aside-top, 0px);
  }
}
main aside {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-aside);
  color: var(--text-aside);
  min-height: 100dvh;
  will-change: background-color;
}
@media (max-width: 767px) {
  main aside {
    position: fixed;
    top: var(--aside-top, 0px);
    left: 0;
    width: 100%;
    min-height: 0;
    max-height: calc(100dvh - var(--aside-top, 0px));
    z-index: 100;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  main aside.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
main aside .aside-inner {
  position: sticky;
  top: var(--aside-top, 0px);
  height: calc(100dvh - var(--aside-top, 0px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
@media (max-width: 767px) {
  main aside .aside-inner {
    position: static;
    height: auto;
    overflow-y: visible;
    text-align: center;
  }
}
main aside .site-logo {
  display: block;
}
@media (max-width: 767px) {
  main aside .site-logo {
    width: 40%;
    margin: 0 auto 16px;
  }
}
main aside .site-logo svg {
  display: block;
  width: 100%;
  height: auto;
}
main aside .site-logo .svg-logo-red {
  fill: var(--buoy-red);
}
main aside .site-logo .svg-logo-blue {
  fill: var(--buoy-blue);
}
main aside .site-logo .svg-logo-white {
  fill: var(--buoy-white);
}
main aside .site-logo .svg-logo-yellow {
  fill: #FFD166;
}
main aside .aside-menu {
  flex-shrink: 0;
  padding: 24px;
}
main aside .site-nav li {
  list-style: none;
}
main aside .site-nav li.current-menu-item a {
  color: var(--link-aside-active);
}
main aside .site-nav a {
  display: block;
  color: var(--link-aside);
  text-decoration: none;
  margin-bottom: 12px;
}
main aside .site-nav a:hover {
  color: var(--link-aside-hover);
}
main aside .animated-buoy {
  margin-top: auto;
  flex-shrink: 0;
  height: auto;
  width: 100%;
  overflow: hidden;
}
main aside .animated-buoy svg {
  display: block;
}
main aside .animated-buoy .buoy-red {
  fill: var(--buoy-red);
  stroke: var(--buoy-red);
}
main aside .animated-buoy .buoy-red-dark {
  fill: var(--buoy-red-dark);
}
main aside .animated-buoy .buoy-blue {
  fill: var(--buoy-blue);
}
main aside .animated-buoy .buoy-blue-dark1 {
  fill: var(--buoy-blue-dark1);
}
main aside .animated-buoy .buoy-blue-dark2 {
  fill: var(--buoy-blue-dark2);
}
main aside .animated-buoy .buoy-white {
  fill: var(--buoy-white);
}
main aside .animated-buoy .buoy-white-dark {
  fill: var(--buoy-white-dark);
}
main aside .animated-buoy .buoy-yellow {
  fill: #FFD166;
}
main article {
  flex: 1;
}
main article .main-content {
  padding: 36px 60px;
  max-width: calc(1600px + 260px);
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}
@media (max-width: 767px) {
  main article .main-content {
    padding: 16px;
  }
}
@media (min-width: 1280px) {
  main article .main-content {
    padding-right: calc(260px + 60px);
  }
}
main article .post-meta {
  color: var(--text-main-secondary);
  font-style: italic;
  margin-bottom: 30px;
}
main article p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 16px;
}
main article p a:not(.peipus-ref-link) {
  text-decoration: underline;
  color: var(--text-search);
}
main article p a:not(.peipus-ref-link):hover {
  background: var(--bg-header);
  color: var(--text-footer);
}
main article .quote {
  border-left: 4px solid var(--accent-warm);
  padding-left: 16px;
  font-style: italic;
  margin: 20px 0;
}
main article .wp-block-list {
  list-style-position: inside;
  margin: 30px 0;
}
main article .wp-block-list li {
  padding: 3px 0;
}
main article .wp-block-image {
  width: fit-content;
  max-width: 100%;
  margin: 30px auto;
  background: var(--bg-surface);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
main article .wp-block-image.small-img {
  max-width: 50%;
}
main article .wp-block-image.bordered {
  border: 1px solid var(--bg-header);
}
main article .wp-block-image:hover {
  -moz-transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -o-transform: scale(1.01);
  -ms-transform: scale(1.01);
  transform: scale(1.01);
}
main article .wp-block-image:hover a {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -o-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}
main article .wp-block-image a {
  display: block;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  transition: all 0.6s ease;
  position: relative;
  z-index: 1;
}
main article .wp-block-image:not(.small-img) img {
  display: block;
  width: auto !important;
  height: auto;
  max-width: 100%;
  max-height: calc(90dvh - 50px);
}
main article .wp-block-image .wp-element-caption {
  contain: inline-size;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 22px 15px 20px;
  margin: 0;
  overflow-wrap: break-word;
  position: relative;
  z-index: 3;
  background: var(--bg-surface);
}
main article .wp-block-gallery {
  margin: 30px auto;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--wp--style--gallery-gap-default, 8px) !important;
}
main article .wp-block-gallery.img-count-1 {
  grid-template-columns: repeat(1, 1fr);
  width: 20%;
}
main article .wp-block-gallery.img-count-2 {
  grid-template-columns: repeat(2, 1fr);
  width: 40%;
}
main article .wp-block-gallery.img-count-3 {
  grid-template-columns: repeat(3, 1fr);
  width: 60%;
}
main article .wp-block-gallery.img-count-4 {
  grid-template-columns: repeat(4, 1fr);
  width: 80%;
}
main article .wp-block-gallery.img-count-5 {
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
}
@media (max-width: 1399px) {
  main article .wp-block-gallery.img-count-1 {
    width: 25%;
  }
  main article .wp-block-gallery.img-count-2 {
    width: 50%;
  }
  main article .wp-block-gallery.img-count-3 {
    width: 75%;
  }
  main article .wp-block-gallery.img-count-4 {
    width: 100%;
  }
  main article .wp-block-gallery.img-count-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  main article .wp-block-gallery.img-count-1 {
    width: 33%;
  }
  main article .wp-block-gallery.img-count-2 {
    width: 67%;
  }
  main article .wp-block-gallery.img-count-3,
  main article .wp-block-gallery.img-count-4,
  main article .wp-block-gallery.img-count-5 {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}
@media (max-width: 767px) {
  main article .wp-block-gallery.img-count-1 {
    width: 50%;
  }
  main article .wp-block-gallery.img-count-2,
  main article .wp-block-gallery.img-count-3,
  main article .wp-block-gallery.img-count-4,
  main article .wp-block-gallery.img-count-5 {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
main article .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  display: none !important;
}
main article .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: linear-gradient(0deg, rgba(21, 52, 85, 0.6) 50%, rgba(21, 52, 85, 0));
  backdrop-filter: blur(5px);
  padding: 10px 4px;
}
main article .wp-block-gallery .wp-block-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  width: 100% !important;
  margin: 0;
  box-shadow: none;
  background: transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
main article .wp-block-gallery .wp-block-image:hover {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -o-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}
main article .wp-block-gallery .wp-block-image:hover a {
  -moz-transform: scale(1.08);
  -webkit-transform: scale(1.08);
  -o-transform: scale(1.08);
  -ms-transform: scale(1.08);
  transform: scale(1.08);
}
main article .wp-block-gallery .wp-block-image a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
main article .wp-block-gallery .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  max-height: none;
}
main article .wp-block-gallery .wp-block-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
main article .wp-block-gallery .wp-block-image.left img {
  object-position: left center;
}
main article .wp-block-gallery .wp-block-image.right img {
  object-position: right center;
}
main article .map-wrapper {
  margin: 30px auto;
  background: var(--bg-surface);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
main article .map-wrapper #homepage-map {
  -webkit-border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid var(--bg-header);
}
main article .map-wrapper .map-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 12px 15px 10px;
}
main article .wp-block-video {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow: hidden;
}
main article .wp-block-embed {
  margin: 30px auto;
  width: 100%;
}
main article .wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}
main article .wp-block-embed .wp-block-embed__wrapper iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}
footer {
  transition: background 0.3s, color 0.3s;
  background: var(--bg-footer);
  color: var(--text-footer);
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  will-change: background-color;
}
#homepage-map {
  height: calc(100dvh - 80px);
}
#homepage-map .map-marker {
  cursor: pointer;
}
#homepage-map .map-marker img {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
#homepage-map .mapboxgl-popup {
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.2));
}
#homepage-map .mapboxgl-popup-content {
  background: var(--bg-search);
  color: var(--text-main);
  padding: 6px 10px 4px;
  border-radius: 6px;
  font-size: 13px;
}
#homepage-map .mapboxgl-popup-tip {
  border-top-color: var(--bg-search);
}
.search-form {
  display: flex;
  align-items: stretch;
  border-radius: 4px;
  overflow: hidden;
}
.search-input {
  padding: 8px 12px;
  background: var(--bg-search);
  color: var(--text-search);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  flex: 1;
}
.search-input::-webkit-search-cancel-button {
  display: none;
}
.search-submit {
  padding: 8px 10px;
  background: var(--bg-search);
  color: var(--text-search);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.search-submit:hover {
  opacity: 0.8;
}
.search-results__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-main);
}
.search-results__title em {
  font-style: italic;
  color: var(--text-muted);
}
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
}
.search-result-item {
  display: block;
  padding: 16px 20px;
  background: var(--bg-surface);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: var(--text-main);
  transition: background 0.2s;
}
.search-result-item:hover {
  background: var(--bg-search);
  color: var(--text-search);
}
.search-result-item:hover .search-result-item__meta {
  color: var(--text-search);
}
.search-result-item__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.search-result-item__excerpt {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 8px;
}
.search-result-item__meta {
  font-size: 12px;
  color: var(--text-muted);
}
.search-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.search-pagination a,
.search-pagination span {
  padding: 6px 12px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 14px;
}
.search-pagination a:hover,
.search-pagination span:hover,
.search-pagination a.current,
.search-pagination span.current {
  background: var(--bg-search);
  color: var(--text-search);
}
.search-form--large {
  margin-top: 24px;
  max-width: 400px;
}
.search-form--large input.search {
  flex: 1;
  font-size: 16px;
  padding: 12px 16px;
}
.search-form--large .search-submit {
  padding: 12px 14px;
}
@keyframes waveA {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-18px);
  }
}
@keyframes waveB {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(14px);
  }
}
@keyframes waveC {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
}
@keyframes buoySway {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
@keyframes buoyBob {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes beaconFlash {
  0%,
  35%,
  100% {
    opacity: 1;
  }
  20%,
  28% {
    opacity: 0.1;
  }
}
@keyframes halo1 {
  0%,
  35%,
  100% {
    opacity: 0.5;
  }
  20%,
  28% {
    opacity: 0;
  }
}
@keyframes halo2 {
  0%,
  35%,
  100% {
    opacity: 0.2;
  }
  20%,
  28% {
    opacity: 0;
  }
}
.wave-a {
  animation: waveA 3s ease-in-out infinite;
}
.wave-b {
  animation: waveB 3.6s ease-in-out infinite 0.4s;
}
.wave-c {
  animation: waveC 2.8s ease-in-out infinite 0.9s;
}
.buoy-bob {
  animation: buoyBob 2.6s ease-in-out infinite;
}
.buoy-sway {
  animation: buoySway 3.6s ease-in-out infinite;
  transform-origin: 114px 130px;
}
.beacon {
  animation: beaconFlash 2.2s ease-in-out infinite;
}
.bh1 {
  animation: halo1 2.2s ease-in-out infinite;
}
.bh2 {
  animation: halo2 2.2s ease-in-out infinite;
}
.mobile-hidden {
  display: block;
}
.mobile-visible {
  display: none;
}
@media (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }
  .mobile-visible {
    display: block !important;
  }
}
@media (min-width: 1280px) {
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 0.75);
  }
}
