/* WordPress content divs */
.wordpress-content {
    margin: 0 auto 64px auto;
    margin-right: 48px;
    display: flex;
    gap: 32px;
    align-items: center;
    max-width: 1216px;
}

.wordpress-content:not(:first-child) {
    margin-top: 64px;
}

.content-text {
    flex: 0 0 50%;
    width: 50%;
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content-text h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.1;
}

.content-text p {
    font-size: clamp(0.64rem, 1.6vw, 0.832rem);
    line-height: 1.6;
    margin-bottom: 32px;
}

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

/* Text-only layout (no image) */
.wordpress-content.layout-text-only {
    flex-direction: column;
}

.wordpress-content.layout-text-only .content-text-full-width {
    flex: 1;
    width: 100%;
}



.content-image-container {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image {
    width: 480px;
    height: 480px;
    overflow: hidden;
    border-radius: 9.6px;
}

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

/* Responsive layout for screens < 1200px */
@media (max-width: 1199px) {
    .wordpress-content {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
        padding: 0 32px;
    }

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

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

    .content-image {
        width: 100%;
        max-width: 480px;
        height: 320px;
    }
}


