.dflt a{ 
    color: inherit;
}
@media(max-width: 650px) {
    .dflt p:not(:last-child) {
        margin-bottom: 1.25em;
    }
}

.grey{
    background-color: var(--color3);
}
@media(max-width: 650px) {
    .grey{
        padding: 1em 1.5em;
        border-radius: 1em;
    }
    .grey:not(:first-child){
        margin-top: 1.25em;
    }
    .grey:not(:last-child){
        margin-bottom: 1.25em;
    }
}

/* titles */
body.page-template-default .dflt h1,
body.page-template-default .dflt .h1,
.sectionHero .name{
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.04em;
}
body.page-template-page-full .dflt h1,
body.page-template-page-full .dflt .h1{
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -.04em;
}
.dflt h2,
.dflt .h2,
.dflt h3,
.dflt .h3{
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.dflt h4,
.dflt .h4,
.dflt h5,
.dflt .h5,
.dflt h6,
.dflt .h6 {
    line-height: 1.3;
    letter-spacing: -.003em;
    font-weight: 700;
}
.dflt h5,
.dflt .h5 {
    font-size: 1.25rem;
}
.dflt h6,
.dflt .h6 {
    font-size: 1.125rem;
}
@media(max-width: 650px) {
    body.page-template-default .dflt h1,
    body.page-template-default .dflt .h1,
    .sectionHero .name {
        font-size: 1.5rem;
    }
    body.page-template-page-full .dflt h1,
    body.page-template-page-full .dflt .h1 {
        font-size: 1.8rem;
    }
    .dflt h2,
    .dflt .h2,
    .dflt .PressReleaseHeadline {
        font-size: 1.8em;
    }
    .dflt h3,
    .dflt .h3 {
        font-size: 1.6em;
    }
    .dflt h4,
    .dflt .h4 {
        font-size: 1.3rem;
    }
    .dflt h1:not(:first-child),
    .dflt .h1:not(:first-child),
    .dflt h2:not(:first-child),
    .dflt .h2:not(:first-child){
        margin-top: 2rem;
    }
    .dflt h1:not(:last-child),
    .dflt .h1:not(:last-child),
    .dflt h2:not(:last-child),
    .dflt .h2:not(:last-child){
        margin-bottom: 1.5rem;
    }
    .dflt h3:not(:first-child),
    .dflt .h3:not(:first-child),
    .dflt h4:not(:first-child),
    .dflt .h4:not(:first-child),
    .dflt h5:not(:first-child),
    .dflt .h5:not(:first-child),
    .dflt h6:not(:first-child),
    .dflt .h6:not(:first-child){
        margin-top: 1.5rem;
    }
    .dflt h3:not(:last-child),
    .dflt .h3:not(:last-child),
    .dflt h4:not(:last-child),
    .dflt .h4:not(:last-child),
    .dflt h5:not(:last-child),
    .dflt .h5:not(:last-child),
    .dflt h6:not(:last-child),
    .dflt .h6:not(:last-child) {
        margin-bottom: 1.25rem;
    }   
}

/* images */
.dflt .wp-block-image:first-child {
    margin-top: 0;
}
.dflt .wp-block-image:last-child {
    margin-bottom: 0;
}
@media(max-width: 650px) {
    .wp-block-image img{
        border-radius: 1em;
    }
    .dflt .wp-block-image:not(:first-child) {
        margin-top: 1.5rem;
    }    
    .dflt .wp-block-image:not(:last-child) {
        margin-bottom: 1.25rem;
    }
}

/* gallery */
.wp-block-gallery .wp-block-image{
    overflow: hidden;
}
@media(max-width: 650px){
    .wp-block-gallery .wp-block-image{
        border-radius: 1rem;
    }
    .dflt .wp-block-gallery{
        --wp--style--unstable-gallery-gap: 1rem!important;
        gap: 1rem!important;
    }
    .dflt .wp-block-gallery .wp-block-image{
        width: 100%!important;
    }
}

/* decor */
.dflt hr:not([class]) {
    border: 0;
}
.dflt hr {
    border-top: 1px solid var(--color7);
}
@media(max-width: 650px){
    .dflt hr:not(:first-child) {
        margin-top: 1.5rem;
    }
    .dflt hr:not(:last-child) {
        margin-bottom: 1.25rem;
    }
}

/* list */
.dflt ul > li,
.dflt ol > li {
    position: relative;
}
.dflt ul > li::before {
    background-repeat: no-repeat;
    background-position: 50%;
    content: '';
    position: absolute;
}
.dflt ul:not([class*="style-"]) > li::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.90979 2.48572H1.86655C0.494601 2.48572 -0.407382 3.91896 0.185084 5.15755L1.2491 7.38195C1.80754 8.5494 3.35487 8.80704 4.26084 7.88343L6.34371 5.76C7.06727 5.02235 7.05381 3.83647 6.31368 3.11546L6.21004 3.0145C5.86198 2.67544 5.39548 2.48572 4.90979 2.48572Z' fill='%2322242F'/%3e%3cpath d='M6.43687 8.82388L14.58 0.555991C14.9303 0.200271 15.4085 0 15.9076 0H18.1322C19.7866 0 20.6213 1.99671 19.4598 3.17603L11.3167 11.4439C10.9663 11.7996 10.4881 11.9999 9.98908 11.9999H7.76448C6.11 11.9999 5.27536 10.0032 6.43687 8.82388Z' fill='%2322242F'/%3e%3c/svg%3e");
    height: 1.5em;
    top: .0625em;
}
.dflt ul.style-good > li::before,
.dflt ul.style-bad > li::before {
    left: 0;
    top: 0;
}  
.dflt ul.style-good > li::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='16' viewBox='0 0 20 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.000222087 8.64218L3.39795 5.24445L7.27579 9.04843L16.361 0.000132322L19.7587 3.39786L7.27579 15.807L0.000222087 8.64218Z' fill='%2300B85C'/%3e%3c/svg%3e ");
}
.dflt ul.style-bad > li::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.4488 14.5513L-4.43012e-05 3.13934L3.10223 0.000132322L14.5511 11.449L11.4488 14.5513ZM3.10223 14.5513L-4.43012e-05 11.449L11.4488 0.000132322L14.5511 3.13934L3.10223 14.5513Z' fill='%23FF002B'/%3e%3c/svg%3e ");
}
.dflt li > strong:first-child {
    display: block;
}
.dflt ol {
    counter-reset: num;
}
.dflt ol > li::before {
    left: 0;
    content: counter(num);
    counter-increment: num;
    position: absolute;
    color: var(--color2);
    background-color: var(--color3);
    border-radius: .5em;
    font-weight: 600;
    text-align: center;
}
@media(max-width: 650px) {
    .dflt ul:not(:first-child),
    .dflt ol:not(:first-child) {
        margin-top: 1.5rem;
    }
    .dflt ul:not(:last-child),
    .dflt ol:not(:last-child) {
        margin-bottom: 1.25rem;
    }

    .dflt li:not(:last-child) {
        margin-bottom: 1em;
    }
    .dflt ul:not([class*="style-"]) > li {
        padding-left: 2.5em;
    }
    .dflt ul:not([class*="style-"]) > li::before {
        background-size: 1.25em auto;
        width: 1.625em;
        left: .4375em;
    }  
    .dflt ul.style-good > li,
    .dflt ul.style-bad > li {
        padding-left: 2.5em;
    }
    .dflt ul.style-good > li::before,
    .dflt ul.style-bad > li::before {
        width: 1.625em;
        height: 1.625em;
    }
    .dflt ul.style-good > li::before {
        background-size: 1.15em auto;
    }
    .dflt ul.style-bad > li::before {
        background-size: .8625em auto;
    }
    .dflt ol > li {
        padding-left: 2.5em;
    }
    .dflt ol > li::before {
        top: -.1875em;
        padding: .1875em .3125em;
        min-width: 2em;
    }
}

/* blockquote */
.dflt blockquote {
    border-left: .5em solid var(--color2);
    background: var(--color3);
    margin-left: 0;
    margin-right: 0;
}
@media(max-width: 650px) {
    .dflt blockquote{
        padding: 1.25em 1.5em;
        border-radius: 1rem;
    }
    .dflt blockquote:not(:first-child){
        margin-top: 1.25rem;
    }
    .dflt blockquote:not(:last-child){
        margin-bottom: 1.25rem;
    }
}

/* button */
.dflt .wp-block-button__link {
    font-size: 1em !important;
    line-height: 1;
    padding: .78em 1.33em;
    text-decoration: none;
    border-radius: .5em;
    min-width: 10rem;
    text-align: center;
    background-color: var(--color9);
}
.dflt .wp-block-button__link:not(:hover){
    color: var(--color4);
}
.dflt .wp-block-button__link:hover{
    color: var(--color1);
}
@media(max-width: 650px){
    .wp-block-button{
        width: 100%;
    }
    .wp-block-button:not(:has(.wp-element-button:nth-child(2))) .wp-block-button__link {
        width: 100%;
    }
}

/* table */
.wp-block-table td,
.wp-block-table th{
    border-color: var(--color7);
}
@media(max-width: 650px){
    .wp-block-table td,
    .wp-block-table th{
        padding: .25em .5em;
    }
}

/* iframe */
.wp-block-embed.is-type-video{
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-embed iframe{
    display: block;
}
.wp-block-embed.is-type-video iframe{
    width: 100%;
}
@media(max-width: 1299px){
    .wp-block-embed.is-type-video{
        width: 100%;
    }
}
@media(max-width: 650px){
    .wp-block-embed.is-type-video{
        border-radius: 1em;
    }
    .wp-block-embed.is-type-video iframe{
        height: calc(65vw - 1.95rem);
    }
}

/* colums */
body .is-layout-flex {
    display: flex;
    align-items: normal;
}
.is-layout-flex > :is(*, div) {
    margin: 0;
}
.wp-block-column {
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.dflt .wp-block-columns.leader .wp-block-column > *:not(:first-child){
    margin-top: 1rem;
}
.dflt .wp-block-columns.leader .wp-block-column > *:not(:last-child){
    margin-bottom: 1rem;
}
@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100%;
    }
}
@media(max-width: 650px){
    .dflt .wp-block-columns:not(:first-child) {
        margin-top: 1.5rem;
    }
    .dflt .wp-block-columns:not(:last-child) {
        margin-bottom: 1.25rem;
    }
    .wp-block-columns.leader + .wp-block-separator{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .dflt :where(.wp-block-columns.is-layout-flex) {
        gap: 1.5rem;
    }
}
