/**
 * Theme Name: bankBonus-child
 * Template: bankbonus-copy
 * Author: bnarulan
 * Version: 1.0
 */


input[type=radio]:after {
		content: "";
		opacity: 0;
		display: block;
		left: 3px;
		top: 3px;
		position: absolute;
		width: 11px;
		height: 11px;
		border-radius: 50%;
		background: transparent !important;
	}

/* Codex test-domain fixes: pagination and icon fonts */
@font-face {
  font-family: "mmg-icons";
  src: url("/wp-content/themes/bankbonus-copy/assets/fonts/mmg-icons.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.keep-reading .articles_list > nav.navigation.pagination {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  clear: both;
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 3px solid var(--global--color-border, #28303d);
}

.keep-reading .articles_list > nav.navigation.pagination .nav-links {
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
}

.keep-reading .articles_list > nav.navigation.pagination .page-numbers {
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 10px;
  line-height: 1;
}

.keep-reading .articles_list > nav.navigation.pagination .page-numbers.prev,
.keep-reading .articles_list > nav.navigation.pagination .page-numbers.next {
  min-width: 68px;
}

/* BankBonus 2026: page meta left alignment on service/footer pages */
.single aside.meta .row .col-12.d-sm-flex,
.single aside.meta .row .col-12.d-sm-flex.align-items-center,
.single aside.meta .row .col-12.d-sm-flex.align-items-center.justify-content-between {
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    gap: .5rem;
}
.single aside.meta .row .col-12.d-sm-flex > div:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.single aside.meta .meta__author,
.single aside.meta .meta__date,
.single aside.meta .meta__readtime {
    text-align: left !important;
}
.single aside.meta .meta__authorimg {
    flex: 0 0 auto;
}
.category__empty-note {
    background: var(--bs-bonus-card-bg);
    border: 1px solid rgba(166,166,166,.45);
    border-radius: 24px;
    padding: 24px;
    color: var(--bs-body-color);
}
.category__empty-note a { color: var(--clr-main); text-decoration: underline; text-underline-offset: 4px; }
.credit-calculator__intro,
.credit-calculator__note {
    max-width: 820px;
    margin: 0 auto 20px;
    color: var(--bs-body-color);
}

/* BankBonus 2026: stable article/service meta alignment */
.container__main.single article > aside.meta.container,
.container__main.single article > aside.bankbonus-post-meta {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}
.bankbonus-meta-author-line,
.single aside.meta .bankbonus-meta-author-line,
.single aside.meta .row .col-12.bankbonus-meta-author-line {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .5rem !important;
    text-align: left !important;
}
.bankbonus-meta-lines,
.single aside.meta .bankbonus-meta-lines {
    text-align: left !important;
}
.single aside.meta .meta__author,
.single aside.meta .meta__date,
.single aside.meta .meta__readtime {
    text-align: left !important;
}
.single aside.meta .meta__authorimg {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}


/* BankBonus rating tooltip: hover + click fallback */
.rating-tooltip { position: relative; display: inline-flex; align-items: center; margin-left: .35rem; cursor: help; vertical-align: middle; }
.rating-tooltip .tooltip-content { display: block; opacity: 0; visibility: hidden; pointer-events: none; position: absolute; z-index: 9999; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: min(360px, 82vw); padding: 16px 18px; border-radius: 14px; background: #fff; color: #333; box-shadow: 0 14px 38px rgba(0,0,0,.16); font-size: 15px; line-height: 1.45; text-align: left; transition: opacity .15s ease, visibility .15s ease; }
.rating-tooltip:hover .tooltip-content, .rating-tooltip:focus-within .tooltip-content, .rating-tooltip.active .tooltip-content { opacity: 1; visibility: visible; pointer-events: auto; }
.rating-tooltip .tooltip-arrow { position:absolute; left:50%; bottom:-6px; width:12px; height:12px; background:#fff; transform:translateX(-50%) rotate(45deg); }
.rating-tooltip .tooltip-text { margin:0; }


/* BankBonus rating context fix: bonuses use /5, bank reviews use /10 */
dl.offer-deets dd.deets__rating {
  overflow: visible !important;
  position: relative;
}
.rating-tooltip.bankbonus-bonus-rating-tooltip .tooltip-content,
dl.offer-deets .rating-tooltip .tooltip-content {
  width: min(360px, 78vw);
  white-space: normal;
}
@media (max-width: 767.98px) {
  dl.offer-deets .rating-tooltip .tooltip-content {
    left: auto;
    right: -8px;
    transform: none;
    max-width: 82vw;
  }
  dl.offer-deets .rating-tooltip .tooltip-arrow {
    left: auto;
    right: 14px;
    transform: rotate(45deg);
  }
}
.bankbonus-bank-rating-denominator {
  font-size: .52em;
  font-weight: 700;
  color: var(--bs-body-color, #111);
  white-space: nowrap;
}

/* BankBonus 2026 CTA hardening: product mobile/desktop buttons must never render as plain text */
.bankbonus-product-cta,
a.bankbonus-product-cta,
.single-product a.bankbonus-product-cta {
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #f72585 0%, #c90066 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(247, 37, 133, .24) !important;
}
.bankbonus-product-cta--desktop { width: 200px !important; }
.bankbonus-product-cta--mobile { width: 100% !important; margin: 26px 0 10px !important; }
.bankbonus-product-cta:hover,
.bankbonus-product-cta:focus {
  color: #fff !important;
  filter: brightness(1.04) !important;
  transform: translateY(-1px);
}
.single-reviews .bankbonus-review-cta {
  color: #fff !important;
  text-decoration: none !important;
}

/* BankBonus 2026 desktop promo cards + dark badges hard fix */
html.darkmysite_dark_mode_enabled body.home .keep-reading .articles_list .meta__category,
body.darkmysite_dark_mode_enabled.home .keep-reading .articles_list .meta__category,
.darkmysite_dark_mode_enabled body.home .keep-reading .articles_list .meta__category,
body.dark-theme.home .keep-reading .articles_list .meta__category,
html.darkmysite_dark_mode_enabled body.home .meta__category,
body.darkmysite_dark_mode_enabled.home .meta__category {
  background: #3b1d97 !important;
  border-color: #3b1d97 !important;
  color: #fff !important;
}
html.darkmysite_dark_mode_enabled body.home .keep-reading .articles_list .meta__category:hover,
body.darkmysite_dark_mode_enabled.home .keep-reading .articles_list .meta__category:hover,
.darkmysite_dark_mode_enabled body.home .keep-reading .articles_list .meta__category:hover,
body.dark-theme.home .keep-reading .articles_list .meta__category:hover {
  background: #4b26bd !important;
  border-color: #4b26bd !important;
  color: #fff !important;
}
body.home #featured-bonuses .requirements-menu:not(.active) {
  display: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
body.home #featured-bonuses .requirements-menu.active {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: .25rem !important;
}
body.home #featured-bonuses .toggle-link-requirements {
  cursor: pointer !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
body.home #featured-bonuses .promotion-requirements dd {
  margin-left: 0 !important;
}
@media (min-width: 992px) {
  body.home #featured-bonuses .promotion-card-widget .promotion-header {
    min-height: 156px !important;
  }
  body.home #featured-bonuses .promotion-card-widget .promotion-header p.mb-quarter {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.18 !important;
    min-height: 2.36em !important;
    margin-bottom: .45rem !important;
  }
  body.home #featured-bonuses .promotion-card-widget .deet__reqs.full {
    margin-top: .25rem !important;
  }
}
/* /BankBonus 2026 desktop promo cards + dark badges hard fix */

/* BankBonus 2026 requirements dropdown cards global */
.promotion-item .requirements-menu:not(.active) {
  display: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
.promotion-item .requirements-menu.active {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: .25rem !important;
}
.promotion-item .toggle-link-requirements {
  cursor: pointer !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.promotion-item .promotion-requirements dd {
  margin-left: 0 !important;
}
/* /BankBonus 2026 requirements dropdown cards global */

/* BankBonus 2026 homepage card reference width + product subratings */
@media (min-width: 992px) {
  body.home #featured-bonuses .promotion-card-widget .col {
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 350px !important;
  }
  body.home #featured-bonuses .promotion-card-widget .promotion-item {
    width: 100% !important;
  }
}
.single-product .subscores > div,
.single-product .subscores > div[style] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}
.single-product .subscores > div > p,
.single-product .subscores p {
  margin: 0 !important;
  min-width: 145px !important;
  white-space: nowrap !important;
}
.single-product .subscores > div > div {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}
/* /BankBonus 2026 homepage card reference width + product subratings */

/* BankBonus 2026 product subratings alignment global */
.subscores > div,
.subscores > div[style] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  margin-bottom: .45rem !important;
}
.subscores > div > p,
.subscores p {
  margin: 0 !important;
  min-width: 145px !important;
  white-space: nowrap !important;
}
.subscores > div > div {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}
/* /BankBonus 2026 product subratings alignment global */

/* BankBonus 2026 requirements text wrap fix */
.promotion-item .requirements-menu,
.promotion-item .requirements-menu.active {
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  height: auto !important;
}
.promotion-item .requirements-menu.active {
  line-height: 1.32 !important;
}
/* /BankBonus 2026 requirements text wrap fix */


/* BankBonus 2026 promotions card reference width */
@media (min-width: 992px) {
  body #promotions-search-results .offer-compares-to {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  body #promotions-search-results .offer-compares-to .col,
  body #promotions-search-results .offer-compares-to [class*="col-"] {
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 350px !important;
  }
  body #promotions-search-results .promotion-item {
    width: 100% !important;
  }
}
/* /BankBonus 2026 promotions card reference width */



/* BankBonus 2026 home featured card header align */
@media (min-width: 992px) {
  body.home #featured-bonuses .promotion-card-widget .promotion-item .promotion-header {
    min-height: 156px !important;
  }
  body.home #featured-bonuses .promotion-card-widget .promotion-item .promotion-header .deets__bank {
    line-height: 27px !important;
    min-height: 0 !important;
  }
  body.home #featured-bonuses .promotion-card-widget .promotion-item .promotion-header .mb-quarter {
    display: block !important;
    line-height: 19.8px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
/* /BankBonus 2026 home featured card header align */


/* BankBonus 2026 promo card spacing canon — 2026-05-20
   Scope: desktop only. Keeps mobile carousel untouched. */
@media (min-width: 992px) {
  body .promotion-card-widget .promotion-item .promotion-header,
  body #bonus-tool__results .promotion-item .promotion-header,
  body #promotions-search-results .promotion-item .promotion-header {
    height: auto !important;
    min-height: 156px !important;
    overflow: visible !important;
  }

  body .promotion-card-widget .promotion-item .promotion-header .mb-quarter,
  body #bonus-tool__results .promotion-item .promotion-header .mb-quarter,
  body #promotions-search-results .promotion-item .promotion-header .mb-quarter {
    display: block !important;
    line-height: 19.8px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
  }

  body .promotion-card-widget .promotion-item .card-body > .deet__reqs.full,
  body #bonus-tool__results .promotion-item .card-body > .deet__reqs.full,
  body #promotions-search-results .promotion-item .card-body > .deet__reqs.full {
    display: block !important;
    margin-top: 9px !important;
    margin-bottom: 8px !important;
  }

  body #bonus-tool__results .offer-compares-to {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: visible !important;
    padding-bottom: 12px !important;
  }

  body #bonus-tool__results .offer-compares-to > .col,
  body #bonus-tool__results .offer-compares-to > [class^="col"],
  body #bonus-tool__results .offer-compares-to > [class*=" col"] {
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 350px !important;
    display: flex !important;
  }

  body #bonus-tool__results .promotion-item,
  body #promotions-search-results .promotion-item {
    width: 100% !important;
  }
}
/* /BankBonus 2026 promo card spacing canon */

/* BankBonus 2026 promotions bottom/newest badges — 2026-05-20 */
.newest-bonuses .newest-bonus-age {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: -0.15rem auto 0.35rem;
  color: #7a8797;
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
}
@media (max-width: 767.98px) {
  .newest-bonuses .newest-bonus-age {
    text-align: center;
  }
}

/* BankBonus 2026 framed newest bonuses + review cards — 2026-05-20 */
.newest-bonuses .articles_list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.newest-bonuses .articles_list > article {
  border: 2px solid #e2e6ea;
  border-radius: 18px;
  padding: 18px 14px 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  background: #fff;
  text-align: center;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.newest-bonuses .articles_list > article img { max-height: 44px; width: auto; object-fit: contain; margin: 0 auto 10px; }
.newest-bonuses .articles_list > article .bb-offer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #d8dfe6;
  border-radius: 10px;
  padding: 4px 8px;
  margin: 0 auto 8px;
  color: #4aaee8;
  font-size: 13px;
  line-height: 1.2;
  background: #fff;
}
.newest-bonuses .articles_list > article header { line-height: 1.15; }

.other-banks-reviews {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
}
.other-banks-reviews > article,
.other-banks-reviews > article.other-bank-review-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 170px;
  border: 2px solid #e2e6ea;
  border-radius: 18px;
  padding: 16px 12px 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.other-bank-review-card__link {
  width: 100% !important;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
}
.other-banks-reviews > article .card-image,
.other-banks-reviews > article .card-content { width: 100%; text-align: center; }
.other-banks-reviews > article .card-image img {
  display: block;
  max-width: 120px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
}
.other-banks-reviews > article .card-title,
.other-banks-reviews > article .card-title header {
  display: block;
  width: 100%;
  color: #4aaee8;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 1100px) {
  .newest-bonuses .articles_list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .other-banks-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .newest-bonuses .articles_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .other-banks-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 420px) {
  .newest-bonuses .articles_list, .other-banks-reviews { grid-template-columns: 1fr; }
}
html.darkmysite_dark_mode_enabled .newest-bonuses .articles_list > article,
body.darkmysite_dark_mode_enabled .newest-bonuses .articles_list > article,
html.darkmysite_dark_mode_enabled .other-banks-reviews > article,
body.darkmysite_dark_mode_enabled .other-banks-reviews > article {
  background: #181b20;
  border-color: #343943;
}
/* /BankBonus 2026 framed newest bonuses + review cards */

/* BankBonus 2026 final newest bonus cards repair — 2026-05-20 */
body .newest-bonuses.keep-reading.recent .articles_list{display:grid!important;grid-template-columns:repeat(5,minmax(170px,1fr))!important;gap:22px!important;align-items:stretch!important;overflow:visible!important}
body .newest-bonuses.keep-reading.recent .articles_list>article{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;box-sizing:border-box!important;padding:22px 18px 20px!important;min-height:210px!important;border:2px solid rgba(166,166,166,.45)!important;border-radius:18px!important;background:var(--bs-bonus-card-bg,#fff)!important;box-shadow:0 10px 24px rgba(0,0,0,.06)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;overflow:hidden!important}
body .newest-bonuses.keep-reading.recent .articles_list>article>a:first-child{display:flex!important;width:100%!important;min-height:52px!important;align-items:center!important;justify-content:center!important;margin:0 0 8px!important}
body .newest-bonuses.keep-reading.recent .articles_list>article .product-category-thumbnail,body .newest-bonuses.keep-reading.recent .articles_list>article img{display:block!important;width:auto!important;max-width:150px!important;height:52px!important;max-height:52px!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;background:transparent!important}
body .newest-bonuses.keep-reading.recent .newest-bonus-age{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%!important;margin:0 auto 10px!important;padding:5px 10px!important;border:1px solid rgba(80,174,230,.55)!important;border-radius:8px!important;color:#4faee6!important;background:rgba(80,174,230,.08)!important;font-size:13px!important;line-height:1.2!important;text-align:center!important;white-space:normal!important}
body .newest-bonuses.keep-reading.recent .articles_list>article a:last-child{display:block!important;width:100%!important;text-decoration:none!important}
body .newest-bonuses.keep-reading.recent .articles_list>article header{display:block!important;width:100%!important;margin:0!important;color:inherit!important;font-size:22px!important;line-height:1.12!important;overflow:visible!important;text-overflow:clip!important}
html.darkmysite_dark_mode_enabled body .newest-bonuses.keep-reading.recent .articles_list>article,body.darkmysite_dark_mode_enabled .newest-bonuses.keep-reading.recent .articles_list>article{background:#181b20!important;border-color:#343943!important}
@media(max-width:1100px){body .newest-bonuses.keep-reading.recent .articles_list{grid-template-columns:repeat(3,minmax(170px,1fr))!important}}
@media(max-width:720px){body .newest-bonuses.keep-reading.recent .articles_list{grid-template-columns:repeat(2,minmax(145px,1fr))!important;gap:14px!important}}
@media(max-width:420px){body .newest-bonuses.keep-reading.recent .articles_list{grid-template-columns:1fr!important}}
/* /BankBonus 2026 final newest bonus cards repair */

/* BankBonus 2026 product category bestList vertical label repair — 2026-05-20 */
.bonus-tool-archive ul.bestList,
.bonus-tool-archive ol.bestList {
  min-height: auto !important;
  overflow: visible !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.bonus-tool-archive ul.bestList::before,
.bonus-tool-archive ol.bestList::before {
  content: "Узнать подробнее" !important;
  display: block !important;
  position: static !important;
  transform: none !important;
  text-align: center !important;
  background: #4361ee !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Korolev', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  margin-bottom: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Category Sidebar and Map Column Layout */
.category-top-layout {
  display: grid !important;
  grid-template-columns: 0.7fr 1.3fr !important;
  gap: 30px !important;
  align-items: start !important;
  margin-bottom: 40px !important;
}
.category-list-column {
  min-width: 0 !important;
}
.category-map-column {
  min-width: 0 !important;
}
.category-map-column #map {
  width: 100% !important;
  height: 400px !important;
  min-height: 400px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
@media (max-width: 768px) {
  .category-top-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .category-map-column #map {
    height: 250px !important;
    min-height: 250px !important;
  }
}

/* Category Cards Grid & Compact Layouts */
.category-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 30px !important;
  width: 100% !important;
}
.category-cards-grid .bonus-box {
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  border: 1px solid #eef2f6 !important;
}
.category-cards-grid .bonus-box .bonus-header {
  background-color: #f8fafc !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #eef2f6 !important;
  margin-bottom: 0 !important;
}
.category-cards-grid .bonus-box .bonus-header img {
  width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 3px !important;
}
.category-cards-grid .bonus-box .bonus-header h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.category-cards-grid .bonus-box .bonus-body {
  padding: 16px !important;
  border: none !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.category-cards-grid .bonus-box dl {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  height: 100% !important;
}
.category-cards-grid .bonus-box dl > .row {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
.category-cards-grid .bonus-box dl dt {
  font-size: 0.9rem !important;
  color: #64748b !important;
  width: auto !important;
  flex: 1 !important;
  font-weight: 500 !important;
}
.category-cards-grid .bonus-box dl dd {
  width: auto !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-align: right !important;
}
.category-cards-grid .bonus-box dl dd.deet__amount {
  font-size: 1.25rem !important;
  color: #f72585 !important;
  font-weight: 700 !important;
}
.category-cards-grid .bonus-box dl dt.deet__amount {
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.category-cards-grid .bonus-box dl dt.deet__reqs.full {
  text-align: left !important;
  margin-bottom: 4px !important;
}
.category-cards-grid .bonus-box dl dd.deet__reqs.full {
  text-align: left !important;
  font-size: 0.85rem !important;
  color: #475569 !important;
  font-weight: 400 !important;
  background: #f8fafc !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  border: 1px solid #f1f5f9 !important;
  min-height: 50px !important;
  overflow-y: auto !important;
}
.category-cards-grid .bonus-box dl dd.deet__reqs.full ol {
  margin: 0 !important;
  padding-left: 1.2rem !important;
}
.category-cards-grid .bonus-box dl dd.deet__reqs.full ol li {
  margin-bottom: 2px !important;
  line-height: 1.4 !important;
}
.category-cards-grid .bonus-box .sep {
  margin: 4px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  height: 0 !important;
  display: block !important;
}
.category-cards-grid .bonus-box dl > .row:last-of-type {
  margin-top: auto !important;
  padding-top: 8px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}
.category-cards-grid .bonus-box dl > .row:last-of-type > div {
  width: 100% !important;
  padding: 0 !important;
}
.category-cards-grid .bonus-box .btn {
  width: 100% !important;
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border-radius: 8px !important;
  height: auto !important;
}

/* BankBonus 2026 mobile promotion cards repair — 2026-05-23 */
@media (max-width: 767px) {
  /* /promotions main bonus block: original mobile behavior is vertical one-column grid, not horizontal carousel */
  body #currentOffers #bonus-tool__results .offer-compares-to {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 0 14px !important;
    overflow: visible !important;
    justify-content: center !important;
  }

  body #currentOffers #bonus-tool__results .offer-compares-to > .col,
  body #currentOffers #bonus-tool__results .offer-compares-to > [class^="col"],
  body #currentOffers #bonus-tool__results .offer-compares-to > [class*=" col"] {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body #currentOffers #bonus-tool__results .promotion-item {
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 auto 4px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  /* Filter/search results on /promotions: normal one-column cards, never thin columns */
  body #promotions-search-results .offer-compares-to,
  body #promotions-search-results .promotions-filter-results {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
    justify-content: center !important;
  }

  body #promotions-search-results .offer-compares-to > .col,
  body #promotions-search-results .offer-compares-to > [class^="col"],
  body #promotions-search-results .offer-compares-to > [class*=" col"],
  body #promotions-search-results .promotions-filter-results > .col,
  body #promotions-search-results .promotions-filter-results > [class^="col"],
  body #promotions-search-results .promotions-filter-results > [class*=" col"] {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body #promotions-search-results .promotion-item {
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin: 0 auto 4px !important;
    flex: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  /* Mobile card header canon: push “Как получить” below long names everywhere cards reuse this markup */
  body .promotion-card-widget .promotion-item .promotion-header,
  body #currentOffers #bonus-tool__results .promotion-item .promotion-header,
  body #promotions-search-results .promotion-item .promotion-header,
  body.single-product .promotion-item .promotion-header,
  body.single-post .promotion-item .promotion-header {
    height: auto !important;
    min-height: 146px !important;
    overflow: visible !important;
  }

  body .promotion-card-widget .promotion-item .promotion-header .mb-quarter,
  body #currentOffers #bonus-tool__results .promotion-item .promotion-header .mb-quarter,
  body #promotions-search-results .promotion-item .promotion-header .mb-quarter,
  body.single-product .promotion-item .promotion-header .mb-quarter,
  body.single-post .promotion-item .promotion-header .mb-quarter {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    line-height: 1.16 !important;
    margin-bottom: 16px !important;
  }

  body .promotion-card-widget .promotion-item .card-body > .deet__reqs.full,
  body #currentOffers #bonus-tool__results .promotion-item .card-body > .deet__reqs.full,
  body #promotions-search-results .promotion-item .card-body > .deet__reqs.full,
  body.single-product .promotion-item .card-body > .deet__reqs.full,
  body.single-post .promotion-item .card-body > .deet__reqs.full {
    display: block !important;
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }

  body .promotion-card-widget .promotion-item .toggle-linkh,
  body #currentOffers #bonus-tool__results .promotion-item .toggle-linkh,
  body #promotions-search-results .promotion-item .toggle-linkh,
  body.single-product .promotion-item .toggle-linkh,
  body.single-post .promotion-item .toggle-linkh {
    display: inline-block !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
  }
}
/* /BankBonus 2026 mobile promotion cards repair */

/* BankBonus 2026: homepage rating tooltip must not be clipped by carousel/card top */
.home .rating-tooltip.bankbonus-bonus-rating-tooltip,
.home dl.offer-deets .rating-tooltip {
  position: relative !important;
  z-index: 30 !important;
}
.home .rating-tooltip.bankbonus-bonus-rating-tooltip .tooltip-content,
.home dl.offer-deets .rating-tooltip .tooltip-content {
  top: calc(100% + 12px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  max-height: none !important;
  overflow: visible !important;
}
.home .rating-tooltip.bankbonus-bonus-rating-tooltip .tooltip-arrow,
.home dl.offer-deets .rating-tooltip .tooltip-arrow {
  top: -6px !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) rotate(45deg) !important;
}
.home .promotion-card,
.home .swiper-slide,
.home dl.offer-deets,
.home dd.deets__rating {
  overflow: visible !important;
}
@media (max-width: 767.98px) {
  .home .rating-tooltip.bankbonus-bonus-rating-tooltip .tooltip-content,
  .home dl.offer-deets .rating-tooltip .tooltip-content {
    left: auto !important;
    right: -8px !important;
    transform: none !important;
    width: min(320px, 82vw) !important;
  }
  .home .rating-tooltip.bankbonus-bonus-rating-tooltip .tooltip-arrow,
  .home dl.offer-deets .rating-tooltip .tooltip-arrow {
    left: auto !important;
    right: 14px !important;
    transform: rotate(45deg) !important;
  }
}

/* Tactile Response: Scale-on-Press 0.96 animation for all interactive elements */
.btn, button, a.cta, .bb-ai-chip, .bb-ai-assistant-trigger, .bb-ai-feedback-btn, .theme-button, #backToTop {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.btn:active, button:active, a.cta:active, .bb-ai-chip:active, .bb-ai-assistant-trigger:active, .bb-ai-feedback-btn:active, .theme-button:active, #backToTop:active {
    transform: scale(0.96) !important;
}
/* /BankBonus 2026: homepage rating tooltip must not be clipped */

/* Redesigned Logo Alignment & Colors (BankBonus 2026 Premium Design) */
.bb-logo-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    vertical-align: middle !important;
    height: 100% !important;
}
.bb-logo-svg {
    display: block !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}
.bb-logo-text {
    font-weight: 800 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    letter-spacing: -0.5px !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    color: #ffffff !important; /* Ensure it is white to show against light-blue and dark-blue headers */
    display: inline-block !important;
    transform: translateY(-3.5px) !important; /* Slightly raise it to center perfectly vertically */
    vertical-align: middle !important;
}
.bb-logo-text span {
    color: #ffffff !important; /* White in light theme (since background is #09AFF4 blue) */
}
body.dark-theme .bb-logo-text span {
    color: #09AFF4 !important; /* Accent blue in dark theme */
}

/* Modern Premium Bullet Indicators (Overriding default arrow/chevron pointers for SEO & Design) */
ul.arrow-list li::before {
    font-family: inherit !important;
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: linear-gradient(135deg, #09AFF4 0%, #007bff 100%) !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    transform: translateY(-2px) !important;
    vertical-align: middle !important;
    box-shadow: 0 0 6px rgba(9, 175, 244, 0.4) !important;
}
ul.arrow-list.teal li::before {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    box-shadow: 0 0 6px rgba(0, 198, 255, 0.4) !important;
}
ul.arrow-list.white li::before {
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6) !important;
}
ul.arrow-list.primary li::before {
    background: linear-gradient(135deg, #09AFF4 0%, #007bff 100%) !important;
    box-shadow: 0 0 6px rgba(9, 175, 244, 0.4) !important;
}

/* Bento Grid Stats Layout (BankBonus 2026 Premium Design) */
.container__main.home #bb-stats,
#bb-stats {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}
.bb-bento-stats {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin: 2rem 0;
}
.bb-bento-card {
    background: var(--bs-bonus-card-bg, #fff);
    border: 1px solid rgba(9, 175, 244, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bb-bento-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
}
.bb-bento-card--purpose {
    justify-content: space-between;
    gap: 16px;
}
.bb-bento-card--image {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
}
.bb-bento-card--image img,
.bb-bento-stats img {
    grid-area: auto !important;
    align-self: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 290px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
.bb-bento-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    grid-column: span 2;
}
.bb-bento-stat-item {
    text-align: center;
    align-items: center;
    padding: 20px 16px;
}
.bb-bento-stat-num {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #09AFF4;
    line-height: 1.1;
    margin-bottom: 8px;
    display: block;
}
.bb-bento-stat-item p {
    font-size: 0.9rem;
    color: #1e293b;
}
.bb-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(9, 175, 244, 0.08);
    border-color: rgba(9, 175, 244, 0.3);
}
/* Tactile Scale on Press */
.bb-bento-card:active {
    transform: scale(0.98);
}
@media (max-width: 991px) {
    .bb-bento-stats {
        grid-template-columns: 1fr;
    }
    .bb-bento-stats-grid {
        grid-column: span 1;
    }
}
@media (max-width: 575px) {
    .bb-bento-stats-grid {
        grid-template-columns: 1fr;
    }
    .bb-bento-card--image img {
        max-height: 220px;
    }
}

/* Premium redesign of the course section */
#bonus101course {
    background: linear-gradient(135deg, rgba(9, 175, 244, 0.04) 0%, rgba(0, 123, 255, 0.04) 100%) !important;
    border: 1px solid rgba(9, 175, 244, 0.15) !important;
    border-radius: 24px !important;
    padding: 30px 24px !important;
    box-shadow: 0 15px 40px rgba(9, 175, 244, 0.05) !important;
    margin: 2rem auto !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}
#bonus101course h4.h2 {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #1a365d !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
}
#bonus101course h5 {
    color: #09AFF4 !important;
    font-weight: 600 !important;
    margin-bottom: 1.2rem !important;
    font-size: 1.25rem !important;
}
#bonus101course .form-control {
    border-radius: 12px !important;
    border: 1px solid rgba(166, 166, 166, 0.3) !important;
    padding: 12px 16px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
#bonus101course .form-control:focus {
    border-color: #09AFF4 !important;
    box-shadow: 0 0 0 4px rgba(9, 175, 244, 0.1) !important;
}
#bonus101course button.submit-btn {
    border-radius: 12px !important;
    background: linear-gradient(135deg, #09AFF4 0%, #007bff 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 14px 24px !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(9, 175, 244, 0.25) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    width: 100% !important;
}
#bonus101course button.submit-btn:hover {
    box-shadow: 0 10px 24px rgba(9, 175, 244, 0.35) !important;
}
@media (max-width: 768px) {
    #bonus101course {
        padding: 24px !important;
        margin: 2rem 15px !important;
    }
    #bonus101course h4.h2 {
        font-size: 1.65rem !important;
    }
}

/* Bento-style Yield Calculator (BankBonus 2026 Premium Design) */
#bb-yield-calculator {
    margin: 2rem auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1200px !important;
}
.bb-calc-container {
    background: var(--bs-bonus-card-bg, #fff);
    border-radius: 24px !important;
    border: 1px solid rgba(9, 175, 244, 0.15) !important;
    box-shadow: 0 15px 45px rgba(9, 175, 244, 0.05) !important;
    padding: 1.75rem !important;
    overflow: hidden;
}
.bb-calc-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: var(--bs-body-color) !important;
    margin-bottom: 0.5rem !important;
}
.bb-calc-subtitle {
    font-size: 0.95rem !important;
    color: var(--bs-gray-600) !important;
    margin-bottom: 1.25rem !important;
}
.bb-calc-group {
    margin-bottom: 1.5rem !important;
}
.bb-calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem !important;
}
.bb-calc-label-row label {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: var(--bs-body-color) !important;
}
.bb-calc-val-display {
    font-weight: 700 !important;
    color: #09AFF4 !important;
    font-size: 1.1rem !important;
}
.bb-calc-slider {
    width: 100% !important;
    height: 6px !important;
    background: #e9ecef !important;
    border-radius: 99px !important;
    outline: none !important;
    -webkit-appearance: none !important;
    margin: 10px 0 !important;
}
.bb-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    background: #09AFF4 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(9, 175, 244, 0.3) !important;
    transition: transform 0.1s ease !important;
}
.bb-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2) !important;
}
.bb-calc-select {
    border-radius: 12px !important;
    border: 1px solid rgba(9, 175, 244, 0.2) !important;
    padding: 10px 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    background-color: var(--bs-bonus-card-bg) !important;
    color: var(--bs-body-color) !important;
}
.bb-calc-select:focus {
    box-shadow: 0 0 0 3px rgba(9, 175, 244, 0.15) !important;
    border-color: #09AFF4 !important;
}
.bb-calc-results {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 2.5rem !important;
}
@media (max-width: 991px) {
    .bb-calc-results {
        padding-left: 0 !important;
        margin-top: 2.5rem !important;
    }
}
.bb-calc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2rem !important;
}
.bb-calc-result-card {
    background: rgba(9, 175, 244, 0.03) !important;
    border: 1px solid rgba(9, 175, 244, 0.08) !important;
    border-radius: 16px !important;
    padding: 1.25rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bb-calc-result-card--profit {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(9, 175, 244, 0.05) 0%, rgba(0, 123, 255, 0.05) 100%) !important;
    border: 1px solid rgba(9, 175, 244, 0.15) !important;
}
.bb-calc-result-label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--bs-gray-600) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.25rem !important;
}
.bb-calc-result-value {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #09AFF4 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}
.bb-calc-result-value-sub {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--bs-body-color) !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}
.bb-calc-cta-row {
    text-align: right;
}
.bb-calc-cta-btn {
    display: inline-block !important;
    background: #09AFF4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 8px 24px rgba(9, 175, 244, 0.25) !important;
    transition: all 0.2s ease !important;
    width: auto !important;
}
.bb-calc-cta-btn:hover {
    background: #007bff !important;
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}
.bb-calc-cta-btn:active {
    transform: scale(0.96) !important;
}

/* Custom Review Cards Layout (Differentiating from .com) */
.featured-card {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(9, 175, 244, 0.05) !important;
    border: 1px solid rgba(9, 175, 244, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.featured-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(9, 175, 244, 0.1) !important;
}
.featured-card svg {
    display: none !important; /* Hide default pink ribbon SVG */
}
.featured-card::after {
    content: "АКТУАЛЬНО 2026" !important;
    display: inline-block !important;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    transform: none !important; /* No rotation */
    background: linear-gradient(135deg, #09AFF4 0%, #007bff 100%) !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(9, 175, 244, 0.2) !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}
.featured-card .btn-info {
    border-radius: 12px !important;
    background: linear-gradient(135deg, #09AFF4 0%, #007bff 100%) !important;
    border: none !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.featured-card .btn-info:hover {
    box-shadow: 0 8px 20px rgba(9, 175, 244, 0.25) !important;
}
.featured-card .btn-info:active {
    transform: scale(0.96) !important;
}

/* ==========================================================================
   Interactive Search Tool v12 Styles
   ========================================================================== */

#bonus-tool_inPage {
    background-color: white;
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(21, 162, 235, 0.12);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.segmented-control {
    display: flex !important;
    background-color: #f1f5f9 !important;
    border-radius: 30px !important;
    padding: 0.25rem !important;
    border: 1px solid #cbd5e1 !important;
    width: 100% !important;
    margin-bottom: 0.5rem !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.segment-btn {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #555555 !important;
    cursor: pointer !important;
    border-radius: 26px !important;
    transition: color 150ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 150ms cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 38px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.segment-btn svg {
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
}

.segment-btn.active {
    background-color: white !important;
    color: #15a2eb !important;
    box-shadow: 0 4px 10px rgba(21,162,235,0.08) !important;
}

.segment-btn.active svg {
    opacity: 1 !important;
}

.filter-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    text-align: left !important;
    width: 100% !important;
}

.filter-group-title {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.35rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.custom-dropdown {
    position: relative !important;
    width: 100% !important;
}

.dropdown-trigger {
    width: 100% !important;
    padding: 0.65rem 1.2rem !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: white !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: border-color 150ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 150ms cubic-bezier(0.23, 1, 0.32, 1) !important;
    height: 46px !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    box-shadow: none !important;
}

.dropdown-trigger:hover {
    border-color: #94a3b8 !important;
}

.dropdown-trigger-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.dropdown-chevron {
    width: 16px;
    height: 16px;
    color: #555555;
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-options-grid {
    display: none;
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.85rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
    position: relative;
    box-sizing: border-box;
    z-index: 100;
}

.custom-dropdown.open .dropdown-options-grid {
    display: grid;
}

.grid-chip-btn {
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #555555 !important;
    padding: 0.65rem 0.5rem !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    transition: color 150ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms cubic-bezier(0.23, 1, 0.32, 1), border-color 150ms cubic-bezier(0.23, 1, 0.32, 1), transform 100ms cubic-bezier(0.23, 1, 0.32, 1) !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.grid-chip-btn:hover {
    border-color: #15a2eb !important;
    color: #15a2eb !important;
    background-color: #e2f9f3 !important;
}

.grid-chip-btn.active {
    border-color: #15a2eb !important;
    background-color: #15a2eb !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(21,162,235,0.15) !important;
}

.grid-chip-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    border-style: dashed !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.grid-chip-btn.disabled:hover {
    border-color: #e2e8f0;
    color: #94a3b8;
    background-color: #f1f5f9;
}

.chip-icon {
    font-size: 0.95rem;
    font-weight: bold;
    flex-shrink: 0;
}

.dropdown-footnote {
    grid-column: span 2;
    font-size: 0.7rem;
    color: #94a3b8;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.25rem;
    font-weight: 500;
}

.badge-54-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.badge-54 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #e0f2fe;
    color: #15a2eb;
    padding: 0.45rem 0.95rem;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    border: 1px solid #bae6fd;
    font-variant-numeric: tabular-nums;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse-badge-animation 2s infinite;
    opacity: 0.4;
}

@keyframes pulse-badge-animation {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.submit-btn-round {
    background: linear-gradient(180deg, #22b0fc 0%, #15a2eb 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 150ms cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 14px rgba(21, 162, 235, 0.35) !important;
    height: 48px !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.submit-btn-round:hover {
    background: linear-gradient(180deg, #37b8ff 0%, #1296db 100%) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 20px rgba(21, 162, 235, 0.45) !important;
    transform: translateY(-1px) !important;
}

.submit-btn-round:active {
    transform: scale(0.96) !important;
}

#bonus-search .col-12.col-xl-6 {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1199px) {
    #bonus-search .col-12.col-xl-6 {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    #bonus-tool_inPage {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
        border-radius: 20px;
    }
    .dropdown-options-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
        padding: 0.65rem;
    }
    .dropdown-footnote {
        grid-column: span 1 !important;
    }
}

/* ==========================================================================
   Homepage Hero Split v12 Styles
   ========================================================================== */

.hero-slash-12 {
    background-color: #15a2eb !important;
    color: white !important;
    padding: 6rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.slash-bg-12 {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 45% !important;
    height: 100% !important;
    background-color: #e2f9f3 !important; /* Mint brand background */
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%) !important;
}

.slash-grid-12 {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 4rem !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.wallet-container {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 1rem 0 !important;
    width: 100% !important;
}

.animated-wallet-img {
    transition: transform 250ms cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    display: block !important;
    margin: 0 auto !important;
}

.animated-wallet-img:hover {
    transform: scale(1.08) rotate(2deg) !important;
}

.search-bar-wrapper {
    background-color: white !important;
    border-radius: 24px !important;
    padding: 2rem !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(21, 162, 235, 0.12) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Form elements in search card - backgrounds should be transparent on form element itself */
.search-bar-wrapper form {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.home .hero-slash-12 .filter-group:first-of-type .filter-group-title {
    display: none !important;
}

@media (max-width: 991px) {
    .hero-slash-12 {
        padding: 3rem 0 !important;
    }
    .slash-bg-12 {
        display: none !important;
    }
    .slash-grid-12 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .wallet-container {
        margin-bottom: 1rem !important;
    }
    .search-bar-wrapper {
        padding: 1.5rem !important;
    }
}

/* ==========================================================================
   Footer Search Block (footer-section-9) Styles
   ========================================================================== */
.footer-section-9 {
    background-color: var(--mint-brand, #e2f9f3) !important;
    padding: 5rem 0 !important;
    box-sizing: border-box;
}

.shield-card-9 {
    background-color: white !important;
    border-radius: 40px 0 40px 0 !important;
    padding: 3.5rem !important;
    border: 2px solid var(--blue-brand, #15a2eb) !important;
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 3rem !important;
    box-sizing: border-box;
}

.footer-search-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    max-width: 580px !important;
}

.footer-search-info h3 {
    font-size: 2rem !important;
    color: var(--blue-brand, #15a2eb) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
}

.footer-search-info p {
    color: var(--text-secondary, #555555) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}

.footer-search-info p:last-of-type {
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

.footer-search-form-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    justify-content: center !important;
}

/* Override form inside footer to remove border, shadow, and background */
.footer-section-9 #bonus-tool_inPage {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}
.footer-section-9 #bonus-tool_inPage .filter-group:first-child .filter-group-title {
    display: none !important;
}

@media (max-width: 991px) {
    .shield-card-9 {
        grid-template-columns: 1fr !important;
        padding: 2rem 1.5rem !important;
        gap: 2.5rem !important;
        border-radius: 24px 0 24px 0 !important;
    }
    .footer-section-9 {
        padding: 3rem 0 !important;
    }
}

/* ==========================================================================
   Header Tagline Styles (design_variant_15_v12)
   ========================================================================== */
.nav-tagline-gray {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary, #555555) !important;
    padding: 0.6rem 0 !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   Header Navigation Styles (design_variant_15_v12)
   ========================================================================== */
.main__nav {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Inner pages (white header) */
body:not(.home) .main__nav > li.menu-item > a {
    color: var(--text-secondary, #555555) !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 20px !important;
    transition: color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body:not(.home) .main__nav > li.menu-item > a:hover {
    color: #15a2eb !important;
    background-color: #e2f9f3 !important;
}

/* Inner pages: "Каталог бонусов" blue outline button */
body:not(.home) .main__nav > li#menu-item-280 > a {
    border: 2px solid #15a2eb !important;
    color: #15a2eb !important;
    background-color: transparent !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    transition: color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), border-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    box-shadow: none !important;
}

body:not(.home) .main__nav > li#menu-item-280 > a:hover {
    background-color: #15a2eb !important;
    color: white !important;
    border-color: #15a2eb !important;
}

/* Homepage (blue header) */
.home .main__nav > li.menu-item > a {
    color: white !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 20px !important;
    transition: color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.home .main__nav > li.menu-item > a:hover {
    color: #15a2eb !important;
    background-color: white !important;
}

/* Homepage: "Каталог бонусов" white outline button */
.home .main__nav > li#menu-item-280 > a {
    border: 2px solid white !important;
    color: white !important;
    background-color: transparent !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    transition: color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1), border-color 150ms cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    box-shadow: none !important;
}

.home .main__nav > li#menu-item-280 > a:hover {
    background-color: white !important;
    color: #15a2eb !important;
    border-color: white !important;
}

/* ==========================================================================
   Dark Theme Overrides for search form components
   ========================================================================== */
html.darkmysite_dark_mode_enabled .nav-tagline-gray,
body.dark-theme .nav-tagline-gray,
body.darkmysite_dark_mode_enabled .nav-tagline-gray {
    background-color: #111317 !important;
    border-bottom: 1px solid #2d3748 !important;
    color: #a0aec0 !important;
}

html.darkmysite_dark_mode_enabled .search-bar-wrapper,
body.dark-theme .search-bar-wrapper,
body.darkmysite_dark_mode_enabled .search-bar-wrapper {
    background-color: #181b20 !important;
    border: 1px solid #2d3748 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

html.darkmysite_dark_mode_enabled .segmented-control,
body.dark-theme .segmented-control,
body.darkmysite_dark_mode_enabled .segmented-control {
    background-color: #111317 !important;
    border-color: #2d3748 !important;
}

html.darkmysite_dark_mode_enabled .segment-btn,
body.dark-theme .segment-btn,
body.darkmysite_dark_mode_enabled .segment-btn {
    color: #a0aec0 !important;
}

html.darkmysite_dark_mode_enabled .segment-btn.active,
body.dark-theme .segment-btn.active,
body.darkmysite_dark_mode_enabled .segment-btn.active {
    background-color: #181b20 !important;
    color: #15a2eb !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

html.darkmysite_dark_mode_enabled .dropdown-trigger,
body.dark-theme .dropdown-trigger,
body.darkmysite_dark_mode_enabled .dropdown-trigger {
    background-color: #111317 !important;
    border-color: #2d3748 !important;
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .dropdown-trigger-text,
body.dark-theme .dropdown-trigger-text,
body.darkmysite_dark_mode_enabled .dropdown-trigger-text {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .dropdown-chevron,
body.dark-theme .dropdown-chevron,
body.darkmysite_dark_mode_enabled .dropdown-chevron {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .dropdown-trigger:hover,
body.dark-theme .dropdown-trigger:hover,
body.darkmysite_dark_mode_enabled .dropdown-trigger:hover {
    border-color: #4a5568 !important;
}

html.darkmysite_dark_mode_enabled .dropdown-options-grid,
body.dark-theme .dropdown-options-grid,
body.darkmysite_dark_mode_enabled .dropdown-options-grid {
    background-color: #111317 !important;
    border-color: #2d3748 !important;
}

html.darkmysite_dark_mode_enabled .grid-chip-btn,
body.dark-theme .grid-chip-btn,
body.darkmysite_dark_mode_enabled .grid-chip-btn {
    background-color: #181b20 !important;
    border-color: #2d3748 !important;
    color: #a0aec0 !important;
}

html.darkmysite_dark_mode_enabled .grid-chip-btn:hover,
body.dark-theme .grid-chip-btn:hover,
body.darkmysite_dark_mode_enabled .grid-chip-btn:hover {
    border-color: #15a2eb !important;
    color: #15a2eb !important;
    background-color: rgba(21, 162, 235, 0.1) !important;
}

html.darkmysite_dark_mode_enabled .grid-chip-btn.active,
body.dark-theme .grid-chip-btn.active,
body.darkmysite_dark_mode_enabled .grid-chip-btn.active {
    border-color: #15a2eb !important;
    background-color: #15a2eb !important;
    color: white !important;
}

html.darkmysite_dark_mode_enabled .dropdown-footnote,
body.dark-theme .dropdown-footnote,
body.darkmysite_dark_mode_enabled .dropdown-footnote {
    border-top-color: #2d3748 !important;
    color: #718096 !important;
}

/* Bento stats dark mode text overrides */
html.darkmysite_dark_mode_enabled .bb-bento-card p,
body.dark-theme .bb-bento-card p,
body.darkmysite_dark_mode_enabled .bb-bento-card p {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .bb-bento-stat-item p,
body.dark-theme .bb-bento-stat-item p,
body.darkmysite_dark_mode_enabled .bb-bento-stat-item p {
    color: #cbd5e1 !important;
}

/* Global Pagination Dark Mode Overrides */
html.darkmysite_dark_mode_enabled nav.navigation.pagination,
body.dark-theme nav.navigation.pagination,
body.darkmysite_dark_mode_enabled nav.navigation.pagination {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

html.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers,
body.dark-theme nav.navigation.pagination .page-numbers,
body.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers.current,
body.dark-theme nav.navigation.pagination .page-numbers.current,
body.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers.current {
    color: #15a2eb !important;
    font-weight: 700;
}

html.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers.dots,
body.dark-theme nav.navigation.pagination .page-numbers.dots,
body.darkmysite_dark_mode_enabled nav.navigation.pagination .page-numbers.dots {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Footer search block dark mode overrides */
html.darkmysite_dark_mode_enabled .footer-section-9,
body.dark-theme .footer-section-9,
body.darkmysite_dark_mode_enabled .footer-section-9 {
    background-color: #111317 !important;
}

html.darkmysite_dark_mode_enabled .shield-card-9,
body.dark-theme .shield-card-9,
body.darkmysite_dark_mode_enabled .shield-card-9 {
    background-color: #181b20 !important;
    border-color: #2d3748 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

html.darkmysite_dark_mode_enabled .footer-search-info p,
body.dark-theme .footer-search-info p,
body.darkmysite_dark_mode_enabled .footer-search-info p {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .badge-54,
body.dark-theme .badge-54,
body.darkmysite_dark_mode_enabled .badge-54 {
    background-color: rgba(21, 162, 235, 0.1) !important;
    color: #15a2eb !important;
    border-color: rgba(21, 162, 235, 0.25) !important;
}

/* Author Box Dark Mode Overrides */
html.darkmysite_dark_mode_enabled .bb-author-box,
body.dark-theme .bb-author-box,
body.darkmysite_dark_mode_enabled .bb-author-box {
    background-color: #181b20 !important;
    border: 1px solid #2d3748 !important;
    border-left: 4px solid #15a2eb !important;
}

html.darkmysite_dark_mode_enabled .bb-author-box h4 a.text-dark,
body.dark-theme .bb-author-box h4 a.text-dark,
body.darkmysite_dark_mode_enabled .bb-author-box h4 a.text-dark {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled .bb-author-box p.text-secondary,
body.dark-theme .bb-author-box p.text-secondary,
body.darkmysite_dark_mode_enabled .bb-author-box p.text-secondary {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled .bb-author-box p.text-muted,
body.dark-theme .bb-author-box p.text-muted,
body.darkmysite_dark_mode_enabled .bb-author-box p.text-muted {
    color: #a0aec0 !important;
}

/* Email Course Section Dark Mode Overrides */
html.darkmysite_dark_mode_enabled #bonus101course,
body.dark-theme #bonus101course,
body.darkmysite_dark_mode_enabled #bonus101course {
    background: linear-gradient(135deg, rgba(9, 175, 244, 0.02) 0%, rgba(0, 123, 255, 0.02) 100%) !important;
    border-color: #2d3748 !important;
}

html.darkmysite_dark_mode_enabled #bonus101course h4.h2,
body.dark-theme #bonus101course h4.h2,
body.darkmysite_dark_mode_enabled #bonus101course h4.h2 {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled #bonus101course .col-md-6 div,
body.dark-theme #bonus101course .col-md-6 div,
body.darkmysite_dark_mode_enabled #bonus101course .col-md-6 div {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled #bonus101course .arrow-list,
body.dark-theme #bonus101course .arrow-list,
body.darkmysite_dark_mode_enabled #bonus101course .arrow-list {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled #bonus101course .arrow-list li,
body.dark-theme #bonus101course .arrow-list li,
body.darkmysite_dark_mode_enabled #bonus101course .arrow-list li {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer,
body.dark-theme #subscribeForm_bonus101Form_footer,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer {
    background: #111317 !important;
    border-color: #2d3748 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer p,
body.dark-theme #subscribeForm_bonus101Form_footer p,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer p {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer .subscribe-toggle__title,
body.dark-theme #subscribeForm_bonus101Form_footer .subscribe-toggle__title,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer .subscribe-toggle__title {
    color: #a0aec0 !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer .subscribe-toggle__label,
body.dark-theme #subscribeForm_bonus101Form_footer .subscribe-toggle__label,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer .subscribe-toggle__label {
    color: #cbd5e1 !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"],
body.dark-theme #subscribeForm_bonus101Form_footer input[type="email"],
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"] {
    background-color: #181b20 !important;
    border-color: #2d3748 !important;
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"]::placeholder,
body.dark-theme #subscribeForm_bonus101Form_footer input[type="email"]::placeholder,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"]::placeholder {
    color: #718096 !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"]:focus,
body.dark-theme #subscribeForm_bonus101Form_footer input[type="email"]:focus,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer input[type="email"]:focus {
    border-color: #09AFF4 !important;
    box-shadow: 0 0 0 3px rgba(9, 175, 244, 0.15) !important;
}

html.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer small,
body.dark-theme #subscribeForm_bonus101Form_footer small,
body.darkmysite_dark_mode_enabled #subscribeForm_bonus101Form_footer small {
    color: #a0aec0 !important;
}

/* Dark Mode Overrides for Category/Format Cards on best_of Page */
html.darkmysite_dark_mode_enabled .category-card,
body.dark-theme .category-card,
body.darkmysite_dark_mode_enabled .category-card {
    background-color: #181b20 !important;
    border: 1px solid #2d3748 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

html.darkmysite_dark_mode_enabled .category-card:hover,
body.dark-theme .category-card:hover,
body.darkmysite_dark_mode_enabled .category-card:hover {
    background-color: #21252d !important;
    border-color: #09AFF4 !important;
    box-shadow: 0 6px 16px rgba(9, 175, 244, 0.15) !important;
}

html.darkmysite_dark_mode_enabled .category-card a,
body.dark-theme .category-card a,
body.darkmysite_dark_mode_enabled .category-card a {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled .category-card:hover a,
body.dark-theme .category-card:hover a,
body.darkmysite_dark_mode_enabled .category-card:hover a {
    color: #09AFF4 !important;
}

/* Country Notice (Geolocation Popup) Dark Mode Overrides */
html.darkmysite_dark_mode_enabled .country-notice,
body.dark-theme .country-notice,
body.darkmysite_dark_mode_enabled .country-notice {
    background-color: #181b20 !important;
    border-color: #2d3748 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

html.darkmysite_dark_mode_enabled .country-notice p,
body.dark-theme .country-notice p,
body.darkmysite_dark_mode_enabled .country-notice p {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled .country-notice a.change-country,
body.dark-theme .country-notice a.change-country,
body.dark-theme .country-notice a.change-country {
    color: #09AFF4 !important;
}

/* Custom premium header highlight to differentiate from .com style */
.category__intro h1 span,
.category__intro .h1 span,
.container__main.search h1 span,
.container__main.search .h1 span {
    font-size: clamp(0.85rem, 2vw, 0.95rem) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 800 !important;
    display: inline-block !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
    position: relative !important;
    color: #09AFF4 !important; /* Branded blue */
}

html.darkmysite_dark_mode_enabled .category__intro h1 span,
body.dark-theme .category__intro h1 span,
body.darkmysite_dark_mode_enabled .category__intro h1 span {
    color: #38bdf8 !important; /* Bright cyan for dark backgrounds */
}

.category__intro h1 span::after,
.category__intro .h1 span::after,
.container__main.search h1 span::after,
.container__main.search .h1 span::after {
    content: "" !important;
    background: linear-gradient(90deg, #09AFF4 0%, #007BFF 100%) !important;
    height: 4px !important;
    border-radius: 4px !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1 !important;
    box-shadow: 0 2px 6px rgba(9, 175, 244, 0.25) !important;
}

/* Bento Grid Selections (best-of-page) */
.category-card--bento {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 1.5rem 1.15rem !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s, box-shadow 0.2s !important;
    min-height: 145px !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.category-card--bento:hover {
    transform: translateY(-4px) scale(1.01) !important;
    border-color: #09AFF4 !important;
    box-shadow: 0 10px 25px rgba(9, 175, 244, 0.12) !important;
}

.category-card--bento:active {
    transform: scale(0.96) !important;
}

.category-card--bento img {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 0.85rem !important;
    transition: transform 0.3s ease !important;
}

.category-card--bento:hover img {
    transform: scale(1.1) rotate(2deg) !important;
}

.category-card--bento a {
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
}

/* Row 1 Large Bento Cards Asymmetry */
.col-lg-4 .category-card--bento {
    min-height: 170px !important;
    padding: 2rem 1.35rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.col-lg-4 .category-card--bento img {
    width: 52px !important;
    height: 52px !important;
}

.col-lg-4 .category-card--bento a {
    font-size: 0.98rem !important;
}

/* Dark Theme Overrides for Bento Selections */
html.darkmysite_dark_mode_enabled .category-card--bento,
body.dark-theme .category-card--bento {
    background: #181b20 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

html.darkmysite_dark_mode_enabled .col-lg-4 .category-card--bento,
body.dark-theme .col-lg-4 .category-card--bento {
    background: linear-gradient(135deg, #181b20 0%, #1e2530 100%) !important;
}

html.darkmysite_dark_mode_enabled .category-card--bento a,
body.dark-theme .category-card--bento a {
    color: #ffffff !important;
}

html.darkmysite_dark_mode_enabled .category-card--bento:hover,
body.dark-theme .category-card--bento:hover {
    border-color: #09AFF4 !important;
    box-shadow: 0 10px 25px rgba(9, 175, 244, 0.15) !important;
}













/* ==========================================================================
   BankBonus 2026: Card Header and Top Eyebrow Spacing / Contrast Hardening
   ========================================================================== */

/* 1. Top Page Eyebrow Contrast Fix */
.bb-top-hero__eyebrow,
.bb-top-hero h1 .bb-top-hero__eyebrow {
  color: #ffffff !important;
  opacity: 0.95 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
}

/* 2. Catalog Card Header Layout and Spacing */
.promotion-item .promotion-header {
  display: block !important;
  padding: 18px 20px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.promotion-item .promotion-header .bank-logo {
  float: left !important;
  margin-right: 12px !important;
  margin-bottom: 8px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
}

.promotion-item .promotion-header .deets__bank {
  display: inline-block !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  color: #111111 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

.promotion-item .promotion-header p.mb-quarter {
  clear: both !important;
  margin-top: 8px !important;
  margin-bottom: 16px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111111 !important;
}

/* 3. Dark Mode Overrides for Catalog Cards */
html.darkmysite_dark_mode_enabled .promotion-item .promotion-header,
body.darkmysite_dark_mode_enabled .promotion-item .promotion-header,
.dark-theme .promotion-item .promotion-header {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.darkmysite_dark_mode_enabled .promotion-item .deets__bank,
body.darkmysite_dark_mode_enabled .promotion-item .deets__bank,
.dark-theme .promotion-item .deets__bank {
  color: #38bdf8 !important; /* Bright cyan bank label in dark mode */
}

html.darkmysite_dark_mode_enabled .promotion-item .promotion-header p.mb-quarter,
body.darkmysite_dark_mode_enabled .promotion-item .promotion-header p.mb-quarter,
.dark-theme .promotion-item .promotion-header p.mb-quarter {
  color: #ffffff !important; /* Clean white title for full contrast */
}
