:root {
  --green: #008a17;
  --black: #0b0b0b;
  --soft-black: #1f1f1f;
  --line: #d7d7d7;
  --bg: #ffffff;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.55;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5vw;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  color: var(--black);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 700;
}

.logo span,
h1 span,
.prompt,
.green,
.comment {
  color: var(--green);
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  color: var(--black);
  text-decoration: none;
  padding-bottom: 6px;
}

nav a:hover,
nav a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

main {
  max-width: 1280px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  padding: 36px 5vw 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.hero-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid #eee;
}

.credit,
.date {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-text {
  font-size: 1.08rem;
}

.prompt {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
}

.comment {
  margin-top: 34px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  padding: 38px 5vw 48px;
}

.split article + article {
  border-left: 1px solid var(--line);
  padding-left: 46px;
}

h1 {
  font-size: 1.8rem;
  margin: 0 0 24px;
}

h2 {
  font-size: 1.15rem;
  margin-top: 0;
}

h2 a {
  color: var(--green);
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: var(--green);
  color: #fff;
}

.page {
  max-width: 820px;
  padding: 52px 5vw 80px;
}

.page a {
  color: var(--green);
}

.post-list-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 5vw;
  background: var(--black);
  color: var(--green);
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .site-header,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .split article + article {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
  }

  .prompt {
    font-size: 1.55rem;
  }
}
