/********************************************/
/*Block Editor*/
/********************************************/
.the_content h1 {
    margin-bottom: 1.3em;
    padding-bottom: 0.5em;
    line-height: 1.4;
    font-size: 2.4rem;
    font-weight: bold;
    border-bottom: 1px solid #7f7f7f;
}

.the_content h2 {
    border-left: 5px solid #e52310;
    padding-left: 0.6em;
    margin-bottom: 1.3em;
    line-height: 1.4;
    font-size: 2.0rem;
    font-weight: bold;
}

.the_content h2 span {
    font-size: 1em;
}

.the_content h3 {
    position: relative;
    margin-bottom: 1.3em;
    padding: 0.8em 0.7em;
    background-color: #f5f6f8;
    border-top: 2px solid #000;
    line-height: 1.4;
    font-size: 1.6rem;
    font-weight: bold;
}

.the_content h3:before {
    position: absolute;
    left: 0;
    top: -2px;
    content: '';
    width: 0.8em;
    height: 2px;
    background-color: #e52310;
}

.the_content h4 {
    position: relative;
    margin-bottom: 1.3em;
    padding: 0.8em 0.7em 0.8em 0;
    border-bottom: 2px solid #000;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: normal;
}

.the_content h4:before {
    position: absolute;
    left: 0;
    bottom: -2px;
    content: '';
    width: 0.8em;
    height: 2px;
    background-color: #e52310;
}

.the_content h6,
.the_content h5 {
    padding-bottom: 0.5em;
    margin-bottom: 1.3em;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid #000;
}

.the_content h1 span, .the_content h2 span, .the_content h3 span, .the_content h4 span, .the_content h5 span, .the_content h6 span {
    font-size: 1em;
    color: inherit;
}

.the_content a, .the_content b, .the_content dd, .the_content dt, .the_content li, .the_content p, .the_content span, .the_content td, .the_content th {
    font-size: 1.5rem;
    line-height: 1.8;
}

.the_content p {
    margin-bottom: 3em;
}

.the_content p small {
    font-size: 1.3rem;
}

.the_content p a {
    color: #e52310;
}

.the_content p a:hover {
    text-decoration: underline;
}

.the_content a {
    word-break: break-all;
    text-decoration: underline;
}

.the_content a.wp-block-button__link {
    text-decoration: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.the_content a.wp-block-button__link:hover {
    opacity: .7;
}

.the_content a:hover {
    text-decoration: none;
}

.the_content img {
    margin-bottom: 10px;
}

.the_content .has-x-small-font-size {
    font-size: 1.0rem;
}

.the_content .has-small-font-size {
    font-size: 1.3rem;
}

.the_content .has-regular-font-size {
    font-size: 1.5rem;
}

.the_content .has-large-font-size {
    font-size: 2.4rem;
}

.the_content .has-x-large-font-size {
    font-size: 3.6rem;
}

.the_content .has-huge-font-size {
    font-size: 5.0rem;
}

.the_content ul, .the_content ol {
    margin-bottom: 30px;
    padding-left: 0;
}

.the_content ul li, .the_content ol li {
    margin-bottom: 0.7em;
    text-align: left;
}

.the_content ul li {
    position: relative;
    margin-bottom: 0.7em;
    padding-left: 1em;
}

.the_content ul li:before {
    position: absolute;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    margin: auto;
    content: '';
    width: 0.4em;
    height: 0.4em;
    margin: auto;
    background-color: #ccc;
    border-radius: 100px;
    line-height: 0.4em;
}

.the_content ol {
    counter-reset: item;
    list-style-type: none;
}

.the_content ol ol {
    padding-left: 15px;
}

.the_content ol li {
    text-indent: -1.3em;
    padding-left: 1.3em;
}

.the_content ol li:before {
    counter-increment: item;
    content: counter(item) ".";
    color: #ccc;
    font-weight: bold;
}

.the_content table {
    width: 100%;
    margin: 40px 0;
}

.the_content table th,
.the_content table td {
    padding: 0.7em;
    border: solid 1px #ccc;
    text-align: left;
}

.the_content table th {
    font-weight: bold;
    border-bottom: solid 3px #ccc;
}

.the_content .wp-block-table.is-style-stripes {
    border-bottom: none;
}

.the_content .wp-block-table.is-style-stripes th {
    border-bottom: solid 3px #333;
}

.the_content blockquote {
    margin-bottom: 40px;
    padding: 1.5em 2.5em;
    background: #F5F5F5;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #000;
}

.the_content blockquote p:last-child {
    margin-bottom: 0;
}

.the_content .wp-block-buttons {
    margin: 40px auto;
}

.the_content .wp-block-gallery {
    margin: 40px 0;
}

.the_content figure figcaption {
    text-align: center;
    font-size: 1.5rem;
}

.the_content .wp-block-image {
    margin-bottom: 60px;
}

.the_content .wp-block-image .alignleft {
    float: none;
    margin-right: auto;
}

.the_content .wp-block-image .alignright {
    float: none;
    margin-left: auto;
}

.the_content .wp-block-media-text {
    margin: 40px auto;
}

.the_content .wp-block-columns {
    margin: 0 auto 60px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.the_content .wp-block-columns p {
    margin-top: 0;
}

.the_content div:not(.blogcard) .content_iframe,
.the_content > .content_iframe {
    position: relative;
    width: 100%;
    margin: 30px auto;
    padding-top: 56.25%;
}

.the_content div:not(.blogcard) .content_iframe iframe,
.the_content > .content_iframe iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.the_content .blogcard .content_iframe iframe {
    width: 100%;
}

.the_content .blocks-gallery-item {
    padding-left: 0;
}

.the_content .blocks-gallery-item:before {
    content: none;
}

.the_content #toc_container {
    margin-bottom: 3em;
}

.the_content #toc_container li:before {
    content: none;
}

@media screen and (max-width: 767px) {
    /********************************************/
    /*Block Editor*/
    /********************************************/
    .the_content a, .the_content b, .the_content dd, .the_content dt, .the_content li, .the_content p, .the_content span, .the_content td, .the_content th {
        font-size: 1.4rem;
    }
    .the_content blockquote {
        padding: 20px;
        font-size: 1.4rem;
    }
    .the_content .has-x-small-font-size {
        font-size: 1.0rem;
    }
    .the_content .has-small-font-size {
        font-size: 1.2rem;
    }
    .the_content .has-regular-font-size {
        font-size: 1.3rem;
    }
    .the_content .has-large-font-size {
        font-size: 2.0rem;
    }
    .the_content .has-x-large-font-size {
        font-size: 3.0rem;
    }
    .the_content .has-huge-font-size {
        font-size: 4.0rem;
    }
    .the_content .alignright,
    .the_content .alignleft {
        max-width: 48%;
    }
}
