.protocol-card {
      border: none;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      margin-bottom: 1rem;
      border-radius: 10px;
      overflow: hidden;
  }
  
  .protocol-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  }
  
  .protocol-header {
      background: linear-gradient(135deg, var(--par-title-color), #3d6bb3);
      color: white;
      padding: 1rem;
      cursor: pointer;
      position: relative;
  }
  
  .protocol-header:hover {
      background: linear-gradient(135deg, #1a4480, var( --par-title-color));
  }
  
  .protocol-header .toggle-icon {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
  }
  
  .protocol-header.active .toggle-icon {
      transform: translateY(-50%) rotate(180deg);
  }
  
  .protocol-content {
      padding: 1.5rem;
      background: white;
  }
  
  .experiment-section {
      background: var(--secondary-color);
      border-radius: 10px;
      padding: 2rem;
      margin-bottom: 2rem;
      border-left: 5px solid var( --par-title-color);
  }
  
  .experiment-title {
      color: var(  --par-title-color);
      border-bottom: 2px solid var( --par-title-color);
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
  }
  
  .protocol-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    }

    /* Forza 5 colonne su schermi grandi */
    @media (min-width: 1200px) {
        .protocol-list {
            grid-template-columns: repeat(5, 1fr);
        }
    }
  
  .protocol-quick-link {
      background: var( --par-title-color);
      border: 2px solid var(--par-title-color);
      border-radius: 8px;
      padding: 1rem;
      text-decoration: none;
      color: white;
      transition: all 0.3s ease;
      display: block;
  }

  .protocol-quick-link:hover {
      background: var( --par-title-color);
      transform: translateY(-2px);
  }

  /* Chemistry version for buttons */
  .protocol-quick-link.light-blue {
      background: #67076b;
      border: 2px solid #67076b;
  }

  .protocol-quick-link.light-blue:hover {
      background: #67076b;
  }

  /* Chemistry version for protocols section */
  .protocol-card.light-blue .protocol-header {
      background: linear-gradient(135deg, #67076b, #ca10d1);
  }

  .protocol-card.light-blue .protocol-header:hover {
      background: linear-gradient(135deg, #96129a, #67076b);
  }
  
  .pdf-viewer {
      width: 100%;
      height: 80vh;
      border: 1px solid #ddd;
      border-radius: 5px;
      background: #f9f9f9;
      display: flex;
      align-items: stretch;
      justify-content: center;
      margin: 1rem 0;
  }
  
  .pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .image-placeholder {
    width: fit-content;
    max-width: 100%;
    background: rgba(139, 69, 19, 0.1);
    border: 2px dashed #d4a574;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    font-style: italic;
    margin: 20px auto;
    break-inside: avoid;
    font-size: 0.95rem;
    text-align: center;
    padding: 10px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto; 
    max-height: 250px;  
    object-fit: contain;
    border-radius: 8px;
    display: block;
}