.wp-block-gallery {
-webkit-column-count: 2;
column-count: 2; 
display: block;
margin-bottom: 0;
}
.wp-block-gallery .wp-block-image {
break-inside: avoid;  }
.wp-block-gallery .wp-block-image img {
width: 100%;
height: auto;
display: block;
object-fit: cover; 
}
body .is-layout-flex .wp-block-gallery {
display: block;
}
.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex {
display: block;
}
.wp-block-image.size-large img {
width: 100%;
height: auto;
}
.wp-block-gallery.columns-5 img{
height: 100px !important;
width: auto;
display: block;
object-fit: contain;
}
.wp-block-gallery.columns-5 {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
column-count: inherit;
-webkit-column-count: inherit;
gap: 1em;  
} .wp-block-details.is-layout-flow.wp-block-details-is-layout-flow:first-of-type {
border-top: 3px solid var(--brand);
border-radius: 30px 30px 0 0;
}
.wp-block-details.is-layout-flow.wp-block-details-is-layout-flow {
border-top: 3px dotted var(--brand);
border-left: 3px solid var(--brand);
border-right: 3px solid var(--brand);
}
body .wp-block-details.is-layout-flow.wp-block-details-is-layout-flow:last-of-type {
border-bottom: 6px solid var(--brand);
}
details summary::marker,
details summary::-webkit-details-marker {
display: none;
}
details summary {
list-style: none;
color: var(--brand);
cursor: pointer;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 30px;
position: relative;
box-sizing: border-box;
}
details{
padding: .25em 1em;
}
details p{
margin-bottom: 0;
padding-bottom: 1em;
}
summary:hover {
transition: 0.3s ease-in-out;
}
summary::after {
content: "\002B";
font-size: 50px;
color: var(--brand);
margin-right: 10px;
position: absolute;
right: 0;
top: 0;
height: 100%;
display: flex;
align-items: center;
}
details[open] summary::after {
content: "\2212"; 
}
details[open] summary {
transition: 0.3s ease-in-out;
}
details {
border-top: 2px solid;
position: relative;
}
details p {
margin-top: 10px;
}
details .wp-block-button a {
padding: 15px;
margin-bottom: 20px;
border: 2px solid black;
background-color: transparent;
border-radius: 40px;
text-decoration: none;
color: #000;
font-size: 20px;
}
details .wp-block-button:hover a {
border: 2px solid black;
color: white;
background-color: black;
} .wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
width: auto;
padding: 20px 0 35px 0;
} .wp-block-media-text {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 16px;
padding-top: 16px;
}
.wp-block-media-text img {
width: 100%;
object-fit: cover;
height: auto;
} figure{
line-height: 0;
} figure.wp-block-image.size-full + figure.wp-block-image.size-full, 
figure.wp-block-image.size-full + figure.wp-block-image.size-large,
figure.wp-block-image.size-large + figure.wp-block-image.size-large,
figure.wp-block-image.size-large + figure.wp-block-image.size-full,
figure.wp-block-gallery + figure.wp-block-image.size-large,
figure.wp-block-gallery + figure.wp-block-gallery,
.wp-block-image + .wp-block-image,
.wp-block-image + figure.wp-block-image,
.wp-block-media-text + .wp-block-image {
margin-top: 1rem;
}
figure.wp-block-image.size-full + figure.wp-block-gallery, figure.wp-block-image.size-large + figure.wp-block-gallery {
margin-top: 1rem;
}
.wp-block-image.size-full img, .wp-block-image.size-large img{
width: 100%;
max-width: 100%;
height: auto;
}
figure.wp-block-gallery + figure.wp-block-image.size-full{
margin-top: 1rem;
} .wp-block-image.is-resized {
justify-content: flex-start;
}
.wp-block-image.is-resized img{
height: auto;
max-width: 100%;
}
.wp-block-image .is-resized img{
height: auto;
max-width: 100%;
}
figure.aligncenter {
display: flex;
justify-content: center !important;
}
figure.alignleft {
display: flex;
justify-content: flex-start !important;
}
figure.alignright {
display: flex;
justify-content: flex-end !important;
} @media screen and (max-width: 700px) {
.wp-block-gallery {
-webkit-column-count: 1;
column-count: 1; 
}
.wp-block-media-text {
grid-template-columns: 1fr;
gap: 0;
padding-top: 10px;
}
.wp-block-media-text img {
height: auto;
}
summary::after {
font-size: 24px;
}
}