/* The Goat — CSS globale. Generato da sito/tools/build.py: non modificare a mano. */

/* Jost 300 normal — latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext-920dcb.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 300 normal — latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-0428ef.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;
}
/* Jost 400 normal — latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext-920dcb.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 400 normal — latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-0428ef.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;
}
/* Jost 500 normal — latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext-920dcb.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 500 normal — latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-0428ef.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;
}
/* Playfair Display 600 italic — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-ext-2567a3.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display 600 italic — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-bbcb52.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;
}
/* Playfair Display 600 normal — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-normal-latin-ext-f556cd.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display 600 normal — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-normal-latin-9deeae.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;
}
/* Playfair Display 700 normal — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-display-normal-latin-ext-f556cd.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display 700 normal — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-display-normal-latin-9deeae.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;
}

/* The Goat — variabili globali (Dark · Midnight Gold)
   Da inserire una sola volta: Divi > Opzioni tema > CSS personalizzato
   oppure nel primo modulo Code della pagina. */
:root {
  /* superfici scure */
  --tg-black: #0B0B0C;
  --tg-dark-warm: #1B1812;
  --tg-line-dark: #2A2620;

  /* accenti */
  --tg-gold: #C9A24B;
  --tg-gold-muted: #8C7B57;
  --tg-on-gold: #17140D;

  /* testo su scuro */
  --tg-cream: #F4EFE6;
  --tg-text-soft: #C9C2B4;
  --tg-label: #8A8272;

  /* sezioni chiare (inversione di superficie) */
  --tg-ink-light: #3A352B;
  --tg-line-light: #E4DDCE;

  /* tipografia: una sola coppia */
  --tg-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --tg-font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ritmo */
  --tg-section-y: clamp(64px, 10vw, 128px);
  --tg-gutter: clamp(16px, 4vw, 40px);
  --tg-max: 1200px;
}

/* The Goat — componenti condivisi
   Da inserire una sola volta, subito dopo 00-variabili.css
   (Divi > Opzioni tema > CSS personalizzato).
   Selettori a due classi per battere gli stili base di Divi (h1-h6, p, a, ul). */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* superfici: ogni sezione sceglie la sua, i componenti leggono i token --s-* */
.tg-s-dark, .tg-s-warm {
  --s-title: var(--tg-cream);
  --s-text: var(--tg-text-soft);
  --s-muted: var(--tg-label);
  --s-line: var(--tg-line-dark);
  --s-eyebrow: var(--tg-gold);
}
.tg-s-dark { --s-bg: var(--tg-black); }
.tg-s-warm { --s-bg: var(--tg-dark-warm); }
.tg-s-light {
  --s-bg: var(--tg-cream);
  --s-title: var(--tg-black);
  --s-text: var(--tg-ink-light);
  --s-muted: #6B6456;
  --s-line: var(--tg-line-light);
  --s-eyebrow: var(--tg-ink-light);
}

.tg-section {
  position: relative;
  background: var(--s-bg);
  color: var(--s-text);
  font-family: var(--tg-font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  padding: var(--tg-section-y) var(--tg-gutter);
  scroll-margin-top: 72px;
  -webkit-font-smoothing: antialiased;
}
.tg-section *, .tg-section *::before, .tg-section *::after { box-sizing: border-box; }
.tg-section .tg-wrap { max-width: var(--tg-max); margin: 0 auto; }
.tg-section p { margin: 0; padding: 0; }
.tg-section p + p { margin-top: 1.1em; }
.tg-section strong { font-weight: 500; color: var(--s-title); }

/* eyebrow: etichetta maiuscola con filetto oro */
.tg-section .tg-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 20px; padding: 0;
  font-family: var(--tg-font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; line-height: 1.4;
  color: var(--s-eyebrow);
}
.tg-section .tg-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--tg-gold); flex: none; }
.tg-section .tg-eyebrow--center::after { content: ""; width: 32px; height: 1px; background: var(--tg-gold); flex: none; }

/* titoli */
.tg-section .tg-h1,
.tg-section .tg-h2,
.tg-section .tg-h3 {
  margin: 0; padding: 0;
  font-family: var(--tg-font-display); font-weight: 600;
  color: var(--s-title); letter-spacing: -0.01em;
}
.tg-section .tg-h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.06; }
.tg-section .tg-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; }
.tg-section .tg-h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.tg-section .tg-h1 em, .tg-section .tg-h2 em { font-style: italic; color: var(--tg-gold); }
.tg-s-light .tg-h1 em, .tg-s-light .tg-h2 em { color: inherit; }

.tg-section .tg-lead {
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.6; font-weight: 300;
  color: var(--s-title);
}

/* bottoni */
.tg-section .tg-btn, .tg-header .tg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px;
  font-family: var(--tg-font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; line-height: 1;
  text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
  cursor: pointer;
}
.tg-section .tg-btn--gold, .tg-header .tg-btn--gold { background: var(--tg-gold); color: var(--tg-on-gold); }
.tg-section .tg-btn--gold:hover, .tg-header .tg-btn--gold:hover { background: #D8B461; color: var(--tg-on-gold); }
.tg-section .tg-btn--ghost { background: transparent; color: var(--s-title); border-color: var(--s-line); }
.tg-section .tg-btn--ghost:hover { border-color: var(--tg-gold); color: var(--s-title); }
.tg-section .tg-btn--dark { background: var(--tg-black); color: var(--tg-cream); }
.tg-section .tg-btn--dark:hover { background: var(--tg-dark-warm); color: var(--tg-cream); }

/* link testuale con freccia */
.tg-section .tg-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--s-title); text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid var(--tg-gold);
}
.tg-section .tg-link svg { width: 14px; height: 14px; transition: transform 250ms ease; }
.tg-section .tg-link:hover svg { transform: translateX(4px); }

.tg-section a:focus-visible, .tg-section button:focus-visible,
.tg-header a:focus-visible, .tg-header button:focus-visible {
  outline: 2px solid var(--tg-gold); outline-offset: 3px;
}
.tg-s-light a:focus-visible, .tg-s-light button:focus-visible { outline-color: var(--tg-black); }

.tg-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* liste: Divi mette pallini e rientro a tutte le ul del corpo (.et-l--body ul),
   qui li togliamo; i pallini restano solo nel testo degli articoli (.tg-prose) */
body :is(.tg-section, .tg-header) :is(ul, ol) { list-style: none; padding: 0; line-height: inherit; }
body .tg-section .tg-prose ul { list-style: disc; padding-left: 1.3em; }
body .tg-section .tg-prose ol { list-style: decimal; padding-left: 1.3em; }

/* ---- integrazione Divi ----
   Le sezioni, righe e colonne Divi che contengono un blocco The Goat perdono
   padding e larghezza massima: basta incollare il modulo Code, senza impostazioni. */
.et_pb_section:has(.tg-section, .tg-header) { padding: 0 !important; background: none !important; }
.et_pb_row:has(.tg-section, .tg-header) {
  width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important;
}
.et_pb_column:has(.tg-section, .tg-header) { margin: 0 !important; width: 100% !important; }
.et_pb_module:has(.tg-section, .tg-header) { margin: 0 !important; }
/* Divi 5: sezioni, righe e colonne sono flex con gap tra i moduli */
.et_pb_section:has(.tg-section, .tg-header),
.et_pb_row:has(.tg-section, .tg-header),
.et_pb_column:has(.tg-section, .tg-header) { gap: 0 !important; }
/* header del Theme Builder: lo sticky va applicato al contenitore di Divi */
.et-l--header:has(.tg-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.et-l--header .tg-header { position: relative; top: 0; }

/* ===== header ===== */
.tg-header {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
  background: rgba(11, 11, 12, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  font-family: var(--tg-font-body);
  transition: border-color 300ms ease, background-color 300ms ease;
}
.tg-header.is-scrolled { border-bottom-color: var(--tg-line-dark); background: rgba(11, 11, 12, 0.96); }
.tg-header *, .tg-header *::before, .tg-header *::after { box-sizing: border-box; }
.tg-header .tg-header__inner {
  max-width: calc(var(--tg-max) + 2 * var(--tg-gutter)); margin: 0 auto; padding: 0 var(--tg-gutter);
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* marchio: testa di capra + wordmark testuale */
.tg-header .tg-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tg-header .tg-brand img { display: block; width: 44px; height: auto; }
.tg-header .tg-brand__text { display: flex; flex-direction: column; line-height: 1; }
.tg-header .tg-brand__name {
  font-family: var(--tg-font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.2em; color: var(--tg-cream);
}
.tg-header .tg-brand__sub {
  margin-top: 5px; font-size: 8.5px; font-weight: 500; letter-spacing: 0.42em;
  color: var(--tg-gold);
}

/* navigazione */
.tg-header .tg-nav { display: flex; align-items: center; gap: 36px; }
.tg-header .tg-nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.tg-header .tg-nav__list li { margin: 0; padding: 0; }
.tg-header .tg-nav__list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 12px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--tg-cream); text-decoration: none;
}
.tg-header .tg-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--tg-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.tg-header .tg-nav__list a:hover::after,
.tg-header .tg-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.tg-header .tg-btn { min-height: 42px; padding: 12px 22px; }

/* hamburger */
.tg-header .tg-burger {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--tg-cream);
}
.tg-header .tg-burger span, .tg-header .tg-burger span::before, .tg-header .tg-burger span::after {
  display: block; width: 24px; height: 1.5px; margin: 0 auto; background: currentColor;
  transition: transform 300ms ease, background-color 300ms ease;
}
.tg-header .tg-burger span { position: relative; }
.tg-header .tg-burger span::before, .tg-header .tg-burger span::after { content: ""; position: absolute; left: 0; }
.tg-header .tg-burger span::before { top: -7px; }
.tg-header .tg-burger span::after { top: 7px; }
.tg-header .tg-burger[aria-expanded="true"] span { background: transparent; }
.tg-header .tg-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.tg-header .tg-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .tg-header .tg-burger { display: block; }
  .tg-header .tg-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 28px;
    padding: 24px var(--tg-gutter) 36px;
    background: var(--tg-black); border-bottom: 1px solid var(--tg-line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms;
  }
  .tg-header.is-open .tg-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 250ms ease, transform 250ms ease;
  }
  .tg-header .tg-nav__list { flex-direction: column; gap: 0; }
  .tg-header .tg-nav__list a { padding: 16px 0; font-size: 14px; border-bottom: 1px solid var(--tg-line-dark); }
  .tg-header .tg-nav__list a::after { display: none; }
  .tg-header .tg-btn { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-header *, .tg-header .tg-nav { transition: none !important; }
}

/* ===== hero ===== */
.tg-hero { overflow: hidden; padding-top: clamp(56px, 9vw, 120px); padding-bottom: 0; }
.tg-hero .tg-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) {
  .tg-hero .tg-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}
.tg-hero .tg-h1 { max-width: 15ch; }
.tg-hero .tg-hero__text { margin-top: 28px; max-width: 34em; font-size: 18px; }
.tg-hero .tg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* logo originale (il fondo nero del file coincide con quello della hero) */
.tg-hero .tg-hero__logo {
  position: relative; width: min(64%, 280px); margin: 0 auto;
  /* alone caldo dietro il logo */
  background: radial-gradient(closest-side, rgba(201, 162, 75, 0.14), rgba(201, 162, 75, 0) 80%);
}
@media (min-width: 900px) { .tg-hero .tg-hero__logo { width: min(100%, 420px); } }
.tg-hero .tg-hero__logo img { display: block; width: 100%; height: auto; }

/* fascia dati */
.tg-hero .tg-hero__facts {
  position: relative;
  display: grid; grid-template-columns: 1fr; margin: clamp(64px, 9vw, 112px) 0 0; padding: 0;
  border-top: 1px solid var(--s-line); list-style: none;
}
.tg-hero .tg-hero__facts li {
  margin: 0; padding: 28px 0; display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--s-line);
}
@media (min-width: 720px) {
  .tg-hero .tg-hero__facts { grid-template-columns: repeat(3, 1fr); }
  .tg-hero .tg-hero__facts li { padding: 36px 32px; border-bottom: 0; }
  .tg-hero .tg-hero__facts li:first-child { padding-left: 0; }
  .tg-hero .tg-hero__facts li + li { border-left: 1px solid var(--s-line); }
}
.tg-hero .tg-hero__num {
  font-family: var(--tg-font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1; color: var(--tg-gold);
}
.tg-hero .tg-hero__label {
  font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--s-muted); line-height: 1.5;
}

/* entrata morbida al caricamento */
@media (prefers-reduced-motion: no-preference) {
  .tg-hero .tg-hero__copy > *, .tg-hero .tg-hero__logo {
    animation: tg-rise 900ms cubic-bezier(.2, .7, .2, 1) both;
  }
  .tg-hero .tg-hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .tg-hero .tg-hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .tg-hero .tg-hero__copy > :nth-child(4) { animation-delay: 240ms; }
  .tg-hero .tg-hero__logo { animation-delay: 200ms; animation-duration: 1400ms; }
  @keyframes tg-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ===== chi-siamo ===== */
.tg-about .tg-about__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) {
  .tg-about .tg-about__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 72px; }
}
.tg-about .tg-h2 { max-width: 14ch; }
.tg-about .tg-about__body { padding-top: 6px; }
.tg-about .tg-about__body p { font-size: 19px; line-height: 1.7; color: var(--tg-ink-light); }
.tg-about .tg-about__who {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 32px 0 0;
  list-style: none; border-top: 1px solid var(--s-line);
}
.tg-about .tg-about__who li {
  margin: 0; padding: 9px 16px; border: 1px solid #D6CDB9; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--tg-ink-light); line-height: 1.2;
}

/* ===== servizi ===== */
.tg-services .tg-services__head { margin-bottom: clamp(40px, 6vw, 72px); }
.tg-services .tg-h2 { max-width: 14ch; }

.tg-services .tg-services__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--s-line); }
.tg-services .tg-service {
  margin: 0; padding: clamp(36px, 5vw, 56px) 0;
  display: grid; grid-template-columns: 1fr; gap: 20px;
  border-bottom: 1px solid var(--s-line);
}
@media (min-width: 900px) {
  .tg-services .tg-service { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
}
.tg-services .tg-service__num {
  font-family: var(--tg-font-display); font-style: italic; font-weight: 600;
  font-size: 22px; line-height: 1.3; color: var(--tg-gold);
}
.tg-services .tg-service__lead {
  margin-bottom: 16px; font-size: 19px; line-height: 1.6; font-weight: 400; color: var(--tg-cream);
}
.tg-services .tg-service__list {
  display: grid; grid-template-columns: 1fr; gap: 0 32px;
  margin: 20px 0; padding: 0; list-style: none;
}
@media (min-width: 560px) { .tg-services .tg-service__list { grid-template-columns: 1fr 1fr; } }
.tg-services .tg-service__list li {
  margin: 0; padding: 11px 0 11px 26px; position: relative;
  border-bottom: 1px solid var(--s-line); color: var(--tg-cream); font-weight: 400;
}
.tg-services .tg-service__list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--tg-gold);
}

/* ===== news ===== */
.tg-news .tg-news__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---- card articolo (riusata identica in home, archivio /news e articoli correlati) ---- */
.tg-cards {
  display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.4vw, 32px);
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 700px)  { .tg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tg-cards > li { margin: 0; padding: 0; display: flex; min-width: 0; }

.tg-card {
  position: relative; flex: 1; min-width: 0; /* la card non supera mai la sua colonna */
  display: flex; flex-direction: column;
  background: #FBF8F2; border: 1px solid var(--tg-line-light);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.tg-card:hover {
  border-color: #D9CBA6;
  box-shadow: 0 18px 40px -24px rgba(27, 24, 18, 0.35);
  transform: translateY(-3px);
}
.tg-card .tg-card__media {
  position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tg-dark-warm);
}
.tg-card .tg-card__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1);
}
.tg-card:hover .tg-card__media img { transform: scale(1.045); }
/* immagine mancante: segnaposto di brand */
.tg-card .tg-card__media--empty { display: flex; align-items: center; justify-content: center; }
.tg-card .tg-card__media--empty img { width: 34%; height: auto; object-fit: contain; opacity: .9; }

.tg-card .tg-card__cat {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  padding: 7px 12px 6px; background: var(--tg-black); color: var(--tg-gold);
  font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; line-height: 1;
}
.tg-card .tg-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.tg-card .tg-card__date {
  margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: #6B6456;
}
.tg-card .tg-card__title {
  margin: 0 0 12px; padding: 0; overflow-wrap: anywhere;
  font-family: var(--tg-font-display); font-weight: 600; font-size: 23px; line-height: 1.25;
  color: var(--tg-black);
}
.tg-card .tg-card__title a {
  color: inherit; text-decoration: none;
  background: linear-gradient(var(--tg-gold), var(--tg-gold)) 0 100% / 0 1px no-repeat;
  transition: background-size 400ms ease;
}
.tg-card:hover .tg-card__title a { background-size: 100% 1px; }
/* tutta la card cliccabile, un solo link per lettori di schermo e tastiera */
.tg-card .tg-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tg-card .tg-card__title a:focus-visible { outline: none; }
.tg-card:focus-within { outline: 2px solid var(--tg-black); outline-offset: 3px; }

.tg-card .tg-card__excerpt {
  margin: 0; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.7; color: var(--tg-ink-light);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tg-card .tg-card__more {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tg-black);
}
.tg-card .tg-card__more svg { width: 14px; height: 14px; transition: transform 300ms ease; }
.tg-card:hover .tg-card__more svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .tg-card, .tg-card .tg-card__media img, .tg-card .tg-card__more svg { transition: none; }
  .tg-card:hover { transform: none; }
  .tg-card:hover .tg-card__media img { transform: none; }
}

/* ===== network ===== */
.tg-network .tg-network__intro { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) {
  .tg-network .tg-network__intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: end; }
}
.tg-network .tg-network__sub {
  margin-top: 20px; font-family: var(--tg-font-display); font-style: italic; font-weight: 600;
  font-size: clamp(20px, 2vw, 24px); color: var(--s-text);
}

/* percorso in 4 passi */
.tg-network .tg-steps {
  counter-reset: tg-step;
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; list-style: none;
}
@media (min-width: 640px)  { .tg-network .tg-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tg-network .tg-steps { grid-template-columns: repeat(4, 1fr); } }
.tg-network .tg-step {
  counter-increment: tg-step;
  position: relative; margin: 0; padding: 32px 28px 32px 0;
  border-top: 1px solid var(--s-line);
}
.tg-network .tg-step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--tg-gold);
}
.tg-network .tg-step::after {
  content: "0" counter(tg-step);
  display: block; margin-bottom: 18px;
  font-family: var(--tg-font-display); font-style: italic; font-weight: 600; font-size: 18px; color: var(--tg-gold);
}
.tg-network .tg-step__title {
  display: block; margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--tg-cream);
}
.tg-network .tg-step p { font-size: 15px; line-height: 1.7; }
.tg-network .tg-step { display: flex; flex-direction: column; }
.tg-network .tg-step::after { order: -1; }

/* tre affermazioni finali */
.tg-network .tg-claims {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line);
}
@media (min-width: 900px) { .tg-network .tg-claims { grid-template-columns: repeat(3, 1fr); } }
.tg-network .tg-claims li {
  margin: 0; padding: clamp(28px, 4vw, 48px) 0;
  font-family: var(--tg-font-display); font-weight: 600;
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; color: var(--tg-cream);
}
.tg-network .tg-claims li + li { border-top: 1px solid var(--s-line); }
@media (min-width: 900px) {
  .tg-network .tg-claims li { padding-right: 40px; }
  .tg-network .tg-claims li + li { border-top: 0; border-left: 1px solid var(--s-line); padding-left: 40px; }
}
.tg-network .tg-claims li:last-child em { font-style: italic; color: var(--tg-gold); }

/* ===== partner ===== */
.tg-partners { --tg-p-cols: 3; --tg-p-rows: 4; }
@media (min-width: 768px)  { .tg-partners { --tg-p-cols: 4; --tg-p-rows: 4; } }
@media (min-width: 1024px) { .tg-partners { --tg-p-cols: 6; --tg-p-rows: 4; } }

.tg-partners [hidden] { display: none !important; }
.tg-partners .tg-partners__head { text-align: center; margin: 0 0 clamp(36px, 5vw, 56px); }
.tg-partners .tg-h2 { max-width: 20ch; margin: 0 auto; }

/* griglia: linee sottili ottenute col gap da 1px sullo sfondo linea */
.tg-partners .tg-partners__list,
.tg-partners .tg-partners__page {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--tg-p-cols), minmax(0, 1fr));
  gap: 1px; background: var(--tg-line-light);
  border: 1px solid var(--tg-line-light);
}
.tg-partners .tg-partners__cell {
  margin: 0; padding: 4%;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 2 / 1; background: #FFFFFF; /* bianco: nasconde i bordi dei loghi ritagliati */
}
.tg-partners .tg-partners__cell img { display: block; width: 100%; height: auto; max-width: 100%; }

/* carosello (attivo solo con JS) */
.tg-partners .tg-partners__viewport { overflow: hidden; transition: opacity 400ms ease; }
/* con "riduci animazioni" i gruppi si alternano in dissolvenza invece di scorrere */
.tg-partners .tg-partners__viewport.is-fading { opacity: 0; }
.tg-partners .tg-partners__track {
  display: flex;
  transition: transform 900ms cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.tg-partners .tg-partners__page { flex: 0 0 100%; min-width: 0; box-sizing: border-box; }

/* controlli */
.tg-partners .tg-partners__controls {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: clamp(24px, 4vw, 40px);
}
.tg-partners .tg-partners__dots { display: flex; gap: 4px; }
.tg-partners .tg-partners__dot,
.tg-partners .tg-partners__toggle {
  appearance: none; background: none; border: 0; margin: 0; cursor: pointer;
  font-family: inherit; color: var(--tg-ink-light);
}
.tg-partners .tg-partners__dot { padding: 12px 4px; }
.tg-partners .tg-partners__dot::before {
  content: ""; display: block; width: 20px; height: 2px;
  background: #A39A87; transition: width 300ms ease, background-color 300ms ease;
}
.tg-partners .tg-partners__dot[aria-current="true"]::before { width: 36px; background: var(--tg-black); }
.tg-partners .tg-partners__toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px;
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
}
.tg-partners .tg-partners__toggle svg { width: 10px; height: 10px; fill: currentColor; }
.tg-partners .tg-partners__dot:focus-visible,
.tg-partners .tg-partners__toggle:focus-visible {
  outline: 2px solid var(--tg-black); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tg-partners .tg-partners__track,
  .tg-partners .tg-partners__dot::before { transition: none; }
}

/* ===== contatti ===== */
.tg-contact { overflow: hidden; }
.tg-contact::before {
  content: ""; position: absolute; left: 50%; bottom: -40%; width: 90%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 162, 75, 0.12), rgba(201, 162, 75, 0) 70%);
  pointer-events: none;
}
.tg-contact .tg-wrap { position: relative; }
.tg-contact .tg-contact__grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 960px) {
  .tg-contact .tg-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
}
.tg-contact .tg-h2 { max-width: 14ch; }
.tg-contact .tg-contact__question { margin-top: 28px; font-size: 18px; }
.tg-contact .tg-contact__idea {
  margin-top: 28px; font-family: var(--tg-font-display); font-style: italic; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--tg-cream);
}
.tg-contact .tg-contact__text { margin-top: 12px; }

.tg-contact .tg-contact__list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--s-line); }
.tg-contact .tg-contact__list li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.tg-contact .tg-contact__label {
  display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--s-muted);
}
.tg-contact .tg-contact__list a {
  font-size: 18px; font-weight: 400; color: var(--tg-cream); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color 250ms ease;
}
.tg-contact .tg-contact__list a:hover { border-bottom-color: var(--tg-gold); }

.tg-contact .tg-contact__form {
  padding: clamp(28px, 4vw, 48px); background: rgba(11, 11, 12, 0.55);
  border: 1px solid var(--s-line); border-top: 1px solid var(--tg-gold);
}
.tg-contact .tg-contact__form-title {
  margin: 0 0 28px; font-family: var(--tg-font-display); font-weight: 600; font-size: 24px; color: var(--tg-cream);
}

.tg-contact .tg-contact__sign {
  margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--s-line); text-align: center;
  font-family: var(--tg-font-display); font-style: italic; font-weight: 600;
  font-size: clamp(30px, 5.4vw, 68px); line-height: 1.1; color: var(--tg-gold);
}

/* ---- form (componente globale, riusabile su fondo scuro) ---- */
.tg-form { margin: 0; }
.tg-form .tg-form__grid { display: grid; grid-template-columns: 1fr; gap: 22px 28px; }
@media (min-width: 640px) { .tg-form .tg-form__grid { grid-template-columns: 1fr 1fr; } }
.tg-form .tg-field { display: flex; flex-direction: column; min-width: 0; }
.tg-form .tg-field--full { grid-column: 1 / -1; }
.tg-form label, .tg-form .tg-field__label {
  margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--tg-text-soft);
}
.tg-form input[type="text"], .tg-form input[type="email"], .tg-form input[type="tel"],
.tg-form select, .tg-form textarea {
  width: 100%; margin: 0; padding: 12px 0; min-height: 46px;
  font-family: var(--tg-font-body); font-size: 17px; font-weight: 400; line-height: 1.4;
  color: var(--tg-cream); background: transparent;
  border: 0; border-bottom: 1px solid #4A4336; border-radius: 0;
  box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 250ms ease;
}
.tg-form textarea { min-height: 132px; resize: vertical; }
.tg-form select {
  cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23C9A24B' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
}
.tg-form select option { color: #17140D; background: #F4EFE6; }
.tg-form input:focus, .tg-form select:focus, .tg-form textarea:focus { border-bottom-color: var(--tg-gold); }
.tg-form input:focus-visible, .tg-form select:focus-visible, .tg-form textarea:focus-visible {
  outline: 2px solid var(--tg-gold); outline-offset: 4px;
}
.tg-form ::placeholder { color: #6F6757; opacity: 1; }

.tg-form .tg-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.tg-form .tg-check input {
  flex: none; width: 20px; height: 20px; margin: 3px 0 0; cursor: pointer;
  accent-color: var(--tg-gold);
}
.tg-form .tg-check span {
  font-size: 14px; line-height: 1.6; letter-spacing: 0; text-transform: none; font-weight: 300; color: var(--tg-text-soft);
}
.tg-form .tg-check a { color: var(--tg-cream); text-decoration: underline; text-decoration-color: var(--tg-gold); text-underline-offset: 3px; }

/* trappola antispam: invisibile a persone e lettori di schermo */
.tg-form .tg-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tg-form .tg-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.tg-form .tg-form__note { margin: 0; font-size: 13px; color: var(--tg-label); }
.tg-form .tg-form__msg {
  margin: 0 0 24px; padding: 16px 18px; font-size: 15px; line-height: 1.6; border-left: 2px solid;
}
.tg-form .tg-form__msg--ok { border-color: var(--tg-gold); background: rgba(201, 162, 75, 0.1); color: var(--tg-cream); }
.tg-form .tg-form__msg--err { border-color: #D9745F; background: rgba(217, 116, 95, 0.1); color: #F2D6CF; }
.tg-form .tg-form__msg ul { margin: 6px 0 0; padding-left: 18px; }

/* ===== footer ===== */
.tg-footer { padding-top: clamp(56px, 7vw, 80px); padding-bottom: 32px; font-size: 14px; }
.tg-footer .tg-footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--s-line);
}
.tg-footer .tg-footer__brand { display: flex; align-items: center; gap: 14px; }
.tg-footer .tg-footer__brand img { width: 56px; height: auto; display: block; }
.tg-footer .tg-footer__name {
  display: block; font-family: var(--tg-font-display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.2em; color: var(--tg-cream); line-height: 1;
}
.tg-footer .tg-footer__sub {
  display: block; margin-top: 6px; font-size: 9px; font-weight: 500; letter-spacing: 0.42em; color: var(--tg-gold);
}
.tg-footer .tg-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.tg-footer .tg-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.tg-footer .tg-footer__nav li { margin: 0; padding: 0; }
.tg-footer a {
  color: var(--s-text); text-decoration: none; transition: color 250ms ease, border-color 250ms ease;
}
.tg-footer .tg-footer__nav a { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.tg-footer a:hover { color: var(--tg-gold); }

/* social */
.tg-footer .tg-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tg-footer .tg-social li { margin: 0; padding: 0; }
.tg-footer .tg-social a {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid var(--s-line); border-radius: 50%; color: var(--tg-cream);
}
.tg-footer .tg-social a:hover { border-color: var(--tg-gold); color: var(--tg-gold); }
.tg-footer .tg-social svg { width: 18px; height: 18px; display: block; }

.tg-footer .tg-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; font-size: 13px; color: var(--s-muted);
}
.tg-footer .tg-footer__bottom p { margin: 0; }
.tg-footer .tg-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tg-footer .tg-footer__legal a { color: var(--s-muted); }
.tg-footer .tg-footer__legal a:hover { color: var(--tg-gold); }
.tg-footer .tg-footer__credit a { color: var(--tg-text-soft); border-bottom: 1px solid var(--s-line); }
.tg-footer .tg-footer__credit a:hover { border-bottom-color: var(--tg-gold); }

/* ===== articolo ===== */
.tg-post .tg-post__hero { padding-bottom: clamp(40px, 6vw, 72px); }
.tg-post .tg-post__head { max-width: 920px; }
.tg-post .tg-post__back {
  display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 36px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--tg-text-soft); text-decoration: none; transition: color 250ms ease;
}
.tg-post .tg-post__back:hover { color: var(--tg-gold); }
.tg-post .tg-post__back svg { width: 14px; height: 14px; }
.tg-post .tg-eyebrow a { color: inherit; text-decoration: none; }
.tg-post .tg-post__title { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; }
.tg-post .tg-post__date {
  margin-top: 24px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--tg-label);
}

/* cover a cavallo tra scuro e crema */
.tg-post .tg-post__cover {
  padding: 0 var(--tg-gutter);
  background: linear-gradient(var(--tg-black) 50%, var(--tg-cream) 50%);
}
.tg-post .tg-post__cover figure {
  max-width: var(--tg-max); margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tg-dark-warm);
}
.tg-post .tg-post__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tg-post .tg-post__cover--empty figure { display: flex; align-items: center; justify-content: center; }
.tg-post .tg-post__cover--empty img { width: 22%; height: auto; object-fit: contain; }

/* corpo: scheda + testo */
.tg-post .tg-post__body { padding-top: clamp(48px, 7vw, 88px); }
.tg-post .tg-post__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 960px) {
  .tg-post .tg-post__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 80px; align-items: start; }
  .tg-post .tg-scheda { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); }
}
.tg-post .tg-scheda {
  margin: 0; padding: 28px 28px 8px; background: #FBF8F2;
  border: 1px solid var(--tg-line-light); border-top: 2px solid var(--tg-gold);
}
.tg-post .tg-scheda__title {
  margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--tg-ink-light);
}
.tg-post .tg-scheda dl { margin: 0; }
.tg-post .tg-scheda div { padding: 16px 0; border-top: 1px solid var(--tg-line-light); }
.tg-post .tg-scheda div:first-child { border-top: 0; }
.tg-post .tg-scheda dt {
  margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #6B6456;
}
.tg-post .tg-scheda dd {
  margin: 0; font-family: var(--tg-font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--tg-black);
}
.tg-post .tg-scheda dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--tg-gold); }

/* testo dell'articolo (contenuto dell'editor di WordPress) */
.tg-prose { max-width: 68ch; font-size: 18px; line-height: 1.8; color: var(--tg-ink-light); }
.tg-section .tg-prose > * + * { margin-top: 1.2em; }
.tg-section .tg-prose > h3 + * { margin-top: .6em; }
.tg-section .tg-prose > :is(h2, h3) { margin-top: 1.8em; }
.tg-section .tg-prose > h2 + h3 { margin-top: .9em; }
.tg-prose p { margin-bottom: 0; padding: 0; }
.tg-prose > p:first-child { font-size: clamp(20px, 2vw, 23px); line-height: 1.6; color: var(--tg-black); }
.tg-prose h2, .tg-prose h3 {
  margin: 1.8em 0 0; padding: 0; font-family: var(--tg-font-display); font-weight: 600; color: var(--tg-black); line-height: 1.2;
}
.tg-prose h2 { font-size: clamp(26px, 2.8vw, 34px); }
.tg-prose h3 { font-size: clamp(21px, 2.1vw, 25px); }
.tg-prose a { color: var(--tg-black); text-decoration: underline; text-decoration-color: var(--tg-gold); text-underline-offset: 3px; }
.tg-prose strong { font-weight: 500; color: var(--tg-black); }
.tg-prose ul, .tg-prose ol { padding-left: 1.3em; }
.tg-prose li + li { margin-top: .4em; }
.tg-prose ul li::marker { color: var(--tg-gold); }
.tg-prose blockquote {
  margin-left: 0; margin-right: 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--tg-gold);
  font-family: var(--tg-font-display); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.4; color: var(--tg-black);
}
.tg-prose blockquote p { font-size: inherit; color: inherit; }
.tg-prose img { display: block; max-width: 100%; height: auto; }
.tg-prose figure { margin-left: 0; margin-right: 0; }
.tg-prose figcaption { margin-top: 10px; font-size: 13px; color: #6B6456; }

/* altre news + invito al contatto */
.tg-post .tg-post__related { padding-top: 0; }
.tg-post .tg-post__related-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-top: clamp(48px, 6vw, 72px); margin-bottom: 36px; border-top: 1px solid var(--tg-line-light);
}
.tg-post .tg-post__related .tg-h2 { font-size: clamp(28px, 3.4vw, 40px); }
.tg-post .tg-post__cta { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.tg-post .tg-post__cta .tg-wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.tg-post .tg-post__cta .tg-h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 20ch; }

/* ===== pagina-news ===== */
.tg-archive { min-height: 70vh; }
.tg-archive .tg-archive__head { margin-bottom: clamp(32px, 5vw, 48px); }
.tg-archive .tg-archive__intro { margin-top: 20px; max-width: 40em; }

.tg-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(32px, 4vw, 44px); padding: 0; list-style: none; }
.tg-filters li { margin: 0; padding: 0; }
.tg-filters a {
  display: inline-block; padding: 10px 18px; border: 1px solid #D6CDB9; border-radius: 999px;
  font-family: var(--tg-font-body); font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--tg-ink-light); text-decoration: none; line-height: 1.2;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.tg-filters a:hover { border-color: var(--tg-black); color: var(--tg-black); }
.tg-filters a[aria-current="page"] { background: var(--tg-black); border-color: var(--tg-black); color: var(--tg-cream); }

.tg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: clamp(40px, 5vw, 64px); }
.tg-pager a, .tg-pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
  font-family: var(--tg-font-body); font-size: 14px; font-weight: 500; color: var(--tg-ink-light); text-decoration: none;
  border: 1px solid transparent;
}
.tg-pager a:hover { border-color: #D6CDB9; color: var(--tg-black); }
.tg-pager .current { background: var(--tg-black); color: var(--tg-cream); }
.tg-pager .dots { min-width: 24px; }

.tg-news-empty { padding: 48px 0; text-align: center; color: #6B6456; }

/* ===== privacy ===== */
.tg-legal { min-height: 70vh; }
.tg-legal .tg-legal__head { margin-bottom: clamp(40px, 6vw, 64px); }
.tg-legal .tg-legal__updated {
  margin-top: 20px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #6B6456;
}
.tg-legal .tg-prose h2 { scroll-margin-top: 96px; }
.tg-legal .tg-prose > p:first-child { font-size: inherit; line-height: inherit; color: inherit; }
.tg-legal .tg-legal__box {
  margin-top: 1.2em; padding: 22px 26px; background: #FBF8F2;
  border: 1px solid var(--tg-line-light); border-left: 2px solid var(--tg-gold);
}
.tg-legal .tg-legal__box p + p { margin-top: .4em; }
