/*
 * Theme Name:  Authentic Child
 * Theme URI:   https://codesupply.co/themes/authentic/
 * Description: Authentic Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    authentic
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

/*
    Tiny bit of Bootstrap and core classes
    ==========================
*/

.font-weight-bold {
    font-weight: 700 !important;
}

.text-center {
    text-align: center !important;
}

.list-inline, .list-unstyled {
    padding-left: 0;
    list-style: none !important;
}

.list-inline-item {
    display: inline-block  !important;
}

.btn {
    display: inline-block;
    font-weight: 700;
    color: #525465;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: .5rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}
.btn-secondary {
    background-color: #f73d87;
    border-color: #f73d87;
    border-radius: 8px;
    color: #fff;
    text-shadow: 0 0 2px #430243
}

.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover {
    background-color: #e21869;
    border-color: #e21869;
    color: #fff;
}

.btn-secondary.focus,.btn-secondary:focus {
    box-shadow: 0 0 0 .2rem rgba(248,90,153,.5)
}

.pico {
    line-height: 0.8rem;
    font-style: normal;
    margin-right: 5px;
    font-variant: normal;
    text-rendering: auto
}

.pico,.pico svg {
    display: inline-block
}

.pico svg {
    vertical-align: top;
    width: 1em;
    height: 1em;
    fill: currentColor
}

/*
    Home page
    ==========================
*/

.site-content {
    margin-top: 1.1rem !important;
    margin-bottom: 1.1rem !important;
}

.header .logo-image {
    width: 268px;
}

.header .site-description {
    margin-top: 0;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: #000 !important;
}

.page-header-simple {
    margin-bottom: 22px;
}


/* Post grid, HP & Archive*/

.post-grid .post-inner + .post-inner {
    margin-top: 14px;
}

.archive-grid {
    article {
        margin-top: 0 !important;
        margin-bottom: 37px;

        .post-excerpt {
            font-size: 16px !important;
        }
    }
}

@media (min-width: 760px) {
    .archive-grid {
        display: flex;
        row-gap: 21px;
        flex-wrap: wrap;
        margin-right: -20px;
        margin-left: -20px;

        article {
            margin-bottom: 0;
        }
    }
}


.archive-grid h2, .archive-masonry h2, .archive-list h2 {
    font-weight: 700;
}

.post-grid .post-inner .post-excerpt {
    margin-top: 10px !important;
    line-height: 1.5;
    color: #525465;
}

.post-grid .post-inner .entry-title {
    margin-top: 4px !important;
}

.post-grid .post-inner .post-categories a {
    font-size: 12px;
    pointer-events: none;
}

.page-header .taxonomy-description {
    line-height: 20px;
    margin-top: 13px !important;
}


/* slider HP */
.cs-block-slider-boxed {
    padding: 0 !important;
}

.cs-block-slider-boxed .owl-dots {
    bottom: 1rem;
}

/* latest posts HP */
.home .cs-block-archive-posts .post-share {
    display: none;
}
.home .cs-block-slider-container {
    h2.entry-title a {
        text-shadow: 0 0 18px rgba(0, 0, 0, 1);
    }
    .wp-block-button__link.button-effect {
        -webkit-box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.6);
        -moz-box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.6);
        box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.6);
    }
}

.cs-breadcrumbs {
    font-size: 13px;
    margin-bottom: 13px !important;
}

.main-content .entry-content .cnvs-block-section,
.main-content .entry-summary .cnvs-block-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 760px) {
    .main-content .entry-content .cnvs-block-section,
    .main-content .entry-summary .cnvs-block-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

.main-content .entry-content .cnvs-block-section:last-child,
.main-content .entry-summary .cnvs-block-section:last-child {
    margin-bottom: 2rem;
}

.page-header-simple + .post-archive {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/*
    Main menu i menu mobilne: "off-canvas"
    ==========================
*/

.widget_nav_menu .sub-menu {
    display: block !important;
}

.widget_nav_menu .menu-item-has-children > span {
    display: none !important;
}

.widget_nav_menu a {
    padding-bottom: 0.9rem !important;
}

.widget_nav_menu .menu > li > a {
    font-weight: bold !important;
}

.widget_nav_menu .sub-menu a {
    padding: 0.55rem 0 !important;
    font-weight: 400 !important;
}

.pk-icon-facebook:before {
    color: #1877F2;
}

.offcanvas-sidebar .widget {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
.nav.navbar-nav > .menu-item:last-child > a ,
.widget_nav_menu .menu > .menu-item:last-child > a {
    color: #891894 !important;
}

.navbar-nav .sub-menu a:hover, .navbar-nav .sub-menu a:focus {
    padding: 0.5rem !important;
}

.header-col.header-col-right {
    line-height: 1rem;
    .cs-icon {
        font-size: 20px;
        vertical-align: bottom;
        > svg, &::before {
            margin-right: 5px;
        }
    }

    > div > a:first-of-type {
        margin-right: 10px;
    }

}

@media (max-width: 1119.98px) {
    .navbar-primary .navbar {
        height: 60px !important;
        line-height: 1rem;

        .site-description {
            text-align: center;
            color: #000;
        }
    }
}

@media (min-width: 1120px) {
    .header-enabled .navbar-primary:not(.sticky-nav) .navbar-search {
        display: none;
    }

    .navbar-primary.navbar-center .navbar {
        > .navbar-col:first-child,
        > .navbar-col:last-child {
            display: none;
        }

        .navbar-col > div {
            width: 100%;
        }

        .navbar-nav {
            justify-content: space-between;
        }
    }
}


/*
    Footer
    ==========================
*/

.footer-above-footer {
    background: #fafafa;
    padding-top: 1rem;
    padding-bottom: 1rem;

    @media (min-width: 1020px) {
        .cs-container {
            display: flex;
            justify-content: space-around;
            gap: 50px;

            .footer-above-widget {
                flex: 0 0 420px;
            }
        }
    }

    @media (max-width: 1119.98px) {
        .cs-container {
            .footer-above-widget {
                margin-bottom: 36px;
            }
        }
    }

}

.footer-below-footer {
    .m-t-30 {
        margin-top: 30px !important;
    }
    .m-t-40 {
        margin-top: 40px !important;
    }
    .m-t-65 {
        margin-top: 65px !important;
    }
    .m-b-15 {
        margin-bottom: 15px !important;
    }


    footer {
        color: #fff;
        font-size: 14px;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.69;
        letter-spacing: normal;
        text-align: center;
        margin-top: 20px
    }

    footer .footer-partners-list {
        margin: 0
    }

    footer .description {
        font-size: 13px;
    }

    footer .list-inline-item:not(:last-child) {
        margin-right: 30px
    }

    footer .list-inline-item img {
        margin-right: 5px;
        vertical-align: middle;
    }

    footer .small-towns-list .list-inline-item:not(:last-child) {
        margin-right: 5px
    }

    footer .recommended-list-operational {
        margin-bottom: 0;
    }

    footer .recommended-list-operational li a {
        min-width: auto
    }

    @media (min-width: 768px) {
        footer .recommended-list-operational {
            display:flex;
            align-items: center;
            justify-content: center
        }

        footer .recommended-list-operational li:not(:last-child) {
            margin-right: 30px
        }
    }

    @media (max-width: 767.98px) {
        footer .recommended-list-operational {
            display:grid;
            grid-template-columns: repeat(3,1fr);
            row-gap: 30px;
            -moz-column-gap: 10px;
            column-gap: 10px
        }

        footer .recommended-list-operational li {
            text-align: left
        }
    }

    @media (max-width: 575.98px) {
        footer .recommended-list-operational {
            grid-template-columns:1fr
        }

        footer .recommended-list-operational li {
            text-align: center
        }
    }
}

/*
    Post Page
    ==========================
*/

article.post .pk-pin-it.pk-pin-it-visible {
    display: none;
}

.post-main {
    a {
        color: #f73d87 !important;
    }
}

.post.type-post {
    .post-media figure a {
        pointer-events: none;
    }

    .post-tags {
        h5 {
            margin-bottom: 25px;
        }
        ul li {
            margin-left: 0;
        }
        ul li a {
            padding-left: 0;
        }

        a {
            color: #f73d87;
            &:hover {
                color: #f73d87;
                background-color: unset;
                text-decoration: underline;
            }
        }
    }
}

.main-content .entry-content > * {
    margin-top: 22px;
    margin-bottom: 22px;
}

.entry-content blockquote, .wp-block-quote, .wp-block-pullquote p {
    font-size: 1.2rem !important;
}

section.section-share {
    display: none;
}

.post-wrap .post-sidebar {
    display: none !important;
}

@media (min-width: 1240px) {
    .post-sidebar-enabled.layout-fullwidth .post-wrap {
        max-width: 840px;
    }

    .post-sidebar-enabled .post-wrap .post-main {
        padding-right: 20px;
        padding-left: 20px;
        flex: 0 0 840px;
        max-width: 840px;
        min-width: 0;
    }
}

.post .page-header.page-header-simple {
    text-align: left;
    max-width: 800px;
    padding-bottom: 20px;
    margin: auto;

    .post-categories {
        display: none;
    }
}

article.post section.post-media {
    margin: 1.8rem auto;
    max-width: 800px;

    figcaption {
        display: none;
    }
}

.page-header .post-meta {
    text-transform: capitalize;
    .author a{
        color: #f73d87;
    }
}

.section-related-posts .cnvs-block-section-heading {
    margin-bottom: 25px;
}


/*
    Category Page
    ==========================
*/

.archive {
    .post-outer .post-share {
        display: none;
    }
    .page-header {
        text-align: left;
    }

    .post-archive .alert {
        font-weight: 700;
        padding-bottom: 2rem;
    }
}


.subcategories-in-category {
    list-style: none;
    padding: 0;

    li {
        display: inline-block;
        padding: 2px 10px;
        margin: 0 10px 8px 0;
        border: 1px solid #F73D87;
        border-radius: 10px;
        font-weight: 700;
    }
}


/*
    Special box for categories on Home Page
    ==========================
*/
.pomocni-categories-hp {

    .pk-featured-categories-vertical-list {
        background-image: url('images/hp-btn-bg.jpg');
        background-size: cover;
        background-position: center;
        --pk-featured-overlay-background: none;
    }

    .pk-featured-categories-vertical-list .pk-featured-item {
        position: relative;
        background: rgba(255, 255, 255, 0.65);
        padding-bottom: 12px;
        margin-top: 0;
        font-weight: 700;
        line-height: 1;
    }

    .pk-featured-categories-vertical-list .pk-featured-item .pk-featured-count {
        display: none;
    }

    .pk-featured-categories-vertical-list .pk-featured-item .pk-featured-name {
        font-size: 1rem;
        color: #000 !important;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .pk-featured-categories-vertical-list .pk-featured-item .pk-featured-name:before {
        content: "";
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        margin-top: 2px;
        background-color: #F73D87;
        -webkit-mask: url("images/check.svg") center / contain no-repeat;
        mask: url("images/check.svg") center / contain no-repeat;
    }


    .pk-featured-categories-vertical-list .pk-featured-item .pk-featured-name:after {
        content: "";
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
        margin-left: auto;
        margin-top: 2px;
        background-color: #000;
        -webkit-mask: url("images/arrow-right.svg") center / contain no-repeat;
        mask: url("images/arrow-right.svg") center / contain no-repeat;
    }

    .pk-featured-categories-vertical-list .pk-featured-item:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 12px;
        background: white;
    }
}

/*
    Author Page
    ==========================
*/
.archive.author {
    .page-header {
        text-align: center;

        h1 {
            margin-top: 21px;
        }
        .sub-title {
            display: none;
        }
    }
    /* Author Avatar Styles */
    .author-avatar-wrapper {
    }

    .author-avatar-wrapper img {
        border-radius: 50%;
    }
}

/*
    Related Posts (Custom Grid)
    ==========================
*/
.section-related-posts-custom {
    margin: 40px 0;

    .related-posts-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
        margin-top: 20px;
    }

    .related-post-link {
        display: flex;
        align-items: flex-start;
        text-decoration: none;

        &:hover h3 {
            color: #A0A0A0;;
        }
    }

    .related-post-thumbnail {
        flex-shrink: 0;
        width: 92px;
        height: 92px;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .related-post-content {
        margin-left: 10px;
        flex: 1;
        min-width: 0;

        .post-categories {
            margin-bottom: 10px;
            font-size: 12px;
            color: #F73D87;
        }

        h3 {
            font-size: 16px;
            font-weight: 400;
            margin-bottom: 0;


        }
    }


    @media (max-width: 1119.98px) {
        .related-posts-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 15px;
        }
    }

    @media (max-width: 760px) {
        .related-posts-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }
}
