/**
 * Talerbox mobile money UX fixes.
 *
 * Scope guards:
 * - only the active Talerbox theme body class;
 * - only viewport widths up to 767px;
 * - only the cloned mobile menu, page-footer CTA and article tables.
 */

body.wp-theme-talerbox {
  --tb-conversion-accent: #e94a54;
  --tb-conversion-accent-hover: #d83d48;
  --tb-conversion-ink: #252a3c;
  --tb-conversion-muted: #657078;
  --tb-conversion-border: #e3e8ea;
  --tb-conversion-surface: #fff;
  --tb-conversion-surface-soft: #f6f8f8;
  --tb-conversion-radius: 10px;
  --tb-conversion-shadow: 0 8px 24px rgba(37, 42, 60, 0.09);
}

/* Bitcoin-Renditedreieck: one early, contextual Bitvavo CTA. */
body.postid-22607 .page-footer .section-cta {
  display: none !important;
}

body.postid-22607 .tb-rendite-top-cta {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #103f3d;
  box-shadow: 0 14px 34px rgba(16, 63, 61, 0.18);
  color: #fff;
}

body.postid-22607 .tb-rendite-top-cta__copy {
  display: grid;
  gap: 7px;
}

body.postid-22607 .tb-rendite-top-cta__eyebrow {
  display: inline-flex;
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0ed;
  color: #c82f45;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.postid-22607 .tb-rendite-top-cta__title {
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

body.postid-22607 .tb-rendite-top-cta__description {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

body.postid-22607 .tb-rendite-top-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 15px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #ef4654;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

body.postid-22607 .tb-rendite-top-cta__button:hover,
body.postid-22607 .tb-rendite-top-cta__button:focus-visible {
  background: #da3042;
  transform: translateY(-1px);
}

body.postid-22607 .tb-rendite-top-cta__note {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 992px) {
  body.postid-22607 .tb-rendite-top-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
    column-gap: 18px;
    align-items: center;
    margin: 0 0 24px;
    padding: 18px 20px;
  }

  body.postid-22607 .tb-rendite-top-cta__button {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  body.postid-22607 .tb-rendite-top-cta__note {
    grid-column: 2;
    margin-top: 7px;
    text-align: center;
  }
}

@media (max-width: 570px) {
  body.postid-22607 .tb-rendite-top-cta {
    display: block;
    margin: 0 0 20px;
    padding: 17px;
    border-radius: 16px;
  }

  body.postid-22607 .tb-rendite-top-cta__button {
    width: 100%;
    margin-top: 15px;
  }

  body.postid-22607 .tb-rendite-top-cta__note {
    text-align: left;
  }
}

/* Keep dark provider logos readable in image-based comparison headers. */
body.wp-theme-talerbox.single-post .page-body table tr:has(th img) th,
body.wp-theme-talerbox.page .page-body table tr:has(th img) th {
  color: #333;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
}

body.wp-theme-talerbox.single-post .page-body table tr:has(th img) th img,
body.wp-theme-talerbox.page .page-body table tr:has(th img) th img {
  display: block;
  width: auto !important;
  max-width: 150px;
  max-height: 50px;
  margin: 4px auto !important;
  object-fit: contain;
  filter: none;
}

/*
 * Provider logos are usually wide. The theme forces CTA images into a square
 * with object-fit: cover, which crops logos such as Finvesto to a few letters.
 * Restrict this correction to contextual CTAs applied by this plugin.
 */
body.wp-theme-talerbox .page-footer .section-cta[data-talerbox-contextual-cta="applied"] .card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 90px;
  padding: 10px;
  overflow: hidden;
  background-color: #fff;
  border-radius: 6px;
  box-sizing: border-box;
}

body.wp-theme-talerbox .page-footer .section-cta[data-talerbox-contextual-cta="applied"] .card-img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0;
  object-fit: contain !important;
  object-position: center;
}

/*
 * Global conversion skin for singular articles/pages. This deliberately
 * leaves the header, navigation, archives and editorial content untouched.
 */
body.wp-theme-talerbox.tb-conversion-skin-v1 {
  --tb-conversion-accent: #e94a54;
  --tb-conversion-accent-hover: #d83d48;
  --tb-conversion-ink: #252a3c;
  --tb-conversion-muted: #657078;
  --tb-conversion-border: #e3e8ea;
  --tb-conversion-surface: #fff;
  --tb-conversion-surface-soft: #f6f8f8;
  --tb-conversion-radius: 10px;
  --tb-conversion-shadow: 0 8px 24px rgba(37, 42, 60, 0.09);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main {
  line-height: 1.7;
  word-spacing: normal;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main h1,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main h2,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main h3 {
  color: var(--tb-conversion-ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-buttons {
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(.wp-block-button__link, a.kb-button, a.btn.btn-primary),
body.wp-theme-talerbox.tb-conversion-skin-v1 .section-coupon a.btn.btn-primary,
body.wp-theme-talerbox.tb-conversion-skin-v1 .talerbox-toc-floating-button a.btn.btn-primary,
body.wp-theme-talerbox.tb-conversion-skin-v1 .page-footer .section-cta a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px !important;
  color: #fff !important;
  background: var(--tb-conversion-accent) !important;
  border: 1px solid var(--tb-conversion-accent) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(233, 74, 84, 0.2);
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(.wp-block-button__link, a.kb-button, a.btn.btn-primary):hover,
body.wp-theme-talerbox.tb-conversion-skin-v1 .section-coupon a.btn.btn-primary:hover,
body.wp-theme-talerbox.tb-conversion-skin-v1 .talerbox-toc-floating-button a.btn.btn-primary:hover,
body.wp-theme-talerbox.tb-conversion-skin-v1 .page-footer .section-cta a.btn:hover {
  color: #fff !important;
  background: var(--tb-conversion-accent-hover) !important;
  border-color: var(--tb-conversion-accent-hover) !important;
  box-shadow: 0 7px 18px rgba(216, 61, 72, 0.26);
  transform: translateY(-1px);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(.wp-block-button__link, a.kb-button, a.btn.btn-primary):focus-visible,
body.wp-theme-talerbox.tb-conversion-skin-v1 .section-coupon a.btn.btn-primary:focus-visible,
body.wp-theme-talerbox.tb-conversion-skin-v1 .talerbox-toc-floating-button a.btn.btn-primary:focus-visible,
body.wp-theme-talerbox.tb-conversion-skin-v1 .page-footer .section-cta a.btn:focus-visible {
  outline: 3px solid rgba(233, 74, 84, 0.32);
  outline-offset: 3px;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .section-coupon {
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 28px;
  background: var(--tb-conversion-surface);
  border: 1px solid var(--tb-conversion-border);
  border-radius: 14px;
  box-shadow: var(--tb-conversion-shadow);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .talerbox-toc-floating-button .toc-card {
  overflow: hidden;
  border: 1px solid var(--tb-conversion-border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(37, 42, 60, 0.08);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table {
  overflow: hidden;
  color: var(--tb-conversion-ink);
  background: var(--tb-conversion-surface);
  border: 1px solid var(--tb-conversion-border);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(37, 42, 60, 0.06);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table th {
  padding: 14px;
  color: var(--tb-conversion-ink);
  background-color: var(--tb-conversion-surface-soft);
  border-bottom: 1px solid var(--tb-conversion-border);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table td {
  padding: 14px;
  background-color: var(--tb-conversion-surface);
  border-bottom: 1px solid var(--tb-conversion-border);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table tr:nth-child(even) td {
  background-color: #fafbfb;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table tr:hover td {
  background-color: #f4f7f7;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  color: var(--tb-conversion-ink);
  background: #fff7f8;
  border: 0;
  border-left: 4px solid var(--tb-conversion-accent);
  border-radius: 0 var(--tb-conversion-radius) var(--tb-conversion-radius) 0;
}

/*
 * Legacy editorial boxes use strong inline background colours. Reframe them
 * as calm, scannable cards while retaining their existing copy and markup.
 */
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-background[style*="background-color:#e94a54"] {
  overflow: hidden;
  margin: 24px 0;
  color: var(--tb-conversion-ink);
  background: #fff !important;
  border: 1px solid #f0d8db;
  border-left: 4px solid var(--tb-conversion-accent);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(37, 42, 60, 0.06);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-background[style*="background-color:#e94a54"] .px-3.pt-3 {
  margin: 0;
  padding: 13px 18px !important;
  color: var(--tb-conversion-ink) !important;
  background: #fff7f8;
  border-bottom: 1px solid #f3dfe1;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.35;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-background[style*="background-color:#e94a54"] .px-3.pt-3 :is(strong, .stk-highlight) {
  color: var(--tb-conversion-accent) !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-background[style*="background-color:#e94a54"] .px-4.pb-4.has-background {
  margin: 0;
  padding: 16px 18px 18px !important;
  color: #3f474c !important;
  background: #fff !important;
  font-size: 16px;
  line-height: 1.65;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main p.has-luminous-vivid-amber-background-color.has-background {
  margin: 24px 0;
  padding: 18px 20px !important;
  color: #3f474c !important;
  background: #fffbeb !important;
  border: 1px solid #f0dfad;
  border-left: 4px solid #d7a714;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(37, 42, 60, 0.05);
  font-size: 16px;
  line-height: 1.65;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-background[style*="background-color:#f8ece9"],
  .wp-block-group.has-background[style*="background-color:#fff4"],
  .talerbox-offer-note
) {
  margin: 24px 0;
  padding: clamp(20px, 3vw, 30px) !important;
  color: var(--tb-conversion-ink);
  background: #fff9f8 !important;
  border: 1px solid #f1dcde;
  border-left: 4px solid var(--tb-conversion-accent);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(37, 42, 60, 0.055);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-background[style*="background-color:#f8ece9"],
  .wp-block-group.has-background[style*="background-color:#fff4"],
  .talerbox-offer-note
) > .wp-block-group__inner-container > :first-child {
  margin-top: 0;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-background[style*="background-color:#f8ece9"],
  .wp-block-group.has-background[style*="background-color:#fff4"],
  .talerbox-offer-note
) > .wp-block-group__inner-container > :last-child {
  margin-bottom: 0;
}

/* Desktop header and menu: one lightweight CSS layer, no runtime dependency. */
@media screen and (min-width: 992px) {
  body.wp-theme-talerbox .site-header {
    padding-top: 7px;
    padding-bottom: 7px;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid rgba(37, 42, 60, 0.08);
    box-shadow: 0 3px 14px rgba(37, 42, 60, 0.055);
  }

  body.wp-theme-talerbox .site-header .custom-logo-link img {
    width: auto !important;
    max-width: 240px;
    height: 48px !important;
    max-height: 48px;
    margin: 0;
    object-fit: contain;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu {
    align-items: center;
    gap: 9px;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 10px;
    color: #384047 !important;
    background: transparent !important;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none !important;
    transition: color 150ms ease, background-color 150ms ease;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li > a:hover,
  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li > a:focus-visible {
    color: var(--tb-conversion-ink) !important;
    background: rgba(255, 255, 255, 0.76) !important;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li#menu-item-31640.menu-item > a {
    color: #fff !important;
    background: #e94a54 !important;
    box-shadow: 0 4px 12px rgba(233, 74, 84, 0.18) !important;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li#menu-item-31640.menu-item > a:hover,
  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li#menu-item-31640.menu-item > a:focus-visible {
    color: #fff !important;
    background: var(--tb-conversion-accent-hover) !important;
  }

  body.wp-theme-talerbox .site-header .wp-block-search {
    width: clamp(150px, 13vw, 176px);
    margin-left: 12px;
  }

  body.wp-theme-talerbox .site-header .wp-block-search__inside-wrapper {
    height: 44px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe4e5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37, 42, 60, 0.045);
  }

  body.wp-theme-talerbox .site-header .wp-block-search__input {
    height: 42px;
    min-width: 0;
    padding: 8px 4px 8px 13px;
    color: var(--tb-conversion-ink);
    background: #fff;
    border: 0;
    font-size: 14px;
  }

  body.wp-theme-talerbox .site-header .wp-block-search__input:focus {
    outline: 0;
  }

  body.wp-theme-talerbox .site-header .wp-block-search__inside-wrapper:focus-within {
    border-color: rgba(233, 74, 84, 0.58);
    box-shadow: 0 0 0 3px rgba(233, 74, 84, 0.12);
  }

  body.wp-theme-talerbox .site-header .wp-block-search__button {
    width: 44px;
    height: 42px;
    padding: 9px;
    color: var(--tb-conversion-accent);
    background: #fff;
    border: 0;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu {
    padding-top: 90px;
    background: rgba(25, 31, 38, 0.46) !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container {
    width: min(430px, calc(100vw - 48px));
    max-width: 430px;
    margin-right: auto;
    margin-left: max(24px, calc((100vw - 1140px) / 2));
    padding: 0;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(37, 42, 60, 0.1);
    border-radius: 15px;
    box-shadow: 0 18px 48px rgba(20, 28, 34, 0.22);
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children {
    width: 100%;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a {
    position: relative;
    display: block;
    padding: 17px 56px 17px 20px;
    color: var(--tb-conversion-ink);
    background: #f7f4f0;
    border-bottom: 1px solid var(--tb-conversion-border);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::before {
    content: "×";
    position: absolute;
    top: 50%;
    right: 17px;
    width: 32px;
    height: 32px;
    margin: 0;
    color: #687278;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #dfe4e5;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    transform: translateY(-50%);
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 8px;
    background: #fff;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 13px;
    color: #465158;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a:hover,
  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a:focus-visible {
    color: var(--tb-conversion-ink);
    background: var(--tb-conversion-surface-soft);
  }
}

/*
 * The custom theme opens its cloned navigation up to the 991px breakpoint.
 * Keep that entire range on the same compact, scrollable bottom-sheet model.
 */
@media screen and (max-width: 991.98px) {
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998;
    display: flex !important;
    align-items: flex-end;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 12px 0 calc(70px + env(safe-area-inset-bottom)) !important;
    background: rgba(25, 31, 38, 0.46) !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: min(72vh, 560px) !important;
    margin: 0 !important;
    padding: 0 10px !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    display: block !important;
    width: 100% !important;
    max-height: min(72vh, 560px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(37, 42, 60, 0.1);
    border-radius: 16px !important;
    box-shadow: 0 16px 42px rgba(20, 28, 34, 0.24) !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a {
    position: relative;
    display: block !important;
    min-height: 58px;
    padding: 17px 58px 16px 18px !important;
    color: var(--tb-conversion-ink) !important;
    background: #fff7f8 !important;
    border: 0;
    border-bottom: 1px solid var(--tb-conversion-border);
    border-radius: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    text-align: left !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::before {
    content: "×" !important;
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    color: #687278 !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #dfe4e5 !important;
    border-radius: 50% !important;
    font-family: Arial, sans-serif;
    font-size: 23px !important;
    font-weight: 400;
    line-height: 29px !important;
    text-align: center;
    transform: translateY(-50%) !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(min(72vh, 560px) - 59px) !important;
    padding: 4px 12px 10px !important;
    overflow-y: auto !important;
    background: #fff !important;
    overscroll-behavior: contain;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a {
    display: block;
    min-height: 48px;
    padding: 13px 6px !important;
    color: #465158 !important;
    border-bottom: 1px solid #edf0f1;
    font-size: 15px !important;
    font-weight: 650;
    line-height: 1.4;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  /*
   * Put the article decision context before the decorative hero on phones.
   * The image remains fully available, but no longer consumes a full square
   * viewport before readers see the title and author credentials.
   */
  body.wp-theme-talerbox.single-post .page-header .card > .row {
    display: flex;
    flex-direction: column;
  }

  body.wp-theme-talerbox.single-post .page-header .col-right {
    order: 1;
  }

  body.wp-theme-talerbox.single-post .page-header .col-left {
    order: 2;
    margin-top: 8px;
  }

  body.wp-theme-talerbox.single-post .page-header .col-right .card-body {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  body.wp-theme-talerbox.single-post .page-header h1.entry-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta > .row {
    align-items: center;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta .author-img img {
    width: 52px !important;
    height: 52px !important;
    margin: 0 12px 0 0 !important;
    object-fit: cover;
    border-radius: 50%;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta .author-desc {
    color: var(--tb-conversion-ink);
    font-size: 14px;
    line-height: 1.38;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta .author-bio,
  body.wp-theme-talerbox.single-post .page-header .entry-meta .posted-on {
    display: block;
  }

  body.wp-theme-talerbox.single-post .page-header .col-left .card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px !important;
    max-height: 180px;
    overflow: hidden;
    background: #f6f4ef;
    border-radius: 12px;
  }

  body.wp-theme-talerbox.single-post .page-header .col-left .card-img img.wp-post-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center;
  }

  /* Keep the bottom navigation usable with its live item count. */
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu {
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 0 0 env(safe-area-inset-bottom);
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu > .container {
    width: 100%;
    max-width: none;
    padding-right: 6px;
    padding-left: 6px;
  }

  body.wp-theme-talerbox .custom-menu .menu {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    padding: 6px 0 5px;
    gap: 2px;
  }

  body.wp-theme-talerbox .custom-menu .menu > li {
    display: flex;
    width: auto;
    min-width: 0;
  }

  body.wp-theme-talerbox .custom-menu .menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 4px 2px 3px;
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: anywhere;
  }

  body.wp-theme-talerbox .custom-menu .menu > li > a::before {
    position: relative;
    top: 0;
    flex: 0 0 15px;
    margin: 0 0 5px;
  }

  /* Replace the theme's repeated triangle SVGs with a quieter dot state. */
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu {
    min-height: 58px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e3e8ea;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -6px 20px rgba(37, 42, 60, 0.1);
  }

  body.wp-theme-talerbox .custom-menu .menu {
    padding: 4px 6px 5px;
    gap: 4px;
  }

  body.wp-theme-talerbox .custom-menu .menu > li > a {
    min-height: 48px;
    padding: 6px 3px 5px;
    color: #4d5660;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
  }

  body.wp-theme-talerbox .custom-menu .menu > li > a::before,
  body.wp-theme-talerbox .custom-menu .menu .show-children > a::before,
  body.wp-theme-talerbox .custom-menu .show-children > a::before {
    top: 0;
    flex: 0 0 4px;
    width: 4px;
    height: 4px;
    margin: 0 0 5px;
    background: #a9b0b4 !important;
    background-image: none !important;
    border: 0;
    border-radius: 50%;
  }

  body.wp-theme-talerbox .custom-menu .menu .show-children > a,
  body.wp-theme-talerbox .custom-menu .show-children > a {
    color: var(--tb-conversion-accent);
    background: #fff7f8;
  }

  body.wp-theme-talerbox .custom-menu .menu .show-children > a::before,
  body.wp-theme-talerbox .custom-menu .show-children > a::before {
    background: var(--tb-conversion-accent) !important;
  }

  /* Long category/deal lists can scroll without moving the page behind them. */
  body.wp-theme-talerbox .custom-menu .menu .sub-menu {
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    max-height: calc(100vh - 58px);
    max-height: calc(100dvh - 58px);
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* Open categories behave like a compact bottom sheet, not an empty page. */
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu {
    display: flex;
    align-items: flex-end;
    padding: 12px 0 calc(70px + env(safe-area-inset-bottom));
    background: rgba(25, 31, 38, 0.42);
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: min(72vh, 560px);
    margin: 0;
    padding: 0 10px;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    display: block;
    width: 100%;
    max-height: min(72vh, 560px);
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(37, 42, 60, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(20, 28, 34, 0.22);
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children {
    display: block;
    width: 100%;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a {
    position: relative;
    display: block;
    min-height: 58px;
    padding: 17px 58px 16px 18px;
    color: var(--tb-conversion-ink);
    background: #fff7f8;
    border-bottom: 1px solid var(--tb-conversion-border);
    border-radius: 0;
    font-size: 17px;
    font-weight: 800;
    text-align: left;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::before,
  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::after {
    content: "×";
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    width: 32px;
    height: 32px;
    margin: 0;
    color: #687278;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #dfe4e5;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    transform: translateY(-50%);
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::after {
    display: none;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(min(72vh, 560px) - 59px);
    padding: 4px 12px 10px;
    overflow-y: auto;
    background: #fff;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a {
    display: block;
    min-height: 48px;
    padding: 13px 6px;
    color: #465158;
    border-bottom: 1px solid #edf0f1;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-align: left;
  }

  /* Compact the global affiliate CTA while preserving copy and tap targets. */
  body.wp-theme-talerbox .page-footer .section-cta {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.wp-theme-talerbox .page-footer .section-cta .card > .row {
    --tb-gutter-x: 1rem;
  }

  body.wp-theme-talerbox .page-footer .section-cta .card-img {
    width: 72px;
    height: 72px;
    margin: 0 auto 4px;
  }

  body.wp-theme-talerbox .page-footer .section-cta[data-talerbox-contextual-cta="applied"] .card-img {
    width: 120px;
    height: 72px;
    padding: 8px;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(.wp-block-button__link, a.kb-button, a.btn.btn-primary) {
    min-height: 50px;
    padding: 13px 18px !important;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table th,
  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main table td {
    padding: 11px 12px;
  }

  body.wp-theme-talerbox .page-footer .section-cta .col-center {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  body.wp-theme-talerbox .page-footer .section-cta .cta-title {
    margin-bottom: 8px;
    font-size: 20px !important;
    line-height: 1.25;
  }

  body.wp-theme-talerbox .page-footer .section-cta .cta-desc {
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
  }

  body.wp-theme-talerbox .page-footer .section-cta .col-right .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }

  /*
   * Keep comparison tables readable instead of squeezing three or more
   * columns into the phone viewport. Two-column deal/detail tables retain
   * their current compact layout.
   */
  body.wp-theme-talerbox.single-post .page-body .wp-block-table:has(table tr > :nth-child(3)),
  body.wp-theme-talerbox.single-post .page-body .wp-block-getwid-table:has(table tr > :nth-child(3)) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.wp-theme-talerbox.single-post .page-body .wp-block-table:has(table tr > :nth-child(3)) > table,
  body.wp-theme-talerbox.single-post .page-body .wp-block-getwid-table:has(table tr > :nth-child(3)) > table {
    width: max-content;
    min-width: 640px;
    margin-bottom: 0;
  }

  body.wp-theme-talerbox.single-post .page-body .wp-block-table:has(table tr > :nth-child(3)) th,
  body.wp-theme-talerbox.single-post .page-body .wp-block-table:has(table tr > :nth-child(3)) td,
  body.wp-theme-talerbox.single-post .page-body .wp-block-getwid-table:has(table tr > :nth-child(3)) th,
  body.wp-theme-talerbox.single-post .page-body .wp-block-getwid-table:has(table tr > :nth-child(3)) td {
    min-width: 120px;
    padding: 10px 12px;
    vertical-align: top;
  }
}

/* A compact, standards-based sticky contents navigation on desktop. */
@media screen and (min-width: 992px) {
  body.wp-theme-talerbox.single-post .toc .toc-wrapper {
    top: 92px;
  }

  body.wp-theme-talerbox.single-post .toc .toc-container {
    width: 100%;
    padding: 0;
  }

  body.wp-theme-talerbox.single-post .toc .toc-inner {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-conversion-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(37, 42, 60, 0.08);
  }

  body.wp-theme-talerbox.single-post .toc .toc-header {
    padding: 14px 16px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--tb-conversion-border);
  }

  body.wp-theme-talerbox.single-post .toc .toc-header :is(p, h3) {
    margin: 0;
    color: var(--tb-conversion-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
  }

  body.wp-theme-talerbox.single-post .toc .list-group {
    display: block;
    max-height: calc(100vh - 210px);
    padding: 6px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd3d5 transparent;
  }

  body.wp-theme-talerbox.single-post .toc .list-group-item {
    position: relative;
    padding: 0;
    background: #fff;
    border: 0;
  }

  body.wp-theme-talerbox.single-post .toc .list-group-item::after {
    display: none;
  }

  body.wp-theme-talerbox.single-post .toc .list-group-item > a {
    display: block;
    padding: 10px 16px;
    color: #5f6b70;
    border-left: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.38;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  }

  body.wp-theme-talerbox.single-post .toc .list-group-item > a:hover,
  body.wp-theme-talerbox.single-post .toc .list-group-item > a:focus-visible,
  body.wp-theme-talerbox.single-post .toc .list-group-item.active > a {
    color: var(--tb-conversion-ink);
    background: var(--tb-conversion-surface-soft);
    border-left-color: var(--tb-conversion-accent);
  }

  body.wp-theme-talerbox.single-post .toc .list-group-item > a:focus-visible {
    outline: 2px solid rgba(233, 74, 84, 0.3);
    outline-offset: -2px;
  }
}

@media screen and (max-width: 575.98px) {
  /* Separate the two floating actions and keep both compact above the nav. */
  body.wp-theme-talerbox .toc .toc-wrapper {
    bottom: calc(66px + env(safe-area-inset-bottom));
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 .toc .toc-card {
    flex: 1 1 auto;
    min-width: 0;
    height: 64px;
    margin: 0 !important;
    background: #fff;
    border: 1px solid var(--tb-conversion-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(37, 42, 60, 0.12);
  }

  body.wp-theme-talerbox .toc .toc-card > div {
    padding: 7px !important;
  }

  body.wp-theme-talerbox .toc .toc-card .card-header {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    background: #fff;
    border: 0;
  }

  body.wp-theme-talerbox .toc .toc-card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.wp-theme-talerbox .toc .toc-card .card-image img {
    width: 64px;
    height: 36px;
    margin: 0;
    object-fit: contain;
  }

  body.wp-theme-talerbox .toc .toc-card .card-body {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    padding-left: 0 !important;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 .toc .toc-card .toc-button-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    color: #fff;
    background: var(--tb-conversion-accent);
    border: 1px solid var(--tb-conversion-accent);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.wp-theme-talerbox .toc .toc-container {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    padding: 0;
    overflow: visible;
  }

  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 48px;
    margin: 0;
    padding: 0 13px;
    color: var(--tb-conversion-ink);
    background: #fff;
    border: 1px solid var(--tb-conversion-border);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(37, 42, 60, 0.12);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc::before,
  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc.active::before {
    content: "☰";
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0 6px 0 0;
    color: var(--tb-conversion-accent);
    background: none !important;
    background-image: none !important;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1;
  }

  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc.active,
  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc:active,
  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc:focus,
  body.wp-theme-talerbox .toc .toc-container .btn-toggle-toc:hover {
    color: var(--tb-conversion-accent);
    background: #fff7f8;
    border-color: rgba(233, 74, 84, 0.35);
  }

  /* Turn the open table of contents into a compact, scrollable sheet. */
  body.wp-theme-talerbox .toc .show .toc-inner {
    left: 12px;
    right: 12px;
    bottom: calc(130px + env(safe-area-inset-bottom));
    max-height: min(56vh, 440px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-conversion-border);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(37, 42, 60, 0.18);
    filter: none;
  }

  body.wp-theme-talerbox .toc .toc-header {
    padding: 12px 16px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--tb-conversion-border);
  }

  body.wp-theme-talerbox .toc .toc-header h3 {
    color: var(--tb-conversion-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
  }

  body.wp-theme-talerbox .toc .toc-container .toc-inner > .list-group {
    max-height: min(48vh, 370px);
    padding: 0;
    overflow-y: auto;
    background: #fff;
  }

  body.wp-theme-talerbox .toc .toc-container .list-group .list-group-item {
    padding: 11px 16px;
    color: #657078;
    background: #fff;
    border: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  body.wp-theme-talerbox .toc .toc-container .list-group .list-group-item::after {
    left: 0;
    width: 100%;
    background: var(--tb-conversion-border);
  }

  body.wp-theme-talerbox .toc .toc-container .list-group .list-group-item.active,
  body.wp-theme-talerbox .toc .toc-container .list-group .list-group-item:hover {
    color: var(--tb-conversion-ink);
    background: var(--tb-conversion-surface-soft);
  }
}

/*
 * MOBILE_MENU_UI_01
 * A deliberately isolated visual layer for the existing cloned menu. The
 * navigation records, labels and destinations remain owned by WordPress.
 */
@media screen and (max-width: 991.98px) {
  body.tb-mobile-menu-ui-v1 .menu-main-menu-container.custom-menu.show-menu {
    align-items: flex-end !important;
    padding: 16px 0 calc(72px + env(safe-area-inset-bottom)) !important;
    background: rgba(24, 29, 37, 0.58) !important;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
  }

  body.tb-mobile-menu-ui-v1 .menu-main-menu-container.custom-menu.show-menu > .container {
    width: min(500px, 100%) !important;
    max-width: 500px !important;
    max-height: min(76vh, 620px) !important;
    padding: 0 12px !important;
  }

  body.tb-mobile-menu-ui-v1 .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    max-height: min(76vh, 620px) !important;
    background: #f7f9f8 !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 31, 0.34) !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > a {
    min-height: 66px !important;
    padding: 20px 66px 18px 20px !important;
    color: #242a3c !important;
    background:
      radial-gradient(circle at 92% 0, rgba(239, 73, 86, 0.12), transparent 42%),
      linear-gradient(135deg, #fff 0%, #fff7f8 100%) !important;
    border-bottom: 1px solid #e6e9e8 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > a::before {
    right: 17px !important;
    width: 40px !important;
    height: 40px !important;
    color: #39434a !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #dde3e2 !important;
    box-shadow: 0 4px 14px rgba(37, 42, 60, 0.08) !important;
    font-size: 26px !important;
    line-height: 37px !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > a:hover::before,
  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > a:focus-visible::before {
    color: #fff !important;
    background: #ed4957 !important;
    border-color: #ed4957 !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    max-height: calc(min(76vh, 620px) - 67px) !important;
    padding: 12px !important;
    background: #f7f9f8 !important;
    scrollbar-width: thin;
    scrollbar-color: #c8cecc transparent;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li {
    min-width: 0 !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    padding: 13px 42px 13px 15px !important;
    color: #3d474e !important;
    background: #fff !important;
    border: 1px solid #e2e7e5 !important;
    border-radius: 13px !important;
    box-shadow: 0 3px 10px rgba(37, 42, 60, 0.035) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a::after {
    content: "\2192" !important;
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: #ed4957 !important;
    background: none !important;
    border: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a:hover,
  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a:focus-visible {
    color: #242a3c !important;
    background: #fff7f8 !important;
    border-color: rgba(237, 73, 87, 0.34) !important;
    box-shadow: 0 7px 18px rgba(37, 42, 60, 0.08) !important;
    transform: translateY(-1px);
    outline: 0 !important;
  }
}

@media screen and (max-width: 575.98px) {
  body.tb-mobile-menu-ui-v1 .menu-main-menu-container.custom-menu.show-menu > .container {
    max-height: min(78vh, 640px) !important;
    padding: 0 10px !important;
  }

  body.tb-mobile-menu-ui-v1 .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    max-height: min(78vh, 640px) !important;
    border-radius: 20px !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    max-height: calc(min(78vh, 640px) - 67px) !important;
    padding: 10px !important;
  }

  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a {
    min-height: 54px !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    border-bottom: 1px solid #e2e7e5 !important;
    border-radius: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tb-mobile-menu-ui-v1 .custom-menu.show-menu .show-children > .sub-menu > li > a {
    transition: none !important;
  }
}

/* Static pages without a featured image must not inherit the theme's square card fallback. */
body.page.wp-theme-talerbox article.type-page > .card-img.no-img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  aspect-ratio: auto !important;
}

/*
 * Global article polish 2.6.7
 * Lightweight CSS only: clearer headline hierarchy, a compact credibility
 * card and reusable editorial FAQ cards without extra fonts or images.
 */
body.wp-theme-talerbox.single-post .page-header .card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e6e6;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(37, 42, 60, 0.08);
}

body.wp-theme-talerbox.single-post .page-header .card > .row {
  align-items: stretch;
}

body.wp-theme-talerbox.single-post .page-header .col-right {
  display: flex;
  align-items: center;
}

body.wp-theme-talerbox.single-post .page-header .col-right .card-body {
  width: 100%;
  padding: clamp(22px, 4vw, 42px);
}

body.wp-theme-talerbox.single-post .page-header h1.entry-title {
  max-width: 18ch;
  margin-top: 0;
  margin-bottom: 18px;
  color: #252a3c;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta > .row {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  margin: 0;
  padding: 9px 12px;
  background: #f7f9f9;
  border: 1px solid #e0e6e6;
  border-radius: 14px;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .author-img img {
  width: 48px !important;
  height: 48px !important;
  margin: 0 11px 0 0 !important;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37, 42, 60, 0.12);
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .author-desc {
  color: #59656b;
  font-size: 13px;
  line-height: 1.4;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .author.vcard {
  display: block;
  color: #252a3c;
  font-size: 15px;
  font-weight: 800;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .author-bio {
  display: block;
  color: #59656b;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .posted-on {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
  color: #718087;
  font-size: 12px;
  font-weight: 650;
}

body.wp-theme-talerbox.single-post .page-header .entry-meta .posted-on::before {
  content: "";
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background: #22a06b;
  border-radius: 50%;
}

body.wp-theme-talerbox.single-post .page-header .col-left .card-img {
  height: 100%;
  min-height: 280px;
  margin: 0;
  background: #f6f4ef;
}

body.wp-theme-talerbox.single-post .page-header .col-left .card-img img.wp-post-image {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > p.wp-block-paragraph,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > ul.wp-block-list,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > ol.wp-block-list {
  max-width: 76ch;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > p.wp-block-paragraph {
  margin-bottom: 1.15em;
  line-height: 1.72;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq {
  margin: 2.75rem 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  background: #f5f8f7;
  border: 1px solid #dce5e2;
  border-radius: 18px;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq > h2 {
  margin: 0 0 1rem !important;
  color: #252a3c;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq__item {
  margin-top: 10px;
  padding: 0 18px 16px;
  background: #fff;
  border: 1px solid #dfe6e4;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 42, 60, 0.04);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq__item > h3 {
  position: relative;
  margin: 0 !important;
  padding: 16px 40px 10px 0;
  color: #29323a;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
  line-height: 1.4;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq__item > h3::after {
  content: "?";
  position: absolute;
  top: 14px;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #e94a54;
  background: #fff7f8;
  border: 1px solid #efdadd;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq__item > p {
  max-width: 74ch;
  margin: 0 !important;
  color: #526066;
  line-height: 1.68;
}

/* Legacy FAQ lists: remove accidental bullets and render each answer as a card. */
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq > ul,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-rank-math-faq-block {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq > ul > li,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-rank-math-faq-block .rank-math-list-item {
  margin: 10px 0 0;
  padding: 16px 18px;
  list-style: none;
  background: #fff;
  border: 1px solid #dfe6e4;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 42, 60, 0.04);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq > ul > li::marker,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-rank-math-faq-block .rank-math-list-item::marker {
  content: "";
}

/* Live Rank Math markup uses .rank-math-block rather than the Gutenberg class. */
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list-item {
  margin: 10px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list-item::before,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list-item::after {
  display: none !important;
  content: none !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list-item::marker {
  content: "" !important;
  font-size: 0 !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq .rank-math-list-item > .tb-editorial-faq__item {
  margin-top: 0;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq > ul > li > strong:first-child,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-rank-math-faq-block .rank-math-question {
  display: block;
  margin-bottom: 7px;
  color: #29323a;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
  line-height: 1.4;
}

@media screen and (max-width: 767.98px) {
  body.wp-theme-talerbox.single-post .page-header .header-top > .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.wp-theme-talerbox.single-post .page-header .rank-math-breadcrumb {
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
  }

  body.wp-theme-talerbox.single-post .page-header .rank-math-breadcrumb p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.wp-theme-talerbox.single-post .page-header .card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(37, 42, 60, 0.08);
  }

  body.wp-theme-talerbox.single-post .page-header .col-right .card-body {
    padding: 18px 16px 14px;
  }

  body.wp-theme-talerbox.single-post .page-header h1.entry-title {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(29px, 8.4vw, 38px);
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta > .row {
    display: flex;
    width: 100%;
    padding: 9px 10px;
    border-radius: 12px;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta .author-img img {
    width: 44px !important;
    height: 44px !important;
    margin-right: 9px !important;
  }

  body.wp-theme-talerbox.single-post .page-header .entry-meta .author.vcard { font-size: 14px; }
  body.wp-theme-talerbox.single-post .page-header .entry-meta .author-bio { font-size: 12px; }

  body.wp-theme-talerbox.single-post .page-header .col-left {
    margin-top: 0;
  }

  body.wp-theme-talerbox.single-post .page-header .col-left .card-img {
    height: 160px !important;
    min-height: 160px;
    max-height: 160px;
    border-radius: 0;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > p.wp-block-paragraph,
  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > ul.wp-block-list,
  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main > ol.wp-block-list {
    font-size: 17px;
    line-height: 1.72;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq {
    margin: 2.1rem 0;
    padding: 12px;
    border-radius: 14px;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .tb-editorial-faq__item {
    padding: 0 14px 14px;
    border-radius: 11px;
  }
}

/* Desktop navigation: compact hover/focus dropdown instead of a page-blocking modal. */
@media screen and (min-width: 992px) and (hover: hover) and (pointer: fine) {
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu {
    position: fixed !important;
    top: 76px !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 9998 !important;
    display: block !important;
    width: 460px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    backdrop-filter: none !important;
    transform: translateX(-18%) !important;
    pointer-events: none !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container {
    width: 460px !important;
    max-width: 460px !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    pointer-events: auto !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    border-radius: 14px !important;
    box-shadow: 0 18px 44px rgba(20, 28, 34, 0.2) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(.wp-block-button__link, a.kb-button, a.btn.btn-primary),
  body.wp-theme-talerbox.tb-conversion-skin-v1 .section-coupon a.btn.btn-primary,
  body.wp-theme-talerbox.tb-conversion-skin-v1 .talerbox-toc-floating-button a.btn.btn-primary,
  body.wp-theme-talerbox.tb-conversion-skin-v1 .page-footer .section-cta a.btn {
    transition: none;
  }
}

/* Reversible decision hub for the hard-coded homepage only. */
body.wp-theme-talerbox.home .homepage-hero.tb-home-hub {
  padding: clamp(28px, 5vw, 68px) 0;
  color: #27313a;
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 73, 86, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfaf8 0%, #f4f8f6 100%);
}

body.wp-theme-talerbox.home .tb-home-hub__container {
  display: grid;
  gap: clamp(42px, 6vw, 76px);
}

/* 3.0.0: central two-click decision cockpit on the homepage. */
body.wp-theme-talerbox.home .tb-home-hub__counter {
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  color: #27313a;
  background: #fff;
  border: 1px solid #d6e3de;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(13, 59, 62, 0.1);
}

body.wp-theme-talerbox.home .tb-home-hub__counter-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-heading-copy {
  min-width: 0;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-promise {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: #0d3b3e;
  background: #e6f2ed;
  border: 1px solid #cde2d9;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step {
  display: flex;
  position: relative;
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: #7b8782;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 28px;
  height: 1px;
  background: #dce5e1;
  content: "";
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step:last-child::after {
  display: none;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step-number {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #64716c;
  background: #f2f5f3;
  border: 1px solid #dbe4e0;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step.is-active {
  color: #27313a;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step.is-active .tb-home-hub__counter-step-number {
  color: #fff;
  background: #ef4956;
  border-color: #ef4956;
  box-shadow: 0 6px 16px rgba(239, 73, 86, 0.22);
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step.is-complete {
  color: #0d6a57;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step.is-complete .tb-home-hub__counter-step-number {
  color: transparent;
  background: #e6f2ed;
  border-color: #b7d5c9;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-step.is-complete .tb-home-hub__counter-step-number::before {
  color: #0d6a57;
  content: "✓";
}

body.wp-theme-talerbox.home .tb-home-hub__counter-progress {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5ebe8;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-progress-text {
  color: #52615c;
  font-size: 13px;
  font-weight: 800;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-progress-track {
  overflow: hidden;
  height: 6px;
  background: #edf1ef;
  border-radius: 999px;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-progress-value {
  display: block;
  width: 50%;
  height: 100%;
  background: #ef4956;
  border-radius: inherit;
  transition: width 180ms ease-out;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-stage {
  min-height: 250px;
  margin-top: 24px;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-question,
body.wp-theme-talerbox.home .tb-home-hub__counter-result-title {
  margin: 0;
  color: #252a3c;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-question:focus,
body.wp-theme-talerbox.home .tb-home-hub__counter-result-title:focus {
  outline: none;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-help {
  margin: 7px 0 0;
  color: #64716c;
  font-size: 15px;
  line-height: 1.5;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-selection {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding: 7px 11px;
  color: #0d5a4c;
  background: #edf7f3;
  border: 1px solid #cfe6dc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-selection-check {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: #0d6a57;
  border-radius: 50%;
  font-size: 12px;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-grid,
body.wp-theme-talerbox.home .tb-home-hub__counter-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.wp-theme-talerbox.home .tb-home-hub__counter-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wp-theme-talerbox.home :is(.tb-home-hub__counter-choice, .tb-home-hub__counter-option) {
  position: relative;
  min-width: 0;
  min-height: 88px;
  margin: 0;
  padding: 17px 42px 17px 17px;
  color: #27313a;
  background: #fbfcfb;
  border: 1px solid #d8e2de;
  border-radius: 15px;
  box-shadow: none;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

body.wp-theme-talerbox.home :is(.tb-home-hub__counter-choice, .tb-home-hub__counter-option):hover {
  background: #f2f8f5;
  border-color: #95b7aa;
  transform: translateY(-1px);
}

body.wp-theme-talerbox.home :is(.tb-home-hub__counter-choice, .tb-home-hub__counter-option):focus-visible {
  outline: 3px solid rgba(239, 73, 86, 0.22);
  outline-offset: 2px;
  border-color: #ef4956;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-choice-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-choice-label,
body.wp-theme-talerbox.home .tb-home-hub__counter-option-label {
  display: block;
  color: #27313a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-option-hint {
  display: block;
  margin-top: 7px;
  color: #64716c;
  font-size: 13px;
  line-height: 1.4;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-choice-arrow {
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: #d83e4a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-back,
body.wp-theme-talerbox.home .tb-home-hub__counter-result-back {
  min-height: 38px;
  margin: 0 0 14px;
  padding: 7px 10px;
  color: #53645e;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-back:hover,
body.wp-theme-talerbox.home .tb-home-hub__counter-result-back:hover {
  color: #d83e4a;
  background: #fff4f2;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  color: #fff;
  background: #0d3b3e;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 59, 62, 0.16);
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result::after {
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  background: rgba(169, 215, 199, 0.12);
  border-radius: 50%;
  content: "";
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-label {
  display: block;
  margin-bottom: 10px;
  color: #a9d7c7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-path {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 10px;
  color: #dcebe6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-title {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: #fff;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 12px 0 0;
  color: #e6f1ed;
  font-size: 17px;
  line-height: 1.55;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-actions {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-link {
  display: inline-flex;
  position: relative;
  align-items: center;
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 13px 48px 13px 20px;
  color: #fff !important;
  background: #ef4956;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-link .tb-home-hub__link-label {
  display: inline;
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  opacity: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-link .tb-home-hub__arrow {
  right: 16px;
  bottom: auto;
  top: 50%;
  color: #fff;
  transform: translateY(-50%);
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-back {
  margin: 0;
  color: #dcebe6;
}

body.wp-theme-talerbox.home .tb-home-hub__counter-result-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

body.wp-theme-talerbox.home .tb-home-hub__counter-disclaimer {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 18px 0 0;
  color: #bcd0c9;
  font-size: 12px;
  line-height: 1.5;
}

@media screen and (max-width: 1100px) {
  body.wp-theme-talerbox.home .tb-home-hub__counter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767.98px) {
  body.wp-theme-talerbox.home .tb-home-hub__counter {
    padding: 20px 16px;
    border-radius: 18px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-promise {
    justify-self: start;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-steps {
    gap: 4px;
    margin-top: 20px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-step {
    display: grid;
    gap: 5px;
    justify-items: center;
    font-size: 11px;
    text-align: center;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-step::after {
    top: 15px;
    right: -10px;
    width: 20px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-step-number {
    width: 30px;
    height: 30px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-progress {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-stage {
    min-height: 0;
    margin-top: 20px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-grid,
  body.wp-theme-talerbox.home .tb-home-hub__counter-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.wp-theme-talerbox.home :is(.tb-home-hub__counter-choice, .tb-home-hub__counter-option) {
    min-height: 72px;
    padding: 14px 42px 14px 14px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-choice {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-choice-icon {
    margin: 0;
    font-size: 22px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-result {
    padding: 22px 18px;
    border-radius: 16px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-result-actions,
  body.wp-theme-talerbox.home .tb-home-hub__counter-result-link {
    width: 100%;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-result-link {
    justify-content: center;
  }

  body.wp-theme-talerbox.home .tb-home-hub__counter-result-back {
    width: 100%;
  }
}

body.wp-theme-talerbox.home .tb-home-hub :is(h2, p, ul) {
  margin-top: 0;
}

body.wp-theme-talerbox.home .tb-home-hub__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

body.wp-theme-talerbox.home .tb-home-hub__intro-copy {
  max-width: 780px;
}

body.wp-theme-talerbox.home .tb-home-hub__hero-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: #f7f0e8;
  border: 1px solid #eadfd5;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(41, 50, 58, 0.12);
}

body.wp-theme-talerbox.home .tb-home-hub__hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

body.wp-theme-talerbox.home .tb-home-hub__hero-badge {
  display: flex;
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  color: #fff;
  background: rgba(13, 59, 62, 0.94);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(13, 59, 62, 0.2);
  font-size: 14px;
  line-height: 1.3;
  backdrop-filter: blur(6px);
}

body.wp-theme-talerbox.home .tb-home-hub__hero-badge-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #a9d7c7;
}

body.wp-theme-talerbox.home .tb-home-hub__hero-badge-emoji {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__eyebrow,
body.wp-theme-talerbox.home .tb-home-hub__section-kicker,
body.wp-theme-talerbox.home .tb-home-hub__promise-kicker {
  display: block;
  margin: 0 0 10px;
  color: #d83e4a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.wp-theme-talerbox.home .tb-home-hub__title {
  margin: 0 0 14px;
  color: #252a3c;
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

body.wp-theme-talerbox.home .tb-home-hub__lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #58645f;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

body.wp-theme-talerbox.home .tb-home-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

body.wp-theme-talerbox.home .tb-home-hub__primary,
body.wp-theme-talerbox.home .tb-home-hub__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  box-sizing: border-box;
}

body.wp-theme-talerbox.home .tb-home-hub__primary {
  color: #fff !important;
  background: #ef4956;
  box-shadow: 0 8px 20px rgba(239, 73, 86, 0.22);
}

body.wp-theme-talerbox.home .tb-home-hub__secondary {
  color: #27313a !important;
  background: #fff;
  border: 1px solid #d7dfdc;
}

body.wp-theme-talerbox.home .tb-home-hub__primary:hover,
body.wp-theme-talerbox.home .tb-home-hub__primary:focus-visible {
  color: #fff !important;
  background: #d83e4a;
}

body.wp-theme-talerbox.home .tb-home-hub__secondary:hover,
body.wp-theme-talerbox.home .tb-home-hub__secondary:focus-visible {
  color: #27313a !important;
  border-color: #9eb4ab;
}

body.wp-theme-talerbox.home .tb-home-hub__promise {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 34px);
  background: #0d3b3e;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(13, 59, 62, 0.16);
}

body.wp-theme-talerbox.home .tb-home-hub__promise-visual {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: #0d3b3e;
  background: #a9d7c7;
  border-radius: 18px;
  place-items: center;
  transform: rotate(-3deg);
}

body.wp-theme-talerbox.home .tb-home-hub__promise-icon {
  width: 30px;
  height: 30px;
}

body.wp-theme-talerbox.home .tb-home-hub__promise-kicker {
  color: #a9d7c7;
}

body.wp-theme-talerbox.home .tb-home-hub__promise-title {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
}

body.wp-theme-talerbox.home .tb-home-hub__promise-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #e7f3ef;
  list-style: none;
}

body.wp-theme-talerbox.home .tb-home-hub__promise-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.45;
}

body.wp-theme-talerbox.home .tb-home-hub__promise-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #ef6a74;
  content: "✓";
  font-weight: 900;
}

body.wp-theme-talerbox.home .tb-home-hub__section {
  scroll-margin-top: 96px;
}

body.wp-theme-talerbox.home .tb-home-hub__paths,
body.wp-theme-talerbox.home .tb-home-hub__tools {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
}

body.wp-theme-talerbox.home .tb-home-hub__paths {
  background: #fff8f4;
  border: 1px solid #f0ded3;
}

body.wp-theme-talerbox.home .tb-home-hub__tools {
  background: #eaf4f0;
  border: 1px solid #d4e7df;
}

body.wp-theme-talerbox.home .tb-home-hub__section-title {
  margin: 0;
  color: #252a3c;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.wp-theme-talerbox.home .tb-home-hub__section-lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: #63706b;
  font-size: 17px;
  line-height: 1.55;
}

body.wp-theme-talerbox.home .tb-home-hub__path-grid,
body.wp-theme-talerbox.home .tb-home-hub__tool-grid,
body.wp-theme-talerbox.home .tb-home-hub__deal-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

body.wp-theme-talerbox.home .tb-home-hub__path-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.wp-theme-talerbox.home .tb-home-hub__tool-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.wp-theme-talerbox.home .tb-home-hub__tool {
  grid-column: span 2;
}

body.wp-theme-talerbox.home .tb-home-hub__tool:nth-last-child(-n + 2) {
	grid-column: span 2;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 26px 0 34px;
  padding: 18px 20px;
  color: #25303a;
  background: #eef7f3;
  border: 1px solid #d3e7de;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(25, 72, 59, 0.06);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 13px;
  font-size: 22px;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.3;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link p {
  margin: 0;
  color: #5e6d68;
  font-size: 14px;
  line-height: 1.5;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: #fff !important;
  background: #ef4654;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

@media screen and (max-width: 767.98px) {
  body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 .tb-savings-context-link a {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

body.wp-theme-talerbox.home :is(.tb-home-hub__path, .tb-home-hub__tool, .tb-home-hub__deal) {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  color: #27313a !important;
  background: #fff;
  border: 1px solid #dce5e1;
  border-radius: 16px;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(26, 57, 53, 0.06);
  box-sizing: border-box;
}

body.wp-theme-talerbox.home .tb-home-hub__path {
  min-height: 286px;
  padding: 22px;
}

body.wp-theme-talerbox.home .tb-home-hub__path-visual {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

body.wp-theme-talerbox.home .tb-home-hub__icon-wrap,
body.wp-theme-talerbox.home .tb-home-hub__tool-icon-wrap {
  display: grid;
  width: 54px;
  height: 54px;
  color: #0d3b3e;
  background: #e5f1ed;
  border-radius: 16px;
  place-items: center;
}

body.wp-theme-talerbox.home .tb-home-hub__icon {
  width: 28px;
  height: 28px;
}

body.wp-theme-talerbox.home .tb-home-hub__emoji {
  display: block;
  font-size: 28px;
  line-height: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__path-number {
  color: #ef4956;
  font-size: 14px;
  font-weight: 900;
}

body.wp-theme-talerbox.home .tb-home-hub__path-title,
body.wp-theme-talerbox.home .tb-home-hub__tool-title,
body.wp-theme-talerbox.home .tb-home-hub__deal-offer {
  display: block;
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.2;
}

body.wp-theme-talerbox.home .tb-home-hub__path-description,
body.wp-theme-talerbox.home .tb-home-hub__tool-description,
body.wp-theme-talerbox.home .tb-home-hub__deal-detail {
  display: block;
  margin-top: 10px;
  color: #64716c;
  font-size: 15px;
  line-height: 1.5;
}

body.wp-theme-talerbox.home .tb-home-hub__link-label {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: #d83e4a;
  font-size: 14px;
  font-weight: 800;
}

body.wp-theme-talerbox.home .tb-home-hub__arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #d83e4a;
  font-size: 22px;
  line-height: 1;
}

body.wp-theme-talerbox.home .tb-home-hub__tool {
  overflow: hidden;
  min-height: 205px;
  padding: 20px;
}

body.wp-theme-talerbox.home .tb-home-hub__tool-visual {
  position: absolute;
  top: 18px;
  right: 18px;
}

body.wp-theme-talerbox.home .tb-home-hub__tool-icon-wrap {
  width: 46px;
  height: 46px;
  color: #d83e4a;
  background: #fff0ee;
  border-radius: 14px;
}

body.wp-theme-talerbox.home .tb-home-hub__tool-icon-wrap .tb-home-hub__icon {
  width: 24px;
  height: 24px;
}

body.wp-theme-talerbox.home .tb-home-hub__tool-label {
  display: inline-flex;
  max-width: calc(100% - 58px);
  padding: 6px 9px;
  color: #0d3b3e;
  background: #e5f1ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

body.wp-theme-talerbox.home .tb-home-hub__tool-title {
  margin-top: 18px;
}

body.wp-theme-talerbox.home :is(.tb-home-hub__path, .tb-home-hub__tool, .tb-home-hub__deal):hover,
body.wp-theme-talerbox.home :is(.tb-home-hub__path, .tb-home-hub__tool, .tb-home-hub__deal):focus-visible {
  color: #27313a !important;
  border-color: #a7bbb3;
  box-shadow: 0 14px 30px rgba(26, 57, 53, 0.1);
  transform: translateY(-2px);
}

body.wp-theme-talerbox.home .tb-home-hub__deals {
  padding: clamp(24px, 4vw, 38px);
  background: #fff4f2;
  border: 1px solid #f5d9d5;
  border-radius: 20px;
}

body.wp-theme-talerbox.home .tb-home-hub__deals-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

body.wp-theme-talerbox.home .tb-home-hub__text-link {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: #d83e4a !important;
  font-weight: 800;
  text-decoration: none !important;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  color: #7e5c57;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #f0d6d2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wp-theme-talerbox.home .tb-home-hub__deal {
  min-height: 215px;
  padding: 20px;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-top {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-provider {
  font-size: 14px;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-date {
  color: #7e5c57;
  font-size: 12px;
  font-weight: 700;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-offer {
  margin-top: 22px;
}

body.wp-theme-talerbox.home .tb-home-hub__deal-note {
  margin: 16px 0 0;
  color: #7e6864;
  font-size: 13px;
  line-height: 1.5;
}

body.wp-theme-talerbox.home .tb-home-hub__trust {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid #dce5e1;
  border-radius: 18px;
}

body.wp-theme-talerbox.home .tb-home-hub__trust--no-avatar {
  grid-template-columns: 1fr;
}

body.wp-theme-talerbox.home .tb-home-hub__avatar {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

body.wp-theme-talerbox.home .tb-home-hub__author {
  display: inline-flex;
  color: #252a3c !important;
  font-size: 23px;
  font-weight: 800;
  text-decoration: none !important;
}

body.wp-theme-talerbox.home .tb-home-hub__role {
  display: block;
  margin-top: 2px;
  color: #0d3b3e;
  font-size: 15px;
}

body.wp-theme-talerbox.home .tb-home-hub__trust-description {
  max-width: 850px;
  margin: 10px 0 0;
  color: #64716c;
  font-size: 15px;
  line-height: 1.55;
}

body.wp-theme-talerbox.home.tb-home-hub-applied .front-page-wrapper > .section:not(.homepage-hero),
body.wp-theme-talerbox.home [data-talerbox-home-legacy-hidden="true"] {
  display: none !important;
}

@media screen and (max-width: 1199.98px) {
  body.wp-theme-talerbox.home .tb-home-hub__path-grid,
  body.wp-theme-talerbox.home .tb-home-hub__tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.wp-theme-talerbox.home .tb-home-hub__tool,
  body.wp-theme-talerbox.home .tb-home-hub__tool:nth-last-child(-n + 2) {
    grid-column: auto;
  }
}

@media screen and (max-width: 991.98px) {
  body.wp-theme-talerbox.home .tb-home-hub__intro {
    grid-template-columns: 1fr;
  }

  body.wp-theme-talerbox.home .tb-home-hub__path-grid,
  body.wp-theme-talerbox.home .tb-home-hub__tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767.98px) {
  body.wp-theme-talerbox.home .homepage-hero.tb-home-hub {
    padding: 28px 0 40px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__container {
    gap: 42px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__title {
    font-size: clamp(40px, 13vw, 58px);
  }

  body.wp-theme-talerbox.home .tb-home-hub__lead {
    font-size: 18px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__hero-visual {
    border-radius: 18px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__hero-badge {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px 12px;
    font-size: 13px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.wp-theme-talerbox.home .tb-home-hub__primary,
  body.wp-theme-talerbox.home .tb-home-hub__secondary {
    width: 100%;
  }

  body.wp-theme-talerbox.home .tb-home-hub__path-grid,
  body.wp-theme-talerbox.home .tb-home-hub__tool-grid,
  body.wp-theme-talerbox.home .tb-home-hub__deal-grid {
    grid-template-columns: 1fr;
  }

  body.wp-theme-talerbox.home .tb-home-hub__paths,
  body.wp-theme-talerbox.home .tb-home-hub__tools {
    padding: 22px 16px;
    border-radius: 18px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__path,
  body.wp-theme-talerbox.home .tb-home-hub__tool,
  body.wp-theme-talerbox.home .tb-home-hub__deal {
    min-height: 0;
  }

  body.wp-theme-talerbox.home .tb-home-hub__path-number {
    margin-bottom: 0;
  }

  body.wp-theme-talerbox.home .tb-home-hub__deals-heading {
    display: block;
  }

  body.wp-theme-talerbox.home .tb-home-hub__text-link {
    display: inline-flex;
    margin-top: 14px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__deal-status {
    margin-top: 14px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__trust {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__avatar {
    width: 64px;
    height: 64px;
  }

  body.wp-theme-talerbox.home .tb-home-hub__author {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-theme-talerbox.home :is(.tb-home-hub__path, .tb-home-hub__tool, .tb-home-hub__deal) {
    transition: none;
  }
}

/*
 * Component system 2.2.0
 *
 * This final layer deliberately owns the visible navigation and editorial
 * card primitives. It neutralizes old theme pseudo-elements and inline
 * Gutenberg palette colours without changing templates or article markup.
 */

/* Editorial cards: safe, known box variants used by the current article set. */
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  p.has-pale-cyan-blue-background-color.has-background,
  p.has-pale-pink-background-color.has-background
) {
  margin: 24px 0;
  padding: 18px 20px !important;
  color: #3f474c !important;
  background: #f6fbff !important;
  border: 1px solid #d7e8f1;
  border-left: 4px solid #438caf;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(37, 42, 60, 0.05);
  font-size: 16px;
  line-height: 1.65;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-pale-cyan-blue-background-color.has-background,
body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-pale-pink-background-color.has-background {
  overflow: hidden;
  margin: 26px 0;
  padding: clamp(20px, 3vw, 28px) !important;
  color: var(--tb-conversion-ink) !important;
  background: #f7fbfd !important;
  border: 1px solid #d7e8f1;
  border-left: 4px solid #438caf;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(37, 42, 60, 0.06);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main .wp-block-group.has-pale-pink-background-color.has-background {
  background: #fff8f8 !important;
  border-color: #f0dadd;
  border-left-color: var(--tb-conversion-accent);
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-pale-cyan-blue-background-color.has-background,
  .wp-block-group.has-pale-pink-background-color.has-background
) > .wp-block-group__inner-container > :first-child {
  margin-top: 0 !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-pale-cyan-blue-background-color.has-background,
  .wp-block-group.has-pale-pink-background-color.has-background
) > .wp-block-group__inner-container > :last-child {
  margin-bottom: 0 !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-pale-cyan-blue-background-color.has-background,
  .wp-block-group.has-pale-pink-background-color.has-background
) :is(h2, h3, h4) {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  color: var(--tb-conversion-ink) !important;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.25;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-pale-cyan-blue-background-color.has-background,
  .wp-block-group.has-pale-pink-background-color.has-background
) p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #48545b !important;
}

body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
  .wp-block-group.has-pale-cyan-blue-background-color.has-background,
  .wp-block-group.has-pale-pink-background-color.has-background
) .has-small-font-size {
  color: #68747a !important;
  font-size: 13px !important;
  line-height: 1.5;
}

/* Desktop navigation: roomy labels, own chevrons, stable compact breakpoint. */
@media screen and (min-width: 992px) {
  body.wp-theme-talerbox .site-header #site-navigation #primary-menu {
    gap: clamp(5px, 0.65vw, 11px) !important;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li > a {
    gap: 0 !important;
    padding: 9px 11px !important;
    white-space: nowrap;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li.menu-item-has-children > a {
    padding-right: 12px !important;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li.menu-item-has-children > a::after {
    content: "" !important;
    position: static !important;
    display: inline-block !important;
    flex: 0 0 7px;
    width: 7px !important;
    height: 7px !important;
    margin: -4px 1px 0 10px !important;
    padding: 0 !important;
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    border-radius: 0 !important;
    transform: rotate(45deg) !important;
    transition: transform 150ms ease;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li:not(.show-children) {
    display: none !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1180px) {
  body.wp-theme-talerbox .site-header .custom-logo-link img {
    max-width: 195px;
    height: 42px !important;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li > a {
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 14px;
  }

  body.wp-theme-talerbox .site-header #site-navigation #primary-menu > li.menu-item-has-children > a::after {
    margin-left: 8px !important;
  }

  body.wp-theme-talerbox .site-header .wp-block-search {
    width: 140px;
    margin-left: 6px;
  }
}

/* Tablet and phone navigation: one sheet model, no full empty page. */
@media screen and (max-width: 991.98px) {
  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 12px 0 calc(72px + env(safe-area-inset-bottom)) !important;
    background: rgba(25, 31, 38, 0.52) !important;
    backdrop-filter: blur(2px);
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container {
    width: min(620px, 100%) !important;
    max-width: 620px !important;
    height: auto !important;
    max-height: min(70vh, 580px) !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  body.wp-theme-talerbox .menu-main-menu-container.custom-menu.show-menu > .container > .menu {
    display: block !important;
    width: 100% !important;
    max-height: min(70vh, 580px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(37, 42, 60, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 54px rgba(20, 28, 34, 0.28) !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li:not(.show-children) {
    display: none !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a {
    position: relative !important;
    display: block !important;
    min-height: 60px !important;
    padding: 18px 62px 17px 20px !important;
    color: var(--tb-conversion-ink) !important;
    background: #fff7f8 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tb-conversion-border) !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::before {
    content: "×" !important;
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    color: #5f6a70 !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #dfe4e5 !important;
    border-radius: 50% !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 31px !important;
    text-align: center !important;
    transform: translateY(-50%) !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > a::after {
    display: none !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    height: auto !important;
    max-height: calc(min(70vh, 580px) - 61px) !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow-y: auto !important;
    background: #fff !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    padding: 12px 14px !important;
    color: #465158 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a:hover,
  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a:focus-visible {
    color: var(--tb-conversion-ink) !important;
    background: var(--tb-conversion-surface-soft) !important;
  }
}

@media screen and (max-width: 575.98px) {
  body.wp-theme-talerbox .custom-menu.show-menu .menu > li.show-children > .sub-menu {
    display: block !important;
    padding: 5px 12px 10px !important;
  }

  body.wp-theme-talerbox .custom-menu.show-menu .show-children > .sub-menu > li > a {
    min-height: 49px !important;
    padding: 12px 6px !important;
    border-bottom: 1px solid #edf0f1 !important;
    border-radius: 0 !important;
    font-size: 15px !important;
  }

  body.wp-theme-talerbox.tb-conversion-skin-v1 main#main :is(
    .wp-block-group.has-pale-cyan-blue-background-color.has-background,
    .wp-block-group.has-pale-pink-background-color.has-background
  ) {
    padding: 18px !important;
    border-radius: 12px;
  }

  body.wp-theme-talerbox .toc .toc-wrapper {
    transition: opacity 140ms ease;
  }

  body.wp-theme-talerbox.tb-tax-mobile-reading-focus .toc .toc-wrapper {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@media screen and (max-width: 800px) {
  /* Preserve the icon lane after the generic mobile card padding is applied. */
  body.wp-theme-talerbox #tb-tr-tax-v2 .tb-tax-case {
    padding: 64px 20px 20px !important;
  }

  body.wp-theme-talerbox #tb-tr-tax-v2 .tb-tax-case .tb-tax-icon {
    top: 18px !important;
    left: 20px !important;
    line-height: 1 !important;
  }
}
