/* บทความคู่มือ (article/guide.php) ใช้ร่วมกับ article/sum.css */
.lt-guide-section {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: 20px;
  padding: 30px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.lt-guide-section h2 {
  font-size: 1.55rem;
  margin: 0 0 14px;
}
.lt-guide-section p {
  margin: 0 0 14px;
}
.lt-guide-section p:last-child {
  margin-bottom: 0;
}
.lt-guide-section a {
  color: var(--lt-rose-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lt-guide-list,
.lt-guide-steps {
  margin: 0 0 16px;
  padding-left: 0;
}
.lt-guide-list {
  list-style: none;
}
.lt-guide-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.lt-guide-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lt-rose);
}
.lt-guide-steps {
  list-style: none;
  counter-reset: lt-step;
}
.lt-guide-steps li {
  counter-increment: lt-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
  min-height: 32px;
}
.lt-guide-steps li::before {
  content: counter(lt-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lt-rose-soft);
  color: var(--lt-rose-dark);
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lt-guide-table {
  margin-bottom: 16px;
}
.lt-guide-table th,
.lt-guide-table td {
  padding: 12px 14px;
  font-size: 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--lt-border);
}
.lt-guide-table tbody tr:last-child td {
  border-bottom: 0;
}

/* CTA กลางบทความ: ปุ่มเดียวเด่น (LINE) ปุ่มโทรเป็นตัวรอง */
.lt-guide-cta {
  background: linear-gradient(135deg, #202227 0%, #151619 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  margin: 0 0 28px;
  border: 1px solid rgba(255,255,255,0.08);
}
.lt-guide-cta-title {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 6px;
}
.lt-guide-cta-text {
  color: #cbd5e1;
  margin: 0 0 18px;
}
.lt-guide .btn-action-line,
.lt-guide .btn-action-tel {
  min-height: 52px;
  transition: transform 0.12s ease;
}
.lt-guide .btn-action-line:active,
.lt-guide .btn-action-tel:active,
.lt-guide-related a:active {
  transform: scale(0.92);
}
.lt-guide-cta .btn-action-tel {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.6);
}
.lt-guide-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: lt-guide-breathe 2.2s infinite ease-out;
  flex: 0 0 auto;
}
@keyframes lt-guide-breathe {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.lt-guide-related {
  margin: 0 0 32px;
}
.lt-guide-related-title {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--lt-dark);
}
.lt-guide-related a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--lt-border);
  border-radius: 14px;
  background: #fff;
  color: var(--lt-dark);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.12s ease;
}
.lt-guide-related a:hover {
  border-color: var(--lt-rose);
  color: var(--lt-rose-dark);
}
.lt-guide-end-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #e2e8f0 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ตารางคิวหมวด 8ข ในบทความหมวดล่าสุด สีสถานะมาจาก ladytabien_queue_css() */
.lt-guide .series-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}
.lt-guide .series-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 6px 4px;
  border-radius: 12px;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
}
.lt-guide .series-cell small {
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}
.lt-guide-note {
  font-size: 0.9rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .lt-guide .series-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lt-guide-section { padding: 22px 16px; border-radius: 16px; }
  .lt-guide-section h2 { font-size: 1.3rem; }
  .lt-guide-cta { padding: 22px 16px; }
  .lt-guide-cta-title { font-size: 1.2rem; }
  .lt-guide-table th,
  .lt-guide-table td { padding: 10px 8px; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lt-guide-live { animation: none; }
}
