.wp-block-media-text {
    display: grid;
    margin: 1rem 0;
    align-items: center;
    gap: 2rem;
}

.wp-block-media-text figure {
    margin: 0;
}

.wp-block-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.125rem #ccc solid;
    padding-bottom: 0.125rem;
    margin-bottom: 0.625rem;
    gap: 0.5rem;
}

.wp-block-file .wp-block-file__embed {
    display: block;
    margin-top: 1rem;
    order: 3;
}

.popup-content-inner .wp-block-file .wp-block-file__embed {
    min-width: 50vw;
}

.wp-block-file>a {
    text-decoration: none;
}

.wp-block-file__button {
    padding: 0.3125rem 0.9375rem;
    background-color: var(--brand);
    color: #fff;
    text-align: center;
    border-radius: 0.375rem;
    text-decoration: none;
    border: 0.125rem var(--brand) solid;
    transition: background, color .3s;
}

.wp-block-file__button:hover {
    background-color: #fff;
    color: var(--brand);
}

.wp-element-button {
    text-align: center;
}

.wp-block-table {
    margin: 0 0 0.625rem;
    overflow-y: auto;
}

.wp-block-table table {
    width: 100%;
}

.wp-block-table table,
.wp-block-table table tr,
.wp-block-table table tr th,
.wp-block-table table tr td {
    border: 1px var(--brand) solid;
    border-collapse: collapse;
}

.wp-block-table table tr th,
.wp-block-table table tr td {
    padding: .8em;
    min-width: 6.25rem;
}

.wp-block-table table tr th {
    background-color: var(--footer-bg);
}

.wp-block-image {
    display: flex;
    justify-content: center;
}

.wp-block-image.is-style-rounded img {
    border-radius: var(--border-radius);
}

.wp-block-separator {
    background-color: var(--brand);
    color: var(--brand);
    margin: 1rem 0;
}

.wp-block-list li {
    margin-bottom: 0.625rem;
}

.is-layout-flex,
.wp-block-columns-is-layout-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.is-content-justification-center {
    justify-content: center;
}

a.wp-block-button__link {
    border-radius: var(--border-radius);
    display: block;
    background-color: var(--brand);
    padding: 1rem 2rem;
    text-decoration: none;
}

a.shadow-hover:hover,
a.wp-block-button__link {
    transition: box-shadow .3s;
}

a.wp-block-button__link:hover{
    color: #000;
    box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, .3);
}

.wrapper>.wp-block-heading.has-text-align-center::after {
    left: calc(50% - 50px);
}

.wrapper>.wp-block-heading.has-text-align-right::after {
    left: auto;
    right: 0;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-right {
    text-align: right;
}

.has-medium-font-size {
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.has-large-font-size {
    font-size: 1.4rem;
    line-height: 1.6rem;
}

.has-x-large-font-size {
    font-size: 1.6rem;
    line-height: 1.8rem;
}

@media (max-width: 860px) {
    .wp-block-media-text {
        display: block;
    }

    .wp-block-table table tr th,
    .wp-block-table table tr td {
        padding: .2em;
        hyphens: auto;
        font-size: 0.8em;
    }

    .popup-content-inner .wp-block-file .wp-block-file__embed {
        display: none !important;
    }

    .has-medium-font-size {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .has-large-font-size {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .has-x-large-font-size {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    .header-underline h1,
    .header-underline h2,
    .header-underline h3,
    .header-underline h4,
    .wrapper>.wp-block-heading {
        position: relative;
        margin-bottom: 2rem;
    }

    .wrapper-section-hasnt-padding {
        padding: 0.5rem 0;
    }
}

@media (max-width: 620px) {
    .wp-block-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}