/* Bitcoin Miskolc: component sizing fixes, 2026-10-19.
   Fit content to its own container; do not hide overflowing text. */

/* A slide's image must fit its padded cell at every carousel breakpoint. */
body.elementor-kit-4465 .bm-partners__track .swiper-slide {
  min-width: 0;
  box-sizing: border-box;
}
body.elementor-kit-4465 .bm-partners__track .swiper-slide-inner {
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
}
body.elementor-kit-4465 .bm-partners__track .swiper-slide-image {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100%;
  object-fit: contain;
}

/* Keep the program's ticket callout inside the card in landscape and on tablets. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.elementor-kit-4465 .e-con.bm-program-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 30px;
  }
  body.elementor-kit-4465 .e-con.bm-program-cta::before {
    display: none;
  }
  body.elementor-kit-4465 .bm-program-cta .bm-cta-copy {
    width: 100%;
    min-width: 0;
  }
  body.elementor-kit-4465 .bm-program-cta .bm-btn--cta {
    width: 100% !important;
    min-width: 0;
    padding-top: 24px;
    border-top: 1px dashed #ffcc9e;
  }
  body.elementor-kit-4465 .bm-program-cta .bm-btn--cta .elementor-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-bottom: calc(var(--bm-mobile-bar-height, 100px) + 16px);
  }
  body.elementor-kit-4465 {
    padding-bottom: calc(var(--bm-mobile-bar-height, 100px) + 16px);
  }
  body.elementor-kit-4465 .e-con[class*="bm-"],
  body.elementor-kit-4465 .elementor-widget[class*="bm-"] {
    min-width: 0;
  }
  body.elementor-kit-4465 .e-con.bm-hero__copy {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    padding: 28px 20px 0;
  }
  body.elementor-kit-4465 .bm-hero__copy > .elementor-widget {
    max-width: 100%;
    min-width: 0;
  }
  body.elementor-kit-4465 .bm-eyebrow .elementor-heading-title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    gap: 8px;
    line-height: 1.6;
  }
  body.elementor-kit-4465 .bm-eyebrow .elementor-heading-title i {
    flex: 0 0 8px;
  }
  body.elementor-kit-4465 .bm-hero-title .elementor-heading-title {
    font-size: clamp(38px, 12vw, 46.8px);
  }
  body.elementor-kit-4465 .bm-hero-lead p,
  body.elementor-kit-4465 .bm-hero-date .elementor-heading-title {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  body.elementor-kit-4465 .bm-btn .elementor-button,
  body.elementor-kit-4465 .bm-textlink .elementor-button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  body.elementor-kit-4465 .bm-btn .elementor-button-content-wrapper,
  body.elementor-kit-4465 .bm-textlink .elementor-button-content-wrapper {
    min-width: 0;
    max-width: 100%;
  }
  body.elementor-kit-4465 .bm-btn .elementor-button-text,
  body.elementor-kit-4465 .bm-textlink .elementor-button-text {
    min-width: 0;
    overflow-wrap: break-word;
  }
  body.elementor-kit-4465 .bm-btn .elementor-button-icon,
  body.elementor-kit-4465 .bm-textlink .elementor-button-icon {
    flex: 0 0 auto;
  }
  body.elementor-kit-4465 .bm-btn--hero {
    width: 100% !important;
  }
  body.elementor-kit-4465 .bm-btn--hero .elementor-button {
    width: 100%;
    padding: 16px;
  }
  body.elementor-kit-4465 .bm-btn--hero .elementor-button-content-wrapper {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px !important;
  }
  body.elementor-kit-4465 .e-con.bm-hero__bottom {
    flex: 0 0 auto;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px);
    min-width: 0;
    margin: 28px 16px 0 !important;
    padding: 18px 16px;
  }
  body.elementor-kit-4465 .e-con.bm-hero__meta,
  body.elementor-kit-4465 .e-con.bm-hero__cd {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }
  body.elementor-kit-4465 .bm-hmeta {
    width: 100% !important;
    max-width: 100%;
  }
  body.elementor-kit-4465 .bm-hmeta .elementor-icon-box-content {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
  }
  body.elementor-kit-4465 .bm-hmeta .elementor-icon-box-icon {
    flex: 0 0 auto;
  }
  body.elementor-kit-4465 .bm-countdown {
    width: 100% !important;
    max-width: 320px;
  }
  body.elementor-kit-4465 .bm-countdown .elementor-countdown-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 8px !important;
  }
  body.elementor-kit-4465 .bm-countdown .elementor-countdown-item {
    min-width: 0 !important;
    width: auto !important;
    padding: 10px 4px 8px !important;
  }
  body.elementor-kit-4465 .bm-countdown .elementor-countdown-digits {
    font-size: clamp(24px, 7vw, 28px) !important;
  }
  body.elementor-kit-4465 .bm-countdown .elementor-countdown-label,
  body.elementor-kit-4465 .bm-cd-cap .elementor-heading-title {
    font-size: 14px !important;
  }
  body.elementor-kit-4465 .bm-partners__head {
    width: 100% !important;
    max-width: 100%;
  }
  body.elementor-kit-4465 .bm-partners-title .elementor-heading-title {
    white-space: normal;
    overflow-wrap: break-word;
  }
  body.elementor-kit-4465 .bm-partners__track .swiper-slide {
    padding: 16px 14px;
  }
  body.elementor-kit-4465 .e-con.bm-mbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom)) 72px;
    width: 100%;
  }
  body.elementor-kit-4465 .bm-mbar__btn .elementor-button {
    min-height: 44px;
    padding: 12px 10px;
  }
  body.elementor-kit-4465 .bm-mbar__btn .elementor-button-content-wrapper {
    gap: 8px !important;
  }
  body.elementor-kit-4465 .bm-mbar__s p {
    line-height: 1.45;
    overflow-wrap: break-word;
  }
  body.elementor-kit-4465 .cky-btn-revisit-wrapper {
    left: 16px !important;
    right: auto !important;
    bottom: calc((var(--bm-mobile-bar-height, 100px) - 44px) / 2) !important;
    width: 44px;
    height: 44px;
  }
}
