.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-711 .elementor-element.elementor-element-5fa9aa5{text-align:center;}.elementor-711 .elementor-element.elementor-element-5fa9aa5 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:27px;font-weight:600;color:#78032A;}:root{--page-title-display:none;}/* Start custom CSS *//* =========================
   WRAPPER
========================= */
.research-wrapper {
    max-width: 1200px;
    margin: 35px auto;
    padding: 0 15px;
}

/* =========================
   TOP BAR
========================= */
.research-topbar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#searchInput,
#departmentFilter {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

#searchInput { flex: 2; }
#departmentFilter { flex: 1; }

#searchInput:focus,
#departmentFilter:focus {
    background: #fff;
    border-color: #800020;
    box-shadow: 0 0 0 3px rgba(128,0,32,0.08);
}

/* =========================
   GRID
========================= */
.research-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 25px;
}

/* =========================
   CARD
========================= */
.research-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #f0f0f0;

    box-shadow: 0 6px 18px rgba(0,0,0,0.04);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 200px;

    transition: all 0.25s ease;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.08),
        0 0 0 1px rgba(128,0,32,0.05);
}

/* =========================
   CARD TOP
========================= */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pdf-icon {
    font-size: 22px;
    color: #800020;
    opacity: 0.7;
}

.year-badge {
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* =========================
   TITLE (IMPORTANT FIX)
========================= */
.research-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 8px 0 5px;
    line-height: 1.4;
}

/* =========================
   TEXT
========================= */
.research-card p {
    font-size: 14px;
    color: #444;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

/* =========================
   FACULTY BADGE
========================= */
.faculty-badge {
    display: inline-block;
    background: #eef1f5;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-left: 6px;
}

/* =========================
   BUTTON
========================= */
.download-btn {
    margin-top: 15px;
    align-self: center;

    background: linear-gradient(135deg, #8b0000, #c4002f);
    color: #fff;

    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;

    border-radius: 12px;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: all 0.25s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139,0,0,0.3);
}

/* =========================
   PAGINATION
========================= */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: #f3f4f6;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.page-btn:hover {
    background: #800020;
    color: #fff;
    transform: translateY(-2px);
}


.page-btn.active {
    background: linear-gradient(135deg, #800020, #b3002d);
    color: #fff;
    box-shadow: 0 6px 18px rgba(128,0,32,0.25);
    transform: scale(1.05);
}


/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .research-topbar {
        flex-direction: column;
    }

    .research-list {
        grid-template-columns: 1fr;
    }
}

.research-card h3 {
    display: block !important;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 8px 0 6px;
    line-height: 1.4;
}

.research-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}
.year-badge {
    background: #f3f4f6;
    color: #444;
    font-weight: 600;
}
.download-btn {
    transition: all 0.2s ease;
}/* End custom CSS */