.hopopup-team {
--hopopup-team-columns: 3;
--hopopup-team-gap: 32px;
--hopopup-team-radius: 12px;
}
.hopopup-team__title {
margin: 0 0 24px;
}
.hopopup-team__grid {
display: grid;
grid-template-columns: repeat(var(--hopopup-team-columns), minmax(0, 1fr));
gap: var(--hopopup-team-gap);
}
.hopopup-team-member {
min-width: 0;
position: relative;
}
.hopopup-team-member__content{
position: absolute;
bottom: 0;
color: white;
padding: 0 10px 10px;
width: 100%;
}
.hopopup-team-member__photo {
overflow: hidden;
aspect-ratio: 4 / 5;
background: #f2f2f2;
}
.hopopup-team-member__photo img,
.hopopup-team-member__photo-placeholder {
display: block;
width: 100%;
height: 100%;
}
.hopopup-team-member__photo img {
object-fit: cover;
}
.hopopup-team-member__name {
margin: 5px 0;
font-size: 1.30rem;
line-height: 1.30rem;
}
.hopopup-team-member__position {
margin: 0 0 5px;
font-weight: 600;
font-size: 0.8rem;
}
.hopopup-team-member__description,
.hopopup-team-member__strength {
margin: 0 0 5px;
font-size: 0.7rem;
}
.hopopup-team-member__description > :first-child,
.hopopup-team-member__strength > :first-child { margin-top: 0; }
.hopopup-team-member__description > :last-child,
.hopopup-team-member__strength > :last-child { margin-bottom: 0; }
.hopopup-team-member__strength {
font-style: italic;
}
.hopopup-team-member__categories {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 10px 0 0;
padding: 0;
list-style: none;
}
.hopopup-team-member__categories li {
padding: 3px 8px;
border-radius: 999px;
background: #f2f2f2;
font-size: .85em;
}
.hopopup-team__empty {
margin: 0;
}
@media (max-width: 1024px) {
.hopopup-team__grid {
grid-template-columns: repeat(var(--hopopup-team-columns-tablet), minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.hopopup-team__grid {
grid-template-columns: 1fr;
}
}