:root {
  --primary-color: #1e88e5;
  --secondary-color: #0d47a1;
  --accent-color: #ff9800;
  --light-color: #f5f5f5;
  --dark-color: #212121;
  --text-color: #000c;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ffc107;
  --danger-color: #f44336;
  --radius: 5px;
  --radius-sm: 4px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--text-color);
  font-size: 0.9375rem;
  background: #f0f1f2;
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", sans-serif;
  color: var(--dark-color);
  margin: 0 0 0.8em 0;
  line-height: 1.3;
}
h1 {
  font-size: 1.8rem;
  font-weight: 700;
}
h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
h5 {
  font-size: 0.9rem;
}
h6 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
}
p {
  margin-bottom: 1.5em;
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
/* Lists */
.content-area ul:not(.sidebar-menu):not(.news-list):not(.footer-menu-col ul),
.content-area ol {
  margin: 0 0 20px 25px;
  padding: 0;
}
.content-area li:not(.sidebar-menu li):not(.news-list-item):not(.footer-menu-col li) {
  margin-bottom: 8px;
  line-height: 1.5;
}
.content-area ul:not(.sidebar-menu):not(.news-list):not(.footer-menu-col ul) {
  list-style-type: disc;
}
.content-area ol:not(.sidebar-menu):not(.news-list):not(.footer-menu-col ul) {
  list-style-type: decimal;
}
/* Additional elements */
.quote_block {
  margin: 0 0 20px;
}

.quote {
  border-left: 3px solid var(--primary-color);
  background-color: rgba(30, 136, 229, 0.05);
  padding: 15px 20px;
  font-style: italic;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
}
.quote_body {
  font-style: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: 1.6;
  color: var(--text-color);
}
hr {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 20px 0;
}
code {
  font-family: monospace;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.9em;
}
pre {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 20px;
}
pre code {
  background-color: transparent;
  padding: 0;
}
/* Text styles */
strong,
b {
  font-weight: 600;
  letter-spacing: 0.2px;
}
em,
i {
  font-style: italic;
}
small {
  font-size: 0.85em;
  opacity: 0.8;
}
/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
figure {
  margin: 0 0 20px;
}
figcaption {
  font-size: 0.9em;
  color: #666;
  text-align: center;
  margin-top: 8px;
}
/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  overflow-x: auto; /* Добавляет возможность прокрутки для маленьких экранов */
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: rgba(30, 136, 229, 0.1);
  font-weight: 600;
  color: var(--dark-color);
}

tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

@media screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  tr {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
  }
  
  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding: 10px !important;
    text-align: left;
    white-space: normal;
  }
  
  td:before {
    content: attr(data-th);
    position: absolute;
    left: 15px;
    width: 35%;
    font-weight: 600;
    text-align: left;
  }
  
  /* Убираем нижнюю границу у последней ячейки */
  td:last-child {
    border-bottom: none;
  }
}

.button,
.btn {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
}

.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.form-check-label {
    cursor: pointer;
}
.form-check-input {
    color: #0c5f7eed;
    flex-shrink: 0;
    width: 1.12rem;
    height: 1.12rem;
    margin: -0.188rem 0.625rem 0 0;
    appearance: none;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #0c5f7eed;
    vertical-align: middle;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox] {
    border-radius: .25rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}

.section-spacing { margin-top: 20px !important; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}
.logo img {
  height: 25px;
}
.search-form {
  flex-grow: 1;
  max-width: 500px;
  margin: 0 20px;
  position: relative;
}
.search-form input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
}
.search-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}
.search-form button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 16px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  color: var(--dark-color);
  font-size: 18px;
}
.social-links a:hover {
  color: var(--primary-color);
}
/* Navigation */
nav.main-menu {
  padding: 5px 0;
}
nav.main-menu ul {
  display: flex;
  list-style: none;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
nav.main-menu li {
  position: relative;
}
nav.main-menu li > a {
  padding: 10px 15px;
  font-weight: 500;
  color: var(--dark-color);
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  align-items: center;
}
nav.main-menu li > a:hover {
  background-color: rgba(30, 136, 229, 0.1);
}
/* Десктопная версия выпадающего меню */
.has-dropdown > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-left: 8px;
  transition: var(--transition);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

nav.main-menu .has-dropdown .dropdown-menu {
  justify-content: flex-start !important;
  padding: 15px;
}

nav.main-menu li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--dark-color);
}
.dropdown-menu li a:hover {
  background-color: rgba(13, 71, 161, 0.05);
  color: var(--primary-color);
}
/* Мобильное меню */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--dark-color);
  cursor: pointer;
  margin-left: 15px;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}
.mobile-menu-container.active {
  right: 0;
}
.mobile-menu-header {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--dark-color);
  cursor: pointer;
}
.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}
.mobile-menu-footer {
  padding: 15px;
  border-top: 1px solid var(--border-color);
}
.mobile-search-form {
  position: relative;
  margin-bottom: 15px;
}
.mobile-search-form input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
}
.mobile-search-form button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 16px;
}
.mobile-ad-banner {
  margin-top: 15px;
  text-align: center;
}

.mobile-ad-banner img {
  border-radius: var(--radius);
}

/* Мобильная версия меню */
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu > li {
  border-bottom: 1px solid var(--border-color);
  margin: 0;
}
.mobile-menu > li > a {
  display: block;
  padding: 15px 20px;
  font-weight: 500;
  color: var(--dark-color);
  text-decoration: none;
}
.mobile-menu > li > a:hover {
  background-color: rgba(30, 136, 229, 0.1);
}
.mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-dropdown-menu.active {
  max-height: 1000px;
}
.mobile-dropdown-menu li a {
  display: block;
  padding: 12px 20px 12px 30px;
  color: var(--dark-color);
  text-decoration: none;
  border-top: 1px solid #eee;
}
.mobile-dropdown-menu li a:hover {
  color: var(--primary-color);
}
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
}
.mobile-dropdown-toggle::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  transition: transform 0.3s ease;
}
.mobile-dropdown-toggle.active::after {
  transform: rotate(180deg);
}
/* Responsive */
@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
    border-bottom: none;
  }
  .logo {
    order: 1;
  }
  .mobile-menu-btn {
    order: 2;
    display: block;
  }
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark-color);
    cursor: pointer;
  }
  .search-form {
    display: none;
  }
  .social-links {
    display: none;
  }
  nav.main-menu {
    display: none;
  }
}
/* Main content */
.main-content {
  display: flex;
  padding: 20px 0;
  gap: 30px;
}
.content-area {
  flex: 1;
  min-width: 0;
}
.sidebar {
  width: 300px;
  flex-shrink: 0;
}
.content-with-sidebar {
  display: flex;
  gap: 20px;
  margin: 0 0 30px;
}

.content-with-sidebar:last-of-type,
.content-container:last-of-type {
  margin: 0;
}

.bookmakers-container,
.content-container {
  flex: 3;
  margin: 0;
}
.content-container {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 30px;
}
.sidebar_sticky {
  position: sticky;
  top: 130px;
  align-self: flex-start;
  transition: var(--transition);
}
.sidebar_ads img {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.action-btn,
.btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  min-width: 90px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}
.btn-outline:hover {
  background-color: rgba(30, 136, 229, 0.1);
}
.btn-primary {
  background-color: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background-color: #1565c0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.block-header_title {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-color);
  font-family: "Manrope", sans-serif;
}

.block-header_btns {
  display: flex;
  justify-content: flex-end;
}

.block-header_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  color: #1a1a1a;
  background-color: #f8f9fa;
  text-decoration: none;
  transition: all 0.2s ease;
}

.block-header_btn:hover {
  background-color: #1e88e5;
  color: #fff;
  text-decoration: none;
  border-color: #1e88e5;
}

/* Bonuses section */
.bonuses-section,
.forecasts-section,
.news-section {
  margin-bottom: 30px;
}
.bonuses-grid,
.forecasts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 767px) {
  .bonuses-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }
  .bonuses-wrapper::-webkit-scrollbar {
    display: none;
  }
  .bonuses-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .bonuses-grid .bonus-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
  }
}
@media (min-width: 768px) {
  .bonuses-wrapper {
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .bonuses-wrapper::-webkit-scrollbar {
    display: block;
  }
  .bonuses-grid .bonus-card {
    flex: 1 1 auto;
    width: auto;
    scroll-snap-align: none;
  }
}
.bonus-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #2c3e50;
}

.bonus-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.bonus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.bonus-card:hover .bonus-image img {
  transform: scale(1.05);
}
.bonus-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bonus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}
.bonus-bk-logo {
  width: 90px;
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.6588);
  background: #fff;
  justify-content: center;
}
.bonus-bk-logo img {
  width: 70px;
  height: auto;
}
.bonus-type {
  background-color: #1e88e5;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.bonus-body {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-top: 1px solid rgba(245, 245, 245, 0.15);
  border-bottom: 1px solid rgba(245, 245, 245, 0.15);
  flex-grow: 1;
}

.bonus-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
  color: white;
  flex: 1;
  min-height: 60px;
}
.bonus-details-link {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bonus-details-link:hover {
  color: #0d47a1;
  text-decoration: underline;
}
.angle-right-icon {
  margin-left: 6px;
  transition: transform 0.2s ease;
  color: inherit; /* Наследует цвет родителя */
}
.bonus-details-link:hover .angle-right-icon {
  transform: translateX(3px);
}

.bonus-footer {
  margin-top: auto;
  padding: 15px;
}
.bonus-footer .bonus-action-btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  background-color: white;
  color: #1a1a1a;
  border: none;
  transition: all 0.3s ease;
}
.bonus-footer .bonus-action-btn:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.forecasts-section {
  margin-bottom: 30px;
}

.forecasts-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.forecasts-tabs::-webkit-scrollbar {
  height: 4px;
}

.forecasts-tabs::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 2px;
}

.forecasts-tab {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  white-space: nowrap;
  background-color: #ffffff;
}

.forecasts-tab.active {
  background-color: var(--primary-color);
  color: white;
}

.forecasts-tab:not(.active):hover {
  background-color: rgba(30, 136, 229, 0.1);
}

/* Контейнер для карусели */
.forecasts-container {
  width: 100%;
  position: relative;
}

.forecasts-scroller {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 5px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.forecasts-scroller::-webkit-scrollbar {
  display: none;
}

.forecast-category {
  display: none;
  flex: 0 0 100%;
  will-change: opacity;
}

.forecast-category.active {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.forecast-card {
  flex: 0 0 calc(100% - 20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  min-width: 280px;
}

.forecast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.forecast-header {
  padding: 12px;
  background-color: var(--light-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.forecast-sport {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 12px;
}

.forecast-date {
  font-size: 12px;
  color: #666;
}

.forecast-body {
  padding: 15px;
}

.forecast-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: center;
  flex-wrap: nowrap;
}

.forecast-team {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.forecast-team-logo {
  height: 40px;
  margin-bottom: 6px;
}

.forecast-team-logo img {
  max-height: 100%;
  max-width: 100%;
}

.forecast-team-name {
  font-weight: 500;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}

.forecast-vs {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 14px;
  flex-shrink: 0;
  padding: 0 8px;
}

.forecast-league {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.forecast-title {
  font-weight: 600;
  margin: 0 0 12px 0;
  font-size: 15px;
  text-align: center;
  line-height: 1.3;
  min-height: 40px;
  display: block;
  color: var(--text-color);
}

.forecast-bet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(30, 136, 229, 0.05);
  border-radius: 6px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.forecast-bet:hover {
  background: rgba(30, 136, 229, 0.1);
  outline: 1px solid rgba(30, 136, 229, 0.3);
}

.forecast-bet-type {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-color);
  min-width: 60px;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.forecast-bk-logo {
  width: 70px;
  height: 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.forecast-bk-logo img {
  width: 100%;
  height: auto;
}

.forecast-coef {
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  margin-left: auto;
}

.confidence-meter {
  margin-top: 12px;
  font-size: 13px;
}
.confidence-line-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.confidence-label {
  color: var(--text-color);
  flex-shrink: 0;
}
.confidence-bar {
  flex-grow: 1;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}
.confidence-fill {
  height: 100%;
  border-radius: 3px;
  width: calc(var(--confidence) * 100%);
  background: hsl(calc(var(--confidence) * 120), 75%, 50%);
}
.confidence-value {
  font-weight: 600;
  min-width: 30px;
  text-align: right;
  color: inherit;
}
.confidence-tooltip {
  position: relative;
  display: inline-flex;
  margin-left: 4px;
}
.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #333;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-left: -130px;
  left: 50%;
}
@media (max-width: 768px) {
  .tooltip-text {
    width: 200px;
    left: auto;
    right: 0;
    transform: none;
    margin-left: 0;
  }
  .tooltip-text.right-edge {
    left: auto;
    right: 0;
    transform: none;
  }
  .tooltip-text.left-edge {
    left: 0;
    right: auto;
    transform: none;
  }
}
.confidence-tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}
/* Адаптация для десктопов */
@media (min-width: 1250px) {
  .forecasts-scroller {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 12px;
  }

  .forecast-category {
    flex: 1 1 100%;
    display: none;
  }

  .forecast-category.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .forecast-card {
    min-width: 0;
    flex: 1 1 auto;
  }
}
@media (max-width: 1250px) {
  .forecast-card {
    flex: 0 0 calc(30% - 20px);
  }
}

@media (max-width: 768px) {
  .forecast-category.active {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .forecasts-tabs {
    gap: 5px;
  }

  .forecasts-tab {
    padding: 5px 8px;
    font-size: 12px;
  }

  .forecast-team-name {
    font-size: 13px;
    height: 2.6em;
  }

  .forecast-vs {
    font-size: 12px;
  }
}

/* Кнопка "Все прогнозы" */
.show-all {
  text-align: center;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--primary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}
/* News section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.news-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}
.news-image {
  height: 180px;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-card:hover .news-image img {
  transform: scale(1.05);
}
.news-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.news-excerpt {
  color: #666;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-top: auto;
}
/* Sidebar */
.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 15px;
  box-shadow: 0 -1px 0 0 color-mix(in srgb, #000 15%, transparent) inset;
  display: flex;
  align-items: center;
}
.widget-title i {
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 16px;
}
/* Quick Links */
.sidebar-menu {
  list-style: none;
  padding: 15px;
}
.sidebar-menu li {
  margin-bottom: 6px;
}
.sidebar-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background-color: rgba(30, 136, 229, 0.03);
  transition: var(--transition);
  font-size: 13px;
}
.sidebar-menu li a:hover {
  background-color: rgba(30, 136, 229, 0.1);
  transform: translateX(5px);
}
.sidebar-menu li a i {
  margin-right: 8px;
  color: var(--primary-color);
  width: 18px;
  text-align: center;
  font-size: 14px;
}
/* Latest News */
.news-list {
  list-style: none;
}
.news-list-item {
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, #000 15%, transparent);
}
.news-list-item:first-child {
  padding-top: 0;
}
.news-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-list-title {
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 14px;
}
.news-list-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
}
/* Footer */
footer {
  background-color: #263238;
  color: white;
  padding: 40px 0 15px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo img {
  height: 25px;
  margin-bottom: 15px;
}
.footer-about {
  max-width: 280px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-menu-col {
  min-width: 150px;
}
.footer-menu-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  position: relative;
}

.footer-menu-col ul {
  list-style: none;
}
.footer-menu-col li {
  margin-bottom: 8px;
}
.footer-menu-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: var(--transition);
}
.footer-menu-col a:hover {
  color: white;
  padding-left: 5px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-stats img {
  height: 25px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover {
  color: white;
}
/* Responsive */
@media (max-width: 1200px) {
  .main-content,
  .content-with-sidebar {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sidebar-widget {
    margin-bottom: 0;
  }
  .bookmakers-grid,
  .bonuses-grid,
  .forecasts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  body {
    line-height: 1.4;
  }
  .bonuses-grid,
  .forecasts-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .footer-menu {
    flex-direction: column;
    gap: 25px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .forecasts-tabs {
    gap: 5px;
  }
  .forecasts-tab {
    padding: 5px 8px;
    font-size: 12px;
  }
  .forecast-team-name {
    font-size: 13px;
    height: 2.6em;
  }
  .forecast-vs {
    font-size: 12px;
  }
  .btn {
    font-size: 15px;
  }
}
/* Horizontal Article Cards */
.articles-section {
  margin-bottom: 30px;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.article-card-horizontal {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.article-card-horizontal:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}
.article-image-horizontal {
  width: 250px;
  flex-shrink: 0;
  overflow: hidden;
}
.article-image-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.article-card-horizontal:hover .article-image-horizontal img {
  transform: scale(1.05);
}
.article-content-horizontal {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
}
.article-meta-horizontal {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}
.article-meta-horizontal span {
  margin-right: 15px;
  display: flex;
  align-items: center;
}
.article-meta-horizontal i {
  margin-right: 5px;
  color: var(--primary-color);
  font-size: 13px;
}
.article-title-horizontal {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.4;
}
.article-excerpt-horizontal {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.article-footer-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-footer-horizontal .read-more-btn {
  margin-left: auto;
}

.read-more-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.read-more-btn:hover {
  background-color: var(--secondary-color);
  text-decoration: none;
  color: white;
}
@media (max-width: 768px) {
  .article-card-horizontal {
    flex-direction: column;
  }
  .article-image-horizontal {
    width: 100%;
    height: 180px;
  }
  .article-title-horizontal {
    font-size: 16px;
  }
  .article-excerpt-horizontal {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .article-meta-horizontal {
    flex-wrap: wrap;
    margin-bottom: 8px;
  }
  .article-meta-horizontal span {
    margin-right: 10px;
    margin-bottom: 5px;
  }
  .article-footer-horizontal {
    gap: 10px;
  }
}
.stake-ctr {
  background: linear-gradient(90deg, #0f212e 0%, #1a2c38 100%);
  color: white;
  padding: 20px 0;
  margin: 30px 0;
  border-radius: 8px;
}
.ctr-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ctr-logo {
  width: 90px;
  flex-shrink: 0;
}
.ctr-logo img {
  width: 100%;
  height: auto;
}
.ctr-text {
  flex-grow: 1;
  padding: 0 20px;
}
.ctr-text h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 18px;
}
.ctr-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 14px;
}
.ctr-button .btn-large {
  font-size: 16px;
  background: #1475e1;
  border: none;
  color: #fff;
  font-weight: 600;
}
.ctr-button .btn-large:hover {
  background: #1475e1;
  text-decoration: none;
}
@media (max-width: 768px) {
  .ctr-content {
    flex-direction: column;
    text-align: center;
  }
  .ctr-logo {
    margin-bottom: 15px;
  }
  .ctr-text {
    padding: 0;
    margin-bottom: 15px;
  }
}
@media (max-width: 1200px) {
  .sidebar-bookmakers-main {
    flex-direction: column;
  }

  .sidebar_sticky {
    width: 100%;
    display: block;
  }

  .bookmakers-menu__items {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reviews-section {
  margin: 30px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.review-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #1e88e5;
}
.review-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 15px;
}
.review-bk-logo {
  width: 80px;
  height: 40px;
}
.review-bk-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.review-body {
  margin-bottom: 15px;
}
.review-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.review-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.review-rating {
  display: flex;
  align-items: center;
}
.review-rating span {
  margin-right: 8px;
  font-size: 14px;
}
.rating-stars {
  color: #ffc107;
}
/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 20px;
  font-size: 12px;
  color: #555555;
  display: inline-block;
  width: 100%;
}
.breadcrumbs a {
  transition: var(--transition);
}
.breadcrumbs a:hover {
  color: var(--primary-color);
}
.breadcrumbs .separator {
  color: #cbd5e1;
}
/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f5f9;
}
.filter-tabs::-webkit-scrollbar {
  height: 6px;
}
.filter-tabs::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 3px;
}
.filter-tabs::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}
.filter-tab {
  padding: 10px 20px;
  background-color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid transparent;
}
.filter-tab:hover {
  background-color: #e2e8f0;
}
.filter-tab.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
/* Bookmakers list */
.bookmakers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Bookmaker item */
.bookmaker-item {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
}
.bookmaker-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.bookmaker-main {
  display: flex;
  padding: 25px;
  gap: 25px;
}
.bookmaker-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid #e9ecef;
}
.bookmaker-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.bookmaker-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bookmaker-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bookmaker-license {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.bookmaker-license.cupis {
  background-color: #4caf50;
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}
.bookmaker-license.blocked {
  background-color: #f44336;
  box-shadow: 0 2px 4px rgba(244, 67, 54, 0.2);
}
.bookmaker-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
.bookmaker-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  background-color: #f8fafc;
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.bookmaker-feature i {
  color: #0a2160;
  font-size: 12px;
}
.bookmaker-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.rating-stars {
  display: flex;
  gap: 3px;
}
.rating-stars i {
  color: var(--accent-color);
  font-size: 16px;
}
.bookmaker-bonus {
  margin-bottom: 15px;
}
.bookmaker-bonus-title {
  font-size: 12px;
  color: var(--text-light);
}
.bookmaker-bonus-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.bookmaker-bonus-amount:last-child {
  margin-bottom: 0;
}

.bookmaker-actions {
  display: flex;
  gap: 12px;
}
/* Bookmaker details */
.bookmaker-details.active {
  padding: 25px;
}
.bookmaker-details {
  display: none;
}
.bookmaker-details.active {
  display: block;
}
.details-toggle.active {
  font-weight: bold;
}
.details-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #f1f5f9;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
}
.details-toggle:hover {
  background-color: #e2e8f0;
  color: var(--primary-color);
}
.details-toggle i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.details-toggle.active i {
  transform: rotate(180deg);
}
.details-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.details-title i {
  color: var(--primary-color);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.details-item {
  display: flex;
  gap: 10px;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 15px;
  align-items: flex-start;
}
.details-icon {
  color: var(--primary-color);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.3;
}
.details-content h4 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-light);
}
.details-content p {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color);
}
/* Responsive */
@media (max-width: 1200px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .sidebar {
    width: 100%;
  }
  .bookmaker-main {
    flex-direction: column;
    gap: 20px;
  }
  .bookmaker-logo {
    width: 120px;
    height: 50px;
  }
}
@media (max-width: 768px) {
  .bookmaker-promocode {
    width: 100%;
  }

  .bookmaker-main {
    padding: 20px;
  }
  .bookmaker-actions {
    flex-wrap: wrap;
  }
  .btn {
    max-width: 100%;
    flex: 1;
    min-width: 120px;
  }
}
@media (max-width: 576px) {
  .category-title {
    font-size: 26px;
  }
  .bookmaker-name {
    font-size: 18px;
  }
  .bookmaker-features {
    gap: 5px;
  }
  .bookmaker-feature {
    font-size: 12px;
    padding: 5px 10px;
  }
  .bonus-amount {
    font-size: 18px;
  }
}
/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bookmaker-item {
  animation: fadeIn 0.3s ease forwards;
}
.bookmaker-item:nth-child(1) {
  animation-delay: 0.1s;
}
.bookmaker-item:nth-child(2) {
  animation-delay: 0.2s;
}
.bookmaker-item:nth-child(3) {
  animation-delay: 0.3s;
}
.bookmaker-item:nth-child(4) {
  animation-delay: 0.4s;
}
.bookmaker-item:nth-child(5) {
  animation-delay: 0.5s;
}
/* Article styles */
.article-header {
  margin-bottom: 30px;
}
.article-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}
.article-meta-item {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
.article-meta-item i {
  margin-right: 5px;
  font-size: 14px;
}
.article-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  table-layout: fixed;
  border: 0;
}

.article-content th,
.article-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.article-content th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

.article-content tr:nth-child(even) {
  background-color: rgba(30, 136, 229, 0.03);
}

.article-content tr:hover {
  background-color: rgba(30, 136, 229, 0.08);
}

@media (max-width: 767px) {
  .article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-content th,
  .article-content td {
    padding: 10px;
  }

  .article-content th {
    font-size: 0.9rem;
  }

  .article-content td {
    font-size: 0.9rem;
  }
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.info-box {
  background-color: rgba(30, 136, 229, 0.08);
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.info-box-title {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.info-box-title i {
  margin-right: 8px;
  color: var(--primary-color);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cloud-tags span {
  display: inline-block;
  background-color: rgba(30, 136, 229, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  font-weight: 500;
}

.cloud-tags span:hover {
  background-color: rgba(30, 136, 229, 0.2);
}

.clouds_xsmall {
  font-size: 12px;
}

.clouds_xmedium {
  font-size: 14px;
}

.clouds_xlarge {
  font-size: 16px;
  font-weight: 600;
}

.clouds_xxlarge {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .cloud-tags {
    gap: 8px;
    padding: 15px;
  }

  .cloud-tags span {
    font-size: 13px !important;
  }
}

/* Каждый тег */
.tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(30, 136, 229, 0.1);
  color: var(--primary-color);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  margin-right: 10px;
}

.tag:last-child {
  margin-right: 0;
}

.tag:hover {
  background-color: rgba(30, 136, 229, 0.2);
}

.tag::before {
  content: "#";
  color: var(--primary-color);
  margin-right: 1px;
  font-weight: 600;
}

.article-author {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: rgba(30, 136, 229, 0.05);
  border-radius: var(--radius);
  margin: 30px 0;
}
.article-author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.article-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-author-name {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 5px;
}
.article-author-bio {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
/* Related articles */
.related-articles {
  margin-top: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.related-article {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
}
.related-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}
.related-article-image {
  height: 160px;
  overflow: hidden;
}
.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.related-article:hover .related-article-image img {
  transform: scale(1.05);
}
.related-article-content {
  padding: 15px;
}
.related-article-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.related-article-meta {
  font-size: 12px;
  color: #888;
}

@media (max-width: 768px) {
  header {
    position: relative; /* Или static */
  }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  header {
    position: relative;
  }

  .mobile-bottom-nav {
    display: flex; /* Показываем как flex-контейнер */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
    z-index: 998; /* Ниже оверлея мобильного меню */
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    height: 65px;
    /* Изначально скрыто снизу */
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  /* Класс для показа меню */
  .mobile-bottom-nav.mobile-bottom-nav--visible {
    transform: translateY(0); /* Перемещаем в видимую область */
  }

  .mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 12px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 0;
    min-width: 60px;
    transition: color 0.2s ease;
  }

  .mobile-bottom-nav-item:hover,
  .mobile-bottom-nav-item:focus {
    color: var(--primary-color);
    outline: none;
  }

  .mobile-bottom-nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
    color: inherit;
  }
}
.bookmakers-menu {
  background: rgba(30, 136, 229, 0.05);
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bookmakers-menu__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.bookmakers-menu__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #333;
}

.menu-item:hover {
  background: rgba(30, 136, 229, 0.1);
  color: #1e88e5;
  text-decoration: none;
}

.menu-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.menu-item span {
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .bonus-card {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .bonus-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .bonus-promo-container {
    width: 100%;
    margin-top: auto;
  }

  .bonus-footer {
    margin-top: auto;
  }
}

@media (min-width: 768px) {
  .bookmakers-rating__item:last-child {
    border-bottom: none;
    border-radius: 0 0 5px 5px;
  }

  .bookmakers-rating__item:first-child {
    border-radius: 5px 5px 0 0;
  }
}

.bookmakers-rating {
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bookmakers-rating__item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #f0f3f7;
  min-height: 70px;
}

.bookmakers-rating__item:last-child {
  margin-bottom: 0;
}

.bookmakers-rating__header {
  display: flex;
  align-items: center;
}

.bookmakers-rating__rank {
  display: flex;
  align-items: center;
  line-height: 24px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: bold;
  border-right: 1px solid #efefef;
  margin-right: 15px;
  padding-left: 5px;
  min-width: 36px;
  height: fit-content;
}

.bookmakers-rating__logo {
  width: 120px;
  height: 30px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  margin-right: 20px;
  flex-shrink: 0;
}

.bookmakers-rating__logo img {
  width: 100px;
  height: auto;
}

.bookmakers-rating__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin-right: 30px;
  flex-shrink: 0;
}

.bookmakers-rating__label {
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.54);
}

.bookmakers-rating__value {
  display: flex;
  align-items: center;
}

.bookmakers-rating__icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bookmakers-rating__icon--rating {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 6.06794L9.967 5.63394L8 0.999939L6.033 5.64094L1 6.06794L4.822 9.37894L3.674 14.2999L8 11.6889L12.326 14.2999L11.185 9.37894L15 6.06794Z' fill='%23FFCE00'/%3E%3C/svg%3E%0A");
}

.bookmakers-rating__icon--reviews {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Cpath fill='%23000' d='M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.4c-3.5 0-6.4-2.9-6.4-6.4S4.5 1.6 8 1.6s6.4 2.9 6.4 6.4-2.9 6.4-6.4 6.4zm-1.6-8.8c0-.4.3-.8.8-.8h3.2c.4 0 .8.3.8.8s-.3.8-.8.8H7.2c-.5 0-.8-.4-.8-.8zm0 2.4c0-.4.3-.8.8-.8h3.2c.4 0 .8.3.8.8s-.3.8-.8.8H7.2c-.5 0-.8-.4-.8-.8zm0 2.4c0-.4.3-.8.8-.8h1.6c.4 0 .8.3.8.8s-.3.8-.8.8H7.2c-.5 0-.8-.4-.8-.8z'/%3E%3C/svg%3E");
}

.bookmakers-rating__score {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.8);
}

.bookmakers-rating__bonus {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-grow: 1;
  max-width: 350px;
  background-color: #f8f8f8;
}

.bookmakers-rating__bonus-icon {
  font-size: 20px;
  color: #ff4122;
  margin: 0 8px;
  flex-shrink: 0;
}

.bookmakers-rating__bonus-icon--inactive {
  color: rgba(0, 0, 0, 0.24); /* Цвет неактивной иконки */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='rgba(0,0,0,0.24)' d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35-.54-.81-1.45-1.35-2.5-1.35-1.66 0-3 1.34-3 3 0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E");
}

.bookmakers-rating__bonus-text {
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.8);
  margin-right: auto;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bookmakers-rating__bonus-text p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.bookmakers-rating__bonus-text--inactive {
  color: rgba(0, 0, 0, 0.54);
}

.bookmakers-rating__bonus-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 12px;
  flex-shrink: 0;
  padding: 7px 8px;
  border-radius: var(--radius);
}

.bookmakers-rating__bonus-amount span {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: -0.2px;
}

.bookmakers-rating__actions {
  flex-shrink: 0;
  margin-left: 12px;
}

.bookmakers-rating__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bookmakers-rating__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 36px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  box-sizing: border-box;
}

.bookmakers-rating__link--review {
  background: #f8f8f8;
  border: 1px solid transparent;
}

.bookmakers-rating__link--review:hover {
  text-decoration: none;
  background: #f5f5f5;
}

.bookmakers-rating__link--site {
  background: #22bb5e;
  border: 1px solid transparent;
  color: white;
}

.bookmakers-rating__link--site:hover {
  color: #fff;
  text-decoration: none;
  background: #46c979;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 767px) {
  .bookmakers-rating {
    padding: 8px 0;
    box-shadow: none;
  }

  .bookmakers-menu__items {
    grid-template-columns: repeat(3, 1fr);
  }

  .bookmakers-rating__item {
    padding: 8px 0;
    margin-bottom: 12px;
    border-bottom: none;
    border-radius: var(--radius);
  }

  .bookmakers-rating__header {
    flex-wrap: wrap;
  }

  .bookmakers-rating__rank {
    margin-left: 12px;
    margin-bottom: 8px;
  }

  .bookmakers-rating__logo {
    margin-bottom: 8px;
  }

  .bookmakers-rating__info {
    margin: 0 27px 8px auto;
    gap: 26px;
  }

  .bookmakers-rating__bonus {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 12px;
    max-width: none;
  }

  .bookmakers-rating__bonus-text {
    font-size: 14px; /* Размер шрифта */
    white-space: normal; /* Разрешаем перенос строк на мобильных */
  }

  .bookmakers-rating__bonus-text--inactive {
    white-space: normal; /* Разрешаем перенос строк на мобильных */
  }

  .bookmakers-rating__actions {
    width: 100%; /* Занимает всю ширину */
    margin-left: 0; /* Убираем отступ слева */
  }

  .bookmakers-rating__links {
    width: 100%; /* Занимает всю ширину */
    padding: 0 12px; /* Внутренние отступы */
    justify-content: space-between; /* Распределяем ссылки по краям */
  }

  .bookmakers-rating__link {
    width: calc(50% - 3px); /* Каждая ссылка занимает примерно половину ширины минус половина гэпа */
  }
}
@media (max-width: 480px) {
  .bookmakers-menu__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bookmaker-header {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bookmaker-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .bookmaker-header__container {
    flex-direction: column;
  }
}

.bookmaker-header__main {
  display: flex;
  align-items: center;
  flex: 1;
}

@media (max-width: 599px) {
  .bookmaker-header__main {
    flex-direction: column;
    text-align: center;
  }
}

.bookmaker-header__logo {
  width: 104px;
  height: 104px;
  border-radius: 4px;
  margin-right: 20px;
  object-fit: contain;
  border: 1px solid #e9ecef;
  padding: 10px;
}

@media (max-width: 599px) {
  .bookmaker-header__logo {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.bookmaker-header__info {
  flex: 1;
}

.bookmaker-header__title {
  margin-bottom: 8px;
}

.bookmaker-header__name {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  margin: 0;
  line-height: 1.2;
}

.bookmaker-header__rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.bookmaker-header__stars {
  display: flex;
  margin-right: 10px;
  color: #ff9800;
}

.bookmaker-header__stars i {
  margin-right: 4px;
  font-size: 16px;
}

.bookmaker-header__grade {
  display: flex;
  align-items: center;
}

.bookmaker-header__score {
  font-size: 16px;
  font-weight: 700;
  color: #212121;
  margin-right: 4px;
}

.bookmaker-header__max {
  font-size: 14px;
  color: #757575;
}

.bookmaker-header__details {
  display: flex;
  align-items: center;
}

@media (max-width: 599px) {
  .bookmaker-header__details {
    justify-content: center;
  }
}

.bookmaker-header__detail {
  padding: 0 20px;
  position: relative;
}

.bookmaker-header__detail:first-child {
  padding-left: 0;
}

.bookmaker-header__detail:not(:last-child):after {
  content: "";
  height: 24px;
  width: 1px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: rgba(0, 0, 0, 0.1);
}

.bookmaker-header__detail-title {
  font-size: 12px;
  color: #757575;
}

.bookmaker-header__detail-value {
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.bookmaker-header__promo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .bookmaker-header__promo {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    align-items: center;
  }
}

.bookmaker-header__bonus {
  text-align: right;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .bookmaker-header__bonus {
    text-align: center;
  }
}

.bookmaker-header__bonus-label {
  font-size: 12px;
  color: #757575;
  margin-bottom: 4px;
}

.bookmaker-header__bonus-value {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
}

.bookmaker-header__actions {
  display: flex;
  align-items: center;
}

@media (max-width: 599px) {
  .bookmaker-header__actions {
    width: 100%;
    flex-direction: column;
  }
}


.bookmaker-header__button-wrapper {
  min-width: 130px;
}

@media (max-width: 599px) {
  .bookmaker-header__button-wrapper {
    width: 100%;
  }
}

.bookmaker-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: #1e88e5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 130px;
}

.bookmaker-header__button:hover {
  background-color: #1976d2;
  color: #ffffff;
}

@media (max-width: 599px) {
  .bookmaker-header__button {
    width: 100%;
  }
}
.bookmaker-content {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Стили для секций */
.bookmaker-section {
  margin-bottom: 30px;
}

.bookmaker-section:last-child {
  margin-bottom: 0;
}

.bookmaker-section__title {
  font-size: 22px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.bookmaker-section__icon {
  color: #1e88e5;
  margin-right: 10px;
  font-size: 22px;
}

/* Стили для краткой информации */
.bookmaker-summary__text {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #424242;
}

.bookmaker-summary__text p {
  margin-bottom: 15px;
}

.bookmaker-summary__text p:last-child {
  margin-bottom: 0;
}

.bookmaker-summary__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.bookmaker-fact {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 12px 15px;
}

.bookmaker-fact__icon {
  color: #1e88e5;
  font-size: 18px;
  margin-right: 12px;
}

.bookmaker-fact__title {
  font-size: 12px;
  color: #757575;
  margin-bottom: 3px;
}

.bookmaker-fact__value {
  font-size: 14px;
  font-weight: 500;
  color: #212121;
}

/* Стили для плюсов и минусов */
.bookmaker-pros-cons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 768px) {
  .bookmaker-pros-cons__grid {
    grid-template-columns: 1fr;
  }
}

.bookmaker-pros-cons__subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.bookmaker-pros-cons__icon {
  margin-right: 10px;
  font-size: 20px;
}

.bookmaker-pros-cons__icon.pros {
  color: #4caf50;
}

.bookmaker-pros-cons__icon.cons {
  color: #f44336;
}

.bookmaker-pros-cons__list {
  list-style: none !important;
  margin: 0 0 0 4px !important;
  padding: 0 !important;
}

.bookmaker-pros-cons__item {
  position: relative;
  padding-left: 27px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: #424242;
}

.bookmaker-pros-cons__item:last-child {
  margin-bottom: 0;
}

.bookmaker-pros-cons__item-icon {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 16px;
}

.bookmaker-pros-cons__item.pros {
  color: #2e7d32;
}

.bookmaker-pros-cons__item.pros .bookmaker-pros-cons__item-icon {
  color: #4caf50;
}

.bookmaker-pros-cons__item.cons {
  color: #c62828;
}

.bookmaker-pros-cons__item.cons .bookmaker-pros-cons__item-icon {
  color: #f44336;
}

.bookmaker-toc-block {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bookmaker-toc-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
}

.bookmaker-toc-block__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  font-family: "Manrope", sans-serif;
}

.bookmaker-toc-block__icon {
  margin-right: 10px;
  color: #1e88e5;
  font-size: 16px;
}

.bookmaker-toc-block__toggle {
  background: none;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.bookmaker-toc-block__toggle:hover {
  background-color: #e9ecef;
  color: #1e88e5;
}

.bookmaker-toc-block__toggle-icon {
  transition: transform 0.3s ease;
  font-size: 14px;
}

.bookmaker-toc-block__nav {
  padding: 15px 20px;
  transition: all 0.3s ease;
  border-top: 1px solid #e9ecef;
}

.bookmaker-toc-block__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.bookmaker-toc-block__list--columns {
  column-count: 3;
  column-gap: 20px;
}

.bookmaker-toc-block__item {
  break-inside: avoid;
  margin-bottom: 8px;
}

.bookmaker-toc-block__link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: #495057;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.bookmaker-toc-block__link:hover {
  background-color: #f1f8fe;
  color: #1e88e5;
}

.bookmaker-toc-block__link-icon {
  margin-right: 8px;
  font-size: 10px;
  color: #6c757d;
  transition: all 0.2s ease;
}

.bookmaker-toc-block__link:hover .bookmaker-toc-block__link-icon {
  color: #1e88e5;
  transform: translateX(3px);
}

/* Анимация для свернутого состояния */
.bookmaker-toc-block--collapsed .bookmaker-toc-block__nav {
  display: none;
}

.bookmaker-toc-block--collapsed .bookmaker-toc-block__toggle-icon {
  transform: rotate(-180deg);
}

/* Адаптивность */
@media (max-width: 992px) {
  .bookmaker-toc-block__list--columns {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .bookmaker-toc-block__list--columns {
    column-count: 1;
  }
}

.bonuses-carousel {
  margin-bottom: 20px;
  position: relative;
}

.bonuses-carousel__title {
  font-size: 22px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
}

.bonuses-carousel__icon {
  color: #1e88e5;
  margin-right: 10px;
  font-size: 20px;
}

.bonuses-carousel__container {
  overflow: hidden;
  position: relative;
  padding: 5px 0;
}

.bonuses-carousel__track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s ease;
  padding-bottom: 10px; /* Для скроллбара */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #1e88e5 #f5f5f5;
}

.bonuses-carousel__track::-webkit-scrollbar {
  height: 6px;
}

.bonuses-carousel__track::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.bonuses-carousel__track::-webkit-scrollbar-thumb {
  background: #1e88e5;
  border-radius: 3px;
}

.bonus-card_review {
  width: 298px;
  border: 1px solid #2c3e50;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.bonus-card__header {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #2c3e50;
  border-bottom: 1px solid #2c3e50;
}

.bonus-card__title {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0;
  flex: 1;
}

.bonus-card__amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
}

.bonus-card__body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.bonus-card__description {
  color: #424242;
  line-height: 1.6;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.bonus-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.bonus-card__detail {
  display: flex;
  flex-direction: column;
}

.bonus-card__detail-label {
  font-size: 12px;
  color: #757575;
}

.bonus-card__detail-value {
  font-size: 14px;
  font-weight: 500;
  color: #212121;
}

.bonus-card__detail-value.promo-code {
  color: #1e88e5;
  font-weight: 600;
  cursor: pointer;
}

.bonus-card__detail-value.promo-code:hover {
  text-decoration: underline;
}

.bonus-card__button {
  display: inline-block;
  padding: 10px 15px;
  background: #1e88e5;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s ease;
  margin-top: auto;
}

.bonus-card__button:hover {
  background: #1976d2;
}

.bonuses-carousel__nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.bonuses-carousel__prev,
.bonuses-carousel__next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #1e88e5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bonuses-carousel__prev:hover,
.bonuses-carousel__next:hover {
  background: #1e88e5;
  color: #ffffff;
}

@media (max-width: 768px) {
  .bonus-card {
    min-width: calc(100% - 20px);
  }

  .bonuses-carousel__nav {
    display: none;
  }
}

.bookmaker-review-page__faq-item {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
}

.bookmaker-review-page__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bookmaker-review-page__faq-question {
  padding: 15px 0;
  font-weight: 500;
  color: #212121;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.bookmaker-review-page__faq-question:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #1e88e5;
  transition: transform 0.3s;
}

.bookmaker-review-page__faq-question.active:after {
  content: "-";
}

.bookmaker-review-page__faq-answer {
  padding: 0 0 15px 0;
  display: none;
  font-size: 14px;
  line-height: 1.6;
  color: #424242;
}

.bookmaker-review-page__faq-answer.open {
  display: block;
}

.bookmaker-review-page__faq-answer p {
  margin: 0 0 10px 0;
}

.bookmaker-review-page__faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .bookmaker-review-page__faq {
    padding: 20px;
  }

  .bookmaker-review-page__heading {
    font-size: 20px;
  }
}

.bookmaker-sidebar__widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.bookmaker-sidebar__title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #212121;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

/* Лимиты */
.bookmaker-sidebar__limit {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.bookmaker-sidebar__limit:last-child {
  border-bottom: none;
}

.bookmaker-sidebar__limit-icon {
  width: 30px;
  text-align: center;
  color: #1e88e5;
  margin-right: 10px;
  font-size: 16px;
}

.bookmaker-sidebar__limit-label {
  font-size: 13px;
  color: #757575;
}

.bookmaker-sidebar__limit-value {
  font-size: 14px;
  font-weight: 500;
  color: #212121;
}

/* Скорость выплат */
.bookmaker-sidebar__payout {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.bookmaker-sidebar__payout:last-child {
  border-bottom: none;
}

.bookmaker-sidebar__payout-method {
  font-size: 13px;
  color: #212121;
}

.bookmaker-sidebar__payout-time {
  font-size: 13px;
  font-weight: 500;
  color: #2e7d32;
}

/* Поддержка */
.bookmaker-sidebar__support-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.bookmaker-sidebar__support-item:last-child {
  border-bottom: none;
}

.bookmaker-sidebar__support-icon {
  width: 30px;
  text-align: center;
  color: #1e88e5;
  margin-right: 10px;
  font-size: 16px;
}

.bookmaker-sidebar__support-text {
  font-size: 13px;
}

.bookmaker-sidebar__support-text a {
  color: #1e88e5;
  text-decoration: none;
}

.bookmaker-sidebar__support-text a:hover {
  text-decoration: underline;
}

.btn-accent {
  background: #22bb5e !important;
  border: 1px solid #22bb5e !important;
  color: white !important;
}
.btn-accent:hover {
  background: #46c979 !important;
  border: 1px solid #46c979 !important;
  text-decoration: none !important;
  color: white !important;
}
.btn-outline {
  background: #f8f8f8 !important;
  border: 1px solid #f8f8f8 !important;
  color: rgba(0, 0, 0, 0.7) !important;
}
.btn-outline:hover {
  background: #f5f5f5 !important;
  border: 1px solid #f5f5f5 !important;
  text-decoration: none !important;
  color: rgba(0, 0, 0, 0.7) !important;
}

.bookmaker-header__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  gap: 20px;
}

.bookmaker-header__feature {
  display: flex;
  align-items: center;
  color: #424242;
  font-size: 14px;
  font-weight: 500;
}

.bookmaker-header__feature i {
  margin-right: 8px;
  color: #1e88e5;
  font-size: 16px;
}

@media (max-width: 599px) {
  .bookmaker-header__features {
    flex-direction: column;
    gap: 10px;
  }
}

.bookmaker-reviews {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 25px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reviews-list {
  margin-bottom: 30px;
}

.review-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.review-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  margin-right: 15px;
  color: #212121;
}

.review-date {
  font-size: 12px;
  color: #757575;
  margin-right: 15px;
}

.review-rating {
  color: #ff9800;
}

.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: #424242;
}

.add-review-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 30px;
}

.add-review-form h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.rating-stars {
  color: #ff9800;
  cursor: pointer;
}

.rating-stars i {
  margin-right: 5px;
}

.submit-review-btn {
  background: #1e88e5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-review-btn:hover {
  background: #1976d2;
}

.section-title,
.bookmaker-review-page__heading {
  font-size: 22px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.bookmaker-news {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 25px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-list {
  margin-bottom: 20px;
  padding: 15px;  
}

.news-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 12px;
  color: #757575;
  margin-bottom: 5px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e88e5;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.news-title:hover {
  text-decoration: underline;
}

.news-excerpt {
  font-size: 14px;
  color: #424242;
  line-height: 1.5;
}

.all-news-link {
  display: inline-block;
  font-size: 14px;
  color: #1e88e5;
  text-decoration: none;
  font-weight: 500;
}

.all-news-link:hover {
  text-decoration: underline;
}

.content-wrapper {
  position: relative;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  position: relative;
}

.collapsible-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  z-index: 1;
}

.expand-button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #f5f5f5;
  border: none;
  color: #1e88e5;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

.expand-button:hover {
  background: #e0e0e0;
}

.expand-button::after {
  content: "▼";
  margin-left: 8px;
  font-size: 12px;
  transition: transform 0.3s;
}

.expand-button.expanded::after {
  transform: rotate(180deg);
  content: "▲";
}

.content-wrapper.expanded .collapsible-content {
  max-height: none;
}

.content-wrapper.expanded .collapsible-content::before {
  display: none;
}

.bookmaker-mirrors,
.bookmaker-review-page__faq {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 25px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mirrors-content {
  display: flex;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .mirrors-content {
    flex-direction: column;
  }
}

.mirrors-info {
  flex: 1;
  padding-right: 20px;
}

.mirrors-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #424242;
  margin-bottom: 20px;
}

.mirrors-features {
  margin-top: 25px;
}

.mirrors-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #424242;
}

.mirrors-feature i {
  color: #1e88e5;
  margin-right: 10px;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.mirrors-list {
  flex: 0 0 300px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: var(--radius);
}

.mirrors-list h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  color: #212121;
}

.mirror-links {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.mirror-links li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.mirror-links li:before {
  content: "•";
  color: #1e88e5;
  position: absolute;
  left: 0;
}

.mirror-links a {
  color: #1e88e5;
  text-decoration: none;
  font-size: 14px;
}

.mirror-links a:hover {
  text-decoration: underline;
}

.mirror-update {
  display: flex;
  align-items: flex-start;
  background: #e3f2fd;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  color: #424242;
}

.mirror-update i {
  color: #1e88e5;
  margin-right: 10px;
  margin-top: 2px;
}

.mirrors-app {
  background: #1e88e5;
  color: white;
  padding: 20px;
  border-radius: var(--radius);
}

.mirrors-app h3 {
  margin-top: 0;
  font-size: 18px;
}

.mirrors-app p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.app-buttons {
  display: flex;
  gap: 15px;
}

@media (max-width: 480px) {
  .app-buttons {
    flex-direction: column;
  }
}

.app-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s;
}

.app-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.app-android {
  background: #3ddc84;
  color: #0c3b21;
}

.app-ios {
  background: #000;
  color: white;
}

.app-btn i {
  font-size: 24px;
  margin-right: 10px;
}

.app-btn span {
  font-size: 14px;
}

.bookmaker-start {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.start-step {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.start-step:hover {
  transform: translateY(-3px);
}

.step-icon {
  width: 40px;
  height: 40px;
  background: #1e88e5;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #212121;
}

.step-content p {
  margin: 0;
  font-size: 14px;
  color: #424242;
  line-height: 1.5;
}

.start-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

@media (max-width: 480px) {
  .start-actions {
    flex-direction: column;
  }
}

.start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.register-btn {
  background: #1e88e5;
  color: white;
}

.register-btn:hover {
  background: #1976d2;
}

.demo-btn {
  background: #f5f5f5;
  color: #212121;
  border: 1px solid #ddd;
}

.demo-btn:hover {
  background: #e0e0e0;
}

.start-note {
  display: flex;
  align-items: flex-start;
  background: #fff8e1;
  padding: 15px;
  border-radius: 4px;
  font-size: 14px;
  color: #424242;
  margin-top: 20px;
}

.start-note i {
  color: #ffb300;
  margin-right: 10px;
  margin-top: 2px;
}

.start-note p {
  margin: 0;
}

.news-full-article {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.news-article-header {
  margin-bottom: 25px;
}

.news-article-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.news-meta-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #607d8b;
}

.news-meta-info i {
  margin-right: 5px;
  color: #1e88e5;
}

/* Изображение новости */
.news-featured-image {
  margin: 0 -30px 25px;
  position: relative;
}

.news-main-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0;
}

.news-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 30px;
  font-size: 14px;
}

/* Рекомендуемые новости */
.news-recommendations {
  margin: 0;
}

.recommended-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.recommended-news-card {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  background: #fff;
}

.recommended-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #1e88e5;
}

.recommended-news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.recommended-news-image {
  height: 160px;
  overflow: hidden;
}

.recommended-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.recommended-news-card:hover .recommended-thumbnail {
  transform: scale(1.05);
}

.recommended-news-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 15px 8px;
  line-height: 1.4;
  color: #1a1a1a;
}

.recommended-news-date {
  display: block;
  font-size: 13px;
  color: #607d8b;
  margin: 0 15px 15px;
}

.category-header {
  background: #ffffff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
  header {
    position: sticky !important;
    top: 0 !important;
    transform: none !important;
  }
}

.tips-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 1200px) {
  .tips-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 769px) {
  .tips-block {
    display: block;
  }
  .tips-block .forecast-card {
    margin-bottom: 15px;
  }
}

.box-page-navigation {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #e0e6ed;
  border-bottom: 1px solid #e0e6ed;
  grid-column: 1 / -1;
  width: 100%;
        margin: 20px 0;
}

.page-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  font-family: "Manrope", sans-serif;
}

.pprev,
.pnext,
.page,
.page a,
.page span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1;
}

.pprev a,
.pnext a {
  color: #1e88e5;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  border-radius: 4px;
  padding: 6px 12px;
}

.pprev a:hover,
.pnext a:hover {
  color: #fff;
  background-color: #1e88e5;
}

.page a {
  color: #4a5568;
  border: 1px solid #e0e6ed;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s;
  margin: 0 2px;
}

.page a:hover {
  border-color: #1e88e5;
  color: #1e88e5;
  background: #f5f9ff;
}

/* Текущая страница (span) */
.page span {
  color: #fff;
  background: #1e88e5;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  font-weight: 600;
  margin: 0 2px;
}

/* Стрелки */
.pprev a::before {
  content: "‹";
  margin-right: 5px;
}

.pnext a::after {
  content: "›";
  margin-left: 5px;
}

@media (max-width: 699px) {
  .page {
    display: none;
  }

  .pprev,
  .pnext {
    display: inline-flex;
  }

  .page-navigation {
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
  }
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .bonus-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.promo-bonus-block {
  background: #2c3e50;
  color: white;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.promo-bonus-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.promo-logo-wrap {
  width: 100px;
  height: 60px;
  margin-right: 20px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promo-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
}

.promo-textual-info h1 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #fff;
}

.promo-textual-info p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0;
}

.promo-action-links {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.action-button-highlight,
.action-button-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: 0.3s ease;
  text-decoration: none;
}

.action-button-highlight {
  background-color: white;
  color: #0d47a1;
}

.action-button-highlight:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.action-button-ghost {
  border: 1px solid white;
  color: white;
  background: transparent;
}

.action-button-ghost:hover {
  background-color: #fff;
  color: black;
  text-decoration: none;
}

@media (max-width: 768px) {
  .promo-bonus-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .promo-logo-wrap {
    margin-bottom: 15px;
    width: 100px;
    height: auto;
  }

  .promo-textual-info h1 {
    font-size: 20px;
  }

  .promo-textual-info {
    margin-bottom: 15px;
  }

  .promo-action-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .promo-action-links a {
    width: 100%;
    text-align: center;
  }
}

/* Bonus Detail Grid */
.bonus-details-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 30px;
}

.bonus-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-item {
  background-color: rgba(13, 71, 161, 0.05);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.stat-icon {
  font-size: 24px;
  color: #0d47a1;
  margin-bottom: 10px;
}

.stat-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 14px;
  color: #444;
}

.bonus-full-description p,
.bonus-full-description ul,
.bonus-full-description ol {
  margin-bottom: 15px;
}

.bonus-full-description li {
  margin-bottom: 8px;
}

.match-preview-box {
  background: #111 url(../images/fon.jpg) no-repeat center center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

/* Команды */
.match-teams-lineup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 20px;
  padding: 25px;
}

.match-side-unit {
  flex: 1;
  min-width: 120px;
}

.match-side-emblem {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-side-emblem img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.match-side-name {
  font-weight: 600;
  font-size: 16px;
  color: white;
}

/* Центр: дата, лига, стадион */
.match-center-details {
  flex: 1;
  min-width: 200px;
  padding: 10px 0;
}

.match-center-league, .match-center-date, .match-center-venue {
  font-size: 15px;
  font-weight: 500;
  color: white;
}

.match-center-league {
  margin-bottom: 5px;
}

.match-center-venue {
  margin-top: 5px;
}

/* Ставка */
.match-bet-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px 20px;
  background-color: white;
  border-radius: 0 0 4px 4px;
}

.match-bet-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
}

.match-bet-description {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-bet-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.match-bet-choice {
  font-weight: 500;
  color: var(--dark-color);
}

.match-bet-odds {
  color: var(--primary-color);
  font-weight: 700;
}

.match-bet-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color); /* начальный синий */
  color: white;
  padding: 5px 5px 5px 15px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--primary-color);
  gap: 12px;
}

.match-bet-logo {
  background: white;
  padding: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 32px;
}

.match-bet-logo img {
  max-height: 15px;
  display: block;
}

.match-bet-link:hover {
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
}

.match-bet-link:hover .match-bet-text {
  color: var(--primary-color);
  text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .match-teams-lineup {
    flex-direction: column;
  }

  .match-side-unit {
    margin-bottom: 15px;
  }

  .match-odds-grid {
    gap: 10px;
  }

  .match-odds-item {
    min-width: 70px;
  }

  .match-bet-suggestion {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-bet-link {
    width: 100%;
    text-align: center;
  }
}

/* Forecast content */
.forecast-content-section {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 30px;
}

/* Odds comparison */
.odds-comparison {
  margin: 30px 0;
}

.odds-table {
  width: 100%;
  border-collapse: collapse;
}

.odds-table th,
.odds-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.odds-table th {
  background-color: rgba(0, 78, 137, 0.05);
  font-weight: 600;
}

.odds-table .bk-logo {
  width: 80px;
  height: 30px;
  margin: 0 auto;
}

.odds-table .bk-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.odds-table .best-odd {
  background-color: rgba(76, 175, 80, 0.1);
  font-weight: 600;
}

/* Error container */
.error-container {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.error-alert {
  display: flex;
  align-items: flex-start;
  background-color: #fff8f8;
  border: 1px solid #ffdddd;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.error-icon {
  color: #f44336;
  font-size: 24px;
  margin-right: 15px;
  margin-top: 2px;
}

.error-content {
  flex: 1;
}

.error-title {
  color: #f44336;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.error-message {
  color: var(--dark-color);
  line-height: 1.5;
}

/* For DLE grid layout */
.full-width {
  width: 100%;
  clear: both;
}

/* Responsive */
@media (max-width: 768px) {
  .error-alert {
    flex-direction: column;
    padding: 15px;
  }

  .error-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.rating-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  border-radius: 5px;
}

.rating-item:last-child {
  margin-bottom: 0;
}

.rating-rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-200);
  color: var(--gray-700);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  margin-right: 12px;
}

.rating-rank.top {
  background-color: var(--accent-color);
  color: white;
}

.rating-logo {
  width: 80px;
  height: 24px;
  margin-right: 12px;
}

.rating-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rating-score {
  margin-left: auto;
  font-weight: 700;
  color: var(--dark-color);
}

.promo_code_box {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 40px;
    padding: 10px 12px 6px;
    border-radius: 4px;
    border: 1px solid var(--background-secondary-on-gray,#E3E4E8);
    position: relative;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 12px;
    min-width: calc((100% - 15px) / 2);
    cursor: pointer;
}

.promo_code_box::before {
    position: absolute;
    content: 'Скопировать промокод';
    color: #888;
    font-size: 12px;
    font-weight: 400;
    left: 6px;
    top: -6px;
    background: #F5F5F5;
    padding: 0 6px;
    font-size: 11px;
}

.bonus-promocode {margin-bottom: 10px;}

.bonus-promocode::before {
    background: #2b3e51;
} 

.review-promocode {min-width: 200px; margin-right: 10px; color: #495057;}
.review-promocode::before {
    background: #fff;
}

@media (max-width: 599px) {
  .review-promocode {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
  }
}

.big-shorts-promocode {min-width: 200px; max-width: 224px; color: #495057;}
.big-shorts-promocode::before {
    background: #fff;
}

@media (max-width: 768px) {
  .big-shorts-promocode {
    max-width: 100%;
  }
}

.promo_code_box.copied::before {
    content: 'Промокод скопирован!';
}

.article-toc-wrapper {
  margin: 20px -25px 20px -25px;
  background: #f9f9f9;
  padding: 15px 25px;
}

.article-toc-wrapper .toggle-toc {
  background-color: #15a863;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.article-toc-wrapper .toggle-toc:hover {
  background-color: #129254;
}

.article-toc {
  margin-top: 10px;
}

.article-toc ul {
  padding-left: 0 !important;
  list-style-type: none !important;
  margin: 0 !important;
}

.article-toc li {
  margin: 6px 0;
}

.article-toc a {
  color: #0066cc;
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

.srx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 14px;
  padding: 10px 0;
  border-bottom: 2px solid var(--srx-border);
}

.srx-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  color: var(--srx-text);
  font-weight: 700;
}

.srx-query {
  font-weight: 600;
  color: var(--srx-accent);
}

@media (max-width: 720px) {
  .srx-title {
    font-size: 20px;
  }
}

:root {
  --srx-accent: #15a863;
  --srx-bg: #fff;
  --srx-text: #0f172a;
  --srx-muted: #64748b;
  --srx-border: #e2e8f0;
  --srx-radius: 14px;
  --srx-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
  --srx-shadow-hover: 0 10px 26px rgba(2, 6, 23, 0.10);
}

/* Список результатов */
.srx-list {
  display: grid;
  gap: 14px;
}

/* Карточка результата */
.srx-item {
  background: var(--srx-bg);
  border: 1px solid var(--srx-border);
  border-radius: var(--srx-radius);
  box-shadow: var(--srx-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.srx-item:hover {
  border-color: #dbe3ee;
  box-shadow: var(--srx-shadow-hover);
  transform: translateY(-1px);
}

.srx-body {
  padding: 16px;
}

/* Заголовок */
.srx-item__title {
  margin: 0 0 6px 0;
  font-size: 18px;
  line-height: 1.35;
}
.srx-item__link {
  color: var(--srx-text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.2s ease, background-size 0.2s ease;
}
.srx-item__link:hover {
  color: var(--srx-accent);
  background-size: 100% 1px;
}

/* Короткий текст */
.srx-item__excerpt {
  margin: 0 0 10px 0;
  color: #334155;
  line-height: 1.55;
}

/* Мета-строка */
.srx-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.srx-meta__part {
  font-size: 13px;
  color: var(--srx-muted);
}

.srx-meta>*:empty {
  display: none; /* скрывает пустые элементы */
}

/* Кнопка "Читать" */
.srx-read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--srx-accent);
  border: 1px solid var(--srx-accent);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.srx-read:hover {
  background: #19b56d;
  border-color: #19b56d;
  box-shadow: 0 6px 14px rgba(21, 168, 99, 0.25);
}

/* Адаптив */
@media (max-width: 720px) {
  .srx-item__title {
    font-size: 17px;
  }
  .srx-body {
    padding: 14px;
  }
}
