@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --accento: #c8102e;          /* rosso Bari - cambia per citta' */
  --accento-scuro: #9b0c23;
  --accento-tenue: #fbe9ec;
  --inchiostro: #16181d;
  --testo: #30343c;
  --tenue: #6b7280;
  --fondo: #f2f3f5;
  --carta: #ffffff;
  --linea: #e3e5e9;
  --cronaca: #c8102e;
  --politica: #1f4e9c;
  --sport: #0f8a4b;
  --cultura: #8a3ffc;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --raggio: 6px;
  --ombra: 0 1px 2px rgba(22, 24, 29, .06), 0 4px 14px rgba(22, 24, 29, .05);
}

/* ---------- Base ---------- */

body.front,
body {
  margin: 0;
  background: var(--fondo) !important;
  color: var(--testo);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
body * { box-sizing: border-box; }

body a { color: var(--inchiostro); text-decoration: none; transition: color .15s; }
body a:hover { color: var(--accento); text-decoration: none; }
body a:focus-visible { outline: 2px solid var(--accento); outline-offset: 2px; }

body img { max-width: 100%; height: auto; border: 0; }

body h1, body h2, body h3 { font-family: var(--serif); color: var(--inchiostro); }

body .break { display: none; }

/* ---------- Contenitore ---------- */

body #bo_container,
body #wrapper,
body #container {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
}
body #container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 30px;
  background: var(--carta);
  box-shadow: 0 0 0 1px var(--linea);
}

/* ---------- Testata ---------- */

body #bo_header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  height: auto;
  min-height: 190px;
  margin: 0 -20px;
  padding: 26px 30px;
  background: var(--inchiostro);
  overflow: hidden;
}

/* foto della citta' come sfondo scurito */
body #bo_header > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: .42;
  filter: grayscale(.2);
}
body #bo_header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 24, 29, .85) 0%, rgba(22, 24, 29, .25) 70%);
  pointer-events: none;
}
body #bo_header > div { position: relative; z-index: 1; }

body #bo_logo {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
body #bo_logo h1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  border-left: 5px solid var(--accento);
  color: rgba(255, 255, 255, .85);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
body #bo_logo h1 img { max-height: 70px; width: auto; }

/* meteo */
body #bo_whois {
  position: relative;
  float: none;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 6px;
  background: #fff;
  border-radius: var(--raggio);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
body #bo_whois iframe { display: block; }

body #bo_skyline { display: none; }

/* icone social */
body #bo_social {
  position: relative;
  float: none;
  display: flex;
  gap: 8px;
  margin: 0;
}
body #bo_social img {
  width: 30px;
  height: 30px;
  padding: 5px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  transition: background .15s, transform .15s;
}
body #bo_social img:hover {
  background: var(--accento);
  transform: translateY(-2px);
}
body #bo_social a { line-height: 0; }

/* ---------- Barra menu / ricerca / data ---------- */

body #bo_preface {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  float: none;
  width: auto;
  height: auto;
  margin: 0 -20px 20px;
  padding: 0 20px;
  background: var(--carta);
  border-bottom: 3px solid var(--accento);
  box-shadow: 0 2px 10px rgba(22, 24, 29, .06);
}

body #primary-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  float: none;
  width: auto;
  margin: 0;
  background: none;
}
body #primary-menu ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
}
body #primary-menu li {
  float: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}
body #primary-menu li a {
  display: block;
  height: auto;
  padding: 15px 13px 12px;
  background: none !important;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  color: var(--inchiostro);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body #primary-menu li a:hover { color: var(--accento); }
body #primary-menu li.active a,
body #primary-menu li a.active {
  color: var(--accento);
  border-bottom-color: var(--accento);
}
body #primary-menu ul.static-links {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--linea);
}
body #primary-menu ul.static-links a { color: var(--tenue); }

/* ricerca */
body #block-block-3 {
  float: none;
  width: auto;
  margin: 0;
}
body #cse-search-box > div { display: flex; }
body #google-search {
  width: 200px;
  height: 36px;
  padding: 0 12px;
  background: var(--fondo);
  border: 1px solid var(--linea);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  font: 15px var(--sans);
  color: var(--inchiostro);
}
body #google-search:focus {
  outline: 0;
  background: #fff;
  border-color: var(--accento);
}
body #google-submit {
  height: 36px;
  padding: 0 16px;
  background: var(--accento);
  border: 0;
  border-radius: 0 999px 999px 0;
  color: #fff;
  font: 700 13px var(--sans);
  text-transform: uppercase;
  cursor: pointer;
}
body #google-submit:hover { background: var(--accento-scuro); }

/* data */
body #data-testata {
  float: none;
  position: static;
  color: var(--tenue);
  font-size: 13px;
  white-space: nowrap;
}

body .message-wrapper:empty,
body .message-wrapper:not(:has(> :not(.close-bt))) { display: none; }

/* banner in testata */
body #bo_pub_header {
  float: none;
  width: auto;
  margin: 0 0 20px;
  text-align: center;
}

/* ---------- Corpo: colonna principale + sidebar ---------- */

body #bo_content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 484px;
  gap: 28px;
  float: none;
  width: auto;
  margin: 0;
  background: none;
}
body #bo_mainbar,
body #sidebar_content {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
}

body #sidebar_content {
  display: grid;
  grid-template-columns: 300px 160px;
  grid-template-areas: "a b";
  gap: 24px;
  align-content: start;
}
body #presidebar,
body #postsidebar { display: none; }
body #bo_sidebar  { grid-area: a; float: none; width: auto; margin: 0; }
body #bo_sidebar2 { grid-area: b; float: none; width: auto; margin: 0; }

/* ---------- Titoli di blocco ---------- */

body .cross-heading {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border-bottom: 2px solid var(--inchiostro);
}
body .cross-heading h2 {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 15px;
  line-height: 1;
}
body .cross-heading .boxtitle {
  display: inline-block;
  padding: 8px 12px 7px;
  background: var(--inchiostro);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body .block { margin-bottom: 28px; }

/* ---------- Vetrina (apertura) ---------- */

body #vetrina { margin: 0 0 26px; }
body #vetrina .views-row {
  display: flex;
  flex-direction: column;
  background: var(--carta);
}
body #vetrina .views-field-field-immagine-fid { order: 1; }
body #vetrina .views-field-title { order: 2; }
body #vetrina .views-field-teaser { order: 3; }

body #vetrina .views-field-field-immagine-fid img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--raggio);
}
body #vetrina .views-field-title {
  margin: 16px 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}
body #vetrina .views-field-title a { color: var(--inchiostro); }
body #vetrina .views-field-title a:hover { color: var(--accento); }
body #vetrina .views-field-teaser p {
  margin: 0;
  color: var(--testo);
  font-size: 18px;
  line-height: 1.6;
}

/* ---------- Vetrina 2: eventi + box ---------- */

body #vetrina2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  margin: 0 0 26px;
  padding: 22px 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}
body #vetrina2 > .block { float: none; width: auto; margin: 0; }

body #block-views-eventi_citta-block_1 .item-list ul { margin: 0; padding: 0; list-style: none; }
body #block-views-eventi_citta-block_1 li {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  margin: 0 0 12px;
  padding: 0;
  background: none;
}
body #block-views-eventi_citta-block_1 .views-field-field-immagine-fid { grid-row: 1 / span 2; }
body #block-views-eventi_citta-block_1 .views-field-field-immagine-fid img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--raggio);
}
body #block-views-eventi_citta-block_1 .views-field-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
body .date-display-single {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--accento-tenue);
  border-radius: 4px;
  color: var(--accento);
  font-size: 13px;
  font-weight: 700;
}

/* box con linguetta */
body #block-views-articolo_vetrina3-block_1 .views-row {
  position: relative;
  display: flex;
  flex-direction: column;
}
body #block-views-articolo_vetrina3-block_1 .view-header { display: none; }
body #block-views-articolo_vetrina3-block_1 .views-field-field-immagine-fid { order: 1; }
body #block-views-articolo_vetrina3-block_1 .views-field-title {
  order: 2;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}
body #block-views-articolo_vetrina3-block_1 img {
  display: block;
  border-radius: var(--raggio);
}

/* banner 500 */
body #content_w500 { margin: 0 0 26px; text-align: center; }

/* ---------- Elenchi articoli home ---------- */

body #contenuti { float: none; width: auto; }

/* intestazioni di sezione */
body #contenuti .view-header p,
body .intestazione-sezione {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--inchiostro);
}
body #contenuti .view-header {
  margin: 0 0 16px;
  padding: 0 0 8px;
  background: none;
  border-bottom: 3px solid var(--sezione, var(--accento));
}
body #contenuti .view-header a { color: var(--sezione, var(--accento)); }

body .cronaca-home  { --sezione: var(--cronaca); }
body .politica-home { --sezione: var(--politica); }
body .sport-home    { --sezione: var(--sport); }
body .cultura-home  { --sezione: var(--cultura); }

body #contenuti .view,
body #contenuti > .block { margin-bottom: 34px; }

/* singolo articolo in lista: immagine a sinistra, testi a destra */
body .articoli-home .node {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 20px;
  margin: 0 0 20px;
  padding: 0 0 20px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--linea);
}
body .articoli-home .views-row-last .node { border-bottom: 0; }

body .articoli-home .node > *,
body .articoli-home .node > .content > * { grid-column: 2; }
body .articoli-home .node > .content { display: contents; }

body .articoli-home .node .field-field-immagine {
  grid-column: 1;
  grid-row: 1 / span 8;
  margin: 0;
}
body .articoli-home .node .field-field-immagine img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--raggio);
}

body .occhiello-frontpage h3 {
  margin: 0 0 4px;
  color: var(--sezione, var(--accento));
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body .articoli-home .node h2 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
}
body .articoli-home .node.sticky h2 { font-size: 24px; }
body .articoli-home .node h2 a { color: var(--inchiostro); }
body .articoli-home .node h2 a:hover { color: var(--accento); }

body .submitted {
  display: block;
  margin: 0 0 8px;
  color: var(--tenue);
  font-size: 13px;
}

body .articoli-home .node p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--testo);
}

/* video (flash non piu' supportato: si vede l'anteprima) */
body .field-field-video { margin: 8px 0; }
body .field-field-video object,
body .field-field-video img {
  max-width: 100%;
  border-radius: var(--raggio);
}

/* evento dentro l'articolo */
body fieldset.group-evento {
  margin: 8px 0;
  padding: 10px 14px;
  background: var(--accento-tenue);
  border: 0;
  border-left: 3px solid var(--accento);
  border-radius: 0 var(--raggio) var(--raggio) 0;
  font-size: 14px;
}
body fieldset.group-evento legend {
  padding: 0 6px;
  color: var(--accento);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
body fieldset.group-evento .field-label {
  display: inline;
  font-weight: 700;
}
body fieldset.group-evento .field-items { display: inline; }
body fieldset.group-evento .date-display-single {
  margin: 0;
  padding: 0;
  background: none;
}

/* tag + leggi tutto */
body .articoli-home .node > .clear-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 4px;
}
body .node .meta,
body .node .links { float: none; margin: 0; padding: 0; }
body .node ul.links.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
body .node ul.links.inline li {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}
body .node .terms ul.links li a {
  display: inline-block;
  padding: 2px 9px;
  background: var(--fondo);
  border-radius: 999px;
  color: var(--tenue);
  font-size: 12px;
  font-weight: 600;
}
body .node .terms ul.links li a:hover {
  background: var(--accento-tenue);
  color: var(--accento);
}
body .node_read_more a {
  color: var(--accento) !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
body .node_read_more a::after { content: " \2192"; }
body .fb_social_share_class:empty,
body .fb_social_share_class span:empty { display: none; }

/* ---------- Sidebar ---------- */

/* Ultime notizie */
body #block-views-notizie_della_citta-block_1 .views-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--linea);
  background: none;
}
body #block-views-notizie_della_citta-block_1 .views-row-last { border-bottom: 0; }
body #block-views-notizie_della_citta-block_1 .views-field-field-immagine-fid { grid-row: 1 / span 2; }
body #block-views-notizie_della_citta-block_1 img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}
body .views-field-field-occhiello-value {
  color: var(--accento);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.3;
}
body #bo_sidebar .views-field-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
body .view-footer p { margin: 10px 0 0; }
body .view-footer a {
  display: block;
  padding: 9px;
  background: var(--fondo);
  border-radius: var(--raggio);
  color: var(--inchiostro);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}
body .view-footer a:hover { background: var(--accento); color: #fff; }

/* Dalle altre citta' */
body #block-views-articoli_citta-block_1 .views-row {
  padding: 9px 0;
  border-bottom: 1px solid var(--linea);
}
body #block-views-articoli_citta-block_1 .views-field-name {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  background: var(--inchiostro);
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body #block-views-articoli_citta-block_1 .views-field-title a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

/* I piu' letti: numerati */
body #block-views-most_popular-block_1 .view-content { counter-reset: letti; }
body #block-views-most_popular-block_1 .views-row {
  position: relative;
  min-height: 44px;
  padding: 8px 0 8px 46px;
  border-bottom: 1px solid var(--linea);
  counter-increment: letti;
}
body #block-views-most_popular-block_1 .views-row::before {
  content: counter(letti);
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accento);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
body .views-field-created { color: var(--tenue); font-size: 12px; }

/* Archivio + paginazione */
body .views-summary { margin: 0; padding: 0; list-style: none; }
body .views-summary li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--linea);
  color: var(--tenue);
  font-size: 14px;
  background: none;
}
body .views-summary li a { color: var(--inchiostro); font-weight: 600; }

body ul.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
}
body ul.pager li {
  margin: 0;
  padding: 0;
  background: none;
  list-style: none;
}
body ul.pager li a,
body ul.pager li.pager-current {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--linea);
  border-radius: 4px;
  font-size: 13px;
}
body ul.pager li.pager-current {
  background: var(--accento);
  border-color: var(--accento);
  color: #fff;
  font-weight: 700;
}
body ul.pager li a:hover { border-color: var(--accento); }

/* Login */
body #user-login-form .form-item { margin: 0 0 10px; }
body #user-login-form label {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
}
body .form-required { color: var(--accento); }
body input.form-text {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #cfd3da;
  border-radius: 4px;
  font: 15px var(--sans);
}
body input.form-text:focus {
  outline: 0;
  border-color: var(--accento);
  box-shadow: 0 0 0 3px var(--accento-tenue);
}
body input.form-submit {
  padding: 8px 18px;
  background: var(--accento);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: 700 14px var(--sans);
  cursor: pointer;
}
body input.form-submit:hover { background: var(--accento-scuro); }
body #user-login-form .item-list ul { margin: 12px 0 0; padding: 0; list-style: none; }
body #user-login-form .item-list li { margin: 0 0 4px; padding: 0; background: none; font-size: 13px; }
body #user-login-form .item-list a { color: var(--accento); }
body #fbconnect_button-wrapper { margin-top: 12px; font-size: 13px; color: var(--tenue); }
body #fbconnect_button-wrapper .description { display: none; }

/* sidebar pubblicitaria */
body #bo_sidebar2 .block { text-align: center; }
body #block-fb_social_likebox-likebox:has(> .content:empty) { display: none; }

/* meteo iframe 300 */
body #block-block-10 iframe { display: block; max-width: 100%; }

/* ---------- In evidenza (pre-footer) ---------- */

body #bo_pre-footer {
  float: none;
  width: auto;
  margin: 10px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--linea);
}
body .articoli-rilievo .item-list ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body .articoli-rilievo li {
  margin: 0;
  padding: 0;
  background: none;
}
body .articoli-rilievo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--raggio);
  transition: opacity .15s;
}
body .articoli-rilievo li:hover img { opacity: .85; }
body .articoli-rilievo .views-field-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- Footer ---------- */

body #bo_footer {
  float: none;
  width: auto;
  margin: 30px -20px -30px;
  padding: 28px 30px;
  background: var(--inchiostro);
  border-top: 4px solid var(--accento);
  color: #aab0bb;
  font-size: 13px;
  line-height: 1.8;
}
body #bo_footer p { margin: 0; text-align: center; }
body #bo_footer span[bookmark] { display: none; }
body #bo_footer a { color: #fff; }

/* ---------- Pannello "Redazioni locali" ---------- */

body #bo_tools {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  color: var(--tenue);
  font-size: 13px;
}
body #contentpanel {
  padding: 16px 20px;
  background: var(--inchiostro);
  border-radius: var(--raggio);
  color: #fff;
}
body #contentpanel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}
body #contentpanel .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body #contentpanel .views-field-name span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
body #contentpanel .views-field-name a { color: #fff; }

/* ---------- Pagina articolo (stili generali) ---------- */

body .node .content p { line-height: 1.7; }
body #bo_mainbar h1.title,
body #bo_mainbar .node-full h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}
body .node .content blockquote {
  margin: 20px 0;
  padding: 6px 0 6px 20px;
  border-left: 4px solid var(--accento);
  color: var(--inchiostro);
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
  body #bo_content { grid-template-columns: minmax(0, 1fr) 300px; }
  body #sidebar_content {
    grid-template-columns: 300px;
    grid-template-areas: "a" "b";
  }
  body #bo_sidebar2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  body .articoli-rilievo .item-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Telefono ---------- */

@media (max-width: 800px) {
  body #container { padding: 0 14px 24px; }
  body #bo_header {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 0 -14px;
    padding: 22px 18px;
  }
  body #bo_whois { display: none; }

  body #bo_preface {
    position: static;
    margin: 0 -14px 16px;
    padding: 0 14px 12px;
  }
  body #primary-menu { width: 100%; overflow-x: auto; }
  body #primary-menu ul.primary-links { flex-wrap: nowrap; }
  body #primary-menu li a { padding: 13px 10px 10px; white-space: nowrap; }
  body #block-block-3,
  body #cse-search-box > div,
  body #google-search { width: 100%; }
  body #cse-search-box > div { display: flex; }
  body #google-search { flex: 1; }
  body #data-testata { display: none; }

  body #bo_content { grid-template-columns: minmax(0, 1fr); }
  body #sidebar_content { grid-template-columns: minmax(0, 1fr); }

  body #vetrina .views-field-title { font-size: 24px; }
  body #vetrina .views-field-teaser p { font-size: 16px; }

  body #vetrina2 { grid-template-columns: minmax(0, 1fr); }

  body .articoli-home .node { grid-template-columns: 90px minmax(0, 1fr); column-gap: 14px; }
  body .articoli-home .node .field-field-immagine img { width: 90px; height: 90px; }
  body .articoli-home .node h2,
  body .articoli-home .node.sticky h2 { font-size: 18px; }
  body .articoli-home .node > .content > p { display: none; }   /* liste piu' corte */

  body .articoli-rilievo .item-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body #bo_footer { margin: 24px -14px -24px; padding: 22px 18px; }
}

@media print {
  body #bo_preface, body #sidebar_content, body #bo_pub_header,
  body #content_w500, body #bo_tools, body #bo_social, body #bo_whois { display: none; }
  body #bo_content { display: block; }
  body #bo_header { background: none; min-height: 0; }
  body #bo_header > img:first-child, body #bo_header::after { display: none; }
  body #bo_logo h1 { color: #000; }
}

/* ==========================================================================
   ESEMPIO colore per citta' - da mettere nel file cities/<citta>.min.css
   (caricato dopo questo foglio solo se aggiunto in fondo; altrimenti
   usare body.firenze {...} come qui sotto direttamente in questo file)
   ========================================================================== */

body.firenze { --accento: #6a2c91; --accento-scuro: #521f72; --accento-tenue: #f2eaf7; }
body.roma    { --accento: #8e1f2f; --accento-scuro: #6e1724; --accento-tenue: #f6e8ea; }
body.perugia { --accento: #b3261e; --accento-scuro: #8a1d17; --accento-tenue: #f8e9e8; }
body.prato   { --accento: #0b6fb3; --accento-scuro: #08568b; --accento-tenue: #e6f1f9; }
body.modena  { --accento: #c99700; --accento-scuro: #9c7500; --accento-tenue: #fbf4dd; }
body.bari    { --accento: #c8102e; --accento-scuro: #9b0c23; --accento-tenue: #fbe9ec; }