sponza-buddypress-main,
.sponza-buddypress-main #buddypress {
    position: relative !important;
    z-index: 5 !important;
}

/* SPONZA – BuddyPress navigace jen barevně */

#buddypress.buddypress-wrap .bp-navs a {
    color: #10203a !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

#buddypress.buddypress-wrap .bp-navs a:hover {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current > a,
#buddypress.buddypress-wrap .bp-navs li.selected > a,
#buddypress.buddypress-wrap .bp-navs li.current > a span,
#buddypress.buddypress-wrap .bp-navs li.selected > a span {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current > a::after,
#buddypress.buddypress-wrap .bp-navs li.selected > a::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: #e67655;
}

/* SPONZA – skrýt nefunkční Pozvánky / Invites */

#buddypress #pozvanky-personal-li,
#buddypress #pozvánky-personal-li,
#buddypress #invites-personal-li,
#buddypress #invitations-personal-li,
#buddypress li[id*="pozv"],
#buddypress li[id*="invite"],
#buddypress li a[href*="/pozv"],
#buddypress li a[href*="/invites/"] {
    display: none !important;
}
/* SPONZA – BuddyPress základ */

.sponza-buddypress-main {
    width: min(1320px, calc(100vw - 64px));
    margin: 48px auto 90px;
    color: #10203a;
}

.sponza-buddypress-main #buddypress {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* navigace jen barevně */

#buddypress.buddypress-wrap .bp-navs a {
    color: #10203a !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

#buddypress.buddypress-wrap .bp-navs a:hover {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current > a,
#buddypress.buddypress-wrap .bp-navs li.selected > a {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current > a::after,
#buddypress.buddypress-wrap .bp-navs li.selected > a::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: #e67655;
}

/* obsahové boxy */

#buddypress .activity-update-form,
#buddypress .bp-list,
#buddypress .bp-feedback,
#buddypress .profile,
#buddypress .groups {
    border-radius: 24px !important;
    background: #fffaf6 !important;
    box-shadow: 0 8px 22px rgba(27,38,59,.06) !important;
}

/* formuláře */

#buddypress input,
#buddypress textarea,
#buddypress select {
    border-radius: 14px !important;
    border: 1px solid rgba(27,38,59,.12) !important;
}

/* běžná tlačítka */

#buddypress input[type="submit"],
#buddypress button,
#buddypress .button {
    border-radius: 999px !important;
    background: #10203a !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 800 !important;
}

#buddypress input[type="submit"]:hover,
#buddypress button:hover,
#buddypress .button:hover {
    background: #e67655 !important;
}
/* SPONZA – BuddyPress navigace jen barevně */

.sponza-buddypress-main,
.sponza-buddypress-main #buddypress {
    position: relative !important;
    z-index: 5 !important;
}

#buddypress.buddypress-wrap .bp-navs a {
    color: #10203a !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

#buddypress.buddypress-wrap .bp-navs a:hover {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current a,
#buddypress.buddypress-wrap .bp-navs li.selected a {
    color: #e67655 !important;
}

#buddypress.buddypress-wrap .bp-navs li.current a::after,
#buddypress.buddypress-wrap .bp-navs li.selected a::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: #e67655;
}
#buddypress #bpfb_add_remote_image,
#buddypress #bpfb_cancel_action {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    background: #10203a !important;
    color: #fff !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

#buddypress #bpfb_add_remote_image:hover,
#buddypress #bpfb_cancel_action:hover {
    background: #e67655 !important;
    color: #fff !important;
}
/* SPONZA – spodní profilové tlačítko */

.spz-profile-bottom-btn-wrap {
    margin: 34px 0 0 !important;
}

.spz-profile-bottom-btn-wrap a,
.spz-profile-bottom-btn-wrap .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: #10203a !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.spz-profile-bottom-btn-wrap a:hover,
.spz-profile-bottom-btn-wrap .button:hover {
    background: #e67655 !important;
    color: #fff !important;
}
#buddypress #bpfb_link_preview_url {
    width: 100% !important;
    min-height: 44px !important;
    border: 1px solid rgba(27,38,59,.14) !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    background: #fff !important;
    color: #10203a !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

#buddypress #bpfb_link_preview_url:focus {
    border-color: #e67655 !important;
    outline: none !important;
}
#buddypress #bpfb_link_url_preview {
    width: 100% !important;
    min-height: 44px !important;
    border: 1px solid rgba(27,38,59,.14) !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    background: #fff !important;
    color: #10203a !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

#buddypress #bpfb_link_url_preview:focus {
    border-color: #e67655 !important;
    outline: none !important;
}
#buddypress #bpfb_link_url_preview {
    width: 100% !important;
    min-height: 44px !important;
    border: 1px solid rgba(27,38,59,.14) !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
    background: #fff !important;
    color: #10203a !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}
#buddypress.buddypress-wrap .bp-navs a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}
/* BuddyPress Docs – jemně, bez rozbití tabulky */

#buddypress .docs-filter-title {
    color: #10203a !important;
    font-weight: 900 !important;
    margin-bottom: 14px !important;
}

#buddypress table.doctable {
    width: 100% !important;
    background: transparent !important;
}

#buddypress table.doctable th {
    color: #10203a !important;
    font-weight: 900 !important;
}

#buddypress table.doctable td {
    color: #10203a !important;
}

#buddypress table.doctable a {
    color: #10203a !important;
    font-weight: 800 !important;
}

#buddypress table.doctable a:hover {
    color: #e67655 !important;
}
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items > li > a,
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items > li > a {
    color: #10203a !important;
}

#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items > li > a:hover,
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items > li > a:hover {
    color: #e67655 !important;
}
/* BuddyPress – groups list srovnání */

#groups-list.item-list.groups-list.bp-list {
    display: grid !important;
    gap: 28px !important;
}

#groups-list.item-list.groups-list.bp-list li {
    display: grid !important;
    grid-template-columns: 260px 1fr auto !important;
    align-items: center !important;
    gap: 34px !important;

    padding: 28px !important;
    border-radius: 34px !important;
    background: #fffaf6 !important;
    box-shadow: 0 10px 28px rgba(27,38,59,.05) !important;
}

/* levá část */

#groups-list .item {
    width: 100% !important;
}

/* avatar */

#groups-list .item-avatar img {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 28px !important;
}

/* tlačítka */

#groups-list .action .button,
#groups-list .group-button .button {
    border-radius: 999px !important;
    background: #10203a !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
}

#groups-list .action .button:hover,
#groups-list .group-button .button:hover {
    background: #e67655 !important;
}

/* mobil */

@media (max-width: 900px) {

    #groups-list.item-list.groups-list.bp-list li {
        grid-template-columns: 1fr !important;
        text-align: left !important;
    }

    #groups-list .item-avatar img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
    }
}
/* BuddyPress Activity Plus – video URL náhled */

#buddypress .bpfb_controls_container {
    margin-top: 12px !important;
}

#buddypress #bpfb_video_url_preview {
    width: min(420px, 100%) !important;
    height: 42px !important;
    border: 1px solid rgba(27,38,59,.14) !important;
    border-radius: 999px !important;
    padding: 0 16px !important;
    background: #fff !important;
    color: #10203a !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

#buddypress #bpfb_video_url_preview:focus {
    border-color: #e67655 !important;
    outline: none !important;
}

#buddypress #bpfb_video_url_preview::placeholder {
    color: rgba(16,32,58,.55) !important;
}

#buddypress #bpfb_video_url_preview + input[type="button"],
#buddypress .bpfb_controls_container input[value="Náhled"] {
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(27,38,59,.12) !important;
    background: #fffaf6 !important;
    color: #10203a !important;
    padding: 0 18px !important;
    font-weight: 800 !important;
}
/* BP Docs – srovnání šířky stránky */

body.single-bp_doc .wp-site-blocks,
body.post-type-archive-bp_doc .wp-site-blocks,
body.bp-docs .wp-site-blocks {
    overflow-x: hidden !important;
}

body.single-bp_doc article.bp_doc,
body.post-type-archive-bp_doc article.bp_doc,
body.bp-docs article.bp_doc,
body .wp-block-post.type-bp_doc {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    margin: 48px auto 90px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
}

body .wp-block-post.type-bp_doc #buddypress,
body .wp-block-post.type-bp_doc .doc-content,
body .wp-block-post.type-bp_doc .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* BP Docs Create – stránka přes page-docs-create.html */

.spz-docs-create-page {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    margin: 48px auto 90px !important;
    box-sizing: border-box !important;
}

.spz-docs-create-page #buddypress,
.spz-docs-create-page .buddypress-wrap,
.spz-docs-create-page .doc-content,
.spz-docs-create-page .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

/* Docs Create layout */

body.page-id-53 .spz-docs-create-page {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    margin: 48px auto 90px !important;
    padding: 34px !important;
    background: #fffaf6 !important;
    border-radius: 34px !important;
    box-shadow: 0 14px 36px rgba(16, 32, 58, .08) !important;
    box-sizing: border-box !important;
}

body.page-id-53 #buddypress,
body.page-id-53 .buddypress-wrap {
    width: 100% !important;
    max-width: 100% !important;
}
/* SPONZA – /docs/create/ bez archivních prvků */

body.page-id-53 .spz-shortcode-menu,
body.page-id-53 .spz-archive-tags,
body.page-id-53 .spz-archive-title,
body.page-id-53 h1.wp-block-post-title,
body.page-id-53 .wp-block-search,
body.page-id-53 .spz-archive-search,
body.page-id-53 .spz-archive-tools {
    display: none !important;
}
body.page-id-53 .spz-archive-only {
    display: none !important;
}
.spz-docs-create-page {
    width: min(1180px, calc(100vw - 48px));
    margin: 48px auto 90px;
    padding: 34px;
    background: #fffaf6;
    border-radius: 34px;
    box-sizing: border-box;
}
/* SPONZA – BuddyPress Docs create */

body.bp-nouveau .spz-docs-create-page {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    margin: 48px auto 90px !important;
    padding: 34px !important;
    background: #fffaf6 !important;
    border-radius: 34px !important;
    box-sizing: border-box !important;
}

body.bp-nouveau .spz-docs-create-page #buddypress,
body.bp-nouveau .spz-docs-create-page .buddypress-wrap {
    max-width: 100% !important;
    width: 100% !important;
}
/* SPONZA – BuddyPress Docs tlačítka větší a vytvořit dokument na střed */

body.bp-nouveau #buddypress input[type="submit"],
body.bp-nouveau #buddypress button,
body.bp-nouveau #buddypress .button,
body.bp-nouveau #buddypress a.button {
    min-height: 52px !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

body.bp-nouveau #buddypress .docs-info-header,
body.bp-nouveau #buddypress .doc-permissions,
body.bp-nouveau #buddypress .submit-wrapper,
body.bp-nouveau #buddypress .bp-docs-submit-wrapper,
body.bp-nouveau #buddypress p.submit {
    text-align: center !important;
}

body.bp-nouveau #buddypress input[value="Vytvořit dokument"],
body.bp-nouveau #buddypress input[value="Create Doc"],
body.bp-nouveau #buddypress button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 240px !important;
}
/* SPONZA – BuddyPress Docs Create ladění */

body.bp-nouveau .spz-page-title.wp-block-post-title,
body.bp-nouveau .bp-docs h1,
body.bp-nouveau #buddypress h1 {
    text-align: center !important;
    margin: 14px auto 28px !important;
    font-size: clamp(32px, 4vw, 54px) !important;
    line-height: 1.08 !important;
}

body.bp-nouveau #buddypress .bp-docs-main-navs,
body.bp-nouveau #buddypress .main-navs,
body.bp-nouveau #buddypress .bp-navs,
body.bp-nouveau #buddypress .dir-navs {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
    margin: 8px auto 36px !important;
}

body.bp-nouveau #buddypress .bp-docs-main-navs a,
body.bp-nouveau #buddypress .main-navs a,
body.bp-nouveau #buddypress .bp-navs a,
body.bp-nouveau #buddypress .dir-navs a {
    font-size: 20px !important;
    padding: 12px 18px !important;
}

body.bp-nouveau #buddypress .quicktags-toolbar input,
body.bp-nouveau #buddypress .wp-editor-tabs button,
body.bp-nouveau #buddypress .wp-switch-editor,
body.bp-nouveau #buddypress input[type="submit"],
body.bp-nouveau #buddypress .button {
    min-height: 46px !important;
    padding: 11px 18px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

/* SPONZA – Docs Create finální zarovnání */

/* SPONZA – Docs create: hlavní titulek na střed */

body .wp-site-blocks > .spz-page-title.wp-block-post-title,
body .wp-site-blocks h1.spz-page-title.wp-block-post-title {
    display: block !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 34px auto 34px !important;
    padding: 0 24px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    font-size: clamp(36px, 4vw, 62px) !important;
    line-height: 1.08 !important;
}
body .wp-site-blocks .spz-docs-create-page {
    width: min(1280px, calc(100vw - 80px)) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
