.a51-po-hangar-card {
  cursor: pointer;
}

.a51-po-hangar-card:focus-visible {
  outline: 3px solid #f3bb4e;
  outline-offset: 5px;
}

.a51-po-hangar-card .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}

.a51-po-hangar-card:hover .a51-more .elementor-heading-title {
  transform: translateX(4px);
}

html:has(#prompt-optimizer),
body:has(#prompt-optimizer) {
  overflow-x: clip !important;
}

body:has(#prompt-optimizer) #content,
body:has(#prompt-optimizer) .page-content,
body:has(#prompt-optimizer) .elementor-20 {
  max-width: 100vw;
  overflow-x: clip !important;
}

body:has(#prompt-optimizer) .e-off-canvas[aria-hidden="true"] {
  display: none !important;
}

html:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]),
body:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]) {
  overflow-x: clip !important;
}

body:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]) #content,
body:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]) .page-content,
body:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]) .elementor-20 {
  max-width: 100vw;
  overflow-x: clip !important;
}

body:has(.e-off-canvas[aria-label="The Hangar"][aria-hidden="false"]) .e-off-canvas[aria-hidden="true"] {
  display: none !important;
}

.e-off-canvas[aria-label="The Hangar"] .e-off-canvas__main,
.e-off-canvas[aria-label="The Hangar"] .e-off-canvas__content {
  overflow-x: clip;
}

.a51-po-inline__body {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr) !important;
  align-items: stretch !important;
  gap: 20px !important;
}

.a51-po-inline__app,
.a51-po-inline__story {
  --width: 100% !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: 100%;
}

.a51-po-inline__app {
  padding: 0 !important;
  overflow: hidden;
}

.a51-po-inline__app > .elementor-element,
.a51-po-inline__app .elementor-widget-container {
  width: 100%;
  height: 100%;
}

.a51-po-inline__app-shell {
  width: 100%;
  height: 100%;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  background: #0b1020;
}

.a51-po-inline__bar {
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(136, 170, 255, .24);
  color: #b3c0e5;
  font: 700 12px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.a51-po-inline__bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.a51-po-inline__bar i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #55e6aa;
  box-shadow: 0 0 14px rgba(85, 230, 170, .8);
}

.a51-po-inline__bar a {
  color: #f3bb4e;
  text-decoration: none;
}

.a51-po-inline__app iframe {
  display: block;
  width: 100%;
  min-height: 670px;
  flex: 1;
  border: 0;
  background: #0b1020;
}

.a51-po-inline__story {
  justify-content: flex-start !important;
}

.a51-po-inline__story .a51-more {
  margin-top: auto;
  padding-top: 22px;
}

@media (max-width: 900px) {
  .a51-po-inline__body {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .a51-po-inline__app-shell {
    min-height: 760px;
  }

  .a51-po-inline__app iframe {
    min-height: 710px;
  }
}

@media (max-width: 540px) {
  .a51-po-inline__body {
    gap: 12px !important;
  }

  .a51-po-inline__app-shell {
    min-height: 790px;
  }

  .a51-po-inline__app iframe {
    min-height: 740px;
  }

  .a51-po-inline__bar {
    padding: 0 12px;
    font-size: 10px;
  }

  .a51-po-inline__bar a {
    font-size: 0;
  }

  .a51-po-inline__bar a::after {
    content: "Full app ↗";
    font-size: 10px;
  }
}
