/* Remembrance — see js/remembrance.js for when it applies.

   Everything here is scoped to html[data-remembrance], so on every
   other day this file does nothing, and the poppy picture is never
   downloaded (a background image is only fetched when its rule
   matches). It is a separate file rather than part of site.css
   because site.css is cached for a day: a visitor from yesterday
   would otherwise miss these rules. */

/* The photo is mirrored so its foreground poppy sits on the right,
   clear of the headline and the form, under the lightest part of the
   scrim. */
html[data-remembrance] .hero-home__media {
  background-image: url("../assets/hero-remembrance-poppy-field.webp");
  background-position: 70% 60%;
}

.remembrance-strip {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 9px var(--gutter);
}
.remembrance-strip__inner {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--on-dark);
}
.remembrance-strip__motto { font-style: italic; }
.remembrance-strip__link {
  margin-left: 10px;
  font-weight: 700;
  color: var(--accent-200);
  white-space: nowrap;
  text-decoration: none;
}
.remembrance-strip__link:hover,
.remembrance-strip__link:focus-visible { color: #fff; text-decoration: underline; }

/* On a phone the full line wraps; keep just the motto and the link. */
@media (max-width: 640px) {
  .remembrance-strip__days { display: none; }
  .remembrance-strip__inner { font-size: 13px; }
}
