@font-face {
  font-family: "MedusaWBFont";
  src: url("medusa-wb-font.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nc-page-max: 1400px;
  --nc-page-gutter: clamp(18px, 5vw, 80px);
  --nc-space-1: 4px;
  --nc-space-2: 8px;
  --nc-space-3: 12px;
  --nc-space-4: clamp(16px, 2vw, 24px);
  --nc-space-5: clamp(24px, 4vw, 48px);
  --nc-radius: 8px;
  --nc-gallery-tile: 150px;
  --nc-editor-color-1: #0f6f6a;
  --nc-editor-color-2: #2a9db0;
  --nc-editor-color-3: #17324d;
  --nc-editor-color-4: #c8a45d;
  --nc-font: "MedusaWBFont", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nc-details-transition-duration: 0.9s;
}

body {
  font-family: var(--nc-font);
}

.nc-cms,
.nc-article,
.nc-blog,
.nc-blog-post {
  line-height: 1.65;
}
.nc-article img,
.nc-blog img,
.nc-blog-post img,
.nc-article .cms-image,
.nc-blog .cms-image,
.nc-blog-post .cms-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.nc-article iframe,
.nc-blog iframe,
.nc-blog-post iframe,
.nc-article .cms-media,
.nc-blog .cms-media,
.nc-blog-post .cms-media {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}
.nc-gallery {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--nc-gallery-tile)), 1fr));
  gap: var(--nc-space-3);
  margin: var(--nc-space-4) 0;
}
.nc-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--nc-radius);
  background: #eef2f6;
}
.nc-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 240ms ease;
}
.nc-gallery-item:hover img {
  transform: scale(1.03);
}
.nc-gallery-empty {
  padding: var(--nc-space-4);
  border: 1px dashed #b8c4d0;
  border-radius: var(--nc-radius);
  color: #5f6b7a;
}
.nc-cms-error {
  padding: var(--nc-space-4);
  margin: var(--nc-space-4) 0;
  border: 1px solid #b42318;
  border-radius: var(--nc-radius);
  background: #fff5f5;
  color: #8f1d16;
}
.nc-blog-post {
  margin: var(--nc-space-4) 0;
  padding-bottom: var(--nc-space-4);
  border-bottom: 1px solid #dfe7ef;
}
.cms-c1 { color: var(--nc-editor-color-1); }
.cms-c2 { color: var(--nc-editor-color-2); }
.cms-c3 { color: var(--nc-editor-color-3); }
.cms-c4 { color: var(--nc-editor-color-4); }
.cms-align-left { text-align: left; }
.cms-align-center { text-align: center; }
.cms-align-right { text-align: right; }
.cms-align-justify { text-align: justify; }
.cms-price-list {
  width: 100%;
  margin: var(--nc-space-4) 0;
  border-collapse: collapse;
}
.cms-price-list td,
.cms-price-list th {
  padding: 10px;
  border: 1px solid #cdd6df;
}
.cms-expand {
  margin: var(--nc-space-4) 0;
  padding: var(--nc-space-3);
  border: 1px solid #cdd6df;
  border-radius: var(--nc-radius);
}
.cms-expand summary {
  cursor: pointer;
  font-weight: 700;
}
.nc-details-content {
  overflow: hidden;
  transition:
    height var(--nc-details-transition-duration) ease,
    opacity var(--nc-details-transition-duration) ease;
}
.nc-details-content[hidden] {
  display: none;
}
.nc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nc-space-2);
  margin: var(--nc-space-4) 0;
}
.nc-pagination-link {
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  text-align: center;
}
.nc-pagination-active {
  background: #111318;
  color: #fff;
}

.nc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: var(--nc-space-4);
  background: rgba(0, 0, 0, 0.84);
}
.nc-lightbox[hidden] {
  display: none;
}
.nc-lightbox img {
  display: block;
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 72px);
  object-fit: contain;
}
.nc-lightbox-button {
  position: fixed;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  color: #24262b;
  cursor: pointer;
}
.nc-lightbox-prev,
.nc-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}
.nc-lightbox-prev {
  left: 16px;
}
.nc-lightbox-next {
  right: 16px;
}
.nc-lightbox-prev::before,
.nc-lightbox-next::before {
  content: "";
  width: 16px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}
.nc-lightbox-prev::before {
  transform: translateX(3px) rotate(-45deg);
}
.nc-lightbox-next::before {
  transform: translateX(-3px) rotate(135deg);
}
.nc-lightbox-button[hidden] {
  display: none;
}

@supports (height: 1dvh) {
  .nc-lightbox img {
    max-height: calc(100dvh - 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-gallery-item img {
    transition: none;
  }
}

@media (max-width: 620px) {
  .nc-lightbox {
    padding-inline: 52px;
  }

  .nc-lightbox-button {
    width: 40px;
    height: 40px;
  }

  .nc-lightbox-prev {
    left: 10px;
  }

  .nc-lightbox-next {
    right: 10px;
  }
}
