/*Toggle*/

.bocadillo .has-background.ymk-toggle {

  margin-bottom:3px !important;
}

.bocadillo * {
    transition: all 0.2s;
}

.ymk-toggle h4 {
    flex-direction: row;
    display: flex !important;
    align-items: center;
    width: 100%;
    position: relative;
    column-gap: 1rem;
    height: auto;
    cursor: pointer;
    font-size: calc(0.8*var(--heading--font-size-h3));
}

.ymk-toggle:not(.on) h4 {
    margin: 0.5px !important;
    font-size: var(--heading--font-size-h5);
}


.toggle-back.on:before, 
.ymk-toggle h4:after {
    /* position: absolute; */
    font-family: 'Material Icons Outlined';
    font-size: 24px;
    line-height: normal;
    font-weight: 100;
    /* flex: 1; */
    right: 0;
}

.toggle-back.on {
  display:flex;
  gap: 0.3rem;
  align-items: center;
  cursor: pointer;
}

.toggle-back.on:before {
  content: "\e5cb";
  flex:0;
}

.ymk-toggle:not(.has-background) h4:after {
    position: absolute;
}

.ymk-toggle.has-background h4:after {
    background: #ffffff;
    padding: 0.2rem;
    border-radius: 100%;
    flex: 0;
}

.ymk-toggle h4:after {
    content: "\e5cf";
}

.ymk-toggle.on h4:after {
    content: "\e5ce";
}

.ymk-toggle p:first-of-type {
    margin-top: 1rem;
}

.ymk-toggle:not(.on) p, .ymk-toggle:not(.on) .wp-block-buttons, .ymk-toggle figure {
    display:none;
}


.ymk-toggle h4 {
    display: flex !important;
    width: 100%;
    position: relative;
    column-gap: 1rem;
    height: auto;
    cursor: pointer;
    row-gap: 1rem;
    /* transition: all 0.5s; */
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.toggle-cols figure.wp-block-image.size-full {
    height: 100%;
}

.toggle-cols figure img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: -webkit-fill-available;
    -o-object-fit: var(--degu-asset-object-fit);
    object-fit: cover;
    -o-object-position: var(--degu-asset-object-position);
    object-position: top;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -ms-user-select: none;
    user-select: all;
} 

/**/
.ymk-toggle .wp-block-post-excerpt {
    margin: 0 !important;
}