﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 90px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Footer CAV ─────────────────────────────────────────────────────────── */
.cav-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #1B2A4A;
    border-top: 3px solid #B8963E;
}

.cav-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
}

.cav-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

    .cav-footer-col span {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.88);
        line-height: 1.55;
        white-space: nowrap;
    }

.cav-footer-col--right {
    text-align: right;
    align-items: flex-end;
}

.cav-footer-lbl {
    font-style: normal;
    font-weight: 700;
    color: #C8A84B;
    margin-right: 2px;
}

@media (max-width: 767px) {
    body {
        margin-bottom: 160px; /* Footer più alto su mobile (colonne impilate) */
    }

    .cav-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    .cav-footer-col--right {
        text-align: left;
        align-items: flex-start;
    }
}

/* Classi di utilità per il testo */
.text-justify {
    text-align: justify;
}