/* Existing Latest Posts widget, including its original order and links. */
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .widget_recent_entries { box-sizing:border-box; padding:16px; border:1px solid var(--fks-line); border-radius:14px; background:var(--fks-panel); }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:0!important; list-style:none; padding:0; margin:0; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts::before,
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts::after { content:none!important; display:none!important; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li::before,
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li::after { content:none!important; display:none!important; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li { display:grid; grid-template-columns:58px minmax(0,1fr); column-gap:12px; row-gap:4px; width:100%!important; min-width:0; box-sizing:border-box; margin:0!important; padding:14px 0; border:0; border-bottom:1px solid var(--fks-line); align-items:start; float:none; clear:both; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li:first-child { padding-top:0; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li:last-child { padding-bottom:0; border-bottom:0; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts__featured-image { grid-column:1; grid-row:1/span 4; display:flex; align-items:flex-start; justify-content:center; width:58px; max-width:58px; height:84px; float:none; margin:0!important; overflow:hidden; border-radius:5px; background:var(--fks-paper); }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts__featured-image img { display:block; width:auto; height:auto; max-width:58px!important; max-height:84px!important; float:none; margin:0; object-fit:contain; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li > :not(.wp-block-latest-posts__featured-image) { grid-column:2; min-width:0; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary a.wp-block-latest-posts__post-title { display:block; color:var(--fks-ink); font:600 14px/1.5 'Segoe UI',Arial,sans-serif; text-decoration:none; word-break:normal; overflow-wrap:anywhere; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary a.wp-block-latest-posts__post-title:hover { color:var(--fks-accent); text-decoration:underline; text-underline-offset:3px; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li:not(:has(.wp-block-latest-posts__featured-image)) { grid-template-columns:minmax(0,1fr); }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary .wp-block-latest-posts > li:not(:has(.wp-block-latest-posts__featured-image)) > * { grid-column:1; }
body:is(.fks-catalog-single,.fks-archive,.fks-home) #secondary :is(.wp-block-latest-posts__post-date,.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-excerpt) { color:var(--fks-muted); font:400 12px/1.5 'Segoe UI',Arial,sans-serif; }
