
#section__content{


    h1, h2, h3 , h4{
        break-inside: avoid;
        break-after: avoid;

        /* hack for avoiding break-after */
        margin-bottom: calc(var(--baseline)*-3);
        &::after{
            content: '';
            display: block;
            height: calc(var(--baseline)*3);
        }
    }

     h5, h6 {
        break-inside: avoid;
        break-after: avoid;

        /* hack for avoiding break-after */
        margin-bottom: calc(var(--baseline)*-2);
        &::after{
            content: '';
            display: block;
            height: calc(var(--baseline)*2);
            // background-color: rgba(255, 255, 0, 0.595);
        }
    }


    h1 + ol + p,
    h2 + ol + p,
    h3 + ol + p,
    h4 + ol + p,
    h5 + ol + p,
    h6 + ol + p{
        text-indent: 0;
    }

    h1{
        font-family: var(--font-title);
        font-size: 1.4rem;
        font-weight: 500;
        text-transform: uppercase;
        line-height: calc(var(--baseline)*1.4);
        text-align: center;
        position: relative;
        margin-top: calc(var(--baseline)*2 - 3px);
        padding-bottom: calc(var(--baseline)*1);
        padding-left: 1ch;
        padding-right: 1ch;
        &::before{
            display: block;
             font-size: var(--fs-num);        
        }
    }

    h1:first-of-type{
        margin-top: 3px!important;
    }


    

    h2{
        font-family: var(--font-title);
        font-size: 1.1rem;
        font-weight: 500;
        text-transform: uppercase;
        line-height: calc(var(--baseline)*1.2);
        // text-align: center;
        position: relative;
        margin-top: calc(var(--baseline)*1 + 6px);
        padding-bottom: calc(var(--baseline)*1);
        // padding-left: 2ch;
        padding-right: 2ch;
        &::before{
           display: block;
            font-size: var(--fs-num);  
            padding-left: var(--indent);    
        }
    }

    

    h3{
        font-family: var(--font-title);
        font-weight: 500;
        font-size: 1rem;
        line-height: calc(var(--baseline)*1);

        // padding-left: var(--indent);
        padding-right: calc(var(--indent)*2);
        position: relative;
        margin-top: calc(var(--baseline)*1 + 4px);
        padding-bottom: calc(var(--baseline)*0.75);
        &::before{
            display: block;
            font-size: var(--fs-num);  
            padding-left: var(--indent);
            // position: absolute;
            // left: 0;
        }
    }

    h4{
        font-family: var(--font-title);
        font-weight: 500;
        font-size: 0.9rem;
        line-height: calc(var(--baseline)*1);
        padding-left: calc(var(--indent)*1);
        padding-right: calc(var(--indent)*2);
        position: relative;
        margin-top: calc(var(--baseline)*1 + 4px);
        padding-bottom: calc(var(--baseline)*0.75);
        text-decoration: underline 1px #cfcfcf;
        text-underline-offset: 3px;
    }


     h5{
        font-family: var(--font-title);
        font-weight: 500;
        font-size: 0.8rem;
        line-height: calc(var(--baseline)*1);
        padding-left: calc(var(--indent)*1);
        // padding-right: calc(var(--indent)*2);
        position: relative;
        margin-top: calc(var(--baseline)*1 + 4px);
        padding-bottom: calc(var(--baseline)*0.25);
    }

    h6{
           font-family: var(--font-title);
        font-weight: 500;
             font-size: 0.8rem;
         margin-top: calc(var(--baseline)*0.5);
         padding-bottom: calc(var(--baseline)*0.25);
         color: #666;
    }


    

}

[data-id="section__content"][data-split-from] > :first-child {
        margin-top: 0;
}