html,
body {
  overscroll-behavior: none;
}

@media screen and (max-width: 1899px) {
  .template-main-page.template-bonus .wrapper {
    width: 1100px !important;
    padding: 0;
  }
  .template-main-page.template-bonus .bonus-snip-wrapper .wrap {
    width: 740px !important;
  }
  .template-main-page .bonus-shortcode .broker-slider__slides {
    padding: 0;
  }
  .broker-slider__footer {
    width: 207px;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer-inner {
    width: 100%;
  }
  .broker-slider__wrapper a[data-broker-logo] > div {
    padding: 8px 16px;
  }
}
@media screen and (max-width: 1499px) {
  .template-main-page.template-bonus .bonus-shortcode .broker-slider__arrows {
    display: none;
  }
  .template-main-page.template-bonus .wrapper {
    width: 824px !important;
  }
  .template-main-page.template-bonus .bonus-snip-wrapper .wrap {
    width: 464px !important;
  }
  .template-main-page .broker-slider {
    flex-direction: column;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer {
    width: 100%;
    max-width: 100%;
  }
  .template-main-page .bonus-shortcode .broker-slider__header {
    width: 100%;
    border: none;
    position: relative;
    z-index: 4;
  }
  .template-main-page .bonus-shortcode .broker-slider__pagination {
    display: block;
    background: var(--beige);
    width: 100%;
    padding: 8px;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer-inner {
    width: 100%;
    flex-direction: unset;
    gap: 16px;
    justify-content: center;
    padding-right: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .broker-slider__wrapper a[data-broker-logo] > div {
    flex-direction: column;
  }
  .template-main-page
    .bonus-shortcode
    .broker-slider__footer-inner
    > div.broker-slider__broker-logo {
    width: calc((100% / 3) - 12px);
    overflow: unset;
    transform: skew(20deg) translateX(10px);
    clip-path: unset;
  }
  .template-main-page
    .bonus-shortcode
    .broker-slider__footer-inner
    > div.broker-slider__broker-logo
    img {
    transform: skew(-20deg);
  }
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    padding: 0 0 24px;
  }
}

@media screen and (max-width: 1024px) {
  .template-main-page.template-bonus .template-main-header .wrap {
    width: 464px !important;
  }
  .template-main-page.template-bonus .wrapper {
    width: 824px !important;
    padding: 0;
  }
  .template-main-page.template-bonus .bonus-snip-wrapper .wrap {
    width: 464px !important;
  }
  .template-main-page.template-bonus .wrap.page-content {
    width: 464px;
    padding-left: 0;
  }
}

@media screen and (max-width: 1023px) {
  .template-main-page.template-bonus .template-main-header {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus .wrapper {
    overflow: visible;
  }
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus
    .template-main-header
    .wrapper
    .header-nav {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    margin-top: -1px;
    position: relative;
    top: 0 !important;
    padding: 24px 0 0;
  }
  .template-main-page.template-bonus .template-main-header .header-nav label {
    margin: 0;
    padding: 0;
  }
  .template-main-page.template-bonus .template-main-header .header-nav h1 {
    max-width: calc(100% - 40px);
  }
  .template-main-page.template-bonus .bonus-snip-wrapper {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    margin-top: 0;
    padding-top: 0;
  }
  .template-main-page.template-bonus .bonus-shortcode .broker-slider {
    flex-direction: row;
  }
  .template-main-page.template-bonus .bonus-shortcode .broker-slider__footer {
    margin-top: 0;
    gap: 8px;
  }
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    display: block;
  }
  .template-main-page.template-bonus .template-main-header .header-nav h1 {
    font-size: 26px;
    font-style: normal;
    font-weight: 800;
    padding: 0;
  }
  .template-main-page.template-bonus
    .bonus-shortcode
    .broker-slider__pagination {
    display: none;
  }
  .template-main-page
    .bonus-shortcode
    .broker-slider__footer-inner
    > div.broker-slider__broker-logo {
    width: 100%;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer {
    width: 207px;
  }
  .template-main-page.template-bonus .template-main-header .wrap {
    width: 100% !important;
  }
  .template-main-page.template-bonus .wrapper aside {
    display: none !important;
  }
  .template-main-header.template-bonus .aside--breadcrumbs #crumbs {
    margin: 0 16px !important;
  }

  .template-main-page .broker-slider {
    flex-direction: row;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer-inner {
    overflow: clip;
    flex-direction: column;
    padding-right: 0;
    gap: 0;
    margin-top: 0;
  }
  .template-main-page.template-bonus .wrap.page-content,
  .template-main-page.template-bonus .wrapper {
    width: 100% !important;
    max-width: 100%;
    padding: 0 16px;
  }
  .template-main-page.template-bonus .wrap.page-content {
    padding: 24px 0;
  }
  .template-main-page.template-bonus .bonus-snip-wrapper .wrap {
    width: 100% !important;
  }

  .template-main-page.template-bonus
    .template-main-header
    .wrapper
    .header-nav {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    margin-top: -1px;
  }
  .template-main-page.template-bonus
    .template-main-header
    .header-nav
    label
    .common-toc-wrapper {
    position: absolute;
  }
  .template-main-page.template-bonus
    .template-main-header
    .header-nav
    label
    .common-toc-wrapper
    a {
    padding: 8px 0;
    border: none;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
  }
  .template-main-page.template-bonus .aside--breadcrumbs {
    margin: 0;
  }
  .template-main-page.template-bonus .aside--bread crumbs #crumbs {
    margin: 0 16px;
  }
  .template-main-page.template-bonus
    .template-main-header
    .aside--breadcrumbs
    #crumbs {
    margin: 0;
  }
  .template-main-page .template-main-header .wrap div.content {
    max-width: 100%;
  }
  .template-main-page.template-bonus
    .template-main-header
    .header-nav
    label:has(input#toggler:checked)
    .common-toc-wrapper.mobile-only {
    display: block !important;
    width: calc(100% + 32px);
    margin: 0 -16px;
    border: none;
    padding-top: 0;
  }
  .template-main-page.template-bonus .header-nav #toggler {
    background: url(/wp-content/themes/sahifa-child/public/img/golden-arrow.png)
      no-repeat right center !important;
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    display: block !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
  }
  .template-main-page.template-bonus
    .template-main-header
    .header-nav
    label
    .common-toc-wrapper:after {
    background: url(/wp-content/themes/sahifa-child/public/img/golden-arrow.png)
      no-repeat right center !important;
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    display: block !important;
    left: 16px;
    bottom: 16px;
  }
  .template-main-page.template-bonus
    .header-nav
    label:has(input#toggler:checked)
    #toggler {
    bottom: 16px;
    top: unset;
    opacity: 0;
  }

  .template-main-page.template-bonus
    .common-toc-wrapper
    .common-toc-placeholder
    a.active:after {
    display: none;
  }

  .template-main-page.template-bonus
    .template-main-header
    .wrapper
    .header-nav {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    margin-top: -1px;
    position: relative;
    top: 0 !important;
    padding: 24px 0 0;
  }
  .template-main-page.template-bonus .template-main-header .header-nav label {
    margin: 0;
    padding: 0;
  }
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus .bonus-snippet-content p {
    color: #fff;
  }
  .template-main-page.template-bonus
    .broker-slider__wrapper
    a[data-broker-logo]
    > div
    p {
    margin-top: 0;
  }
  .template-main-page.template-bonus
    .broker-slider__wrapper
    a[data-broker-logo]
    > div {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (max-width: 820px) {
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus .wrapper {
    overflow: visible;
  }
  .template-main-page.template-bonus .template-main-header .header-nav h1 {
    max-width: calc(100% - 40px);
  }
  .template-main-page.template-bonus .bonus-snip-wrapper {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus .template-main-header .header-nav label {
    margin: 0;
    padding: 0;
  }
  .template-main-page.template-bonus .bonus-snippet-content p {
    color: #fff;
  }

  .template-main-page.template-bonus
    .template-main-header
    .wrapper
    .header-nav {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    margin-top: -1px;
    position: relative;
    top: 0 !important;
    padding: 24px 0 0;
  }
  .template-main-page.template-bonus .template-main-header {
    top: 68px !important;
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  }
  .template-main-page.template-bonus .bonus-snip-wrapper {
    margin-top: 0;
    padding-top: 0;
  }
  .template-main-page.template-bonus .bonus-shortcode .broker-slider {
    flex-direction: row;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer {
    margin-top: 0;
  }
  .template-main-page .bonus-shortcode .broker-slider__footer-inner {
    gap: 0;
  }
}

@media screen and (max-width: 819px) {
  .template-main-page.template-bonus .header-nav #toggler {
    top: unset;
    bottom: -10px;
  }
}
/*@media screen and (max-width: 819px) {
  .template-main-page.template-base .aside--breadcrumbs {
    padding: 9px 16px !important;
    margin: 0;
  }
  .template-main-page.template-base .template-main-header .header-nav h1 {
    margin-bottom: 0;
  }
  .template-main-page
    .template-main-header
    .header-nav
    label:has(input[name="toggler"]:checked)::after {
    bottom: -16px;
  }
  .template-main-header .aside--breadcrumbs #crumbs {
    margin: 0 !important;
  }
  .template-main-page.template-base .wrap.page-content {
    padding: 24px 16px !important;
  }
  .template-main-page.template-base
    .wrap.page-content
    .tmplt-sorting-container {
    background-color: var(--dark) !important;
    margin: 24px -16px;
    padding: 16px;
  }
  .template-main-page.template-base .template-main-header {
    padding-top: 0;
  }
  .template-main-page.template-base .template-main-header .header-nav label {
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
  }
}*/
@media screen and (max-width: 767px) {
  .template-main-page.template-bonus
    .broker-slider__wrapper
    a[data-broker-logo]
    > div {
    flex-direction: column;
  }
  .template-main-page.template-bonus
    .template-main-header
    .wrapper
    .header-nav {
    padding-top: 0;
  }
  .template-main-page.template-bonus .template-main-header .aside--breadcrumbs {
    padding: 24px 16px;
    background: #fff;
    margin: 0 -16px;
  }
  .template-main-page.template-bonus .template-main-header .header-nav h1 {
    padding-top: 8px;
  }
  .template-main-page.template-bonus .bonus-shortcode .broker-slider {
    flex-direction: column;
    margin-top: 24px;
  }
  .template-main-page.template-bonus
    .bonus-shortcode
    .broker-slider__pagination {
    display: block;
    background: var(--beige);
    width: 100%;
    padding: 8px;
    transform: translateY(-1px);
  }
  .template-main-page.template-bonus .bonus-shortcode .broker-slider__footer {
    width: 100%;
    max-width: 100%;
  }
  .template-main-page.template-bonus
    .bonus-shortcode
    .broker-slider__footer-inner {
    width: 100%;
    flex-direction: unset;
    gap: 8px;
    justify-content: center;
    padding-right: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .template-main-page.template-bonus
    .bonus-shortcode
    .broker-slider__footer-inner
    > div.broker-slider__broker-logo {
    width: calc((100% / 3) - 12px);
    overflow: unset;
    transform: skew(20deg) translateX(10px);
    clip-path: unset;
  }
}
