.public-post-detail {
  width: 100%;
}

.rm-post {
  --rm-green: var(--rm-teal-deep, #007f8b);
  --rm-ink: #10231a;
  --rm-muted: #5b6b63;
  --rm-gold: var(--rm-peach, #fbd6a2);
  --rm-post-breadcrumb-height: 0px;
  --rm-post-gap: 1.25rem;
  --rm-post-sticky-gap: var(--rm-post-gap);
  --rm-post-sticky-top: calc(
    var(--rm-post-breadcrumb-height) + var(--rm-post-sticky-gap)
  );
  --rm-post-card-pad: 1.2rem 1.3rem 1.3rem;
  --rm-post-radius: 1.1rem;
  --rm-post-breadcrumb-bleed: clamp(0.85rem, 2.8vw, 1.65rem);
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.5vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16.5rem, 0.78fr);
  gap: var(--rm-post-gap);
  align-items: start;
}

.rm-post__primary {
  display: grid;
  gap: var(--rm-post-gap);
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.rm-post__breadcrumb {
  position: sticky;
  top: 0;
  z-index: 12;
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 calc(-1 * var(--rm-post-breadcrumb-bleed));
  padding: 0.7rem 1.05rem;
  border-radius: calc(var(--rm-post-radius) - 0.15rem);
  background: #fff;
  border: 1px solid rgb(16 35 26 / 0.08);
  border-top: 0;
  box-shadow: 0 10px 28px rgb(16 35 26 / 0.04);
}

.rm-post__breadcrumb--stuck {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.rm-post__chrome {
  display: grid;
  gap: var(--rm-post-gap);
}

.rm-post__back {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rm-green);
  text-decoration: none;
  cursor: pointer;
}

.rm-post__back:hover {
  text-decoration: underline;
}

.rm-post__hero {
  position: relative;
  padding: 0.9rem 1.05rem;
  border-radius: var(--rm-post-radius);
  background:
    linear-gradient(145deg, rgb(0 127 139 / 0.08), rgb(249 189 103 / 0.1)), #fff;
  box-shadow:
    0 1px 2px rgb(16 35 26 / 0.04),
    0 10px 28px rgb(16 35 26 / 0.05);
  overflow: hidden;
}

.rm-post__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--rm-teal-deep, #007f8b),
    var(--rm-peach, #fbd6a2),
    var(--rm-rose-deep, #fb626b)
  );
}

.rm-post--offer .rm-post__hero::after {
  display: none;
}

.rm-post__identity {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  align-items: center;
}

.rm-post__identity--with-apply {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.rm-post__thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #eef6f1;
  border: 1px solid rgb(16 35 26 / 0.08);
  flex-shrink: 0;
}

.rm-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rm-post__thumb--logo {
  padding: 0.3rem;
  background: #fff;
}

.rm-post__thumb--logo img {
  object-fit: contain;
}

.rm-post__thumb--fallback {
  display: grid;
  place-items: center;
}

.rm-post__thumb--fallback span {
  font-family: var(--ds-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rm-green);
}

.rm-post__hero-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.rm-post__eyebrow,
.rm-post__section-eyebrow {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rm-green);
}

.rm-post__eyebrow--back {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rm-green);
  cursor: pointer;
  transition: color 180ms ease;
}

.rm-post__eyebrow--back:hover {
  color: #055c2c;
}

.rm-post__eyebrow-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.rm-post__eyebrow--back:hover .rm-post__eyebrow-icon {
  transform: translateX(-2px);
}

.rm-post__title {
  margin: 0;
  font-family: var(--ds-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--rm-ink);
}

.rm-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  margin: 0.05rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rm-muted);
}

.rm-post__meta-sep {
  opacity: 0.55;
}

.rm-post__apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.rm-post__apply--hero {
  margin: 0;
  justify-self: end;
  align-self: center;
}

@media (max-width: 560px) {
  .rm-post__identity--with-apply {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rm-post__identity--with-apply .rm-post__apply--hero {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

.rm-post__apply--story {
  margin-top: 1.25rem;
}

.rm-post__apply--nearby {
  margin-bottom: 1.15rem;
}

.rm-post__apply--aside {
  margin-bottom: 0.85rem;
}

.rm-post__apply .rm-btn {
  width: auto;
  min-width: 9.5rem;
  justify-content: center;
}

.rm-post__main {
  display: grid;
  gap: var(--rm-post-gap);
  min-width: 0;
}

.rm-post__aside {
  position: sticky;
  top: var(--rm-post-sticky-top);
  z-index: 8;
  align-self: start;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
}

.rm-post__story-cover {
  display: block;
  width: 100%;
  max-height: 20rem;
  margin: 0 0 1.1rem;
  border-radius: 0.85rem;
  object-fit: cover;
  object-position: center top;
  background: #eef6f1;
}

.rm-post__story,
.rm-post__nearby,
.rm-post__asso-card {
  padding: var(--rm-post-card-pad);
  border-radius: var(--rm-post-radius);
  background: #fff;
  border: 1px solid rgb(16 35 26 / 0.08);
  box-shadow: 0 10px 28px rgb(16 35 26 / 0.04);
}

.rm-post__asso-card {
  overflow: visible;
}

.rm-post__section-title {
  margin: 0.3rem 0 0.85rem;
  font-family: var(--ds-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rm-ink);
}

.rm-post__body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #314039;
  white-space: pre-wrap;
}

.rm-post__body p {
  margin: 0 0 0.9rem;
}

.rm-post__body p:last-child {
  margin-bottom: 0;
}

.rm-post__body a {
  color: var(--rm-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.rm-post__link {
  margin-top: 1.1rem;
}

.rm-post__contact {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.05rem;
  border-radius: 0.85rem;
  background: rgb(249 189 103 / 0.16);
  font-size: 0.95rem;
  font-weight: 650;
  color: #5a3a0a;
}

.rm-post__contact a {
  color: #8a4b08;
  font-weight: 750;
  text-decoration: none;
}

.rm-post__contact a:hover {
  text-decoration: underline;
}

.rm-post__muted,
.rm-post__empty {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rm-muted);
}

.rm-post__nearby-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.rm-post__nearby-header .rm-post__section-title {
  margin-bottom: 0;
}

.rm-post__nearby-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rm-green);
  text-decoration: none;
}

.rm-post__nearby-link:hover {
  text-decoration: underline;
}

.rm-post__nearby-grid {
  gap: 0.75rem;
  align-items: start;
}

.rm-post__nearby-grid.volunteer-offer-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .rm-post__nearby-grid.volunteer-offer-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rm-post__nearby-grid .volunteer-offer-card-wrap--grid,
.rm-post__nearby-grid .volunteer-offer-card--grid {
  height: auto;
  min-height: 0;
  align-self: start;
}

.rm-post__nearby-grid .volunteer-offer-card--grid {
  align-content: start;
}

.rm-post__nearby-grid .volunteer-offer-card--grid .volunteer-offer-card__cover,
.rm-post__nearby-grid
  .volunteer-offer-card--communique
  .volunteer-offer-card__cover,
.rm-post__nearby-grid
  .volunteer-offer-card--communique
  .volunteer-offer-card__cover--fallback {
  height: 6.25rem;
  aspect-ratio: auto;
}

.rm-post__nearby-grid
  .volunteer-offer-card--communique
  .volunteer-offer-card__body {
  gap: 0.35rem;
  padding: 0.65rem 0.75rem 0.75rem;
  align-content: start;
}

.rm-post__nearby-grid
  .volunteer-offer-card--communique
  .volunteer-offer-card__title {
  min-height: 0;
  font-size: 0.9rem;
  line-height: 1.25;
}

.rm-post__nearby-grid
  .volunteer-offer-card--communique
  .volunteer-offer-card__meta {
  margin-top: 0;
}

.rm-post__nearby-grid .volunteer-offer-card__media-badge {
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.28rem 0.5rem 0.22rem;
  font-size: 0.6rem;
}

.rm-post__nearby-grid .volunteer-offer-card__tag {
  padding: 0.22rem 0.45rem 0.16rem;
  font-size: 0.62rem;
}

.rm-post__nearby-grid .volunteer-offer-card__meta time {
  font-size: 0.72rem;
}

@media (max-width: 520px) {
  .rm-post__nearby-grid
    .volunteer-offer-card--grid
    .volunteer-offer-card__cover,
  .rm-post__nearby-grid
    .volunteer-offer-card--communique
    .volunteer-offer-card__cover,
  .rm-post__nearby-grid
    .volunteer-offer-card--communique
    .volunteer-offer-card__cover--fallback {
    height: 5.25rem;
  }
}

.rm-post__asso-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0.15rem 0 0.75rem;
  text-decoration: none;
  color: inherit;
}

.rm-post__asso-identity:hover .rm-post__asso-name,
.rm-post__asso-identity:hover .rm-post__asso-cta {
  color: var(--rm-green);
}

.rm-post__asso-logo-wrap {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #eef6f1;
  border: 1px solid rgb(16 35 26 / 0.08);
}

.rm-post__asso-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rm-post__asso-monogram {
  font-family: var(--ds-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rm-green);
}

.rm-post__asso-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  justify-items: start;
  text-align: left;
}

.rm-post__asso-name {
  font-size: 1rem;
  font-weight: 750;
  color: var(--rm-ink);
}

.rm-post__asso-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rm-muted);
}

.rm-post__asso-cta-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.rm-post__asso-identity:hover .rm-post__asso-cta-icon {
  transform: translateX(2px);
}

.rm-post__asso-started {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--rm-muted);
}

.rm-post__asso-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #3d4a44;
}

.rm-post__asso-block {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.75rem;
}

.rm-post__asso-label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa59e;
}

.rm-post__asso-value {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--rm-ink);
}

.rm-post__themes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rm-post__asso-facts {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid #eef2f0;
}

.rm-post__asso-facts > div {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.rm-post__asso-facts dt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa59e;
}

.rm-post__asso-facts dt .rm-contact-icon {
  --rm-contact-icon-color: var(--rm-green, #007f8b);
  width: 0.95rem;
  height: 0.95rem;
}

.rm-post__asso-facts dd {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rm-ink);
  word-break: break-word;
}

.rm-post__asso-address {
  white-space: pre-wrap;
}

.rm-post__asso-facts a {
  color: var(--rm-green);
  font-weight: 600;
  text-decoration: none;
}

.rm-post__asso-facts a:hover {
  text-decoration: underline;
}

.rm-post__asso-volunteer {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eef2f0;
}

.rm-post__asso-volunteer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rm-post__asso-volunteer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-size: 0.6875rem;
  font-weight: 750;
}

.rm-post__asso-offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.rm-post__asso-offer {
  display: grid;
  gap: 0.12rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  background: #f8faf9;
  border: 1px solid #e5ebe7;
  text-decoration: none;
  color: inherit;
}

.rm-post__asso-offer:hover {
  border-color: #cfe0d5;
  background: #f1f6f3;
}

.rm-post__asso-offer:hover .rm-post__asso-offer-title {
  color: var(--rm-green);
}

.rm-post__asso-offer-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rm-ink);
}

.rm-post__asso-offer-meta {
  font-size: 0.6875rem;
  color: var(--rm-muted);
}

.rm-post__asso-volunteer-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rm-green);
  text-decoration: none;
}

.rm-post__asso-volunteer-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .rm-post {
    display: flex;
    flex-direction: column;
    gap: var(--rm-post-gap);
  }

  .rm-post__breadcrumb {
    order: 0;
  }

  .rm-post__primary {
    display: contents;
    grid-column: auto;
    grid-row: auto;
  }

  .rm-post__chrome {
    order: 1;
  }

  .rm-post__aside {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    position: static;
  }

  .rm-post__main {
    display: contents;
  }

  .rm-post__story {
    order: 2;
  }

  .rm-post__nearby {
    order: 4;
  }

  .rm-post__chrome {
    display: grid;
    gap: var(--rm-post-gap);
  }
}
.rm-post__gallery {
  position: relative;
}

.rm-post__gallery-nav {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  color: #fff;
  background: rgb(10 17 14 / 0.78);
}

.rm-post__gallery-nav button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgb(255 255 255 / 0.16);
  cursor: pointer;
}
