/* research-result.css */

.research-banner {
    background-color: #004175;
    color: white;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}

.research-banner h1 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
}

.research-banner p {
    font-size: 16px;
    font-weight: 300;
    margin: 0 auto;
    max-width: 700px;
}

.research-results-section {
    padding: 60px 20px;
    background-color: #f7f9fc;
    font-family: 'Poppins', sans-serif;
}

.research-results-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #002f5f;
    font-weight: 600;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.research-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
    transition: 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    margin-bottom: 40px;
}

.research-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.research-img-wrapper {
    width: 100%;
    /*height: 220px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.research-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.research-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}

.research-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.research-abstract {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}

.research-download a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #005587;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s ease;
}

.research-download a:hover {
    background-color: #003c63;
}

.research-info p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Optional: These help with spacing and clean layout */
    font-size: 15px;
    line-height: 1.6;
    max-height: calc(1.6em * 5); /* fallback for non-webkit browsers */
}


.no-result {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.no-result p {
  text-align: center;
  font-size: 18px;
  color: #555;
}

.product-image-no-crop {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

