:root {
  --cube-accent: #0b4f6c;
}

.md-content img {
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.md-typeset code {
  background-color: rgba(11, 79, 108, 0.08);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}

.md-typeset h1 {
  color: var(--cube-accent);
}

/* Constrain hero logo to MkDocs Material content column */
.hero-logo {
  max-width: 100%;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

/* Responsive image scaling */
.hero-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 280px;
}

/* Responsive interactive embeds (Plotly HTML iframes) */
.interactive-embed {
  margin: 1rem 0 2rem 0;
}

.interactive-embed iframe {
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--md-shadow-z2);
  background: var(--md-default-bg-color);
}

@media (max-width: 900px) {
  .interactive-embed iframe {
    height: 420px;
  }
}

.interactive-embed__fallback {
  margin: 0.5rem 0 0 0;
  font-size: 0.85em;
  opacity: 0.85;
}
