/* Shared post compositions: identical native blocks in the editor and frontend. */
.single-post-page .post-hero {
  margin: 50px;
  min-height: 350px;
  overflow: hidden;
  align-items: end;
}

.single-post-page .post-hero__media picture {
  display: block;
  height: 100%;
  width: 100%;
}

.single-post-page .post-hero__media img {
  object-position: var(--fa-editorial-focus-x, 50%) var(--fa-editorial-focus-y, 50%);
}

.single-post-page .post-hero__panel {
  margin: 120px 0 0;
  max-width: none;
  padding: 28px 10%;
  width: 70%;
}

.single-post-page .post-hero__panel h1 {
  font-family: var(--fa-heading-font, var(--fa-font-body, sans-serif));
  font-size: var(--fa-heading-size, 32px);
  font-weight: var(--fa-heading-weight, 400);
  line-height: var(--fa-heading-leading, 1.3);
  text-transform: var(--fa-heading-transform, uppercase);
}

.single-post-page .post-hero__categories {
  font-size: 16px;
  margin-top: 36px;
}

.single-post-page .post-hero__categories a { color: inherit; text-decoration: none; }

.single-post-page .single-post__content {
  padding-block: 30px 100px;
  width: 75%;
  max-width: 1080px;
}

.single-post__content > .fa-post-section { max-width: none; }

.fa-post-section {
  color: var(--fa-color-blue-dark, #003047);
  font-family: var(--fa-font-body, sans-serif);
  font-size: 14px;
  line-height: 1.7;
  margin-block: 0 27px;
  overflow-wrap: break-word;
}

.fa-post-section h2,
.fa-post-section h3,
.fa-post-section h4 {
  color: inherit;
  font-family: var(--fa-heading-font, Georgia, serif);
  font-weight: var(--fa-heading-weight, 400);
  line-height: var(--fa-heading-leading, 1.4);
  margin-block: 0 18px;
  text-transform: var(--fa-heading-transform, uppercase);
}

.fa-post-section h2 {
  --fa-heading-highlight: var(--fa-color-blush, #f8cbc5);
  display: table;
  font-size: var(--fa-heading-size, 26px);
  font-weight: var(--fa-heading-weight, 700);
  isolation: isolate;
  max-width: 100%;
  position: relative;
}

.fa-post-section h2::after {
  background-color: var(--fa-heading-highlight);
  bottom: 2px;
  content: "";
  height: 0.3em;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: -4px;
  z-index: -1;
}

.fa-post-section h3 { font-size: var(--fa-heading-size, 22px); }
.fa-post-section h4 { font-size: 20px; }
.fa-post-section p { margin-block: 0 16px; }
.fa-post-section a { color: var(--fa-color-rust, #d3510c); }
.fa-post-section li { margin-block: 0; }
.fa-post-section .fa-post-copy + .fa-post-copy { margin-top: 27px; }

.fa-post-section .wp-block-columns {
  align-items: start;
  display: flex;
  flex-wrap: nowrap;
  gap: 5.5%;
  margin: 0;
}

.fa-post-section .wp-block-column { flex-basis: 0; flex-grow: 1; min-width: 0; }
.fa-post-section .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
.fa-post-section .wp-block-image { margin: 0; max-width: 100%; }

.fa-post-section .wp-block-image img {
  border-radius: 20px;
  display: block;
  height: auto;
  max-height: none;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.fa-post-section .wp-block-image figcaption { font-size: 12px; }
.fa-post-section .wp-block-image + .wp-block-image { margin-top: 8px; }
.fa-post-image > .wp-block-image { margin-inline: auto; max-width: 400px; }

.fa-post-section .wp-block-gallery.has-nested-images {
  display: grid;
  gap: 5.5%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

/* Replace Gutenberg's flex-item percentage with the width of our grid cell. */
.fa-post-section .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
  margin: 0;
  width: 100%;
}

.fa-post-section .wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%;
}

.fa-post-section .fa-post-testimonial {
  align-items: start;
  background: var(--fa-color-blush, #f8cbc5);
  display: grid;
  gap: 30px;
  grid-template-columns: 80px minmax(0, 1fr);
  margin-block: 30px;
  padding: 30px;
  position: relative;
}

.fa-post-testimonial::before {
  background: white;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: '”';
  font: bold 26px/24px Georgia, serif;
  height: 26px;
  left: calc(50% - 13px);
  position: absolute;
  text-align: center;
  top: -13px;
  width: 26px;
}

.fa-post-section .fa-post-testimonial.is-style-fa-post-green { background: var(--fa-color-green, #98bb80); }
.fa-post-section .fa-post-testimonial.is-style-fa-post-pale { background: #fdf3f1; }
.fa-post-section .fa-post-portrait { margin: 0; }
.fa-post-section .fa-post-portrait img { aspect-ratio: 1; border-radius: 50%; height: 80px; object-fit: cover; width: 80px; }
.fa-post-section .wp-block-quote { border: 0; font-size: inherit; margin: 0; padding: 0; }
.fa-post-section .wp-block-quote h2::after { content: none; }
.fa-post-section .wp-block-quote cite { display: block; font-style: normal; font-weight: 700; margin-top: 26px; }
.fa-post-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 24px; }
.fa-post-section .wp-block-button { margin: 0; }
.fa-post-section .wp-block-button__link { color: var(--fa-button-text, white); font-size: var(--fa-button-size, 14px); text-transform: var(--fa-button-case, none); }
.fa-post-action .wp-block-buttons,
.fa-post-testimonial-action > .wp-block-buttons { justify-content: center; }
.fa-post-questions :is(h3, h4) { color: var(--fa-color-rust, #d3510c); font-size: var(--fa-heading-size, 20px); font-weight: var(--fa-heading-weight, 700); }

.single-post-page .post-navigation { max-width: 1080px; width: 75%; }
.single-post-page .post-navigation a { font-size: 16px; font-weight: 700; }

/* The source stacks columns and all gallery items without changing media order. */
@media (max-width: 980px) {
  .single-post-page .post-hero { min-height: 365px; }
  .single-post-page .post-hero__panel { padding: 28px 10%; width: 90%; }
  .single-post-page .single-post__content,
  .single-post-page .post-navigation { width: 80%; }
  .fa-post-section .wp-block-columns { flex-direction: column; gap: 30px; }
  .fa-post-section .wp-block-column { flex-basis: auto !important; width: 100%; }
  .fa-post-section .wp-block-gallery.has-nested-images { gap: 26px; grid-template-columns: 1fr; }
  .fa-post-section .fa-post-testimonial { gap: 20px; grid-template-columns: 1fr; }
  .fa-post-section .fa-post-portrait { justify-self: center; }
}

@media (max-width: 480px) {
  .single-post-page .post-hero__panel h1 { font-size: var(--fa-heading-size, 28px); }
  .single-post-page .post-hero__categories { font-size: 14px; margin-top: 24px; }
  .fa-post-section h2 { font-size: var(--fa-heading-size, 24px); }
  .fa-post-section h3 { font-size: var(--fa-heading-size, 21px); }
}

/* Emphasis belongs to the heading family, including inline strong/b elements. */
.fa-post-section :is(h2, h3, h4) :is(strong, b) { font-family: var(--fa-heading-font, inherit); }
.fa-post-prose > .wp-block-image img { margin-inline: 0; }
@media (min-width: 981px) {
  .single-post-page .post-hero__panel {
    min-height: 230px;
    padding-bottom: 48px;
  }
  .single-post-page .post-hero__panel h1 {
    letter-spacing: var(--fa-heading-tracking, 2px);
    line-height: var(--fa-heading-leading, 1.4);
    margin-inline: auto;
    max-width: 40rem;
  }
  .fa-post-section { font-size: 16px; margin-bottom: 50px; }
  .fa-post-section h2 { font-size: var(--fa-heading-size, 30px); }
  .fa-post-section .fa-post-copy + .fa-post-copy { margin-top: 40px; }
  .fa-post-section .wp-block-gallery.has-nested-images { align-items: start; }
  .fa-post-section .wp-block-gallery.has-nested-images figure.wp-block-image img {
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
  }
}
@media (max-width: 480px) {
  .single-post-page .post-hero__panel { padding-inline: 5%; }
  .single-post-page .post-hero__panel h1 { font-size: var(--fa-heading-size, clamp(20px, 6.4vw, 25px)); overflow-wrap: normal; word-break: normal; hyphens: none; }
  /* Percentage-sized standalone logos retain their source mobile prominence. */
  .fa-post-section .wp-block-image.is-resized img[style*="width:50%"] { width: 250px !important; max-width: 100%; }
}

.fa-post-text-action-image h3 { font-weight: var(--fa-heading-weight, 700); }
.fa-post-questions p > span[style*="font-weight: bold"] { font-family: Georgia, serif !important; line-height: 1.4; }
