﻿.blogfa-card {
    position: relative; /* برای overlay */
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

    .blogfa-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.3s ease;
    }

    /* اضافه کردن overlay آبی روی تصویر هنگام هاور */
    .blogfa-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 191, 223, 0); /* شفافیت 0 در حالت عادی */
        transition: background-color 0.3s ease;
    }

    .blogfa-card:hover::after {
        background-color: rgba(0, 191, 223, 0.3); /* رنگ آبی نیمه شفاف هنگام هاور */
    }

    .blogfa-card:hover img {
        transform: scale(1.05); /* کمی بزرگ شدن */
    }

/* ریسپانسیو موبایل */
@media (max-width:768px) {
    .blogfa-card {
        aspect-ratio: 1 / 1; /* هنوز مربع باقی بماند */
    }
}
.team-title {
    font-size: 2.5rem; /* اندازه دسکتاپ ثابت */
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.team-slogan {
    font-size: 1.5rem; /* اندازه دسکتاپ ثابت */
    color: #00bfdf;
    font-weight: 500;
    margin-top: 0;
}

/* موبایل */
@media (max-width: 768px) {
    .team-title {
        font-size: 8vw; /* نسبت به عرض موبایل */
    }

    .team-slogan {
        font-size: 5.5vw;
    }
}
