@import "../config.css";
/*@import "./tmp42.css";*/
:root{--font:RNSSanz, Arial, Tahoma, sans-serif;--font-size:16px;--content-width:768px;--shadow-color:transparent;--font-color:#7d8497;--accent-color:#df678c;--footer-size-xs:199.5px;--footer-size-sm:212.19px;--footer-size-md:100.5px;--footer-size-lg:111.19px;--header-size-xs:121.69px;--header-size-sm:121.69px;--header-size-md:121.69px;--header-size-lg:55.69px;--serp-header-size:55.69px}body:not(.search-page) header{display:none!important}.mdl-layout__drawer-button{display:none!important}header .mdl-layout-title{position:absolute;right:2rem}body.search-page .content-wrapper{min-height:calc(100vh - calc(var(--serp-header-size) + var(--footer-size-xs)))!important}main,.mdl-layout__content footer{border-top:3px solid var(--accent-color)!important}footer hr{background-color:var(--accent-color)}.search-container{display:none}body:not(.search-page) .mdl-layout__content::before{content:'';background-image:url(../../images/header.jpg);background-size:cover;background-repeat:no-repeat;height:100px;position:relative;background-position:50%;padding-bottom:1rem;width:100vw;margin-bottom:1rem;display:block;max-width:var(--content-width);margin-left:auto;margin-right:auto}.article-info{display:block}.content-wrapper{display:grid!important;grid-template-areas:'info' 'title' 'toc' 'main' 'articles'}.category-menu{display:none!important}.footer-wrapper .layout-logo{order:2}.footer-wrapper .copy{order:1}@media(min-width:500px){body.search-page .content-wrapper{min-height:calc(100vh - calc(var(--serp-header-size) + var(--footer-size-sm)))!important}.article-info{display:flex!important;margin:0!important}}@media(min-width:760px){.footer-wrapper .layout-logo{order:3}body.search-page .content-wrapper{min-height:calc(100vh - calc(var(--serp-header-size) + var(--footer-size-md)))!important}}@media(min-width:1025px){header{display:flex!important}.content-wrapper{display:grid!important;grid-template-areas:'info info info' 'title title title' 'toc toc toc' 'main main main' 'articles articles articles'}.mdl-layout::before{display:none}body:not(.search-page) header{display:flex!important}.mdl-layout__content::before{display:none!important}.article-info{margin-top:.5rem!important}
/*.title{grid-column:1/3}*/
    
}
.afs-box{
    background:#fff;
    padding-bottom:15px;
}
.afs-header {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    color: #202124;
    border-bottom: 1px solid #dadce0;
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-indent: 10px;
}
.afs-list {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}
.afs-item {
    margin-bottom: 20px;
}
.afs-title a {
    font-size: 18px;
    color:#0E4FC8!important;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
}
.afs-title a:hover {
    text-decoration: underline;
}
.afs-link {
    font-size: 14px;
    color: #006621;
    margin-bottom: 3px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.afs-intro {
    font-size: 14px;
    color: #4d5156;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 480px) {
    .afs-header {
        font-size: 20px;
    }
    .afs-title a {
        font-size: 16px;
    }
    .afs-link, .afs-intro {
        font-size: 13px;
    }
}
 /* 整个结果区域允许长单词/长链接折行 */
  .afs-box,
  .afs-list,
  .afs-item,
  .afs-title,
  .afs-title a,
  .afs-link {
      max-width: 100% !important;
      box-sizing: border-box;
  }

  /* 标题链接：一定要能折行 */
  .afs-title a {
      display: inline-block !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;  /* 比 break-word 更狠 */
      word-break: break-all !important;
      text-overflow: clip !important;      /* 防止和 ellipsis 冲突 */
  }

  /* 绿色 URL 行：去掉单行省略号，改成可折行 */
  .afs-link {
      display: block !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
      word-break: break-all !important;
      overflow: visible !important;
      text-overflow: clip !important;
  }

  /* 万一外层是 flex 子项，被 min-width 撑爆，强制允许压缩 */
  .main-content,
  .content-wrapper,
  .afs-list {
      min-width: 0 !important;
  }

  /* 最后兜底，防止页面横向滚动（可选） */
  html, body {
      overflow-x: hidden;
  }