/* 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-ig-cta--solo .stories-ig-cta__link {
  max-width: 560px;
  padding: 22px 24px;
  border: 1px solid #E6E2DA;
  border-radius: 6px;
  background: #FAF8F4;
  transition: border-color 0.18s ease, background 0.18s ease;
}

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

.stories-ig-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  text-decoration: none;
  text-align: left;
}

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

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

.stories-ig-cta__copy {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.stories-ig-cta__handle {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.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-btn {
  position: absolute;
  inset: 0;
  z-index: 20;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: auto;
}

.map-preview__hint {
  margin: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(18, 32, 38, 0.88);
  color: #fff;
  font: 600 12px/1.3 "IBM Plex Sans", "Segoe UI", sans-serif;
  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-ig-cta__link {
    gap: 12px;
  }
}
