/* ===========================================
   Desktop overrides for mobile-optimized.css
   20250159glp1-specific
   =========================================== */

@media (min-width: 769px) {
    /* Hero section layout */
    .hero-content {
        align-items: stretch;
        gap: 2rem;
        min-height: 500px;
    }

    /* 50/50 column split */
    .hero-left {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-right {
        display: flex !important;
        flex: 1 1 50%;
        position: relative;
    }

    /* Image container fills available space */
    .study-image-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .studyImageContainer {
        width: 100%;
        height: 100%;
        border-radius: 0.75rem;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        position: relative;
    }

    /* Image covers container, crops gracefully */
    .study-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        max-height: none;
        border-radius: 0.75rem;
    }

    /* Image header overlay */
    .study-image-header {
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        background-color: var(--study-image-header-bg-color, #0B2346);
        color: var(--study-image-header-font-color, white);
        padding: 1rem 1.25rem;
        text-align: center;
        font-weight: 600;
        font-size: var(--study-image-header-font-size, 1.1rem);
        border-radius: 0.5rem;
        z-index: 10;
    }

    /* Gradient overlay on image */
    .studyImageContainer::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 100%);
        pointer-events: none;
        border-radius: 0 0 0.75rem 0.75rem;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        min-height: 550px;
        gap: 3rem;
    }
}
