@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body {
  font-family: "Inter", sans-serif;
}
.casino-bonus__page aside,
.casino-bonus__page article + article {
  margin-top: 24px;
}
/* 1. Таблица бонусов */
.casino-bonus__page {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}
.bonus-card {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 185px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  min-height: 118px;
  padding: 24px;
  border: 1px solid #e3e7ef;
  background: #ffffff;
  box-shadow: 0px 4px 12px 0px #1d273010;

  border-radius: 12px;
  box-sizing: border-box;
}

/* Casino */

.bonus-card__casino {
  position: relative;
  min-width: 140px;
  display: flex;
  align-items: center;
  flex-direction: column;

  padding-right: 24px;
}

.bonus-card__casino::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 0;
  width: 1px;
  height: 80px;
  background: #e3e7ef;
}

.bonus-card__casino-top {
  display: none;
}

.bonus-card__position {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  border-radius: 50%;
  background: #1d2730;

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;
}

.bonus-card__flag {
  width: 20px;
  height: 20px;
}
.bonus-card__flag img {
  width: 100%;
  height: 100%;
}
.bonus-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  background: #f4f5f7;
  border: 1px solid #e3e7ef;
  border-radius: 12px;
  color: #0183d1;
  line-height: 100%;
  font-size: 22px;
  font-weight: 800;
}

.bonus-card__casino-name {
  display: none;
}

.bonus-card__rating {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.bonus-card__stars {
  color: #ffc107;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0px;
}

.bonus-card__review-link {
  margin-top: 6px;
  color: #0183d1;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  text-decoration: underline;
}

/* Offer */

.bonus-card__offer {
  position: relative;
  padding: 0 36px;
}

.bonus-card__offer::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;

  width: 1px;
  height: 80px;
  background: #e3e7ef;
}

.bonus-card__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bonus-card__badge {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 100%;
}

.bonus-card__badge--featured {
  background: #0183d1;
  color: #ffffff;
}

.bonus-card__badge--verified {
  background: #e8f5e9;
  color: #2e7d32;
}

.bonus-card__title {
  margin: 0;
  color: #232224;
  font-size: 32px;
  font-weight: 800;
  line-height: 100%;
}

.bonus-card__description {
  margin: 6px 0 0;
  color: #666666;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
}

/* Conditions */

.bonus-card__conditions {
  padding: 0 24px;
}

.bonus-card__conditions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.bonus-card__condition {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #232224;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
}

.bonus-card__condition-icon {
  flex: 0 0 18px;

  width: 18px;
  height: 18px;
}

/* Action */

.bonus-card__action {
  display: flex;
  justify-content: flex-end;
}

.bonus-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 180px;
  min-height: 48px;
  border-radius: 8px;
  background: #146444;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.bonus-card__button:hover {
  background: #075a41;
}

.bonus-card__button:active {
  transform: translateY(1px);
}

/* Mobile details */

.bonus-card__details {
  display: none;
}

/* =========================
   Mobile
========================= */
@media (max-width: 1220px) {
  .casino-bonus__page {
    max-width: 688px;
    width: 100%;
  }
  .bonus-card__casino {
    min-width: 100px;
    max-width: 100px;
    padding-right: 16px;
  }
  .bonus-card {
    grid-template-columns: 116px 1fr 1fr 110px;
    width: 100%;
    max-width: 688px;
    min-height: 117px;
    padding: 20px;
  }
  .bonus-card__title {
    font-size: 20px;
  }
  .bonus-card__description {
    font-weight: 400;
    font-size: 12px;
  }
  .bonus-card__condition {
    font-size: 12px;
  }
  .bonus-card__button {
    min-height: 39px;
    font-size: 12px;
  }
  .bonus-card__offer {
    padding: 0;
  }
}
@media (max-width: 687px) {
  .casino-bonus__page {
    max-width: 100%;
    width: 100%;
    padding: 40px 20px;
  }
  .bonus-card {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    max-width: 100%;
    min-height: auto;
    padding: 16px;
    border-radius: 12px;
  }

  /* Casino */

  .bonus-card__casino {
    align-items: flex-start;
    padding: 0 0 35px;
    border-bottom: 1px solid #e3e7ef;
  }

  .bonus-card__casino::after {
    display: none;
  }

  .bonus-card__casino-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .bonus-card__logo {
    display: none;
  }

  .bonus-card__casino-name {
    display: block;
    margin: 0;
    color: #232224;
    font-size: 18px;
    font-weight: 800;
    line-height: 100%;
  }
  .bonus-card__casino {
    min-width: 100%;
    max-width: 100%;
  }
  .bonus-card__rating {
    position: absolute;
    right: 0;
    bottom: 16px;
    width: 100%;
    align-items: flex-end;
  }

  .bonus-card__stars {
    font-size: 24px;
    margin-top: -37px;
  }

  .bonus-card__review-link {
    position: absolute;
    left: 0;
    top: -19px;
    bottom: 16px;

    margin: 0;

    white-space: nowrap;
  }

  .bonus-card__offer::after {
    display: none;
  }

  .bonus-card__badges {
    position: absolute;
    top: -109px;
    right: 0;
    margin: 0;
  }

  .bonus-card__badge--featured {
    display: none;
  }

  .bonus-card__title {
    font-size: 24px;
  }

  .bonus-card__description {
    margin-top: 4px;
    font-weight: 500;
    font-size: 14px;
  }
  .bonus-card__conditions {
    padding: 0;
  }
  .bonus-card__conditions-list {
    gap: 8px;
  }

  .bonus-card__condition {
    font-size: 13px;
  }

  /* Button */

  .bonus-card__action {
    margin-top: 16px;
  }

  .bonus-card__button {
    max-width: none;
    min-height: 48px;
    font-size: 15px;
  }

  /* Details */

  .bonus-card__details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 16px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666666;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    cursor: pointer;
  }
}

/* 2. Блок автора  */
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e7ef;
  color: #666666;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
}

.article-meta__label {
  color: #8c8c8c;
}

.article-meta__author {
  color: #0183d1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-meta__author:hover {
  text-decoration: none;
}

.article-meta__separator {
  color: #666666;
}

.article-meta__date {
  color: #777777;
}

@media (max-width: 767px) {
  .article-meta {
    gap: 6px;

    padding-bottom: 10px;

    font-size: 11px;
  }
}

/*  2. Блок автора (нижний) */
.author-card {
  width: 100%;
  max-width: 800px;
  background: #fafafa;
  border: 1px solid #e3e7ef;
  border-radius: 12px;
}

.author-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
}

.author-card__image-wrap {
  flex: 0 0 80px;
}

.author-card__image {
  display: block;

  width: 80px;
  height: 80px;

  border-radius: 50%;
  object-fit: cover;
}

.author-card__content {
  flex: 1;
  min-width: 0;
}

.author-card__name {
  display: inline-block;
  margin-bottom: 4px;
  color: #0183d1;
  font-size: 20px;
  font-weight: 800;
  line-height: 100%;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.author-card__name:hover {
  text-decoration: none;
}

.author-card__info {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 12px;

  color: #555555;
  font-weight: 600;
  font-size: 13px;
  line-height: 100%;
}

.author-card__position {
  color: #232224;
  font-weight: 700;
}

.author-card__separator {
  display: block;

  width: 1px;
  height: 12px;

  background: #b5b5b5;
}

.author-card__company {
  color: #555555;
}

.author-card__description {
  margin: 0;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

/* =========================
   Mobile
========================= */

@media (max-width: 687px) {
  .author-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .author-card__inner {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .author-card__image-wrap {
    flex: none;
  }

  .author-card__image {
    width: 80px;
    height: 80px;
  }

  .author-card__content {
    display: flex;
    align-items: center;
    flex-direction: column;

    width: 100%;

    text-align: center;
  }

  .author-card__name {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .author-card__info {
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    font-size: 12px;
  }
  .author-card__position {
    font-size: 13px;
  }

  .author-card__separator {
    display: none;
  }

  .author-card__description {
    font-size: 13px;
    line-height: 20px;
    text-align: center;
  }
}
/* 3. Левый сайдбар с промокодом  */
.sidebar-offer {
  width: 100%;
  max-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  box-shadow: 0px 4px 12px 0px #1d273014;
  border-radius: 12px;
}

.sidebar-offer__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #0183d114;
  color: #0183d1;
  font-size: 11px;
  font-weight: 700;
  line-height: 100%;
}

.sidebar-offer__title {
  margin: 0 0 16px;
  color: #232224;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.sidebar-offer__promo {
  margin-bottom: 16px;
}

.sidebar-offer__promo-label {
  display: block;
  margin-bottom: 8px;
  color: #757575;
  font-size: 12px;
  font-weight: 600;
  line-height: 100%;
}

.sidebar-offer__promo-code {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 6px;

  background: #1bae7208;

  border: 1.5px solid #1bae7266;
  color: #146444;

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
  cursor: pointer;
}

.sidebar-offer__verified {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: #3a3a3a;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
}

.sidebar-offer__verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.sidebar-offer__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: linear-gradient(225deg, #1bae72 3%, #146444 95.71%);
  border: 1px solid #1bae72;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sidebar-offer__button:hover {
  opacity: 0.9;
}

.sidebar-offer__button:active {
  transform: translateY(1px);
}

.sidebar-offer__button-icon {
  font-size: 14px;
}

.sidebar-offer__disclaimer {
  margin: 0;
  padding-top: 16px;
  color: #757575;

  border-top: 1px solid #e3e7ef;

  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}
/*  4. Правый сайдбар — Desktop  */
.sidebar-nav {
  width: 100%;
  max-width: 300px;
  padding: 24px;

  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  box-shadow: 0px 4px 12px 0px #1d273014;
  border-radius: 12px;
}

.sidebar-nav__group + .sidebar-nav__group {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e3e7ef;
}

.sidebar-nav__title {
  margin: 0 0 16px;
  color: #1d2730;
  font-size: 14px;
  font-weight: 800;
  line-height: 100%;
}

.sidebar-nav__list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.sidebar-nav__item {
  margin: 0;
  padding: 0;
}

.sidebar-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #0183d1;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;

  text-decoration: none;

  transition: color 0.2s ease;
}

.sidebar-nav__link:hover {
  color: #006da8;
}

/* Table of Contents bullets */

.sidebar-nav__group:first-child .sidebar-nav__link::before {
  content: "•";

  flex: 0 0 auto;

  color: #0183d1;

  font-size: 14px;
  line-height: 1;
}

/* Gift links */

.sidebar-nav__gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 14px;

  width: 14px;
  height: 14px;

  font-size: 12px;
  line-height: 1;
}

/* Arrow links */

.sidebar-nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 8px;
  color: #757575;
  font-size: 17px;
  line-height: 1;
}
/* <!-- 4. Правый сайдбар — Mobile --> */
.sidebar-nav--mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  box-shadow: 0px 4px 12px 0px #1d273014;
  border-radius: 12px;
}

.sidebar-nav__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 41px;
  padding: 0 16px;
  box-sizing: border-box;
  color: #1d2730;
  background: #1d273005;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 100%;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.sidebar-nav__mobile-link:hover {
  border-color: #cbd3da;
  background: #f8f9fa;
}

.sidebar-nav__mobile-arrow {
  margin-left: 12px;

  color: #1d2730;
  font-size: 20px;
  font-weight: 800;
}
/* 5. правий сайтбар */
.rcasino-sidebar {
  width: 280px;
  flex: 0 0 280px;
  background: #fff;
}

/* =========================
   CONTENT ACCORDION
========================= */

.rcasino-sidebar__accordion {
  background: #ffffff01;
  box-shadow: 0px 4px 8px 0px #1d273029;
}

.rcasino-sidebar__accordion-btn {
  width: 100%;
  min-height: 49px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  border: 0;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: #232224;
  text-align: left;

  cursor: pointer;
}

.rcasino-sidebar__accordion-title {
  display: block;
}

/* Arrow */

.rcasino-sidebar__accordion-icon {
  width: 9px;
  height: 9px;
  flex-shrink: 0;

  border-top: 1px solid #4a5b68;
  border-right: 1px solid #4a5b68;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

/* Accordion body */

.rcasino-sidebar__accordion-body {
  max-height: 100px;

  overflow: hidden;
  background: #f7f7f7;
  opacity: 1;

  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.rcasino-sidebar__accordion-link {
  min-height: 49px;
  padding: 0 16px;

  display: flex;
  align-items: center;

  font-size: 12px;
  line-height: 15.6px;
  color: #232224;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Closed state */

.rcasino-sidebar__accordion.is-collapsed .rcasino-sidebar__accordion-body {
  max-height: 0;
  opacity: 0;
  border-color: transparent;
}

.rcasino-sidebar__accordion.is-collapsed .rcasino-sidebar__accordion-icon {
  transform: rotate(135deg);
}

/* =========================
   SIDEBAR BLOCKS
========================= */

.rcasino-sidebar__block {
  padding: 38px 0 0;
}

.rcasino-sidebar__heading {
  margin: 0 0 8px;

  font-size: 20px;
  line-height: 31.2px;
  font-weight: 400;
  color: #3a3a3a;
}

/* =========================
   LINKS
========================= */

.rcasino-sidebar__links {
  margin: 0;
  padding: 0;
  margin: 8px 0;
  list-style: none;
}

.rcasino-sidebar__item:last-child {
  margin-bottom: 0;
}

.rcasino-sidebar__link {
  position: relative;

  display: block;

  padding-left: 18px;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;

  color: #044b9e;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.rcasino-sidebar__link:hover {
  opacity: 0.7;
}

/* =========================
   FIRST LIST ICON
========================= */

.rcasino-sidebar__links--gift .rcasino-sidebar__link::before {
  content: "🎁";

  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  font-size: 12px;
}
.rcasino-sidebar__item {
  min-height: 27px;
  display: flex;
  align-items: center;
}

/* =========================
   SECOND LIST ARROW
========================= */

.rcasino-sidebar__links--arrow .rcasino-sidebar__link::before {
  content: ">";

  position: absolute;
  top: -1px;
  left: 0;
  width: 9px;
  height: 15px;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  color: #044b9e;
}
.rcasino-sidebar {
    padding: 0 20px;
}
.bonus-card__condition {
    padding: 0;
    list-style: none;
}
article ul .bonus-card__condition:before {
    content: none;
}
.bonus-card {
    grid-template-columns: 90px 1fr 1fr 105px;
}
.bonus-card__casino {
    min-width: 80px;
    padding-right: 12px;
}
.bonus-card__offer {
    padding: 0 12px;
}
.bonus-card__button{
max-width: max-content;
    padding: 0 12px;
}
.bonus-card__conditions {
    padding: 0 12px;
}
.bonus-card__badge {
    font-size: 9px;
}
.bonus-card__offer::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 80px;
  background: rgb(227, 231, 239);
}
.article-meta {
    margin-top: 8px;
}
.bonus-card {
        max-width: 100%;

    }
.bonus-card + .bonus-card{
margin-top:20px;
}
@media (max-width: 687px) {
 .bonus-card__action {
    justify-content: center;
}
}

.promo-copy-message {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 9999;

  padding: 10px 16px;
  border-radius: 8px;

  background: #1bae72;
  color: #fff;

  font-size: 14px;
  line-height: 20px;

  opacity: 1;
  transition: opacity 0.3s ease;
}

.promo-copy-message--hide {
  opacity: 0;
}