/* Layout now uses .formations__wrapper.no-sidebar from training.css */

.opco,
.cpf {
  padding-left: 1rem;
}

.cpf {
  margin-top: 2rem;
}

.opco h2,
.cpf h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.opco .op {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.opco .op span {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31,38,135,0.06);
  transition: all 0.3s ease;
}

.opco .op span:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(3,169,245,0.12);
  transform: translateY(-1px);
}

.opco p,
.cpf ul,
.cpf p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.5rem;
}

.cpf h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.cpf ul {
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}

@media only screen and (max-width: 876px) {
  .opco,
  .cpf {
    padding-left: 0;
  }

  .cpf {
    margin-top: 2rem;
  }

  .opco .op span {
    font-size: 13px;
  }
}

@media only screen and (max-width: 520px) {
  .cpf {
    margin-top: 1.5rem;
  }

  .opco h2,
  .cpf h2 {
    font-size: 1rem;
  }
}
