/* SERtool about page-specific styles */

    @media (max-width: 768px) {

      .nav-links li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
        position: relative;
      }

      .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background-color: #2d3748;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 8px;
        border-radius: 6px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
      }

      .nav-links li:hover .dropdown,
      .nav-links li:focus-within .dropdown {
        max-height: 300px;
        padding: 8px 0;
      }

      .dropdown a {
        padding: 10px 0;
        text-align: center;
        font-size: 15px;
        color: #cbd5e0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: background-color 0.2s;
      }

      .dropdown a:hover {
        background-color: #4a5568;
        color: white;
      }

    }

    .main-container {
      max-width: 960px;
      margin: 40px auto;
      padding: 0 20px;
      width: 100%;
      flex: 1;
    }

    .page-header {
      text-align: center;
      margin: 0 auto 28px;
      padding: 28px 24px;
      background: linear-gradient(135deg, #14304f 0%, #1c4a76 50%, #266a9c 100%);
      border-radius: 12px;
      color: white;
      box-shadow: 0 6px 20px rgba(20, 48, 79, 0.18);
    }

    .page-title {
      font-size: 26px;
      color: #ffffff;
      margin: 0 0 12px;
      font-weight: 700;
      text-shadow: 0 1px 10px rgba(0, 20, 45, 0.5);
    }

    .page-sub {
      font-size: 14px;
      color: #dbeafe;
      text-shadow: 0 1px 6px rgba(0, 20, 45, 0.4);
      margin: 0 auto;
      max-width: 820px;
      line-height: 1.7;
      text-align: left;
    }

    .page-sub strong { color: #ffffff; }

    .section {
      background-color: #ffffff;
      padding: 28px 32px;
      border-radius: 12px;
      margin-bottom: 30px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
    }

    .section > h2 {
      color: #1a365d;
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 2px solid #ebf8ff;
      letter-spacing: 0.01em;
    }

    .section h3 {
      color: #2c5282;
      font-size: 16px;
      font-weight: 700;
      margin: 24px 0 10px;
      letter-spacing: 0.01em;
    }

    p {
      color: #4a5568;
      margin-bottom: 14px;
      text-align: left;
      font-size: 15px;
    }

    .step {
      margin-bottom: 18px;
      padding: 14px 18px;
      border-left: 4px solid #3182ce;
      background: #f8fafc;
      border-radius: 0 8px 8px 0;
    }

    .step h3 {
      margin-top: 0;
      color: #1a365d;
      font-size: 15px;
      margin-bottom: 6px;
    }

    .step p { margin-bottom: 0; font-size: 14px; }

    .key-points {
      list-style: none;
      padding-left: 0;
      margin-bottom: 16px;
      counter-reset: kp;
    }

    .key-points > li {
      position: relative;
      padding: 12px 16px 12px 52px;
      background: #f8fafc;
      border: 1px solid #edf2f7;
      border-radius: 8px;
      margin-bottom: 10px;
      font-size: 14px;
      color: #334155;
      line-height: 1.7;
      counter-increment: kp;
    }

    .key-points > li::before {
      content: counter(kp);
      position: absolute;
      left: 14px;
      top: 14px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #1a365d;
      color: white;
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .key-points > li strong {
      color: #1a365d;
      display: inline-block;
      margin-right: 4px;
    }

    .key-points em { color: #c05621; font-style: normal; font-weight: 600; }

    .highlight {
      background-color: #f0f7ff;
      padding: 14px 18px;
      font-size: 14px;
      border-left: 4px solid #3182ce;
      margin: 14px 0;
      border-radius: 0 8px 8px 0;
      word-wrap: break-word;
      white-space: pre-wrap;
      color: #2c5282;
      font-family: monospace;
      line-height: 1.6;
    }

    .example { font-style: italic; color: #64748b; font-size: 0.95em; }

    ul, ol { margin-bottom: 16px; padding-left: 24px; }
    ul li, ol li { margin-bottom: 6px; color: #4a5568; font-size: 14.5px; }

    code {
      background-color: #ebf8ff;
      padding: 2px 7px;
      border-radius: 4px;
      font-family: 'Monaco','Menlo','Courier New',monospace;
      font-size: 13px;
      color: #2c5282;
      border: 1px solid #bee3f8;
    }

    img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 16px 0;
      display: block;
    }

    .table-container {
      width: 100%;
      overflow-x: auto;
      margin: 20px 0;
      border-radius: 10px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      background: white;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      min-width: 300px;
    }

    th, td {
      padding: 12px 14px;
      text-align: left;
      border-bottom: 1px solid #edf2f7;
      vertical-align: top;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    th {
      background-color: #1a365d;
      color: white;
      font-weight: 600;
      font-size: 13.5px;
      letter-spacing: 0.02em;
      border-bottom: none;
      position: sticky;
      top: 0;
    }

    tbody tr:nth-child(even) { background-color: #f8fafc; }
    tbody tr:hover { background-color: #ebf8ff; }
    tbody tr:last-child td { border-bottom: none; }

    td code {
      background: #edf2f7;
      border: 1px solid #e2e8f0;
      color: #2d3748;
      font-size: 12.5px;
    }

    .figure-caption {
      font-size: 13px;
      color: #64748b;
      text-align: center;
      margin-top: -6px;
      line-height: 1.7;
      padding: 0 12px;
    }
    .figure-caption strong { color: #1a365d; display: block; margin-bottom: 4px; font-size: 14px; }

    .inline-card {
      background: #f0f9ff;
      border: 1px solid #bee3f8;
      border-radius: 8px;
      padding: 14px 18px;
      margin: 14px 0;
      font-size: 14px;
      color: #2c5282;
      line-height: 1.7;
    }
    .inline-card a { color: #1a365d; font-weight: 600; }

    .dl-inline {
      display: inline-block;
      background: #1a365d;
      color: white !important;
      padding: 6px 14px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none !important;
      transition: background 0.2s, transform 0.15s;
      margin-left: 4px;
    }
    .dl-inline:hover { background: #2c5282; transform: translateY(-1px); }

    @media (max-width: 768px) {
      .main-container { margin: 24px auto; padding: 0 14px; }
      .page-header { padding: 20px 16px; margin-bottom: 20px; }

      .section { padding: 20px 18px; }
      .section > h2 { font-size: 17px; }
      .section h3 { font-size: 15px; }

      .key-points > li { padding: 12px 12px 12px 46px; font-size: 13.5px; }
      .key-points > li::before { left: 12px; top: 12px; width: 22px; height: 22px; font-size: 12px; }

      table { font-size: 13px; }
      th, td { padding: 10px 10px; }
    }

    .navbar-logo {
      height: 30px !important;
      width: auto !important;
      margin-right: 8px;
      border-radius: 0 !important;
    }
  
  
