
/* --- olegtix-match-preview --- */
.match-preview {
  margin: 0 0 20px;
}
.match-preview__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.match-preview__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.match-preview__section + .match-preview__section {
  padding-top: 20px;
  border-top: 1px solid #ececec;
}
.match-preview__section-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.match-preview__section-subtitle {
  font-size: 12px;
  color: var(--grey);
  margin-top: 2px;
}
.match-preview__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.match-preview__form-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.match-preview__form-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.match-preview__form-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.match-preview__form-team-name {
  font-weight: 600;
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-preview__form-badges {
  display: flex;
  gap: 4px;
}
.match-preview__form-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.match-preview__form-badge--win {
  background: #3aa657;
}
.match-preview__form-badge--draw {
  background: #9a9a9a;
}
.match-preview__form-badge--loss {
  background: #d64545;
}
.match-preview__form-meta {
  font-size: 12px;
  color: var(--grey);
}
.match-preview__duel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-preview__duel + .match-preview__duel {
  margin-top: 12px;
}
.match-preview__duel-caption {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.match-preview__duel-counts {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
}
.match-preview__duel-count--home {
  color: var(--primary);
}
.match-preview__duel-count--draw {
  color: var(--grey);
}
.match-preview__duel-count--away {
  color: #2f80c0;
}
.match-preview__duel-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--grey-light);
}
.match-preview__duel-seg--home {
  background: var(--primary);
}
.match-preview__duel-seg--draw {
  background: #c9c9c9;
}
.match-preview__duel-seg--away {
  background: #2f80c0;
}
.match-preview__duel-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--grey);
}
.match-preview__streaks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.match-preview__streak {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grey-light);
  color: var(--text);
  border-left: 3px solid transparent;
}
.match-preview__streak--home {
  border-left-color: var(--primary);
}
.match-preview__streak--away {
  border-left-color: #2f80c0;
}
.match-preview__streak--both {
  border-left-color: #9a9a9a;
}
@media (max-width: 640px) {
  .match-preview__form {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* --- olegtix-match-best-players --- */
.match-best-players {
  margin: 0 0 20px;
}
.match-best-players__potm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid #ececec;
  text-align: center;
}
.match-best-players__potm-caption {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
}
.match-best-players__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.match-best-players__column {
  min-width: 0;
}
.match-best-players__column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.match-best-players__team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.match-best-players__team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-best-players__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-best-players__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--grey-light);
}
.match-best-players__item--featured {
  flex-direction: column;
  gap: 6px;
  background: transparent;
  padding: 0;
}
.match-best-players__player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: var(--text);
}
.match-best-players__item--featured .match-best-players__player {
  flex-direction: column;
  flex: 0 0 auto;
}
.match-best-players__player--link:hover .match-best-players__name {
  color: var(--primary);
}
.match-best-players__photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
}
.match-best-players__item--featured .match-best-players__photo {
  width: 56px;
  height: 56px;
}
.match-best-players__name {
  font-weight: 600;
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.match-best-players__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  line-height: 1.1;
}
.match-best-players__item--featured .match-best-players__metric {
  align-items: center;
}
.match-best-players__value {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}
.match-best-players__item--featured .match-best-players__value {
  font-size: 22px;
}
.match-best-players__label {
  font-size: 11px;
  color: var(--grey);
}
@media (max-width: 640px) {
  .match-best-players__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --- olegtix-match-missing-players --- */
.match-missing {
  margin: 0 0 20px;
}
.match-missing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.match-missing__column {
  min-width: 0;
}
.match-missing__column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.match-missing__team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.match-missing__team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-missing__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-missing__player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--grey-light);
  border-left: 3px solid transparent;
}
.match-missing__player--missing {
  border-left-color: #d64545;
}
.match-missing__player--doubtful {
  border-left-color: #e0912f;
}
.match-missing__photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
}
.match-missing__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 2px;
}
.match-missing__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-missing__reason {
  font-size: 12px;
  color: var(--grey);
}
.match-missing__return {
  font-size: 12px;
  color: var(--primary);
}
.match-missing__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.match-missing__badge--missing {
  background: rgba(214, 69, 69, 0.12);
  color: #c23636;
}
.match-missing__badge--doubtful {
  background: rgba(224, 145, 47, 0.15);
  color: #c0761d;
}
@media (max-width: 640px) {
  .match-missing__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --- olegtix-player-matches-history --- */
.player-matches-history {
    margin: 24px 0;
}

.player-matches-history__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.player-matches-history__empty {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 12px;
}

.player-matches-history__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-matches-history__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .player-matches-history__title {
        font-size: 18px;
    }
}


/* --- olegtix-block-app_data --- */
.block-app-data {
  margin: 0 15px;
  padding: 40px 0;
}



.block-app-data__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.block-app-data__item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s 
ease;
}

.block-app-data__item--featured {
  background-color: var(--white, #ffffff);
  border: 2px solid var(--gold, #ffd700);
  position: relative;
}

.block-app-data__item--featured::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border-radius: 12px;
  z-index: -1;
}

.block-app-data__item-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.block-app-data__item-icon {
  flex-shrink: 0;
  color: var(--gold, #ffd700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-app-data__item--featured .block-app-data__item-icon {
  color: var(--gold, #ffd700);
}

.block-app-data__item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.block-app-data__item-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #333333);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-app-data__item--featured .block-app-data__item-value {
  font-size: 20px;
  color: var(--gold, #ffd700);
}

.block-app-data__item-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey, #666666);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .block-app-data__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .block-app-data__item {
    padding: 16px 12px;
    min-height: 70px;
  }

  .block-app-data__item-value {
    font-size: 16px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 18px;
  }

  .block-app-data__item-label {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .block-app-data {
    padding: 30px 0;
  }



  .block-app-data__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .block-app-data__item {
    padding: 14px 10px;
    min-height: 65px;
  }

  .block-app-data__item-content {
    gap: 8px;
  }

  .block-app-data__item-value {
    font-size: 15px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 17px;
  }

  .block-app-data__item-label {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .block-app-data {
    padding: 20px 0;
  }

  .block-app-data__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .block-app-data__item {
    padding: 12px 8px;
    min-height: 60px;
  }

  .block-app-data__item-value {
    font-size: 14px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 16px;
  }

  .block-app-data__item-label {
    font-size: 9px;
  }

  .block-app-data__item-icon svg {
    width: 20px;
    height: 20px;
  }
}


/* --- olegtix-block-author_grid --- */
/* Блок сетки авторов */
.block-author-grid {
  margin-top: 40px;
  margin-bottom: 40px;
}

.block-author-grid__header {
  margin-bottom: 32px;
}

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

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

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


  .block-author-grid__header {
    margin-bottom: 24px;
  }


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

@media (max-width: 480px) {

  .block-author-grid__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --- olegtix-block-blog_categories --- */
.block-blog-categories__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.block-blog-categories__title {
  margin: 0;
}

.block-blog-categories__navigation {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.block-blog-categories__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.block-blog-categories__nav-btn:hover {
  opacity: 0.7;
}

.block-blog-categories__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.block-blog-categories__swiper {
  margin-bottom: 24px;
  overflow: hidden;
}

.block-blog-categories__wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.block-blog-categories__slide {
  flex-shrink: 0;
}

/* Пустое состояние */
.block-blog-categories__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-blog-categories__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

@media (max-width: 768px) {
  .block-blog-categories__container {
    padding-right: 0;
  }

  .block-blog-categories__header {
    padding-right: 15px;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .block-blog-categories__navigation {
    display: flex;
    margin-left: 0;
  }

  .block-blog-categories__wrapper {
    flex-wrap: nowrap;
  }

  .block-blog-categories__slide {
    width: 312px;
  }
}


/* --- olegtix-block-bonuses --- */
.block-bonuses__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.block-bonuses__title {
  margin: 0;
}

.block-bonuses__navigation {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.block-bonuses__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.block-bonuses__nav-btn:hover {
  opacity: 0.7;
}

.block-bonuses__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.block-bonuses__swiper {
  margin-bottom: 24px;
  overflow: hidden;
}

.block-bonuses__wrapper {
  display: flex;
}

.block-bonuses__slide {
  width: 312px;
  flex-shrink: 0;
  height: auto;
}

/* Последний слайд "Больше бонусов" */
.block-bonuses__more {
  height: 100%;
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 2px dashed rgba(147, 69, 216, 0.35);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.block-bonuses__more-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
}

.block-bonuses__more-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
}

.block-bonuses__more:hover {
  border-color: rgba(147, 69, 216, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.block-bonuses__more:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Карточка бонуса */
.bonus-card {
  background: var(--text);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bonus-card__image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.bonus-card__image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.bonus-card__content {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.bonus-card__title {
  font-weight: 700;
  margin: 0;
  flex: 1;
  color: var(--white);
}

.bonus-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bonus-card__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.bonus-card__tag:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.bonus-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--white);
  font-weight: 600;
}

.bonus-card__rating svg {
  width: 16px;
  height: 16px;
}

.bonus-card__btn {
  width: 100%;
  padding: 11.5px 32px;
  font-weight: 700;
  font-size: 18px;
}

.bonus-card__rating-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.bonus-card__rating-label {
  font-size: 12px;
  color: var(--grey-light);
}

.bonus-card__rating-buttons {
  display: flex;
  gap: 10px;
}

.bonus-card__broker-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  height: 24px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 100px;
  padding: 0px 6px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
  justify-content: center;
}

.bonus-card__broker-logo:hover {
  background: rgba(255, 255, 255, 1);
}

.bonus-card__broker-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Пустое состояние */
.block-bonuses__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-bonuses__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

.block-bonuses__empty-text--lead {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 12px;
}

.block-bonuses__empty-text--cta {
  margin-bottom: 20px;
}

.block-bonuses__empty-btn {
  display: inline-flex;
  margin-top: 4px;
}
.bonus-card .broker-promocode__label {
  color: var(--grey-light);
}
/* Адаптивность */
@media (max-width: 768px) {
  .block-bonuses__container {
    padding-right: 0;
  }
  .block-bonuses__header,
  .block-bonuses__footer {
    padding-right: 15px;
  }

  .block-bonuses__header {
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .block-bonuses__navigation {
    margin-left: 0;
  }

  .block-bonuses__slide {
    width: 312px;
  }

  .bonus-card__content {
    padding: 12px;
  }

  .bonus-card__title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bonus-card__image {
    height: 150px;
  }

  .bonus-card__content {
    padding: 10px;
  }

  .bonus-card__title {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .block-bonuses__navigation {
    display: none;
  }
}


/* --- olegtix-block-bookmaker_bonuses --- */
/* Блок бонусов букмекеров - специфические стили */

/* Пагинация */
.block-bookmaker-bonuses__pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.block-bookmaker-bonuses__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-bookmaker-bonuses__pagination .page-numbers li {
  margin: 0;
}

.block-bookmaker-bonuses__pagination .page-numbers a,
.block-bookmaker-bonuses__pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.275;
  text-decoration: none;
  transition: all 0.3s ease;
}

.block-bookmaker-bonuses__pagination .page-numbers a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.block-bookmaker-bonuses__pagination .page-numbers .current {
  background-color: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.block-bookmaker-bonuses__pagination .page-numbers .prev,
.block-bookmaker-bonuses__pagination .page-numbers .next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-bookmaker-bonuses__pagination .page-numbers .prev svg,
.block-bookmaker-bonuses__pagination .page-numbers .next svg {
  width: 24px;
  height: 24px;
}

.block-bookmaker-bonuses__pagination .page-numbers .dots {
  background-color: transparent;
  border: none;
  color: var(--grey);
}

/* Кнопка "Показать еще" в архивном режиме */
.block-bookmaker-bonuses__show-more-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Пустое состояние */
.block-bookmaker-bonuses__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-bookmaker-bonuses__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

.block-bookmaker-bonuses__empty-text--lead {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 12px;
}

.block-bookmaker-bonuses__empty-text--cta {
  margin-bottom: 20px;
}

.block-bookmaker-bonuses__empty-btn {
  display: inline-flex;
  margin-top: 4px;
}

/* Пустое состояние внутри сетки после AJAX (вкладки/фильтры) */
.block-bookmaker-bonuses__grid .block-bookmaker-bonuses__empty--in-grid {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
}

/* Грид для карточек бонусов */
.block-bookmaker-bonuses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .block-bookmaker-bonuses__pagination .page-numbers a,
  .block-bookmaker-bonuses__pagination .page-numbers span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
  }

  .block-bookmaker-bonuses__pagination .page-numbers a,
  .block-bookmaker-bonuses__pagination .page-numbers span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* --- olegtix-block-bookmaker_logos --- */



.bookmaker-logos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bookmaker-logos__item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  transition: opacity 0.2s ease;
}

.bookmaker-logos__item:hover {
  opacity: 0.5;
}

.bookmaker-logos__item a {
  display: block;
  text-decoration: none;
}

.bookmaker-logos__logo {
  max-width: 90px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Адаптивность */
@media (max-width: 768px) {

  .bookmaker-logos__grid {
    gap: 8px;
  }

  .bookmaker-logos__item {
    padding: 8px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .bookmaker-logos__grid {
    gap: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .bookmaker-logos__logo {
    max-width: 80px;
    max-height: 38px;
  }
  .bookmaker-logos__item {
    padding: 6px;
    height: 40px;
  }
}


/* --- olegtix-block-other_apps --- */
.other-apps__container {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
}
.other-apps {
  padding: 0 15px;
  max-width: 1350px;
  margin: 0 auto;
}
.other-apps__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.other-apps__title.title {
  margin: 0;
}
.other-apps__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.other-apps__nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}

.other-apps__nav-btn:hover {
  border-color: rgba(35, 35, 35, 0.22);
  background: rgba(35, 35, 35, 0.03);
}

.other-apps__nav-btn.swiper-button-disabled,
.other-apps__nav-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}

.other-apps__swiper {
  overflow: hidden;
}

.other-apps__slide {
  width: 228px;
}

.other-apps__card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  min-height: 80px;
}
.other-apps__card:hover {
  opacity: 0.7;
}
.other-apps__card-logo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.other-apps__card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.other-apps__card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.other-apps__card-title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 108px;
}
.other-apps__card-rating {
  gap: 6px;
  background: #eff6fd;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px;
  border-radius: 20px;
}

.other-apps__card-rating-star {
  flex: 0 0 auto;
  width: 10px;
  margin-bottom: 1px;
}
@media (max-width: 768px) {
  .other-apps__card {
    flex-direction: column;
    width: 90px;
  }
  .other-apps__container {
    padding: 14px;
  }
  .other-apps__card-title {
    max-width: 90px;
  }
  .other-apps__slide {
    width: 90px;
  }
}


/* --- olegtix-block-other_brokers --- */
.other-brokers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.other-brokers__title.title {
  margin: 0;
}
.other-brokers__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
.other-brokers__nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  border: 1px solid rgba(35, 35, 35, 0.12);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}
.other-brokers__nav-btn:hover {
  border-color: rgba(35, 35, 35, 0.22);
  background: rgba(35, 35, 35, 0.03);
}
.other-brokers__nav-btn.swiper-button-disabled,
.other-brokers__nav-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}
.other-brokers__swiper {
  overflow: hidden;
}
.other-brokers__slide {
  height: auto;
}
.other-brokers__slide-inner {
  height: 100%;
}
.other-brokers__slide-inner .broker-card {
  height: 100%;
}

/* Мобильная раскладка broker-card внутри слайда (не зависит от viewport) */
.block-other-brokers .broker-card--compact-slider {
  background-color: var(--white);
  padding: 14px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.block-other-brokers .broker-card--compact-slider .broker-card__content {
  display: contents;
  cursor: default;
  grid-template-columns: unset;
}
.block-other-brokers .broker-card--compact-slider .broker-card__logo {
  grid-column: span 5;
  grid-row: 1;
  width: 100%;
  max-width: 140px;
}
.block-other-brokers .broker-card--compact-slider .broker-card__info {
  display: contents;
  margin: 0;
}
.block-other-brokers .broker-card--compact-slider .broker-card__actions {
  display: contents;
  margin: 0;
}
.block-other-brokers .broker-card--compact-slider .broker-card__detail {
  grid-column: span 4;
  grid-row: 2;
}
.block-other-brokers .broker-card--compact-slider .broker-card__rating {
  grid-column: 6 / -1;
  grid-row: 1;
  justify-self: flex-end;
}
.block-other-brokers .broker-card--compact-slider .broker-card__reliability {
  align-items: center;
}
.block-other-brokers .broker-card--compact-slider .broker-card__reviews {
  align-items: flex-end;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--frebet {
  grid-row: 4;
  grid-column: 1 / -1;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--review {
  grid-row: 5;
  grid-column: 1 / -1;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--android {
  grid-row: 6;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .other-brokers__container {
    padding: 14px;
  }
}

