/* Additions on top of the exported Webflow stylesheet. */

/* Blog post hero grid. Webflow placed these cells with page-specific IDs;
   these generic classes reproduce the same placement for every post. */
.post-hero_text { grid-area: 2 / 2 / 3 / 5; }
.post-hero_img1 { grid-area: 1 / 1 / 2 / 3; }
.post-hero_img2 { grid-area: 2 / 5 / 3 / 6; align-self: start; }
.post-hero_img3 { grid-area: 3 / 1 / 4 / 2; }
.post-hero_img4 { grid-area: 3 / 4 / 4 / 6; }
@media screen and (max-width: 991px) {
  .post-hero_text { order: 0; grid-area: 3 / 1 / 4 / 4; }
  .post-hero_img2 { grid-column: 3 / 4; }
  .post-hero_img4 { grid-area: 4 / 2 / 5 / 4; }
}

/* Older posts used empty paragraphs as spacers before headings. "bodySpacing: loose" reproduces that gap. */
.post-body.is-loose > :is(p, ul, ol) + :is(h2, h3) { margin-top: calc(20px + 41.6px); }
.post-body.is-loose > :first-child { margin-top: 41.6px; }

/* Contact form messages. Webflow's defaults (white text on light grey) were unreadable on the dark section. */
.w-form-done,
.w-form-fail {
  border-radius: var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1741234229630---button--button-radius, 8px);
  padding: 1.5rem 1.75rem;
  text-align: left;
  line-height: 1.5;
}
.w-form-done {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1741234229630---core-accent-color--accent-primary, #2e7d4f);
  border-left-width: 4px;
  color: #fff;
}
.w-form-done strong { display: block; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.25rem; }
.w-form-fail {
  background-color: rgba(255, 99, 99, 0.12);
  border: 1px solid rgba(255, 140, 140, 0.6);
  color: #ffe3e3;
  margin-top: 1rem;
}
.w-form-fail a { color: inherit; text-decoration: underline; }
