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

    .blogfa-card img {
        width: 200px;
        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;
    }
}
.wptb-item--title.with-lines {
    position: relative;
    display: inline-block;
    padding: 0 20px; /* فاصله متن از خطوط */
}

    .wptb-item--title.with-lines::before,
    .wptb-item--title.with-lines::after {
        content: "";
        position: absolute;
        top: 50%; /* وسط متن */
        width: 100px; /* طول خط */
        height: 2px; /* ضخامت خط */
        background-color: #00bfdf; /* رنگ خط */
    }

    .wptb-item--title.with-lines::before {
        left: -120px; /* فاصله از متن */
    }

    .wptb-item--title.with-lines::after {
        right: -120px; /* فاصله از متن */
    }

ul li a i {
    transition: color 0.3s; /* برای انیمیشن نرم */
}

/* وقتی موس روی لینک میره */
ul li a:hover i {
    color: #00bfdf;
}

.wptb-item--date {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 191, 223, 0.8); /* کاور آبی شفاف */
    color: #fff; /* متن سفید */
    border-radius: 5px;
    font-weight: bold;
    z-index: 1;
}

    .wptb-item--date::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 191, 223, 0.8); /* همون کاور آبی */
        border-radius: 5px;
        z-index: -1;
    }

.wptb-item--title a {
    color: #333; /* رنگ پیش‌فرض متن */
    text-decoration: none;
    transition: color 0.3s ease; /* انیمیشن نرم برای تغییر رنگ */
}

    .wptb-item--title a:hover {
        color: #00bfdf; /* رنگ آبی هنگام هاور */
    }

.wptb-item--author a {
    color: #333; /* رنگ پیش‌فرض متن */
    text-decoration: none;
    transition: color 0.3s ease; /* تغییر رنگ نرم */
}

    .wptb-item--author a:hover {
        color: #00bfdf; /* رنگ آبی هنگام هاور */
    }