Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(65 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


#footer { display: none; }
/* === Footer MediaWiki/Citizen === */
 
#footer {
  display: none;
}
 
/* last modification stuff */
/* last modification stuff */
#footer-info { display: none; }
#footer-info {
  display: none;
}


/* footer links */
/* footer links */
#footer-places { display: none; }
#footer-places {
  display: none;
}


/* powered by icon */
/* powered by icon */
#footer-icon { display: none; }
#footer-icon {
  display: none;
}
 
/* === Box stato archivio === */


.box-stato-archivio .citizen-card__body p{
.box-stato-archivio .citizen-card__body p {
   margin: 0 0 .75em 0;
   margin: 0 0 .75em 0;
}
}
.box-stato-archivio .citizen-card__body p:last-child{
 
.box-stato-archivio .citizen-card__body p:last-child {
   margin-bottom: 0;
   margin-bottom: 0;
}
}
Line 20: Line 34:
/* === CSS per template IntestazionePagine === */
/* === CSS per template IntestazionePagine === */


/* Se la prima cosa nel contenuto è la namespace-label,
.namespace-label {
  riduci lo spazio sotto il titolo della pagina */
   display: block;
.mw-parser-output > .namespace-label:first-child {
   margin-top: -3.25em;  /* tira su verso l'H1 */
  margin-bottom: 0.1em; /* poco spazio prima del testo */
   font-size: 0.85em;
   font-size: 0.85em;
  margin-top: -0.3em;
  margin-bottom: 0.6em;
}
}


/* Evita colori "marroni"/visited: usa il colore del testo circostante */
.namespace-label a,
.mw-parser-output > .namespace-label:first-child a,
.namespace-label a:visited {
.mw-parser-output > .namespace-label:first-child a:visited {
   color: inherit;
   color: inherit;
}
/* ==========================================================
  HOMEPAGE CINETECA DELL'ETNA
  Pagina di test: Test_home
  ========================================================== */
/* Nasconde titolo standard Citizen solo nella pagina Test_home */
body.page-Test_home .citizen-page-header,
body.page-Test_home .citizen-body-header,
body.page-Test_home .mw-body-header,
body.page-Test_home #firstHeading,
body.page-Test_home .firstHeading,
body.page-Test_home .mw-first-heading,
body.page-Test_home .mw-page-title-main {
  display: none !important;
}
/* Nasconde colonna destra standard Citizen solo nella pagina Test_home */
body.page-Test_home .citizen-page-sidebar,
body.page-Test_home .citizen-toc,
body.page-Test_home .citizen-page-info,
body.page-Test_home .citizen-lastmod,
body.page-Test_home .citizen-page-actions-more,
body.page-Test_home .toc,
body.page-Test_home #toc {
  display: none !important;
}
/* Nasconde informazioni ultima modifica solo nella pagina Test_home */
body.page-Test_home .mw-parser-output .printfooter,
body.page-Test_home .mw-parser-output .catlinks,
body.page-Test_home .mw-parser-output .mw-footer-info,
body.page-Test_home .page-info,
body.page-Test_home .citizen-page-info,
body.page-Test_home .citizen-page-footer,
body.page-Test_home .citizen-body-footer,
body.page-Test_home .mw-body-footer,
body.page-Test_home .mw-last-modified,
body.page-Test_home #footer-info-lastmod {
  display: none !important;
}
/* Allarga lo spazio utile della home dentro Citizen */
body.page-Test_home .citizen-body,
body.page-Test_home .citizen-body-container,
body.page-Test_home .citizen-body-content,
body.page-Test_home .citizen-page-container,
body.page-Test_home .mw-body,
body.page-Test_home .mw-body-content,
body.page-Test_home .mw-parser-output,
body.page-Test_home #bodyContent,
body.page-Test_home #content {
  max-width: none !important;
  width: 100% !important;
}
body.page-Test_home .citizen-body {
  grid-template-columns: minmax(0, 1fr) !important;
}
/* Contenitore generale home */
body.page-Test_home .mw-parser-output .ce-home {
  width: min(1300px, calc(100vw - 14rem));
  max-width: none !important;
  min-height: calc(100vh - 7rem);
  margin: 0 auto;
  padding: 2rem 0 2rem;
  box-sizing: border-box;
  overflow-x: hidden;
  transform: none;
  display: flex;
  align-items: center;
}
/* Layout generale: contenuto principale + colonna laterale */
body.page-Test_home .mw-parser-output .ce-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.page-Test_home .mw-parser-output .ce-home-main {
  min-width: 0;
}
/* Colonna laterale editoriale */
body.page-Test_home .mw-parser-output .ce-home-aside {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  min-width: 0;
  border-left: 0;
  padding-left: 2rem;
}
/* Hero: testo a sinistra, foto verticale a destra */
body.page-Test_home .mw-parser-output .ce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 5rem;
}
body.page-Test_home .mw-parser-output .ce-hero-text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}
/* Occhiello / motto identitario */
body.page-Test_home .mw-parser-output .ce-hero-kicker {
  margin-bottom: 1.4rem;
  color: var(--color-base, #ffffff);
  opacity: 0.72;
  font-size: 0.92rem;
  line-height: 1.2;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
}
/* Immagine verticale della home: solo foto, nessun box */
body.page-Test_home .mw-parser-output .ce-hero-visual {
  grid-column: 2;
  grid-row: 1;
  width: 300px;
  height: 450px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden;
}
body.page-Test_home .mw-parser-output .ce-hero-visual > p {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-Test_home .mw-parser-output .ce-hero-visual a,
body.page-Test_home .mw-parser-output .ce-hero-visual span,
body.page-Test_home .mw-parser-output .ce-hero-visual figure,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description {
  display: block;
  width: 300px !important;
  height: 450px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.page-Test_home .mw-parser-output .ce-hero-visual img,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
body.page-Test_home .mw-parser-output .ce-hero-img {
  display: block;
  width: 300px !important;
  height: 450px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* Testo principale hero */
body.page-Test_home .mw-parser-output .ce-hero-text h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}
body.page-Test_home .mw-parser-output .ce-hero-text p {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 760px;
  color: var(--color-base--subtle, #b8b8b8);
}
/* Indice editoriale principale: libero, senza box */
body.page-Test_home .mw-parser-output .ce-home-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: 100%;
  margin: 0;
  padding-top: 0;
  border: 0;
}
body.page-Test_home .mw-parser-output .ce-index-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}
body.page-Test_home .mw-parser-output .ce-index-number {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
}
body.page-Test_home .mw-parser-output .ce-index-title {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 600;
}
/* Index / Federated Archives Alliance / Contatti: rosso Citizen */
body.page-Test_home .mw-parser-output .ce-index-title,
body.page-Test_home .mw-parser-output .ce-index-title a,
body.page-Test_home .mw-parser-output .ce-index-title a:visited {
  color: var(--color-link-red, var(--color-destructive, #d33)) !important;
   text-decoration: none;
   text-decoration: none;
}
}


.mw-parser-output > .namespace-label:first-child a:hover {
body.page-Test_home .mw-parser-output .ce-index-title a:hover {
  color: var(--color-link-red, var(--color-destructive, #d33)) !important;
   text-decoration: underline;
   text-decoration: underline;
}
body.page-Test_home .mw-parser-output .ce-index-text {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 32em;
}
/* Box laterali leggeri, senza delimitazioni */
body.page-Test_home .mw-parser-output .ce-side-box {
  padding: 0;
  border: 0;
  background: transparent;
}
body.page-Test_home .mw-parser-output .ce-side-box::before {
  content: none;
  display: none;
}
body.page-Test_home .mw-parser-output .ce-side-label {
  margin-bottom: 0.6rem;
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Titoli colonna destra: bianchi */
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a:visited {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none !important;
}
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
body.page-Test_home .mw-parser-output .ce-side-text {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.95rem;
  line-height: 1.45;
}
body.page-Test_home .mw-parser-output .ce-side-link {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}
/* Link azione colonna destra: bianchi, blu Citizen solo all'hover */
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a:hover {
  color: var(--color-progressive, #36c) !important;
  text-decoration: underline !important;
}
/* Footer Citizen visibile e alleggerito solo nella home */
body.page-Test_home #footer {
  display: block !important;
  margin-top: 1.5rem !important;
  padding-top: 0 !important;
  padding-bottom: 1.25rem !important;
  border-top: 0 !important;
  background: transparent !important;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--color-base--subtle, #b8b8b8) !important;
  opacity: 0.72;
}
body.page-Test_home #footer-info {
  display: block !important;
}
body.page-Test_home #footer-places,
body.page-Test_home #footer-icon,
body.page-Test_home #footer-info-lastmod {
  display: none !important;
}
body.page-Test_home .citizen-footer-tagline,
body.page-Test_home #footer-tagline,
body.page-Test_home #footer .citizen-footer__tagline {
  color: var(--color-base--subtle, #b8b8b8) !important;
  opacity: 0.72;
}
body.page-Test_home #footer a,
body.page-Test_home #footer a:visited {
  color: var(--color-base--subtle, #b8b8b8) !important;
  text-decoration: none !important;
}
body.page-Test_home #footer a:hover {
  color: var(--color-base, #ffffff) !important;
  text-decoration: underline !important;
}
/* ==========================================================
  RESPONSIVE
  ========================================================== */
/* Finestra intermedia:
  1. hero ancora a due colonne
  2. indice sotto
  3. colonna informativa sotto l'indice */
@media (max-width: 1250px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: min(100%, calc(100vw - 4rem));
    min-height: auto;
    margin: 0 auto;
    padding: 2rem 0 3rem;
    display: block;
  }
  body.page-Test_home .mw-parser-output .ce-home-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  body.page-Test_home .mw-parser-output .ce-home-main {
    min-width: 0;
  }
  body.page-Test_home .mw-parser-output .ce-hero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
    margin-bottom: 4.5rem;
  }
  body.page-Test_home .mw-parser-output .ce-hero-text {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  body.page-Test_home .mw-parser-output .ce-hero-visual {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
  }
  body.page-Test_home .mw-parser-output .ce-home-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
  body.page-Test_home .mw-parser-output .ce-home-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding-left: 0;
    border-left: 0;
  }
  body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-box {
    padding-left: 4rem;
  }
}
/* Finestra più stretta:
  hero passa a una colonna, ma ordine resta:
  titolo/testo, foto, indice, blocchi informativi */
@media (max-width: 900px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: min(100%, calc(100vw - 2rem));
    padding: 1.5rem 0 3rem;
  }
  body.page-Test_home .mw-parser-output .ce-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 3.5rem;
  }
  body.page-Test_home .mw-parser-output .ce-hero-text {
    grid-column: 1;
    grid-row: 1;
  }
  body.page-Test_home .mw-parser-output .ce-hero-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 300px;
    height: 450px;
  }
  body.page-Test_home .mw-parser-output .ce-hero-visual a,
  body.page-Test_home .mw-parser-output .ce-hero-visual span,
  body.page-Test_home .mw-parser-output .ce-hero-visual figure,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description,
  body.page-Test_home .mw-parser-output .ce-hero-visual img,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
  body.page-Test_home .mw-parser-output .ce-hero-img {
    width: 300px !important;
    height: 450px !important;
  }
  body.page-Test_home .mw-parser-output .ce-home-index {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }
  body.page-Test_home .mw-parser-output .ce-index-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  body.page-Test_home .mw-parser-output .ce-home-aside {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 0;
    padding-left: 0;
    border-top: 0;
    padding-top: 0;
  }
  body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-box {
    padding-left: 0;
  }
  body.page-Test_home .mw-parser-output .ce-hero-text h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
    line-height: 0.98;
  }
  body.page-Test_home .mw-parser-output .ce-hero-text p {
    font-size: 1.05rem;
  }
}
/* Mobile molto stretto */
@media (max-width: 520px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: 100%;
    padding: 1rem 0 2.5rem;
  }
  body.page-Test_home .mw-parser-output .ce-hero-text h1 {
    font-size: clamp(2.3rem, 13vw, 3.3rem);
  }
  body.page-Test_home .mw-parser-output .ce-hero-visual,
  body.page-Test_home .mw-parser-output .ce-hero-visual a,
  body.page-Test_home .mw-parser-output .ce-hero-visual span,
  body.page-Test_home .mw-parser-output .ce-hero-visual figure,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description,
  body.page-Test_home .mw-parser-output .ce-hero-visual img,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
  body.page-Test_home .mw-parser-output .ce-hero-img {
    width: 260px !important;
    height: 390px !important;
  }
}
}

Latest revision as of 21:24, 20 May 2026

/* CSS placed here will be applied to all skins */

/* === Footer MediaWiki/Citizen === */

#footer {
  display: none;
}

/* last modification stuff */
#footer-info {
  display: none;
}

/* footer links */
#footer-places {
  display: none;
}

/* powered by icon */
#footer-icon {
  display: none;
}

/* === Box stato archivio === */

.box-stato-archivio .citizen-card__body p {
  margin: 0 0 .75em 0;
}

.box-stato-archivio .citizen-card__body p:last-child {
  margin-bottom: 0;
}

/* === CSS per template IntestazionePagine === */

.namespace-label {
  display: block;
  font-size: 0.85em;
  margin-top: -0.3em;
  margin-bottom: 0.6em;
}

.namespace-label a,
.namespace-label a:visited {
  color: inherit;
}

/* ==========================================================
   HOMEPAGE CINETECA DELL'ETNA
   Pagina di test: Test_home
   ========================================================== */

/* Nasconde titolo standard Citizen solo nella pagina Test_home */

body.page-Test_home .citizen-page-header,
body.page-Test_home .citizen-body-header,
body.page-Test_home .mw-body-header,
body.page-Test_home #firstHeading,
body.page-Test_home .firstHeading,
body.page-Test_home .mw-first-heading,
body.page-Test_home .mw-page-title-main {
  display: none !important;
}

/* Nasconde colonna destra standard Citizen solo nella pagina Test_home */

body.page-Test_home .citizen-page-sidebar,
body.page-Test_home .citizen-toc,
body.page-Test_home .citizen-page-info,
body.page-Test_home .citizen-lastmod,
body.page-Test_home .citizen-page-actions-more,
body.page-Test_home .toc,
body.page-Test_home #toc {
  display: none !important;
}

/* Nasconde informazioni ultima modifica solo nella pagina Test_home */

body.page-Test_home .mw-parser-output .printfooter,
body.page-Test_home .mw-parser-output .catlinks,
body.page-Test_home .mw-parser-output .mw-footer-info,
body.page-Test_home .page-info,
body.page-Test_home .citizen-page-info,
body.page-Test_home .citizen-page-footer,
body.page-Test_home .citizen-body-footer,
body.page-Test_home .mw-body-footer,
body.page-Test_home .mw-last-modified,
body.page-Test_home #footer-info-lastmod {
  display: none !important;
}

/* Allarga lo spazio utile della home dentro Citizen */

body.page-Test_home .citizen-body,
body.page-Test_home .citizen-body-container,
body.page-Test_home .citizen-body-content,
body.page-Test_home .citizen-page-container,
body.page-Test_home .mw-body,
body.page-Test_home .mw-body-content,
body.page-Test_home .mw-parser-output,
body.page-Test_home #bodyContent,
body.page-Test_home #content {
  max-width: none !important;
  width: 100% !important;
}

body.page-Test_home .citizen-body {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Contenitore generale home */

body.page-Test_home .mw-parser-output .ce-home {
  width: min(1300px, calc(100vw - 14rem));
  max-width: none !important;
  min-height: calc(100vh - 7rem);
  margin: 0 auto;
  padding: 2rem 0 2rem;
  box-sizing: border-box;
  overflow-x: hidden;
  transform: none;

  display: flex;
  align-items: center;
}

/* Layout generale: contenuto principale + colonna laterale */

body.page-Test_home .mw-parser-output .ce-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.page-Test_home .mw-parser-output .ce-home-main {
  min-width: 0;
}

/* Colonna laterale editoriale */

body.page-Test_home .mw-parser-output .ce-home-aside {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  min-width: 0;
  border-left: 0;
  padding-left: 2rem;
}

/* Hero: testo a sinistra, foto verticale a destra */

body.page-Test_home .mw-parser-output .ce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 5rem;
}

body.page-Test_home .mw-parser-output .ce-hero-text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}

/* Occhiello / motto identitario */

body.page-Test_home .mw-parser-output .ce-hero-kicker {
  margin-bottom: 1.4rem;
  color: var(--color-base, #ffffff);
  opacity: 0.72;
  font-size: 0.92rem;
  line-height: 1.2;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* Immagine verticale della home: solo foto, nessun box */

body.page-Test_home .mw-parser-output .ce-hero-visual {
  grid-column: 2;
  grid-row: 1;
  width: 300px;
  height: 450px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden;
}

body.page-Test_home .mw-parser-output .ce-hero-visual > p {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-Test_home .mw-parser-output .ce-hero-visual a,
body.page-Test_home .mw-parser-output .ce-hero-visual span,
body.page-Test_home .mw-parser-output .ce-hero-visual figure,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description {
  display: block;
  width: 300px !important;
  height: 450px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.page-Test_home .mw-parser-output .ce-hero-visual img,
body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
body.page-Test_home .mw-parser-output .ce-hero-img {
  display: block;
  width: 300px !important;
  height: 450px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Testo principale hero */

body.page-Test_home .mw-parser-output .ce-hero-text h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}

body.page-Test_home .mw-parser-output .ce-hero-text p {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 760px;
  color: var(--color-base--subtle, #b8b8b8);
}

/* Indice editoriale principale: libero, senza box */

body.page-Test_home .mw-parser-output .ce-home-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: 100%;
  margin: 0;
  padding-top: 0;
  border: 0;
}

body.page-Test_home .mw-parser-output .ce-index-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-Test_home .mw-parser-output .ce-index-number {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
}

body.page-Test_home .mw-parser-output .ce-index-title {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 600;
}

/* Index / Federated Archives Alliance / Contatti: rosso Citizen */

body.page-Test_home .mw-parser-output .ce-index-title,
body.page-Test_home .mw-parser-output .ce-index-title a,
body.page-Test_home .mw-parser-output .ce-index-title a:visited {
  color: var(--color-link-red, var(--color-destructive, #d33)) !important;
  text-decoration: none;
}

body.page-Test_home .mw-parser-output .ce-index-title a:hover {
  color: var(--color-link-red, var(--color-destructive, #d33)) !important;
  text-decoration: underline;
}

body.page-Test_home .mw-parser-output .ce-index-text {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 32em;
}

/* Box laterali leggeri, senza delimitazioni */

body.page-Test_home .mw-parser-output .ce-side-box {
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-Test_home .mw-parser-output .ce-side-box::before {
  content: none;
  display: none;
}

body.page-Test_home .mw-parser-output .ce-side-label {
  margin-bottom: 0.6rem;
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Titoli colonna destra: bianchi */

body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a:visited {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none !important;
}

body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-title a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

body.page-Test_home .mw-parser-output .ce-side-text {
  color: var(--color-base--subtle, #b8b8b8);
  font-size: 0.95rem;
  line-height: 1.45;
}

body.page-Test_home .mw-parser-output .ce-side-link {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

/* Link azione colonna destra: bianchi, blu Citizen solo all'hover */

body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a,
body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-link a:hover {
  color: var(--color-progressive, #36c) !important;
  text-decoration: underline !important;
}

/* Footer Citizen visibile e alleggerito solo nella home */

body.page-Test_home #footer {
  display: block !important;
  margin-top: 1.5rem !important;
  padding-top: 0 !important;
  padding-bottom: 1.25rem !important;
  border-top: 0 !important;
  background: transparent !important;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--color-base--subtle, #b8b8b8) !important;
  opacity: 0.72;
}

body.page-Test_home #footer-info {
  display: block !important;
}

body.page-Test_home #footer-places,
body.page-Test_home #footer-icon,
body.page-Test_home #footer-info-lastmod {
  display: none !important;
}

body.page-Test_home .citizen-footer-tagline,
body.page-Test_home #footer-tagline,
body.page-Test_home #footer .citizen-footer__tagline {
  color: var(--color-base--subtle, #b8b8b8) !important;
  opacity: 0.72;
}

body.page-Test_home #footer a,
body.page-Test_home #footer a:visited {
  color: var(--color-base--subtle, #b8b8b8) !important;
  text-decoration: none !important;
}

body.page-Test_home #footer a:hover {
  color: var(--color-base, #ffffff) !important;
  text-decoration: underline !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Finestra intermedia:
   1. hero ancora a due colonne
   2. indice sotto
   3. colonna informativa sotto l'indice */

@media (max-width: 1250px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: min(100%, calc(100vw - 4rem));
    min-height: auto;
    margin: 0 auto;
    padding: 2rem 0 3rem;
    display: block;
  }

  body.page-Test_home .mw-parser-output .ce-home-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  body.page-Test_home .mw-parser-output .ce-home-main {
    min-width: 0;
  }

  body.page-Test_home .mw-parser-output .ce-hero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
    margin-bottom: 4.5rem;
  }

  body.page-Test_home .mw-parser-output .ce-hero-text {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  body.page-Test_home .mw-parser-output .ce-hero-visual {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
  }

  body.page-Test_home .mw-parser-output .ce-home-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  body.page-Test_home .mw-parser-output .ce-home-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding-left: 0;
    border-left: 0;
  }

  body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-box {
    padding-left: 4rem;
  }
}

/* Finestra più stretta:
   hero passa a una colonna, ma ordine resta:
   titolo/testo, foto, indice, blocchi informativi */

@media (max-width: 900px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: min(100%, calc(100vw - 2rem));
    padding: 1.5rem 0 3rem;
  }

  body.page-Test_home .mw-parser-output .ce-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 3.5rem;
  }

  body.page-Test_home .mw-parser-output .ce-hero-text {
    grid-column: 1;
    grid-row: 1;
  }

  body.page-Test_home .mw-parser-output .ce-hero-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 300px;
    height: 450px;
  }

  body.page-Test_home .mw-parser-output .ce-hero-visual a,
  body.page-Test_home .mw-parser-output .ce-hero-visual span,
  body.page-Test_home .mw-parser-output .ce-hero-visual figure,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description,
  body.page-Test_home .mw-parser-output .ce-hero-visual img,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
  body.page-Test_home .mw-parser-output .ce-hero-img {
    width: 300px !important;
    height: 450px !important;
  }

  body.page-Test_home .mw-parser-output .ce-home-index {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  body.page-Test_home .mw-parser-output .ce-index-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  body.page-Test_home .mw-parser-output .ce-home-aside {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 0;
    padding-left: 0;
    border-top: 0;
    padding-top: 0;
  }

  body.page-Test_home .mw-parser-output .ce-home-aside .ce-side-box {
    padding-left: 0;
  }

  body.page-Test_home .mw-parser-output .ce-hero-text h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
    line-height: 0.98;
  }

  body.page-Test_home .mw-parser-output .ce-hero-text p {
    font-size: 1.05rem;
  }
}

/* Mobile molto stretto */

@media (max-width: 520px) {
  body.page-Test_home .mw-parser-output .ce-home {
    width: 100%;
    padding: 1rem 0 2.5rem;
  }

  body.page-Test_home .mw-parser-output .ce-hero-text h1 {
    font-size: clamp(2.3rem, 13vw, 3.3rem);
  }

  body.page-Test_home .mw-parser-output .ce-hero-visual,
  body.page-Test_home .mw-parser-output .ce-hero-visual a,
  body.page-Test_home .mw-parser-output .ce-hero-visual span,
  body.page-Test_home .mw-parser-output .ce-hero-visual figure,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-default-size,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-description,
  body.page-Test_home .mw-parser-output .ce-hero-visual img,
  body.page-Test_home .mw-parser-output .ce-hero-visual .mw-file-element,
  body.page-Test_home .mw-parser-output .ce-hero-img {
    width: 260px !important;
    height: 390px !important;
  }
}