:root {
    --color-company: #b294bb;
    --color-sustainable: #050505;
    --color-coffee: #c5c9c6;
    --color-nonfood: #d16464;
    --color-podcast: #de935f;
    --color-technology: #f0c674;
    --s1: clamp(1.25rem, 1.19rem + 0.32vw, 1.41rem);
}

/*
    Grid Blog/Stories News
    ----------------------
    Css for snippet "posts" with displaytype grid
 */
.blog {
    --gutter: 1.5em;
}

.blog.grid1col .column{
    --columns: 12;
    padding: 0 0 3em 0 !important;
}

.blog.grid2col .column {
    --columns: 6;
}

.blog.grid3col {
    --columns: 6;
}

@media screen and (min-width: 1408px) {
    .blog.grid3col {
        --columns: 4;
    }
}

@media screen and (min-width: 768px) /*and (max-width: 1407px)*/ {
    .blog div.column:nth-child(odd) {
        padding-top: 0rem;
        padding-bottom: 6rem;
    }

    .blog div.column:nth-child(even) {
        padding-top: 6rem;
        padding-bottom: 0rem;
    }
}

@media screen and (min-width: 1408px) {
    .blog.grid3col div.column:nth-child(3n+1) {
        padding-top: 0rem;
        padding-bottom: 8rem;
    }

    .blog.grid3col div.column:nth-child(3n+2) {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .blog.grid3col div.column:nth-child(3n) {
        padding-top: 8rem;
        padding-bottom: 0rem;
    }
}

/*
Remove Grid spacing if set
 */
.prevent-grid-offset.grid1col div.column,
.prevent-grid-offset.grid2col div.column,
.prevent-grid-offset.grid3col div.column{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: var(--gutter) !important;
}

.post-excerpt {
    height: 100%;
}

.post-excerpt .post-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-excerpt-box {
    flex-grow: 1;
    background: white;
    margin-top: -2rem;
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    box-shadow: 5px 5px 25px #56565661;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.post-excerpt-box-flag {
    display: flex;
    margin-top: -2.5rem !important;
    justify-content: center;
    font-weight: 400;
    flex-grow: 0;
}

.post-excerpt-box-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 1rem;
}

.post-excerpt-box-date,
.post-excerpt-box-subtitle {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
}
.post-excerpt-box-subtitle {
    opacity: 0.7;
}

.post-excerpt-box-title {
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.7px;
    text-align: center;
    font-weight: bold !important;
}
@media screen and (min-width: 668px) and (max-width: 767px) {
    .post-excerpt-box-title {
        font-size: 24px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .post-excerpt-box-title {
        font-size: 20px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1407px) {
    .post-excerpt-box-title {
        font-size: 23px;
    }
}
@media screen and (min-width: 1408px) {
    .post-excerpt-box-title {
        font-size: 25px;
    }
    .grid3col .post-excerpt-box-title {
        font-size: 20px;
    }
}

.post-excerpt-box-bottom {
    font-size: 1rem;
    text-align: center;
    font-weight: 400 !important;
}


.post-excerpt-box p {
    line-height: 1.75;
}

/*
    List Blog/Stories News
    ----------------------
    Css for snippet "posts" with displaytype list
 */
.posts-lists-view-wrapper {
    width: 100%;
    text-align: left;
}
.posts-list-view  * {
    box-sizing: border-box;
}
.posts-list-view a {
    text-decoration: none;
}
@media screen and (min-width: 640px) {
    .posts-list-view {
        position: relative;
        height: 10rem;
        margin-bottom: 1rem !important;
        background: #F5EDE5;
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .posts-image {
        width: 240px;
        height: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .posts-information {
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.75rem 1rem 0.75rem 0;
        width: calc(100% - 16rem);
        max-width: calc(100% - 16rem);
        min-width: 0;
    }
    .posts-information .posts-title {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16pt;
        height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    .posts-information .posts-subtitle {
        flex-shrink: 0;
        font-size: 14pt;
        font-style: italic;
        height: 28px;
        margin-top: -0.1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    .posts-information .posts-author {
        color: #49494c;
        font-style: normal;
        font-size: 12pt;
    }
    .posts-information .posts-date {
        color: #5b5b60;
        position: absolute;
        bottom: 0.75rem;
        right: 1rem;
    }
    .posts-information .posts-description {
        color: #2d2d2d;
        font-weight: lighter;
        line-height: 1.6rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        height: 54px;
        margin-top: -0.1rem;
    }

    .posts-information .posts-description.no-subtitle {
        margin-top: 0.1rem;
        height: 81px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

}
@media screen and (max-width: 639px) {
    .posts-lists-view-wrapper a {
        display: block;
        margin-bottom: 1.5rem;
    }
    .posts-lists-view-wrapper a:last-child {
        margin-bottom: 0;
    }
    .posts-list-view {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        background: #F5EDE5;
        padding: 0.5rem 0.75rem;
        box-sizing: border-box;
    }

    .posts-image {
        width: 180px;
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        flex-shrink: 0;
        margin: 0 auto 0.5rem;
    }

    .posts-information {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .posts-information .posts-title {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 14pt;
        height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    .posts-information .posts-subtitle {
        font-size: 12pt;
        font-style: italic;
        height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    .posts-information .posts-description {
        color: #2d2d2d;
        font-weight: lighter;
        line-height: 1.6rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        overflow-wrap: anywhere;
        height: 54px;
    }
    .posts-information .posts-description.no-subtitle {
        height: 81px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    .posts-information .posts-author {
        color: #49494c;
        font-style: normal;
        font-size: 12pt;
    }
    .posts-information .posts-date {
        display: flex;
        justify-content: flex-end;
        flex-direction: row;
    }
}

.with-sidebar {
    display: flex;
    flex-wrap: wrap;
}

.with-sidebar > :first-child {
    flex-grow: 1;
}

.with-sidebar > :last-child {
    flex-basis: 30ch;
    flex-grow: 999;
    min-inline-size: 50%;
}
 /*
 ----------------
  */
.post {
    padding: 0 1rem;
    border-radius: 1rem;
    max-width: 48rem;
    margin: -4rem auto;
    z-index: 10;
    position: relative;
    background: white;
}
@media (min-width: 426px) {
    .post {
        padding: 0 2rem;
    }
}
@media (min-width: 768px) {
    .post {
        padding: 0 4rem;
    }
}

.post-header {
    padding-top: 3rem;
    margin-bottom: 3rem;
}

.post-footer {
    padding: 6rem 0;
}

.post-date {
    color: var(--color-text-grey);
}

.post-tags {
    display: flex;
    margin-bottom: 1.5rem;
    flex-wrap: wrap
}

.post-tags li {
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.post-tags a {
    padding: .5rem 1rem;
    display: block;
    background: var(--color-code-light-grey);
}

.post-tags a:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.post-subheading {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
}

.post-author {
    font-size: 1.25rem;
}

.about-blog-author {
    clear: both;
    padding-top: 2rem;
}

.about-blog-author-content {
    display: flex;
    flex-direction: row;
    padding-top: 1rem;
    gap: 1rem;
}

.about-blog-author-figure {
    margin-top: 0 !important;
}

.about-blog-author-figure img {
    height: auto;
    width: auto;
    max-height: 96px;
}
.about-blog-author-figure svg {
    height: 96px;
}

.about-blog-author-text {
    display: flex;
    flex-direction: column;
    max-height: 96px;
    gap: 0.5rem;
    justify-content: center;
}

.about-blog-author-name {
    flex-grow: 0;
    font-size: 1.3em;
}

.about-blog-author-info {
    flex-grow: 0;
}

.about-blog-author-info p {
    max-height: 100%;
}
