* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f1f1f;
  background: #f6f6f6;
  line-height: 1.5;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.site-logo {
  width: auto;
  height: 92px;
  max-width: min(100%, 680px);
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.25rem;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.hero-copy a {
  color: #0d4ca3;
}

.inline-button {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  background: #0d4ca3;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.robot-sections {
  max-width: 980px;
  margin: 1.25rem auto;
  padding: 0 1rem;
  display: grid;
  gap: 1rem;
}

.robot-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.robot-card img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.robot-card div {
  padding: 1rem;
}

.facebook-section {
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-section {
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
  margin-top: 0;
}

.content-section ul {
  margin-bottom: 0;
}

.archive-intro {
  display: grid;
  gap: 0.75rem;
}

.old-logo {
  width: min(100%, 520px);
}

.legacy-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.legacy-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.65rem;
  background: #fafafa;
}

.legacy-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
}

.legacy-card h3 {
  margin: 0.55rem 0 0.3rem;
}

.wide-legacy-image {
  width: 100%;
  max-width: 640px;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.year-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem;
  background: #fafafa;
}

.year-card h3 {
  margin: 0 0 0.35rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.sponsor-grid img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0.3rem;
}

.facebook-section h2,
.facebook-section p {
  margin-top: 0;
}

.facebook-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: #1877f2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.facebook-button:hover {
  background: #1465d0;
}

.facebook-help {
  margin-top: 0.75rem;
  text-align: center;
  color: #555;
  font-size: 0.92rem;
}

.site-footer {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-note {
  font-size: 0.92rem;
  color: #555;
}

.site-footer a {
  color: #0d4ca3;
}

@media (min-width: 760px) {
  .robot-card {
    display: grid;
    grid-template-columns: 300px 1fr;
  }

  .robot-card img {
    height: 100%;
    max-height: none;
  }
}

@media (max-width: 540px) {
  .site-logo {
    height: 64px;
    max-width: 100%;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .hero-copy {
    border-radius: 0;
  }
}
