/* ------------------------替换本地样式------------------------- */
.h-16 {
  height:5rem;
}
.text-sm {
  font-size: 1rem; /*页眉导航字体*/
}

.max-w-7xl {
    max-width: 110rem;
}



@media (min-width: 640px) {
  .sm\:h-\[80vh\] {
        height: 92vh;
    }
}
/* 大屏幕情况下文章列表数量 */
@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* -----------------------定制主题样式 ---------------------------*/
.jd-max-w-10x1 {
    max-width: 150rem;
}


.jd-sticky {
    position: fixed;
    z-index: 1000;
    width: 100%;
}
/* 页眉导航文字 */
.jd-text-base-content {
    color: white;
}

/* 当屏幕宽度小于等于1020px时，将文字颜色改为黑色 */
@media screen and (max-width: 1023px) {
    .jd-text-base-content {
        color: black;
    }
}

.jd-center {
    display: flex;
    justify-content: center; /* 水平居中 */
}

/* --------------------------页面顶部----------------------------- */
.headern {
    width: 100%;
    background: var(--headern-bg);
    color: var(--headern-text);
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.headern-inner {
    max-width: var(--headern-max);
    height: var(--headern-height);
    margin: 0 auto;
    padding: 0 var(--headern-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.headern-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--headern-text);
    text-decoration: none;
}

.headern-logo {
    font-weight: 800;
    letter-spacing: .2px;
}

.headern-sub {
    color: var(--headern-muted);
    font-weight: 600;
}

.headern-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.headern-link {
    color: var(--headern-muted);
    text-decoration: none;
    transition: color .15s ease;
}

.headern-link:hover {
    color: var(--headern-text);
}

.headern-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--headern-muted);
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: color .15s ease;
}

.headern-trigger:hover {
    color: var(--headern-text);
}

.headern-caret {
    transform: translateY(.5px);
}

.headern-dropdown {
    position: relative;
    z-index: 1000; /* 设置一个较高的值 */
}

.headern-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 260px;
    background: var(--headern-panel-bg);
    border: 1px solid var(--headern-panel-border);
    border-radius: 12px;
    padding: 8px;
    display: none;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .12);
}

.headern-panel::before {
    content: "";
    position: absolute;
    right: 14px;
    top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--headern-panel-bg) transparent;
}

.headern-dropdown.is-open .headern-panel {
    display: block;
}

.headern-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
}

.headern-item-title {
    display: block;
    color: var(--headern-panel-text);
    font-weight: 600;
}

.headern-item-desc {
    display: block;
    color: var(--headern-panel-muted);
    font-size: 12px;
    margin-top: 2px;
}

.headern-item:hover {
    background: #f5f7fa;
}

.headern-item:hover .headern-item-title {
    color: #0f172a;
}

@media (max-width: 768px) {
    .headern-inner {
        padding: 0 10px;
    }
    
    .headern-sub {
        display: none;
    }
    
    .headern-actions {
        gap: 10px;
    }
}