.document-template-default .content-area > .box{
    padding:28px;
    box-sizing: border-box;
}
.document-top{
    width:100%;
    height:470px;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top:0;
    left: 0;
}
.post-type-archive-document #primary-home,.page-template-page-document #primary-home{
    margin-top:265px;
    position: relative;
    display: block;
}
.document-top h2{
    color: #fff;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 26px;
    font-weight: 200;
    position: relative;
    z-index: 2;
}
.search-form-document{
    position: relative;
    width: 600px;
    max-width: 90%;
    z-index: 2;
}
.search-form-document button{
    position: absolute;
    left:0;
    top:5px;
    background: none;
    color:initial;
    border:0;
    line-height: 1;
}
.search-form-document button i{
    font-size: 30px;
}
.search-form-document input{
    border-radius: 99px;
    display: block;
    width: 100%;
    padding: 18px 20px 18px 65px;
    border: 0;
    outline: none;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}
.search-form-document input:focus{
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.document-cat-card{
    background: rgb(242, 242, 242);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    max-width: 1168px;
    margin: 20px auto;
    border-radius: 16px;
}
.document-cat-wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    max-width: 1168px;
    margin: 0 auto;
}

.doc-btn-small{
    position: relative;
    padding: 0;
    width: 100px;
    height: 100px;
    border: 2px solid #888888;
    outline: none;
    background-color: #f4f5f6;
    border-radius: 20px;
    box-shadow: 
        -3px -10px 15px #ffffff, 
        -3px -5px 8px #ffffff, 
        -10px 0px 15px #ffffff, 
        3px 10px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
}

.doc-btn-small:hover{
    transform: scale(1.1);
    box-shadow: 
        -3px -15px 20px #ffffff, 
        -3px -10px 10px #ffffff, 
        -10px 0px 15px #ffffff, 
        5px 15px 15px rgba(0, 0, 0, 0.3);
}

.doc-btn-small:active{
    transform: scale(0.95);
    box-shadow: none;
}

.doc-btn-small-content{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    box-shadow: 
        inset 0px -4px 0px #dddddd, 
        0px -4px 0px #f4f5f6;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    z-index: 1;
    gap: 4px;
}

.doc-btn-small-ai{
    position: relative;
    transform: translate3d(0px, -2px, 0px);
    font-size: 16px;
    font-weight: 600;
    background-color: #888888;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.3s ease-in-out;
}

.doc-btn-small-text{
    position: relative;
    transform: translate3d(0px, -2px, 0px);
    font-size: 16px;
    background-color: #333333;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.3s ease-in-out;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    text-align: center;
}

.doc-btn-small:hover .doc-btn-small-ai,
.doc-btn-small:hover .doc-btn-small-text{
    transform: translateY(-5px);
}
.document-cat-group{
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.document-cat-parent{
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #1a1a2e;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px 0 0 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.document-cat-parent:hover{
    background: #2d2d44;
}
.document-cat-children{
    display: contents;
}
.document-cat-child{
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
}
.document-cat-child:last-of-type{
    border-radius: 0 6px 6px 0;
}
.document-cat-child:hover{
    background: #e0e0e0;
    color: #333;
}
.document-cat-group:has(.document-cat-child) .document-cat-parent{
    border-radius: 6px 0 0 6px;
}
.document-content h2{
    text-align: center;
    margin-top:40px;
    font-size: 26px;
}
.home-atchive-title{
    margin-bottom:26px
}
.document-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.document-cat-top{
    margin-bottom:30px
}
.document-row + .document-row{
    border-top:1px solid #f3f3f3
}
.document-row a{
    display: block;
}
.document-row-right{
    width:110px;
    text-align: right;
    font-size: 12px;
    color:#999;
}
.document-row h3{
    font-size: 17px;
    margin-top:5px;
}
.document-row a:hover{
    text-decoration: underline;
}
.document-cat-rot{
    color:#AAAEB3;
}
.document-row-left{
    width:100%
}
.document-content .button{
    background-color: #ececec
}
.b2-document-content h1{
    font-size: 30px;
}
.document-single-top{
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.document-single-top span{
    margin:0 5px
}
.b2-document-content .entry-content{
    margin-top:30px;
}
.single-document-footer{
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    background: #f5f5f5;
    padding: 40px 0;
}
.document-help{
    margin:20px 0;
    display: flex;
    justify-content: center;
}
.document-help button{
    padding:5px 10px;
    display: flex;
    align-items: center;
}
.document-help button + button{
    margin-left:16px
}
.document-help button i{
    font-size: 20px;
    margin-right:5px
}
.document-more-tips{
    margin-top:40px
}
.document-related h2{
    margin-bottom:10px;
    margin-top:30px
}
.document-related li{
    margin-bottom:10px
}
.b2-document-content{
    display: flex;
}
@media (max-width: 768px){
    .document-section-title{
        font-size: 22px;
    }
    .document-cat-container{
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px 40px;
    }
    .cat-item-main{
        padding: 20px;
    }
    .cat-item-icon{
        width: 52px;
        height: 52px;
    }
    .cat-item-title{
        font-size: 16px;
    }
    .document-cat-item.has-children .cat-item-children{
        max-height: 200px;
    }
}
@media (max-width: 480px){
    .document-top{
        height: 400px;
    }
    .post-type-archive-document #primary-home{
        margin-top: 260px;
    }
    .document-section-header{
        margin: 40px auto 30px;
    }
    .document-top h2{
        font-size: 22px;
    }
}
