:root {
  --blue-pre: #095bcc;
  --blue-top: #006ee6;
  --blue-divider: #1b87ff;
  --white: #fff;
  --text: #0a1f44;
  --divider: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: transparent;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}
.icon-16 {
  width: 16px;
  height: 16px;
  display: inline-block;
}
.tooltip-card-container {
  display: flex;
  gap: 8px;
}

.color-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .color-card {
      border: 1px solid rgba(217, 217, 217, 1);
      border-radius: 8px;
      overflow: hidden;
    }

    .color-box {
      height: 100px;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      background:#586E75;
    }

    .color-card-content {
      padding: 16px;
    }

    .title {
      font-weight: bold;
      margin-bottom: 4px;
    }

    .hex, .rgb {
      font-size: 14px;
      color: #494949;
      font-weight: 300;
    }

.sidebar {
  padding-left: 20px;
  align-self: start;
  position: fixed;
  top: 1px;
  
}

.sidebar ul {
  list-style: none;
  margin: 0;
}

.sidebar li {
  margin-bottom: 8px;
}

.sidebar a {
  text-decoration: none;
  color: #0070f3;
  margin-bottom: 0px;
  margin-top: 5px;
}

.nav-list {
  list-style: none;
  padding-left: 15px;
  margin: 0;
  position: relative;
}

.nav-list li {
  position: relative;
  padding-left: 20px;
}

.nav-list::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: #ddd;
}

.nav-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: rgba(0, 110, 230, 1);
  border-radius: 50%;
  position: absolute;
  left: -6.5px;
  top: 6px;
}

.nav-list a {
  color: #0070f3;
  text-decoration: none;
  transition: font-weight 0.2s, color 0.2s;
}

.nav-list a.active {
  font-weight: 600;
  color: #0070f3;
}

.category-link {
  text-decoration: underline;
  color: #0070f3 !important;
  margin-left: 3px;
}

.info-icon {
  margin-left: 3px;
}


.btn-opinione {
    font-size: 18px;
  min-width: 160px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-top) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px 12px 8px 12px;
  border: 1px solid var(--blue-top);
}

.opinion-row {
  border-top: 1px solid rgba(217, 217, 217, 1);
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  padding-top: 16px;
}

.btn-approfondimento {
  display: inline-flex;
  align-items: center;
  background-color: #F7F7F7;
  border-radius: 1000px;
  height: 32px;
  padding: 4px; 
  gap: 4px;
}

.btn-approfondimento-img {
  flex-shrink: 0; 
  width: 24px;  
  height: 24px;
}


.category-row {
  display: flex;
}
.linee-guida-list-icon {
  width: 24px;
  height: 24px;
}
.linee-guida-list-row {
  display: flex;
  gap: 4px;
  align-items: center;
}
.title-text-container {
  max-width: 784px;
}
/* Links e bottoni */
.category-link {
  text-decoration: underline;
  color: #0070f3 !important;
  margin-left: 3px;
}

/* Utility spacing */
.margin-t-40 {
  margin-top: 40px;
}

.margin-t-24 {
  margin-top: 24px;
}

.margin-t-16 {
  margin-top: 16px;
}

.margin-t-8 {
  margin-top: 8px;
}

.margin-t-4 {
  margin-top: 4px;
}

.margin-b-0 {
  margin-bottom: 0px;
}

.margin-b-16 {
  margin-bottom: 16px;
}
.margin-b-24{
   margin-bottom: 24px;
}
.margin-r-4 {
  margin-right: 4px;
}
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  vrs-button {
    width: 100%;
  }
}
@media (max-width: 425px) {
  .sidebar {
    display: none;
  }
    aside {
    display: none;
  }
}
.gp-1 {
  background: #095BCC;
}

.gp-2 {
  background: #0579E6;
}
  
.gp-3 {
  background: #0093F5;
}

.gp-4 {
  background: #20645C;
}

.gp-5 {
  background: #267871;
}

.gp-6 {
  background: #329F96;
}

.gs-1 {
  background: #792D3D;
}

.gs-2 {
  background: #991F3D;
}

.gs-3 {
  background: #BA5826;
}

.gs-4 {
  background: #B38C19;
}

.gs-5 {
  background: #3B3F88;
}

.gs-6 {
  background: #896BB3;
}

.gt-1 {
  background: #586E75;
}


.gt-2 {
  background: #6E8991;
}


.gt-3 {
  background: #949594;
}

.responsive-grid-1 { 
  display: grid; 
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.responsive-grid-2 { 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {  
  .responsive-grid-2 {
   grid-template-columns: 1fr; /* una colonna */
 }
}

.responsive-grid-3 { 
  display: grid;
  
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {  
  .responsive-grid-3 {
   grid-template-columns: 1fr; /* una colonna */
 }
}


.linee-guida-box{
  border-top: 1px solid rgba(217, 217, 217, 1);
  padding-top: 24px;
  padding-bottom: 24px;
}

.linee-guida-img {
  flex-shrink: 0; 
  width: 17px;  
  height: 17px;
}

.linee-guida-list {
  display: grid;
  gap: 16px;
}

.linee-guida-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.linee-guida-item .a {
  text-decoration: underline;
}

.blue {
  color: #0070f3 !important;
}


.t-bold {
  font-weight: 600; 
}


@media (max-width: 768px) {  
    .margin-t-40 {
    margin-top: 24px !important;
  }
  
  .opinion-row {
    flex-direction: column; 
    align-items: center;
    gap: 8px;
  }

  .btn-opinione {
    width: 100%;
    text-align: center;
    height: 48px;
  }
  
  .accedi-area-rgs-btn{
    width: 100%
  }
  
    .color-grid {
    grid-template-columns: 1fr; /* una colonna */
  }
}
