@font-face {
  font-family: "GrotzecCond-Demibold";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/GrotzecCond-Demibold3.woff2);
  font-display: swap;
}

@font-face {
  font-family: "GrotzecCond-DemiboldItalic";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/GrotzecCond-DemiboldItalic.woff2);
  font-display: swap;
}

@font-face {
  font-family: "LeJeunePoster-Regular";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/LeJeunePoster-Regular.otf);
  font-display: swap;
}

@font-face {
  font-family: "LeJeunePoster-RegularItalic";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/LeJeunePoster-RegularItalic.otf);
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --accent: #0b8b4a;  /* bike-lane inspired green */
}

body {
  margin: 0;
  color: #111;
  background: #f3f3f3;  /* was #fff */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.65;
  font-size: 18px;
}

/* Wrap the story in a card */
.story {
  background: #fff;
  padding: 24px 20px 32px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.container {
  max-width: 900px;
  padding: 0 20px;
  margin: 48px auto 80px;
}


.site-header {
  padding-top: 32px;
}

.headline {
  font-family: "LeJeunePoster-Regular", Georgia, serif;
  font-size: clamp(28px, 4.5vw, 44px); 
  line-height: 1.15;
  margin: 0 0 12px;
  color: #111;
}


.deck {
  font-family: "LeJeunePoster-RegularItalic", Georgia, serif;
  font-size: clamp(18px, 2vw, 22px); 
  font-weight: 400;
  color: #444;
  line-height: 1.4;
  margin: 0 0 16px;
}


.byline {
  font-family: "GrotzecCond-Demibold", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: #666;
  margin: 0 0 24px;
}

/* Story text */
.story p {
  margin: 0 0 16px;
  font-size: 18px;
}

.lede {
  font-size: 19px;
  line-height: 1.7;
}

/* Figures & Captions — very tight spacing */
figure {
  margin: 14px 0; /* was bigger */
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 0;       /* no extra gap above caption */
}

/* Hero image */
.hero {
  margin-top: 8px;
}

/* Inline photo */
.inline-photo {
  margin: 18px 0;
}

.section-head {
  font-family: "GrotzecCond-Demibold", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--accent);               /* use accent color */
  border-top: 2px solid #e3e3e3;
  padding-top: 8px;
}

.headline {
  /* keep font-family/size the same, just add color */
  color: #111;
}

.deck {
  color: #444;
}

figure.embed {
  background: #f7faf8;
  border-radius: 8px;
  padding: 10px 12px 12px;
}

/* When a heading comes right after a figure, keep it even closer */
figure + .section-head {
  margin-top: 14px;
}

.pullquote {
  margin: 28px 0;
  padding: 16px 20px;
  background: #f7faf8;                 /* soft green-tinted background */
  border-left: 5px solid var(--accent); /* uses the bike-lane green */
  border-radius: 6px;
}

.pullquote p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}

.pullquote-source {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}


/* Datawrapper embeds — extremely tight outside spacing */
.embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;        /* almost no extra space below figure */
}

.embed iframe {
  width: 100%;
  border: 0;
  height: 520px;
}

/* Optional: pull caption slightly upward for charts only */
figure.embed figcaption {
  margin-top: -2px;       /* negative margin closes the remaining visual gap */
}

/* Blockquotes (if used) */
blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid #111;
  background: #f7f7f7;
}

blockquote p {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.site-footer {
  padding-bottom: 32px;
}

.footnote {
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .container {
    margin: 28px auto 56px;
  }
}
