/* Bootstrap 5 + ritocchi limitati al catalogo. */
:root { color-scheme: light; }
body { background: #f7f9fc; color: #243247; }
.wrap { width: min(100% - 2rem, 1100px); margin-inline: auto; }
.site-header { background: #183b60; color: #fff; padding: 1rem 0; border-bottom: 3px solid #346998; }
.site-brand { color: #fff; font-size: 1.12rem; font-weight: 700; text-decoration: none; letter-spacing: .01em; }
.site-brand:hover, .header-link:hover { color: #e5f2ff; }
.header-link { color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.operator-name { color: #dce9f5; font-size: .9rem; }
main.wrap { padding-top: 2rem; padding-bottom: 4rem; }
.page-heading { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 650; margin-bottom: 1.4rem; }
.panel, .list article { background: #fff; border: 1px solid #e0e7ef; border-radius: .7rem; box-shadow: 0 2px 9px rgb(27 53 84 / 5%); padding: 1.35rem; margin-bottom: 1.1rem; }
.narrow { max-width: 470px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
label { display: block; font-size: .91rem; font-weight: 600; color: #394c61; }
.fields label { margin-bottom: 0; }
input:not([type="hidden"]), select { display: block; width: 100%; margin-top: .4rem; padding: .58rem .75rem; font: inherit; background: #fff; color: #243247; border: 1px solid #c8d4e1; border-radius: .4rem; }
input:focus, select:focus { border-color: #4b86bd; outline: 0; box-shadow: 0 0 0 .2rem rgb(37 105 164 / 13%); }
input[type="file"] { padding: .45rem; }
button { display: inline-block; background: #205f97; color: #fff; border: 1px solid #205f97; border-radius: .4rem; padding: .55rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s ease; }
button:hover { background: #174b79; }
a { color: #175b95; }
.list article { padding: 1.15rem 1.35rem; }
.list article h2 { font-size: 1.07rem; line-height: 1.45; margin: 0 0 .45rem; font-weight: 650; }
.list article h2 a { text-decoration: none; }
.list article h2 a:hover { text-decoration: underline; }
.list article p { color: #66778b; font-size: .9rem; margin: 0; }
dt { font-weight: 650; color: #5a7087; margin-top: 1.15rem; font-size: .88rem; }
dt:first-child { margin-top: 0; }
dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.error { color: #a5212a; font-weight: 600; }
.pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.3rem; }
@media (max-width: 575px) { .panel, .list article { padding: 1rem; } main.wrap { padding-top: 1.5rem; } }
