﻿.pagination-link.is-current {
    background-color: #213074;
    color: white;
    border-color: white;
}

.similar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.similar-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.similar-card-meta {
    display: flex;
    flex-wrap: wrap; /* اگر زیاد شد، به خط بعد برود */
    gap: 5px; /* فاصله بین برچسب‌ها */
    margin-top: 5px; /* فاصله از سایر المان‌ها */
}

.tag.is-clickable {
    background-color: #efefef; /* رنگ زمینه دلخواه */
    color: black; /* رنگ متن */
    border-radius: 5px;
    padding: 0.25em 0.5em;
    font-size: 0.85rem;
    transition: 0.2s;
    text-decoration: none;
}

    .tag.is-clickable:hover {
        background-color: #213074; /* رنگ هاور */
        color: white; /* رنگ متن */

        transform: scale(1.05);
    }

.boxsearch {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px #eee;
}

.margintop {
    margin-top:10px;
}

.cursorpointer {
    cursor:pointer;
}
/* مربع کردن تصویر کارت‌ها */
.similar-card-media {
    width: 100%;
    aspect-ratio: 1 / 1; /* مربع */
    overflow: hidden;
    border-radius: 8px;
    background: #f2f2f2;
}

    .similar-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* کراپ کردن و پر کردن مربع */
        display: block;
    }
.news-title {
    font-size: 4rem; /* بزرگ و چشم‌گیر */
    font-weight: 800; /* بسیار bold */
    text-align: center;
    background: linear-gradient(90deg, #213074, #3a3f9e, #5c56c7); /* gradient هماهنگ با #213074 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* gradient فقط روی متن */
    text-shadow: 2px 2px 6px rgba(33,48,116,0.3); /* سایه با همان طیف */
    letter-spacing: 1px;
    line-height: 1.1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

    .news-title:hover {
        transform: scale(1.05); /* کمی بزرگ شدن هنگام hover */
        text-shadow: 4px 4px 12px rgba(33,48,116,0.5); /* سایه قوی‌تر هماهنگ */
    }

@media screen and (max-width: 768px) {
    .news-title {
        font-size: 2.5rem; /* واکنش‌گرا */
    }
}