/*font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;*/

/* ==========================================================
   Kaushan Script – Headlines Font (lokal, performance-optimiert)
   ========================================================== */
@font-face {
  font-family: "Kaushan Script";
  src: url("/wp-content/mu-plugins/bt-core/assets/fonts/kaushanscript/kaushan-regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   Headlines – Kaushan - Kaushan NUR Startseite
   ========================================================== */
.home h1,
.home .page-title {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
}







/* ==========================================================
   Content Pages – Basislayout
   Zweck:
   - Ruhiges, sauberes Seitensystem für rechtliche und Service-Seiten
   - Content Header + TOC + Content Wrapper
   ========================================================== */

u {
  text-underline-offset: 4px;
}

.bt-page-shell {
  padding: 40px 0 64px;
}

.bt-page-shell__inner {
  width: min(1465px, calc(100% - 32px));
  margin: 0 auto;
}

.bt-page-header {
  margin-bottom: 100px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bt-page-header__inner {
  max-width: 1000px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bt-page-header__title {
  margin: 0 0 12px;
}

/* ==========================================================
   Service Pages – leichte Leseführung
   Warum:
   - Service-Seiten dürfen etwas freundlicher wirken als reine Legal-Seiten,
     ohne ein neues Layout-System zu bekommen.
   ========================================================== */

.bt-page-shell--service .bt-page-content__inner h2 {
  margin-top: 48px;
}

.bt-page-shell--service .bt-page-content__inner > h2:first-child {
  margin-top: 8px;
}

/* ==========================================================
   Content Header – Intro Bereich
   Zweck:
   - klarer Einstieg unter H1
   - leichte visuelle Führung ohne Hero
   ========================================================== */

.bt-page-header__intro {
  margin-top: 12px;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.75;
}

.bt-page-shell__body--with-toc {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.bt-page-shell__body--no-toc {
  display: block;
}

.bt-page-toc {
  position: sticky;
  top: 130px;
  max-height: calc(100vh - 150px);
  overflow: hidden;
}

.bt-page-toc__box {
  padding: 4px 14px 4px 0;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 14px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.bt-page-toc__title {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}

.bt-page-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: bt-page-toc-h2;
}

.bt-page-toc__item {
  margin: 0;
  padding: 0;
}

.bt-page-toc__item--level-2 {
  margin-top: 14px;
}

.bt-page-toc__item--level-2:first-child {
  margin-top: 0;
}

.bt-page-toc__item--level-2 .bt-page-toc__link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.95;
  color: #414544 !important;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
}

.bt-page-toc__item--level-2 .bt-page-toc__link::before {
  counter-increment: bt-page-toc-h2;
  content: counter(bt-page-toc-h2) ".";
  flex: 0 0 auto;
  min-width: 22px;
  color: #414544 !important;
}

.bt-page-toc__item--level-3 {
  padding-left: 18px;
  opacity: 0.9;
}

.bt-page-toc__item--level-3 .bt-page-toc__link {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.74;
  font-weight: 400;

  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: 10px;
  background: #fff;
}

/* ==========================================================
   TOC-Abstände nach Beziehung
   Warum:
   - H2 → erste H3 enger zusammenhalten
   - H3 → H3 gleichmäßig staffeln
   - letzter H3-Block → nächste H2 wieder klar trennen
   ========================================================== */

.bt-page-toc__item--level-2 + .bt-page-toc__item--level-3 {
  margin-top: 6px;
}

.bt-page-toc__item--level-3 + .bt-page-toc__item--level-3 {
  margin-top: 6px;
}

/* .bt-page-toc__item--level-3 + .bt-page-toc__item--level-2 {
  margin-top: 16px;
} */

/* .bt-page-toc__item--level-2 + .bt-page-toc__item--level-2 {
  margin-top: 16px;
} */

.bt-page-toc__link {
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  line-height: 1.4;
  opacity: 0.8;
  color: #414544 !important;
}

.bt-page-toc__link:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.04);
}

.bt-page-toc__item--level-3 .bt-page-toc__link:hover {
  background: rgba(0, 0, 0, 0.025);
}

.bt-page-toc__link-text {
  display: inline-block;
}

.bt-page-content {
  min-width: 0;
}

.bt-page-content__inner {
  max-width: 800px;
  line-height: 1.65;
  font-size: 17px;
}

/* Kontaktseite nutzt die volle Content-Breite. */
.bt-page-content__inner:has(> .bt-contact-page) {
  width: 100%;
  max-width: none;
}

/* ==========================================================
   TYPOGRAFIE – Content Pages
   Zweck:
   - Bessere Lesbarkeit für lange Texte (Datenschutz, AGB etc.)
   - Klarer visueller Rhythmus
   ========================================================== */

.bt-page-content__inner p {
  margin: 0 0 16px;
}

.bt-page-content__inner {
  max-width: 1000px;
  line-height: 1.65;
  font-size: 17px;
  counter-reset: bt-page-h2;
}

.bt-page-content__inner h2 {
  margin: 56px 0 5px;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bt-page-content__inner h2::before {
  counter-increment: bt-page-h2;
  content: counter(bt-page-h2) ".";
  color: #414544;
  flex: 0 0 auto;
  min-width: 22px;
  opacity: 1;
}

.bt-page-content__inner > h2:first-child {
  margin-top: 8px;
}

.bt-page-content__inner h3 {
  margin: 5px 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.bt-page-content__inner ul,
.bt-page-content__inner ol {
  margin: 0 0 18px 20px;
}

.bt-page-content__inner li {
  margin: 5px 0;
}

.bt-page-content__inner strong {
  font-weight: 600;
}

.bt-page-content__inner > :first-child {
  margin-top: 0;
}

.bt-page-content__inner h2 {
  scroll-margin-top: 155px;
}

.bt-page-content__inner h3 {
  scroll-margin-top: 120px;
}

/* ==========================================================
   Service Pages – Themenkarten rechts
   Zweck:
   - Kapselt jeden H2-Block als ruhige Content-Karte
   - optische Annäherung an das FAQ-Gefühl ohne FAQ-Mechanik
   ========================================================== */

.bt-page-shell--service .bt-page-content__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==========================================================
   Service Pages – Einleitungsblock ohne Nummer/Karte
   Zweck:
   - Intro vor den eigentlichen Versandabschnitten
   - ohne Nummerierung und ohne Kartenoptik
   ========================================================== */

.bt-page-shell--service .bt-page-content__lead {
  margin: 0 0 2px;
}

.bt-page-shell--service .bt-page-content__lead h2 {
  margin: 0 0 8px;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 600;
  display: block;
  counter-increment: none;
}

.bt-page-shell--service .bt-page-content__lead h2::before {
  content: none;
  counter-increment: none;
}

.bt-page-shell--service .bt-page-content__lead p:last-child {
  margin-bottom: 0;
}

.bt-page-shell--service .bt-page-content__section {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: transparent;
  padding: 22px 22px 18px;
}

.bt-page-shell--service .bt-page-content__section > :last-child {
  margin-bottom: 0;
}

.bt-page-shell--service .bt-page-content__section h2 {
  margin-top: 0;
}

.bt-page-shell--service .bt-page-content__section h2 + p {
  margin-top: 0;
}

/* .bt-page-shell--service .bt-page-content__section h3:first-of-type {
  margin-top: 18px;
} */

.bt-page-shell--service .bt-page-content__section ul:last-child,
.bt-page-shell--service .bt-page-content__section ol:last-child,
.bt-page-shell--service .bt-page-content__section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .bt-page-shell--service .bt-page-content__section {
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
}

/* ==========================================================
/* ==========================================================
   Content Pages – Active Section Highlight
   Zweck:
   - Markiert die aktuell aktive H2/H3 auch im Content
   - spiegelt die Orientierung aus dem TOC rechts im Text
   ========================================================== */

.bt-page-content__inner h2.is-active-section {
  color: #144544;
  opacity: 1;
  font-weight: 700;
}

.bt-page-content__inner h2.is-active-section::before {
  opacity: 1;
  color: #414544;
}

.bt-page-shell--service .bt-page-content__section:has(h2.is-active-section) {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

@media (max-width: 920px) {
  .bt-page-shell {
    padding: 24px 0 40px;
  }

  .bt-page-shell__inner {
    width: min(100%, calc(100% - 24px));
  }

  .bt-page-shell__body--with-toc {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bt-page-toc {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .bt-page-toc__box {
    border-radius: 14px;
    padding: 16px;
    max-height: none;
    overflow: visible;
  }

  .bt-page-toc__item--level-2 {
    margin-top: 12px;
  }

  .bt-page-toc__item--level-3 {
    padding-left: 32px;
  }
}

/* ==========================================================
   TOC Active State
   ========================================================== */

.bt-page-toc__link.is-active {
  opacity: 1;
}

.bt-page-toc__item--level-2 .bt-page-toc__link.is-active {
  font-weight: 700;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   Content Pages – Links / Listen / Tabellen
   Zweck:
   - Rechtliche und Service-Seiten visuell sauber abschließen
   - Standard-WP-Content ruhiger und hochwertiger machen
   ========================================================== */

.bt-page-content__inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.bt-page-content__inner a:hover {
  text-decoration-thickness: 2px;
}

.bt-page-content__inner ul,
.bt-page-content__inner ol {
  padding-left: 1.2rem;
}

.bt-page-content__inner li > ul,
.bt-page-content__inner li > ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

.bt-page-content__inner hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bt-page-content__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 0.98rem;
}

.bt-page-content__inner th,
.bt-page-content__inner td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bt-page-content__inner th {
  font-weight: 600;
}

.bt-page-content__inner blockquote {
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 3px solid rgba(0, 0, 0, 0.12);
  opacity: 0.9;
}

/* ==========================================================
   Content Pages Legal Button - Download PDF
   ========================================================== */
.bt-page-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #222222;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.bt-page-pdf-button:hover,
.bt-page-pdf-button:focus {
  background: #f7f7f7;
  border-color: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
  color: #414544;
  opacity: 0.8;
}

/* ==========================================================
   Content Pages – Print / PDF Action
   Zweck:
   - Ruhiger Download-/Print-Button am Ende der Seite
   - nur für Seiten mit aktivierter PDF-Print-Funktion
   ========================================================== */

.bt-page-actions--print {
  margin-top: 28px;
  padding-top: 6px;
}

.bt-page-pdf-button--print {
  cursor: pointer;
}

/* ==========================================================
   Print / PDF – Versandübersicht
   Zweck:
   - Druckt nur den gewünschten Content-Page-Bereich
   - blendet TOC, Formular, Footer und Seitennavigation aus
   - reduziert Leerflächen durch weichere Seitenumbrüche
   ========================================================== */

body.bt-is-printing-page-pdf .bt-page-sticky-mobile {
  display: none !important;
}

.bt-page-sticky-mobile-end-sentinel {
  height: 1px;
  width: 100%;
}

@media print {
  @page {
    margin: 28mm 4mm 28mm;
  }

  html,
  body {
    background: #ffffff !important;
  }

  body.bt-is-printing-page-pdf * {
    visibility: hidden !important;
  }

  body.bt-is-printing-page-pdf .bt-page-shell,
  body.bt-is-printing-page-pdf .bt-page-shell * {
    visibility: visible !important;
  }

  body.bt-is-printing-page-pdf .bt-page-shell {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    margin: 0 !important;
  }

  .bt-page-shell {
    padding: 0 !important;
    margin: 0 !important;
  }

  .bt-page-shell__inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .bt-page-header {
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .bt-page-header__inner {
    max-width: none !important;
    min-height: 0 !important;
    display: block !important;
  }

  .bt-page-header__title {
    margin: 0 0 10px !important;
    text-align: center !important;
  }

  .bt-page-header__intro {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

   /* ==========================================================
     Print / PDF – Lokales Versand-Logo
     Zweck:
     - Drucklogo sitzt jetzt direkt im Print-Layout statt im Shared Header
     - linksbündig, kleiner und nur in echter Druckansicht sichtbar
     ========================================================== */

  body:not(.bt-is-printing-page-pdf) .bt-page-print-logo {
    display: none !important;
  }

  .bt-page-print-logo {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 16px !important;
    text-align: center !important;
  }

  .bt-page-print-logo__link {
    display: inline-flex !important;
    justify-content: center !important;
    text-decoration: none !important;
  }

  .bt-page-print-logo__image {
    display: block !important;
    width: 260px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .bt-page-shell__body,
  .bt-page-shell__body--with-toc,
  .bt-page-shell__body--no-toc {
    display: block !important;
    gap: 0 !important;
  }

  .bt-page-toc {
    display: none !important;
  }

  .bt-page-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .bt-page-content__inner {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    padding: 0 6mm !important;
    box-sizing: border-box !important;
  }

  .bt-page-actions--print,
  .bt-page-pdf-button,
  .bt-page-pdf-button--print {
    display: none !important;
  }
  .bt-page-sticky-mobile,
  .bt-page-sticky-mobile__dropdown,
  .bt-page-sticky-mobile__button {
    display: none !important;
  }

  .bt-page-content__section {
    margin: 0 0 18px !important;
    padding: 16px 18px 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
    background: transparent !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .bt-page-content__section:last-child {
    margin-bottom: 0 !important;
  }

  .bt-page-content__section h2,
  .bt-page-content__section h3,
  .bt-plz-toggle,
  .bt-plz-toggle__content,
  .bt-page-content__section li {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .bt-page-content__section h2 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }

  .bt-page-content__section h3 {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
  }

  .bt-page-content__section p,
  .bt-page-content__section ul,
  .bt-page-content__section ol {
    margin-bottom: 12px !important;
  }

  .bt-page-content__section ul,
  .bt-page-content__section ol {
    padding-left: 18px !important;
  }

  .bt-page-content__section li {
    margin: 4px 0 !important;
  }

  .bt-plz-toggle {
    margin: 0 !important;
  }

  .bt-plz-toggle__summary {
    cursor: default !important;
    max-width: none !important;
  }

  .bt-plz-toggle__button {
    display: none !important;
  }

  .bt-plz-toggle__content {
    display: block !important;
    margin-top: 6px !important;
    padding: 8px 10px !important;
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
  }

  .bt-plz-toggle__content p {
    margin: 0 !important;
  }
}

/* ==========================================================
   Versand / PLZ Toggle
   Zweck:
   - Ortsname bleibt ruhiger Text
   - Plus/Minus sitzt stabil rechts in derselben Zeile
   - natives Summary-Dreieck wird entfernt
   ========================================================== */

.bt-plz-toggle {
  margin: 0;
}

.bt-plz-toggle__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  width: 100%;
  max-width: 420px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.bt-plz-toggle__summary > * {
  flex-shrink: 0;
}

.bt-plz-toggle__summary::-webkit-details-marker {
  display: none;
}

.bt-plz-toggle__summary::marker {
  display: none;
  content: "";
}

.bt-plz-toggle__label {
  font-weight: 400;
  min-width: 0;
  white-space: nowrap;
}

.bt-plz-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 28px;
  opacity: 0.6;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.bt-plz-toggle__summary:hover .bt-plz-toggle__button,
.bt-plz-toggle__summary:focus-visible .bt-plz-toggle__button {
  background: #f7f7f7;
  border-color: rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.bt-plz-toggle[open] .bt-plz-toggle__button {
  background: #f7f7f7;
  border-color: rgba(0, 0, 0, 0.18);
}

.bt-plz-toggle__button-text--hide {
  display: none;
}

.bt-plz-toggle[open] .bt-plz-toggle__button-text--show {
  display: none;
}

.bt-plz-toggle[open] .bt-plz-toggle__button-text--hide {
  display: inline;
}

.bt-plz-toggle__content {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
}

.bt-plz-toggle__content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

@media (max-width: 680px) {
  .bt-plz-toggle__summary {
    max-width: 100%;
    gap: 6px;
  }

  .bt-plz-toggle__button {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    font-size: 0.82rem;
  }

  .bt-plz-toggle__content {
    margin-top: 8px;
    padding: 9px 10px;
  }

  .bt-plz-toggle__content p {
    font-size: 0.84rem;
    line-height: 1.4;
  }
}

/* ==========================================================
   Content Pages – Sticky Mobile Navigation
   Zweck:
   - mobiles Sticky-Menü für Content-Pages mit TOC
   - optisch an FAQ angelehnt, aber technisch schlanker
   ========================================================== */

.bt-page-sticky-mobile {
  position: fixed;
  top: 100px;
  left: 16px;
  right: 16px;
  z-index: 999;

  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  max-height: calc(100vh - 100px);
  overflow: hidden;
}

.bt-page-sticky-mobile__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #414544;
  border-radius: 18px 18px 0 0;
}

.bt-page-sticky-mobile__button:hover,
.bt-page-sticky-mobile__button:focus,
.bt-page-sticky-mobile__button:active {
  background: transparent;
  color: #414544;
  outline: none;
}

.bt-page-sticky-mobile__label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #414544;
  font-size: 13px;
  opacity: 0.8;
}

.bt-page-sticky-mobile__label strong,
.bt-page-sticky-mobile__label [data-bt-page-sticky-mobile-current] {
  color: #414544;
  font-size: 16px;
  font-weight: 600;
  opacity: 1;
}

.bt-page-sticky-mobile__icon {
  width: 17px;
  height: 20px;
  position: relative;
  display: inline-block;
  border: 0;
  opacity: 0.95;
  flex: 0 0 17px;
}

.bt-page-sticky-mobile__icon::before,
.bt-page-sticky-mobile__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #414544;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    top 0.18s ease;
}

.bt-page-sticky-mobile__icon::before {
  top: 4px;
}

.bt-page-sticky-mobile__icon::after {
  top: 14px;
}

.bt-page-sticky-mobile.is-open .bt-page-sticky-mobile__icon::before {
  top: 9px;
  transform: rotate(45deg) scaleX(1.18);
}

.bt-page-sticky-mobile.is-open .bt-page-sticky-mobile__icon::after {
  top: 9px;
  transform: rotate(-45deg) scaleX(1.18);
}

.bt-page-sticky-mobile__dropdown {
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);

  max-height: calc(100vh - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  counter-reset: bt-page-sticky-h2;
}

.bt-page-sticky-mobile__dropdown a {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
}

.bt-page-sticky-mobile__dropdown a:hover {
  text-decoration: none;
}

.bt-page-sticky-mobile__link--level-2 {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
  font-weight: 500;

  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bt-page-sticky-mobile__link--level-2::before {
  counter-increment: bt-page-sticky-h2;
  content: counter(bt-page-sticky-h2) ".";
  flex: 0 0 auto;
  min-width: 22px;
  color: #414544;
}

.bt-page-sticky-mobile__link--level-2.is-active {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  font-weight: 650;
}

.bt-page-sticky-mobile__link--level-3 {
  margin-top: 6px;
  margin-left: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.25;
  opacity: 0.9;
}

@media (min-width: 921px) {
  .bt-page-sticky-mobile {
    display: none !important;
  }
}

@media (max-width: 920px) {
  .bt-page-shell__body--with-toc .bt-page-toc {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}
