/* Compact brand cards with ratings, payment facts and internal licensing guides. */
#operators.operator-directory { padding-block: 34px; background: #f6f9fc; border-block: 1px solid #e0e8ef; }
#operators.operator-directory .section-head { gap: 22px; margin-bottom: 24px; align-items: center; }
#operators.operator-directory .section-head h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.2; margin: 0; }
#operators.operator-directory .section-head p { max-width: 480px; font-size: 12px; margin: 0; }
#operators.operator-directory .operator-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#operators.operator-directory .operator-card {
  --card-accent: #0072ce;
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 12px 14px;
  border: 1px solid #cfdeea;
  border-top: 3px solid var(--card-accent);
  border-radius: 10px;
  background: #fff;
  color: #152b3e;
  text-align: center;
  box-shadow: 0 3px 0 #e1e9f0, 0 8px 22px #15324906;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
#operators.operator-directory .operator-card:nth-child(even) { --card-accent: #152b3e; }
#operators.operator-directory .operator-card::after { content: ''; position: absolute; inset: 7px; border: 1px solid #e4ecf3; border-radius: 7px; pointer-events: none; z-index: -1; }
#operators.operator-directory .operator-card:hover { transform: translateY(-3px); box-shadow: 0 3px 0 #c8dbe9, 0 13px 25px #15324910; }
#operators.operator-directory .operator-card:focus-within { outline: 3px solid #0072ce; outline-offset: 4px; }
#operators.operator-directory .operator-suit { position: absolute; top: 4px; right: 6px; color: var(--card-accent); font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1; z-index: 2; pointer-events: none; }
#operators.operator-directory .operator-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  height: 72px;
  flex: 0 0 72px;
  margin: 4px 0 6px;
  padding: 0;
  border: 1px solid #172e42;
  border-radius: 7px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
#operators.operator-directory .operator-logo-panel img { display: block; flex-shrink: 0; width: 100%; height: auto; max-width: 210px; max-height: none; object-fit: contain; object-position: center; transform: scale(var(--logo-scale, 1)); }
/* Enlarge native canvas padding without altering the supplied brand artwork. */
#operators.operator-directory [data-brand=zizobet] { --logo-scale: 1.1; }
#operators.operator-directory [data-brand=velobet] { --logo-scale: 1.15; }
#operators.operator-directory [data-brand=dragonia] { --logo-scale: 2.1; }
#operators.operator-directory [data-brand=gambiva] { --logo-scale: 1.1; }
#operators.operator-directory [data-brand=lucky-dreams] .operator-logo-panel { background: #1a1e31; }
#operators.operator-directory [data-brand=dudespin] .operator-logo-panel img { max-width: 185px; }
#operators.operator-directory [data-brand=lucky-dreams] .operator-logo-panel img { width: auto; height: 66px; max-width: 100%; }
#operators.operator-directory .operator-wordmark { display: block; max-width: 100%; color: #fff; font-size: clamp(21px, 1.8vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; overflow-wrap: anywhere; }
#operators.operator-directory .operator-logo-panel--light,
#operators.operator-directory .operator-logo-panel[data-logo-theme=light] { background: #f1f7fc; border-color: #dbe7f0; color: #142f43; }
#operators.operator-directory .operator-logo-panel--light .operator-wordmark,
#operators.operator-directory .operator-logo-panel[data-logo-theme=light] .operator-wordmark { color: #142f43; }
#operators.operator-directory .operator-card > * { flex-shrink: 0; }
#operators.operator-directory .operator-name { min-width: 0; margin: 0 0 2px; color: #10283b; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; text-align: center; overflow-wrap: anywhere; }
#operators.operator-directory .operator-rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; min-height: 20px; margin: 0 0 3px; color: #234e70; font-size: 11px; line-height: 1.3; }
#operators.operator-directory .operator-rating strong { font-size: 11px; font-weight: 800; white-space: nowrap; }
#operators.operator-directory .operator-stars { position: relative; display: inline-block; color: #cad8e3; font-family: Arial, sans-serif; font-size: 16px; line-height: 1; letter-spacing: .5px; white-space: nowrap; }
#operators.operator-directory .operator-stars-empty { display: block; }
#operators.operator-directory .operator-stars-fill { position: absolute; inset: 0 auto 0 0; display: block; max-width: 100%; overflow: hidden; color: #0072ce; white-space: nowrap; }
#operators.operator-directory .operator-domain { margin: 0 0 6px; color: #607585; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
#operators.operator-directory .operator-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 7px; padding: 6px 0; border-block: 1px solid #e0e9f1; background: #f7fafc; }
#operators.operator-directory .operator-facts > div { min-width: 0; padding-inline: 4px; }
#operators.operator-directory .operator-facts > div + div { border-left: 1px solid #dbe5ee; }
#operators.operator-directory .operator-facts dt { margin: 0 0 2px; color: #607585; font-size: 10px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
#operators.operator-directory .operator-facts dd { margin: 0; color: #10283b; font-size: 12px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
#operators.operator-directory .operator-card > .operator-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 42px;
  width: 100%;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid #0072ce;
  border-radius: 6px;
  background: #0072ce;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease;
}
#operators.operator-directory .operator-card > .operator-details:hover { background: #005fae; border-color: #005fae; }
#operators.operator-directory .operator-card > .operator-details:focus-visible { outline: 3px solid #0072ce; outline-offset: 4px; }
#operators.operator-directory .operator-label { display: block; margin-top: 10px; color: #627788; font-size: 10px; line-height: 1.6; }
@media (max-width: 1280px) {
  #operators.operator-directory .operator-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  #operators.operator-directory .operator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  #operators.operator-directory .operator-card { padding-inline: 14px; }
  #operators.operator-directory .operator-wordmark { font-size: 25px; }
}
@media (max-width: 850px) {
  #operators.operator-directory .operator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #operators.operator-directory .operator-card { padding: 14px; }
  #operators.operator-directory .operator-name { font-size: 19px; }
}
/* Keep two compact, readable cards per row on phones, including narrow screens. */
@media (max-width: 560px) {
  #operators.operator-directory .operator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
  #operators.operator-directory .operator-card { min-height: 264px; padding: 10px; }
  #operators.operator-directory .operator-card::after { inset: 5px; }
  #operators.operator-directory .operator-logo-panel { height: 56px; flex-basis: 56px; margin-bottom: 7px; }
  #operators.operator-directory [data-brand=lucky-dreams] .operator-logo-panel img { height: 52px; }
  #operators.operator-directory .operator-wordmark { font-size: 18px; }
  #operators.operator-directory .operator-name { font-size: 16px; }
  #operators.operator-directory .operator-rating { gap: 4px; min-height: 18px; font-size: 10px; }
  #operators.operator-directory .operator-rating strong { font-size: 10px; }
  #operators.operator-directory .operator-stars { font-size: 14px; letter-spacing: 0; }
  #operators.operator-directory .operator-domain { font-size: 10.5px; }
  #operators.operator-directory .operator-facts { padding-block: 5px; }
  #operators.operator-directory .operator-facts dt { min-height: 25px; font-size: 9.5px; }
  #operators.operator-directory .operator-facts dd { font-size: 11px; }
  #operators.operator-directory .operator-card > .operator-details { min-height: 44px; padding-inline: 6px; }
}
@media (max-width: 360px) {
  #operators.operator-directory .operator-card { padding-inline: 8px; }
  #operators.operator-directory .operator-logo-panel { height: 52px; flex-basis: 52px; }
  #operators.operator-directory [data-brand=lucky-dreams] .operator-logo-panel img { height: 48px; }
  #operators.operator-directory .operator-facts > div { padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  #operators.operator-directory .operator-card,
  #operators.operator-directory .operator-details { transition: none; }
  #operators.operator-directory .operator-card:hover { transform: none; }
}
