
/* --- olegtix-block-league_matches_tabs --- */
.block-lm-tabs {
  margin-bottom: 16px;
}

.block-lm-tabs__title {
  font-size: 24px;
  font-weight: 700;
  color: #232323;
  margin: 0 0 16px;
}

.block-lm-tabs .sport-tabs {
  margin: 0 0 16px;
}

.block-lm-tabs .sort-btn:not(.sort-btn--active) {
  background: transparent;
  color: var(--text);
}

.block-lm-tabs .sort-btn--active {
  background-color: var(--white);
  color: var(--primary);
}

.block-lm-tabs__panels {
  min-height: 100px;
}

.block-lm-tabs__panel {
  display: none;
}

.block-lm-tabs__panel--active {
  display: block;
}

.block-lm-tabs__panel .matches-table {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 4px;
  margin-bottom: 16px;
}

.block-lm-tabs__panel .matches-table:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .block-lm-tabs__panel .matches-table {
    background: transparent;
    padding: 0;
  }
}


/* --- olegtix-block-expert_predictions --- */
.block-expert-predictions {
  margin-bottom: 16px;
}

.block-expert-predictions .dates-header {
  margin-bottom: 16px;
}

.block-expert-predictions .sport-tabs {
  margin: 0 0 16px;
}

.block-expert-predictions .sort-btn:not(.sort-btn--active) {
  background: transparent;
  color: var(--text);
}

.block-expert-predictions .sort-btn--active {
  background-color: var(--white);
  color: var(--primary);
}

.block-expert-predictions__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-expert-predictions__empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #7d7d7d;
}

.block-expert-predictions__empty + .block-expert-predictions__nearest {
  padding-top: 0;
}

.block-expert-predictions__nearest {
  padding: 8px 20px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.block-expert-predictions__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.block-expert-predictions__more-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  padding: 0 32px;
  height: 50px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.block-expert-predictions__more-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.block-expert-predictions__more-btn--loading {
  opacity: 0.6;
  pointer-events: none;
}



/* --- olegtix-block-banner --- */
.block-banner {
    padding: 48px 0;
}

.block-banner__link {
    display: block;
}

.block-banner__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* --- olegtix-block-experts_slider --- */
.experts-slider {
  padding: 48px 0;
  overflow: hidden;
  width: 100%;
}

.experts-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.experts-slider__title {
  margin: 0;
}

.experts-slider__navigation {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.experts-slider__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.experts-slider__nav-btn:hover {
  background-color: var(--grey-light);
}

.experts-slider__nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.experts-slider__slider {
  overflow: visible;
  width: 100%;
}

.experts-slider__footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.experts-slider__footer .btn {
  padding: 14px 32px;
}

.expert-card {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.expert-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.expert-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey-light);
  color: var(--text);
  font-size: 36px;
  font-weight: 700;
}

.expert-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.expert-card__position {
  font-size: 14px;
  color: #888;
  margin-top: -12px;
}

.expert-card__btn {
  width: 100%;
  font-size: 14px;
  padding: 12px 20px;
}

@media (max-width: 991px) {
  .experts-slider {
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .experts-slider {
    padding: 32px 0;
  }

  .experts-slider__header {
    margin-bottom: 16px;
  }

  .expert-card {
    padding: 16px;
    gap: 16px;
  }

  .expert-card__avatar {
    width: 80px;
    height: 80px;
  }

  .expert-card__name {
    font-size: 16px;
  }
}


/* --- olegtix-block-experts --- */
.block-experts {
  margin-top: 40px;
  margin-bottom: 40px;
}

.block-experts__title {
  margin-bottom: 24px;
}

.block-experts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.expert-listing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
}

.expert-listing-card__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.expert-listing-card__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grey-light);
}

.expert-listing-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-listing-card__avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--grey);
  font-size: 36px;
  font-weight: 700;
}

.expert-listing-card__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.expert-listing-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.expert-listing-card__position {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--grey);
}

.expert-listing-card__sport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grey-light);
}

.expert-listing-card__sport img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.expert-listing-card__bio {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expert-listing-card__stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expert-listing-card__stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--grey-light);
}

.expert-listing-card__stat-label {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text);
}

.expert-listing-card__stat-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  white-space: nowrap;
}

.expert-listing-card__btn {
  margin-top: auto;
  width: 100%;
  height: 50px;
  padding: 0 32px;
  box-shadow: 0 5px 10px rgba(147, 69, 216, 0.25);
}

.block-experts__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.block-experts__more[hidden] {
  display: none;
}

.block-experts__more-btn {
  min-width: 185px;
  height: 50px;
}

.block-experts__more-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.block-experts__pagination {
  display: flex;
  justify-content: center;
}

.block-experts__empty {
  padding: 32px 0;
  color: var(--grey);
  font-size: 14px;
}

.block-experts.is-loading {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .block-experts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .block-experts {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .block-experts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .block-experts__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .block-experts__more-btn {
    width: 100%;
  }
}


/* --- olegtix-block-sport_leagues --- */
.block-sport-leagues {
    margin: 0;
}

.block-sport-leagues .sport-tabs {
    margin: 0 0 16px;
}

.block-sport-leagues__hub-link {
    display: inline-block;
    margin: 0 0 12px;
    color: #9345d8;
    font-weight: 600;
    text-decoration: none;
}

.block-sport-leagues__hub-link:hover {
    text-decoration: underline;
}

.block-sport-leagues__see-all {
    display: inline-block;
    margin-top: 8px;
    color: #9345d8;
    font-size: 14px;
    text-decoration: none;
}

.block-sport-leagues__see-all:hover {
    text-decoration: underline;
}

.block-sport-leagues__panel {
    display: none;
}

.block-sport-leagues__panel--active {
    display: block;
}

.block-sport-leagues__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.block-sport-leagues__card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #232323;
    font-size: 14px;
    transition: opacity 0.2s;
}

.block-sport-leagues__card:hover {
    opacity: 0.7;
}

.block-sport-leagues__panel[data-panel="popular"] .block-sport-leagues__card {
    background: #fff;
}

.block-sport-leagues__empty {
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    color: #7d7d7d;
    font-size: 14px;
}

.block-sport-leagues__card-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.block-sport-leagues__card-icon {
    display: flex;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.block-sport-leagues__card-icon svg {
    width: 100%;
    height: 100%;
}

.block-sport-leagues__country {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 0 20px;
}

.block-sport-leagues__country-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.block-sport-leagues__country-flag {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
}

.block-sport-leagues__country-name {
    font-weight: 700;
    font-size: 16px;
    color: #232323;
    flex: 1;
}

.block-sport-leagues__country-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #7d7d7d;
}

.block-sport-leagues__country--open .block-sport-leagues__country-chevron {
    transform: rotate(180deg);
}

.block-sport-leagues__country-body {
    display: none;
    padding: 0 0 16px;
}

.block-sport-leagues__country--open .block-sport-leagues__country-body {
    display: block;
}

@media (max-width: 768px) {
    .block-sport-leagues__grid {
        grid-template-columns: 1fr;
    }

    .block-sport-leagues .sport-tabs__tab {
        font-size: 18px;
    }

    .block-sport-leagues .sport-tabs__tab-text {
        display: inline;
    }
}


/* --- olegtix-sport-subpages --- */
.match-center__title {
    margin-bottom: 20px;
}

.match-center__title-original {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #6b7280;
    margin-top: -12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .match-center__title-original {
        font-size: 15px;
        margin-top: -8px;
    }
}

.match-center__tournament {
    margin-bottom: 24px;
}

.match-center__tournament-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-center__badge-live {
    display: inline-block;
    padding: 2px 8px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    line-height: 1.4;
    flex-shrink: 0;
}

.match-center__match {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.match-center__match--live {
    background: #fef3f3;
}

.match-center__match-time {
    width: 50px;
    flex-shrink: 0;
    color: #666;
    font-size: 14px;
}

.match-center__match-status {
    width: 50px;
    flex-shrink: 0;
    color: #e53935;
    font-weight: 600;
    font-size: 12px;
}

.match-center__match-home,
.match-center__match-away {
    flex: 1;
    font-size: 14px;
}

.match-center__match-away {
    text-align: right;
}

.match-center__match-score {
    width: 60px;
    text-align: center;
    font-weight: 600;
    flex-shrink: 0;
}

.match-center__section {
    margin-bottom: 30px;
}

.match-center__section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.match-center__empty {
    color: #999;
    padding: 20px 0;
}


/* --- olegtix-match-detail-tennis --- */
.match-detail-tennis {
    margin: 20px 0;
}

.match-detail-tennis__info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #888;
}

.match-detail-tennis__surface {
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.match-detail-tennis__format {
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.match-detail-tennis__sets {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.match-detail-tennis__sets th,
.match-detail-tennis__sets td {
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.match-detail-tennis__sets th {
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.match-detail-tennis__player-col {
    text-align: left !important;
    min-width: 150px;
    font-weight: 500;
}

.match-detail-tennis__total-col {
    font-weight: 700;
    background: #f9f9f9;
}

.match-detail-tennis__row--winner td {
    font-weight: 600;
}

.match-detail-tennis__set--won {
    color: #2e7d32;
    font-weight: 700;
}

.match-detail-tennis__sets sup {
    font-size: 10px;
    color: #999;
    margin-left: 1px;
}


/* --- olegtix-match-detail-esports --- */
.match-detail-esports {
    margin: 20px 0;
}

.match-detail-esports__format {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
}

.match-detail-esports__games {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.match-detail-esports__game {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.match-detail-esports__game-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f9f9f9;
    font-size: 14px;
}

.match-detail-esports__game-num {
    font-weight: 600;
}

.match-detail-esports__game-map {
    color: #666;
}

.match-detail-esports__game-score {
    margin-left: auto;
    font-weight: 700;
    font-size: 16px;
}

.match-detail-esports__game-score--finished {
    color: #333;
}

.match-detail-esports__players {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.match-detail-esports__players th,
.match-detail-esports__players td {
    padding: 6px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.match-detail-esports__players th {
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.match-detail-esports__players td:first-child {
    text-align: left;
    font-weight: 500;
}

.match-detail-esports__player-row--home td:first-child {
    border-left: 3px solid #1976d2;
}

.match-detail-esports__player-row--away td:first-child {
    border-left: 3px solid #e53935;
}

.match-detail-esports__separator td {
    height: 2px;
    padding: 0;
    background: #ddd;
    border: none;
}

.match-detail-esports__rounds {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 10px 16px;
    align-items: center;
}

.match-detail-esports__round {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: inline-block;
}

.match-detail-esports__round--ct {
    background: rgba(25, 118, 210, 0.3);
}

.match-detail-esports__round--t {
    background: rgba(255, 152, 0, 0.3);
}

.match-detail-esports__round--home-win {
    opacity: 1;
}

.match-detail-esports__round--away-win {
    opacity: 0.5;
}

.match-detail-esports__round--ct.match-detail-esports__round--home-win {
    background: #1976d2;
}

.match-detail-esports__round--t.match-detail-esports__round--home-win {
    background: #ff9800;
}

.match-detail-esports__round--ct.match-detail-esports__round--away-win {
    background: rgba(25, 118, 210, 0.4);
}

.match-detail-esports__round--t.match-detail-esports__round--away-win {
    background: rgba(255, 152, 0, 0.4);
}

.match-detail-esports__round-ot-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin: 0 4px;
}

.match-detail-esports__round--ot {
    background: #9e9e9e;
}

.match-detail-esports__round--ot.match-detail-esports__round--home-win {
    background: #4caf50;
}

.match-detail-esports__round--ot.match-detail-esports__round--away-win {
    background: rgba(76, 175, 80, 0.4);
}

.match-detail-esports__bans {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid #eee;
}

.match-detail-esports__bans-team {
    display: flex;
    gap: 6px;
    flex: 1;
}

.match-detail-esports__bans-team:last-child {
    justify-content: flex-end;
}

.match-detail-esports__bans-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
}

.match-detail-esports__ban img {
    border-radius: 4px;
    opacity: 0.6;
    filter: grayscale(60%);
}

