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

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

/* Overlay Background */
.cs-entry__overlay:hover .cs-overlay-background:after {
    opacity: 0.5 !important;
}

/* Single hero item */
.cnvs-block-posts-layout-tile-type-2--single-hero .cnvs-block-layout__item {
    justify-content: flex-end;
    padding-bottom: 0;
}

/* Single post */
@media (min-width: 1020px) {
    .single-post .cs-sidebar-right .cs-main-content .cs-entry__container {
        --cs-entry-content-width: 1000px
    }
}

@media (min-width: 1200px) {
    .single-post .cs-sidebar-right .cs-main-content {
        grid-template-columns: 1fr;
    }
}

/* Back to top */
.pk-scroll-to-top {
    z-index: 9;
}

.pk-scroll-to-top.pk-active {
    display: flex;
    right: -4.25rem;
    bottom: 8rem;
}

/* Footer */
@media (max-width: 400px) {
    .cs-footer__nav.cs-footer__nav-horizontal .cs-footer__nav-inner,
    .pk-social-links-template-nav .pk-social-links-items {
        flex-direction: column;
        align-items: center;
    }

    .cs-footer__nav.cs-footer__nav-horizontal .cs-footer__nav-inner li:not(:last-child),
    .cs-footer__logo,
    .pk-social-links-template-nav .pk-social-links-item:not(:last-child) {
        margin-right: 0;
    }

    .cs-footer__nav-inner li:not(:first-child) {
        margin-left: 0;
    }
}