/* Tipografia e regole generali della variante C, riprese da mockup/css/base.css e theme-c.css. */

body,
body.editor-styles-wrapper,
.editor-styles-wrapper {
  background: var(--tm-beige);
  color: var(--tm-testo);
  font-family: var(--tm-font-testo);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.entry-title {
  font-family: var(--tm-font-titoli);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.08;
  color: var(--tm-blu);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

a { color: var(--tm-blu-2); text-underline-offset: 3px; }
a:hover { color: var(--tm-blu); }
:focus-visible { outline: 3px solid var(--tm-bronzo); outline-offset: 2px; }

/* Angoli vivi ovunque: pulsanti, campi, immagini, blocchi. */
:root { --global-radius: 0px; }
.button, button, input, select, textarea,
.wp-block-button__link, .wp-element-button,
.kb-button, .kt-button, img, .wp-block-image img {
  border-radius: 0 !important;
}

/* Pulsanti: blu secondario, scuro al passaggio, testo in maiuscoletto spaziato. */
.wp-block-button__link, .wp-element-button, .button, button[type="submit"] {
  font-family: var(--tm-font-testo);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Sopratitolo bronzo, come nel mockup. */
.tm-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tm-bronzo-testo);
}

/* Linea champagne sotto i titoli di sezione. */
.tm-section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 14px;
  background: var(--tm-champagne);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Come nel mockup C: la pagina è beige; le sezioni senza colore proprio ne prendono lo sfondo. */
body .site,
body.content-style-unboxed .site { background-color: var(--tm-beige); }
