body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        line-height: 1.6;
        background-color: #ffffff;
      }
      table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin: 20px auto !important;
        background-color: #ffffff !important;
      }

      p {
        text-indent: 10px;
        margin: 8px 0;
        font-size: 16px;
      }

      th,
      td {
        font-size: 16px;
        padding: 12px !important;
        text-align: center !important;
        border: 1px solid #ddd !important;
        background-color: #ffffff !important;
        vertical-align: middle;
        word-wrap: break-word;
      }

      th {
        background-color: #ffffff !important;
        font-weight: bold !important;
      }

      /* ปรับสีพื้นหลังของแถวเมื่อ Hover */
      table#courseTable tr:hover,
      table#courseTable tbody tr:hover,
      table#courseTable tr:hover td,
      table#courseTable tbody tr:hover td,
      table.views-table tbody tr:hover,
      table.table tbody tr:hover,
      table.table tbody tr:hover td {
        background-color: #f9f9f9 !important;
      }

      ol {
        list-style-type: decimal !important; /* บังคับให้แสดงตัวเลข */
        padding-left: 20px; /* เว้นช่องว่างจากขอบ */
      }

      ul {
        list-style-type: disc !important; /* แสดงจุดสำหรับรายการ */
        padding-left: 20px; /* เว้นช่องว่างจากขอบ */
      }

      .download-btn {
        padding: 8px 12px;
        background-color: #ffffff;
        color: #19b5fe;
        text-decoration: none;
        border: 1px solid #19b5fe;
        border-radius: 4px;
        cursor: pointer;
        display: inline-block;
        transition: background-color 0.3s ease, color 0.3s ease;
      }

      .download-btn:hover {
        background-color: #19b5fe;
        color: #ffffff;
      }

      .toc {
        width: 50%;
        height: fit-content;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: auto;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        /* margin: 20px auto;
        padding: 20px;
        background-color: #f8f8f8;
        border: 2px solid #ddd;
        border-radius: 5px;
        border-color: #19b5fe; */
      }
      .toc h3 {
        text-align: center;
        margin-bottom: 10px;
        font-size: 20px;
      }

      .toc ul {
        list-style-type: disc !important; /* แสดงจุดสำหรับรายการ */
        padding-left: 20px; /* เว้นช่องว่างจากขอบ */
        /* list-style-type: none;
        padding: 0; */
      }

      .toc li {
        font-size: 16px;
        margin: 5px 0;
      }

      .toc a {
        text-decoration: none;
        color: #000000;
      }

      .toc a:hover {
        text-decoration: underline;
        color: #19b5fe;
      }
      /* สไตล์สำหรับแต่ละส่วนของเนื้อหา */
      .content-section {
        margin: 20px;
        /* padding: 20px; */
        background-color: #ffffff;
        /* border: 1px solid #ddd;
        border-radius: 5px; */
      }

      .content-section h2 {
        margin-top: 0;
        color: #333;
        font-size: 24px;
      }
      /* สไตล์สำหรับย่อหน้า */
      .content-section p {
        font-size: 16px;
        margin-bottom: 10px;
        text-indent: 20px; /* ย่อหน้า */
      }

      /* สไตล์สำหรับรายการแบบลำดับ */
      .content-section ol {
        list-style-type: decimal;
        margin-left: 30px; /* เว้นระยะซ้าย */
      }

      .content-section ol li {
        font-size: 16px;
        margin-bottom: 5px;
      }

      /* สไตล์สำหรับรายการย่อย */
      .content-section ul {
        list-style-type: disc;
        margin-left: 40px; /* เว้นระยะซ้ายเพิ่ม */
      }

      .content-section ul li {
        font-size: 15px;
        margin-bottom: 3px;
      }

      .image {
        max-width: 1000px;
      }

      @media (max-width: 768px) {
        h1 {
          font-size: 28px;
        }
        h2 {
          font-size: 24px;
        }
        h3 {
          font-size: 22px;
        }
        p {
          font-size: 20px;
        }
        li {
          font-size: 20px; /* เพิ่มขนาดฟอนต์ */
          margin-bottom: 8px;
        }
        table {
          width: 100%;
          font-size: 18px;
        }

        th,
        td {
          padding: 8px;
          font-size: 18px;
          text-align: center;
        }

        .download-btn {
          padding: 6px 10px;
          font-size: 16px;
          color: #19b5fe !important;
        }

        a.download-btn:hover {
          background-color: #19b5fe !important;
          color: #ffffff !important;
        }
        .toc {
          width: 90%;
        }
        .toc li {
          font-size: 18px;
          margin: 5px 0;
        }
        .toc h3 {
          text-align: center;
          margin-bottom: 5px;
          font-size: 22px;
        }

        /* สไตล์สำหรับย่อหน้า */
        .content-section p {
          font-size: 20px;
          margin-bottom: 10px;
          text-indent: 20px; /* ย่อหน้า */
        }

        /* สไตล์สำหรับรายการแบบลำดับ */
        .content-section ol {
          list-style-type: decimal;
          margin-left: 30px; /* เว้นระยะซ้าย */
        }

        .content-section ol li {
          font-size: 20px;
          margin-bottom: 5px;
        }

        /* สไตล์สำหรับรายการย่อย */
        .content-section ul {
          list-style-type: disc;
          margin-left: 40px; /* เว้นระยะซ้ายเพิ่ม */
        }

        .content-section ul li {
          font-size: 18px;
          margin-bottom: 3px;
        }

        .image {
          max-width: 100%;
        }
      }