/* Styles for bikademy-core shortcodes. Tokens come from Elementor variables (--bk-*). */
.bk-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Store badges + QR */
.bk-store { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bk-store__badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.25); transition: transform .2s ease; }
.bk-store__badge:hover { color: #fff; transform: translateY(-1px); }
.bk-store__badge svg { width: 24px; height: 24px; flex: none; }
.bk-store__text { display: flex; flex-direction: column; line-height: 1.1; }
.bk-store__text small { font-size: .6875rem; opacity: .85; }
.bk-store__text strong { font-size: 1.0625rem; font-weight: 700; }
.bk-store__qr { display: flex; align-items: center; gap: 12px; margin-inline-start: 8px; font-size: .8125rem; line-height: 1.35; max-width: 180px; }
.bk-store__qr img { width: 84px; height: 84px; padding: 6px; background: #fff; border-radius: 10px; }
@media (max-width: 767px), (hover: none) { .bk-store__qr { display: none; } }

/* Book a call */
.bk-call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.bk-call__alt { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9375rem; }
.bk-call__alt a { font-weight: 700; }
.bk-section--dark .bk-call__alt a { color: #fff; }
.bk-btn-link { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 999px; font-weight: 800; font-size: .9375rem; line-height: 1.2; text-decoration: none; background: var(--bk-lime); color: var(--bk-navy-900); transition: background-color .2s ease; }
.bk-btn-link:hover { background: var(--bk-lime-300); color: var(--bk-navy-900); }

/* Categories switcher */
.bk-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.bk-tabs__tab { font: inherit; font-weight: 700; font-size: .9375rem; padding: 10px 18px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.bk-tabs__tab[aria-selected="true"] { background: var(--bk-lime); border-color: var(--bk-lime); color: var(--bk-navy-900); }
.bk-tabs__panel { display: grid; gap: 8px; }
.bk-tabs__panel[hidden] { display: none; }
.bk-tabs__range { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; line-height: 1.1; }
.bk-section--dark .bk-tabs__range { color: var(--bk-lime); }

/* Video facade */
.bk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--bk-radius-card); overflow: hidden; background: var(--bk-navy-900); }
.bk-video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: transparent; }
.bk-video__play img { width: 100%; height: 100%; object-fit: cover; }
.bk-video__play::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--bk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23082F61' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 32px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.bk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Map */
.bk-map { width: 100%; height: 520px; border-radius: var(--bk-radius-card); overflow: hidden; background: var(--bk-navy-100); }
.bk-map--small { height: 260px; }
@media (max-width: 767px) { .bk-map { height: 380px; } }
.bk-map .leaflet-popup-content { font-family: var(--bk-font); font-size: .9375rem; }
.bk-map .leaflet-popup-content a { font-weight: 700; }
.bk-map__marker { box-sizing: border-box; border-radius: 50%; background: #fff url(../img/bikademy-symbol.svg) center / 20px 20px no-repeat; border: 2px solid var(--bk-lime); box-shadow: 0 2px 6px rgba(8,47,97,.35); }

/* Cards (Studies, Exams, posts) */
.bk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1024px) { .bk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bk-cards { grid-template-columns: minmax(0, 1fr); } }
.bk-cardx { position: relative; display: flex; flex-direction: column; border-radius: var(--bk-radius-card); overflow: hidden; background: #fff; border: 1px solid var(--bk-line); transition: box-shadow .2s ease, transform .2s ease; }
.bk-cardx:hover { box-shadow: 0 16px 40px rgba(8, 47, 97, .12); transform: translateY(-2px); }
.bk-cardx__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bk-navy-100); }
.bk-cardx__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-cardx__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.bk-cardx__meta { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bk-navy-500); }
.bk-cardx__title { margin: 0; font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.bk-cardx__title a { color: var(--bk-ink); text-decoration: none; }
.bk-cardx__title a::after { content: ""; position: absolute; inset: 0; }
.bk-cardx__excerpt { margin: 0; color: var(--bk-ink-soft); font-size: .9375rem; line-height: 1.55; }
.bk-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
/* paginate_links(type=list) wraps the links in <ul class="page-numbers">: reset the list, style only the items. */
.bk-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.bk-pagination li { margin: 0; padding: 0; list-style: none; }
.bk-pagination li::marker { content: none; }
.bk-pagination a.page-numbers, .bk-pagination span.page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--bk-line); text-decoration: none; font-weight: 700; color: var(--bk-ink); }
.bk-pagination .page-numbers.current { background: var(--bk-navy-900); color: #fff; border-color: var(--bk-navy-900); }

/* Exam / Study / Post headers and details */
.bk-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; font-size: .875rem; color: var(--bk-ink-soft); }
.bk-crumbs li + li::before { content: "›"; margin-inline-end: 6px; }
.bk-crumbs a { color: inherit; }
.bk-section--dark .bk-crumbs { color: rgba(255,255,255,.75); }
.bk-pagehead { display: flex; flex-direction: column; gap: 12px; }
.bk-pagehead__eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bk-navy-500); margin: 0; }
.bk-section--dark .bk-pagehead__eyebrow { color: var(--bk-lime); }
.bk-pagehead__title { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.8vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.bk-section--dark .bk-pagehead__title { color: #fff; }
.bk-pagehead__lead { margin: 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--bk-ink-soft); max-width: 680px; }
.bk-section--dark .bk-pagehead__lead { color: rgba(255,255,255,.85); }
.bk-pagehead__meta { margin: 0; font-size: .9375rem; color: var(--bk-ink-soft); }
.bk-pagehead__image { margin: 16px 0 0; border-radius: var(--bk-radius-card); overflow: hidden; aspect-ratio: 16 / 8; }
.bk-pagehead__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bk-details { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--bk-radius-card); background: var(--bk-surface); }
.bk-details__title { margin: 0; font-size: 1.125rem; font-weight: 800; }
.bk-details__list { margin: 0; display: grid; gap: 12px; }
.bk-details__list dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bk-navy-500); }
.bk-details__list dd { margin: 2px 0 0; overflow-wrap: anywhere; }

.bk-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 767px) { .bk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bk-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.bk-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.bk-gallery a:hover img { transform: scale(1.04); }

.bk-facts { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.bk-facts div { display: flex; flex-direction: column; }
.bk-facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bk-navy-500); }
.bk-facts dd { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--bk-navy-900); }
.bk-section--dark .bk-facts dt { color: var(--bk-lime); }
.bk-section--dark .bk-facts dd { color: #fff; }

/* Section heading printed by list shortcodes (only when the list has items) */
.bk-section-title { margin: 0 0 24px; font-family: var(--bk-font); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; color: var(--bk-navy-900); }
.bk-section--dark .bk-section-title { color: #fff; }
.bk-map__fallback { display: flex; align-items: center; justify-content: center; height: 100%; padding: 16px; text-align: center; color: var(--bk-ink-soft); }

/* Checklist and ordered list (V4 containers of item paragraphs) */
.bk-checklist__item::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--bk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23082F61' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bk-ol__item::before { content: counter(bk-ol); position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bk-navy-900); color: #fff; font-weight: 800; font-size: .875rem; display: flex; align-items: center; justify-content: center; }

/* FAQ */
.bk-faq { display: grid; gap: 12px; width: 100%; }
.bk-faq__item { border: 1px solid var(--bk-line); border-radius: var(--bk-radius-card); background: #fff; }
.bk-faq__q { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.0625rem; position: relative; }
.bk-faq__q::-webkit-details-marker { display: none; }
.bk-faq__q::after { content: "+"; position: absolute; inset-inline-end: 22px; inset-block-start: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--bk-navy-700); }
.bk-faq__item[open] .bk-faq__q::after { content: "–"; }
.bk-faq__a { padding: 0 22px 20px; color: var(--bk-ink-soft); line-height: 1.65; }
.bk-faq__a > :last-child { margin-bottom: 0; }

/* Partners */
.bk-partners { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; width: 100%; }
.bk-partners__item img { display: block; max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.bk-partners__item a:hover img, .bk-partners__item a:focus-visible img { filter: none; opacity: 1; }
.bk-partners__name { font-weight: 700; color: var(--bk-ink-soft); }

/* Official store badges */
.bk-store__badge:not(.bk-store__badge--text) { padding: 0; border: 0; background: transparent; min-height: 0; }
.bk-store__badge img { display: block; height: 52px; width: auto; }

/* Campaign results table (back-office iframe) */
.bk-scoreboard { width: 100%; overflow: auto; -webkit-overflow-scrolling: touch; border-radius: var(--bk-radius-card); background: #fff; border: 1px solid var(--bk-line); }
.bk-scoreboard iframe { width: 100%; height: 100%; border: 0; display: block; }

/* App features showcase (bk-showcase.js) */
.bk-showcase [role=tabpanel][hidden] { display: none !important; }
.bk-showcase__tab[aria-selected=true] { background: #C8F031 !important; color: #082F61; }
.bk-showcase__tab:hover { background: rgba(255,255,255,.22); }
.bk-showcase__tab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Stat units (km, kg) next to the number */
.bk-stat__value span { font-size: .5em; font-weight: 700; letter-spacing: 0; }

/* Rider quotes ([bk_testimonials]): 3 columns on desktop, swipeable row on phones */
.bk-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
.bk-quotes__item { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius-card); }
.bk-quotes figure { display: flex; flex-direction: column; gap: 20px; flex: 1; margin: 0; }
.bk-quotes blockquote { flex: 1; margin: 0; padding: 0; border: 0; }
.bk-quotes blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--bk-ink); }
.bk-quotes figcaption { display: flex; align-items: center; gap: 12px; font-style: normal; }
.bk-quotes figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.bk-quotes__who { display: flex; flex-direction: column; }
.bk-quotes__name { font-weight: 800; color: var(--bk-navy-900); }
.bk-quotes__role { font-size: .875rem; color: var(--bk-ink-soft); }
.bk-quotes__link { font-weight: 700; color: var(--bk-navy-900); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .bk-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  /* contain: inline-size stops the swipe row from widening its flex parents (and the page). */
  .bk-quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; contain: inline-size; max-width: calc(100vw - 32px); }
  .bk-quotes__item { flex: 0 0 85%; scroll-snap-align: start; }
}

/* Language menu ([bk_lang_switcher]) */
.bk-lang { position: relative; }
.bk-lang__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--bk-line); border-radius: 999px; background: transparent; color: var(--bk-navy-900); font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; }
.bk-lang__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.bk-lang__toggle[aria-expanded=true] .bk-lang__caret { transform: rotate(-135deg) translateY(-2px); }
.bk-lang__toggle:focus-visible { outline: 3px solid var(--bk-navy-900); outline-offset: 2px; }
.bk-lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--bk-line); border-radius: 12px; box-shadow: 0 16px 32px rgba(8,47,97,.12); }
.bk-lang__list[hidden] { display: none; }
.bk-lang__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--bk-ink); text-decoration: none; font-weight: 600; }
.bk-lang__list a:hover, .bk-lang__list a:focus-visible { background: var(--bk-navy-100); }
.bk-lang__list a[aria-current=true] { color: var(--bk-navy-900); background: var(--bk-surface); }
