* {
  font-family: 'Source Sans 3', sans-serif;
}

.g-4, .gx-4 {
  --bs-gutter-x: 0.7rem!important;
}

.g-4, .gx-4 {
  --bs-gutter-y: 0.7rem!important;
}

footer {
  padding:40px;
}

body {
  background: url('../img/insic-skin.jpg') no-repeat fixed;
  background-size: auto;
  background-position: center;
}

p {
  font-size: 18px;
  color: #444444;
  font-weight: 400;
  line-height: 28px;
}

.search-result {
  width:91%;
  display:none;
}

strong {
  font-weight: 600!important;
}

p a {
  color: #0082CA!important;
  font-style: italic;
}

.article-paragraph ul li a {
  color: #0082CA!important;
  font-style: italic;
}

.dropdown-item:active {
  background-color:transparent!important;
}

ul li {
  font-size: 18px;
  color: #444444;
  font-weight: 400;
  line-height: 28px;
}

.sidebar-widget br {
  display:none!important;
}

.sidebar-widget > div {
  margin-top:0px!important;
  margin-bottom: 0px!important;
}

#menu-menu-principale-1 {
  list-style-type: none;
}

#menu-menu-principale-1 li a {
  text-transform: uppercase;
}

#menu-menu-principale li a {
  text-transform: uppercase;
}

ol li {
  font-size: 18px;
  color: #444444;
  font-weight: 400;
  line-height: 35px;
}

h2 {
  font-size: 22px!important;
  color: #444444;
  font-weight: 500;  
}

.dropdown-menu {
 background-color: #0082CA!important;
}

.dropdown-menu li {
 background-color:transparent;
}

.dropdown-menu li a {
 color:#fff;
 font-size: 16px;
  text-transform: uppercase;
  padding: 8px 20px;
}

.articoli-slider .card .card-body {
 padding:15px;
}

.nav-categories .container {
 padding:0px!important;
}

.nav-item {
  padding:0px 10px;
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-item.dropdown > .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item.dropdown > .dropdown-toggle::after {
    margin-left: 0.3rem;
}

header i:hover {
  color: #1d1d1d!important;
}

.px-10 {
  padding-right: 6rem !important;
  padding-left: 6rem !important;
}

.px-8{
  padding-right: 5rem !important;
  padding-left: 5rem !important;
}

.bg-grey {
  background-color: #F6F6F6;
}

.bg-blue {
  background-color: #0082CA;

}

.linea-verde {
  border-bottom: 2px solid #65B22E!important;
}

.linea-rossa {
  border-bottom: 2px solid #FF0000!important;
}

.sidebar {
  border-radius: 20px;
}

/* FRAME WRAPPER */

/* TOP & BOTTOM */
.frame-top,
.frame-bottom {
    text-align: center;
    padding: 10px 0;
    background: transparent;
    height: 100px;
}

/* MIDDLE STRUCTURE */
.frame-middle {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* SIDE BANNERS */
.frame-left,
.frame-right {
    width: 160px;
    background: transparent;
    padding: 10px;
}

.frame-left img,
.frame-right img,
.frame-top img,
.frame-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

/* SITE CONTENT */
.site-content {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    min-height: 100vh;
}


/* RESET */
a {
    text-decoration: none!important;
    color: inherit;
}

/* HEADER */

header .logo img {
  width: 180px;
  height: auto;
}

.header-main .login {
  margin-right: 5px;
  border-right: 1px solid #000000;
  padding-right: 20px;
}

/* MAIN MENU */
.main-menu a {
    font-size: 18px;
    font-weight: 400;
    color: #1d1d1d;
    position: relative;
    padding: 6px 14px;

}

.main-menu a:hover {
  color: #0082CA;
}


/* ICONS */
.header-icons i, .header-icons .login i {
    font-size: 24px;
    color: #0091d0;
}

/* BOTTOM NAV */
.nav-categories {
    background-color: #F6F6F6;
    border-radius: 10px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    padding: 2px;
}

.nav-categories .nav-link {
    color: #0082CA;
    font-size: 18px;
    font-weight: 600;
    padding: 5px 5px;
    text-transform: uppercase;
    border-radius: 20px;
}

.nav-categories .nav-link:focus {
color:#0082CA!important;

}

.nav-categories .nav-link.active, .nav-categories .nav-link:hover {
    color: #161616;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .main-menu {
        display: none;
    }
}


/* =========================
   BLOG HIGHLIGHTS
   ========================= */

.blog-highlights {
  background-color: #fff;
}

/* Card base */
.blog-highlights .card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-highlights .card:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   IMMAGINI
   ========================= */

.blog-highlights .card-img-top {
  width: 100%;
  height: 234px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Articolo principale: immagine più alta */
.blog-highlights .col-lg-6:first-child .card-img-top {
  aspect-ratio: 16 / 10;
}

/* =========================
   CONTENUTO CARD
   ========================= */

.blog-highlights .card-body {
  padding: 25px 20px 30px 20px;
  background-color: #F6F6F6;
}

.articolo-principale .card-title {
  width: 400px;
}

.articolo-principale .card-img-top {
  height:100%;
}

.articolo-secondario .card-img-top {
  height:161px;
}

.blog-highlights .card-title {
  margin: 0;
  line-height: 1.3;
  font-weight: 400;
}

.blog-highlights h2.card-title {
  font-size: 22px;
}

.blog-secondary h3.card-title {
  font-size: 1.35rem!important;
  font-weight: 500;
}
 
.blog-highlights h3.card-title {
  font-size: 0.95rem;
  font-weight: 400;
}

/* Link titolo */
.blog-highlights .card-title a {
  color: #1f2937;
  text-decoration: none;
}

.blog-highlights .card-title a:hover {
  text-decoration: underline;
}

/* =========================
   BADGE CATEGORIA
   ========================= */

.blog-highlights .badge {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 8px;
  border-radius: 6px;
  background-color: transparent;
  border: 1px solid #0082CA;
  font-weight: 500;
  color: #0082CA;
}

/* =========================
   DATA
   ========================= */

.blog-highlights .text-muted {
  font-size: 0.75rem;
  color: #6b7280 !important;
  font-weight: 500;
}

/* =========================
   GRID SECONDARIA
   ========================= */

.blog-highlights .col-md-6 article {
  height: 100%;
}

.input-group input {
  border-radius: 20px;
  padding: 10px 20px;
}

.input-group input::placeholder {
  font-size: 14px;
  color: #16161650;
}

.input-group input {
   background-color: rgb(227, 227, 227, 0.5);
   border: none;
}

.input-group button {
   border-radius: 0px 20px 20px 0px;
   border:none;
   background-color: rgb(227, 227, 227, 0.5);
}

.input-group button i {
   margin-right: 40px;
}

#search-results, #search-results-desk {
  z-index: 9999;
  background: #fff;
  max-height: 300px;
  overflow-y: auto;
}

.section-header {
  display: flex;
}

.section-read-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.section-read-more a {
  color:#444444;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px;
}

.section-read-more a:hover {
  color:#0082CA;
}


.section-label {
  color: #444444;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
  border-bottom: 1px solid #D4D4D4;
}

/* =========================
   PREMIUM FLAG
   ========================= */

.premium .premium-flag {
  position: absolute;
  top: 0;
  left: -5px;
  color: #fff;
}

/* =========================
   SIDEBAR
   ========================= */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding:10px;
}

.sidebar-widget {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  margin-bottom: 40px;
}

.sidebar-widget img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-newsletter {
  display: flex;
  align-items: center;
  padding: 30px 60px;
  border-radius: 15px;
  margin: 25px 0px;
}

.banner-newsletter h3 {
  font-size: 22px;
  font-weight: 400;
  color: #444444;
}

.banner-newsletter a {
  padding: 10px 40px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #0082CA;
  border-radius: 10px;
  border: 1px solid #0082CA;
}

.banner-newsletter a:hover {
  color: #0082CA;
  background-color: #ffffff;
  border: 1px solid #0082CA;
}

.pagina-404 a {
  padding: 10px 40px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #0082CA;
  border-radius: 10px;
  border: 1px solid #0082CA;
}

.pagina-404 a:hover {
  color: #0082CA;
  background-color: #ffffff;
  border: 1px solid #0082CA;
}

/* =========================
   BLOG TAGS
   ========================= */

.blog-tags {
  background-color: #ffffff;
}

/* Wrapper flessibile */
.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tag pill */
.tag-pill {
  display: inline-block;
  background-color: transparent;
  color: #0082CA;
  border: 1px solid #0082CA;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}

.tag-pill-green {
  display: inline-block;
  background-color: transparent;
  color: #97BF1C;
  border: 1px solid #97BF1C;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}

.tag-pill:hover {
  background-color: transparent;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
  transform: translateY(-2px);
}

.tag-pill-green:hover {
  background-color: transparent;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
  transform: translateY(-2px);
}

.tagcloud a {
  display: inline-block;
  background-color: transparent;
  color: #0082CA;
  border: 1px solid #0082CA;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}

.tagcloud-green a {
  display: inline-block;
  background-color: transparent;
  color: #97BF1C;
  border: 1px solid #97BF1C;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}

.tagcloud a:hover {
  background-color: transparent;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
  transform: translateY(-2px);
}

.tagcloud-green a:hover {
  background-color: transparent;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
  transform: translateY(-2px);
}

.footer-nav ul,
.footer-network ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a:hover {
  color: #0082CA!important;
}

.footer-brand img {
  width: 200px;
}

.footer-nav li,
.footer-network li {
  margin-bottom: -5px;
}

.site-footer {
  background-color: #9C9B9B;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  transition: opacity .2s ease;
  font-size: 16px;
}

.site-footer h3 {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
}

.site-footer a:hover {
  opacity: 0.8;
}

/* =========================
   NETWORK (SITI)
   ========================= */

.footer-network ul li a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-network ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* =========================
   SOCIAL
   ========================= */

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 1.6rem;
  line-height: 1;
}

/* =========================
   LEGAL
   ========================= */

.footer-legal {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #858585;
  padding-top: 30px;
  width: 700px;
}

.footer-legal p {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 0.7rem;
  line-height: 1.6;
  font-weight: 200;
}

/* =========================
   SLIDER
   ========================= */

.articoli-slider .swiper-slide {
  width: 100%;
  margin-right: 10px;
}

.articoli-slider .card {
  height: 100%;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* numero di righe */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articoli-slider .swiper-pagination {
  position: relative;
  margin-top: 16px;
  text-align: center;
  z-index: 10;
}

.articoli-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #bbb;
  opacity: 1;
}

.articoli-slider .swiper-pagination-bullet-active {
  background: #0082CA;
}

.blog-highlights .articoli-slider .badge {
  font-size: 6px;
}

/* =========================
   HEADER MOBILE
   ========================= */

.header-mobile .input-group {
  position: relative;
}

.header-mobile input {
  padding-right: 40px;
}

.offcanvas-body a {
  text-decoration: none;
  color: #000;
}

.offcanvas-body a:hover {
  color: #0082CA;
}

.header-mobile i {
  font-size: 36px;
}

.header-mobile .icona-cerca {
  font-size: 20px!important;
}

.important-star i {
  color:#D5B13C;
  margin-left: 10px;
}

/* =========================
CATEGORY
========================= */

.category-paragraph {
  padding: 10px;
  margin-top:-30px;
}

.category-paragraph p {
  font-size: 18px;
  color: #444444;
  font-weight: 400;
  line-height: 28px;
}

.breadcrumb {
  padding: 20px!important;
}

.breadcrumb .breadcrumb_last {
  max-width: 200px;
  color: #444444 !important;
  display: inline-block;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  vertical-align: middle;
  font-weight: 600;
}

.breadcrumb-item {
  color: #ADADAD;
  font-size: 14px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #ADADAD;
}

.breadcrumb .active {
  color: #444444!important;
  font-weight: 600;
}

.page-item a {
  border: none!important;
  color: #444444;
}

.page-item a span {
 color:#D9D9D9!important;
}

.page-link:hover {
  color: #0082CA!important;
}

.page-link {
  border:none!important;
}

.category-paragraph-bottom {
  padding: 10px;
}

.category-paragraph-bottom p {
  font-size: 18px;
  color: #444444;
  font-weight: 400;
  line-height: 28px;
}

.category-paragraph-bottom .button-collapse {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   ARTICOLO
   ========================= */

.articolo-header {
  display: flex;
  flex-direction: column;
}

.articolo-header h1 {
  padding: 10px 30px;
  font-size: 26px;
  font-weight: bold;
}

.articolo-header span {
  padding: 15px 30px!important;
  text-transform: uppercase;
}

.articolo-header a {
  color:#0082CA!important
}

.articolo-header img {
  width:100%;
  height:100%;
}

.article-paragraph {
  padding: 10px 20px;
}

.condivisione {
  margin-right: 20px;
}

.section-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 20px;
}

.section-share a {
  color:#444444;
  font-weight: 400;
  font-size: 18px;
  padding: 5px;
}

.section-share a:hover {
  color:#0082CA;
}

.article-title-secondary {
  font-weight: 700;
}

.article-paragraph img {
  width: auto;
  border-radius: 15px;
}

.paragraph-info p {
  margin-top: 0px!important;
}

/* =========================
   CONTATTI
   ========================= */

.contenuto-contatto {
  background-color: #F6F6F6;
  padding: 30px 10px;
  border-radius: 15px 15px 0px 0px;
}

.img-contatto {
  margin-left: 40px;
  margin-right: 40px;
}

.nome-contatto h3 {
  font-size: 20px;
  font-weight: 700;
  color: #575757;
}

.ruolo-contatto p {
  font-size: 18px;
  font-weight: 300;
  color: #575757;
}

.social-bar {
  background-color: #f6f6f6;
  padding: 20px 40px;
  border-radius: 0px 0px 15px 15px;
  justify-content: end;
}

.social-bar i {
  color: #0082CA;
  margin-left: 15px;
  font-size: 22px;
}

/* =========================
   FORM
   ========================= */

   .gruppo-input {
    display: flex;
    padding: 0px 20px;
    align-items: center;
   }

   .gruppo-input-checkbox {
    display: flex;
    padding: 0px 20px;
    align-items: center;
   }

   .gruppo-input-checkbox .input-checkbox {
    margin-right: 20px;
   }

  .gruppo-input-checkbox input[type="checkbox"] {
    width: 25px;
    height: 25px;
  }

  .gruppo-input-checkbox label {
    font-weight: 600;
      font-size: 20px;
    color: #444444;
  }

  .gruppo-input-checkbox .checkbox-label-p {
    font-weight: 400;
    font-size: 16px;
  }

   .gruppo-input label {
    font-weight: 700;
    width: 400px;
    font-size: 20px;
    color: #444444;
   }

   .gruppo-input input {
    border-radius: 15px;
   }

   form .send-button {
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding: 20px 50px;
    background-color: #0082CA;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    border:none;
    border-radius: 10px;
   }

   .forgot-password {
    color: #A5A5A5!important;
    font-weight: 600;
    text-decoration: underline!important;
    font-style: normal;
   }

   .forgot-password-text {
      color: #A5A5A5!important;
      font-size: 14px;
      margin-left: 20px;
   }


   .contenuto-blur{
filter: blur(8px);
pointer-events:none;
user-select:none;
}

.modal-accesso{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.6);

display:flex;
align-items:center;
justify-content:center;

z-index:9999;

}

.modal-box{

background:white;
padding:40px;
border-radius:10px;
text-align:center;
max-width:420px;
width:90%;

}

.bottoni-accesso{
margin-top:20px;
}

.btn-login,
.btn-register{

display:inline-block;
padding:10px 22px;
margin:10px;
background:#0d6efd;
color:white;
text-decoration:none;
border-radius:6px;

}

.active>.page-link, .page-link.active {
 background-color:#0082CA!important;
 border-color: #0082CA!important;
	
}

/*POPUP CONDIVISIONE */
.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px); /* Sfondo sfocato */
    background: rgba(0,0,0,0.3); /* Overlay scuro semi-trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-modal {
    background: #fff;
    border-radius: 12px;
    padding: 20px 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.share-grid a {
  color:#0082CA!important;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    margin: 20px 0;
}

.share-grid img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
    cursor: pointer;
}

.share-grid a i {
   font-size:35px!important;
   transition: transform 0.2s;
}

.share-grid a i:hover {
    transform: scale(1.2);
}

#share-close-btn {
    background: #eee;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

#share-close-btn:hover {
    background: #ccc;
}

.insic-highlight-wrapper {
    margin-top:0px!important;
	margin-bottom:0px!important;
}