:root {
  --activity-blue: #174fa6;
  --activity-navy: #0c294f;
  --activity-sky: #eaf4ff;
  --activity-text: #51657c;
}

.activity-eyebrow {
  color: var(--activity-blue);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.activity-page-heading {
  margin-bottom: 38px;
  max-width: 760px;
}

.activity-page-heading h1 {
  color: var(--activity-navy);
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.activity-page-heading p {
  color: var(--activity-text);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
  max-width: 720px;
}

.activity-section {
  background: #f6f9fc;
  padding: 160px 0 96px;
}

.activity-filter {
  align-items: end;
  background: #fff;
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(20, 54, 91, 0.08);
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
  padding: 22px;
}

.activity-filter .form-select {
  min-width: min(100%, 300px);
}

.activity-primary-button {
  background: var(--activity-blue);
  color: #fff;
}

.activity-primary-button:hover {
  background: var(--activity-navy);
  color: #fff;
}

.achievement-card {
  background: #fff;
  border: 1px solid #deE8f2;
  border-radius: 20px;
  box-shadow: 0 15px 38px rgba(20, 54, 91, 0.07);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.achievement-card:hover {
  box-shadow: 0 22px 46px rgba(20, 54, 91, 0.14);
  transform: translateY(-5px);
}

.achievement-image {
  background: var(--activity-sky);
  display: block;
  height: 260px;
  overflow: hidden;
}

.achievement-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
  width: 100%;
}

.achievement-card:hover .achievement-image img {
  transform: scale(1.035);
}

.achievement-body {
  padding: 25px;
}

.achievement-body h2 {
  color: var(--activity-navy);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.4;
}

.achievement-body p,
.achievement-body time {
  color: var(--activity-text);
}

.achievement-body p {
  line-height: 1.75;
  margin-bottom: 0;
}

.activity-badge {
  background: var(--activity-sky);
  border-radius: 999px;
  color: var(--activity-blue);
  font-size: 0.75rem;
  font-weight: 750;
  padding: 7px 12px;
}

.documentation-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

.documentation-card {
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(20, 54, 91, 0.1);
  display: block;
  grid-column: span 4;
  height: 330px;
  overflow: hidden;
  position: relative;
}

.documentation-card:nth-child(5n + 1),
.documentation-card:nth-child(5n + 4) {
  grid-column: span 6;
}

.documentation-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
  width: 100%;
}

.documentation-card:hover img {
  transform: scale(1.045);
}

.documentation-overlay {
  align-items: end;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 27, 55, 0.88) 100%);
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  left: 0;
  padding: 60px 22px 20px;
  position: absolute;
  right: 0;
}

.activity-empty {
  background: #fff;
  border: 1px dashed #b9cce0;
  border-radius: 20px;
  padding: 70px 24px;
  text-align: center;
}

.activity-empty i {
  color: var(--activity-blue);
  display: block;
  font-size: 3rem;
  margin-bottom: 18px;
}

.activity-empty h2 {
  color: var(--activity-navy);
  font-size: 1.35rem;
}

.activity-empty p {
  color: var(--activity-text);
  margin-bottom: 0;
}

.documentation-empty {
  grid-column: 1 / -1;
}

.activity-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.activity-pagination svg {
  height: 18px;
  width: 18px;
}

#whatsapp-button {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  color: #fff;
  display: flex;
  height: 54px;
  justify-content: center;
  position: fixed;
  right: 20px;
  width: 54px;
  z-index: 999;
}

#whatsapp-button i {
  font-size: 26px;
}

@media (max-width: 991.98px) {
  .activity-section {
    padding-top: 130px;
  }

  .documentation-card,
  .documentation-card:nth-child(5n + 1),
  .documentation-card:nth-child(5n + 4) {
    grid-column: span 6;
  }
}

@media (max-width: 575.98px) {
  .activity-section {
    padding: 115px 0 72px;
  }

  .activity-page-heading {
    margin-bottom: 28px;
  }

  .documentation-card,
  .documentation-card:nth-child(5n + 1),
  .documentation-card:nth-child(5n + 4) {
    grid-column: 1 / -1;
    height: 300px;
  }
}
