/* Responsive Fixes for About Me Page */
@media (max-width: 768px) {

    .col-3,
    .col-6 {
        width: 90% !important;
        text-align: center;
    }

    .abtme {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .masthead {
        height: 250px;
    }

    .page-heading h1 {
        font-size: 1.5rem !important;
    }

    .page-heading .subheading {
        font-size: 1rem !important;
    }

    .center iframe {
        width: 90%;
        max-width: 500px;
        aspect-ratio: 16/9;
    }
}

img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .col-3,
    .col-6 {
        width: 90% !important;
        max-width: 90% !important;
    }

    /* Reverse column stacking to keep text above images */
    .col-3:first-of-type {
        order: 3;
    }

    .col-6 {
        order: 2;
    }

    .col-3:last-of-type {
        order: 1;
    }
}

@media (max-width: 576px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .col-3,
    .col-6 {
        width: 90% !important;
        max-width: 90% !important;
    }

    /* Reverse column stacking to keep text above images */
    .col-3:first-of-type {
        order: 3;
    }

    .col-6 {
        order: 2;
    }

    .col-3:last-of-type {
        order: 1;
    }

    .abtme {
        font-size: 13px !important;
    }
}