*{
    box-sizing:border-box;
}

.next-istat-page{
    overflow-x:hidden;
    background:#f8fafc;
    color:#102a43;
    font-family:Inter,"Segoe UI",sans-serif;
}

.next-istat-page main{
    margin-top:0!important;
}

.next-istat-page .next-istat-layout{
    padding:1.5rem .75rem 2.5rem;
}

.next-istat-page .next-istat-content{
    min-width:0;
}

.next-istat-page main h1{
    position:relative;
    overflow:hidden;
    margin:0 0 1.25rem;
    padding:clamp(1.6rem,4vw,3.4rem);
    color:#fff;
    font-size:clamp(2.1rem,4vw,3.25rem);
    line-height:1.08;
    font-weight:800;
    letter-spacing:0;
    background:linear-gradient(135deg,#102a43 0%,#146477 55%,#25a18e 100%);
    border-radius:24px;
    box-shadow:0 1.2rem 3rem rgba(16,42,67,.2);
}

.next-istat-page main h1:after{
    content:"FOI";
    position:absolute;
    right:2rem;
    top:1.1rem;
    color:rgba(255,255,255,.08);
    font-size:clamp(4rem,10vw,8rem);
    line-height:1;
    font-weight:900;
}

.next-istat-page .next-istat-card,
.next-istat-page main .bg-white.shadow-sm,
.next-istat-page main .panel,
.next-istat-page main .table-responsive{
    color:#102a43;
    background:#fff!important;
    border:0!important;
    border-radius:20px!important;
    box-shadow:0 .65rem 1.9rem rgba(31,41,55,.08)!important;
}

.next-istat-page .next-istat-card{
    padding:clamp(1.25rem,3vw,2rem)!important;
}

.next-istat-page main h2,
.next-istat-page main h3,
.next-istat-page main h4{
    color:#102a43;
    font-weight:800;
    letter-spacing:0;
}

.next-istat-page main a{
    color:#126b70;
}

.next-istat-page main a:hover{
    color:#0f5559;
}

.next-istat-page main code{
    color:#126b70;
    background:#e6f6f3;
    border-radius:.45rem;
    padding:.1rem .35rem;
    font-weight:700;
}

.next-istat-page main .alert{
    border:0;
    border-radius:18px;
    box-shadow:none;
}

.next-istat-page main .alert-primary{
    color:#102a43;
    background:linear-gradient(135deg,#e6f6f3 0%,#f0fbf8 100%);
    border:1px solid #bfe7df;
}

.next-istat-page main .alert-danger{
    color:#102a43;
    background:#fff7ed;
    border:1px solid #fed7aa;
}

.next-istat-page main .alert-info{
    color:#102a43;
    background:#f0fbf8;
    border:1px solid #bfe7df;
}

.next-istat-page main .alert-link{
    color:#126b70;
    font-weight:800;
}

.next-istat-page main .border-danger{
    border-color:#bfe7df!important;
}

.next-istat-page main .bg-light.border{
    background:linear-gradient(135deg,#fff 0%,#f0fbf8 100%)!important;
    border-width:1px!important;
    border-color:#bfe7df!important;
    border-radius:20px!important;
    box-shadow:0 .65rem 1.9rem rgba(31,41,55,.08);
}

.next-istat-page main .btn-danger,
.next-istat-page main .btn-primary{
    color:#fff;
    background:#126b70;
    border-color:#126b70;
    font-weight:700;
}

.next-istat-page main .btn-danger:hover,
.next-istat-page main .btn-primary:hover{
    color:#fff;
    background:#0f5559;
    border-color:#0f5559;
}

.next-istat-page main .form-control:focus{
    border-color:#25a18e;
    box-shadow:0 0 0 .2rem rgba(37,161,142,.18);
}

.next-istat-page main table.table{
    overflow:hidden;
    margin-bottom:1.5rem;
    color:#102a43;
    border:1px solid #e2e8f0!important;
    border-radius:18px;
    border-collapse:separate;
    border-spacing:0;
    box-shadow:0 .65rem 1.9rem rgba(31,41,55,.08);
}

.next-istat-page main table.table thead th,
.next-istat-page main table.table thead td{
    color:#fff;
    background:#102a43!important;
    border-color:#102a43!important;
    text-transform:uppercase;
    letter-spacing:.05em;
    font-size:.78rem;
}

.next-istat-page main table.table tbody td,
.next-istat-page main table.table tbody th{
    border-color:#e2e8f0!important;
    vertical-align:middle;
}

.next-istat-page main table.table-striped tbody tr:nth-of-type(odd),
.next-istat-page main table.table-striped>tbody>tr:nth-of-type(odd)>*{
    background:#f8fafc!important;
}

.next-istat-page main table.table-hover tbody tr:hover,
.next-istat-page main table.table tbody tr:hover>*{
    background:#f0fbf8!important;
}

.next-istat-page main .panel{
    margin-top:1.5rem;
    overflow:hidden;
}

.next-istat-page main .panel-heading{
    padding:1.2rem 1.4rem;
    color:#fff;
    background:#102a43;
}

.next-istat-page main .panel-title{
    margin:0;
    color:#fff;
    font-size:1.1rem;
}

.next-istat-page main .panel-body{
    padding:1.4rem;
}

.next-istat-page main .panel-body li{
    padding:.55rem 0;
    border-bottom:1px solid #e2e8f0;
}

.next-istat-page main .panel-body li:last-child{
    border-bottom:0;
}

.next-istat-page main .glyphicon{
    color:#126b70!important;
}

.next-istat-page .adsense-laterale{
    position:sticky;
    top:1rem;
}

@media(max-width:1199px){
    .next-istat-page .next-istat-layout{
        padding-inline:1rem;
    }
}

@media(max-width:767px){
    .next-istat-page .next-istat-layout{
        padding:.75rem .75rem 1.75rem;
    }

    .next-istat-page main h1{
        border-radius:18px;
    }

    .next-istat-page .next-istat-card{
        padding:1rem!important;
        border-radius:18px!important;
    }

    .next-istat-page main table.table{
        font-size:.9rem;
    }
}
.next-istat-page main .panel-body .list-unstyled{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.85rem;
    margin:0;
}

.next-istat-page main .panel-body li{
    display:flex;
    align-items:flex-start;
    gap:.65rem;
    min-height:100%;
    padding:1rem;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:14px;
    transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.next-istat-page main .panel-body li:hover{
    background:#f0fbf8;
    border-color:#bfe7df;
    box-shadow:0 .55rem 1.25rem rgba(16,42,67,.08);
    transform:translateY(-2px);
}

.next-istat-page main .panel-body li .glyphicon{
    flex:0 0 auto;
    margin-top:.2rem;
}

.next-istat-page main .panel-body li a{
    color:#102a43;
    font-weight:700;
    line-height:1.35;
    text-decoration:none;
}

.next-istat-page main .panel-body li a:hover{
    color:#126b70;
}

@media(max-width:767px){
    .next-istat-page main .panel-body .list-unstyled{
        grid-template-columns:1fr;
    }
}