:is(#latest-published, #trending-templates) { padding:clamp(40px,6vw,76px) 0; background:var(--background); }
:is(#latest-published, #trending-templates) .pws-latest-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
:is(#latest-published, #trending-templates) .pws-latest-eyebrow { display:block; margin-bottom:10px; color:var(--primary); font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
:is(#latest-published, #trending-templates) h2 { margin:0 0 10px; font-size:clamp(26px,3vw,36px); line-height:1.2; letter-spacing:-.035em; color:var(--text-main); }
:is(#latest-published, #trending-templates) .pws-latest-heading p { margin:0; font-size:15px; line-height:1.65; color:var(--text-secondary); }
:is(#latest-published, #trending-templates) .pws-latest-browse { display:flex; align-items:center; gap:12px; flex-shrink:0; min-height:44px; padding:12px 18px; border:1px solid var(--border); border-radius:12px; background:var(--card-background); color:var(--primary); font-size:13px; font-weight:700; }
:is(#latest-published, #trending-templates) .pws-latest-browse:hover { border-color:var(--primary); background:var(--background-2); }
:is(#latest-published, #trending-templates) svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
:is(#latest-published, #trending-templates) .pws-latest-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
:is(#latest-published, #trending-templates) .pws-latest-card { min-width:0; border:1px solid var(--border); border-radius:22px; background:var(--card-background); overflow:hidden; box-shadow:0 3px 10px rgba(35,15,70,.025); transition:transform .25s,border-color .25s,box-shadow .25s; }
:is(#latest-published, #trending-templates) .pws-latest-card:hover { transform:translateY(-4px); border-color:var(--primary); box-shadow:0 12px 28px rgba(109,40,217,.1); }
:is(#latest-published, #trending-templates) .pws-latest-card-link { display:flex; flex-direction:column; height:100%; color:var(--text-main); }
:is(#latest-published, #trending-templates) .pws-latest-preview { position:relative; aspect-ratio:1200/630; overflow:hidden; background:var(--background-2); border-bottom:1px solid var(--border); }
:is(#latest-published, #trending-templates) .pws-latest-image { width:100%; height:100%; object-fit:contain; object-position:center; }
:is(#latest-published, #trending-templates) .pws-latest-placeholder { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; height:100%; color:var(--text-secondary); font-size:13px; }
:is(#latest-published, #trending-templates) .pws-latest-placeholder svg { width:38px; height:38px; }
:is(#latest-published, #trending-templates) .pws-latest-body { padding:22px; flex:1; display:flex; flex-direction:column; }
:is(#latest-published, #trending-templates) .pws-latest-priority { position:absolute; top:12px; left:12px; max-width:calc(100% - 24px); padding:7px 12px; border:1px solid var(--border); border-radius:9px; background:var(--card-background); color:var(--primary); box-shadow:0 3px 12px rgba(0,0,0,.1); font-size:11px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
:is(#latest-published, #trending-templates) .pws-latest-commerce { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:auto; padding:0 0 20px; }
:is(#latest-published, #trending-templates) .pws-latest-price { color:var(--primary); font-size:22px; font-weight:800; letter-spacing:-.025em; line-height:1.3; }
:is(#latest-published, #trending-templates) .pws-latest-price.is-free { background:transparent; color:var(--primary); }
:is(#latest-published, #trending-templates) .pws-latest-rating { display:flex; align-items:center; gap:6px; color:var(--text-secondary); font-size:11px; }
:is(#latest-published, #trending-templates) .pws-latest-rating svg { width:16px; height:16px; color:var(--primary); }
:is(#latest-published, #trending-templates) .pws-latest-rating strong { color:var(--text-main); font-size:13px; }
:is(#latest-published, #trending-templates) .pws-latest-rating small { font-weight:400; font-size:10px; margin-left:2px; color:var(--text-secondary); }
:is(#latest-published, #trending-templates) .pws-latest-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:is(#latest-published, #trending-templates) h3 { margin:0 0 8px; font-size:17px; font-weight:750; letter-spacing:-.015em; line-height:1.5; overflow-wrap:anywhere; }
:is(#latest-published, #trending-templates) .pws-latest-author { margin:0 0 20px; color:var(--text-secondary); font-size:12px; }
:is(#latest-published, #trending-templates) .pws-latest-details { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border:1px solid var(--border); border-radius:10px; background:var(--background-2); color:var(--primary); font-size:12px; font-weight:700; transition:border-color .2s,background .2s; }
:is(#latest-published, #trending-templates) .pws-latest-card:hover .pws-latest-details { border-color:var(--primary); background:rgba(109,40,217,.06); }
:is(#latest-published, #trending-templates) a:focus-visible { outline:3px solid var(--primary); outline-offset:-3px; border-radius:12px; }
:is(#latest-published, #trending-templates) .pws-latest-empty { color:var(--text-secondary); grid-column:1/-1; }
@media (max-width:900px) { :is(#latest-published, #trending-templates) .pws-latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } }
@media (max-width:480px) { :is(#latest-published, #trending-templates) .pws-latest-grid { grid-template-columns:minmax(0,1fr); gap:22px; } :is(#latest-published, #trending-templates) h3 { font-size:18px; } }
@media (max-width:600px) { :is(#latest-published, #trending-templates) .pws-latest-heading { align-items:flex-start; flex-direction:column; gap:18px; margin-bottom:24px; } :is(#latest-published, #trending-templates) .pws-latest-heading p { font-size:14px; } }
@media (prefers-reduced-motion:reduce) { :is(#latest-published, #trending-templates) * { transition:none !important; } :is(#latest-published, #trending-templates) .pws-latest-card:hover,:is(#latest-published, #trending-templates) .pws-latest-card:hover .pws-latest-image { transform:none; } }
