/* Pizza Club Italy — club magazine layout (alternating chapters) */

:root {
  --wine: #7b2d26;
  --wine-dark: #5e211c;
  --gold: #c99b3f;
  --cream: #fff8ee;
  --entry: #33291f;
  --soft: #8a7a64;
  --line: #e3d3bd;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--entry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; color: var(--wine-dark); }

/* masthead */
.masthead {
  background: var(--wine); color: var(--cream);
  padding: 2.2rem 1rem 1.6rem; text-align: center;
  border-bottom: 6px double var(--gold);
}
.masthead .crest { display: inline-flex; margin-bottom: 0.7rem; }
.masthead h1 {
  color: var(--cream); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
}
.masthead .motto { font-style: italic; font-size: 0.95rem; opacity: 0.9; margin-top: 0.4rem; }
.masthead nav { margin-top: 1.1rem; }
.masthead nav a {
  color: var(--cream); text-decoration: none; font-family: "Trebuchet MS", sans-serif;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0.7rem; padding-bottom: 2px;
}
.masthead nav a:hover { border-bottom: 2px solid var(--gold); }

/* chapters */
.chapter { max-width: 960px; margin: 0 auto; padding: 2.6rem 1.2rem; border-bottom: 1px solid var(--line); }
.chapter h2 {
  font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.9rem; margin: 0 0 1.3rem;
}
.chapter h2::after { content: ""; flex: 1; height: 2px; background: var(--gold); opacity: 0.6; }
.chapter h2 .num {
  display: inline-flex; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--wine); color: var(--cream); font-size: 1rem;
}

/* alternating rows */
.row { display: flex; gap: 1.6rem; align-items: flex-start; padding: 0.9rem 0; }
.row:nth-child(even) { flex-direction: row-reverse; }
.row .big-n {
  flex: none; font-family: Georgia, serif; font-size: 2.5rem; line-height: 1;
  color: var(--gold); min-width: 3rem; text-align: center;
  border-top: 3px solid var(--wine); padding-top: 0.4rem;
}
.row .body h3 { margin: 0.15rem 0 0.4rem; font-size: 1.18rem; }
.row .body p { margin: 0 0 0.5rem; font-size: 0.98rem; }
.row .made-of {
  font-family: "Trebuchet MS", sans-serif; font-size: 0.78rem; color: var(--wine);
  letter-spacing: 0.03em;
}
.row .made-of b { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; color: var(--soft); }

/* pdf box */
.pdf-callout {
  max-width: 960px; margin: 2.4rem auto; padding: 1.5rem 1.7rem;
  background: #fdf3e3; border: 1px solid var(--gold); border-radius: 4px;
}
.pdf-callout h3 { margin-top: 0; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #3a2a10 !important;
  font-family: "Trebuchet MS", sans-serif; font-weight: bold; font-size: 0.9rem;
  padding: 0.65rem 1.4rem; border-radius: 4px; text-decoration: none;
}
.btn-gold:hover { background: #b8892f; }

/* about/legal pages */
.leaf { max-width: 780px; margin: 0 auto; padding: 2.4rem 1.2rem; }
.leaf p { font-size: 0.98rem; }

/* footer */
.club-foot {
  background: var(--wine-dark); color: #f3e8d8;
  padding: 1.8rem 1rem 2rem; font-size: 0.85rem;
}
.club-foot .inner { max-width: 960px; margin: 0 auto; }
.club-foot a { color: #f3e8d8; }
.club-foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; padding: 0; margin: 0.6rem 0; }
.club-foot p { margin: 0.6rem 0 0; }

@media (max-width: 680px) {
  .row { flex-direction: column !important; }
  .row .big-n { min-width: 0; border-top: 0; border-left: 3px solid var(--wine); text-align: left; padding: 0 0 0 0.6rem; }
}
