/* Tipografia proprietaria self-hosted */
@font-face {
	font-family: "TM Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-variable.woff2") format("woff2-variations");
}

@font-face {
	font-family: "TM Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-variable-italic.woff2") format("woff2-variations");
}

@font-face {
	font-family: "TM Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-variable.woff2") format("woff2-variations");
}

:root {
	--tm-font: "TM Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tm-font-display: "TM Inter Tight", "Arial Narrow", system-ui, sans-serif;
}

html {
	font-family: var(--tm-font);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font-family: var(--tm-font);
	font-kerning: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.tm-header__site-title,
.tm-footer__site-name,
.tm-card__title,
.tm-rail-block__title,
.tm-side-panel__header h2,
.tm-side-panel__title-row h2 {
	font-family: var(--tm-font-display);
	font-kerning: normal;
	word-spacing: 0.045em;
}

.entry-content {
	font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

.entry-content strong,
.entry-content b {
	font-weight: 720;
}

.tm-meta,
time,
.tm-breadcrumb {
	font-variant-numeric: tabular-nums;
}

/* Contrasto percettivo sulle superfici globali scure */
.tm-header,
.tm-mobile-nav__panel {
	color: #fff;
}

.tm-header .tm-header__site-title,
.tm-header .tm-nav a,
.tm-mobile-nav__panel a {
	color: #fff;
}

.tm-footer {
	color: #e6e9ed;
}

.tm-footer h2,
.tm-footer h3,
.tm-footer p,
.tm-footer li,
.tm-footer a,
.tm-footer__site-name,
.tm-footer__brand-name {
	color: #fff;
}

.tm-footer__copy,
.tm-footer__publisher {
	opacity: 1;
	color: #d7dce2;
}
