/* Mobile Content Styles */

/* Responsive adjustments for generic content */
@media (max-width: 1024px) {
    .wordpress-content {
        gap: 24px;
        max-width: 90%;
    }


}

@media (max-width: 768px) {
    .wordpress-content {
        flex-direction: column;
        gap: 32px;
        text-align: left;
        margin: 0 auto 48px auto;
        padding: 0 16px;
    }

    .content-text {
        flex: none;
        width: 100%;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .content-image-container {
        flex: none;
        width: 100%;
        order: 2;
    }

    /* Force all mobile content to have the same order */
    .wordpress-content.layout-image-left .content-text {
        order: 1;
    }

    .wordpress-content.layout-image-left .content-image-container {
        order: 2;
    }

    .content-image {
        margin: 0 auto;
    }

    .content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .content-text h2 {
        margin-bottom: 16px;
    }

    .content-text p {
        margin-bottom: 24px;
    }

    .content-text .generic-button {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .wordpress-content {
        gap: 24px;
        margin: 0 auto 32px auto;
        padding: 0 12px;
        text-align: left;
    }


    .content-image img {
        object-fit: cover;
    }

    .content-text h2 {
        margin-bottom: 12px;
    }

    .content-text p {
        margin-bottom: 20px;
    }

    .content-text .generic-button {
        align-self: flex-end;
    }
}
