/**
      文章模块
       */

.content {
    /*background: #f9f9f9;*/
    padding: 15px 0 0;
}

/* 控制 iframe 容器内容居中 */
.content-box iframe {
    display: block;
    margin: 0 auto;
    max-width: 280px;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.content-box {
    background: #fff;
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 15px;

}

.box-title {
    position: relative;
    font-size: 18px;
    color: #4e6ef2;
    margin-bottom: 10px;
    padding-left: 10px;
    display: flex; /* 让内容横向排列 */
    justify-content: space-between; /* 左右分布 */
    align-items: center;
}

.box-title .more-link {
    font-weight: normal;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.box-title .more-link:hover {
    color: #4e6ef2;
}

.box-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 3px;
    height: 15px;
    background-color: #4e6ef2;
    /*border-radius: 2px;*/
}

.article-list {
    list-style: none;
    padding-left: 0;
}
.article-list .new-article{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.new-article span:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: calc(100% - 100px); /* 根据时间宽度调整 */
    vertical-align: middle;
}
.article-list .new-article .time{
    min-width: 75px;
    color:red;
    font-size: 14px;
}

.article-list li {
    padding: 10px;
}

.article-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.article-list li:hover {
    cursor: pointer;
    color: #4e6ef2;
    background: #eee;
}




.main-container {
    max-width: 1100px;
    margin: 10px auto;
    display: flex;
    gap: 15px;
}
.left-area {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.right-container {
    width: 280px;
}
.info-box {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border-radius: 6px;
    overflow: hidden;
}
.info-header {
    padding: 15px 15px;  /* 加高内边距 */
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: bold;
}
.info-header span {
    font-size: 18px;  /* 模块名称字号改为 18px */
}
.info-header a {
    font-weight: normal;
    font-size: 14px;
    text-decoration: none;
    color: #999;
}
.info-list {
    padding: 10px 15px;
    list-style: none;
    margin: 0;
}
.info-list li {
    border-bottom: 1px dashed #eee;
    padding: 10px ;
    font-size: 16px;
}

.info-list li:hover {
    cursor: pointer;
    color: #4e6ef2;
    background: #eee;
}

.info-list  a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.info-list li:last-child {
    border: none;
}
.rank-list {
    padding: 17px 15px 0;
}
.rank-item {


    display: flex;
    /*align-items: center;*/
    margin-bottom: 20px;
}
.rank-item img {
    width: 87px;
    height: 82px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}
.rank-item a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}




.friend-links {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    max-width: 1100px;
    margin:15px auto;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    padding: 15px;
    font-size: 14px;
}

.friend-links-title {
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-list a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s;
}

.friend-links-list a:hover {
    color: #007bff;
}


.article-search {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.article-search input[type="text"] {
    font-size: 14px;
    padding: 8px 10px;
    border: none;
    /*border-radius: 20px;*/
    outline: none;
    width: 80%;
    background: #fff;
    color: #333;
}

.article-search input::placeholder {
    color: #999;
}

.article-search button {
    width: 20%;
    padding: 6px 12px;
    /*color: #4e6ef2;*/
    color:#555;
    border: none;
    /*border-radius: 20px;*/
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    /*background-color: #dbe1ff;*/
}

.article-search button:hover {
    background-color: #dbe1ff;
}