/* Keep the label inside the existing toggle and inherit its visibility. */
.breakdance .breakdance-menu-toggle {
    width: auto;
    gap: 10px;
    align-items: center;
}

.breakdance .breakdance-menu-toggle::before {
    content: "MENU";
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
}


/* Keep the hero's round controls; size the chevrons independently. */
.breakdance .bde-advancedslider-6-101 :is(.swiper-button-prev, .swiper-button-next) {
    align-items: center;
    justify-content: center;
}

.breakdance .bde-advancedslider-6-101 .swiper-navigation-icon {
    width: 11px;
    height: 20px;
    flex: 0 0 auto;
    display: block;
}


/* Full guide title must remain readable in the existing Breakdance menu. */
.breakdance .smaki-guide-menu .breakdance-dropdown-link {
    white-space: normal;
    text-align: left;
    overflow-wrap: anywhere;
}

@media (min-width: 1120px) {
    .breakdance .smaki-guide-menu .breakdance-dropdown-floater {
        width: 380px;
        max-width: calc(100vw - 40px);
    }
}

.lgdwr-guide {
    max-width: 960px;
    margin-inline: auto;
    line-height: 1.75;
}

.lgdwr-guide > * + * {
    margin-top: 24px;
}

.lgdwr-guide h2 {
    margin-top: 40px;
    line-height: 1.3;
}

.lgdwr-guide > h2:first-child { margin-top: 0; }
.lgdwr-guide .wp-block-image img { max-width: 100%; height: auto; }
.lgdwr-guide > .wp-block-image { margin-block: 40px; }
.lgdwr-guide .wp-block-list { padding-left: 1.5em; }
.lgdwr-guide .wp-block-list li + li { margin-top: 10px; }

.lgdwr-guide .lgdwr-guide-download {
    gap: 40px;
    align-items: center;
    margin-block: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0e5d9;
}

.lgdwr-guide-download h2 { margin-top: 0; }
.lgdwr-guide-download .wp-block-image { margin: 0; }
.lgdwr-guide-download .wp-block-image img { border: 1px solid #e0e5d9; }
.lgdwr-guide-download .wp-block-file {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
    margin-block: 24px 16px;
    font-size: inherit;
}
.lgdwr-guide-download .wp-block-file__button {
    background: #346417;
    color: #fff;
    padding: 14px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    margin-left: 0;
}
.lgdwr-guide-download .wp-block-file__button:hover { background: #254c10; color: #fff; }
.lgdwr-guide-download a:focus-visible { outline: 3px solid #346417; outline-offset: 4px; }

@media (max-width: 781px) {
    .breakdance.lgdwr-guide-page .bde-div:has(> h1) { padding-left: 0; }
    .lgdwr-guide .lgdwr-guide-download { gap: 24px; }
    .lgdwr-guide-download .wp-block-image { max-width: 220px; margin-inline: auto; }
    .lgdwr-guide-download .wp-block-file__button { width: 100%; text-align: center; }
}

/* Older Swiper on production uses a font icon; newer Swiper uses SVG. */
.breakdance .bde-advancedslider-6-101 :is(.swiper-button-prev, .swiper-button-next)::after {
    font-size: 20px;
    line-height: 20px;
    width: 11px;
    height: 20px;
    flex: 0 0 auto;
}
