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

body {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  border-bottom: 2px solid #222;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #444;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav a:hover {
  color: #000;
  text-decoration: underline;
}

h1 { font-size: 2rem; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 1.5rem 0 0.5rem; }

p { margin-bottom: 1rem; }

a { color: #005a9c; }
a:hover { color: #003d6b; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

figure {
  margin: 1.5rem 0;
}

figcaption {
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
  margin-top: 0.4rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.book img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.book h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1a4a8a;
  text-align: center;
}

.book p {
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}

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

.placeholder-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #e8e8e8;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-size: 0.85rem;
  color: #666;
}
