
.research-top {
    background-color: var(--ras-electricblue);
    display: grid;
    /* This creates two equal columns: 50% / 50% */
    grid-template-columns: 1fr 1fr; 
    min-height: 400px; /* Adjust based on your preference */
    width: 100%;
    overflow: hidden;
}

.header-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Align the text with a standard Bootstrap container: viewport-based,
       with a floor so it never collapses to the screen edge */
    padding-left: max(2rem, calc((100vw - 1140px) / 2 + 15px));
    padding-right: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.header-image-side {
    width: 100%;
    height: 100%;
}

.header-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces image to fill the 50% area without distortion */
    display: block;
}

.research-top h1 {
    font-family: 'Bodoni', serif;
    /* Long article titles (e.g. country reports) must fit the split hero */
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    color: white;
    margin: 0;
}

/* Responsive adjustment for Mobile */
@media (max-width: 992px) {
    .research-top {
        grid-template-columns: 1fr; /* Stack them vertically on small screens */
    }
    
    .header-text-side {
        padding-left: 15px; /* Standard mobile padding */
        padding-right: 15px;
    }

    .header-image-side {
        height: 300px; /* Fixed height for image when stacked */
    }
}


.research-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.research-page h1{
    padding-top: 3rem;
    font-family: 'Bodoni', serif;
    font-size: 2rem;
    color: var(--ras-darkblue);
}

.research-page h2 {
    font-family: 'Theinhardt', sans-serif;
    font-weight: 100;
    font-size: 2rem;
    padding-top: 1.5rem;
}

.research-page h3 {
    font-family: 'Theinhardt', sans-serif;
    font-weight: 100;
    font-size: 1.75rem;
    padding-top: 1.5rem;
}

.research-page p,
.research-page li {
    font-family: 'Theinhardt', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.research-page p {
    margin-bottom: 1.25rem;
}

.research-page li {
    margin-bottom: 0.5rem;
}

.research-page img {
    width: 50rem;
    max-width: 100%;
    height: auto;
    padding-bottom: 3rem;
    /* object-fit: scale-down; */

}

/* Gold caption above charts/maps, matching the card category labels */
.research-page .research-object-title {
    font-family: 'Theinhardt', sans-serif;
    color: var(--ras-gold);
    font-size: 1rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.research-page .research-body-img {
    display: block;
    padding-bottom: 2rem;
}