﻿/* ============================================================
   HERO INTRO
============================================================ */
.research-hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    padding-left: 6vw;
    overflow: hidden;
}

.research-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/slide3.jpg') center/cover no-repeat;
    filter: brightness(0.55);
    transform: scale(1.1);
}

.research-hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    color: #fff;
}

.research-title {
    font-size: 3.6rem;
    font-weight: 800;
}

.research-subtitle {
    font-size: 1.3rem;
    opacity: 0.85;
}

.research-desc {
    margin-top: 15px;
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.9;
}


/* ============================================================
   GRID
============================================================ */
.msi-section {
    padding: 70px 6vw;
}

.msi-section-title.center {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.3rem;
    font-weight: 800;
    color: #2f5f45;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.research-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: 0.3s ease;
}

    .research-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.22);
    }

.research-poster {
    height: 340px;
    background-size: cover;
    background-position: center;
}

.research-info {
    padding: 20px;
}

    .research-info h3 {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: #2f5f45;
    }

.research-authors {
    font-size: 0.9rem;
    color: #777;
}

.research-year {
    font-size: 0.95rem;
    margin-top: 6px;
    color: #555;
}


/* ============================================================
   MODAL VIEWER
============================================================ */
.research-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.research-modal {
    background: #fff;
    width: 85%;
    max-width: 900px;
    border-radius: 14px;
    overflow: hidden;
    animation: fadeIn 0.25s ease-out;
}

.modal-cover {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.modal-body {
    padding: 28px;
}

    .modal-body h2 {
        font-size: 2rem;
        font-weight: 800;
        color: #2f5f45;
    }

.modal-authors {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.modal-abstract {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-download {
    padding: 10px 18px;
    background: #2f5f45;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.modal-close {
    margin-top: 20px;
    padding: 8px 12px;
    border: none;
    background: #ccc;
    border-radius: 6px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
