/*
Theme Name: Pokopia Italia
Description: Tema per il portale indipendente Pokopia Italia. Cataloghi e contenuti sono gestiti dal plugin Pokopia Core.
Author: Michele / Pokopia Italia
Version: 0.3.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: pokopia-italia
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* These rules only style the server-rendered content before enhancement. */
.pokopia-native-header, .pokopia-native-footer, .pokopia-ssr {box-sizing:border-box;max-width:1200px;margin:0 auto;padding:24px;color:#344b42;font:1rem/1.65 system-ui,sans-serif}
.pokopia-native-header {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #dce7de}
.pokopia-native-brand {font-size:1.4rem;font-weight:800;text-decoration:none;color:#264b3b}
.pokopia-native-header nav ul {display:flex;flex-wrap:wrap;gap:12px 22px;list-style:none;margin:0;padding:0}
.pokopia-native-header a, .pokopia-ssr a, .pokopia-native-footer a {color:#265a41;text-underline-offset:3px}
.pokopia-ssr {min-height:50vh;padding-top:48px;padding-bottom:64px}
.pokopia-ssr h1 {max-width:22ch;font-size:clamp(2rem,5vw,3.5rem);line-height:1.12;margin:.3em 0 .6em}
.pokopia-ssr h2 {line-height:1.25;margin-top:1.6em}
.pokopia-ssr p {max-width:75ch}
.pokopia-ssr .pokopia-ssr-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px;margin:28px 0}
.pokopia-ssr-card {display:block;border:1px solid #dce7de;border-radius:20px;padding:22px;background:#fff}
.pokopia-ssr-card h2, .pokopia-ssr-card h3 {margin:0 0 12px}
.pokopia-ssr-card img, .pokopia-ssr-detail-image {display:block;width:min(100%,260px);height:220px;object-fit:contain;margin:0 auto 18px}
.pokopia-ssr-note {border-left:4px solid #80bfa1;padding:12px 18px;background:#edf5ef;border-radius:0 12px 12px 0}
.pokopia-ssr-meta {display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0}
.pokopia-ssr-meta div {padding:12px 18px;background:#f0f5f0;border-radius:12px}
.pokopia-ssr-meta dt {font-size:.875rem;color:#496454}
.pokopia-ssr-meta dd {margin:4px 0 0;font-weight:700}
.pokopia-native-footer {border-top:1px solid #dce7de;font-size:.875rem}
.pokopia-native-skip {position:absolute;left:12px;top:-100px;z-index:100000;background:#fff;padding:12px 18px;border:2px solid #265a41;color:#265a41}
.pokopia-native-skip:focus {top:12px}
.pokopia-ssr a:focus-visible, .pokopia-native-header a:focus-visible, .pokopia-native-footer a:focus-visible {outline:3px solid #38754e;outline-offset:4px;border-radius:3px}
@media (max-width:600px) {.pokopia-native-header,.pokopia-native-footer,.pokopia-ssr{padding-left:20px;padding-right:20px}.pokopia-native-header nav ul{gap:10px 16px}}

.pokopia-ssr-pagination {display:flex;gap:16px;flex-wrap:wrap;margin:28px 0}
.pokopia-ssr-pagination a {display:inline-block;padding:12px 18px;border:1px solid #d5dfd7;border-radius:10px;background:#fff}
