* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: #29282b;
  background: #ececec;
  line-height: 1.7;
}
a {
  color: #253551;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
header {
  background: #253551;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
header .site-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}
header .site-title a {
  color: inherit;
  text-decoration: none;
}
header nav a {
  margin-left: 1.5rem;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}
header nav a:hover {
  color: #dedcc7;
  text-decoration: none;
}
header nav a.active {
  border-bottom: 2px solid #fff;
  padding-bottom: 0.2rem;
}
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;
}
.hero-banner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: #ececec;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .hero-banner {
    flex-direction: row;
    align-items: flex-start;
  }
}
.hero-banner blockquote {
  flex: 1;
  min-width: 280px;
  border-left: 3px solid #29282b;
  padding-left: 1.2rem;
  padding-top: 2rem;
  color: #29282b;
  font-style: italic;
}
.hero-banner blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: normal;
  color: #555;
}
.hero-banner .book-cover {
  max-width: 300px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.content h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: normal;
  margin-bottom: 1.5rem;
  color: #253551;
}
blockquote {
  border-left: 3px solid #29282b;
  padding-left: 1.2rem;
  margin: 2rem 0;
  color: #29282b;
  font-style: italic;
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: normal;
  color: #555;
}
.content p {
  margin-bottom: 1.2rem;
}
.content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  font-weight: normal;
  color: #253551;
}
.learn-more {
  margin-top: 2.5rem;
  background: url('images/book-cover-photo.jpg') center / cover no-repeat;
  position: relative;
  padding: 3rem 2rem;
}
.learn-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 15%,
    rgba(0,0,0,0.5) 85%,
    rgba(0,0,0,0.2) 100%
  );
}
.learn-more-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem;
  color: #29282b;
  background: rgba(236,236,236,0.92);
  border-radius: 0.5rem;
}
.learn-more-inner h1 {
  font-size: 2.2rem;
  font-weight: normal;
  color: #253551;
  margin-bottom: 1rem;
}
.learn-more-inner a {
  color: #253551;
}
.learn-more-inner p {
  margin-bottom: 1.2rem;
}
.learn-more-inner .qr-code {
  max-width: 160px;
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.author-page {
  display: flex;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
}
.author-sidebar {
  flex: 0 0 340px;
  text-align: center;
}
.author-sidebar h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #253551;
}
.portrait-frame {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.portrait-frame .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.author-page .portrait-caption {
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
  margin-top: 1rem;
}
.author-bio {
  flex: 1;
  min-width: 280px;
  border-left: 1px solid #ccc;
  padding-left: 3rem;
}
.author-bio p {
  margin-bottom: 1.2rem;
}
@media (max-width: 639px) {
  .author-sidebar {
    flex: 1 1 100%;
  }
}
