/* Shared styles across all three directions */

/* Sensible cross-design reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* Portrait placeholder — striped svg-ish backdrop with mono caption */
.hba-portrait-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background:
    repeating-linear-gradient(
      135deg,
      currentColor 0 1px,
      transparent 1px 10px
    );
  opacity: 0.9;
}
.hba-portrait-placeholder::after {
  content: attr(data-caption);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 2px;
  margin: 10px;
}
