/* Prompts Section */
.prompts-section {
    position: relative;
    z-index: 10;
    padding: 60px 0;
    width: 100%;
}

.prompts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Section Header */
.prompts-header {
    margin-bottom: 40px;
}

.prompts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Prompts Grid */
.prompts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Left side takes 2/3, right side takes 1/3 */
    gap: 24px;
    /* height: 400px; */
}

/* Left Side Container */
.prompts-left {
    display: grid;
    /* grid-template-rows: 1fr 1fr; */
    /* Two equal rows */
    gap: 16px;
}

/* Bottom Row Container (for Writing and Science) */
.prompt-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 16px;
}

/* Right Side Container */
.prompts-right {
    display: flex;
}

/* Prompt Cards */
.prompt-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.prompt-card:hover {
    transform: translateY(-1px);
    /* box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2); */
    /* border-radius: 15px; */
}

.prompt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Size Classes */
.prompt-large {
    /* Learn card - spans full width and top half */
}

.prompt-small {
    /* Writing and Science cards - each takes half width */
}

.prompt-tall {
    /* Daily Life card - spans full height of right side */
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .prompts-container {
        padding: 0 40px;
    }

    .prompts-grid {
        height: 350px;
        gap: 20px;
    }

    .prompt-bottom-row {
        gap: 12px;
    }

    .prompts-left {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .prompts-title {
        font-size: 2.2rem;
    }

    .prompts-grid {
        height: 300px;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .prompts-container {
        padding: 0 30px;
    }

    .prompts-section {
        padding: 40px 0;
    }

    .prompts-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .prompts-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        grid-template-rows: auto auto;
        height: auto;
        gap: 20px;
    }

    .prompts-left {
        grid-template-rows: 200px 120px;
        /* Fixed heights for mobile */
    }

    .prompts-right .prompt-tall {
        height: 200px;
        /* Match the Learn card height */
    }
}
@media (max-width: 480px) {
    .prompts-container {
        padding: 0 20px;
    }

    .prompts-title {
        font-size: 1.8rem;
    }

    .prompts-grid {
        gap: 4px;
    }

    /* Remove fixed heights - let images determine their own height */
    .prompts-left {
        grid-template-rows: auto auto;
        /* Changed from fixed heights */
        gap: 4px;
    }

    .prompt-bottom-row {
        gap: 4px;
    }

    /* Let images maintain their natural aspect ratio */
    .prompt-image {
        width: 100%;
        height: 100%;
        /* Changed from 100% to auto */
        object-fit: cover;
        /* Changed from cover to contain */
        display: block;
    }

    /* Remove fixed height constraint */
    .prompts-right .prompt-tall {
        height: auto;
        /* Changed from fixed 160px */
    }

    /* Optional: Add max-height to prevent images from being too large */
    .prompt-large .prompt-image {
        max-height: 200px;
    }

    .prompt-small .prompt-image {
        max-height: 120px;
    }

    .prompt-tall .prompt-image {
        max-height: 250px;
    }
}