/*
Theme Name: Termoguida
Theme URI: https://ecothermo.it
Description: Tema per una rivista divulgativa sul riscaldamento di casa: risparmio in bolletta, normativa sulla contabilizzazione e scelta di valvole, ripartitori e termosifoni, con tabelle leggibili sui testi lunghi.
Author: Katia Bertero
Template: astra
Version: 0.1.0
Text Domain: gradigiorno
Tags: blog, wide-blocks, one-column, translation-ready, threaded-comments, custom-colors
*/

@font-face {
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url('assets/fonts/mona-sans-500-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url('assets/fonts/mona-sans-500-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Reddit Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/reddit-sans-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Reddit Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/reddit-sans-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Reddit Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/reddit-sans-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Reddit Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/reddit-sans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fondo: #ffffff;
  --lastra: #ffffff;
  --intonaco: #f3f1ed;
  --velo: #faf9f7;
  --tone: #221f1c;
  --tone-70: #6b645d;
  --tone-40: rgba(34, 31, 28, 0.4);
  --key: #a9480c;
  --brace: #ee7a1e;
  --giunto: #e4e0da;
  --giunto-forte: rgba(34, 31, 28, 0.28);
  --petrolio: #1f6b6b;

  
  --ir: linear-gradient(90deg, #2b1747 0%, #6d2577 22%, #c23a46 46%, #ee7a1e 68%, #f8c23a 86%, #fff1b8 100%);
  --ir-giu: linear-gradient(180deg, #fff1b8 0%, #f8c23a 16%, #ee7a1e 38%, #c23a46 62%, #6d2577 84%, #2b1747 100%);

  --ff-titre: "Mona Sans", "Arial Narrow", Arial, sans-serif;
  --ff-b: "Reddit Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --tap: 44px;
  --gouttiere: clamp(20px, 4.5vw, 56px);
  --cap-w: 1200px;
}

:where(html) { -webkit-text-size-adjust: 100%; box-sizing: border-box; }

:where(html) *::before, :where(html) *::after, :where(html) * { box-sizing: inherit; }
body.gg {
  margin: 0;
  font-family: var(--ff-b);
}
:where(body.gg) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.gg) :where(img, video) { height: auto; }
:where(body.gg) :where(figure) { margin: 0; }
:where(body.gg) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.gg) :where(textarea) { width: 100%; }
:where(body.gg) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.gg) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.gg) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.gg) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.gg) .aligncenter { display: block; margin-inline: auto; }
.gg-container {
  max-width: var(--cap-w);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.gg-main { min-height: 60vh; }

:where(input[type="reset"], input[type="button"], button, .button, input[type="submit"]) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.gg-searchform {
  display: flex;
  align-items: stretch;
}
.gg-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.gg-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.gg-drawer__close,
.gg-search-overlay__close,
.gg-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gg-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
:where(body.gg) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.gg-header__nav > li {
  position: relative;
}
.gg-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.gg-header__nav > li:hover > .sub-menu,
.gg-header__nav > li.gg-spiegata > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.gg-submenu-toggle {
  min-height: var(--tap);
}
.gg-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.gg) .gg-menu-label {
  cursor: default;
}

.gg-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.gg-crumbs > * {
  flex: none;
}
.gg-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.gg) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.gg) :where(a) { text-decoration-color: currentColor; }

body.gg {
  background: var(--fondo);
  color: var(--tone);
  font-size: 1.0625rem;
  line-height: 1.6;
}
:where(body.gg) :focus-visible { outline: 2px solid var(--petrolio); outline-offset: 2px; }

.gg-t1 { --tc: #3b1d5e; }
.gg-t2 { --tc: #7a2878; }
.gg-t3 { --tc: #c23a46; }
.gg-t4 { --tc: #e06a1f; }
.gg-t5 { --tc: #f0a52c; }
.gg-t6 { --tc: #f3cf4f; }
.gg-tassello {
  display: inline-block;
  flex: none;
  width: .7rem;
  height: .7rem;
  border-radius: 1px;
  background: var(--tc, var(--brace));
  box-shadow: inset 0 0 0 1px rgba(34, 31, 28, .12);
}

.gg-header { position: relative; z-index: 50; background: var(--lastra); }
.gg-header__riga {
  max-width: var(--cap-w);
  margin: 0 auto;
  padding: 12px var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.gg-header__brand { display: block; flex: none; line-height: 0; }
.gg-header__logo { display: block; width: auto; height: 64px; }
.gg-header__wordmark { font: 760 1.6rem/1 var(--ff-titre); color: var(--petrolio); line-height: 1; }
.gg-header__nav-wrap { margin-left: auto; }
.gg-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--ff-titre);
  font-weight: 580;
  font-stretch: 96%;
  font-size: .98rem;
}
.gg-header__nav a {
  position: relative;
  display: block;
  padding: .7rem 0;
  text-decoration: none;
}
.gg-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .3rem;
  height: 3px;
  background: var(--ir);
  transform: scaleX(0);
  transform-origin: left;
}
.gg-header__nav a:hover::after,
.gg-header__nav .current-menu-item > a::after,
.gg-header__nav .current-post-parent > a::after,
.gg-header__nav .current-menu-parent > a::after { transform: scaleX(1); }
.gg-header__nav .sub-menu {
  min-width: 15rem;
  padding: .4rem 1rem;
  background: var(--lastra);
  border: 1px solid var(--giunto);
  box-shadow: 0 10px 24px rgba(34, 31, 28, .1);
}
.gg-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.gg-header__search {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--giunto-forte);
  border-radius: 3px;
  font-weight: 600;
  font-size: .92rem;
}
.gg-header__search:hover { border-color: var(--tone); }
.gg-header__hamburger { display: none; flex-direction: column; gap: 5px; }
.gg-header__hamburger span { display: block; width: 22px; height: 2px; background: currentColor; }
.gg-header__scala { display: block; height: 4px; background: var(--ir); }

.gg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(86vw, 22rem);
  padding: 1rem 1.5rem 2rem;
  overflow-y: auto;
  background: var(--lastra);
  border-left: 4px solid;
  border-image: var(--ir-giu) 1;
  transform: translateX(100%);
  visibility: hidden;
}
body.gg-con-cassetto .gg-drawer { transform: none; visibility: visible; }
.gg-drawer__close { margin-left: auto; display: flex; font-size: 1.8rem; line-height: 1; }
.gg-drawer__nav { list-style: none; margin: .5rem 0 0; padding: 0; font: 620 1.15rem/1.3 var(--ff-titre); }
.gg-drawer__nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--giunto); text-decoration: none; }
.gg-drawer .sub-menu a { padding-left: 1rem; font-weight: 500; font-size: 1rem; }
body.gg-con-cassetto::after,
body.gg-con-ricerca::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(34, 31, 28, .45);
}

.gg-search-overlay {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem var(--gouttiere) 2.25rem;
  background: var(--intonaco);
  border-bottom: 4px solid;
  border-image: var(--ir) 1;
  display: none;
}
body.gg-con-ricerca .gg-search-overlay { display: block; }
.gg-search-overlay__close { position: absolute; top: .5rem; right: .75rem; font-size: 1.8rem; line-height: 1; }
.gg-search-overlay__inner { max-width: 46rem; margin: 0 auto; }
.gg-searchform__input {
  padding: .6rem 0;
  font: 600 1.3rem/1.2 var(--ff-titre);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--tone);
  border-radius: 0;
  color: var(--tone);
}
.gg-searchform__submit { margin-left: .75rem; background: var(--tone); color: #fff; font-weight: 700; border-radius: 3px; }
.gg-searchform__submit:hover { background: var(--key); }

.gg-testata {
  position: relative;
  margin: 0 0 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--giunto);
  font: 720 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--ff-titre);
  font-stretch: 104%;
  letter-spacing: -.01em;
}
.gg-testata::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 5.5rem;
  height: 3px;
  background: var(--ir);
}

.gg-apertura { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.gg-apertura__griglia {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.25rem, 5.5vw, 4.25rem);
}
.gg-apertura__titolo {
  margin: 0 0 1.25rem;
  font: 760 clamp(2.1rem, 1.25rem + 3vw, 3.55rem)/1.04 var(--ff-titre);
  font-stretch: 106%;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.gg-apertura__lead { max-width: 34rem; margin: 0 0 1.5rem; font-size: 1.15rem; line-height: 1.55; color: var(--tone-70); }
.gg-apertura__firma { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .95rem; }
.gg-apertura__firma::before { content: ""; width: 2rem; height: 3px; background: var(--ir); }
.gg-apertura__firma a { font-weight: 700; color: var(--key); text-underline-offset: 3px; }

.gg-termogramma {
  position: relative;
  isolation: isolate;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 6px;
  background: radial-gradient(120% 90% at 40% 60%, #3a1a5c 0%, #241240 55%, #160b29 100%);
}
.gg-termogramma::before {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 3px;
  pointer-events: none;
}
.gg-termogramma > span { position: absolute; display: block; }
.gg-termogramma__parete {
  inset: 0;
  background:
    radial-gradient(42% 38% at 42% 26%, rgba(194, 58, 70, .55), transparent 70%),
    radial-gradient(60% 30% at 44% 88%, rgba(109, 37, 119, .5), transparent 70%);
  filter: blur(10px);
}
.gg-termogramma__radiatore {
  left: 18%;
  right: 22%;
  top: 36%;
  bottom: 20%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(36, 14, 58, 0) 0 15px, rgba(36, 14, 58, .78) 15px 21px),
    linear-gradient(90deg, rgba(58, 26, 92, 0) 25%, rgba(90, 30, 110, .62) 100%),
    linear-gradient(180deg, #fff1b8 0%, #f8c23a 14%, #ee7a1e 38%, #c23a46 68%, #6d2577 100%);
  box-shadow: 0 0 70px 10px rgba(238, 122, 30, .25);
  filter: blur(1.2px);
}
.gg-termogramma__tubo {
  left: 13.5%;
  top: 38%;
  bottom: 0;
  width: 2.6%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #fff1b8, #f8c23a 35%, #ee7a1e);
  filter: blur(1px);
}
.gg-termogramma__tubo::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 60%;
  width: 260%;
  height: 9px;
  border-radius: 3px;
  background: #fff1b8;
}
.gg-termogramma__mirino {
  left: 24%;
  top: 41%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(#fff, #fff) top center / 2px 15px no-repeat,
    linear-gradient(#fff, #fff) bottom center / 2px 15px no-repeat,
    linear-gradient(#fff, #fff) left center / 15px 2px no-repeat,
    linear-gradient(#fff, #fff) right center / 15px 2px no-repeat;
  filter: drop-shadow(0 0 2px rgba(22, 11, 41, .6));
}
.gg-termogramma__legenda {
  right: 9%;
  top: 14%;
  bottom: 14%;
  z-index: 3;
  width: 9px;
  border-radius: 2px;
  background: var(--ir-giu);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}
.gg-termogramma__legenda b {
  position: absolute;
  right: 16px;
  font: 600 .72rem/1 var(--ff-titre);
  font-stretch: 90%;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .88);
}
.gg-termogramma__legenda b:first-child { top: 0; }
.gg-termogramma__legenda b:last-child { bottom: 0; }

.gg-ultime { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.gg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.gg-card { display: flex; flex-direction: column; text-decoration: none; }
.gg-photo {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--intonaco), var(--giunto));
}
.gg-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gg-card__testo { display: flex; flex-direction: column; gap: .55rem; padding-top: 1rem; }
.gg-card__cat { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; color: var(--key); }
.gg-card__title { font: 650 1.2rem/1.25 var(--ff-titre); text-wrap: pretty; }
.gg-card:hover .gg-card__title { text-decoration: underline; text-decoration-color: var(--brace); text-underline-offset: 4px; }
.gg-lettura { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--tone-70); }
.gg-lettura__barra {
  position: relative;
  flex: none;
  width: 4.5rem;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ir);
}
.gg-lettura__barra > span { position: absolute; top: 0; right: 0; bottom: 0; background: var(--giunto); }

.gg-rubriche { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: var(--intonaco); }
.gg-rubriche__griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.gg-voce {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.35rem 1.5rem 1.3rem;
  background: var(--lastra);
  border-top: 5px solid var(--tc, var(--brace));
}
.gg-voce__nome { margin: 0; font: 700 1.25rem/1.2 var(--ff-titre); }
.gg-voce__nome a { text-decoration: none; }
.gg-voce__nome a:hover { color: var(--key); }
.gg-voce__desc { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--tone-70); }
.gg-voce__guide { margin: .2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--giunto); }
.gg-voce__guide a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--giunto); font-weight: 600; line-height: 1.35; text-decoration: none; }
.gg-voce__guide a:hover { color: var(--key); }
.gg-voce__tutte { margin-top: auto; padding-top: .3rem; font-size: .9rem; font-weight: 700; color: var(--key); text-underline-offset: 3px; }

.gg-articolo__testa { max-width: calc(46rem + 2 * var(--gouttiere)); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.gg-crumbs { font-size: .85rem; color: var(--tone-70); }
.gg-crumbs a { text-decoration: none; }
.gg-crumbs a:hover { color: var(--key); text-decoration: underline; }
.gg-articolo__rubrica { margin: 1.4rem 0 .6rem; font-size: .92rem; font-weight: 700; }
.gg-articolo__rubrica a { display: inline-flex; align-items: center; gap: .5rem; color: var(--key); text-decoration: none; }
.gg-articolo__titolo {
  margin: 0 0 1rem;
  font: 740 clamp(1.8rem, 1.25rem + 2.2vw, 2.85rem)/1.08 var(--ff-titre);
  font-stretch: 102%;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.gg-articolo__sommario { margin: 0 0 1.25rem; font-size: 1.2rem; line-height: 1.5; color: var(--tone-70); }
.gg-articolo__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.4rem;
  padding: .85rem 0;
  border-top: 1px solid var(--giunto);
  border-bottom: 1px solid var(--giunto);
  font-size: .9rem;
  color: var(--tone-70);
}
.gg-articolo__chi { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--tone); }
.gg-articolo__chi a { text-decoration: none; }
.gg-articolo__avatar { width: 32px; height: 32px; border-radius: 50%; }
.gg-articolo__copertina { max-width: calc(64rem + 2 * var(--gouttiere)); margin-top: 2rem; }
.gg-articolo__copertina img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

.gg-articolo__corpo {
  max-width: calc(46rem + 2 * var(--gouttiere));
  margin: 2.5rem auto 0;
  padding: 0 var(--gouttiere);
  font-size: 1.1rem;
  line-height: 1.72;
}
.gg-articolo__corpo > * { margin-top: 0; margin-bottom: 1.25em; }
.gg-articolo__corpo h2 {
  position: relative;
  margin: 2.4em 0 .7em;
  padding-top: .9rem;
  font: 700 1.65rem/1.2 var(--ff-titre);
  font-stretch: 102%;
  letter-spacing: -.008em;
}
.gg-articolo__corpo h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 3px;
  background: var(--ir);
}
.gg-articolo__corpo h3 { margin: 1.8em 0 .5em; font: 650 1.28rem/1.25 var(--ff-titre); }
.gg-articolo__corpo h4 { margin: 1.5em 0 .4em; font: 650 1.08rem/1.3 var(--ff-titre); }
.gg-articolo__corpo a { color: var(--key); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gg-articolo__corpo a:hover { text-decoration-thickness: 2px; }
.gg-articolo__corpo :where(ul, ol) { padding-left: 1.3em; }
.gg-articolo__corpo li { margin-bottom: .4em; }
.gg-articolo__corpo ul li::marker { color: var(--brace); }
.gg-articolo__corpo blockquote { margin-left: 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--brace); color: var(--tone-70); }

.gg-articolo__corpo .wp-block-table { margin: 2rem 0; overflow-x: auto; border-top: 3px solid; border-image: var(--ir) 1; }
.gg-articolo__corpo table { font-size: .95rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.gg-articolo__corpo :where(th, td) { padding: .65rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--giunto); }
.gg-articolo__corpo thead th { background: var(--tone); color: #fff; font-family: var(--ff-titre); font-weight: 620; border-bottom: 0; }
.gg-articolo__corpo tbody tr:nth-child(even) > * { background: var(--velo); }
.gg-articolo__corpo tbody td:first-child { font-weight: 600; }
.gg-articolo__corpo figcaption { margin-top: .5rem; font-size: .85rem; color: var(--tone-70); }

body.gg #ez-toc-container {
  display: block;
  width: auto;
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--intonaco);
  border: 0;
  border-left: 5px solid;
  border-image: var(--ir-giu) 1;
  border-radius: 0;
  box-shadow: none;
}
body.gg #ez-toc-container .ez-toc-title { font: 700 1.05rem/1.3 var(--ff-titre); color: var(--tone); }
body.gg #ez-toc-container .ez-toc-title-container { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; }
body.gg #ez-toc-container .ez-toc-toggle {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  margin: 0;
  padding: 0;
  background: var(--lastra);
  border: 1px solid var(--giunto);
  border-radius: 3px;
}
body.gg #ez-toc-container .ez-toc-js-icon-con { float: none; position: static; width: auto; margin: 0; border: 0; }
body.gg #ez-toc-container .ez-toc-title-toggle { display: flex; flex: none; }
body.gg #ez-toc-container ul { margin: .5rem 0 0; }
body.gg #ez-toc-container ul ul { margin: .2rem 0 .5rem .35rem; padding-left: .9rem; border-left: 1px solid var(--giunto-forte); }
body.gg #ez-toc-container li { margin: .3rem 0; font-size: .98rem; line-height: 1.4; }
body.gg #ez-toc-container a { color: var(--tone); text-decoration: none; }
body.gg #ez-toc-container a:hover { color: var(--key); text-decoration: underline; }

.gg-autrice {
  display: flex;
  gap: 1.25rem;
  width: min(46rem, calc(100% - 2 * var(--gouttiere)));
  margin: 3rem auto 0;
  padding: 1.5rem;
  background: var(--intonaco);
  border-top: 3px solid;
  border-image: var(--ir) 1;
}
.gg-autrice__foto { flex: none; width: 88px; height: 88px; border-radius: 50%; }
.gg-autrice__nome { margin: 0 0 .35rem; font: 700 1.15rem/1.25 var(--ff-titre); }
.gg-autrice__nome a { text-decoration: none; }
.gg-autrice__bio { font-size: .95rem; line-height: 1.55; color: var(--tone-70); }
.gg-autrice__bio p { margin: 0 0 .5em; }

.gg-altre { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--intonaco); }
.gg-altre__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.gg-riga { display: flex; align-items: center; gap: 1rem; height: 100%; padding: .75rem; background: var(--lastra); border-radius: 4px; text-decoration: none; }
.gg-riga__foto { flex: none; width: 7.5rem; aspect-ratio: 4 / 3; }
.gg-riga__testo { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.gg-riga__titolo { font: 640 1.05rem/1.3 var(--ff-titre); }
.gg-riga:hover .gg-riga__titolo { color: var(--key); }

.gg-archivio__testa { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.gg-archivio__titolo {
  margin: 1.25rem 0 .75rem;
  font: 740 clamp(2rem, 1.4rem + 2.4vw, 3.1rem)/1.08 var(--ff-titre);
  font-stretch: 104%;
  letter-spacing: -.015em;
  hyphens: auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.gg-archivio__gradino {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 2px;
  display: inline-block;
  margin-right: .8rem;
  vertical-align: .12em;
  background: var(--tc, var(--brace));
  box-shadow: inset 0 0 0 1px rgba(34, 31, 28, .12);
}
.gg-archivio__desc { max-width: 44rem; margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.55; color: var(--tone-70); }
.gg-archivio__desc p { margin: 0 0 .5em; }
.gg-archivio__conta {
  position: relative;
  display: inline-block;
  margin: .25rem 0 0;
  padding-top: .7rem;
  font-size: .92rem;
  font-weight: 700;
}
.gg-archivio__conta::before { content: ""; position: absolute; top: 0; left: 0; width: 2.75rem; height: 3px; background: var(--ir); }
.gg-archivio__elenco { padding-top: .5rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.gg-vuoto { margin: 0; font-size: 1.05rem; color: var(--tone-70); }

.gg-cerca__q { color: var(--key); }
.gg-cerca__q::before { content: "« "; }
.gg-cerca__q::after { content: " »"; }
.gg-cerca__campo { max-width: 40rem; margin: 1.25rem 0 1rem; }
.gg-cerca__campo .gg-searchform__input { background: var(--lastra); }

.gg-nonce__codice { margin: 1rem 0 0; font: 700 .95rem/1.2 var(--ff-titre); color: var(--key); }
.gg-nonce__casa { margin: 0; font-weight: 700; }
.gg-nonce__casa a { color: var(--key); text-underline-offset: 3px; }

.gg-firma__scheda { display: flex; align-items: flex-start; gap: 1.75rem; margin-top: 1.25rem; }
.gg-firma__foto { flex: none; width: 120px; height: 120px; border-radius: 50%; }
.gg-firma .gg-archivio__titolo { margin-top: .25rem; }
.gg-firma__bio { max-width: 44rem; font-size: 1.05rem; line-height: 1.6; color: var(--tone-70); }
.gg-firma__bio p { margin: 0 0 .6em; }

.gg-elenco { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--intonaco); }
.gg-elenco__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.gg-elenco__voce {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-height: var(--tap);
  height: 100%;
  padding: .85rem 1rem .9rem;
  background: var(--lastra);
  border-top: 4px solid var(--tc, var(--brace));
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.gg-elenco__nome { font: 680 1.08rem/1.25 var(--ff-titre); overflow-wrap: anywhere; }
.gg-elenco__conta { font-size: .88rem; color: var(--tone-70); }
.gg-elenco__voce:hover .gg-elenco__nome { color: var(--key); }

.gg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.gg-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  height: var(--tap);
  padding: 0 .6rem;
  border: 1px solid var(--giunto);
  border-radius: 3px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.gg-pager a.page-numbers:hover { border-color: var(--tone); }
.gg-pager .current { background: var(--tone); border-color: var(--tone); color: #fff; }
.gg-pager .dots { border-color: transparent; }

.gg-pagina { padding-bottom: clamp(3rem, 6vw, 5rem); }
.gg-pagina__testa { padding-bottom: 1.5rem; }
.gg-pagina__titolo { margin-top: 1.25rem; margin-bottom: 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--giunto); }
.gg-pagina__corpo { padding-top: 1rem; }
.gg-pagina__corpo > h1 { display: none; }

.gg-contatti__corpo { display: grid; gap: 2rem; max-width: calc(46rem + 2 * var(--gouttiere)); padding-top: 1rem; }
.gg-contatti__testo { font-size: 1.08rem; line-height: 1.65; }
.gg-contatti__testo a { color: var(--key); text-underline-offset: 3px; }
.gg-contatti__modulo {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--intonaco);
  border-top: 3px solid;
  border-image: var(--ir) 1;
}

.gg-footer { background: var(--lastra); }
.gg-footer__alette {
  display: block;
  height: 14px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, var(--lastra) 10px 14px), var(--ir);
}
.gg-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-top: 2.75rem; padding-bottom: 2rem; }
.gg-footer__nome { margin: 0 0 .4rem; font: 760 1.6rem/1.1 var(--ff-titre); font-stretch: 106%; color: var(--petrolio); }
.gg-footer__motto { max-width: 22rem; margin: 0; color: var(--tone-70); }
.gg-footer__titolo { margin: 0 0 .75rem; font: 700 .95rem/1.2 var(--ff-titre); }
.gg-footer__lista { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.gg-footer__lista a { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; text-decoration: none; }
.gg-footer__lista a:hover { color: var(--key); text-decoration: underline; }
.gg-footer__copyright { padding-top: 1rem; padding-bottom: 1.5rem; border-top: 1px solid var(--giunto); font-size: .85rem; color: var(--tone-70); }

@media (prefers-reduced-motion: no-preference) {
  .gg-header__nav a::after { transition: transform .2s ease; }
  .gg-drawer { transition: transform .25s ease, visibility .25s; }
}

@media (max-width: 1099px) {
  .gg-header__nav-wrap { display: none; }
  .gg-header__actions { margin-left: auto; }
  .gg-header__hamburger { display: inline-flex; }
}
@media (max-width: 921px) {
  .gg-apertura__griglia { grid-template-columns: minmax(0, 1fr); }
  .gg-termogramma { aspect-ratio: 16 / 10; }
  .gg-grid,
  .gg-rubriche__griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-altre__lista { grid-template-columns: minmax(0, 1fr); }
  .gg-elenco__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-footer__inner { grid-template-columns: 1fr 1fr; }
  .gg-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 544px) {
  .gg-header__riga { gap: 1rem; padding-top: 8px; padding-bottom: 8px; }
  .gg-header__logo { height: 52px; }
  .gg-header__search-txt { display: none; }
  .gg-header__search { padding: 0; width: var(--tap); justify-content: center; }
  .gg-grid,
  .gg-rubriche__griglia { grid-template-columns: minmax(0, 1fr); }
  .gg-articolo__titolo { font-stretch: 96%; }
  .gg-articolo__corpo { font-size: 1.05rem; }
  .gg-articolo__corpo table { min-width: 32rem; }
  .gg-autrice { flex-direction: column; }
  .gg-elenco__lista { grid-template-columns: minmax(0, 1fr); }
  .gg-firma__scheda { flex-direction: column; gap: 1rem; }
  .gg-firma__foto { width: 88px; height: 88px; }
  .gg-archivio__gradino { width: .85rem; height: .85rem; }
  .gg-riga__foto { width: 6rem; }
  .gg-footer__inner { grid-template-columns: minmax(0, 1fr); }
}

body.gg {
  background: var(--fondo) !important;
  color: var(--tone) !important;
}

body.gg .ast-article-single,
body.gg .content-area,
body.gg #page,
body.gg #primary,
body.gg .site-main > article,
body.gg #content,
body.gg .site-main,
body.gg .site-content,
body.gg .ast-article-post,
body.gg .entry-content,
body.gg .ast-container {
  width: 100% !important;
  background: transparent !important;
  margin: 0 !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  display: block !important;
}

body.gg .ast-primary-header-bar,
body.gg .site-below-footer-wrap,
body.gg #masthead,
body.gg #ast-mobile-header,
body.gg .main-header-bar,
body.gg .footer-widget-area,
body.gg .site-header,
body.gg .ast-mobile-header-wrap,
body.gg .ast-secondary-header-bar,
body.gg .ast-above-footer,
body.gg .ast-above-header-wrap,
body.gg .main-header-bar-wrap,
body.gg .ast-small-footer,
body.gg #colophon,
body.gg .ast-below-footer,
body.gg .ast-footer-overlay,
body.gg .ast-page-header,
body.gg .entry-banner {
  margin: 0 !important;
  border: none !important;
  display: none !important;
  overflow: hidden !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
}

body.gg .ast-breadcrumbs-wrapper,
body.gg .site-footer,
body.gg .ast-main-header-wrap,
body.gg .ast-below-header-wrap {
  display: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: none !important;
  overflow: hidden !important;
  height: 0 !important;
  margin: 0 !important;
}

body.gg .ast-page-title-bar,
body.gg .ast-archive-title-wrap,
body.gg #ast-desktop-header,
body.gg .ast-footer-copyright,
body.gg .ast-breadcrumbs-inner,
body.gg .ast-header-breadcrumb {
  height: 0 !important;
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  min-height: 0 !important;
}

body.gg.home .entry-header,
body.gg.home .ast-archive-description {
  display: none !important;
}

:where(body.gg) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--tone);
  border: 1px solid var(--giunto-forte);
}

body.gg #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--tone);
  color: var(--lastra);
  cursor: pointer;
}
body.gg #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.gg #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.gg.admin-bar .gg-header { top: 32px; }
@media (max-width: 782px) {
  body.gg.admin-bar .gg-header { top: 46px; }
}

body.gg .wpcf7-form p { margin: 0 0 24px; }
body.gg .wpcf7-form input[type="text"],
body.gg .wpcf7-form input[type="email"],
body.gg .wpcf7-form input[type="tel"],
body.gg .wpcf7-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--giunto-forte);
  border-radius: 0; padding: 10px 0; font-family: var(--ff-b); font-size: 1rem; color: var(--tone);
  box-shadow: none;
}
body.gg .wpcf7-form input:focus,
body.gg .wpcf7-form textarea:focus { border-bottom-color: var(--key); }
body.gg .wpcf7-form input[type="submit"] {
  min-height: var(--tap); padding: 0 1.5rem; background: var(--tone); color: #fff; border: none; border-radius: 3px;
  font: 700 1rem/1 var(--ff-b); cursor: pointer;
}
body.gg .wpcf7-form input[type="submit"]:hover { background: var(--key); }
body.gg .wpcf7-form label { font-weight: 600; font-size: .95rem; }
body.gg .wpcf7-form textarea { height: 10rem; resize: vertical; }
