/* Kết nối API LGSP – chỉ dùng cho mẫu "bang" và "the". 3 mẫu cũ dùng CSS sẵn có của theme. */
.lgspc-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.lgspc-table th, .lgspc-table td { border: 1px solid #e2e4e7; padding: 8px 10px; text-align: left; vertical-align: top; }
.lgspc-table thead th { background: #f3f5f8; font-weight: 600; }
.lgspc-table tbody tr:nth-child(even) { background: #fafbfc; }
.lgspc-feed--bang .news-list, .lgspc-feed--bang { overflow-x: auto; }
.lgspc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.lgspc-card { border: 1px solid #e2e4e7; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.lgspc-card__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f5f8; }
.lgspc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lgspc-card__body { padding: 12px 14px; }
.lgspc-card__title { font-size: 1em; margin: 0 0 6px; line-height: 1.4; }
.lgspc-card__meta { font-size: .85em; color: #6b7280; margin: 0 0 6px; }
.lgspc-card__excerpt, .lgspc-card__field { font-size: .9em; margin: 0 0 4px; }
/* Popup chi tiết văn bản */
.lgspc-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lgspc-modal[hidden] { display: none; }
.lgspc-modal__box { background: #fff; color: #1d2327; border-radius: 8px; width: 100%; max-width: 680px; max-height: 90vh; overflow: auto; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.lgspc-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #e2e4e7; }
.lgspc-modal__head h4 { margin: 0; font-size: 1.1em; }
.lgspc-modal__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; color: #50575e; }
.lgspc-modal__body { padding: 12px 16px 16px; }
.lgspc-modal__table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.lgspc-modal__table th { text-align: left; width: 34%; padding: 6px 8px 6px 0; vertical-align: top; color: #50575e; font-weight: 600; }
.lgspc-modal__table td { padding: 6px 0; vertical-align: top; }
.lgspc-modal__files ul { margin: 6px 0 0; padding-left: 18px; }
.lgspc-modal__files li { margin: 4px 0; word-break: break-word; }
.lgspc-modal__dl { margin-left: 8px; white-space: nowrap; font-size: .9em; }
