/* Bổ sung cho CSS của giao diện cũ: những phần trước đây do JavaScript của WordPress tạo ra. */
.ct-slider { position: relative; }
.ct-slider > .ct-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ct-slider > .ct-track::-webkit-scrollbar { display: none; }
.ct-slider > .ct-track > * { flex: 0 0 auto; scroll-snap-align: start; }
.ct-arrow { position: absolute; top: 45%; transform: translateY(-50%); z-index: 5; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #1769aa; font-size: 24px; line-height: 34px; box-shadow: 0 3px 12px rgba(0, 0, 0, .12); }
.ct-arrow--prev { left: -8px; }
.ct-arrow--next { right: -8px; }

/* Menu điện thoại */
.ct-overlay { position: fixed; inset: 0; background: rgba(11, 11, 11, .6); z-index: 1040; display: none; }
.ct-overlay.ct-open { display: block; }
#main-menu.ct-open { display: block !important; position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 85vw; overflow-y: auto; background: #fff; z-index: 1050; }

.ct-find { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 20px; }
.ct-find input, .ct-find button { margin: 0; }
.ct-related { margin-top: 30px; }
.ct-meta { opacity: .7; }
.entry-content img, .entry-image img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; }

/* Giao diện cũ ẩn ảnh nền cho đến khi JavaScript đánh dấu đã tải xong */
.section-bg img.bg, .bg { opacity: 1 !important; }
