﻿

* {
    box-sizing: border-box;
}

body {
    font-family: Tahoma, sans-serif;
    direction: rtl;
    /*  background: #eaf2fb;*/
    background: linear-gradient(135deg, #deeef9 0%, #26455c 40%, #d6eaf6 100%);
    margin: 0;
    padding: 0;
}

.card-custom {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.95);
}

.researchmain {
    /*  background: linear-gradient(135deg, #deeef9 0%, #e8f4fd 40%, #d6eaf6 100%);*/
    /* background: linear-gradient(135deg, #deeef9 0%, #26455c 40%, #d6eaf6 100%);*/
    padding: 50px 20px;
    min-height: 100vh;
    position: relative;
}

    .researchmain::before {
        content: '';
        position: fixed;
        top: -20%;
        right: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(42,123,182,0.1) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    .researchmain::after {
        content: '';
        position: fixed;
        bottom: -20%;
        left: -10%;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(29,158,117,0.07) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

.row {
    position: relative;
    z-index: 1;
}

.redatalist {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.col-md-4 {
    padding: 12px;
    width: 24.333%;
}

.card-custom {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgb(255 255 255);
    border: 1px solid rgb(121 153 228 / 90%);
    /*    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);*/
    box-shadow: 0 4px 24px rgba(42,123,182,0.08), 0 1px 4px rgba(42,123,182,0.06);
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2), box-shadow 0.4s ease, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .card-custom:hover {
        transform: translateY(-10px) scale(1.015);
        box-shadow: 0 24px 56px rgba(42,123,182,0.18), 0 4px 12px rgba(42,123,182,0.1);
        border-color: rgba(42,123,182,0.35);
        background: rgba(255,255,255,0.92);
    }

.card-footer {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: hidden;
    position: relative;
}

.img-responsive {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    transition: transform 0.5s ease;
}

.card-custom:hover .img-responsive {
    transform: scale(1.07);
}

.card-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    pointer-events: none;
}

.card-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(42,123,182,0.88);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    /* backdrop-filter: blur(8px);*/
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-body {
    padding: 20px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .card-body .d-flex {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 4px;
    }

        .card-body .d-flex .img-fluid {
            display: none;
        }

.relink {
    color: #0f2a3f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .relink:hover {
        color: #2A7BB6;
        text-decoration: none;
    }

.relbl, .style1111 {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    background: none !important;
}

.text-muted {
    font-size: 12.5px !important;
    color: #5a7a90 !important;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    flex: 1;
}

.rehyplink {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2A7BB6;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(42,123,182,0.12);
    transition: gap 0.2s ease, color 0.2s ease;
}

    .rehyplink::before {
        content: '←';
        font-size: 13px;
    }

    .rehyplink:hover {
        color: #185FA5;
        gap: 9px;
    }

.repaging {
    display: none;
    text-align: center;
    margin: 48px 0 30px;
    position: relative;
    z-index: 1;
}

    .repaging input[type=submit] {
        background: rgba(255,255,255,0.7);
        border: 1px solid rgba(42,123,182,0.25);
        color: #2A7BB6;
        padding: 9px 22px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        margin: 4px;
        font-family: Tahoma, sans-serif;
        /*  backdrop-filter: blur(8px);*/
        transition: all 0.25s ease;
    }

        .repaging input[type=submit]:hover {
            background: #2A7BB6;
            border-color: #2A7BB6;
            color: #fff;
            box-shadow: 0 6px 20px rgba(42,123,182,0.25);
        }

@media (max-width: 991px) {
    .col-md-4 {
        width: 50% !important;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        width: 100% !important;
    }
}


