/*
 * UniCore | Spazio studenti
 *
 * File: assets/css/site-branding.css
 * Funzione: Stili per site branding.
 *
 * Copyright © 2026 Davide Giovanni Paolo Di Salvatore.
 * Proprietario di UniCore. Tutti i diritti riservati.
 *
 * Condizioni d’uso del codice e dei materiali originali in LICENSE.md.
 */

.site-brand-mark,.backend-site-logo{display:grid!important;width:42px!important;height:42px!important;place-items:center;flex:0 0 42px;border-radius:50%;object-fit:contain;background:#17201d;color:#c8f24b;font-size:13px;font-weight:900}.landing-brand img.site-brand-mark,.backend-brand img.backend-site-logo{padding:3px;border-radius:10px;background:transparent}.backend-brand .backend-site-logo{width:38px!important;height:38px!important;flex-basis:38px}.site-footer{padding:44px max(28px,calc((100vw - 1180px)/2)) 38px;background:var(--student-bg,#f5f3ed);color:var(--student-ink,#17201d)}.site-footer>div{display:grid;grid-template-columns:minmax(220px,1fr) auto;grid-template-areas:"brand links" "copy copy";align-items:center;gap:25px 36px;padding:32px 0 0;border-top:1px solid var(--student-line,#d8ddd7)}.site-footer-brand{grid-area:brand;display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:13px;color:var(--student-ink,#17201d);text-decoration:none}.site-footer-brand strong{font-size:19px;line-height:1.1;letter-spacing:-.02em;white-space:nowrap}.site-footer-logo{display:block;width:48px;height:48px;flex:0 0 48px;padding:3px;border:1px solid var(--student-line,#d8ddd7);border-radius:13px;object-fit:contain;background:var(--student-surface,#fff)}.site-footer-logo:is(span){display:grid;padding:0;place-items:center;border:0;border-radius:50%;background:#17201d;color:#c8f24b;font-size:12px;font-weight:900}.site-footer p{grid-area:copy;margin:0;padding-top:20px;border-top:1px solid var(--student-line,#d8ddd7);color:var(--student-muted,#68746d);font-size:11px;line-height:1.5}.site-footer nav{grid-area:links;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.site-footer nav a{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border:1px solid var(--student-line,#d8ddd7);border-radius:8px;background:var(--student-surface,#fff);color:var(--student-ink,#17201d);font-size:11px;font-weight:750;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}.site-footer nav a:hover{border-color:#8ca431;background:var(--student-soft,#edf0ea);transform:translateY(-2px)}html[data-theme=dark] .site-footer{background:#101714}html[data-theme=dark] .site-footer-logo,html[data-theme=dark] .site-footer nav a{background:#19221e}html[data-theme=dark] .site-footer nav a:hover{background:#222d28;color:#f2f5f1}@media(max-width:700px){.site-footer{padding:34px 20px 28px}.site-footer>div{grid-template-columns:1fr;grid-template-areas:"brand" "links" "copy";gap:20px;padding-top:25px}.site-footer nav{justify-content:flex-start}.site-footer p{padding-top:17px}.site-footer-brand strong{font-size:17px}.site-footer-logo{width:43px;height:43px;flex-basis:43px}}@media(max-width:420px){.site-footer nav{align-items:stretch;flex-direction:column}.site-footer nav a{justify-content:space-between;width:100%}}
.front-public .public-hero-image{position:relative;min-height:520px;margin:0;overflow:hidden;border-radius:28px;background:#17201d;box-shadow:0 35px 80px #1c292124;transform:rotate(1deg)}.front-public .public-hero-image img{position:absolute;width:100%;height:100%;object-fit:cover}.front-public .project.has-project-image{display:grid;max-width:1120px;grid-template-columns:minmax(280px,.8fr) minmax(0,1fr);align-items:center;gap:64px;text-align:left}.front-public .public-project-image{grid-row:1/6;min-height:420px;margin:0;overflow:hidden;border-radius:24px;background:#17201d}.front-public .public-project-image img{width:100%;height:420px;object-fit:cover}.front-public .project.has-project-image .designer-credit{justify-content:flex-start}@media(max-width:800px){.front-public .public-hero-image{min-height:420px;transform:none}.front-public .project.has-project-image{grid-template-columns:1fr;gap:30px;text-align:center}.front-public .public-project-image{grid-row:auto;min-height:340px}.front-public .public-project-image img{height:340px}.front-public .project.has-project-image .designer-credit{justify-content:center}}
/* Wordmark compatto del frontend, ispirato al marchio unicore.it. */
.front-public .front-header{background:#fff}
.landing-brand.unicore-brand{gap:11px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;text-decoration:none}.landing-brand.unicore-brand>.site-brand-mark{width:43px!important;height:43px!important;flex-basis:43px!important}.landing-brand .unicore-wordmark{display:inline-flex!important;width:auto!important;height:auto!important;align-items:baseline!important;place-items:initial!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:24px!important;font-weight:850!important;line-height:1!important;letter-spacing:-.055em!important}.unicore-wordmark strong{color:#123e70;font:inherit}.unicore-wordmark em{color:#20c88a;font:inherit;font-style:normal}html[data-theme=dark] .unicore-wordmark strong{color:#e9f1f8}html[data-theme=dark] .unicore-wordmark em{color:#42dca5}@media(max-width:560px){.landing-brand.unicore-brand{gap:8px}.landing-brand.unicore-brand>.site-brand-mark{width:38px!important;height:38px!important;flex-basis:38px!important}.landing-brand .unicore-wordmark{font-size:20px!important}}
