/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-page {
    margin-top: 20px;
    padding: 40px 0;
}

.about-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-page-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.about-page-description {
    font-size: 18px;
    color: var(--secondary-text-color);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   STAFF GRID
   ============================================ */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ============================================
   STAFF CARD
   ============================================ */

.staff-card {
    background-color: var(--primary-block-color);
    border-radius: var(--primary-border-round);
    padding: 24px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.staff-card:hover {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
}

.staff-photo {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 4;
    border-radius: var(--primary-border-round);
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--primary-bg-color);
    flex-shrink: 0;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text-color);
}

.staff-info {
    width: 100%;
}

.staff-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.staff-position {
    font-size: 16px;
    color: var(--active-block-color);
    font-weight: 500;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.staff-bio {
    font-size: 14px;
    color: var(--secondary-text-color);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.staff-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--primary-element-color);
}

.staff-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.staff-contact-item:hover {
    color: var(--active-block-color);
}

.staff-contact-item svg {
    flex-shrink: 0;
}

.staff-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--secondary-text-color);
    background-color: var(--primary-block-color);
    border-radius: var(--primary-border-round);
}

.staff-empty p {
    margin: 0;
    font-size: 18px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet - up to 1023px */
@media (max-width: 1023px) {
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .staff-photo {
        max-width: 240px;
    }
}

/* Mobile - up to 767px */
@media (max-width: 767px) {
    .about-page {
        padding: 24px 0;
    }

    .about-page-header {
        margin-bottom: 32px;
    }

    .about-page-title {
        font-size: 28px;
    }

    .about-page-description {
        font-size: 16px;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .staff-card {
        padding: 20px;
    }

    .staff-photo {
        max-width: 200px;
        margin-bottom: 16px;
    }

    .staff-name {
        font-size: 18px;
    }

    .staff-position {
        font-size: 15px;
    }

    .staff-bio {
        font-size: 13px;
    }
}

/* Mobile Small - up to 479px */
@media (max-width: 479px) {
    .about-page-title {
        font-size: 24px;
    }

    .about-page-description {
        font-size: 15px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-card {
        padding: 16px;
    }

    .staff-photo {
        max-width: 180px;
    }

    .staff-name {
        font-size: 17px;
    }

    .staff-position {
        font-size: 14px;
    }
}

