/* ========================================
   Research Page Styles
   ======================================== */

.research-main {
    padding: 4rem 0;
}

.research-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.research-header {
    text-align: left;
    margin-bottom: 4rem;
}

.research-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.25rem;
}

.research-description {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.research-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.research-card {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.research-card-top {
    padding: 16px 100px 20px 0;
    display: grid;
    height:140px;
    align-items: flex-end;
    justify-content: start;
}

.research-card-top.blue-bg {
    background-color: #11326F;
}

.research-card-top.teal-bg {
    background-color: #1E5E6B;
}

.research-card-top.navy-bg {
    background-color: #254B8C;
}

.research-card-top.purple-bg {
    background-color: #4A3B7C;
}

.research-card-top.green-bg {
    background-color: #2D5A4E;
}

.research-card-top.cyan-bg {
    background-color: #1A7A8C;
}

.research-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0 0 0 10px;
}

.research-card-body {
    padding: 1.5rem 2rem;
}

.research-card-link {
    text-decoration: none;
    color: inherit;
}

.research-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.research-card-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.research-card-bottom {
    padding: 1rem 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-gray);
}

.research-card-meta {
    font-size: 12px;
    color: var(--text-gray);
}

.research-card-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.research-card-read svg {
    width: 14px;
    height: 14px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    padding: 3rem 0 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gray);
    background-color: transparent;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-btn svg {
    width: 16px;
    height: 16px;
}

.page-dots {
    padding: 0 0.5rem;
    color: var(--text-gray);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .research-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .research-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .research-main {
        padding: 2rem 0;
    }
    
    .research-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .research-title {
        font-size: 1.75rem;
    }
    
    .research-description {
        font-size: 1rem;
    }
    
    .research-card-top {
        padding: 1.5rem;
    }
    
    .research-card-body {
        padding: 1.25rem;
    }
    
    .research-card-bottom {
        padding: 0.75rem 1.25rem 1.25rem;
    }
    
    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}