* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #000;
  background: #f0f0f0;
  max-width: 100%;
}

header, footer {
  text-align: center;
  padding: 1rem 0.5rem;
  background: #fff;
  border-bottom: 0.1rem solid #222;
}

img.logo {
  max-width: 100%;
  width: 625px;
  height: auto;
  display: block;
  margin: 0 auto;
}

p {
  margin-top: 1rem;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.tagline {
  font-size: 1.25rem;
  color: #000;
  margin-top: 0;
}

.pre-links {
  margin-top: 2.5rem;
  font-size: 1rem;
}

.pre-links a {
  color: #606060;
  text-decoration: none;
  margin: 0 0.1rem;
}

.pre-links a:hover {
  text-decoration: underline;
}

.pre-links span {
  color: #101010;
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 0 0.7rem;
}

article {
  margin-top: 1rem;
  margin-bottom: 4rem;
}

article h2 {
  font-size: 1.4rem;
  hyphens: auto;
  overflow-wrap: break-word;
}

article h5 {
  font-size: 0.9rem;
  font-weight: normal;
}

figure {
  margin: 1.5rem 0;
  text-align: center;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  max-width: 100%;
  border: 0.05rem solid #a0a0a0;
  cursor: pointer;
}

figure video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  max-width: 100%;
  border: 0.05rem solid #a0a0a0;
  cursor: pointer;
}

figcaption {
  margin-top: 0;
  font-size: 0.9rem;
  color: #404040;
}

.lightbox {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  transform: scale(0.98);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.lightbox.active img {
  transform: scale(1);
}

footer {
  color: #fff;
  background: #606060;
  border-top: 0.1rem solid #202020;
  padding: 0 0 2rem 0;
}

footer p {
  font-size: 1.4rem;
  text-align: center;
}

.post-links {
  margin-top: 0;
  font-size: 1rem;
}

.post-links a {
  color: #8ee;
  text-decoration: none;
  margin: 0 0.1rem;
}

.post-links a:hover {
  text-decoration: underline;
}

.post-links span {
  color: #fff;
}

@media (min-width: 1200px) {
  main {
    max-width: 1200px;
  }
  p {
    text-align: justify;
    text-justify: inter-word;
  }
}

