/* Osty 2.0.6 late fixes */
.ms-apple-header.main-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  height: 44px !important;
  min-height: 44px !important;
  background: rgba(251, 251, 253, .76) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
}

/* Osty 2.0.6 mobile lock */
@media (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .ms-apple-header.main-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    background: rgba(251, 251, 253, .88) !important;
    border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 0 !important;
  }

  .ms-apple-header .main-header__layout {
    width: 100% !important;
    max-width: none !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 18px !important;
  }

  .ms-apple-header .main-header__inner {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }

  .ms-apple-logo {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 22px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: rgba(29, 29, 31, .78) !important;
  }

  .ms-apple-logo img {
    max-width: 72px !important;
    max-height: 22px !important;
    object-fit: contain !important;
  }

  .ms-apple-logo span {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .ms-apple-header .main-header--widgets {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .ms-apple-actions {
    display: flex !important;
    height: 48px !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .ms-apple-action {
    width: 22px !important;
    height: 48px !important;
    color: rgba(29, 29, 31, .62) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ms-apple-action svg {
    width: 20px !important;
    height: 20px !important;
  }

  .ms-apple-action[aria-label="Bag"] svg {
    width: 17px !important;
    height: 17px !important;
  }

  .ms-apple-menu-toggle {
    display: flex !important;
    width: 22px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ms-apple-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 1.5px !important;
    background: rgba(29, 29, 31, .7) !important;
  }

  .ms-apple-nav {
    display: block !important;
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(251, 251, 253, .98) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    z-index: 9999 !important;
  }

  .ms-apple-header.is-menu-open .ms-apple-nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .ms-apple-menu {
    width: min(100% - 48px, 420px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 24px 0 48px !important;
  }

  .ms-apple-menu a,
  .ms-apple-menu a:visited,
  .ms-apple-menu a:hover,
  .ms-apple-menu a:focus {
    height: auto !important;
    padding: 9px 0 !important;
    font-size: 28px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    color: rgba(29, 29, 31, .88) !important;
  }

  .elementor,
  .elementor-section,
  .elementor-container,
  .elementor-column,
  .elementor-widget-wrap,
  .e-con,
  .e-con-inner {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .elementor-widget-heading,
  .elementor-widget-heading .elementor-heading-title {
    width: 100% !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    transform: none !important;
  }

  .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(40px, 12vw, 58px) !important;
    line-height: .95 !important;
    letter-spacing: 0 !important;
  }

  .ms-project-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto 26px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ms-project-hero .hero__images {
    width: 100% !important;
    max-width: 100% !important;
    height: 168px !important;
    min-height: 168px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    overflow: visible !important;
    transform: none !important;
  }

  .ms-project-hero .hero__image {
    width: 32vw !important;
    min-width: 104px !important;
    max-width: 138px !important;
    aspect-ratio: 1.04 / 1 !important;
    margin: 0 0 0 -12vw !important;
    border-radius: 18px !important;
  }

  .ms-project-hero .hero__image:first-child {
    margin-left: 0 !important;
  }

  .elementor-widget-text-editor,
  .elementor-widget-text-editor * {
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .elementor-widget-button,
  .elementor-widget-button .elementor-button-wrapper {
    text-align: center !important;
  }
}

.ms-apple-header .main-header__layout {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
}

.ms-apple-header .main-header__inner {
  min-height: 44px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 24px !important;
}

.ms-apple-logo {
  height: 44px !important;
  width: auto !important;
  min-width: 18px !important;
  display: flex !important;
  align-items: center !important;
  color: rgba(29, 29, 31, .72) !important;
  text-decoration: none !important;
}

.ms-apple-logo img {
  max-height: 20px !important;
  width: auto !important;
}

.ms-apple-nav {
  justify-self: center !important;
}

.ms-apple-menu {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.ms-apple-menu a,
.ms-apple-menu a:visited,
.ms-apple-menu a:hover,
.ms-apple-menu a:focus {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: rgba(29, 29, 31, .58) !important;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.ms-apple-header .main-header--widgets {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: 18px !important;
}

.ms-apple-actions {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.ms-apple-action {
  height: 44px !important;
  width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(29, 29, 31, .58) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.ms-apple-action svg {
  width: 21px !important;
  height: 21px !important;
}

.ms-apple-menu-toggle {
  display: none !important;
}

.ms-project-hero {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 28px auto 40px !important;
  clear: both !important;
}

.ms-project-hero .hero__images {
  position: relative !important;
  z-index: 1 !important;
  height: 310px !important;
  min-height: 310px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  overflow: visible !important;
  margin: 0 !important;
}

.ms-project-hero .hero__image {
  position: relative !important;
  z-index: 1 !important;
  width: clamp(190px, 15vw, 290px) !important;
  aspect-ratio: 1.04 / 1 !important;
  margin: 0 0 0 -72px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #e8ecef !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .14) !important;
}

.ms-project-hero .hero__image:first-child {
  margin-left: 0 !important;
}

.ms-project-hero .hero__image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.ms-project-card__meta {
  display: none !important;
}

.elementor-heading-title {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .ms-apple-header.main-header {
    height: 44px !important;
    min-height: 44px !important;
    background: rgba(251, 251, 253, .78) !important;
    color: #1d1d1f !important;
  }

  .ms-apple-header .main-header__layout {
    padding: 0 16px !important;
  }

  .ms-apple-header .main-header__inner {
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .ms-apple-logo {
    grid-column: 1 !important;
    height: 44px !important;
    width: 18px !important;
    color: rgba(29, 29, 31, .72) !important;
    justify-content: flex-start !important;
  }

  .ms-apple-logo span {
    font-size: 17px !important;
  }

  .ms-apple-header .main-header--widgets {
    grid-column: 3 !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    gap: 12px !important;
  }

  .ms-apple-actions {
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .ms-apple-action {
    height: 44px !important;
    width: 22px !important;
    color: rgba(29, 29, 31, .58) !important;
  }

  .ms-apple-action svg {
    width: 20px !important;
    height: 20px !important;
  }

  .ms-apple-action[aria-label="Bag"] svg {
    width: 17px !important;
    height: 17px !important;
  }

  .ms-apple-menu-toggle {
    display: flex !important;
    height: 44px !important;
    width: 22px !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .ms-apple-menu-toggle span {
    width: 18px !important;
    height: 1.5px !important;
    background: rgba(29, 29, 31, .58) !important;
  }

  .ms-apple-header.is-menu-open .ms-apple-menu-toggle span:first-child {
    transform: translateY(3.25px) rotate(45deg) !important;
  }

  .ms-apple-header.is-menu-open .ms-apple-menu-toggle span:last-child {
    transform: translateY(-3.25px) rotate(-45deg) !important;
  }

  .ms-apple-nav {
    display: block !important;
    position: fixed !important;
    top: 44px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - 44px) !important;
    overflow: auto !important;
    background: rgba(251, 251, 253, .98) !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease !important;
    z-index: 999 !important;
  }

  .ms-apple-header.is-menu-open .ms-apple-nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .ms-apple-menu {
    height: auto !important;
    width: min(100% - 56px, 420px) !important;
    margin: 0 auto !important;
    padding: 22px 0 46px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .ms-apple-menu a,
  .ms-apple-menu a:visited,
  .ms-apple-menu a:hover,
  .ms-apple-menu a:focus {
    height: auto !important;
    padding: 8px 0 !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    color: rgba(29, 29, 31, .88) !important;
    background: transparent !important;
    text-decoration: none !important;
  }

  .ms-project-hero .hero__images {
    height: 210px !important;
    min-height: 210px !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow: visible !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
  }

  .ms-project-hero .hero__image {
    width: 32vw !important;
    max-width: 155px !important;
    min-width: 110px !important;
    aspect-ratio: 1.04 / 1 !important;
    margin-left: -12vw !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14) !important;
  }

  .ms-project-hero .hero__image:first-child {
    margin-left: 0 !important;
  }
}
