/* JEN menu item 285 */
body.itemid-285 .tf-gallery-wrapper .gallery-items.grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
    align-items: flex-start !important;
}

/* každá položka = 50% šířky */
body.itemid-285 .tf-gallery-wrapper .gallery-items .item {
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    height: auto !important;
}

/* obrázek */
body.itemid-285 .tf-gallery-wrapper .gallery-items .item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

.article-full-image img[src*="bee-bot.jpg"],
.article-full-image img[src*="zdrava-strava.jpg"] {
    display: block !important;
    width: 50% !important;
    max-width: 50% !important;
    height: auto !important;
    margin: 0 auto !important;
}

#sp-top2 .sp-module {
    margin-left: 0 !important;
}

/* Zaoblení celého slideru */
.sp-slider-outer-stage,
.sp-slider-outer-stage .sp-item,
.sp-slider-outer-stage .sp-background {
    border-radius: 20px;
}

.sp-slider-outer-stage {
    overflow: hidden;
}

.sppb-addon-animated-number .sppb-addon-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
}

.sppb-addon-animated-number .sppb-animated-number {
    text-align: center !important;
}

.sppb-addon-animated-number .sppb-animated-number-title {
    width: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
}
.sppb-addon-animated-number .sppb-animated-number-title span {
    display: inline !important;
}

.sppb-addon-animated-number .sppb-animated-number-title {
    white-space: nowrap !important;
}
.sppb-addon-animated-number .sppb-animated-number-title span::before {
    content: " ";
}

/* ACF Gallery - zaoblení obrázků */
.tf-gallery-wrapper img,
.tf-gallery-wrapper a,
.tf-gallery-wrapper figure {
    border-radius: 20px !important;
    overflow: hidden;
}

/* Pokud chceš zaoblit i celý blok galerie */
.tf-gallery-wrapper {
    border-radius: 20px;
}
.sp-page-title {
    padding: 80px 0px 40px 0px !important;
}