/* Team / top authors section */
.team-section {
    font-family: "Kanit", "Montserrat", sans-serif;
    background: #fff;
}

.team-section__header {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.team-section__eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: #00c853;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.team-section__title {
    font-size: clamp(1.65rem, 1.5vw + 1rem, 2.25rem);
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.team-section__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

.team-section__grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.team-author-card {
    display: block;
    height: 100%;
    color: inherit;
}

.team-author-card__inner {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 0.85rem 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.team-author-card:hover .team-author-card__inner {
    border-color: #c8e6c9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.team-author-card__avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00c853;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0.65rem;
}

.team-author-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-author-card__avatar-placeholder {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.team-author-card__code {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.team-author-card__stars {
    margin-top: auto;
}

.team-author-card__stars .fa-star.star-filled {
    color: #ffc107;
}

.team-author-card__stars .fa-star.star-unfilled {
    color: #e2e8f0;
}

.team-author-card__stars .fa-star {
    font-size: 0.82rem;
    margin: 0 0.06rem;
}
