/* Brand colors */
.wrapper .brand-888sport  { background-color: #1A1A1A; color: #FF9900; }
.wrapper .brand-leovegas  { background-color: #E85000; color: #FFFFFF; }
.wrapper .brand-betway    { background-color: #00302E; color: #FFFFFF; }
.wrapper .brand-tooniebet { background-color: #5B1F9F; color: #FFFFFF; }
.wrapper .brand-tonybet   { background-color: #1B1F3B; color: #FF6B6B; }
.wrapper .brand-caesars   { background-color: #1A1A5E; color: #7AB830; }
.wrapper .brand-northstar { background-color: #0A1628; color: #A8D840; }

/* Logo containers keep white backgrounds regardless of brand colour */
.sb-section .sb-logo-block .sb-brand,
.quick-section .quick-brand { background-color: #FFFFFF; border: 1px solid #E8E8E8; color: transparent; }

/* QUICK LIST */
.quick-section { padding: 48px 0; border-bottom: 1px solid #E8E8E8; }
.quick-section .quick-list { display: flex; flex-direction: column; gap: 0; border: 1px solid #E8E8E8; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.quick-section .quick-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background-color: #FFFFFF; border-bottom: 1px solid #F0F0F0; transition: background-color 0.15s ease; }
.quick-section .quick-item:last-child { border-bottom: none; }
.quick-section .quick-item:nth-child(even) { background-color: #FAFAFA; }
.quick-section .quick-item:hover { background-color: #F2F9ED !important; }
.quick-section .quick-rank-wrap { flex-shrink: 0; width: 28px; text-align: center; }
.quick-section .quick-num { font-size: 14px; font-weight: 800; color: #5A8A3C; }
.quick-section .quick-brand { flex-shrink: 0; width: 80px; height: 36px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; letter-spacing: 0.3px; }
.quick-section .quick-brand .sb-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; padding: 3px; box-sizing: border-box; }
.quick-section .quick-text { flex: 1; min-width: 0; }
.quick-section .quick-name { font-size: 14px; font-weight: 700; color: #1A1A1A; margin-bottom: 2px; }
.quick-section .quick-offer { font-size: 13px; color: #5A8A3C; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-section .quick-cta-wrap { flex-shrink: 0; }

@media (min-width: 768px) {
  .quick-section .quick-brand { width: 100px; font-size: 12px; }
  .quick-section .quick-offer { white-space: normal; }
}

/* PROMO TABLE */
.promo-section { padding: 48px 0; background-color: #F8FAF7; border-bottom: 1px solid #E8E8E8; }
.promo-section .table-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.promo-section .promo-table { width: 100%; border: 1px solid #E8E8E8; border-radius: 10px; overflow: hidden; min-width: 600px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.promo-section .promo-table thead tr { background-color: #111D11; }
.promo-section .promo-table th { padding: 13px 14px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); text-align: left; white-space: nowrap; letter-spacing: 0.5px; text-transform: uppercase; }
.promo-section .promo-table td { padding: 12px 14px; font-size: 14px; color: #1A1A1A; vertical-align: middle; border-bottom: 1px solid #F0F0F0; }
.promo-section .promo-table .row-alt td { background-color: #F8F8F8; }
.promo-section .promo-table .t-brand { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 900; height: 28px; letter-spacing: 0.3px; }
.promo-section .promo-table .t-bonus { color: #5A8A3C; font-weight: 700; }
.promo-section .promo-table .t-promo-link { display: inline-block; font-size: 12px; font-weight: 700; color: #FFFFFF; background-color: #5A8A3C; padding: 4px 10px; border-radius: 3px; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease; }
.promo-section .promo-table .t-promo-link:hover { background-color: #3F6828; text-decoration: none; color: #FFFFFF; }
.promo-section .promo-table .th-rank { width: 36px; }

/* SPORTSBOOK CARDS */
.sb-section { padding: 48px 0; border-bottom: 1px solid #E8E8E8; }
.sb-section .sb-card { border: 1px solid #E8E8E8; border-radius: 10px; margin-bottom: 16px; background-color: #FFFFFF; overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.sb-section .sb-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(90,138,60,0.13), 0 2px 8px rgba(0,0,0,0.06); border-color: #C8E0A8; }
.sb-section .sb-main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 16px; }
.sb-section .sb-rank { flex-shrink: 0; width: 36px; text-align: center; }
.sb-section .rank-num { font-size: 26px; font-weight: 900; color: #5A8A3C; line-height: 1; display: block; }
.sb-section .sb-logo-block { flex-shrink: 0; }
.sb-section .sb-brand { width: 90px; height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; letter-spacing: 0.3px; text-align: center; }
.sb-section .sb-brand .sb-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; padding: 4px; box-sizing: border-box; }
.sb-section .sb-bonus-block { flex: 1; min-width: 180px; }
.sb-section .sb-bonus-text { font-size: 14px; font-weight: 700; color: #1A1A1A; margin-bottom: 6px; }
.sb-section .sb-promo-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sb-section .promo-label { font-size: 12px; color: #666666; }
.sb-section .sb-promo-hook { font-size: 11px; font-weight: 700; color: #1D7A3A; background-color: #EEF8EE; border-left: 3px solid #1D7A3A; padding: 5px 8px 5px 26px; border-radius: 0 4px 4px 0; line-height: 1.4; position: relative; }
.sb-section .sb-promo-hook::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%231D7A3A'/%3E%3Cpath d='M3.5 7l2.5 2.5 4.5-5' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 12px; }
.sb-section .sb-rating-block { flex-shrink: 0; min-width: 160px; }
.sb-section .sb-feature-tag { display: block; font-size: 12px; font-weight: 700; color: #FFFFFF; background-color: #5A8A3C; padding: 3px 8px; border-radius: 3px; margin-bottom: 6px; width: fit-content; letter-spacing: 0.2px; }
.sb-section .stars-display { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.sb-section .sb-score { font-size: 13px; font-weight: 700; color: #1A1A1A; }
.sb-section .sb-cta-block { flex-shrink: 0; text-align: center; }
.sb-section .sb-avail { font-size: 11px; color: #888888; margin-top: 5px; text-align: center; }
.sb-section .sb-details { border-top: 1px solid #F2F2F2; padding: 16px; background-color: #FAFAFA; }
.sb-section .detail-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.sb-section .detail-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F2F2F2; }
.sb-section .detail-row:last-child { border-bottom: none; }
.sb-section .detail-cat { font-size: 13px; color: #1A1A1A; font-weight: 500; flex: 1; }
.sb-section .detail-stars { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }
.sb-section .detail-val { font-size: 13px; font-weight: 800; color: #5A8A3C; flex-shrink: 0; width: 36px; text-align: right; }
.sb-section .sb-footer { padding: 10px 16px; border-top: 1px solid #F2F2F2; background-color: #FAFAFA; }
.sb-section .sb-toggle-wrap { display: flex; }
.sb-section .sb-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: #5A8A3C; }
.sb-section .toggle-label { }
.sb-section .toggle-icon-wrap { display: flex; align-items: center; transition: transform 0.2s ease; }
.sb-section .sb-toggle.open .toggle-icon-wrap { transform: rotate(180deg); }

/* Per-offer Ontario RG disclaimer */
.sb-section .offer-disclaimer { font-size: 11px; color: #555555; line-height: 1.55; margin: 0; padding: 9px 16px; background-color: #F7FAF5; border-top: 1px solid #E5EFD9; }
.sb-section .offer-disclaimer a { color: #5A8A3C; text-decoration: underline; }
.sb-section .offer-disclaimer a:hover { color: #3F6828; }

/* EXPERT VERDICT */
.sb-section .expert-verdict { margin-top: 12px; padding: 13px 16px; background: linear-gradient(135deg, #F5FAF0 0%, #EEF6E6 100%); border-left: 4px solid #5A8A3C; border-radius: 0 6px 6px 0; }
.sb-section .verdict-label { font-size: 10px; font-weight: 800; color: #5A8A3C; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 5px; }
.sb-section .verdict-text { font-size: 13px; color: #3A3A3A; line-height: 1.65; }

@media (min-width: 768px) {
  .sb-section .sb-main { flex-wrap: nowrap; }
  .sb-section .detail-grid { grid-template-columns: 1fr 1fr; }
  .sb-section .sb-brand { width: 100px; height: 48px; }
  .sb-section .rank-num { font-size: 28px; }
}
/* HOW TO SIGN UP */
.howto-section { padding: 48px 0; border-bottom: 1px solid #E8E8E8; }
.howto-section .steps-list { display: flex; flex-direction: column; gap: 0; counter-reset: none; }
.howto-section .step-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid #F2F2F2; }
.howto-section .step-item:last-child { border-bottom: none; }
.howto-section .step-num-wrap { flex-shrink: 0; }
.howto-section .step-num { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background-color: #5A8A3C; color: #FFFFFF; font-size: 18px; font-weight: 900; border-radius: 50%; box-shadow: 0 4px 12px rgba(90,138,60,0.30); }
.howto-section .step-body { flex: 1; }
.howto-section .step-title { font-size: 16px; font-weight: 800; color: #1A1A1A; margin-bottom: 6px; }
.howto-section .step-desc { font-size: 15px; color: #444444; line-height: 1.65; }

/* HOW WE RANK */
.criteria-section { padding: 48px 0; background-color: #F8FAF7; border-bottom: 1px solid #E8E8E8; }
.criteria-section .criteria-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.criteria-section .criteria-card { background-color: #FFFFFF; border: 1px solid #E8E8E8; border-top: 3px solid transparent; border-radius: 8px; padding: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease; }
.criteria-section .criteria-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.07); border-top-color: #5A8A3C; }
.criteria-section .criteria-icon { margin-bottom: 12px; }
.criteria-section .criteria-title { font-size: 15px; font-weight: 800; color: #1A1A1A; margin-bottom: 8px; }
.criteria-section .criteria-desc { font-size: 14px; color: #555555; line-height: 1.65; }

@media (min-width: 768px) {
  .criteria-section .criteria-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .criteria-section .criteria-grid { grid-template-columns: repeat(3, 1fr); }
}

/* EDITORIAL SECTIONS */
.editorial-section { padding: 48px 0; border-bottom: 1px solid #E8E8E8; }
.editorial-section .editorial-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.editorial-section .editorial-card { background-color: #FFFFFF; border: 1px solid #E8E8E8; border-left: 4px solid #5A8A3C; border-radius: 0 6px 6px 0; padding: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.editorial-section .editorial-card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.07); }
.editorial-section .editorial-title { font-size: 15px; font-weight: 800; color: #1A1A1A; margin-bottom: 8px; }
.editorial-section .editorial-text { font-size: 14px; color: #555555; line-height: 1.7; }
.bettypes-section .bettypes-grid { }

@media (min-width: 768px) {
  .editorial-section .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .bettypes-section .bettypes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .editorial-section .editorial-grid { grid-template-columns: repeat(3, 1fr); }
}
