/* Aggiunte al sistema Locandina per il sito in produzione: banner cookie, avviso, articoli del blog, pagine di testo, link bio. */
.cookie-banner { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-left: auto; padding: 18px 20px; border-radius: 18px; background: var(--black); color: var(--cream); border: 1px solid rgba(246, 239, 227, .25); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); font-size: .92rem; line-height: 1.5; }
.cookie-banner a { text-decoration: underline; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.cb-btn { min-height: 42px; padding: 0 18px; font-size: .78rem; }
.cb-pref { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(246, 239, 227, .18); }
.cb-pref .cb-btn { justify-self: start; }
.cb-opt { display: flex; gap: 10px; align-items: center; }
.cb-opt input { width: 18px; height: 18px; accent-color: var(--sun); }
.cookie-banner [hidden], .cb-pref[hidden] { display: none; }
.avviso { position: relative; z-index: 60; background: var(--sun); color: var(--ink); text-align: center; font-weight: 700; font-size: .9rem; padding: 9px 16px; }
.avviso a { text-decoration: underline; }
.foot-bottom button.link-like, .foot-bottom a[data-cookie-pref] { cursor: pointer; text-decoration: underline; }
/* staging: le note «da confermare» restano visibili solo in collaudo; i tag AI non si mostrano */
.ai-tag { display: none !important; }

/* articoli e pagine di testo */
.post-meta { margin-top: 18px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.post-hero-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 72ch; margin: 0 auto; font-size: 1.1rem; line-height: 1.7; }
.post-body > * + * { margin-top: 1em; }
.post-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; margin-top: 1.6em; text-transform: uppercase; }
.post-body h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1.4em; }
.post-body h4 { font-size: 1.1rem; font-weight: 800; margin-top: 1.2em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .4em; }
.post-body a { background: var(--sun); color: var(--ink); padding: 0 .15em; }
.post-body blockquote { border-left: 4px solid var(--sun); padding-left: 1em; font-style: italic; }
.post-body strong { font-weight: 800; }
.post-img img { border-radius: 16px; width: 100%; height: auto; }
.post-table { overflow-x: auto; }
.post-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.post-table th, .post-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-paper); }
.post-table th { font-weight: 800; }
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 28px; }
.blog-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--black); color: var(--cream); transition: transform .4s var(--ease); }
.blog-card:hover { transform: translateY(-4px); }
.blog-card .bc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black-2); }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.blog-card:hover .bc-img img { filter: none; }
.blog-card .bc-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.blog-card .bc-cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.blog-card h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 800; }
.blog-card p { font-size: .95rem; opacity: .8; }
.blog-filtri { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.post-related { margin-top: 56px; }

/* /link/ (bio di Instagram) */
.lb { max-width: 480px; margin: 0 auto; padding: 40px 18px 72px; text-align: center; }
.lb img.lb-logo { width: 160px; height: auto; margin: 0 auto 14px; }
.lb .lb-sub { opacity: .8; margin-bottom: 22px; }
.lb .lb-btn { display: flex; flex-direction: column; justify-content: center; gap: 2px; width: 100%; min-height: 56px; margin: 10px 0; padding: 12px 20px; border-radius: 999px; font-weight: 800; border: 1.5px solid var(--cream); }
.lb .lb-btn small { font-weight: 500; font-size: .8rem; opacity: .85; }
.lb .lb-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.lb .lb-wa { background: #25D366; color: #0b2a17; border-color: #25D366; }
.lb .lb-posts { margin-top: 30px; text-align: left; display: grid; gap: 10px; }
.lb .lb-posts a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--black-2); }
.lb .lb-posts img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: 0 0 60px; }
