/* Proportional images fill their frames; face bounds guide the visible area. */
body.aklam-readable .post-thumbnail,
body.aklam-readable .post-thumbnail > a { background: #e8eef3 !important; opacity: 1 !important; visibility: visible !important; }
body.aklam-readable .post-thumbnail > a { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; box-shadow: none; overflow: hidden; }
body.aklam-readable .post-thumbnail img.wp-post-image,
body.aklam-readable .aklam-hero-media img,
body.aklam-readable .aklam-hero-story img { display: block; padding: 0 !important; object-fit: cover !important; object-position: center 30%; background: transparent !important; opacity: 1 !important; visibility: visible !important; transform: none !important; transition: none; }
body.aklam-readable.home .list-box li.first-news .post-thumbnail > a { aspect-ratio: 4 / 3; }
body.aklam-readable.home .list-box li.first-news .post-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; }
body.aklam-readable.home .list-box li.other-news .post-thumbnail > a { aspect-ratio: auto; height: 78px; }
body.aklam-readable.home #sidebar #tabbed-widget :is(#tab1,#tab2) .post-thumbnail > a { aspect-ratio: 1; }
body.aklam-readable #sidebar .news-pic .post-thumbnail > a { aspect-ratio: 1; }
body.aklam-readable #related_posts .post-thumbnail > a { aspect-ratio: 4 / 3; }
body.aklam-readable .aklam-hero-media { position: relative; padding: 0; min-height: 320px; background: #e8eef3; }
body.aklam-readable .aklam-image-story { display: block; position: relative; flex: 0 0 70px !important; width: 70px; height: 70px; border-radius: 7px; }
body.aklam-readable .aklam-image-canvas { position: relative; overflow: hidden; isolation: isolate; }
body.aklam-readable .aklam-image-canvas::before { content: ''; position: absolute; inset: -14px; z-index: 0; background-image: var(--aklam-media-source); background-size: cover; background-position: center; filter: blur(14px) saturate(.75); opacity: 0; }
body.aklam-readable .aklam-image-canvas.aklam-image-backed::before { opacity: .8; }
body.aklam-readable .aklam-image-canvas > img { position: absolute !important; inset: auto !important; left: var(--aklam-draw-x,0px) !important; top: var(--aklam-draw-y,0px) !important; width: var(--aklam-draw-width,100%) !important; height: var(--aklam-draw-height,100%) !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; z-index: 1; border-radius: 0 !important; margin: 0 !important; }
body.aklam-readable .aklam-image-canvas .overlay-icon { display: none; }
@media (max-width: 767px) {
    body.aklam-readable .aklam-hero-feature { grid-template-columns: minmax(0,1fr); }
    body.aklam-readable .aklam-hero-media { grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
    body.aklam-readable.home .list-box li.other-news .post-thumbnail > a { height: 76px; }
    body.aklam-readable #related_posts .post-thumbnail > a { aspect-ratio: 1; }
    body.aklam-readable.single .single-post-thumb.aklam-article-root { padding: 0; }
    body.aklam-readable.single .aklam-article-media { display: block; width: 100%; height: auto; aspect-ratio: var(--aklam-article-ratio,4 / 3); max-height: none; padding: 0; background: #e8eef3; }
    body.aklam-readable.single .entry img { max-width: 100% !important; height: auto !important; }
    body.aklam-readable.single .entry :is(.wp-block-image,.wp-caption) { max-width: 100% !important; margin-inline: 0; }
}
