/* Research Pages Mobile Responsive Styles */

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header image */
    header1 img {
        aspect-ratio: 16 / 5 !important;
    }

    /* Content padding */
    .content {
        padding: 15px 10px !important;
    }

    /* Headings */
    h1 {
        font-size: 1.4rem !important;
        padding: 0 10px !important;
    }

    /* Description text */
    .description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
        margin-bottom: 25px !important;
    }

    /* Faculty container - change to single column */
    .faculty-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 15px 10px !important;
    }

    /* Faculty card adjustments */
    .faculty-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }

    .faculty-card img {
        width: 90px !important;
        height: 90px !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }

    .faculty-details {
        width: 100%;
    }

    .faculty-details h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .faculty-details p {
        font-size: 0.85rem !important;
        margin: 4px 0 !important;
    }

    .email-link {
        font-size: 0.85rem !important;
        justify-content: center !important;
    }

    .email-link i {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    header1 img {
        aspect-ratio: 4 / 3 !important;
    }

    h1 {
        font-size: 1.2rem !important;
    }

    .description {
        font-size: 0.9rem !important;
    }

    .faculty-container {
        padding: 10px 5px !important;
        gap: 12px !important;
    }

    .faculty-card {
        padding: 12px !important;
    }

    .faculty-card img {
        width: 75px !important;
        height: 75px !important;
    }

    .faculty-details h3 {
        font-size: 0.95rem !important;
    }

    .faculty-details p {
        font-size: 0.8rem !important;
    }

    .email-link {
        font-size: 0.8rem !important;
    }

    .email-link i {
        font-size: 14px !important;
    }
}
