/* Instagram privacy gate + embed chrome for #stories carousel */

.ig-gate {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 18, 22, 0.25) 0%, rgba(12, 18, 22, 0.82) 55%, rgba(12, 18, 22, 0.92) 100%);
  box-sizing: border-box;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.ig-gate__panel {
  width: 100%;
  color: #fff;
  text-align: left;
}

.ig-gate__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ig-gate__text {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.ig-gate__text a {
  color: #E8CC75 !important;
  text-decoration: underline !important;
}

.ig-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: #122026;
}

.ig-gate__btn:hover {
  background: #f2f7f8;
}

.ig-gate__hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.ig-embed-host {
  position: absolute;
  inset: 0;
  z-index: 11;
  overflow: hidden;
  background: #0b1216;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ig-embed-host blockquote.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #fff;
  transform: scale(var(--ig-embed-scale, 1));
  transform-origin: top center;
}

.ig-embed-host iframe {
  margin: 0 auto !important;
  transform: scale(var(--ig-embed-scale, 1));
  transform-origin: top center;
}

.ig-open-host {
  position: absolute;
  inset: 0;
  z-index: 11;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 18, 22, 0.2), rgba(12, 18, 22, 0.9));
  box-sizing: border-box;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.ig-open-host a {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 4px;
  background: #fff;
  color: #122026 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.stories-ig-cta {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 56px;
  text-align: center;
}

.stories-ig-cta--solo {
  margin: 0;
  padding: 0;
  max-width: none;
  display: flex;
  justify-content: center;
  text-align: center;
}

.stories-social-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 560px;
  padding: 22px 24px;
  border: 1px solid #E6E2DA;
  border-radius: 6px;
  background: #FAF8F4;
}

.stories-social-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stories-social-cta__copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #6B4E42;
}

.stories-social-cta__handle {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #9A7B4F;
}

.stories-social-cta__icons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.stories-social-cta__icons .stories-ig-cta__link {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.stories-ig-cta--solo .stories-ig-cta__link {
  max-width: none;
  padding: 12px;
  border: 1px solid #E6E2DA;
  border-radius: 12px;
  background: #FAF8F4;
  transition: border-color 0.18s ease, background 0.18s ease;
  justify-content: center;
}

.stories-ig-cta--solo .stories-ig-cta__link:hover {
  border-color: #E7D7B6;
  background: #F5EDE0;
}

.stories-ig-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: none;
  text-decoration: none;
  text-align: center;
}

.stories-ig-cta__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7D7B6;
  color: #FFFFFF;
}

.stories-ig-cta__icon svg {
  display: block;
  width: auto;
  height: 20px;
  max-width: 22px;
  max-height: 22px;
}

.stories-ig-cta__copy,
.stories-ig-cta__handle {
  display: none !important;
}

.ig-gate__btn--ghost {
  margin-top: 8px;
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.ig-gate__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.map-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
}

.map-gate {
  z-index: 30;
}

.map-frame--tall {
  height: 100%;
  min-height: 460px;
}

.map-frame image-slot {
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  position: relative;
  z-index: 0;
}

.map-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(11, 18, 22, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  touch-action: manipulation;
}

.map-preview__hint {
  margin: 0;
  padding: 10px 16px;
  border-radius: 4px;
  background: rgba(18, 32, 38, 0.88);
  color: #fff;
  font: 600 13px/1.35 "Inter Tight", "Segoe UI", sans-serif;
  text-align: center;
  max-width: calc(100% - 32px);
  pointer-events: none;
}

.map-embed-host {
  position: absolute;
  inset: 0;
  z-index: 13;
  border-radius: 6px;
  overflow: hidden;
  background: #0b1216;
}

.map-embed-host iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: #fff;
  color: #122026 !important;
  font: 700 12px/1.3 "IBM Plex Sans", "Segoe UI", sans-serif;
  text-decoration: none !important;
}

@media (max-width: 640px) {
  .stories-ig-cta {
    margin-top: 36px;
    padding: 0 20px;
  }

  .stories-ig-cta--solo {
    margin: 0;
    padding: 0;
  }

  .stories-social-cta {
    gap: 16px;
    max-width: 100%;
  }

  .stories-social-cta__icons {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }

  .stories-ig-cta--solo .stories-ig-cta__link {
    padding: 10px;
  }

  .stories-ig-cta__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .stories-ig-cta__icon svg {
    height: 18px;
    max-width: 20px;
    max-height: 20px;
  }
}
