.all-officials-container-header {
  height: 4rem;
  padding: 0 1.5rem;

  display: grid;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--white);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.all-officials-container-header.scrolled {
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
.section-header {
  display: grid;
  align-items: center;
  justify-content: center;
}

.officials-container {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  gap: var(--g3-gap);
  width: min(100%, 1120px);
  margin: 0 auto;
}
.official-card {
  display: grid;
  gap: var(--g2-gap);
  width: min(100%, 280px);
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.055);
}
.official-image-container {
  aspect-ratio: 4 / 4.35;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--light-grey);
}
.official-image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.official-details {
  display: grid;
  gap: var(--g1-gap);
  justify-items: center;
  text-align: center;
  padding: 0 0.35rem 0.25rem;
}
.shuraa-official-details {
  align-items: start;
}
.secondary-details {
  display: grid;
  gap: 0.15rem;
  justify-items: center;
}
.official-name, .official-position, .official-institution, .official-extra-details {
  font-size: var(--small-size);
}
.official-name {
  color: var(--black);
  font-weight: 700;
  line-height: 1.25;
}
.official-position {
  color: var(--dark-green);
  font-weight: 700;
}
.official-institution,
.official-extra-details {
  color: var(--dark-grey);
  line-height: 1.45;
}

.shuraa-official-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 0.85rem;
  width: min(100%, 320px);
  padding: 1.2rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 251, 0.96)),
    var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}
.shuraa-official-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--dark-green), var(--vivid-green));
}
.shuraa-official-card .official-details {
  align-content: start;
  padding: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .all-officials-container-header {
    height: 5rem;
    padding: 0 3rem;
  }

  .officials-container {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: var(--g3-gap);
  }
}

/* Laptop / Desktop */
@media (min-width: 1024px) {
  .all-officials-container-header {
    padding: 0 6rem;
  }

  .officials-container {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: var(--g5-gap);
  }
  .official-card {
    width: 300px;
  }
  .shuraa-official-card {
    width: 400px;
  }
}
