/*
Theme Name:     RC
Theme URI:      
Description:    Astra child theme.
Author:         Ryan Smith
Author URI:     
Template:       astra
Version:        1.0.9
*/

body h5, body .entry-content h5 {
    color: inherit;
}

.search-form label {
    display: flex;
    flex-flow: nowrap row;
    width: auto;
    max-width: 300px;
}

.search-form label .search-field {
    flex: 0 0 240px;
    max-width: 240px;
}

.search-form label .search-submit {
    flex: 0 0 auto;
}

body.search main .ast-row,
body.archive main .ast-row {
    --auto-grid-min-size: 16rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
    grid-gap: 1rem;
}

body.ast-separate-container .ast-archive-description,
body.search main .ast-row article,
body.archive main .ast-row article {
    padding: 1em;
}

body.search main .ast-row article .post-content,
body.archive main .ast-row article .post-content {
    display: flex;
    flex-flow: column nowrap;
}

body.search main .ast-row article .post-content > .post-thumb,
body.archive main .ast-row article .post-content > .post-thumb {
    flex: 1 0 200px;
    position: relative;
}

body.search main .ast-row article .post-content > .post-thumb a,
body.archive main .ast-row article .post-content > .post-thumb a,
body.search main .ast-row article .post-content > .post-thumb > div,
body.archive main .ast-row article .post-content > .post-thumb > div {
    position: relative;
    width: 100%;
    height: 200px;
    display: block;
}

body.search main .ast-row article .post-content > .post-thumb a img,
body.archive main .ast-row article .post-content > .post-thumb a img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
}

h2 .toggle-drawer {
    display: none;
}

@media only screen and (max-width: 767px) {
    .elementor-grid-eael-col-4 article.eael-grid-post,
    .elementor-grid-eael-col-4 article.eael-grid-post .eael-entry-wrapper {
        padding: 0;
        height: auto;
    }

    .elementor-grid-eael-col-4 article.eael-grid-post > div > div {
        width: 100%;
        float: none;
        display: grid;
        grid-template-columns: 100px 1fr; 
        grid-template-rows: 100px; 
        gap: 1em 1em;
    }

    .elementor-grid-eael-col-4 article.eael-grid-post h3.eael-entry-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 1em 0 0 0;
    }

    .elementor-grid-eael-col-4 article.eael-grid-post .eael-grid-post-excerpt > p {
        display: none;
    }

    aside.elementor-column {
        --order: -1;
        display: none;
        background: #000000;
        padding: 0.5em;
    }

    h2 .toggle-drawer {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: #ffffff;
    }
}