/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .ethics-container {
    padding: 0 1.5rem;
  }
  
  .ethics-header h1 {
    font-size: 2.2rem;
  }
  
  .ethics-header::after {
    width: 80px;
  }
  
  .ethics-section {
    padding: 1.75rem;
  }
  
  .ethics-section h2 {
    font-size: 1.6rem;
  }
  
  .canons-list > li {
    padding-left: 2.5rem;
  }
  
  .commitment-box {
    padding: 1.75rem;
  }
}

/* Small devices (phones, 576px and up) */
@media (max-width: 576px) {
  .ethics-container {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }
  
  .ethics-header {
    margin-bottom: 2rem;
  }
  
  .ethics-header h1 {
    font-size: 1.8rem;
  }
  
  .ethics-header p {
    font-size: 1rem;
  }
  
  .ethics-section {
    padding: 1.5rem;
  }
  
  .ethics-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
  }
  
  .foreword-box {
    padding: 1.5rem;
  }
  
  .canons-list > li {
    padding-left: 2rem;
    margin-bottom: 1.25rem;
  }
  
  .canons-list > li:before {
    font-size: 1.1rem;
  }
  
  .commitment-box {
    margin: 2.5rem 0;
    padding: 1.5rem;
  }
  
  .commitment-box h3 {
    font-size: 1.3rem;
  }
}

/* Extra small devices (phones, 400px and below) */
@media (max-width: 400px) {
  .ethics-header h1 {
    font-size: 1.6rem;
  }
  
  .ethics-section {
    padding: 1.25rem;
  }
  
  .canons-list > li {
    padding-left: 1.75rem;
  }
  
  .canons-list > li:before {
    font-size: 1rem;
  }
  
  .foreword-box ol {
    padding-left: 1.25rem;
  }
}