
/**
.entry-toggle-block
**/

body > .entry-toggle-block {
    width: 100%;
}

.entry-toggle-block {
    min-height: 6.25rem;
    opacity: 1;
    visibility: visible;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 3.125rem;
}

.entry-toggle-block > .entry-grid:first-child {
    min-height: inherit;
    height: auto;
    padding-top: 1.125rem;
}


.entry-toggle-block,
.buttons-block ~ .entry-toggle-block:not([hidden]) ~ .entry-toggle-block {
    margin-top: 0.375rem;
}
/*
.buttons-block ~ .entry-toggle-block:not([hidden]) {
    margin-top: 3.75rem;
}
*/


.read-body > .full-block > .select-button {
    margin-bottom: 1rem;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 43.75em) {
    .entry-toggle-block {
        min-height: 3.75rem;
    }
}


/**
.entry-grid
**/

.entry-grid {
    --column-gap: 2.5rem;
    --row-gap: 1rem;
    justify-content: center;
    grid-auto-rows: min-content;
    column-gap: var(--column-gap);
}


.entry-grid:focus {
    text-decoration: none;
}

.entry-grid > *,
.entry-grid > .text-08 {
    margin: 0;
}

.entry-grid > img {
    width: 100%;
}

.entry-grid > .text-17 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.entry-grid > .pill-button {
    margin-top: 1rem;
}

@media (min-width: 43.75em) {
    .entry-grid {
        --column-gap: 3.75rem;
        grid-template-columns: minmax(0, 508fr) minmax(0, 600fr) minmax(0, 380fr);
    }
    .entry-grid + .entry-grid {
        margin-top: 1rem;

    }

}

@media (min-width: 78.75em) {
    .entry-grid {
/*        grid-template-columns: 31.75rem 37.5rem 23.75rem;*/

/*        grid-template-columns: 23.4375rem 27.6875rem 17.5rem; */
        /* https://basecamp.com/1791352/projects/2090665/todos/434212652#comment_819941101 */
        grid-template-columns: 23.4375rem 27.6875rem 5.5rem;
    }
}


/**

**/

.publication-grid::part(content) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, calc(6.87924757rem + 11.71521036vw));
}

.publication-grid::part(button) {
    border-color: transparent;
    background-color: #f5f5f5;
    width: calc(2 * calc(6.87924757rem + 11.71521036vw) + var(--column-gap));
}

.publication-grid {
    max-width: 100%;
    max-height: calc(2 * calc(6.87924757rem + 11.71521036vw) + var(--row-gap) + 12rem);
    width: 100%;
    grid-auto-flow: none;
    grid-template-columns: repeat(auto-fill, calc(6.87924757rem + 11.71521036vw));
    --column-gap: calc(0.42718447rem + 2.97734628vw);
    --row-gap: calc(0.42718447rem + 2.97734628vw);
    padding-left: calc(0.42718447rem + 2.97734628vw);
    padding-right: calc(0.42718447rem + 2.97734628vw);
    margin-bottom: 7.5rem;
}

.publication-grid > .block {
    width: 100%;
}

@media (min-width: 43.75em) {
    .publication-grid {
        max-height: none;
    }
}


/**
.publication-block
**/

.publication-block {
    text-align: center;
    width: calc(6.87924757rem + 11.71521036vw);
    background-size: 0 0;

}

.publication-block::before {
    display: block;
    content: '';
    width: 100%;
    padding-top: 100%;
    background-image: inherit;
    background-size: 100%;
    background-position: 50% 50%;
    background-color: #d1d1d1;
    border-radius: 50%;
    margin-bottom: calc(0.70995146rem + 0.97087379vw);
    transition: background-size 0.16s linear;
}

.publication-block:hover::before {
    background-size: 110%;
}

.new-publication-block::after {
    content: 'New in';
    position: absolute;
    top: 10%;
    left: 2.5%;
    width:  8.75rem;
    height: 1.85rem;
    line-height: 1.8625rem;
    white-space: nowrap;
    letter-spacing: 0.0625rem;
    transform: rotate(-10deg);
    color: white;
    background-color: #ff0072;
    border-radius: 0.925rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: Only, Helvetica, Arial, sans-serif; text-transform: uppercase;
}

#posts-toggle-all + .button > span {display: none}
#posts-toggle-all + .button > span + span {display: inline}

#posts-toggle-all:checked + .button > span {display: inline}
#posts-toggle-all:checked + .button > span + span {display: none}

#posts-toggle-all + .button {
    border:  1px solid rgb(206, 206, 206);
    padding-right: 0;
    width:  max-content;
    margin: 0 auto 3.75rem auto;
    min-width: 180px;
}



@media screen and (min-width: 1000px) {
    #posts-toggle-all,
    #posts-toggle-all + .button {
        grid-row: 4;
        grid-column: 3;
        justify-self: end;
        align-self: start;
        margin:  0 1rem 0 0;

    }
    .read-body  .buttons-grid {
        grid-row: 4;
        grid-column: 1 / span 3;
    }
}

#posts-toggle-all + .button:before {
    content: '»';
    display: inline-block;
    transform: rotate(90deg);
    font-size: 20px;
    position: absolute;
    left: 3.125rem;
    transition:  transform 0.2s;
}
#posts-toggle-all:checked + .button:before {
    transform: rotate(270deg);
}
