html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.topnav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  padding: 10px 24px 14px !important;
  overflow: visible !important;
}

.menu-toggle {
  display: none;
}

.topnav-right {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
}

.topnav a {
  float: none !important;
  display: block;
  margin: 0 !important;
  padding: 10px 12px !important;
  line-height: 1.2;
}

.slideshow-container {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
}

.slideshow-container.is-clickable {
  cursor: pointer;
}

.slideshow-container + br {
  display: none;
}

.mySlides {
  position: relative;
}

.mySlides img {
  display: block;
  filter: brightness(105%);
  width: 100% !important;
  height: clamp(360px, 58vw, 720px) !important;
  object-fit: cover;
}

.mySlides img[src*="DSC04652"],
.mySlides img[src*="IMG_0074"] {
  object-position: center 14%;
}

.mySlides img[src*="DSC_2655"] {
  object-position: 34% top;
}

.mySlides img[src*="DSC05104"] {
  object-position: 18% center;
}

h1 {
  max-width: 1100px;
  margin: 0;
  padding: 0 24px !important;
  top: 0 !important;
  left: 0;
  font-size: clamp(36px, 6vw, 65px) !important;
  line-height: 1.08;
}

.mySlides h1 {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.76) 0%,
    rgba(0, 0, 0, 0.52) 48%,
    rgba(0, 0, 0, 0) 100%
  );
  box-shadow: none;
  box-sizing: border-box;
  font-weight: 350 !important;
  max-width: none;
  padding: clamp(24px, 4vw, 46px) 24px clamp(72px, 10vw, 130px) clamp(24px, 7vw, 90px) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  width: 100% !important;
}

h1 h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 4vw, 50px) !important;
  line-height: 1.1 !important;
}

.contact-details {
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-details a {
  color: white;
}

nobr {
  white-space: normal;
}

.row {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.column,
.columnpic {
  min-width: 0;
}

.column img,
.columnpic img {
  width: 100% !important;
  max-width: 900px !important;
  height: auto !important;
  object-fit: contain;
}

footer {
  margin: 0 !important;
}

hr[style*="height:5px"] {
  background-color: rgba(255, 255, 255, 0.65) !important;
  border: 0 !important;
  color: transparent !important;
  height: 1px !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .topnav a {
    font-size: 20px !important;
  }

  .row {
    gap: 18px;
  }

  h3 {
    font-size: clamp(40px, 8vw, 65px) !important;
    line-height: 1.05 !important;
  }

  h4 {
    font-size: clamp(20px, 4vw, 30px) !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 700px) {
  .topnav {
    justify-content: flex-start;
    min-height: 58px;
    padding: 8px 12px !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menu-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    padding: 8px;
    position: relative;
    width: 46px;
    z-index: 1200;
  }

  .menu-toggle span {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
    width: 28px;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .topnav-right {
    align-items: stretch;
    background: #211D63;
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.24);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    height: 100vh;
    justify-content: flex-start;
    left: 0;
    max-width: 82vw;
    padding: 86px 22px 28px;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 220ms ease, visibility 220ms ease;
    visibility: hidden;
    width: 300px;
    z-index: 1100;
  }

  body.menu-open .topnav-right {
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  body.menu-open::after {
    background: rgba(0, 0, 0, 0.34);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 900;
  }

  .topnav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
    font-size: 18px !important;
    padding: 16px 4px !important;
    text-align: left;
  }

  .topnav a:has(.material-icons) {
    border-bottom: 0;
    padding-top: 18px !important;
  }

  .mySlides img {
    height: 430px !important;
  }

  .mySlides img[src*="IMG_0074"] {
    object-position: 78% 14%;
  }

  .mySlides img[src*="DSC04896"] {
    object-position: 85% center;
  }

  h1 {
    top: 0 !important;
    font-size: 38px !important;
    line-height: 1.08 !important;
  }

  h1 h2 {
    font-size: 25px !important;
  }

  .row {
    display: flex;
    flex-direction: column;
    padding: 22px 16px !important;
  }

  .column,
  .columnpic {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .row .column h2,
  .row .column h4 {
    text-align: center !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row .column h2 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .row .column h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }

  .pic {
    max-width: 180px;
  }

  h3 {
    padding: 0 16px;
    font-size: 38px !important;
  }

  h4 {
    padding: 0 16px !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
  }

  footer {
    padding: 36px 18px !important;
  }
}

@media (max-width: 420px) {
  .topnav a {
    font-size: 17px !important;
  }

  .mySlides img {
    height: 390px !important;
  }

  h1 {
    top: 0 !important;
    font-size: 32px !important;
  }

  h1 h2 {
    font-size: 21px !important;
  }
}

body > div[style*="background-color:#211D63"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(16px, 4vw, 32px) !important;
  padding-right: clamp(16px, 4vw, 32px) !important;
}

@media (max-width: 700px) {
  body > div[style*="background-color:#211D63"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body > div[style*="background-color:#211D63"] > h3,
  body > div[style*="background-color:#211D63"] > h4 {
    position: static !important;
    width: auto !important;
    text-align: center !important;
  }
}
