* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #f4f4f0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

img {
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: block;
  object-fit: contain;
}

img.black-and-white {
  filter: grayscale(100%);
}

article {
  align-self: center;
  max-width: 34rem;
  padding: 4rem;
}

h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.75rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

p {
  margin: 0;
  max-width: 28rem;
  color: #aaa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.7;
  white-space: pre-line;
}

.page-meta {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

time {
  display: block;
}

.error {
  padding: 2rem;
}

.skeleton-image,
.skeleton-block {
  background: #141414;
  animation: skeleton-pulse 1.8s ease-in-out infinite;
}

.skeleton-image {
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.skeleton-title {
  width: min(100%, 25rem);
  height: clamp(3.5rem, 7vw, 6rem);
  margin-bottom: 2rem;
}

.skeleton-line {
  width: 75%;
  height: 0.9rem;
  margin-bottom: 0.8rem;
}

.skeleton-line-long {
  width: 100%;
}

.skeleton-line-short {
  width: 45%;
}

.skeleton-meta {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.skeleton-meta .skeleton-block {
  width: 5rem;
  height: 0.65rem;
}

@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-image,
  .skeleton-block {
    animation: none;
  }
}

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

  img {
    height: 50vh;
    height: 50svh;
  }

  article {
    min-height: 50vh;
    min-height: 50svh;
    padding: 2rem;
  }

  .skeleton-image {
    height: 50vh;
    height: 50svh;
  }
}
