/* Featured */
.featured .featured-meta {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 2;
}

.featured .wp-block-post-featured-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    transform: translate(-50%, -50%);
    height: 100% !important;
    object-fit: cover !important;
}

.featured .wp-block-post-featured-image {
    position: relative;
    padding-bottom: 56.2%;
    overflow: hidden;
}

.featured .wp-block-post-terms {
    margin: 0px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-top: 20px !important;
}

.featured .wp-block-post-title {
    margin: 0px !important;
    line-height: 1.2em !important;
    margin-top: 20px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-bottom: 20px !important;
}

.featured a {
    color: #fff !important;
    text-decoration: none !important;
}

.featured {
    margin-bottom: 1.25em !important;
    position: relative;
}

/* Flow */

.flow .flow-image .wp-block-post-terms a {
    color: #fff !important;
    text-decoration: none !important;
}

.flow .flow-image .wp-block-post-terms {
    background: var(--ast-global-color-0);
    font-weight: bold !important;
    position: absolute;
    padding: 0.5em;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.flow .flow-image {
    position: relative;
}

.flow .flow-image {
    position: relative;
}

.flow .wp-block-post-excerpt__excerpt {
    margin-bottom: 0px;
}

.flow .wp-block-post-featured-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    transform: translate(-50%, -50%);
    height: 100% !important;
    object-fit: cover !important;
}

.flow .wp-block-post-featured-image {
    position: relative;
    margin: 0px !important;
    padding-bottom: 56.2%;
    overflow: hidden;
}

.flow .wp-block-post-title {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.flow a {
    text-decoration: none !important;
}

.flow {
    margin-top: 1.25em !important;
}

/* Four articles */

.four-articles .wp-block-post-template {
    margin: 0px;
}

.four-articles .wp-block-post-title {
    margin-top: 0.5em;
    margin-bottom: 0px;
}

.four-articles a {
    text-decoration: none !important;
}

.four-articles h4 {
    margin: 0px;
    margin-bottom: 0.5em;
}

.four-articles {
    margin-top: 1.25em !important;
}

/* Listing */

.listing .wp-block-post-featured-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    transform: translate(-50%, -50%);
    height: 100% !important;
    object-fit: cover !important;
}

.listing .wp-block-post-featured-image {
    position: relative;
    padding-bottom: 56.2%;
    overflow: hidden;
}

.listing .wp-block-post-title {
    margin-top: 0.5em !important;
    margin-bottom: 0px !important;
}

.listing .wp-block-query-pagination {
    margin: 0px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/* Search */

.search .ast-search-submit {
    display: none !important;
}

.search .search-field {
    width: calc(100% - calc(75px + 0.625em));
    margin-right: 0.625em;
    height: 45px;
    line-height: 45px;
    float: left;
}

.search .search-submit {
    width: 75px;
    padding-left: 0px;
    padding-right: 0px;
    height: 45px;
    border: 0px;
}

.search {
    background: #fff url(https://beta.hemtrevligt.se/ik/app/uploads/2022/07/Rutig-duk-Ica-lutad-v2.svg);
    background-size: cover;
    margin-bottom: 1.5em;
}
