:root {
  --mokabyte-green: #008000;
  --editorial-green: #eafee4;
  --page-width: 609px;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: #fff;
}

body {
  margin: 8px;
  color: #000;
  font-family: "Courier New", Courier, monospace;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a:active { color: #f00; }

.masthead {
  width: 100%;
  text-align: center;
}

.masthead__logo {
  width: auto;
  height: auto;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: var(--page-width);
  max-width: 100%;
  margin: 0.5rem auto 0;
  border-block: 1px solid var(--mokabyte-green);
  background: var(--editorial-green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  text-align: center;
}

.main-nav a,
.main-nav a:visited {
  padding: 0.4rem 0.7rem;
  color: #006600;
  font-weight: bold;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: var(--mokabyte-green);
}

.issue-label {
  width: var(--page-width);
  max-width: 100%;
  margin: 1rem auto 0;
  color: var(--mokabyte-green);
  font-weight: 700;
  text-align: center;
}

.banner--top {
  min-height: 4.5rem;
}

.issue {
  display: grid;
  grid-template-columns: 1fr;
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
}

.editorial {
  padding: 0.25rem;
  background: var(--editorial-green);
}

.editorial__summary,
.article__summary {
  margin: 1em 0 0;
  color: var(--mokabyte-green);
  line-height: 1.15;
}

.drop-cap {
  font-size: 2.5rem;
  line-height: 0.8;
}

.articles {
  background: #fff;
}

.article {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: start;
  min-height: 180px;
}

.article__image-link {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.article__image {
  width: auto;
  max-width: 140px;
  max-height: 150px;
  height: auto;
  object-fit: contain;
}

.article__content {
  padding: 0 0 0.5rem;
}

.article__title,
.article__title a,
.article__title a:visited {
  color: var(--mokabyte-green);
}

.article__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.editorial__continue,
.editorial__continue:visited {
  color: var(--mokabyte-green);
}

.footer {
  width: var(--page-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0.35rem 0;
  background: #fff;
}

.banner--bottom {
  min-height: 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #808080;
}

.footer__text {
  color: #006600;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

.footer__text p {
  margin: 0.35rem 0;
}

.footer__title {
  font-size: 1.2rem;
}

@media (max-width: 640px) {
  body {
    margin: 0.5rem;
  }

  .issue {
    grid-template-columns: 1fr;
  }

  .article {
    grid-template-columns: minmax(100px, 34%) 1fr;
  }

  .article__image {
    max-width: min(130px, 100%);
  }
}
