/* Seminario Romano Minore · correzioni allo stile v5 (caricato da YOOtheme dopo theme.13.css)
   Archivo per tutto il testo; Cormorant Garamond solo per le citazioni (.srm-parola); Caveat per le note a mano. */

/* ---------- Caratteri locali ---------- */
/* Caratteri ospitati sul sito (copia di Google Fonts, licenza SIL OFL) — generato 2026-10-23 */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/srm/archivo-normal-latin-ext-c422bf.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;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/srm/archivo-normal-latin-b92029.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;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/caveat-normal-latin-ext-60fd7f.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;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/caveat-normal-latin-14ecf1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/srm/caveat-normal-latin-ext-60fd7f.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;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/srm/caveat-normal-latin-14ecf1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-italic-latin-ext-a89ed2.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;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-italic-latin-25e309.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-italic-latin-ext-a89ed2.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;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-italic-latin-25e309.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-normal-latin-ext-907682.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;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-normal-latin-2fed1d.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-normal-latin-ext-907682.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;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/srm/cormorant-garamond-normal-latin-2fed1d.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;
}
/* ---------- fine caratteri locali ---------- */

:root {
  --srm-celeste: #8CC3EC;
  --srm-giallo: #FFD500;
  --srm-blu: #1D4570;
  --srm-blu-chiaro: #2E6FA7;
  --srm-avorio: #F5EFE3;
  --srm-carta: #FFFDF8;
  --srm-filo: #C9BFA9;
  --srm-sans: 'Archivo', sans-serif;
}

/* ---------- Testo: niente pesi light, grassetti veri ---------- */
body { font-weight: 400; }
strong, b { font-weight: 700; }
.uk-text-lead { font-weight: 400; }

/* ---------- Via il serif dai testi di servizio (meta, etichette, briciole, menu) ---------- */
.uk-text-meta, .el-meta,
.uk-form-label, legend.uk-form-label,
.uk-breadcrumb > * > *,
.uk-nav-default > li > a, .uk-nav-default .uk-nav-sub a,
.uk-nav-primary > li > a, .uk-nav-primary .uk-nav-sub a,
.uk-navbar-dropdown-nav > li > a,
.uk-table th,
h5, .uk-h5, h6, .uk-h6 {
  font-family: var(--srm-sans);
}

/* occhiello: piccolo maiuscolo spaziato, come .srm-occhiello */
.uk-text-meta, .el-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--srm-blu-chiaro);
}
.uk-text-meta a, .el-meta a { color: inherit; }

/* etichette dei moduli */
.uk-form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--srm-blu);
}

/* briciole di pane */
.uk-breadcrumb > * > * {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--srm-blu);
}

/* menu del telefono (pannello che si apre dall'icona) */
.uk-nav-default > li > a, .uk-nav-primary > li > a {
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--srm-blu);
}
.uk-nav-default .uk-nav-sub a, .uk-nav-primary .uk-nav-sub a {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--srm-blu);
}

/* titoli delle card (es. lettere del Rettore): stesso titolo condensato del resto del sito */
.uk-card-title, .el-item .el-title {
  font-family: 'Archivo ExtraCondensed', 'Archivo', sans-serif;
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: 0;
}

/* titolini h5/h6 */
h5, .uk-h5, h6, .uk-h6 {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* tabella appuntamenti: niente intestazioni in serif */
.uk-table th { font-weight: 700; letter-spacing: .14em; }

/* ---------- Barra in alto (toolbar) ---------- */
.tm-toolbar {
  background: var(--srm-giallo);
  color: var(--srm-blu);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: 9px;
  padding-bottom: 9px;
}
.tm-toolbar a { color: var(--srm-blu); text-decoration: none; }
.tm-toolbar a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tm-toolbar .uk-panel p, .tm-toolbar p { margin: 0; }
/* il modulo Builder nella barra: niente spaziature della sezione, testi agli estremi su una riga */
.tm-toolbar .uk-section { padding: 0 !important; background: transparent !important; }
.tm-toolbar .uk-section > .uk-container { padding: 0; max-width: none; }
.tm-toolbar .uk-grid { flex-wrap: nowrap; justify-content: space-between; margin-left: 0; }
.tm-toolbar .uk-grid > * { width: auto !important; flex: 0 1 auto; padding-left: 0; }
.tm-toolbar .uk-grid > * + * { margin-left: 24px; text-align: right; }
/* i contenitori che YOOtheme mette intorno al modulo occupano tutta la larghezza */
.tm-toolbar > .uk-container > div, .tm-toolbar > .uk-container > div > .uk-grid,
.tm-toolbar > .uk-container > div > .uk-grid > *, .tm-toolbar > .uk-container > div > .uk-grid > * > .uk-panel { flex: 1 1 auto; width: 100%; }

/* ---------- Menu principale: "Contatti" a pillola ---------- */
.uk-navbar-nav > li > a[href="/contatti"] {
  background: var(--srm-blu);
  color: var(--srm-giallo) !important;
  border-radius: 999px;
  min-height: 0 !important;
  height: auto;
  line-height: 1.2;
  padding: 11px 22px;
  margin: auto 0 auto 8px;
  align-self: center;
  font-weight: 700;
}
.uk-navbar-nav > li:has(> a[href="/contatti"]) { display: flex; align-items: center; }
.uk-navbar-nav > li > a[href="/contatti"]::after { display: none !important; }
.uk-navbar-nav > li > a[href="/contatti"]:hover { background: var(--srm-blu-chiaro); }

/* ---------- Footer ---------- */
.srm-footer-titolo {
  font-family: var(--srm-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--srm-blu);
  margin: 0 0 12px;
}
.srm-footer .uk-nav-default > li > a,
.srm-footer .uk-list a {
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
  color: var(--srm-blu);
}
.srm-footer .uk-nav-default > li > a:hover,
.srm-footer .uk-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.srm-footer-nome {
  font-family: 'Archivo ExtraCondensed', 'Archivo', sans-serif;
  font-stretch: 62%;
  font-weight: 850;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--srm-blu);
}
.srm-footer-contatti { font-size: 15px; line-height: 1.6; color: var(--srm-blu); }
.srm-footer-contatti a { color: var(--srm-blu); }
.srm-copyright { font-size: 13px; font-weight: 600; }
.srm-copyright a { color: inherit; text-decoration: underline; }

/* ---------- Accessibilità ---------- */
/* indicatore di focus ben visibile per chi naviga con la tastiera */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible, .uk-button:focus-visible {
  outline: 3px solid var(--srm-blu) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--srm-giallo);
  border-radius: 4px;
}
.uk-section-primary a:focus-visible, .uk-section-primary .uk-button:focus-visible,
.uk-button-primary:focus-visible { outline-color: var(--srm-giallo) !important; box-shadow: 0 0 0 6px var(--srm-blu); }
/* niente testo giustificato: crea spazi irregolari, più difficile da leggere */
.uk-text-justify, [style*="text-align: justify"], [style*="text-align:justify"] { text-align: left !important; }
/* testi del footer titolati con h2 per l'ordine dei titoli, stesso aspetto di prima */
h2.srm-footer-titolo { font-size: 12px; line-height: 1.4; }
/* rispetta chi ha chiesto di ridurre le animazioni */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Pagine articolo semplici (es. Informativa privacy) ---------- */
.uk-article-title {
  font-family: 'Archivo ExtraCondensed', 'Archivo', sans-serif;
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: .92;
  color: var(--srm-blu);
}
.uk-article { max-width: 860px; }
.uk-article h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 48px; }
.uk-article h3 { font-size: 22px; margin-top: 28px; }
em { color: inherit; }
