.elementor-widget-one_city_location_card,
.elementor-widget-one_city_location_card > .elementor-widget-container {
  width: 100%;
}

.oc-location-card {
  --oc-location-card-overlay: rgba(0, 0, 0, 0.7);
  --oc-location-card-image-blur: 10px;
  --oc-location-card-image-scale: 1.05;
  --oc-location-card-content-offset: 40px;
  --oc-location-card-image-height: 360px;
  --oc-location-card-stack-gap: 24px;
  --oc-location-card-cta-underline: #ffffff;

  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.oc-location-card *,
.oc-location-card *::before,
.oc-location-card *::after {
  box-sizing: border-box;
}

.oc-location-card__media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.oc-location-card__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: filter 550ms ease, transform 550ms ease;
}

.oc-location-card:is(:hover, :focus-within) .oc-location-card__image,
.elementor-widget-one_city_location_card:hover .oc-location-card__image {
  filter: blur(var(--oc-location-card-image-blur));
}

.oc-location-card__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.oc-location-card__copy {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* Layout 1 — overlay card */
.oc-location-card--layout-1 {
  height: 467px;
  overflow: hidden;
  border-radius: 24px;
}

.oc-location-card--layout-1 .oc-location-card__media {
  height: 100%;
  border-radius: 24px;
}

.oc-location-card--layout-1:is(:hover, :focus-within) .oc-location-card__image,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-1 .oc-location-card__image {
  transform: scale(var(--oc-location-card-image-scale));
}

.oc-location-card__link {
  position: absolute;
  z-index: 10;
  top: 40px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(250, 252, 255, 0.2);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.24);
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(3.5px);
  backdrop-filter: blur(3.5px);
  transition: opacity 450ms ease, top 450ms ease;
}

.oc-location-card--layout-1:is(:hover, :focus-within) .oc-location-card__link,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-1 .oc-location-card__link {
  top: 20px;
  opacity: 1;
}

.oc-location-card__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  opacity: 1;
}

.oc-location-card__link-icon {
  display: grid;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.oc-location-card__link-svg {
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: translate 450ms cubic-bezier(0.34, 1.42, 0.64, 1);
}

.oc-location-card__link-svg--hover {
  translate: -100% 100%;
}

.oc-location-card__link:hover .oc-location-card__link-svg:not(.oc-location-card__link-svg--hover),
.oc-location-card__link:focus-visible .oc-location-card__link-svg:not(.oc-location-card__link-svg--hover) {
  translate: 100% -100%;
}

.oc-location-card__link:hover .oc-location-card__link-svg--hover,
.oc-location-card__link:focus-visible .oc-location-card__link-svg--hover {
  translate: 0 0;
}

.oc-location-card__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent, var(--oc-location-card-overlay));
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.oc-location-card--layout-1:is(:hover, :focus-within) .oc-location-card__overlay,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-1 .oc-location-card__overlay {
  opacity: 1;
}

.oc-location-card--layout-1 .oc-location-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 40px;
  opacity: 0;
  filter: blur(16px);
  pointer-events: none;
  transition: opacity 600ms ease-in-out 75ms, bottom 600ms ease-in-out 75ms, filter 600ms ease-in-out 75ms;
}

.oc-location-card--layout-1:is(:hover, :focus-within) .oc-location-card__content,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-1 .oc-location-card__content {
  bottom: var(--oc-location-card-content-offset);
  opacity: 1;
  filter: blur(0);
}

.oc-location-card__eyebrow {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.oc-location-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 50%;
}

/* Layout 2 — stacked card */
.oc-location-card--layout-2 {
  height: auto;
  overflow: visible;
  border-radius: 0;
}

.oc-location-card--layout-2 .oc-location-card__hit {
  display: flex;
  flex-direction: column;
  gap: var(--oc-location-card-stack-gap);
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.oc-location-card--layout-2 a.oc-location-card__hit {
  cursor: pointer;
}

.oc-location-card--layout-2 .oc-location-card__hit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.oc-location-card--layout-2 .oc-location-card__media {
  height: var(--oc-location-card-image-height);
  border-radius: 20px;
}

.oc-location-card--layout-2 .oc-location-card__image {
  transform: none;
}

.oc-location-card--layout-2:is(:hover, :focus-within) .oc-location-card__image,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-2 .oc-location-card__image {
  transform: none;
}

.oc-location-card--layout-2 .oc-location-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: static;
  width: 100%;
  padding: 0;
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.oc-location-card--layout-2 .oc-location-card__title {
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.oc-location-card--layout-2 .oc-location-card__copy {
  color: #ffffff;
}

.oc-location-card--layout-2 .oc-location-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.oc-location-card--layout-2 .oc-location-card__cta-text {
  white-space: nowrap;
}

.oc-location-card--layout-2 .oc-location-card__cta-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.oc-location-card--layout-2 .oc-location-card__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0.7em;
  height: 1px;
  background-color: var(--oc-location-card-cta-underline);
  transition: width 450ms ease;
}

.oc-location-card--layout-2:is(:hover, :focus-within) .oc-location-card__cta::after,
.elementor-widget-one_city_location_card:hover .oc-location-card--layout-2 .oc-location-card__cta::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .oc-location-card__title {
    font-size: 32px;
  }

  .oc-location-card__body {
    width: 70%;
  }

  .oc-location-card--layout-2 .oc-location-card__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .oc-location-card--layout-1 {
    height: 400px;
  }

  .oc-location-card__title {
    font-size: 28px;
  }

  .oc-location-card__body {
    width: 100%;
  }

  .oc-location-card--layout-1 .oc-location-card__content {
    padding: 0 24px;
  }

  .oc-location-card--layout-2 .oc-location-card__title {
    font-size: 24px;
  }

  .oc-location-card--layout-2 .oc-location-card__cta-text {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oc-location-card__image,
  .oc-location-card__link,
  .oc-location-card__link-svg,
  .oc-location-card__overlay,
  .oc-location-card--layout-1 .oc-location-card__content,
  .oc-location-card--layout-2 .oc-location-card__cta::after {
    transition: none;
  }

  .oc-location-card:is(:hover, :focus-within) .oc-location-card__image,
  .elementor-widget-one_city_location_card:hover .oc-location-card__image {
    filter: none;
    transform: none;
  }

  .oc-location-card__link,
  .oc-location-card__overlay,
  .oc-location-card--layout-1 .oc-location-card__content {
    opacity: 1;
    filter: none;
  }

  .oc-location-card__link {
    top: 20px;
  }

  .oc-location-card--layout-1 .oc-location-card__content {
    bottom: var(--oc-location-card-content-offset);
  }

  .oc-location-card__link-svg--hover {
    translate: none;
  }

  .oc-location-card--layout-2 .oc-location-card__cta::after {
    width: 100%;
  }
}
