/*-- -------------------------- -->
<---           Blog             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #blog-1289 {
        padding: var(--sectionPadding);
        margin-top: 8rem;
    }
    #blog-1289 .cs-container {
        
        width: 100%;
        /* changes to 1280px at tablet */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #blog-1289 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }
    #blog-1289 .cs-flex-group {
        /* prevents flexbox from squishing it */
        flex: none;
    }

    #blog-1289 .cs-color {
        color: var(--primary);
    }

    #blog-1289 .cs-card-group {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #blog-1289 .cs-item {
        list-style: none;
        grid-column: span 12;
    }
    #blog-1289 .cs-item:hover .cs-picture:before {
        opacity: 0.7;
    }
    #blog-1289 .cs-item:hover .cs-picture img {
        transform: scale(1.2);
        filter: grayscale(1);
    }
    #blog-1289 .cs-item:hover .cs-h3 {
        text-decoration: underline;
    }
    #blog-1289 .cs-highlight .cs-flex {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    #blog-1289 .cs-link {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    #blog-1289 .cs-picture {
        width: 100%;
        /* 200px - 270px */
        height: clamp(12.5rem, 25vw, 16.875rem);
        border-radius: 1rem;
        /* clips the corners of the img tag */
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 1;
    }
    #blog-1289 .cs-picture:before {
        content: "";
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: 2;
        transition: opacity 0.3s;
    }
    #blog-1289 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transition:
            transform 0.65s,
            filter 0.4s;
    }
    #blog-1289 .cs-date {
        font-size: 1rem;
        line-height: 1.5em;
        text-align: left;
        font-weight: 700;
        margin: 0;
        color: var(--bodyTextColor);
        display: block;
    }
    #blog-1289 .cs-h3 {
        /* 20px -25px */
        font-size: clamp(1.25rem, 2.2vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
    }
    #blog-1289 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColor);
        display: block;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #blog-1289 .cs-container {
        max-width: 80rem;
    }
    #blog-1289 .cs-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    #blog-1289 .cs-title {
        margin: 0;
    }
    #blog-1289 .cs-flex-group {
        width: 50%;
    }
    #blog-1289 .cs-item {
        grid-column: span 4;
    }
    #blog-1289 .cs-highlight {
        grid-column: span 12;
    }
    #blog-1289 .cs-highlight .cs-link {
        flex-direction: row;
        align-items: stretch;
    }
    #blog-1289 .cs-highlight .cs-flex {
        align-self: center;
    }
    #blog-1289 .cs-highlight .cs-picture {
        /* 300px - 400px */
        min-height: clamp(18.75rem, 35vw, 25rem);
        height: auto;
        width: 50%;
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #blog-1289 .cs-highlight .cs-h3 {
        /* 25px - 39px */
        font-size: clamp(1.5625rem, 3vw, 2.4375rem);
    }
}

                                