/* ACBEST article content components (ac-text) — ย้ายจาก CSS ที่ฝังในบทความ (ต้นแบบ post 592) + ac-series · v2.0.14 */
/* =========================================================
   ACBEST KNOWLEDGE CENTER — ac-text (จากบทความ post 592)
   + ac-series สำหรับซีรีส์ "เรื่องจริงจากโต๊ะที่ปรึกษา"
   ========================================================= */
.ac-text{--ac-blue:#123F73;--ac-blue-2:#174B8A;--ac-blue-soft:#EEF5FC;--ac-blue-pale:#F7FAFD;--ac-gold:#E3A72F;--ac-gold-soft:#FFF7E7;--ac-text:#263442;--ac-muted:#617080;--ac-border:#D9E3ED;--ac-white:#FFFFFF;color:var(--ac-text);font-size:17px;line-height:1.85;}
.ac-text *{box-sizing:border-box;}
.ac-text p{margin:0 0 18px;}
.ac-text strong{font-weight:750;}
.ac-text a{color:var(--ac-blue);text-decoration:underline;text-underline-offset:3px;font-weight:650;}
.ac-text h2{margin:44px 0 19px;padding-bottom:11px;color:#17283C;font-size:29px;line-height:1.42;font-weight:750;border-bottom:2px solid #E3EAF1;position:relative;}
.ac-text h2::after{content:"";position:absolute;left:0;bottom:-2px;width:68px;height:3px;background:var(--ac-blue);}
.ac-text h3{margin:30px 0 12px;color:var(--ac-blue);font-size:22px;line-height:1.5;font-weight:750;}
.ac-text ul,.ac-text ol{margin:12px 0 22px;padding-left:26px;}
.ac-text li{margin:7px 0;}
/* ---------- Series label (ใหม่) ---------- */
.ac-series{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:6px 14px;background:var(--ac-gold-soft);border:1px solid #ECD49F;border-radius:999px;color:#875900;font-size:14px;font-weight:750;}
.ac-series-no{padding-left:8px;border-left:1px solid #E3C47F;}
/* ---------- Lead ---------- */
.ac-lead{font-size:19px;line-height:1.85;color:#273A4F;}
/* ---------- Answer First ---------- */
.ac-answer{margin:26px 0 20px;padding:23px 24px;background:linear-gradient(135deg,#EEF6FF,#F8FBFE);border:1px solid #CFE0F0;border-left:6px solid var(--ac-blue);border-radius:12px;}
.ac-answer-label{display:inline-block;margin-bottom:10px;padding:5px 12px;background:var(--ac-blue);color:#FFF;border-radius:999px;font-size:14px;font-weight:750;}
.ac-answer p:last-child{margin-bottom:0;}
/* ---------- CTA ---------- */
.ac-service-cta{margin:22px 0 32px;}
.ac-service-cta-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;}
.ac-service-cta-btn{width:100%;min-height:48px;padding:10px 16px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;font-size:16px;line-height:1.35;font-weight:750 !important;text-decoration:none !important;border:2px solid transparent;box-sizing:border-box;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;}
.ac-service-cta-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(19,48,82,.13);filter:brightness(.98);}
.ac-service-cta-btn:focus-visible{outline:3px solid rgba(18,63,115,.28);outline-offset:3px;}
.ac-service-cta-btn svg{width:20px;height:20px;flex:0 0 20px;}
.ac-service-cta-line{background:#06C755;color:#FFF !important;border-color:#06C755;}
.ac-service-cta-phone{background:#123F73;color:#FFF !important;border-color:#123F73;}
.ac-service-cta-form{background:#FFF;color:#123F73 !important;border-color:#123F73;}
/* ---------- Key Takeaways ---------- */
.ac-key{margin:30px 0;padding:24px 25px;background:#F5F9FE;border:1px solid #D3E2F1;border-radius:13px;box-shadow:0 4px 14px rgba(18,63,115,.05);}
.ac-key h2{margin:0 0 14px;padding:0;border:0;color:var(--ac-blue);font-size:23px;}
.ac-key h2::after{display:none;}
.ac-key ul{margin-bottom:0;}
/* ---------- Callouts ---------- */
.ac-callout{margin:24px 0;padding:18px 20px;border-radius:10px;}
.ac-callout-title{display:block;margin-bottom:6px;font-weight:750;}
.ac-info{background:var(--ac-blue-soft);border:1px solid #CCDEEF;border-left:5px solid var(--ac-blue);}
.ac-info .ac-callout-title{color:var(--ac-blue);}
.ac-warning{background:var(--ac-gold-soft);border:1px solid #ECD49F;border-left:5px solid var(--ac-gold);}
.ac-warning .ac-callout-title{color:#875900;}
/* ---------- Tables ---------- */
.ac-table-wrap{width:100%;margin:22px 0 28px;overflow-x:auto;border:1px solid var(--ac-border);border-radius:12px;background:#FFF;box-shadow:0 4px 14px rgba(20,45,75,.06);-webkit-overflow-scrolling:touch;}
.ac-table{width:100%;min-width:700px;margin:0;border-collapse:collapse;font-size:16px;line-height:1.62;}
.ac-table th{padding:15px 16px;text-align:left;vertical-align:top;background:var(--ac-blue);color:#FFF;font-weight:750;border-right:1px solid rgba(255,255,255,.18);}
.ac-table th:last-child{border-right:0;}
.ac-table td{padding:14px 16px;vertical-align:top;border-bottom:1px solid #E4EAF0;}
.ac-table tbody tr:nth-child(even){background:#F5F9FD;}
.ac-table tbody tr:last-child td{border-bottom:0;}
.ac-cell-key{color:var(--ac-blue);font-weight:750;}
.ac-row-warning td{background:#FFF8E9 !important;}
.ac-row-warning .ac-cell-key{color:#855700;}
.ac-money{white-space:nowrap;font-weight:750;}
/* ---------- Steps ---------- */
.ac-step{margin:0 0 17px;padding:20px 21px;background:#FFF;border:1px solid #DBE4EC;border-radius:11px;}
.ac-step-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:9px;}
.ac-step-no{display:flex;align-items:center;justify-content:center;flex:0 0 36px;height:36px;border-radius:50%;background:var(--ac-blue);color:#FFF;font-weight:750;}
.ac-step-title{padding-top:3px;color:var(--ac-blue);font-size:20px;line-height:1.45;font-weight:750;}
.ac-step p:last-child{margin-bottom:0;}
/* ---------- Checklist ---------- */
.ac-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:20px 0 28px;}
.ac-check{position:relative;padding:13px 14px 13px 43px;background:#F7FAFD;border:1px solid #DCE6EF;border-radius:9px;}
.ac-check::before{content:"✓";position:absolute;left:15px;top:11px;color:var(--ac-blue);font-size:18px;font-weight:800;}
/* ---------- Case Box ---------- */
.ac-case{margin:24px 0;overflow:hidden;border:1px solid #D8E1EA;border-radius:12px;background:#FFF;}
.ac-case-head{padding:14px 19px;background:#243A53;color:#FFF;font-size:18px;font-weight:750;}
.ac-case-body{padding:21px;}
.ac-case-quote{margin:15px 0;padding:14px 17px;background:#F3F7FB;border-left:4px solid var(--ac-blue);color:#24384E;font-weight:700;}
/* ---------- Mistakes ---------- */
.ac-mistakes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 28px;}
.ac-mistake{padding:18px;background:#FFF;border:1px solid #E0E6EC;border-radius:10px;}
.ac-mistake strong{display:block;margin-bottom:6px;color:var(--ac-blue);}
/* ---------- FAQ ---------- */
.ac-faq{margin:22px 0;}
.ac-faq-item{margin-bottom:12px;padding:19px 20px;background:#F8FAFC;border:1px solid #DEE6ED;border-radius:10px;}
.ac-faq-item h3{margin:0 0 8px;color:#213D5D;font-size:19px;}
.ac-faq-item p:last-child{margin-bottom:0;}
/* ---------- Related Services ---------- */
.ac-related{margin:34px 0;padding:21px;background:#F5F9FD;border:1px solid #D5E2EF;border-left:5px solid var(--ac-blue);border-radius:10px;}
.ac-related-title{margin-bottom:9px;color:#17283C;font-weight:750;}
.ac-related ul{margin-bottom:0;}
/* ---------- References ---------- */
.ac-sources{margin-top:38px;padding:22px 23px;background:#F7F8FA;border-top:4px solid #8799AA;border-radius:10px;}
.ac-sources h2{margin:0 0 13px;padding:0;border:0;font-size:22px;}
.ac-sources h2::after{display:none;}
.ac-source-meta{color:var(--ac-muted);font-size:14px;}
.ac-disclaimer{margin-top:17px;padding-top:15px;border-top:1px solid #DEE3E8;color:#5F6D79;font-size:14px;line-height:1.7;}
/* ---------- Mobile ---------- */
@media(max-width:767px){
.ac-text{font-size:16px;line-height:1.8;}
.ac-text h2{margin-top:36px;font-size:24px;}
.ac-text h3{font-size:20px;}
.ac-lead{font-size:17px;}
.ac-answer,.ac-key{padding:20px;}
.ac-service-cta-actions{grid-template-columns:1fr;}
.ac-service-cta-btn{width:100%;min-height:48px;}
.ac-checklist,.ac-mistakes{grid-template-columns:1fr;}
.ac-table{min-width:650px;font-size:15px;}
}
