/*
Theme Name: ScribeHippie Gridbox Child
Description: Custom child theme for ScribeHippie based on Gridbox.
Template: gridbox
Version: 1.0.0
Text Domain: scribehippie-gridbox-child
*/

@import url("../gridbox/style.css");

/* Leave room for the archive sidebar. */
.content-archive {
    float: left;
    box-sizing: border-box;
    padding-right: 4em;
    width: 70%;
}

@media only screen and (max-width: 55em) {
    .content-archive {
        float: none;
        padding: 0;
        width: 100%;
    }
}
/* Space between categories and custom tags */
.single-post .entry-tags {
    margin-top: 20px !important;
}
/* Space below categories */
.single-post .entry-categories {
    margin-bottom: 20px !important;
}


/* ScribeHippie logo sizing */
.site-branding .custom-logo-link {
    display: inline-block;
    vertical-align: middle;
    width: 64px !important;
    height: 64px !important;
    overflow: hidden;
    border-radius: 50%;
}

.site-branding img.custom-logo {
    display: block;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    object-fit: cover;
    border-radius: 50%;
}

/* ScribeHippie header layout */
@media (min-width: 56em) {
    #logo.site-branding {
        display: grid;
        grid-template-columns: 64px auto;
        grid-template-rows: auto auto;
        column-gap: 25px;
        align-content: center;
        align-items: center;
        float: left;
    }

    #logo.site-branding .custom-logo-link {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        flex: none;
    }

    #logo.site-branding .site-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        float: none;
        width: auto;
    }

    #logo.site-branding .site-description {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        float: none;
        width: auto;
    }
}
/* ScribeHippie header slideshow */
#headimg.sh-header-slider {
    position: relative;
    overflow: hidden;
}

.sh-header-slider__viewport {
    width: 100%;
    overflow: hidden;
}

.sh-header-slider__track {
    display: flex;
    width: 100%;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.sh-header-slider__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.sh-header-slider__slide img {
    display: block;
    width: 100%;
    height: auto;
}

.sh-header-slider__slide a {
    display: block;
}

.sh-header-slider__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.sh-header-slider__arrow--prev {
    left: 12px;
}

.sh-header-slider__arrow--next {
    right: 12px;
}

.sh-header-slider__arrow:hover,
.sh-header-slider__arrow:focus-visible {
    background: rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .sh-header-slider__track {
        transition: none;
    }
}

