
/* --- 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;
    }
}

