/* ============================================================
 * Trang Báo Giá (page ID 161, 162)
 * Style cho: highlight-box, toc, note, bảng giá, feature-grid,
 * cta-box, faq-section — dùng biến màu chuẩn của theme
 * ============================================================ */

/* Hộp tóm tắt đầu bài */
.post-content .highlight-box {
  background: rgba(0, 51, 153, 0.06);
  border-left: 4px solid var(--pdd-blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 28px;
}
.post-content .highlight-box p { margin: 0; }

/* Mục lục */
.post-content .toc {
  background: var(--pdd-bg);
  border: 1px solid var(--pdd-light-gray);
  border-radius: 10px;
  padding: 20px 28px;
  margin: 0 0 32px;
}
.post-content .toc h3 {
  margin: 0 0 10px;
  color: var(--pdd-blue);
  font-size: 17px;
}
.post-content .toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 40px;
}
.post-content .toc li { margin-bottom: 6px; break-inside: avoid; }
.post-content .toc a { color: var(--pdd-dark); text-decoration: none; }
.post-content .toc a:hover { color: var(--pdd-blue); text-decoration: underline; }

/* Ghi chú cảnh báo */
.post-content .note {
  background: #FFF8E6;
  border-left: 4px solid #F0A500;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0 24px;
}

/* Bảng giá */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 15px;
}
.post-content table th {
  background: var(--pdd-blue);
  color: var(--pdd-white);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}
.post-content table td {
  border: 1px solid var(--pdd-light-gray);
  padding: 11px 14px;
}
.post-content table tbody tr:nth-child(even) { background: var(--pdd-bg); }
.post-content .price-highlight {
  color: var(--pdd-red);
  font-weight: 700;
  white-space: nowrap;
}

/* Lưới yếu tố */
.post-content .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 28px;
}
.post-content .feature-item {
  background: var(--pdd-bg);
  border: 1px solid var(--pdd-light-gray);
  border-radius: 10px;
  padding: 16px 20px;
}
.post-content .feature-item strong { color: var(--pdd-blue); }
.post-content .feature-item p { margin: 6px 0 0; font-size: 14px; color: var(--pdd-gray); }

/* Hộp CTA */
.post-content .cta-box {
  background: linear-gradient(135deg, #003399, #001A4D);
  color: var(--pdd-white);
  text-align: center;
  border-radius: 12px;
  padding: 32px 24px;
  margin: 36px 0;
}
.post-content .cta-box h3 {
  color: var(--pdd-white);
  margin: 0 0 8px;
  font-size: 22px;
}
.post-content .cta-box p { margin: 0 0 6px; opacity: 0.95; }
.post-content .cta-phone {
  display: inline-block;
  background: var(--pdd-red);
  color: var(--pdd-white);
  font-weight: 700;
  font-size: 18px;
  padding: 14px 32px;
  border-radius: 50px;
  margin-top: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.post-content .cta-phone:hover {
  background: #B3151A;
  color: var(--pdd-white);
}

/* FAQ accordion */
.post-content .faq-section details {
  border: 1px solid var(--pdd-light-gray);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--pdd-white);
  overflow: hidden;
}
.post-content .faq-section summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 20px;
  color: var(--pdd-blue);
  list-style: none;
  position: relative;
}
.post-content .faq-section summary::-webkit-details-marker { display: none; }
.post-content .faq-section summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: var(--pdd-gray);
}
.post-content .faq-section details[open] summary::after { content: "−"; }
.post-content .faq-section details p { padding: 0 20px 16px; margin: 0; }

/* Mobile */
@media (max-width: 768px) {
  .post-content .toc ol { columns: 1; }
  .post-content .feature-grid { grid-template-columns: 1fr; }
  .post-content .cta-box h3 { font-size: 19px; }
  .post-content .cta-phone { font-size: 16px; padding: 12px 24px; }
  .post-content table { font-size: 13px; }
  .post-content table th, .post-content table td { padding: 8px 10px; }
}
