body.ifa-forest-flash-issue {
  background: #eef2ef;
}

body.ifa-forest-flash-issue #content,
body.ifa-forest-flash-issue main {
  background-color: #eef2ef;
}

.forest-flash {
  --ff-green: #176c4a;
  --ff-text: #222;
  --ff-muted: #5c625f;
  --ff-light: #f4f6f6;
  --ff-border: #d8dfdc;
  --ff-link: #0068a5;
  --ff-link-hover: #55a873;
  --ff-card-pad: clamp(1rem, 3vw, 2rem);
  --ff-reading-width: 44rem;
  box-sizing: border-box;
  width: calc(100% - 2rem);
  max-width: 960px;
  margin: 2rem auto 3rem;
  padding: var(--ff-card-pad);
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(26, 61, 48, .11);
  color: var(--ff-text);
  font-size: 1.0625rem;
  line-height: 1.68;
}

.forest-flash *,
.forest-flash *::before,
.forest-flash *::after {
  box-sizing: border-box;
}

.forest-flash a {
  color: var(--ff-link);
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}

.forest-flash a:hover {
  color: var(--ff-link-hover);
}


.forest-flash p,
.forest-flash li,
.forest-flash figcaption {
  overflow-wrap: anywhere;
}

.forest-flash a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.ff-masthead {
  margin: 0 auto .8rem;
  max-width: 900px;
}

.ff-masthead img,
.ff-figure img,
.ff-columns img {
  display: block;
  width: 100%;
  height: auto;
}

.ff-issue-header,
.ff-toc,
.ff-donate {
  max-width: 68ch;
  margin-inline: auto;
}

/* One physical reading column keeps headings, prose and story media aligned. */
.ff-story {
  width: 100%;
  max-width: var(--ff-reading-width);
  margin-inline: auto;
}

.ff-story > p,
.ff-story > blockquote,
.ff-story > h2,
.ff-story > figure:not(.ff-portrait),
.ff-story > .ff-columns {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

.ff-issue-header {
  text-align: center;
  padding: .1rem 1rem .65rem;
}

.ff-issue-header h1 {
  margin: 0;
  color: var(--ff-green);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.ff-archive-note {
  width: 100%;
  max-width: none;
  margin: 0 0 .9rem;
  padding: .65rem .85rem;
  border-left: 3px solid var(--ff-green);
  background: #f7faf8;
  color: var(--ff-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.ff-archive-note p {
  margin: 0;
}

.ff-archive-note time {
  color: var(--ff-green);
  font-size: 1.04em;
  font-weight: 700;
}

.ff-toc {
  margin-block: 0 1.35rem;
  padding: .45rem .15rem .65rem;
  border: 0;
  border-bottom: 1px solid var(--ff-border);
  border-radius: 0;
}

.ff-toc h2 {
  margin: 0 0 .3rem;
  color: var(--ff-muted);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.ff-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: .9rem;
  line-height: 1.45;
}

.ff-toc li + li {
  margin-top: .15rem;
}

.ff-story {
  padding-inline: 0;
  scroll-margin-top: 5rem;
}

.ff-story + .ff-story {
  margin-top: 3.25rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--ff-border);
}

.ff-story > h2 {
  margin-top: 0;
  margin-bottom: 1.15rem;
  color: var(--ff-green);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.22;
  text-align: left;
  text-wrap: balance;
}

.ff-story > p {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.ff-story blockquote {
  margin-top: 1.35rem;
  margin-bottom: 1.6rem;
  padding: .2rem 0 .2rem 1.15rem;
  border-left: 4px solid var(--ff-border);
  font-size: 1.05em;
}

.ff-story blockquote p {
  margin: 0;
}

.ff-story blockquote footer {
  display: block;
  margin-top: .65rem;
  color: var(--ff-muted);
  font-size: .9rem;
}

.ff-portrait {
  float: left;
  width: min(32%, 180px);
  margin: .2rem 1.25rem .7rem 0;
}

.ff-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.ff-story::after {
  content: "";
  display: table;
  clear: both;
}

.ff-figure {
  max-width: 900px;
  margin: 1.8rem auto 2rem;
}

.ff-columns {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 1.8rem auto 2rem;
  align-items: start;
}

.ff-columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-columns-25-75 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}

.ff-columns-33-67 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.ff-columns-67-33 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.ff-columns > figure {
  min-width: 0;
  margin: 0;
}

.ff-figure figcaption,
.ff-columns figcaption {
  margin-top: .6rem;
  color: var(--ff-muted);
  font-size: .88rem;
  line-height: 1.45;
  text-align: left;
}

.ff-donate {
  margin-top: 3rem;
  padding: 2rem 1rem .5rem;
  text-align: center;
  border-top: 1px solid var(--ff-border);
}

.ff-donate a {
  display: inline-block;
  padding: .72rem 1.35rem;
  border-radius: 4px;
  background: var(--ff-green);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.ff-donate a:focus-visible {
  outline-color: var(--ff-green);
}

.ff-issue-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: .2rem 0 .65rem;
  padding: .38rem .15rem;
  background: transparent;
  border: 0;
  border-top: 1px solid #e4eae6;
  border-bottom: 1px solid #e4eae6;
  border-radius: 0;
  box-shadow: none;
  color: var(--ff-muted);
  font-size: .82rem;
  line-height: 1.35;
}

.ff-issue-nav .ff-prev {
  justify-self: start;
}


.ff-issue-nav .ff-next {
  justify-self: end;
}

.ff-issue-nav .ff-index {
  display: inline-block;
  padding: .16rem .24rem;
  color: #3f6f5d;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 108, 74, .22);
  border-radius: 0;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
}

.ff-issue-nav .ff-index:hover,
.ff-issue-nav .ff-index:focus-visible {
  color: var(--ff-link-hover) !important;
  background: transparent;
  border-bottom-color: var(--ff-link-hover);
}

.ff-issue-nav .ff-prev a,
.ff-issue-nav .ff-next a {
  color: #3f6f5d;
  font-weight: 500;
  text-decoration: none;
}

.ff-issue-nav .ff-prev a:hover,
.ff-issue-nav .ff-next a:hover {
  text-decoration: underline;
}



@media (max-width: 700px) {
  .forest-flash {
    width: calc(100% - 1rem);
    margin: .5rem auto 1.5rem;
    padding: var(--ff-card-pad);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(26, 61, 48, .08);
    font-size: 1rem;
  }

  .ff-story {
    padding-inline: 0;
  }

  .ff-columns,
  .ff-columns-2,
  .ff-columns-25-75,
  .ff-columns-33-67,
  .ff-columns-67-33 {
    grid-template-columns: 1fr;
  }

  .ff-portrait {
    float: none;
    width: min(52%, 210px);
    margin: 0 auto 1rem;
  }

  .ff-issue-nav {
    grid-template-columns: 1fr;
    gap: .55rem;
    text-align: center;
    padding: .75rem 1rem;
  }

  .ff-issue-nav .ff-prev,
  .ff-issue-nav .ff-index,
  .ff-issue-nav .ff-next {
    justify-self: center;
  }
}

@media print {
  .ff-issue-nav,
  .ff-donate {
    display: none;
  }

  .forest-flash {
    max-width: none;
    font-size: 11pt;
  }
}

/* Publisher-generated reusable primitives. */
.ff-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-media-note {
  max-width: 900px;
  margin: -.8rem auto 1.8rem;
  color: var(--ff-muted);
  font-size: .9rem;
  line-height: 1.48;
}

.ff-contact {
  max-width: 68ch;
  margin: .25rem auto 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--ff-light);
  border-left: 4px solid var(--ff-green);
  font-style: normal;
}

.ff-contact p { margin: 0; }
.ff-contact p + p { margin-top: .2rem; }

.ifa-forest-flash-issue .entry-title { display: none; }

@media (max-width: 700px) {
  .ff-columns-3 { grid-template-columns: 1fr; }
}

/* Canonical center navigation state. Kept last to prevent legacy button styles. */
.ff-issue-nav > .ff-index {
  color: #3f6f5d !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(23, 108, 74, .30) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ff-issue-nav > .ff-index:hover,
.ff-issue-nav > .ff-index:focus-visible {
  color: var(--ff-link-hover) !important;
  background: transparent !important;
  border-bottom-color: var(--ff-link-hover) !important;
}


/* Standard story images align with paragraph and headline edges. */
.ff-story > figure:not(.ff-portrait) img {
  width: 100%;
  height: auto;
  display: block;
}

.ff-media-grid > figure,
.ff-media-pair > figure {
  max-width: none;
  margin-inline: 0;
}


/* Portrait exception: float compact portraits beside opening story text on desktop. */
@media (min-width: 701px) {
  .ff-story > figure.ff-portrait {
    float: left;
    width: min(32%, 180px);
    max-width: 180px;
    margin: .2rem 1.25rem .7rem 0;
  }

  .ff-story > figure.ff-portrait img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* The closing navigation can breathe more than the top utility row. */
.ff-story + .ff-issue-nav {
  margin-top: 2rem;
  margin-bottom: .75rem;
}
