body {
    /* background: red !important; */
}

.caselet-archive {
    margin-top: 0 !important;
    padding: 0;
    background-color: #eaeaea;
}

/* Header and Cover */
body .caselet-archive .wp-block-cover {
    align-items: flex-end;
    background-position: 50%;
    box-sizing: border-box;
    display: flex
;
    justify-content: flex-start;
    /* min-height: 230px; */
    overflow: hidden;
    overflow: clip;
    padding: 1em;
    position: relative;
}
body .caselet-archive .wp-block-cover .has-background-dim {
    display: none;
}

body .caselet-archive .wp-block-cover .wp-block-cover__inner-container {
    max-width: 1600px; /* Wide width */
    margin: 0 auto; /* Center align */
    padding: 0 20px; /* Add some padding */
    color: #fff;
}
body .caselet-archive .wp-block-group__inner-container > .wp-block-group:not(.caselet-wrapper),
body .caselet-archive .wp-block-group__inner-container > .wp-block-group > .wp-block-group {
    max-width: 1600px;
    margin: 0 auto; /* Center align */
}

body .caselet-archive .wp-block-cover .wp-block-cover__inner-container .wp-block-post-title {
    padding-bottom: 20px;
}

body .caselet-archive > .wp-block-columns {
    max-width: 1600px; /* Wide width */
    margin: 0 auto; /* Center align */
    padding: 40px 20px; /* Add some padding */
    display: grid;
    grid-template-columns: 25% 1fr;
    column-gap: 60px;
}
@media screen and (max-width: 1200px) {
    body .caselet-archive > .wp-block-columns {
        column-gap: 20px;
        grid-template-columns: 300px 1fr;
    }
}

body .caselet-archive > .wp-block-columns .wp-block-column > .caselet-results {
    /* background-color: #ffffff; */
    /* padding: 40px 10px; */
    /* box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.05);
    -webkit-box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.05); */
    /* margin-top: 40px; */
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
}

body .caselet-archive > .wp-block-columns .wp-block-column > .caselet-results article.caselets {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.03);
    -webkit-box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.03);
    -moz-box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.03);
}

@media screen and (max-width: 1200px) {
    body .archive-content article.has-thumbnail img  {
        width: 140px;
        max-width: 140px;
    }
    body .archive-content article.has-thumbnail {
        grid-template-columns: 140px 1fr;
    }
}
@media screen and (max-width: 782px) {
    body .caselet-archive > .wp-block-columns {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    body .caselet-archive > .wp-block-columns .wp-block-column > .caselet-results {
        padding: 20px;
    }
}

body .caselet-archive > .wp-block-columns .wp-block-column > .caselet-filters {
    background-color: transparent;
    padding: 0;
}
body .caselet-archive .caselet-filters .search-filter-field {
    display: inline-block !important;
    width: 100% !important;
    margin-top: 20px !important;
}
body .caselet-archive .caselet-filters .search-filter-field .search-filter-label {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0.5em 0 0.25em 0;
    padding-bottom: 10px;
    padding-left: 0;
    color: var(--brand-blue);
    text-rendering: optimizeLegibility;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 1.5;;

}
body .caselet-archive .caselet-filters .search-filter-field .search-filter-label::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    margin: 0.2em 0 0.2em -0.2em;
    background-color: #ae9142 !important;
}

body .caselet-archive .results-info {
    color: gray;
    font-size: 1rem;
    font-style: italic;
    display: inline-block;
    width: 100%;
    margin-top: 30px;
}

body .caselet-archive .caselet-filters-buttons {
    display: grid !important;
    grid-template-columns: auto auto;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}
/* body .caselet-archive .caselet-filters-buttons .search-filter-field:last-child {
    display: flex !important;
    justify-self: flex-start;
    justify-content: flex-start;
    justify-items: flex-start;
    text-align: left;
} */

body .caselet-archive .caselet-filters-buttons button {
    display: inline-block;
    padding: 0.6em 1.5em;
    margin: 0 0.25em 0.25em 0;
    font-size: 1.2rem;
    border: 3px solid transparent;
    border-radius: 0.6em;
    line-height: 1.2;
    text-decoration: none;
    align-self: flex-start;
    color: var(--brand-blue);
    background-color: var(--sky-blue-light);
    border-color: var(--sky-blue-light);
    transition: all .25s ease;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
}
body .caselet-archive .caselet-filters-buttons button:hover {
    background-color: var(--sky-blue) !important;
    border-color: var(--sky-blue) !important;
    color: var(--brand-blue) !important;
    transform: scale(1.02);
    box-shadow: none !important;
}

body .caselet-archive .search-filter-input-checkbox--is-active>.search-filter-input-checkbox__container>.search-filter-input-checkbox__control>svg {
    fill: #ae9142 !important;
    color: #ae9142 !important;
}

body .search-filter-input-text input[type=text].search-filter-input-text__input,
body .search-filter-input-text input[type=text].search-filter-input-text__input:hover,
body .search-filter-input-text input[type=text].search-filter-input-text__input:focus {
    padding: 14px 20px;
}

body .caselet-archive  .search-filter-input-checkbox .search-filter-input-checkbox__container {
    line-height: normal;
    font-weight: normal;
    display: flex;
    align-items: baseline;
    position: relative;
    cursor: pointer;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

body .caselet-archive  .search-filter-input-checkbox .search-filter-input-checkbox__container .search-filter-input-checkbox__count {
    min-width: 30px;
    color: #aaa;
}

body .caselet-archive .caselet-meta {
    /* background: red; */
    margin-top: 20px;
}
body .caselet-archive .caselet-meta .caselet-tags,
body .caselet-archive .caselet-meta .caselet-topics,
body .caselet-archive .caselet-meta .caselet-immersive-experience {
    font-size: 0.9rem;
    font-style: italic;
    color: gray;
}
body .caselet-archive .caselet-meta .caselet-tags a:not(:last-child)::after,
body .caselet-archive .caselet-meta .caselet-topics a:not(:last-child)::after,
body .caselet-archive .caselet-meta .caselet-immersive-experience a:not(:last-child)::after {
    content: ', ';
    display: inline-block;
    background-image: none !important;
    color: gray;
}

.site-content:has(>.page-main>.caselet-archive) {
    background-color: #eaeaea;
}

.caselet-results .post-thumbnail {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.caselet-results .post-thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.caselet-results .search-content article.has-thumbnail, .caselet-results .archive-content article.has-thumbnail {
    gap: 30px !important;
}