/* BAVAGLIO STEP 12 — light mode uniforme, nessun wallpaper scuro. */
html[data-theme="light"]{
  --bg:#f2eee5;
  --panel:#f2eee5;
  --paper:#f2eee5;
  --glass:transparent;
  --line:#d8d1c6;
  color-scheme:light;
}
/* Annulla il wallpaper di STEP 10/11 (anche le regole con !important). */
html[data-theme="light"] body{
  background:#f2eee5!important;
  background-image:none!important;
  background-color:#f2eee5!important;
  background-attachment:scroll!important;
}
html[data-theme="light"] body::before,
html[data-theme="light"] body::after{
  background:none!important;
  background-image:none!important;
  box-shadow:none!important;
  opacity:0!important;
  pointer-events:none!important;
}
/* Stesso colore di sfondo per sidebar, ricerca/filtri e footer. */
html[data-theme="light"] .layout,
html[data-theme="light"] .tag-panel,
html[data-theme="light"] .side-sticky,
html[data-theme="light"] .sidebar-identity,
html[data-theme="light"] .sidebar-brand,
html[data-theme="light"] .sidebar-intro,
html[data-theme="light"] .feed,
html[data-theme="light"] .search-dock,
html[data-theme="light"] .keyword-section,
html[data-theme="light"] .keyword-cloud,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .footer-brand,
html[data-theme="light"] .footer-links{
  background:#f2eee5!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html[data-theme="light"] .search-dock,
html[data-theme="light"] .sidebar-identity{
  box-shadow:none!important;
}
/* Logo scontornato e sottotitolo: niente riquadro, banda o pannello. */
html[data-theme="light"] .sidebar-identity{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  padding-bottom:12px!important;
}
html[data-theme="light"] .sidebar-brand,
html[data-theme="light"] .sidebar-brand img,
html[data-theme="light"] .sidebar-intro{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
}
html[data-theme="light"] .sidebar-identity::before,
html[data-theme="light"] .sidebar-identity::after,
html[data-theme="light"] .sidebar-brand::before,
html[data-theme="light"] .sidebar-brand::after{
  content:none!important;
  display:none!important;
}
/* Manteniamo identificabile il campo di ricerca, senza un blocco colorato esterno. */
html[data-theme="light"] .search-wrap{
  background:linear-gradient(135deg,#fffdf8,#f8f4ed)!important;
  border:1px solid #cfc5b8!important;
  box-shadow:0 2px 8px rgba(40,32,25,.055)!important;
}
html[data-theme="light"] .search-wrap input{
  background:transparent!important;
  color:#24201d!important;
}
html[data-theme="light"] .search-wrap input::placeholder{color:#79726b!important;opacity:1!important}
html[data-theme="light"] .keyword-heading,
html[data-theme="light"] .side-kicker{color:#625c56!important}
html[data-theme="light"] .keyword-button:not(.active):not(.random-button){
  background:#f2eee5!important;
  color:#342e29!important;
  border-color:#d4c9bb!important;
}
/* Nessuna banda separata nel footer, restano i soli elementi di navigazione. */
html[data-theme="light"] .site-footer{box-shadow:none!important}
@media(max-width:650px){
  html[data-theme="light"] .tag-panel,
  html[data-theme="light"] .search-dock,
  html[data-theme="light"] .site-footer{background:#f2eee5!important}
}
