/* ===========
  General Setup for Material Class Pages
  =========== */
  .class-top-header {
    background-color: #f0f4f8;
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 3px solid #005a9c;
  }
  
  .class-top-header-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .class-page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003366;
  }
  
  .class-text-content {
    margin-top: 1rem;
  }
  
  /* ===========
    Description Section
    =========== */
  .class-material-description {
    padding: 2rem 1rem;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .class-variable-width-header {
    width: 100%;
    border-spacing: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .class-variable-width-header td {
    vertical-align: top;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
  }
  
  .class-subheader {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #005a9c;
  }
  
  /* ===========
    Image Styles
    =========== */
  .class-image-column {
    text-align: center;
  }
  
  .class-image-rt {
    width: 125px;
    height: 125px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }
  
  /* ===========
    Class Title Section
    =========== */
  .class-class-title {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    text-align: center;
  }
  
  .class-variable-width-title {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .class-variable-width-title h2 {
    font-size: 2rem;
    color: #003366;
    margin: 0;
  }
  
  /* ===========
    Tables for Examples
    =========== */
  .class-equipment-class-tables {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .class-table-section-title {
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
    color: #003366;
  }
  
  .class-equipment-class-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
  }
  
  .class-equipment-class-table th {
    background-color: #005a9c;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
  }
  
  .class-equipment-class-table th a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .class-equipment-class-table th a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transform: translateY(-1px);
  }
  
  .class-equipment-class-table td {
    text-align: center;
    vertical-align: top;
    padding: 15px;
  }
  
  /* Material link styles */
  .material-link {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
  }
  
  .material-name {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #005a9c;
  }
  
  .material-link:hover {
    transform: translateY(-2px);
  }
  
  .material-link:hover .material-name {
    color: #003366;
  }
  
  .material-link:hover img {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .class-equipment-class-table img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
  }
  
  /* ===========
    Responsive Images
    =========== */
  .class-responsive-50 {
    max-width: 250px;
    height: auto;
    margin: 10px auto;
    display: block;
  }
  
  /* Category Card Link Styles */
  .category-card h4 a {
    color: #005a9c;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
  }
  
  .category-card h4 a:hover {
    color: #003366;
    transform: translateY(-1px);
  }
  
  .category-card h4 a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #005a9c;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  
  .category-card h4 a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  /* ===========
    Responsive Design for Mobile
    =========== */
  @media (max-width: 768px) {
    .class-variable-width-header,
    .class-equipment-class-table {
      display: block;
      width: 100%;
      overflow-x: auto;
    }
  
    .class-top-header {
      padding: 2rem 1rem;
    }
  
    .class-page-title {
      font-size: 2rem;
    }
  
    .class-table-section-title {
      font-size: 1.5rem;
    }
  }
  
  /* Ensure consistent spacing around images */
  .class-equipment-class-table td a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  /* Hover effects for better interactivity */
  .class-equipment-class-table td a:hover {
    color: #005a9c;
  }
  
  .class-equipment-class-table img:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
  }
  