:root {
  --restyle-radius-lg: 24px;
  --restyle-radius-md: 18px;
  --restyle-radius-sm: 14px;
  --restyle-shadow-soft: 0 18px 40px rgba(20, 24, 33, 0.08);
  --restyle-shadow-card: 0 14px 30px rgba(20, 24, 33, 0.1);
  --restyle-shadow-image: 0 22px 42px rgba(20, 24, 33, 0.14);
  --restyle-border: rgba(154, 30, 30, 0.08);
}

body {
  background:
    radial-gradient(circle at top left, rgba(154, 30, 30, 0.05), transparent 28%),
    linear-gradient(180deg, #fcfcfc 0%, #f6f4f2 100%);
}

.jw-background {
  background: transparent;
}

.header-wrap {
  backdrop-filter: saturate(140%) blur(10px);
}

.jw-is-no-slideshow .header-wrap,
.jw-is-header-affix .header-wrap {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.06);
}

.header-wrap__inner {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.jw-header-image,
.jw-mobile-logo {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.main-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    linear-gradient(180deg, #f8f7f5 0%, #f2efeb 100%);
}

.jw-strip {
  border-radius: var(--restyle-radius-lg);
  overflow: hidden;
}

.jw-strip--style-color,
.jw-strip--style-split-image,
.jw-strip--style-image {
  box-shadow: var(--restyle-shadow-soft);
}

.jw-strip--style-color .jw-strip__content-container,
.jw-strip--style-split-image .jw-strip__content-container,
.jw-strip--style-image .jw-strip__content-container {
  position: relative;
}

.jw-strip--style-color .jw-strip__content-container::before,
.jw-strip--style-split-image .jw-strip__content-container::before,
.jw-strip--style-image .jw-strip__content-container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid var(--restyle-border);
  border-radius: inherit;
}

.jw-strip--color-default {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 246, 0.98));
}

.jw-strip--color-shaded {
  background: linear-gradient(180deg, rgba(244, 240, 236, 0.96), rgba(237, 233, 228, 0.96));
}

.jw-strip--color-inverse {
  background: linear-gradient(180deg, #424242 0%, #333333 100%);
}

.jw-strip--color-accent {
  background: linear-gradient(135deg, #8e1d1d 0%, #b12626 100%);
}

.jw-strip__image-container img,
.jw-imagewrap img,
.jw-gallery-image img,
.jw-slideshow-image {
  transform: translateZ(0);
}

.jw-strip--style-image .jw-strip__image-container img,
.jw-strip--style-split-image .jw-strip__image-container img,
.jw-imagewrap img,
.jw-gallery-image img {
  transition: transform 300ms ease, filter 300ms ease;
}

.jw-strip--style-image:hover .jw-strip__image-container img,
.jw-strip--style-split-image:hover .jw-strip__image-container img,
.jw-imagewrap:hover img,
.jw-gallery-image:hover img {
  transform: scale(1.012);
  filter: saturate(1.03);
}

.jw-strip__image-container,
.jw-imagewrap,
.jw-gallery-image,
.jw-element-image img,
.jw-element-video iframe,
.jw-element-video video,
.jw-element-map,
.jw-element-map iframe,
.jw-element-form,
.jw-element-social-media,
.jw-element-social-follow,
.jw-element-iframe,
.jw-element-iframe iframe {
  border-radius: var(--restyle-radius-md);
}

.jw-strip__image-container,
.jw-imagewrap,
.jw-gallery-image,
.jw-element-image img,
.jw-element-video iframe,
.jw-element-map,
.jw-element-map iframe,
.jw-element-iframe iframe {
  box-shadow: var(--restyle-shadow-image);
}

.jw-columns__item > .jw-element,
.jw-grid__item > .jw-element,
.jw-element-form,
.jw-element-text,
.jw-element-button,
.jw-element-social-media,
.jw-element-social-follow,
.jw-element-video,
.jw-element-audio,
.jw-element-map {
  position: relative;
}

.jw-strip--color-default .jw-columns__item > .jw-element-text,
.jw-strip--color-default .jw-grid__item > .jw-element-text,
.jw-strip--color-shaded .jw-columns__item > .jw-element-text,
.jw-strip--color-shaded .jw-grid__item > .jw-element-text {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--restyle-radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.jw-element-form {
  padding: 18px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--restyle-shadow-card);
}

.jw-element-form-input-text,
.jw-element-form select,
.jw-element-form textarea {
  border-radius: 12px;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.jw-btn,
button,
input[type="submit"] {
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(154, 30, 30, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.jw-btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(154, 30, 30, 0.22);
}

.jw-menu-link {
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.jw-menu-item > .jw-menu-link:hover,
.jw-menu-is-hover > .jw-menu-link,
.jw-menu-is-active > .jw-menu-link {
  background: rgba(154, 30, 30, 0.08) !important;
}

.jw-strip--color-inverse .jw-menu-item > .jw-menu-link:hover,
.jw-strip--color-inverse .jw-menu-is-hover > .jw-menu-link,
.jw-strip--color-inverse .jw-menu-is-active > .jw-menu-link {
  background: rgba(255, 255, 255, 0.1) !important;
}

.jw-strip__content {
  position: relative;
  z-index: 1;
}

.block-footer {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #353535 0%, #2d2d2d 100%);
}

.jw-section-footer .jw-strip {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

@media (max-width: 768px) {
  .jw-strip {
    border-radius: 18px;
  }

  .jw-strip--color-default .jw-columns__item > .jw-element-text,
  .jw-strip--color-default .jw-grid__item > .jw-element-text,
  .jw-strip--color-shaded .jw-columns__item > .jw-element-text,
  .jw-strip--color-shaded .jw-grid__item > .jw-element-text,
  .jw-element-form {
    padding: 14px;
  }

  .header-wrap__inner {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}
