/* Štartová listina – izolovaný vzhľad nezávislý od témy WordPressu. */
.slgs { --slgs-ink: #15212c; --slgs-muted: #697787; --slgs-border: #e4e9ec; --slgs-strava: #fc4c02; box-sizing: border-box; width: 100%; max-width: 1100px; margin-inline: auto; color: var(--slgs-ink); font-family: inherit; }
.slgs *, .slgs *::before, .slgs *::after { box-sizing: border-box; }
.slgs-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 23px; flex-wrap: wrap; }
.slgs-intro { min-width: 0; }
.slgs-title { margin: 0 0 4px !important; color: var(--slgs-ink); font-size: clamp(24px, 3vw, 33px) !important; line-height: 1.15 !important; font-weight: 800 !important; letter-spacing: -.035em; }
.slgs-subtitle { margin: 0 !important; color: var(--slgs-muted); font-size: 14px !important; line-height: 1.6 !important; }
.slgs-search-wrap { display: inline-flex; align-items: center; gap: 9px; width: min(100%, 310px); min-width: 240px; padding: 0 13px; border: 1px solid #dbe3e7; background: #fff; color: #85929e; border-radius: 10px; height: 44px; transition: border-color .18s, box-shadow .18s; }
.slgs-search-wrap:focus-within { border-color: #97a9b4; box-shadow: 0 0 0 3px rgba(30,60,90,.09); }
.slgs-search-wrap input[type="search"] { display: block; outline: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100%; height: 100%; min-width: 0; font: inherit; font-size: 14px !important; color: var(--slgs-ink); }
.slgs-search-wrap input[type="search"]::placeholder { color: #909ca7; opacity: 1; }
.slgs-table-wrap { overflow-x: auto; border: 1px solid var(--slgs-border); border-radius: 14px; background: white; box-shadow: 0 5px 24px rgba(20,45,65,.035); }
.slgs-table { width: 100%; border-collapse: collapse !important; border-spacing: 0 !important; table-layout: auto; margin: 0 !important; font-size: 15px; }
.slgs-table thead { background: #f6f8f9; }
.slgs-table th { text-align: left; background: #f6f8f9 !important; padding: 15px 22px !important; border: 0 !important; border-bottom: 1px solid var(--slgs-border) !important; color: #687786; font-size: 11px !important; text-transform: uppercase; font-weight: 700 !important; letter-spacing: .085em; line-height: 1.4; }
.slgs-table td { background: #fff; color: var(--slgs-ink); padding: 13px 22px !important; border: 0 !important; border-bottom: 1px solid #ecf0f2 !important; font-size: 15px; line-height: 1.4; vertical-align: middle; }
.slgs-table tbody tr:last-child td { border-bottom: 0 !important; }
.slgs-table tbody tr:hover td { background: #fcfdfd; }
.slgs-table th:first-child, .slgs-table td:first-child { width: 118px; }
.slgs-number { display: inline-flex; align-items: center; justify-content: center; min-width: 45px; min-height: 33px; padding: 3px 9px; background: #f0f3f5; color: #243440; border: 1px solid #e4eaee; border-radius: 8px; font-size: 14px; font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Route labels are compact, readable and visible without relying on color alone. */
.slgs-route-heading, .slgs-route-cell { width: 142px; white-space: nowrap; }
.slgs-route { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slgs-route--long { color: #a61e2b; background: #fff0f2; }
.slgs-route--short { color: #176a41; background: #eaf6ee; }
.slgs-route--other { color: #536270; background: #f0f3f5; }
.slgs-name-cell { font-weight: 670; letter-spacing: -.01em; }
.slgs-country { display: inline-flex; align-items: center; gap: 8px; color: #485764; white-space: nowrap; font-size: 14px; font-weight: 600; }
.slgs-flag { font-size: 21px; line-height: 1; }
.slgs-social-heading, .slgs-social-cell { width: 106px; text-align: center !important; }
.slgs-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex !important; justify-content: center; align-items: center; text-decoration: none !important; box-shadow: none !important; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; }
.slgs-icon img { display: block; width: 19px; height: 19px; border: 0; box-shadow: none; }
.slgs-icon--strava { background: #fff2eb; border-color: #ffe7db; }
.slgs-icon--instagram { background: #ffeff4; border-color: #fce1e9; }
.slgs-icon:hover { transform: translateY(-1px); }
.slgs-icon--strava:hover { background: #ffe6d8; }
.slgs-icon--instagram:hover { background: #fce0ea; }
.slgs-icon:focus-visible { outline: 3px solid #6b9db9; outline-offset: 2px; }
.slgs-absent { color: #b4bdc4; font-weight: 400; }
.slgs-no-results, .slgs-no-data { margin: 16px 0 !important; padding: 20px; border: 1px dashed #dbe3e7; border-radius: 10px; color: #667685; text-align: center; }
.slgs [hidden] { display: none !important; }
.slgs-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 680px) {
  .slgs-toolbar { align-items: stretch; gap: 14px; margin-bottom: 15px; }
  .slgs-search-wrap { width: 100%; min-width: 0; }
  .slgs-table-wrap { border: 0; border-radius: 0; box-shadow: none; overflow: visible; background: transparent; }
  .slgs-table, .slgs-table tbody { display: block !important; width: 100%; }
  .slgs-table thead { display: none !important; }
  .slgs-table tbody { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .slgs-table tr.slgs-rider { display: grid !important; grid-template-columns: minmax(58px, max-content) minmax(0, 1fr) 40px 40px; grid-template-rows: auto auto; column-gap: 7px; row-gap: 3px; align-items: center; background: #fff; border: 1px solid var(--slgs-border); border-radius: 12px; padding: 13px 12px; min-height: 77px; }
  .slgs-table tr.slgs-rider td { display: block !important; border: 0 !important; padding: 0 !important; width: auto !important; background: transparent !important; }
  .slgs-number-cell { grid-column: 1; grid-row: 1 / 3; }
  .slgs-name-cell { grid-column: 2; grid-row: 1; align-self: end; min-width: 0; overflow-wrap: anywhere; font-size: 14px !important; }
  .slgs-country-cell { grid-column: 2; grid-row: 2; align-self: start; }
  .slgs-country { font-size: 12px; gap: 4px; }
  .slgs-flag { font-size: 17px; }
  .slgs-social-cell--strava { grid-column: 3; grid-row: 1 / 3; }
  .slgs-social-cell--instagram { grid-column: 4; grid-row: 1 / 3; }
  /* Route-enabled lists use an extra line; older lists keep the original grid. */
  .slgs-table--with-route tr.slgs-rider { grid-template-rows: auto auto auto; min-height: 94px; }
  .slgs-table--with-route .slgs-number-cell { grid-row: 1 / 4; }
  .slgs-table--with-route .slgs-route-cell { grid-column: 2; grid-row: 2; white-space: normal; }
  .slgs-table--with-route .slgs-country-cell { grid-column: 2; grid-row: 3; }
  .slgs-table--with-route .slgs-social-cell--strava, .slgs-table--with-route .slgs-social-cell--instagram { grid-row: 1 / 4; }
  .slgs-table--with-route .slgs-name-cell { grid-row: 1; }
  .slgs-route { font-size: 12px; min-height: 26px; padding: 3px 8px; }
  .slgs-number { min-width: 42px; min-height: 37px; font-size: 13px; }
  .slgs-icon { width: 35px; height: 35px; }
}
/* Search results must stay hidden on phones even when rows become CSS grids. */
.slgs .slgs-table tr.slgs-rider[hidden] { display: none !important; }
