.view-sponsored-actors .views-row {
  margin-bottom: 30px;
  flex: 0 0 33.3333%;
  display: flex;
  flex-direction: column;
}


[class*="block-views-blocksponsored-actors"] h2 {
  text-align: center !important;
}

.view-sponsored-actors .views-row .profile-pic img {
  width: 100%;
  height: auto;
}

.view-sponsored-actors .views-row h3 {
  text-align: center;
  font-size: 2rem;
  color: white;
}

.view-sponsored-actors .views-row h6 {
  text-align: center;
  font-size: 1.2rem;
  color: white;
}

a.logo {
  /* border: 4px solid red; */
  display: block;
  width: 100%;
  margin-top: auto;
  text-align: center;
  background-color: white;
  padding: 10px;
  border-bottom: 8px solid var(--cma-pink);
}

a.logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  margin: 0 auto
}

.profile-pic img {
  /* border: 4px solid blue; */

}


.view-sponsored-actors .views-row {
  /* border: 2px solid white; */
}


/* Atlantic Crossing people (ac_people view, copy of sponsored_actors): cards, 5 per row. */
/* Hot pink section behind white cards. */
[class*="block-views-blockac-people"] {
  background: var(--cma-hot-pink);
}

html body [class*="block-views-blockac-people"] h2 {
  color: #fff;
  text-align: center;
}

.view-ac-people .view-content {
  row-gap: 1.5rem;
}

/* Support Team has only a few people: centre the row. */
.view-ac-people.view-display-id-block_2 .view-content {
  justify-content: center;
}

.view-ac-people .views-row {
  display: flex;
  flex: 0 0 20%;
  margin-bottom: 0;
}

.view-ac-people .views-row .views-field,
.view-ac-people .views-row .field-content {
  display: flex;
  width: 100%;
}

/* Card: photo on top, name and sponsor below. */
.view-ac-people .person-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--cma-hot-pink);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.view-ac-people .person-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.view-ac-people .person-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.view-ac-people .person-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem 1rem;
  text-align: center;
}

html body .view-ac-people .person-card__name {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--cma-hot-pink);
}

.view-ac-people .person-card__label {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.view-ac-people .person-card__sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.view-ac-people .person-card__sponsor img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
}

@media (max-width: 1200px) {
  .view-ac-people .views-row {
    flex: 0 0 25%;
  }
}


@media (max-width: 992px) {
  .view-sponsored-actors .views-row {
    flex: 0 0 50%;
  }

  .view-ac-people .views-row {
    flex: 0 0 33.3333%;
  }

}


@media (max-width: 768px) {
  .view-sponsored-actors .views-row {
    flex: 0 0 100%;
  }

  .view-ac-people .views-row {
    flex: 0 0 50%;
  }

}


@media (max-width: 576px) {
  .view-ac-people .views-row {
    flex: 0 0 100%;
  }
}
