/* Every rule is scoped to the module body class so an enabled toolkit cannot
 * alter admin screens, single articles, widgets or unrelated plugins. */
body.ztk-card-style-page .posts-item,
body.ztk-card-style-page .posts-item-card{position:relative;background:var(--ztk-card-bg,#fff);border:1px solid var(--ztk-card-border,rgba(36,48,74,.08));border-radius:16px;box-shadow:0 8px 28px var(--ztk-card-shadow,rgba(38,50,80,.08));overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
body.ztk-card-style-page .posts-item:hover,
body.ztk-card-style-page .posts-item-card:hover{transform:translateY(-4px);border-color:rgba(50,160,235,.28);box-shadow:0 14px 34px var(--ztk-card-shadow-hover,rgba(38,50,80,.15))}
body.ztk-card-style-page .posts-item .post-graphic,
body.ztk-card-style-page .posts-item-card .post-graphic,
body.ztk-card-style-page .posts-item.card>.item-thumbnail{background:linear-gradient(135deg,#eaf5ff,#f8fbff);overflow:hidden}
body.ztk-card-style-page .posts-item:not(.list) .post-graphic,
body.ztk-card-style-page .posts-item-card .post-graphic,
body.ztk-card-style-page .posts-item.card>.item-thumbnail{aspect-ratio:16/9;min-height:130px}
body.ztk-card-style-page .posts-item .item-thumbnail,
body.ztk-card-style-page .posts-item-card .item-thumbnail{height:100%;overflow:hidden}
body.ztk-card-style-page .posts-item .item-thumbnail img,
body.ztk-card-style-page .posts-item-card .item-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}
body.ztk-card-style-page .posts-item:hover .item-thumbnail img,
body.ztk-card-style-page .posts-item-card:hover .item-thumbnail img{transform:scale(1.045);filter:saturate(1.06)}
body.ztk-card-style-page .posts-item:not(.list) .item-body,
body.ztk-card-style-page .posts-item-card .item-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 14px}
body.ztk-card-style-page .posts-item .item-heading,
body.ztk-card-style-page .posts-item-card .item-heading{margin:0;line-height:1.5;font-size:17px;font-weight:700}
body.ztk-card-style-page .posts-item .item-heading a,
body.ztk-card-style-page .posts-item-card .item-heading a{color:var(--main-color,#26354d);text-decoration:none}
body.ztk-card-style-page .posts-item .item-excerpt,
body.ztk-card-style-page .posts-item-card .item-excerpt{color:var(--muted-color,#78869b);line-height:1.7}
body.ztk-card-style-page .posts-item .item-tags .but,
body.ztk-card-style-page .posts-item-card .item-tags .but{border-radius:999px;padding:4px 10px;background:rgba(66,154,232,.09);font-size:12px}
body.ztk-card-style-page .posts-item .item-meta,
body.ztk-card-style-page .posts-item-card .item-meta{border-top:1px solid var(--ztk-card-border,rgba(36,48,74,.07));padding-top:10px}
/* Preserve Zibll's horizontal `.list` variant while giving it the same card
 * surface; this avoids changing a site's chosen list/grid layout. */
body.ztk-card-style-page .posts-item.list{padding:10px}
body.ztk-card-style-page .posts-item.list .post-graphic{border-radius:12px;overflow:hidden}
body.dark-theme.ztk-card-style-page,body.dark-mode.ztk-card-style-page,html.dark-theme body.ztk-card-style-page,[data-theme="dark"].ztk-card-style-page{--ztk-card-bg:#1b202b;--ztk-card-border:rgba(255,255,255,.1);--ztk-card-shadow:rgba(0,0,0,.2);--ztk-card-shadow-hover:rgba(0,0,0,.38)}
body.dark-theme.ztk-card-style-page .posts-item .item-heading a,body.dark-theme.ztk-card-style-page .posts-item-card .item-heading a,body.dark-mode.ztk-card-style-page .posts-item .item-heading a,body.dark-mode.ztk-card-style-page .posts-item-card .item-heading a,html.dark-theme body.ztk-card-style-page .posts-item .item-heading a,html.dark-theme body.ztk-card-style-page .posts-item-card .item-heading a,[data-theme="dark"].ztk-card-style-page .posts-item .item-heading a,[data-theme="dark"].ztk-card-style-page .posts-item-card .item-heading a{color:#f3f6fb}
body.dark-theme.ztk-card-style-page .posts-item .post-graphic,body.dark-theme.ztk-card-style-page .posts-item-card .post-graphic,body.dark-theme.ztk-card-style-page .posts-item.card>.item-thumbnail,body.dark-mode.ztk-card-style-page .posts-item .post-graphic,body.dark-mode.ztk-card-style-page .posts-item-card .post-graphic,body.dark-mode.ztk-card-style-page .posts-item.card>.item-thumbnail,html.dark-theme body.ztk-card-style-page .posts-item .post-graphic,html.dark-theme body.ztk-card-style-page .posts-item-card .post-graphic,html.dark-theme body.ztk-card-style-page .posts-item.card>.item-thumbnail,[data-theme="dark"].ztk-card-style-page .posts-item .post-graphic,[data-theme="dark"].ztk-card-style-page .posts-item-card .post-graphic,[data-theme="dark"].ztk-card-style-page .posts-item.card>.item-thumbnail{background:linear-gradient(135deg,#202c3b,#20212c)}
@media (prefers-color-scheme:dark){body.ztk-card-style-page{--ztk-card-bg:#1b202b;--ztk-card-border:rgba(255,255,255,.1);--ztk-card-shadow:rgba(0,0,0,.2);--ztk-card-shadow-hover:rgba(0,0,0,.38)}body.ztk-card-style-page .posts-item .item-heading a,body.ztk-card-style-page .posts-item-card .item-heading a{color:#f3f6fb}body.ztk-card-style-page .posts-item .post-graphic,body.ztk-card-style-page .posts-item-card .post-graphic,body.ztk-card-style-page .posts-item.card>.item-thumbnail{background:linear-gradient(135deg,#202c3b,#20212c)}}
@media (prefers-reduced-motion:reduce){body.ztk-card-style-page .posts-item,body.ztk-card-style-page .posts-item-card,body.ztk-card-style-page .posts-item .item-thumbnail img,body.ztk-card-style-page .posts-item-card .item-thumbnail img{transition:none}body.ztk-card-style-page .posts-item:hover,body.ztk-card-style-page .posts-item-card:hover{transform:none}}
@media (max-width:640px){body.ztk-card-style-page .posts-item:not(.list) .item-body,body.ztk-card-style-page .posts-item-card .item-body{padding:13px 14px 12px}body.ztk-card-style-page .posts-item .item-heading,body.ztk-card-style-page .posts-item-card .item-heading{font-size:16px}}
