@import "/assets/app/shared/styles/page.3e88c4172a9633bb.css";

/**
 * Sized by height, not by ratio: `aspect-ratio` together with `max-height`
 * lets the browser derive the width from the clamped height, which leaves
 * the banner short of the page edge.
 */
.post-hero {
  position: relative;
  width: 100%;
  height: clamp(15rem, 36vw, 30rem);
  margin: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-head {
  display: grid;
  gap: var(--space-5);
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-8);
  border-bottom: var(--line);
}

.post-head h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  overflow-wrap: break-word;
  font-weight: 800;
  font-stretch: 108%;
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}

.post-head p {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--ink-soft);
}

.post-body {
  padding-block: var(--space-10);
}
