/* Shared styles for Giovanni Giusti's author site */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  background: #fbfaf7;
}
.page { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }

/* Header: name + email beside photo */
.header { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.name { font-size: 3.2rem; line-height: 1.1; margin: 0 0 8px; font-weight: normal; }
.email { font-size: 1rem; margin: 0; }
.email a { color: inherit; }
.photo {
  width: 200px; height: 240px; flex-shrink: 0;
  border: 2px dashed #bbb; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 0.9rem; text-align: center;
  position: relative; overflow: hidden; background: #f1efe9;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section-title { font-size: 2.4rem; font-weight: normal; margin: 64px 0 24px; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
.item + .item { margin-top: 3.2em; }   /* two blank lines between subsections */
.item-title { font-size: 1.5rem; margin: 0 0 4px; font-weight: normal; }
.logline { font-weight: bold; margin: 0 0 8px; }
.text { margin: 0; }

.more {
  display: inline-block; margin-top: 14px; padding: 8px 22px;
  background: #222; color: #fff; text-decoration: none;
  border-radius: 4px; font-size: 0.95rem;
}
.more:hover { background: #555; }

/* Book detail pages */
.back { display: inline-block; margin-bottom: 32px; color: #555; }
.page-title { font-size: 2.8rem; font-weight: normal; margin: 0 0 24px; }
