/* Resume - exported from ResumeBuilder */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;1,400&family=Fira+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 10.5pt;
  line-height: 1.5;
  color: #1a1a1a;
  background: #e8e8e8;
  padding: 28px 16px;
}

.page {
  background: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 60px 64px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.13);
}

/* ---- Header ---- */
.header { margin-bottom: 12px; }
.header-inner { display: flex; align-items: flex-start; gap: 28px; }
.header-text { flex: 1; }

.name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 26pt;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 5px;
}

.contact {
  font-size: 9.5pt;
  color: #333;
  line-height: 1.8;
}

.contact a {
  color: #1e4fa0;
  text-decoration: none;
}

.contact a:hover { text-decoration: underline; }

.contact .inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: center;
}

.contact .sep { color: #aaa; }

.header-photo img {
  width: 90px;
  height: 112px;
  object-fit: cover;
  border: 1px solid #ccc;
  display: block;
}

.header-rule {
  border: none;
  border-top: 0.5pt solid #3c3c3c;
  margin: 10px 0 14px;
}

/* ---- Sections ---- */
.section { margin-bottom: 16px; }

.section-title {
  font-family: 'Fira Sans', sans-serif;
  font-size: 9.5pt;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #282828;
  border-bottom: 0.5pt solid #3c3c3c;
  padding-bottom: 3px;
  margin-bottom: 8px;
}

/* ---- Entries ---- */
.entry { margin-bottom: 10px; }

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.entry-org {
  font-weight: 600;
  font-size: 10.5pt;
}

.entry-date {
  font-size: 9pt;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-role {
  font-style: italic;
  font-size: 10pt;
  color: #333;
}

.entry-url {
  font-size: 8.5pt;
}

.entry-url a {
  color: #1e4fa0;
  text-decoration: none;
}

.entry-url a:hover { text-decoration: underline; }

.entry-extras {
  font-size: 9.5pt;
  color: #444;
}

/* ---- Bullets ---- */
.bullets {
  margin: 4px 0 0 0;
  padding-left: 1.3em;
  list-style: disc;
}

.bullets li {
  margin-bottom: 2px;
  font-size: 9.5pt;
  list-style-type: disc;
}

/* ---- Skills grid ---- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px 0;
}

.skill-item {
  font-size: 9.5pt;
  padding: 1px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.skill-item::before {
  content: "\2022";
  color: #444;
  font-size: 8pt;
  flex-shrink: 0;
}

/* ---- Dual citizenship ---- */
.dc-block { font-size: 10pt; line-height: 1.6; }
.dc-block p { margin-top: 4px; }

/* ---- Italian GDPR footer ---- */
.gdpr-footer {
  margin-top: 36px;
  border-top: 0.5pt solid #ccc;
  padding-top: 8px;
  font-size: 7.5pt;
  color: #666;
  font-style: italic;
  text-align: left;
}

/* ---- Print ---- */
@media print {
  body { background: white; padding: 0; }
  .page { box-shadow: none; max-width: none; padding: 0; }
}

@media (max-width: 640px) {
  .page { padding: 28px 20px 36px; }
  .name { font-size: 20pt; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .header-photo img { width: 64px; height: 80px; }
}
