/* Homepage activity cards */
.activities.section {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(72px, 8vw, 116px);
}

.activities .section-heading {
  margin-bottom: clamp(34px, 4vw, 54px);
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  border: 0;
}

.activity-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: 270px;
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid #d9dee5;
  border-top: 6px solid var(--green);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.activity-row:nth-child(2) { border-top-color: var(--yellow); }
.activity-row:nth-child(3) { border-top-color: var(--navy); }

.activity-row:hover {
  transform: translateY(-5px);
  border-color: #c5ccd6;
  box-shadow: 0 18px 38px rgba(0, 33, 92, .11);
}

.activity-row:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.activity-number {
  grid-column: 1;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.activity-row:nth-child(2) .activity-number { color: #9a6900; }
.activity-row:nth-child(3) .activity-number { color: var(--navy); }

.activity-copy {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.activity-copy strong {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.activity-copy > span {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.activity-row .round-link {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  align-self: end;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 1.2rem;
  transition: background .2s ease, color .2s ease;
}

.activity-row:hover .round-link {
  background: var(--navy);
  color: #fff;
}

/* Compact multilingual footer */
.site-footer {
  padding: 0 clamp(24px, 5vw, 72px);
  border-top: 6px solid var(--yellow);
  background: #eef1f5;
}

.footer-main,
.footer-bottom {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(260px, 1fr) auto;
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  padding: clamp(36px, 4vw, 54px) 0;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
}

.footer-logo {
  width: min(240px, 100%);
  height: auto;
}

.footer-message {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 2px solid var(--yellow);
}

.footer-message strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.footer-message p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  max-width: 480px;
}

.footer-links a,
.footer-top {
  color: var(--navy);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-top:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 24px;
  border-top: 1px solid #d5dbe3;
  color: var(--muted);
  font-size: .9rem;
}

.faq { background: #f3f5f7; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(230px, .75fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.faq-grid h2 { margin: 8px 0 0; }
.faq-list { border-top: 1px solid #cbd3dc; }
.faq-list details { border-bottom: 1px solid #cbd3dc; }
.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  max-width: 68ch;
  margin: -6px 50px 24px 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .activity-list { grid-template-columns: 1fr; }
  .activity-row {
    min-height: 0;
    grid-template-columns: 1fr auto;
    padding: 26px;
  }
  .activity-copy > span { max-width: 58ch; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
  }
  .footer-message { padding-left: 26px; }
  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
  }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .activities.section {
    padding-inline: 0;
    overflow: hidden;
  }
  .activities .section-inner {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
  }
  .activities .section-heading {
    width: auto;
    margin-inline: 22px;
  }
  .activities .activity-list {
    width: calc(100% - 44px);
    margin-inline: 22px;
  }
  .activities .section-heading > div,
  .activity-row,
  .activity-copy {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .activities .section-heading h2 {
    max-width: 100%;
    font-size: 2.35rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .activity-copy > span {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .site-footer { padding-inline: 22px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 34px;
  }
  .footer-logo { width: 190px; }
  .footer-message {
    padding: 18px 0 0;
    border-top: 2px solid var(--yellow);
    border-left: 0;
  }
  .footer-links {
    grid-column: 1;
    display: grid;
    gap: 14px;
  }
  .footer-bottom { align-items: flex-start; gap: 20px; }
}
