/* SolfataraNews Parlano di noi. Di serie e' scuro; con la modalita' giorno del tema diventa chiaro. */
.snr-barra, .snr-elenco {
  --snr-card: #0e1a30; --snr-card2: #13223d; --snr-bordo: #26395e; --snr-testo: #e7eef9; --snr-tenue: #b0c0da; --snr-blu: #6d9bff; --snr-oro: #f5c542; --snr-vista: linear-gradient(135deg, #16294d, #0a1426);
  box-sizing: border-box; color: var(--snr-testo); font-size: 16px; line-height: 1.5;
}
body.snw-giorno .snr-barra, body.snw-giorno .snr-elenco { --snr-card: #fff; --snr-card2: #fff; --snr-bordo: #d7dfeb; --snr-testo: #14213a; --snr-tenue: #55657f; --snr-blu: #2259e0; --snr-oro: #8a6400; --snr-vista: linear-gradient(135deg, #eaf0fa, #dbe4f2); }
.snr-barra *, .snr-elenco * { box-sizing: border-box; }

/* barra scorrevole */
.snr-barra { grid-column: 1 / -1; display: flex; align-items: stretch; min-width: 0; overflow: hidden; background: linear-gradient(180deg, var(--snr-card2), var(--snr-card)); border: 1px solid var(--snr-bordo); border-radius: 14px; }
.snr-barra .snr-barra-titolo { flex: none; display: flex; align-items: center; padding: 14px 22px; font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--snr-oro); border-right: 1px solid var(--snr-bordo); white-space: nowrap; text-decoration: none; }
.snr-barra .snr-barra-titolo:hover { color: var(--snr-testo); }
.snr-finestra { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
/* Scorre anche con le animazioni del sistema spente: lo ha chiesto il proprietario del sito. Si ferma col mouse sopra. */
.snr-barra .snr-nastro { display: flex; width: max-content; animation: snr-scorri var(--snr-durata, 40s) linear infinite !important; }
.snr-barra:hover .snr-nastro, .snr-barra:focus-within .snr-nastro { animation-play-state: paused !important; }
.snr-giro { display: flex; align-items: center; flex: none; }
.snr-barra .snr-testata { display: flex; align-items: center; justify-content: center; flex: none; height: 46px; min-width: 120px; margin: 10px 9px; padding: 0 16px; background: #fff; border-radius: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 400; color: #14213a; white-space: nowrap; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.snr-barra .snr-testata:hover, .snr-barra .snr-testata:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); color: #14213a; }
.snr-barra .snr-testata img { display: block; width: 130px; height: 30px; object-fit: contain; }
.snr-barra .snr-testata[title="Heute"], .snr-barra .snr-testata[title="Leggo"], .snr-marchio.snr-marchio-rosso { background: #d6001c; color: #fff; }
@keyframes snr-scorri { to { transform: translateX(-50%); } }

/* pagina con gli articoli */
.snr-elenco { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.snr-scheda { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: linear-gradient(180deg, var(--snr-card2), var(--snr-card)); border: 1px solid var(--snr-bordo); border-radius: 14px; scroll-margin-top: 110px; transition: border-color .2s, box-shadow .2s; }
.snr-scheda:target { border-color: var(--snr-oro); box-shadow: 0 0 0 2px var(--snr-oro); }
.snr-vista { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--snr-vista); text-decoration: none; }
.snr-foto { position: absolute; inset: 0; z-index: 1; }
.snr-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.snr-vista:hover .snr-foto img { transform: scale(1.03); }
.snr-marchio { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; background: #fff; border-radius: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.15; color: #14213a; }
.snr-marchio img { display: block; width: 170px; height: 34px; object-fit: contain; }
.snr-foto:not(:empty) ~ .snr-marchio, .snr-vista:has(.snr-foto img) .snr-marchio { position: absolute; left: 12px; bottom: 12px; z-index: 2; min-height: 36px; padding: 5px 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.snr-vista:has(.snr-foto img) .snr-marchio img { width: 104px; height: 24px; }
.snr-testo { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.snr-elenco .snr-sopra { margin: 0 0 8px; font-size: .92rem; color: var(--snr-tenue); }
.snr-sopra strong { color: var(--snr-testo); font-weight: 600; }
.snr-elenco .snr-desc { margin: 0 0 14px; flex: 1; }
.snr-elenco .snr-apri { color: var(--snr-blu); font-weight: 500; text-decoration: none; }
.snr-elenco .snr-apri:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .snr-barra { flex-direction: column; }
  .snr-barra .snr-barra-titolo { padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--snr-bordo); }
  .snr-barra .snr-testata { height: 40px; min-width: 100px; margin: 8px 6px; padding: 0 12px; font-size: 1rem; }
  .snr-barra .snr-testata img { width: 100px; height: 24px; }
}
body.snw-giorno .snr-barra .snr-testata { box-shadow: 0 0 0 1px #d7dfeb; }
body.snw-giorno .snr-barra .snr-testata:hover { box-shadow: 0 6px 16px rgba(20, 33, 58, .18); }

/* nome e titolo nelle schede */
.snr-elenco .snr-tit { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; color: var(--snr-testo); }

/* il nostro articolo */
.snr-articolo { display: block; max-width: 860px; margin: 0 auto; }
.snr-art-testa { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--snr-tenue); }
.snr-art-testa .snr-marchio { min-height: 44px; box-shadow: 0 0 0 1px var(--snr-bordo); }
.snr-art-foto { margin: 0 0 22px; }
.snr-art-foto img { display: block; width: 100%; height: auto; border-radius: 12px; }
.snr-art-foto figcaption { margin-top: 8px; font-size: .88rem; color: var(--snr-tenue); }
.snr-art-testo p { margin: 0 0 1em; font-size: 1.1rem; line-height: 1.7; color: var(--snr-testo); }
.snr-art-tasti { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 24px 0 0; }
.snr-elenco .snr-art-btn { display: inline-flex; gap: .4em; padding: .85em 1.4em; border-radius: 10px; background: #2f6bff; color: #fff; font-weight: 600; line-height: 1.25; text-decoration: none; }
.snr-elenco .snr-art-btn:hover { background: #4d85ff; color: #fff; }
.snr-elenco .snr-art-torna { color: var(--snr-blu); text-decoration: none; }
.snr-elenco .snr-art-torna:hover { text-decoration: underline; text-underline-offset: 3px; }
body.snw-giorno .snr-elenco .snr-art-btn { background: #2259e0; }
