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

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  background-color: #ffffff;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Navigation layout */
.top-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.nav-inner {
  max-width: 1220px;     /* wider so menu fits on one line */
  margin: 0 auto;
  padding: 0.75rem 2rem;
  
  display: flex;
  align-items: center;
  justify-content: space-between; /* menu left, language right */
  flex-wrap: nowrap;              /* prevent wrapping */
  gap: 1rem;
}

/* Menu links */
.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;          /* tightened spacing */
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.menu a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Language buttons on nav right */
.nav-lang {
  display: flex;
  gap: 0.6rem;
  margin-left: 2rem; /* spacing away from menu */
}

/* Logo + title block */
.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.site-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.site-subtitle {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Main content */
.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-intro {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Language buttons styling */
.lang-button {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid #000000;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
  background-color: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  background-color: #000000;
  color: #ffffff;
}

/* About section */
.about h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.about p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 1rem 2rem;
  background-color: #ffffff;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.85rem;
  opacity: 0.7;
}


/* Leadership section */
.leadership {
  margin-top: 2.5rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.leader h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.leader .role {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.leader p {
  margin: 0 0 0.35rem;
}

.leader a {
  color: #000000;
  text-decoration: underline;
}

.leader a:hover {
  text-decoration: none;
}

/* Two-column layout on larger screens */
@media (min-width: 800px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Leadership with photos */
.leader {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}

.leader-photo {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}

/* Better spacing when two-column */
@media (min-width: 800px) {
  .leader-photo {
    width: 100px;
    height: 100px;
  }
}


/* Responsive adjustments */
@media (max-width: 800px) {
  .menu {
    gap: 0.9rem; /* tighter spacing on tablets */
  }

  .lang-button {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .menu {
    flex-wrap: wrap; /* allow wrapping only on mobile */
    justify-content: center;
  }

  .nav-lang {
    justify-content: center;
  }

  .site-main {
    padding: 2rem 1.25rem 2.5rem;
  }

  .site-title {
    font-size: 1.3rem;
  }
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.participant h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.participant p {
  margin: 0 0 0.35rem;
}
