/* Homepage sections — layout helpers */
.elementor-section {
  margin-bottom: 20px;
}

.footer-menus-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.footer-link-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: #31305a;
  margin-bottom: 8px;
}

.footer-link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-column li {
  margin-bottom: 4px;
  font-size: 12px;
}

.nuoi-lo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0;
}

.nuoi-lo-stat-item {
  text-align: center;
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.nuoi-lo-stat-value {
  display: block;
  font-size: 20px;
  color: #d82226;
}

/* Lô Top grid: styled in gilode.css + soicau247-widget-typography.css (do not override here) */

.gilode-live-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  padding-inline-start: 0 !important;
  margin: 0;
  font-size: 13px;
}

.gilode-live-list li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 8px;
  border-bottom: 1px solid #e9ecef;
}

.jeg_accordion_heading {
  width: 100%;
  text-align: left;
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  font-weight: 600;
  cursor: pointer;
}

.jeg_accordion_content {
  padding: 12px;
  border: 1px solid #e9ecef;
  border-top: none;
  font-size: 13px;
}

.jeg_postblock_section .jeg_post {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.jeg_post_title {
  font-size: 15px;
  margin: 0;
}

.jeg_post_title a {
  color: #d82226;
  text-decoration: none;
}

.sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #e9ecef;
  min-width: 220px;
  z-index: 100;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children.sfHover > .sub-menu,
.menu-item-has-children:hover > .sub-menu {
  display: block;
}

.sub-menu .sub-menu {
  left: 100%;
  top: 0;
}

@media (max-width: 767px) {
  .nuoi-lo-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* JNews auth modals */
.jeg_popup_overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.jeg_popup {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 24px;
}

.jeg_popup_close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.jeg_popup_content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #31305a;
  text-align: center;
}

.jeg_popup_subtitle,
.jeg_popup_note {
  text-align: center;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 16px;
}

.jeg_accountform .form-group {
  margin-bottom: 12px;
}

.jeg_accountform input[type="text"],
.jeg_accountform input[type="password"],
.jeg_accountform input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
}

.jeg_button {
  width: 100%;
  padding: 10px 16px;
  background: #d82226;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.jeg_button:hover {
  background: #c11e22;
}

.jeg_popup_footer {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.jeg_link {
  background: none;
  border: none;
  color: #d82226;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
}

.jeg_form_message {
  color: #d82226;
  font-size: 12px;
  text-align: center;
}

.soicau-channel-page {
  margin-bottom: 24px;
}

.soicau-channel-table {
  margin: 16px 0;
}

.soicau-channel-note {
  margin: 16px 0;
  padding: 12px;
  background: #f8f9fa;
  border-left: 3px solid #d82226;
  font-size: 13px;
}

.soicau-related-links ul {
  list-style: none;
  padding: 0;
}

.soicau-related-links li {
  margin-bottom: 6px;
}

.soicau-related-links a {
  color: #d82226;
  font-weight: 600;
  text-decoration: none;
}

/* VIP lô đẹp table — parity tokens (reference #31305a / accent) */
body.soicau247-home .soicau247-vip-widget .bang-chot-vip {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.soicau247-home .soicau247-vip-widget .bang-chot-vip .table-title-header th {
  background: #31305a;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  text-align: center;
}

body.soicau247-home .soicau247-vip-widget .bang-chot-vip thead tr:not(.table-title-header) th {
  background: #f0f0f5;
  color: #31305a;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid #e9ecef;
}

body.soicau247-home .soicau247-vip-widget .bang-chot-vip tbody td {
  padding: 8px 10px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

body.soicau247-home .soicau247-vip-widget .bang-chot-vip .cho-kq {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #fff8e6;
  color: #856404;
  font-weight: 600;
  font-size: 12px;
}

body.soicau247-home .soicau247-vip-widget .vip-cta {
  margin: 12px 0 0;
  font-size: 13px;
}

body.soicau247-home .soicau247-vip-widget .vip-cta a {
  color: #d82226;
  font-weight: 700;
}

