/* Font self-hosted (subset latin): nessuna chiamata a Google Fonts, niente trasferimento IP a terzi. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/chakra-petch-500.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/chakra-petch-600.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/chakra-petch-700.woff2") format("woff2"); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: #19e27a; color: #050607; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* L'header assoluto si ancora al body, che WP sposta sotto la admin bar (margin-top su html) */
body { position: relative; }

.contact__list a { text-decoration: none; }
.contact__list a:hover, .footer a:hover { color: #19e27a; }

/* ---------- pagine interne (privacy, cookie, termini) ---------- */
/* main.page: WP mette "page" anche su <body> e <article> (body_class/post_class) */
main.page { padding: 160px 0 100px; }
.page__inner { max-width: 860px; }
main.page h1 { margin-bottom: 40px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page__content h2 { margin: 2em 0 .6em; font-size: 1.5rem; }
.page__content h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.page__content a { color: #19e27a; }
.page__content ul, .page__content ol { padding-left: 1.2em; }
.page__content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.page__content th, .page__content td { padding: 10px; border: 1px solid rgba(255, 255, 255, .1); text-align: left; }

/* ---------- footer: link "Preferenze cookie" ---------- */
.footer__cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer__cookie:hover { color: #19e27a; }

/* ---------- banner cookie ---------- */
.cookie {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 460px; padding: 24px 24px 20px;
  background: #0e1013; color: #fff; font-size: .95rem;
  border-top: 2px solid #19e27a; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.cookie[hidden] { display: none; }
.cookie p { color: #9aa3b2; }
.cookie a { color: #19e27a; }
.cookie__title { margin: 0 0 8px; font: 700 1.1rem/1 "Chakra Petch", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff !important; }
.cookie__close { position: absolute; top: 8px; right: 10px; padding: 4px 8px; border: 0; background: none; color: #9aa3b2; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cookie__close:hover { color: #fff; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 140px; justify-content: center; }
