
/* Minimal clean style */
:root {
  --bg: #ffffff;
  --card: #f7f7f7;
  --fg: #171716;
  --brand: #1e90ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
.hero {
  text-align: center;
  padding: 40px 20px;
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform .05s ease, filter .2s ease;
  border: none;
  cursor: pointer;
}
.button:hover { filter: brightness(1.05); }
.button:active { transform: translateY(1px); }
.footer {
  margin-top: 36px;
  text-align: center;
  font-size: .9rem;
  color: #555;
}
.speech { white-space: pre-wrap; font-size: 1.05rem; }
.meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: .95rem; color: #444; margin-bottom: 16px;
}
.meta span { background: #eee; padding: 6px 10px; border-radius: 999px; }
@media print {
  .no-print { display: none !important; }
  body { color: #000; background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* Stili per la foto hero */
.photo-container {
  margin-top: 32px;
  text-align: center;
}

.hero-photo {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Stili per la sezione consigli unificati */
.advice-section {
  background: #f0f8ff;
  border: 1px solid #e1f0ff;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  text-align: center;
}

.advice-section p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #2c5aa0;
}

.advice-section p:first-child {
  margin-top: 0;
}

.advice-section p:last-child {
  margin-bottom: 0;
}
