/* =============================================== */
/* -----------------adm--flexbox-stretch----------- */

.adm--flexbox-stretch {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2%;
    margin: 2em auto;
}

.adm--flexbox-stretch .wp-block-group {
    padding: 10px 20px;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 0 6px var(--gray-medium);
}

.adm--flexbox-stretch .wp-block-group a {
    color: inherit;
}



.hentry .entry-content .adm--flexbox-stretch div.wp-block-image figure,
.adm--flexbox-stretch .wp-block-group figure {
    margin: 0 !important;
    background: var(--gray-light);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 0 1px black;
    line-height: 0px;
}

.adm--flexbox-stretch .wp-block-image img {
    width: 100% !important;
    max-width: 18px;
    height: auto !important;
    flex-shrink: 0 !important;
}



.adm--flexbox-stretch p,
.adm--flexbox-stretch .wp-block-heading{
	font-size: 18px;
	line-height: 24px;
}

.adm--flexbox-stretch.is-layout-flex > *,
.adm--flexbox-stretch > * {
    margin: 1em 0;
    position: relative;
    min-width: fit-content;
    justify-content: flex-start;
	padding: 24px;
	gap: 14px;
    flex-grow: 1;
    flex-shrink: 0;
}

.adm--flexbox-stretch > *:has(a):hover {
    cursor: pointer;
}

.adm--flexbox-stretch > * a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}



.adm--flexbox-stretch > *:has(a) {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.adm--flexbox-stretch > *:has(a):hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: var(--gray-light);
}

.adm--flexbox-stretch > *:has(a):active {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}






.adm-flex-1, 
.adm--flexbox-stretch.adm--flexbox-1-cols > * {
    flex: 1 0 100%;
}

.adm-flex-2, 
.adm--flexbox-stretch.adm--flexbox-2-cols > * {
    flex: 1 0 49%;
    flex: 1 0 calc((100% - 2%) / 2);
}

.adm-flex-3, 
.adm--flexbox-stretch.adm--flexbox-3-cols > * {
    flex: 1 0 30%;
    flex: 1 0 calc((100% - 4%) / 3);
}

.adm-flex-4, 
.adm--flexbox-stretch.adm--flexbox-4-cols > * {
    flex: 1 0 22%;
    flex: 1 0 calc((100% - 6%) / 4);
}

.adm-flex-5, 
.adm--flexbox-stretch.adm--flexbox-5-cols > * {
    flex: 1 0 19%;
    flex: 1 0 calc((100% - 8%) / 5);
}

.adm-flex-6, 
.adm--flexbox-stretch.adm--flexbox-6-cols > * {
    flex: 1 0 15%;
    flex: 1 0 calc((100% - 10%) / 6);
}

.adm-flex-7, 
.adm--flexbox-stretch.adm--flexbox-7-cols > * {
    flex: 1 0 13%;
    flex: 1 0 calc((100% - 12%) / 7);
}

.adm-flex-8, 
.adm--flexbox-stretch.adm--flexbox-8-cols > * {
    flex: 1 0 11%;
    flex: 1 0 calc((100% - 14%) / 8);
}