/* cc1_article.css — สไตล์เฉพาะเนื้อบทความ (/article) · cc1 22/11/2026
   โหลดจาก view/section/header.php เฉพาะ $header_page === 'article'
   ทุก selector อยู่ใต้ .article-detail ห้ามกระทบหน้าอื่น
   ถอยกลับ = ลบบรรทัด <link ... cc1_article.css> ใน header.php บรรทัดเดียว

   ตาราง แบบ A (เจ้าของเลือก 22/11): หัวสีม่วง #75668d · แถวสลับสีม่วงอ่อน · ชิดซ้าย
   ทับค่าเดิมใน default.css (table ทั้งเว็บ: จัดกลาง มุมโค้ง 20px เส้นทุกช่อง)
   ตารางที่มีจริง ณ 22/11: บทความ 63 (67 ตาราง, thead 8) กับ 118 (31 ตาราง) · ไม่เกิน 4 ช่อง */

.article-detail table{
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e2dfe8;
    text-align: left;
}
.article-detail table thead th,
.article-detail table tbody th,
.article-detail table tbody td{
    border: 0;
    border-radius: 0;
    padding: 10px 14px;
    vertical-align: top;
    text-align: left;
}
.article-detail table thead th,
.article-detail table tbody th{
    background: #75668d;
    color: #fff;
    font-family: 'prompt_medium', Tahoma, sans-serif;
    font-size: 2rem;
    font-weight: normal;
}
.article-detail table tbody td{
    color: #333;
    border-top: 1px solid #e2dfe8;
}
.article-detail table tbody tr:first-child td{
    border-top: 0;
}
.article-detail table tbody tr:nth-child(even) td{
    background: #efecf4;
}
/* default.css ทาเขียวที่ช่อง th มุมล่างขวา — ไม่เอาในบทความ */
.article-detail table tbody tr:last-child th:last-child{
    background: #75668d;
}
.article-detail table td strong{
    font-family: 'prompt_semibold', Tahoma, sans-serif;
    font-weight: normal;
    color: #222;
}
.article-detail table td small{
    color: #6b6677;
}
/* ตารางรายชื่อล้วน (ไม่มีหัวตาราง) จัดกลางช่อง ให้อ่านเป็นตาราง */
.article-detail table:not(:has(thead)) td{
    text-align: center;
}
@media (max-width: 480px){
    .article-detail table thead th,
    .article-detail table tbody th,
    .article-detail table tbody td{
        padding: 8px 10px;
    }
}
