/* Tablet and down: stack to single column */
@media (max-width: 991px) {
    .product-card-left-blog-post-card {
        display: flex;
        flex-wrap: wrap;
    }

    .product-image,
    .product-card-left-container {
        width: 100%;
        margin: 0;
    }

    .product-image img {
        width: 100%;
        height: auto;
    }

    .product-blog {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Phones (portrait) — ensure image sits BELOW text, incl. high-end large phones */
@media (orientation: portrait) and (max-width: 600px) {
    .product-card-left-blog-post-card {
        display: flex;
        flex-direction: column;
        /* column + explicit order for safety */
        gap: 16px;
        justify-content: space-between;
    }

    .product-card-left-container {
        order: 1;
        width: 100%;
        margin: 0;
        padding: 16px 0;
    }

    .product-image {
        order: 2;
        width: 100%;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .product-card-left-text {
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .product-blog {
        padding-left: 32px;
        padding-right: 32px;
    }

    .product-image>.language {
        margin-left: 0;
        font-size: 0.85rem;
    }
}

/* Big phones (portrait) up to ~820px width, exclude tablets/landscape */
@media (orientation: portrait) and (hover: none) and (pointer: coarse) and (max-width: 820px) {
    .product-card-left-blog-post-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .product-card-left-container {
        order: 1;
        padding: 16px 0;
    }

    .product-image {
        order: 2;
        margin-bottom: 8px;
    }
}

/* Small phones: keep headers readable */
@media (max-width: 479px) {
    .product-hero {
        padding: 32px var(--dl-space-space-unit);
    }

    .product-blog {
        padding: 32px var(--dl-space-space-unit);
    }

    .product-card-left-header {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
        margin: 0.5rem 0 1rem;
    }
}