/* Book_01_Base.css */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navlink {
  color: var(--nav);
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
}

.navlink:hover {
  color: var(--gold);
  text-decoration: underline;
}

.banner-wrap {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 22px;
}

.banner {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.36);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 36px;
  text-align: center;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--nav);
}

@media (max-width: 720px) {
  .topbar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .banner-wrap {
    margin-top: 14px;
    padding: 0 12px;
  }

  .banner {
    max-height: 240px;
    border-radius: 12px;
  }
}