@import url('public.css');
html, body { height: 100%; font-family: "Microsoft YaHei","微软雅黑","PingFang SC",sans-serif; }
.web_notice:before { content: '书法字典平台，搜集书法资料百万+,力争头部工具应用，欢迎投资合作，微信号：wfhbwlj'; }
body { background-color: #f5f0e8; color: #333; display: flex; flex-direction: column; }
.wrapper { flex: 1; }
.notice { background: linear-gradient(135deg, #d9c8b2 0%, #c4ad93 100%); font-size: 0.8rem; color: #7a6a5a; padding: 10px 0 10px 0; border-bottom: 1px solid #b9afa0; }
.links { padding-top: 20px; padding-bottom: 20px; }
.links a { color: #f60; display: inline-block; margin-right: 10px; }

.noticeR span { border-right: #7a6a5a solid 1px; padding: 0 10px 0 10px; }
.noticeR span, .noticeR span a { font-size: 14px !important; }

.searchForm { padding-top: 10vh; padding-bottom: 4vh; max-width: 1280px; }
.lastSearch a { display: inline-block; margin-right: 10px; padding: 2px 5px 2px 5px; }
.minMenu { text-align: center; max-width: 800px; margin: 0 auto; margin-bottom: 10vh; }
.chgSt { cursor: pointer; color: #600; }
.wb { margin-top: 20px; }

.mainMenu { background: linear-gradient(188deg, #e98b17, #9f1535); margin-top: 10px; line-height: 50px; }
    .mainMenu a { display: inline-block; font-weight: bold; width: 90px; color: #eee; font-size: 1rem; transition: ease-in-out .5s all; position: relative; text-decoration: none; text-align: center; }
    .mainMenu a:before { content: ""; height: 3px; width: 0; left: 0; right: 0; margin: auto; bottom: 8px; position: absolute; background-color: #fff; transition: ease-in-out .3s all; }
    .mainMenu a:hover { color: #fff; transition: ease-in-out .5s all; }
    .mainMenu a:hover:before { width: 80%; transition: ease-in-out .3s all; }
.navBtn { display: none; }
/*======================================================*/
.minMenu { text-align: center; margin-bottom: 2vh; }
    .minMenu a { display: block; text-align: center; text-decoration: none; font-size: 16px; margin-bottom: 20px; }
    .minMenu a span { margin: 10px; display: inline-block; text-align: center; font-size: 35px; color: #FFFFFF; border-radius: 45px; height: 55px; width: 55px; }
    .minMenu a span { background: linear-gradient(45deg, #648bff, #FBAA58 100%); }
    .minMenu a:nth-child(1) span { background: linear-gradient(45deg,#ed0000,#feffcf); }
    .minMenu a:nth-child(2) span { background: linear-gradient(45deg,#142ff3,#3abfff); }
    .minMenu a:nth-child(3) span { background: linear-gradient(45deg,#04751c,#b6d700); }
    .minMenu a:nth-child(4) span { background: linear-gradient(45deg,#003df1,#7840ff); }
    .minMenu a i { display: block; text-align: center; font-style: normal; }
    .minMenu { display: flex; flex-wrap: wrap; gap: 1rem; width: 100%; max-width: 1200px; margin: 0 auto; }
    .minMenu a { flex: 1 1 0; box-sizing: border-box; background: linear-gradient(95deg, #f5ede4, #faf6f0); border-radius: 0.75rem; padding: 1.5rem 0.5rem; box-shadow: 0 10px 16px rgba(120,90,60,0.08); text-align: center; font-weight: 500; color: #4a3728; border: 1px solid #e8ddd0; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
    
    .minMenu a:hover { background: linear-gradient(0deg, #f5ede4, #ffffff); border-color: #c4a88a; box-shadow: 0 8px 28px rgba(120,90,60,0.58), inset 0 1px 0 rgba(255,255,255,0.8); transform: translateY(-3px); }
/*======================================================*/
@media screen and (max-width: 767px) {
.minMenu { gap: 0.6rem; } 
.minMenu a { flex: 0 0 calc((100% - 0.6rem * 3) / 4); max-width: calc((100% - 0.6rem * 3) / 4); padding: 0.9rem 0.1rem; border-radius: 0.5rem; }
.minMenu a .emoji { font-size: 1.6rem; } 
.minMenu a .label { font-size: 0.75rem; } }
@media screen and (max-width: 480px) { 
    .minMenu { gap: 0.4rem; } 
    .minMenu a { flex: 0 0 calc((100% - 0.4rem * 3) / 4); max-width: calc((100% - 0.4rem * 3) / 4); padding: 0.6rem 0.1rem; border-radius: 0.4rem; } 
    .minMenu a .emoji { font-size: 1.4rem; } 
    .minMenu a .label { font-size: 0.65rem; } 
    
}


.masterMenu { margin-left: 5px; }
    .masterMenu span { display: inline-block; padding: 5px 15px 5px 15px; border: #d3d3d3 solid 1px; border-radius: 5px 5px 0 0; border-bottom: none; background: linear-gradient(5deg, #e7e7e7, #ffffff); margin-right: 10px; }
    .masterMenu span.active { color: #A70609; }
.masterList { line-height: 45px; background-color: #fff; border-radius: 5px 5px 0 0; }
    .masterList p:nth-child(even) { background-color: #fff6ec; }
    .masterList span { margin-right: 10px; width: 45px; height: 45px; text-align: center; display: inline-block; background-color: #960; color: #FFF; }
    .masterList a { margin-right: 10px; line-height: 25px; padding: 2px 8px; display: inline-block; border: #bebdbd solid 1px; margin-bottom: 5px; border-radius: 5px; text-decoration: none; }
    .masterList a:hover { color: #F00; background-color: rgb(238, 215, 168); }
.masterShufa>div { margin-bottom: 10px; }
.calligraphy-box { margin: 0 auto; position: relative; max-width: 920px; padding: 35px 40px; background: #faf7ee; border: 2px solid #d8b77a; color: #5a2618; font-size: 14px; box-sizing: border-box; }

.index_master a{border:#e8ddd0 solid 1px; display:block;padding:5px;}
.index_master img { width: 100%; aspect-ratio: 3 / 4; }
.index_master p { line-height: 1.5; text-align:center;font-family: "华文楷体","STKaiti","KaiTi","楷体",serif; line-height:2}


.breadcrumb { background-color: #f1f1f1; height: 54px; padding: 0 15px; display: flex; align-items: center; gap: 10px; color: #8b7765; font-size: .95rem; border-bottom: 1px solid #e8dfd4; }
    .breadcrumb a { color: #6d5947; text-decoration: none; transition: .2s; }
    .breadcrumb a:hover { color: #b38b6b; }
    .breadcrumb i { font-size: .8rem; color: #b38b6b; margin-right: 5px; }
    .breadcrumb span { color: #cbbba8; }
    .breadcrumb strong { font-weight: 400; color: #2f2419; }
    
article { background: #fff; padding: 1.2rem 1.8rem; border: 1px solid #efebe6; border-radius: 16px; box-shadow: 0 2px 12px #0000000a; transition: .25s; margin-bottom: 10px; }
article:hover { transform: translateY(-2px); border-color: #d6c9b8; box-shadow: 0 8px 28px #78503214; }
h4 { font-family: "华文楷体","STKaiti","KaiTi","楷体",serif; font-size: 1.35rem; font-weight: 400; color: #2f2419; letter-spacing: .5px; margin-bottom: .35rem; display: flex; align-items: center; gap: 10px; }
h4 i, .meta i { color: #b38b6b; }
.new { font-size: .55rem; font-weight: 600; color: #fcf3e5; background: #b38b6b; padding: .05rem .8rem; border-radius: 40px; letter-spacing: 1px; }
article>p:first-of-type { font-size: .92rem; line-height: 1.6; color: #5a4a3a; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.meta { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
    .meta span { white-space: nowrap; background: #f3ede6; border-radius: 40px; padding: .05rem 1rem; font-size: .75rem; color: #7a6450; }
    .meta span:nth-child(2) { font-size: .7rem; }
    .meta span:nth-child(3) { font-size: .6rem; color: #a58d78; background: none; border: 1px solid #dacfc0; padding: .05rem .6rem; letter-spacing: .5px; }
@media(max-width:640px) { 
    article { padding: 1.2rem; } 
    .meta { justify-content: flex-start; flex-wrap: wrap; padding-top: .6rem; border-top: 1px solid #f0e9e0; } 
     h4 { font-size: 1.2rem; } }
.calligraphy-box::before { content: ""; position: absolute; inset: 10px; border: 1px solid #d8b77a; pointer-events: none; }
.calligraphy-box::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#d8b77a,#d8b77a) left 0 top 0 / 18px 2px no-repeat, linear-gradient(#d8b77a,#d8b77a) left 0 top 0 / 2px 18px no-repeat, linear-gradient(#d8b77a,#d8b77a) right 0 top 0 / 18px 2px no-repeat, linear-gradient(#d8b77a,#d8b77a) right 0 top 0 / 2px 18px no-repeat, linear-gradient(#d8b77a,#d8b77a) left 0 bottom 0 / 18px 2px no-repeat, linear-gradient(#d8b77a,#d8b77a) left 0 bottom 0 / 2px 18px no-repeat, linear-gradient(#d8b77a,#d8b77a) right 0 bottom 0 / 18px 2px no-repeat, linear-gradient(#d8b77a,#d8b77a) right 0 bottom 0 / 2px 18px no-repeat; }

.tagline { font-size: 15px; color: #7a6a5a; letter-spacing: 2px; margin-bottom: 18px; font-weight: 300; }

.zh-switch { width: 110px; height: 38px; background: #cbb28b; border-radius: 22px; position: relative; cursor: pointer; user-select: none; border: 1px solid #a88b60; margin-bottom: 30px; transition: .3s; }
    .zh-switch span { position: absolute; width: 48px; height: 32px; top: 2px; left: 3px; background: #fffaf0; border-radius: 20px; line-height: 32px; text-align: center; font-size: 13px; color: #5b4636; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: .35s; }
    .zh-switch.active { background: #59412b; }
    .zh-switch.active span { left: 57px; color: #59412b; }
.zh-switch:before { content: "简"; position: absolute; left: 15px; top: 7px; font-size: 13px; color: #fff; }
.zh-switch:after { content: "繁"; position: absolute; right: 15px; top: 7px; font-size: 13px; color: #fff; }
.font-select { display: flex; gap: 8px; flex-wrap: wrap; }
.font-btn { border: 1px solid #ddd; background: #f8f8f8; padding: 6px 16px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: .2s; }
.font-btn:hover { border-color: #8b0000; color: #8b0000; }
.font-btn.active { background: #8b0000; border-color: #8b0000; color: white; }

.master { overflow: auto; }
    .master_avatar img { padding: 5px; width: 300px; max-width: 100%; }
    .master_avatar p { font-size: 12px; color: #999; text-align: center; }
    .master_meta p { border-bottom: #666 dotted 1px; }
    .master_meta p:last-child { color: #999; }
    .master_info { padding: 20px 0 0 0; }

.search-container .input-group .title-input { flex: 6; }
.search-container .input-group .ziti-select { flex: 1.5; }
.search-container .input-group .author-input { flex: 1.5; }
.search-container .input-group .search-btn { flex: 1; }

.works a { background-color: none; transition: ease-in-out .5s all; }
.works a:hover { background-color: #efefef; transition: ease-in-out .5s all; }

.cover { height: 360px; background: linear-gradient(90deg, #efe6d8, #e6dcc9); box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: ease-in-out .3s all; position: relative; border-radius: 8px; border: #efefef solid 1px; }
.cover:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: ease-in-out .3s all; border: #afa393 solid 1px; }
.title { position: absolute; right: 60px; top: 20px; bottom: 20px; writing-mode: vertical-rl; text-orientation: upright; font-size: 38px; color: #111; letter-spacing: 6px; font-family: "Zhi Mang Xing", serif; background: #b98c5d; }
.author { position: absolute; right: 30px; top: 30px; writing-mode: vertical-rl; text-orientation: upright; font-size: 14px; color: rgba(0,0,0,0.6); }
.seal { position: absolute; right: 20px; bottom: 60px; width: 60px; height: 60px; background: #b91c1c; color: #fff8f0; font-size: 22px; display: flex; align-items: center; justify-content: center; opacity: 0.5; transform: rotate(-6deg); border-radius: 6px; font-family: "Noto Serif SC", serif; letter-spacing: 2px; }
.pagination { --bs-pagination-color: #795548; --bs-pagination-bg: var(--bs-body-bg); --bs-pagination-border-width: var(--bs-border-width); --bs-pagination-border-color: var(--bs-border-color); --bs-pagination-border-radius: var(--bs-border-radius); --bs-pagination-hover-color: #666; --bs-pagination-hover-bg: var(--bs-tertiary-bg); --bs-pagination-hover-border-color: var(--bs-border-color); --bs-pagination-focus-color: #ffc107; --bs-pagination-focus-bg: var(--bs-secondary-bg); --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(181, 146, 53, 0.35); --bs-pagination-active-color: #751440; --bs-pagination-active-bg: #cfc091; --bs-pagination-active-border-color: #b5925f; --bs-pagination-disabled-color: var(--bs-secondary-color); --bs-pagination-disabled-bg: var(--bs-secondary-bg); --bs-pagination-disabled-border-color: var(--bs-border-color); display: flex; padding-left: 0; list-style: none; }
.articleShow img { max-width: 100%; }
.login_div { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 2020; margin: 0 auto; display: none; background-color: rgba(0,0,0,.4); }
.login_div>div { padding: 30px; width: 320px; background-color: rgba(255,255,255,.9); right: 0; left: 0; margin: 0 auto; border-radius: 5px; position: relative; top: 30vh; }
.login_div>div>span { width: 25px; height: 25px; position: absolute; right: 5px; top: 0; z-index: 2021; font-size: 22px; cursor: pointer; }

@media all and (max-width: 980px) { 
    .minMenu a { display: block; text-decoration: none; font-size: 3.5vw; margin-bottom: 20px; } 
    .minMenu span { margin: 10px; font-size: 9vw; display: block; color: #FFFFFF; border-radius: 8vw; height: 13vw; width: 13vw; }
    
}
.adminAside {}

.topNav { background-color: #efefef; line-height: 35px; }
.search-container form { background-color: #bdaf95; padding: 15px; border-radius: 8px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); max-width: 920px; margin: 0 auto; }
    .search-container .input-group { display: flex; border-radius: 6px; overflow: hidden; }
    .search-container input[type="text"],
    .search-container select,
    .search-container button { border: none; outline: none; padding: 10px; }
    .search-container input[type="text"] { flex: 3; }
    .search-container select { flex: 1.2; background-color: #f2e0c9; }
    .search-container button { flex: 1; background-color: #8b5e3b; color: #fff; transition: background 0.3s; }
    .search-container button:hover { background-color: #6d4428; }
.card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-img-top { height: 200px; object-fit: cover; width: 100%; }
.card-body { flex-grow: 1; display: flex; align-items: center; justify-content: center; }

.footer { padding-top: 50px; padding-bottom: 30px; background-color: #000000; text-align: center; font-family: "KaiTi", serif; color: #4e3c31; position: relative; box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1); }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; height: 10px; background: linear-gradient(to right, #d6ad70, #f5f1e3); opacity: 0.3; transform: translateX(-50%); }
    .footer a { color: #4e3c31; text-decoration: none; font-family: "SimHei", sans-serif; font-weight: bold; margin: 0 15px; padding: 5px 10px; border-radius: 5px; transition: all 0.3s ease; }
    .footer a:hover { background-color: #d6ad70; color: #fff; transform: translateY(-2px); }
    .footer p { margin: 5px 0; }
    .footer .social-icons { margin-top: 20px; }
    .footer .social-icons a { font-size: 20px; margin: 0 10px; }
    .footer .social-icons a:hover { color: #d6ad70; }
    
.desk_page { display: inline-block; width: 500px !important; }