/* Drift Geometry Visualizer page (/{lang}/drift-geometry).
   The app lives in an iframe (app/index.html) with its own styles;
   only the page header and the frame are styled here. */

#module-dp_geometry-visualizer #content.dpgeo {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dpgeo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin: 0 0 20px;
}

.dpgeo-head-text {
  flex: 1 1 520px;
  max-width: 820px;
}

#module-dp_geometry-visualizer #wrapper .dpgeo-eyebrow {
  margin: 0 0 6px;
  color: var(--dp-amber, #f4b63d);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#module-dp_geometry-visualizer #wrapper .dpgeo-title {
  margin: 0 0 12px;
  color: var(--dp-white, #fff);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

#module-dp_geometry-visualizer #wrapper .dpgeo-lead {
  margin: 0 0 8px;
  color: #d7d7dc;
  font-size: 16px;
  line-height: 1.55;
}

#module-dp_geometry-visualizer #wrapper .dpgeo-note {
  margin: 0;
  color: #aaaab2;
  font-size: 13px;
  line-height: 1.5;
}

.dpgeo-open {
  flex: 0 0 auto;
}

/* The app pins its parameter dock to the bottom of its own viewport,
   so the frame is one screen tall and scrolls inside. */
.dpgeo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dp-line, #2b2b32);
  border-radius: var(--dp-radius, 3px);
  background: #0a0b0d;
}

.dpgeo-frame iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 24px);
  height: calc(100svh - 24px);
  min-height: 600px;
  border: 0;
  background: #0a0b0d;
}

#module-dp_geometry-visualizer #wrapper .dpgeo-noscript {
  margin: 0;
  padding: 24px;
  color: #d7d7dc;
}

@media (max-width: 767px) {
  .dpgeo-head {
    margin-bottom: 14px;
  }

  #module-dp_geometry-visualizer #wrapper .dpgeo-lead {
    font-size: 15px;
  }

  .dpgeo-open {
    width: 100%;
    text-align: center;
  }

  .dpgeo-frame {
    margin: 0 -15px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .dpgeo-frame iframe {
    min-height: 560px;
  }
}
