/* base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 0.5px solid #e0e0e0;
  margin-bottom: 40px;
}

.logo {
  font-size: 18px;
  font-weight: 500;
}

.catchphrase {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-left: 8px;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav ul a {
  font-size: 14px;
  color: #888;
}

nav ul a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* hero */
.hero {
  padding: 40px 0 32px;
  border-bottom: 0.5px solid #e0e0e0;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin: 10px 0 12px;
  max-width: 600px;
}

.hero p {
  font-size: 15px;
  color: #555;
  max-width: 520px;
}

/* layout */
.content-area {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 60px;
}

/* feed */
.section-label {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.card {
  padding: 20px 0;
  border-bottom: 0.5px solid #e0e0e0;
}

.card:last-child {
  border-bottom: none;
}

.card h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0 4px;
  line-height: 1.4;
}

.card-meta {
  font-size: 12px;
  color: #aaa;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

/* tags */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: lowercase;
}

.tag-essays { background: #e8f4fd; color: #1a6fa8; }
.tag-fiction { background: #edf7ed; color: #2d7a2d; }
.tag-causes { background: #fdf0e8; color: #a85c1a; }
.tag-secondary { background: #f2f2f2; color: #888; }

/* sidebar */
.sidebar {
  font-size: 13px;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-title {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.sidebar-bio {
  color: #555;
  line-height: 1.6;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 5px 0;
  border-bottom: 0.5px solid #e0e0e0;
}

.sidebar ul li:last-child {
  border-bottom: none;
}

.sidebar ul a {
  color: #555;
}

.sidebar ul a:hover {
  color: #1a1a1a;
}

/* footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 60px;
  border-top: 0.5px solid #e0e0e0;
  font-size: 12px;
  color: #aaa;
}

footer div {
  display: flex;
  gap: 16px;
}

footer a {
  color: #aaa;
}

footer a:hover {
  color: #1a1a1a;
}

/* responsive */
@media (max-width: 680px) {
  .content-area {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 16px;
  }

  .hero h1 {
    font-size: 22px;
  }
}
