/*
Theme Name:   SITE Italia
Theme URI:    https://designers.italia.it/
Description:  Tema per la piattaforma di rete per la progettazione europea, conforme alle linee guida di design per i servizi digitali della PA (AGID) e basato su Bootstrap Italia (asset del tema ufficiale Design Comuni Italia). Pensato per il plugin SITE Network.
Version:      1.1.1
Requires PHP: 8.1
License:      AGPL-3.0-or-later
Text Domain:  site-italia
*/

.svg-vault { display: none; }
.it-header-center-wrapper .it-brand-wrapper a { text-decoration: none; }
.it-brand-wrapper .site-logo-mark { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--bs-primary, #0066cc); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; margin-right: .9rem; flex-shrink: 0; }
.it-brand-wrapper .custom-logo { max-height: 64px; width: auto; margin-right: .9rem; }

.site-hero { background: linear-gradient(120deg, #003366 0%, #0066cc 70%, #0073e6 100%); color: #fff; padding: 4rem 0 3.5rem; position: relative; overflow: hidden; }
.site-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.site-hero h1 { color: #fff; font-size: 2.6rem; font-weight: 700; max-width: 820px; }
.site-hero p.lead { color: #e6f0fa; max-width: 760px; font-size: 1.25rem; }
.site-hero .btn-outline-light { border-color: #fff; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.site-hero .btn-outline-light:hover { background: #fff; color: #0066cc; }

.site-stats { background: #f2f7fc; }
.site-stat { text-align: center; padding: 1.75rem .5rem; }
.site-stat .n { display: block; font-size: 2.25rem; font-weight: 700; color: #0066cc; line-height: 1.1; }
.site-stat .l { font-size: .9rem; color: #33485c; }

.site-feature { height: 100%; }
.site-feature .icon-wrap { width: 56px; height: 56px; border-radius: 50%; background: #e6f0fa; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.site-feature .icon-wrap .icon { fill: #0066cc; width: 28px; height: 28px; }
.site-section { padding: 3.5rem 0; }
.site-section-alt { background: #f2f7fc; }
.site-section-title { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.site-section-title h2 { margin: 0; }

.page-head { padding: 2rem 0 1rem; }
.page-head h1 { font-weight: 700; }
.entry-content { padding-bottom: 3rem; }
.entry-content > *:first-child { margin-top: 0; }

.it-footer-main .footer-list a { color: #fff; text-decoration: none; }
.it-footer-main .footer-list a:hover { text-decoration: underline; }
.it-footer-main .footer-list { list-style: none; padding: 0; }
.it-footer-main .footer-list li { margin-bottom: .4rem; }
.it-footer .ue-logo { max-width: 180px; margin-right: 2rem; }
.it-footer .logo-wrapper { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 2rem 0 1rem; }
.it-footer .it-brand-text h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.it-footer-small-prints ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 1rem 0; }
.it-footer-small-prints a { color: #fff; font-size: .9rem; }

.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-left: 3px solid #e6f0fa; padding: .75rem 1rem; margin-bottom: 1rem; background: #fafbfc; }
.comment-list .comment-meta { font-size: .85rem; color: #5d7083; margin-bottom: .25rem; }
.comment-respond textarea { width: 100%; border: 1px solid #5d7083; padding: .5rem; }
.comment-respond .form-submit input { background: #0066cc; color: #fff; border: 0; padding: .6rem 1.4rem; font-weight: 600; }

@media (max-width: 767px) { .site-hero h1 { font-size: 1.9rem; } }

/* ---------- v1.1: home e pagine più ricche ---------- */
.site-hero { padding: 4.5rem 0 4rem; }
.site-hero-kicker { color: #bfdcff; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; margin-bottom: .6rem; }
.site-hero-illu { width: 100%; height: auto; position: relative; z-index: 1; }
.site-hero-search { display: flex; align-items: center; background: #fff; border-radius: 6px; padding: .35rem .35rem .35rem 1rem; max-width: 640px; box-shadow: 0 10px 30px rgba(0,0,0,.2); position: relative; z-index: 1; }
.site-hero-search .icon { fill: #5d7083; flex-shrink: 0; }
.site-hero-search input { border: 0; flex-grow: 1; padding: .6rem .8rem; font-size: 1.05rem; outline: none; min-width: 0; }
.site-hero .container { position: relative; z-index: 1; }
.site-stat .icon { width: 30px; height: 30px; fill: #0066cc; display: block; margin: 0 auto .4rem; }
.site-kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .8rem; color: #0066cc; margin-bottom: .3rem; }
.site-section-dark { background: linear-gradient(135deg, #17324d 0%, #003366 100%); }
.site-step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 1.6rem; height: 100%; color: #e6eef7; position: relative; }
.site-step h3 { color: #fff; }
.site-step a { color: #fff; font-weight: 600; }
.site-step-n { display: inline-flex; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: #0066cc; font-weight: 700; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.site-prog-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.site-prog-chips a { background: #fff; border: 1px solid #c9d8e8; border-radius: 999px; padding: .35rem .5rem .35rem .9rem; font-size: .88rem; font-weight: 600; color: #17324d; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.site-prog-chips a span { background: #0066cc; color: #fff; border-radius: 999px; padding: 0 .55rem; font-size: .8rem; }
.site-prog-chips a:hover { border-color: #0066cc; color: #0066cc; }
.site-empty-cta { background: #f2f7fc; border: 2px dashed #b9cfe5; border-radius: 8px; padding: 1.6rem; text-align: center; }
.site-cta { background: linear-gradient(120deg, #0066cc, #004d99); padding: 2.75rem 0; }
.site-section-title > div h2 { margin: 0; }

.page-hero { background: linear-gradient(180deg, #f2f7fc 0%, #fff 100%); border-bottom: 1px solid #e3ebf3; margin-bottom: 2rem; }
.page-hero .page-head { padding: 1.5rem 0 1.75rem; }
.page-hero .lead { color: #33485c; margin-bottom: 0; }
.it-header-navbar-wrapper .dropdown-menu .link-list .list-item.active span { color: #0066cc; font-weight: 700; }
.it-header-navbar-wrapper .nav-link .icon-xs { margin-left: .2rem; }

/* Menu su schermi medi (992–1279 px): niente a capo */
@media (min-width: 992px) {
	.it-header-navbar-wrapper .navbar .navbar-nav li a.nav-link { white-space: nowrap; }
	.it-header-navbar-wrapper .navbar .menu-wrapper { flex-wrap: nowrap; }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
	.it-header-navbar-wrapper .navbar .navbar-nav li a.nav-link { padding-left: .55rem; padding-right: .55rem; font-size: .95rem; }
	.it-header-navbar-wrapper .navbar .navbar-nav li a.nav-link .icon-xs { width: 12px; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
	.it-header-navbar-wrapper .navbar .navbar-secondary { display: none; }
	.it-header-navbar-wrapper .navbar .navbar-nav li a.nav-link { font-size: .9rem; padding-left: .45rem; padding-right: .45rem; }
}
