/* POJEDYNCZA AKTUALNOŚĆ */
div.bs-meta.bs-meta-category {
    gap: 8px;
}
@media(max-width:921px) {

    aside#secondary-right {
        width: 100%;
    }
}

@media(min-width:922px) {
    aside#secondary-right {
        width: calc(33%);
    }
}

@media(min-width:1800px) {
    aside#secondary-right {
        width: calc(25%);
    }
}

@media only screen and (max-width: 976px) {
    aside#secondary-right .uagb-block-c3db97f0.wp-block-uagb-post-grid.is-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

aside#secondary-right .entry-meta {
    display: flex;
    flex-direction: column;

}

.entry-meta {
    color: var(--ast-global-color-0);
}

.single-post div#primary {
    margin-top: 0px;
    padding-right: 0px;
    margin-right: 8%;
    width: 100%;
}

div.bs-meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}

.bs-meta>span:first-child {
    font-weight: 700;
    margin-bottom: 8px;
}

.bs-meta-category a {
    border-radius: 4px;
    border: 1px solid var(--ast-global-color-2);
    padding: 2px 8px;
    color: var(--ast-global-color-2);
    ;
}


#secondary-right article.uagb-post__inner-wrap {
    background: transparent;
    border-bottom: 1px solid var(--ast-global-color-0);
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
}

#secondary-right article.uagb-post__inner-wrap:last-child {

    border: none;

}

#secondary-right {
    margin-bottom: 80px;
}

#secondary-right h3.bs-text-separator {
    padding-bottom: 0px;
}

#secondary-right p.uagb-post__title.uagb-post__text {
    order: 2;
}

#secondary-right .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link:hover {
    color: var(--ast-global-color-5) !important;
}

#secondary-right .uagb-post__text.uagb-post-grid-byline {
    order: 1;
}

#secondary-right .uagb-post__text.uagb-post-grid-byline {
    display: flex;
    flex-direction: row;
    padding-bottom: 8px;
}

#secondary-right .uagb-post-grid .uagb-post__date:not(:last-child)::after {
    content: " ";
    border-left: 1px solid var(--ast-global-color-0);
    margin: 0px 16px;
}

#secondary-right .uagb-post-grid .uagb-post-grid-byline>* {
    margin: 0px;
    color: var(--ast-global-color-4);
}

.bs-meta:last-child {
    margin-bottom: 14px;
}

#secondary-right .widget {
    margin-bottom: 32px;
}

#secondary-right .uagb-post-grid .uagb-post__title a {
    font-weight: 700;
}

#secondary-right div#bs-social-share {
    justify-content: flex-start;
}

#secondary-right article.uagb-post__inner-wrap {
    padding-top: 0px;
    padding-bottom: 0px;
}

#secondary-right .entry-meta {
    border-radius: 0px 24px 0px 0px;
    border-top: 8px solid var(--ast-global-color-0);
    border-right: 8px solid var(--ast-global-color-0);
    padding-top: 32px;
    padding-right: 32px;
}

.wp-block-uagb-social-share.uagb-social-share__outer-wrap.bs-social-share {
    border-right: 8px solid var(--ast-global-color-0);
    justify-content: flex-start;
    padding-right: 32px;
}

.wp-block-uagb-social-share.uagb-social-share__outer-wrap.uagb-social-share__layout-horizontal.bs-social-share {

    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 16px;
    column-gap: 12px;
}

.uagb-social-share__layout-horizontal .uagb-ss__wrapper {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.bs-thumbnail {
    margin-bottom: 32px;
}

.ast-right-sidebar #primary {
    border-right: none;
}


.bs-meta-category a:hover {
    border: 1px solid var(--ast-global-color-2);
    color: var(--ast-global-color-5);
    background: var(--ast-global-color-2);
}


/* AKTUALNOSCI ARCHIWUM */

.astra-advanced-hook-673 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid red;
}

.astra-advanced-hook-673 > div {
    width: calc(33.33% - 10px);
    text-align: center;
    margin: 0 5px;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container {
    padding-left: 0px;
    padding-bottom: 16px;
    padding-top: 16px;
}

.ast-archive-entry-banner {
    background: none;
}

span.posted-on {
    background: var(--ast-global-color-5);
    margin-right: -10px;
    position: relative;
}

span.posted-on:after {
    content: " | ";
    color: var(--ast-global-color-0);
    padding-left: 16px;
    padding-right: 16px;
}

.entry-meta span,
.entry-meta a {
    color: var(--ast-global-color-4);
    font-size: 0.875rem;
}


h2.entry-title {
    margin-top: 0.5em;
}

.entry-meta {
    order: 1;
}

header.entry-header {
    flex-direction: column;
}

article header.entry-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
}

.post-content.ast-grid-common-col {
    display: flex;
    flex-direction: column;
}

article .post-thumb img.attachment-large.size-large.wp-post-image {

    object-fit: cover;

}

.ast-archive-entry-banner[data-post-type="post"] .ast-container {
    width: auto;
}

.blog.ast-plain-container .ast-grid-3>.site-main>.ast-row,
.archive.ast-plain-container .ast-grid-3>.site-main>.ast-row,
.archive.ast-plain-container .ast-grid-3>.site-main>.ast-row,
.archive.ast-plain-container .ast-grid-3>.site-main>.ast-row {
    margin-left: 0px;
    margin-right: 0px;
    column-gap: 24px;
    row-gap: 40px;
    margin-top: 32px;
}

.blog .ast-grid-common-col,
.archive .ast-grid-common-col {
    padding: 0px;
}

.blog .entry-title a,
.archive .entry-title a {
    font-weight: 700;
}

@media(max-width:768px) {
    article .post-thumb img.attachment-large.size-large.wp-post-image {
        max-height: 30vh;
        width: 100%;
    }

    .blog.ast-plain-container .ast-grid-3>.site-main>.ast-row,
    .archive.ast-plain-container .ast-grid-3>.site-main>.ast-row,
    .archive.ast-plain-container .ast-grid-3>.site-main>.ast-row,
    .archive.ast-plain-container .ast-grid-3>.site-main>.ast-row {
        margin-top: 16px;
    }

    .ast-plain-container .ast-grid-3 .ast-article-post {
        margin-bottom: 40px;
    }

    .entry-header h2.entry-title {
        margin-top: 8px;
    }
}

@media(min-width:768px)and (max-width:921px) {
    .ast-blog-featured-section.post-thumb.ast-grid-common-col.ast-float {
        overflow: hidden;
        width: 60vw;
    }

    article .post-thumb img.attachment-large.size-large.wp-post-image {
        height: 30vw;
        width: 60vw;
    }

    .ast-plain-container .ast-grid-3 .ast-article-post {
        margin-bottom: 40px;
    }

    .entry-header h2.entry-title {
        margin-top: 8px;
    }
}

@media(min-width:922px) {

    .blog .ast-width-md-4,
    .archive .ast-width-md-4 {
        width: calc(33% - 24px)
    }

    article .post-thumb img.attachment-large.size-large.wp-post-image {
        height: 13vw;
        width: 25vw;
    }
}

p.read-more {
    display: none;
}

/* bez zdjęć  */
article .ast-post-format- {
    border: 1px solid var(--ast-global-color-0);
}
@media(max-width:921px){
article .ast-post-format- {
    padding: 16px;
}

}
@media(min-width:922px){
article .ast-post-format- {
    padding: 24px;
}

}

/* ze zdjeciami
header.entry-header {
    order: 2;
}

article .ast-post-format- {
    border-bottom: 0px;
}

.ast-blog-featured-section.post-thumb.ast-grid-common-col.ast-float {
    order: 1;
}

.entry-content.clear {
    order: 3;
}

.ast-blog-featured-section.post-thumb.ast-grid-common-col.ast-float {
    border-top: 4px solid var(--ast-global-color-0);
}

article .ast-post-format- {
    padding-bottom: 0px;
}

article.post {
    margin-bottom: 0px;
}
 */
/*aktualnosci filtry */
.wp-block-group.bs-news-filters {
    gap: 0px;
}

.wp-block-group.bs-news-filters p {
    margin-right: 16px;
}

.wp-block-group.bs-news-filters {
    gap: 0px;
    margin-bottom: 32px;
}

.wp-block-group.bs-news-filters p {
    margin-right: 16px;
}

.wp-block-group.bs-news-filters .iksm-term--current>.iksm-term__inner {
    background: none;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.wp-block-group.bs-news-filters .iksm-terms .iksm-term__inner:hover {
    background: none;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.wp-block-group.bs-news-filters .iksm-terms div {
    display: flex;
    flex-direction: row;
}


div#primary .wp-block-group.bs-news-filters {
    flex-wrap: wrap;
}


.wp-block-group.bs-news-filters .iksm-container {
    border-bottom: 1px solid #B2B2B2;
}

.wp-block-group.bs-news-filters:nth-child(2) a {
    padding-left: 0px;
}

.wp-block-group.bs-news-filters div:nth-child(2) a {
    padding-left: 0px!important;
}

.wp-block-group.bs-news-filters div:nth-child(2) {
    margin-left: 15px;
}

/* BŁĄD 404 */

figure {
    font-size: 0.5rem;
}

.button-404 a.wp-block-button__link.has-ast-global-color-2-color.has-ast-global-color-0-background-color.has-text-color.has-background.has-border-color.has-ast-global-color-2-border-color.wp-element-button:hover {
        background-color: transparent !important;
    }

.button-404 a.wp-block-button__link.has-ast-global-color-5-background-color.has-background.has-border-color.has-ast-global-color-2-border-color.wp-element-button:hover {
    color: var(--ast-global-color-2) !important;
    background-color: var(--ast-global-color-0) !important;
}


/* ARCHIWUM */

.post-type-archive h2.entry-title.ast-blog-single-element{
    order: 2;
}

.post-type-archive  .ast-blog-featured-section.post-thumb.ast-blog-single-element {
    order: 1;
}

.post-type-archive  .ast-excerpt-container.ast-blog-single-element {
    order: 3;
}

.post-type-archive  p.ast-blog-single-element.ast-read-more-container.read-more {
    order: 4;
}