/* shared.css — common styles for all apolitical party pages */

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

body {
  margin: 0;
  background: #f5f5f5;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}

/* Sea background */
.sea {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.row {
  position: absolute;
  white-space: nowrap;
  font-size: 1.4rem;
  line-height: 1.8rem;
}

/* Content panel */
.content {
  position: relative;
  z-index: 1;
  padding: 2rem 3rem;
  background: rgba(245,245,245,0.85);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  max-width: 860px;
  margin: 2rem auto;
}

/* Navigation */
.nav {
  margin-top: 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.nav a {
  margin-right: 2rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { text-decoration: underline; }
.nav a.active { border-bottom: 2px solid #1a1a1a; }

/* Back link */
.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.back:hover { color: #1a1a1a; }

/* Page headings */
h1.brand {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}
h1.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
h2.tagline {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0.4rem 0;
  color: #333;
}

/* Body text */
p { font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.1rem; color: #222; }
p:last-child { margin-bottom: 0; }

/* Section blocks */
.section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.section:first-of-type { border-top: none; margin-top: 1rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.6rem;
}

/* Call to action button */
.cta {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.75rem 1.8rem;
  background: #1a1a1a;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.cta:hover { background: #333; }
.cta.secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  margin-left: 1rem;
}
.cta.secondary:hover { background: rgba(0,0,0,0.06); }

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  background: rgba(255,255,255,0.8);
  color: #1a1a1a;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* FAQ */
details {
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 0.8rem;
}
details summary {
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  padding: 0.3rem 0;
}
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+ "; color: #777; }
details[open] summary::before { content: "− "; color: #777; }
details p { margin-top: 0.6rem; font-size: 0.98rem; color: #444; }

/* Evidence cards */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.evidence-card {
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.08);
}
.evidence-card .country {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.3rem;
}
.evidence-card p {
  font-size: 0.93rem;
  margin: 0;
  color: #333;
}

/* Volunteer skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.skill-item {
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,0.08);
}
.skill-item .skill-icon { font-size: 1.3rem; margin-bottom: 0.3rem; }

@media (max-width: 600px) {
  .content { padding: 1.5rem; margin: 1rem; }
  h1.page-title { font-size: 1.7rem; }
  .nav a { margin-right: 1rem; font-size: 1rem; }
  .cta.secondary { margin-left: 0; margin-top: 0.6rem; }
}
