.entry figure {
    max-width: 100%;
    margin: 1.5rem 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.entry figure > a {
    display: inline-block;
    max-width: 100%;
}

.entry figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.entry img:is([alt*="logo" i], [alt*="tehty_suomessa" i], [alt*="madeinfinland" i]) {
    max-inline-size: min(100%, 10rem);
    max-block-size: 6rem;
    object-fit: contain;
}

.entry figure:has(> img:is([alt*="logo" i], [alt*="tehty_suomessa" i], [alt*="madeinfinland" i])) {
    width: fit-content;
    margin-block: .85rem;
}

.entry figcaption,
.entry figcaption a {
    display: block;
    padding: 0;
    color: var(--muted);
}

.entry .sova-use-case-image img {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
    border-radius: .6rem;
}

.entry .sova-use-case-image figcaption {
    margin-top: .45rem;
}

.entry .sova-use-case-lead {
    font-size: 1.18rem;
    line-height: 1.55;
}
/* Sova3D: tietoa Kunta3D:stä */
.entry:has(.sova-product-intro) { max-width: min(1200px, 92%); }
.sova-product-intro {
    align-items: center !important;
    gap: clamp(1.2rem, 4vw, 3.4rem);
    padding: clamp(1rem, 3vw, 2.4rem);
    background: #eef5f5;
    border-radius: .9rem;
}
.sova-product-intro p { font-size: 1.12rem; }
.entry .sova-product-intro figure { margin: 0; }
.entry .sova-product-intro figure img { width: 100%; border-radius: .6rem; }
.entry .sova-product-intro .sova-product-badge { margin-block: 1rem 0; }
.entry .sova-product-badge img { width: min(6.5rem, 100%); height: auto; }
.sova-product-videos { gap: 1rem; }
.sova-product-videos .wp-block-column { border: 1px solid #cddbe0; padding: 1rem; border-radius: .65rem; }
.entry .sova-product-videos figure { margin: 0 0 .6rem; }
.entry .sova-product-videos img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #eef5f5; }
.entry .sova-product-videos p { margin: 0; }

.entry .sova-product-intro .sova-product-badge img { width: 33.333%; height: auto; }

/* Sova3D Viivi -kuvitus */
.entry .sova-viivi-hero {
    display: grid;
    align-items: end;
    min-height: clamp(18rem, 38vw, 31rem);
    box-sizing: border-box;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: .8rem;
    margin-block: 1rem 2rem;
    background: linear-gradient(0deg, #071a26e8, #071a2600 65%),
        #182c37 url('viivi-tampere.webp') center center / cover no-repeat;
}
.entry .sova-viivi-hero p {
    margin: 0;
    max-width: 52ch;
    padding: .7rem .9rem;
    border-radius: .4rem;
    color: #fff;
    background: #102433e8;
}
.entry figure.sova-viivi-screen img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #cddbe0;
    border-radius: .5rem;
}
