/* ==========================================================================
   ATIC Staff Cards Widget
   ========================================================================== */

.atic-staff-cards {
    position: relative;
}

.atic-staff-grid {
    display: grid;
    gap: 40px;
}

.atic-staff-grid--cols-1 {
    grid-template-columns: 1fr;
}

.atic-staff-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atic-staff-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atic-staff-grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atic-staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 40px 30px;
    border: 1px solid #4a4a4a;
    background-color: #ffffff;
    text-align: center;
}

.atic-staff-card__photo-wrap {
    width: 240px;
    height: 240px;
    margin: 0 auto 36px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #101010;
}

.atic-staff-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atic-staff-card__name {
    margin: 0;
    color: #111111;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.15;
}

.atic-staff-card__role {
    margin: 6px 0 28px;
    color: #8c8c8c;
    font-size: 15px;
    line-height: 1.35;
}

.atic-staff-card__position {
    color: #111111;
    font-size: 19px;
    line-height: 1.45;
}

.atic-staff-card__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.atic-staff-card__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background-color: #b1b1b1;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.atic-staff-card__social-link:hover,
.atic-staff-card__social-link:focus-visible {
    background-color: #8f8f8f;
    transform: translateY(-1px);
}

.atic-staff-card__social-link:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.atic-staff-card__social-link i,
.atic-staff-card__social-link svg {
    width: 14px;
    height: 14px;
    color: currentColor;
    fill: currentColor;
    font-size: 14px;
}

.atic-staff-card__social-link svg path {
    fill: currentColor;
}

@media (max-width: 1024px) {

    .atic-staff-grid--cols-4,
    .atic-staff-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .atic-staff-grid--cols-4,
    .atic-staff-grid--cols-3,
    .atic-staff-grid--cols-2 {
        grid-template-columns: 1fr;
    }

    .atic-staff-card {
        padding: 32px 24px;
    }

    .atic-staff-card__photo-wrap {
        width: 200px;
        height: 200px;
        margin-bottom: 28px;
    }

    .atic-staff-card__name {
        font-size: 21px;
    }

    .atic-staff-card__position {
        font-size: 17px;
    }
}