/*Headroom.js*/
.headroom {
    transition: transform 300ms linear;
}



.headroom--pinned {
    transform: translateY(0%);
}

.headroom--unpinned {
    transform: translateY(-100%);
}

/* base css-------------------------------------------------*/
body {
    background: var(--izone-background) !important;
    padding-top: 4.8rem;
    display: -webkit-flex;
    /* Safari */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    color: var(--izone-font-default) !important;
    
}

/*首页*/

.img-center {
    display: block;

    margin-right: auto;
    margin-left: auto;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .img-fluid {
        width: 100%;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.slice {
    position: relative;

    padding-top: 4rem;
    padding-bottom: 4rem;
}

.slice-xl {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.slice-lg {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.justify-content-center {
    justify-content: center !important;
}

.badge-lg {
    padding: .85em 1.375em;
}

.card-bodys {
    min-height: 1px;
    padding: 1.75rem;

    color: #718096;

    flex: 1 1 auto;
}

.lh-130 {
    line-height: 1.3 !important;
}

.text-muted {
    color: #718096 !important;
}

.badge {
    font-size: 80%;
    font-weight: 700;
    line-height: 1;

    display: inline-block;

    padding: .35rem .5rem;

    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;

    border-radius: .375rem;
}

@media (prefers-reduced-motion: reduce) {
    .badge {
        transition: none;
    }
}

a.badge:hover,
a.badge:focus {
    text-decoration: none;
}

.badge:empty {
    display: none;
}

.btn .badge {
    position: relative;
    top: -1px;
}

@media (min-width: 768px) {
    .text-md-left {
        text-align: left !important;
    }

    .text-md-right {
        text-align: right !important;
    }

    .text-md-center {
        text-align: center !important;
    }
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
}

.align-items-center {
    align-items: center !important;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .display-4 {
        font-size: calc(1.425rem + 2.1vw);
    }
}

.text-centers {
    text-align: center !important;
}

.row-grid+.row-grid {
    margin-top: 3rem;
}


.btn-icon .btn-inner--text:not(:first-child)
{
    margin-left: .75em;
}

.btn-icon .btn-inner--text:not(:last-child)
{
    margin-right: .75em;
}
.btn-icon .btn-inner--icon img
{
    width: 20px;
}

.btn-icon .btn-inner--text:not(:first-child)
{
    margin-left: .75em;
}

.btn-icon .btn-inner--text:not(:last-child)
{
    margin-right: .75em;
}

.btn-icon .btn-inner--icon img
{
    width: 20px;
}

.btn-icon-only
{
    display: inline-flex;

    width: 3.125rem;
    height: 3.125rem;
    padding: 0; 

    align-items: center;
    justify-content: center;
}
.btn-icon-only.btn-xs
{
    width: 2rem;
    height: 2rem;
}
.btn-icon-only.btn-sm,
.btn-group-sm > .btn-icon-only.btn
{
    width: 2.4375rem;
    height: 2.4375rem;
}
.btn-icon-only.btn-lg,
.btn-group-lg > .btn-icon-only.btn
{
    width: 4rem;
    height: 4rem;
}
@media (min-width: 992px)
{
    .d-lg-none
    {
        display: none !important;
    }
    .d-lg-inline
    {
        display: inline !important;
    }
    .d-lg-inline-block
    {
        display: inline-block !important;
    }
    .d-lg-block
    {
        display: block !important;
    }
    .d-lg-table
    {
        display: table !important;
    }
    .d-lg-table-row
    {
        display: table-row !important;
    }
    .d-lg-table-cell
    {
        display: table-cell !important;
    }
    .d-lg-flex
    {
        display: flex !important;
    }
    .d-lg-inline-flex
    {
        display: inline-flex !important;
    }
}
@keyframes spinner-border
{
    to
    {
        transform: rotate(360deg);
    }
}

.spinner-border
{
    display: inline-block;

    width: 2rem;
    height: 2rem;

    animation: spinner-border .75s linear infinite; 
    vertical-align: text-bottom;

    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
}
@keyframes hidePreloader {
    0% {
        width: 100%;
        height: 100%;
    }

    100% {
        width: 0;
        height: 0;
    }
}


/*通知*/
.container>div.alert {
    width: 96.666667%;
}


main {
    flex: 1 0 auto;
}

.container,
.container-fluid {
    padding-right: 5px;
    padding-left: 5px;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: rgb(0, 105, 217);
}

.h1,
h1 {
    font-size: 1.4em;
}

.h2,
h2 {
    font-size: 1.3em;
}

.h3,
h3 {
    font-size: 1.2em;
}

.h4,
h4 {
    font-size: 1.1em;
}

.h5,
h5 {
    font-size: 1.05em;
}

.h6,
h6 {
    font-size: 1em;
}

.f-17 {
    font-size: 13px;
}

.f-16 {
    font-size: 12px;
}

.f-15 {
    font-size: 11px;
}

.f-14 {
    font-size: 10px;
}

.f-13 {
    font-size: 9px;
}

.f-12 {
    font-size: 8px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

blockquote {
    padding: .8em;
    margin: 0 0 2.2em;
    border-left: 4px solid #b4b4b4;
    background: #f7f7f7;
    ;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}

.clear-both {
    clear: both;
}

.form-control:focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.alert-debug {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.edit-category-tag {
    position: relative;
    margin-bottom: 2rem;
    color: #8f9ff2;
}

.edit-category-tag>a {
    position: absolute;
    bottom: -1rem;
    right: 0;
    margin-bottom: .5rem
}

ul.checklist {
    padding-left: 1.2em;
}

ul.checklist li {
    list-style: none;
}

.izone-container {
    background-color: var(--izone-background-container);
}


/* top navbar-------------------------------------------------*/
#site-logo-name,
#site-logo-name:hover,
#site-logo-name:active {
    color: #3c3f41;
}


.blog-navbar {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.blog-navbar .dropdown-menu {
    border-radius: 0 0 0.5rem 0.5rem !important;
}

#navbarDropdown .avatar {
    border-radius: 50%;
    width: 40px;
}

.get-msg {
    font-size: 13px;
    position: absolute;
    top: 5px;
    left: 32px;
    z-index: 3;
    color: #fff;
    display: block;
    min-width: 16px;
    padding: 0 3px;
    height: 16px;
    border-radius: 16px;
    line-height: 16px;
    background: red;
}

.blog-navbar .dropdown-menu {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.blog-navbar .navbar-toggler {
    color: rgba(0, 0, 0, .5);
    border-color: rgba(0, 0, 0, .1);
}

.blog-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.edit-blog {
    color: #8f9ff2;
}

.nav-item a.active {
    color: #0069d9;
}


#searchform .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
}

#searchform button {
    border-radius: 0 0.5rem 0.5rem 0;
}

.navbar-nav form.navbar-form {
    width: 11rem;
}

.navbar .navbar-nav .nav-link {
    font-weight: 500
}

/*to top+++++++++++++++++++++++++++++++++++++++++++++++++*/
#to-top {
    position: fixed;
    bottom: 7rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#to-top:hover {
    opacity: 1;
}

#to-top i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*跳到评论*/
#go-to-com {
    position: fixed;
    bottom: 13rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#go-to-com:hover {
    opacity: 1;
}

#go-to-com i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*切换主题*/
#change-theme {
    position: fixed;
    bottom: 10rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#change-theme:hover {
    opacity: 1;
}

#change-theme i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*carousel---------------------------------------------*/
.carousel-inner {
    border-radius: .5rem !important;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    border-radius: 10px;
}

.description {
    border-radius: .5rem;
}

.description h1 {
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.description strong {
    padding-bottom: 7px;
    border-bottom: 2px solid #00AAEE;
}

/* article summary --------------------------------------------------*/
.top-article-img {
    margin-right: -.5rem;
    margin-top: -.5rem;
}

.choice .active {
    color: #212529;
    border-bottom: 2px solid #646464;
}

.summary-list .avatar {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: .2rem;
    border-radius: 50%;
}


.summary-list .media {
    /*background: linear-gradient(to right, #EC695C, #61C454) no-repeat right bottom;*/
    background-size: 0 2px;
    transition: background-size 500ms;
}

.summary-list .media:hover {
    background-position-x: left;
    background-size: 100% 2px;
}

.summary-list .article-block {
    background-color: #fff;
    border-radius: .5rem;
}

.summary-list .cate {
    color: #0069d9;
}

.summary-list .cate:hover {
    color: #0069d9;
}

.meta-container {
    color: var(--izone-font-3);
}

.media-date {
    margin: 0 .5rem;
    padding: 0 .5rem;
    border-left: 1px solid var(--izone-gray-1-1);
}

.media-tag-list {
    display: none;
}

.media-tag-i {
    color: var(--izone-font-2);
}


/* base right --------------------------------------------------*/
.rounded-6 {
    border-radius: .5rem !important;
}

/*#home-card {*/
/*    background-image: linear-gradient(180deg, #47b9f5eb 0%, #FFFFFF 50%);*/
/*}*/

/*#article-view-card {*/
/*    background-image: linear-gradient(180deg, rgba(246, 118, 87, 0.88) 0%, #FFFFFF 20%);*/
/*}*/

/*#category-card {*/
/*    background-image: linear-gradient(180deg, #7890f7eb 0%, #FFFFFF 20%);*/
/*}*/

/*#tag-card {*/
/*    background-image: linear-gradient(180deg, #f1a887eb 0%, #FFFFFF 20%);*/
/*}*/

/*#friends-card {*/
/*    background-image: linear-gradient(180deg, #e3b759eb 0%, #FFFFFF 50%);*/
/*}*/

#category-card .list-group-item {
    background-color: transparent;
}

#home-card .card-header,
#tag-card .card-header,
#category-card .card-header,
#friends-card .card-header,
#article-view-card .card-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

#home-card .card-header strong,
#tag-card .card-header strong,
#category-card .card-header strong,
#friends-card .card-header strong,
#article-view-card .card-header strong {
    padding-bottom: 12.5px;
    border-bottom: 2px solid #00AAEE;
}

#category-card .badge {
    width: 2.2rem;
    background-color: #7087ffed;
    color: #fff;
    font-weight: 700;
    border-radius: .2rem;
}

.category-item:before {
    position: absolute;
    top: 1em;
    left: .2rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #4285f4;
    -webkit-transform-origin: 25% center;
    transform-origin: 25% center;
    border-width: 4px;
    content: "";
}

ul.article-view-list {
    counter-reset: li-index;
}

ul.article-view-list>li {
    list-style-type: none;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

ul.article-view-list>li:last-child {
    border-bottom: none;
    margin-bottom: .2rem;
}

ul.article-view-list>li:before {
    display: block;
    float: left;
    content: counter(li-index);
    counter-increment: li-index;
    font-size: 12px;
    text-align: center;
    border: 0;
    width: 1.1rem;
    margin-right: 0.5rem;
    color: #fff;
    background: rgba(64, 168, 180, 0.8);
    border-radius: 3px
}

ul.article-view-list>li:nth-child(1):before {
    background: rgba(246, 17, 81, 0.8);
}

ul.article-view-list>li:nth-child(2):before {
    background: rgba(243, 51, 15, 0.8);
}

ul.article-view-list>li:nth-child(3):before {
    background: rgba(234, 78, 50, 0.8);
}

ul.article-view-list>li:nth-child(4):before,
ul.article-view-list>li:nth-child(5):before,
ul.article-view-list>li:nth-child(6):before,
ul.article-view-list>li:nth-child(7):before {
    background: rgba(242, 132, 19, 0.8);
}

.blog-info-list p {
    margin-bottom: .5rem;
}

.blog-info-list .badge {
    background-color: #e4e6eb;
    margin-bottom: 0;
    border-radius: .6rem;
    padding: 0.4em 0.5em;
}

/*标签云*/
.tag-cloud {
    width: 100%;
    margin: auto;
    overflow: hidden;
    text-align: left;
}

.tags {
    color: #fff;
    padding: .08rem .4rem;
    float: left;
    text-align: center;
    margin: .3rem;
    transition: all .5s;
    border-radius: .35rem;
}

/*云标签颜色*/
.tags:nth-child(9n+1) {
    background: #78BBE6;
}

.tags:nth-child(9n+2) {
    background: #FF895D;
}

.tags:nth-child(9n+3) {
    background: #A3DE83;
}

.tags:nth-child(9n+4) {
    background: #00BBF0;
}

.tags:nth-child(9n+5) {
    background: #FF2E63;
}

.tags:nth-child(9n+6) {
    background: #0D7377;
}

.tags:nth-child(9n+7) {
    background: #AC005D;
}

.tags:nth-child(9n+8) {
    background: #0881A3;
}

.tags:nth-child(9n+9) {
    background: #EDA045;
}

.tags:hover {
    color: #fff;
    background: #333;
}

/* 全文搜索 */
.highlighted {
    color: #ea6f5a;
}

/*友情链接开始*/
.friend-block {
    line-height: 2;
}

.friend-block h2 {
    text-align: center;
    padding-bottom: 1rem;
    color: var(--izone-font-3);
    letter-spacing: .5rem;
}

.friend-block .friend-list {
    margin-bottom: 3rem;
}

.friend-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px;
    padding-top: 15px;
}

.friend-list .friend-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    user-select: none;
    height: 120px;
    width: 120px;
    background-size: auto 150%;
    ;
    background-position: center;
    background-repeat: no-repeat;

    visibility: visible;
    box-shadow: 0 0 20px 0 rgba(44, 101, 144, 0.1);
}

.friend-list a:hover {
    text-decoration: none;
    /* 去掉链接的下划线 */
    color: inherit;
    /* 使用继承的颜色 */
}

.friend-list a:hover img {
    display: none;
}

.friend-list a:hover .friend-description {
    display: initial;
}

.not-show-friend {
    filter: grayscale(100%);
}

.friend-img {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: hsla(0, 0%, 100%, 0.1);
}

.friend-img img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 24px;
    transition: All 1s ease-in-out;
}

.friend-img .friend-description {
    display: none;
    color: #fff;
    position: absolute;
    padding: 12px 10px 12px 10px;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/*.friend-img img:hover {*/
/*    -webkit-transition: All 1s ease-in-out;*/
/*    -moz-transition: All 1s ease-in-out;*/
/*    -o-transition: All 1s ease-in-out;*/
/*    transform: rotate(360deg);*/
/*    -webkit-transform: rotate(360deg);*/
/*    -moz-transform: rotate(360deg);*/
/*    -o-transform: rotate(360deg);*/
/*    -ms-transform: rotate(360deg);*/
/*}*/

.friend-container .friend-title {
    width: 100%;
    height: 30px;
    background: #ffffff;
    opacity: 0.7;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    bottom: 0;
    text-align: center;
    color: #252933;
}

.friend-request {
    text-align: center;
    margin-top: 6.6rem;
}

.friend-request a,
.friend-post a {
    color: #e0dada !important;
    background-color: #617397;
    padding: 0.4rem 1.5rem;
    border-radius: 999px;
}

.friend-request a:hover {
    color: #FFFFFF !important;
}

.friend-add {
    margin-bottom: 3rem;
    color: var(--izone-font-2);
}

.friend-add p,
.friend-post p {
    margin-bottom: 0;
}

.friend-post {
    text-align: center;
}

.friend-post-btn {
    margin-top: 2rem;
}

.friend-post-btn #friendModal {
    text-align: left;
}

/*友情链接结束*/


/*分页*/
.page-inner {
    margin-top: .8rem;
    margin-bottom: 1rem;
}

.page-inner span {
    background-color: var(--izone-background-container);
    color: var(--izone-font-default);
    display: inline-block;
    text-align: center;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin: 0 .25rem;
    border-radius: .4rem;

}

.page-inner a>span:hover {
    background: #0069d9;
    color: #FFFFFF;
}

.page-inner span.page-active {
    background: #0069d9;
    color: #FFFFFF;
}

.page-inner span.n {
    width: 5rem;
}

/*分页*/
/*404页面+++++++++++++++++++++++*/
.errorpage {
    margin: 30px 15px;
}

.errormsg {
    margin: 30px 0;
    color: #6d6d7b;
}

.errormsg h3 {
    margin: 25px 0;
}

.errormsg a {
    text-decoration: none;
    background: #fff;
    padding: .6em 1em;
    color: #FF7150;
    border: 1px solid #ff7150;
    border-radius: 2px;
    line-height: 35px;
    cursor: pointer;
}

.errormsg a:hover {
    background: #ff7150;
    padding: .6em 1em;
    color: #fff;
}


html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1 0 auto;
    margin-bottom: 100px;
}

/* 页脚基础样式 */
footer {
    flex-shrink: 0;
    padding: 1rem 0;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* 深色页脚（默认） */
footer,
footer.footer-dark {
    background: #1c1f21;
    color: #99979c;
}

/* 深色页脚栏目标题和链接 */
footer .footer-column-title,
footer.footer-dark .footer-column-title {
    color: #e5e7eb;
}

footer .footer-link,
footer.footer-dark .footer-link {
    color: #99979c;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .footer-link:hover,
footer.footer-dark .footer-link:hover {
    color: #fff;
    text-decoration: none;
}

footer a:hover,
footer.footer-dark a:hover {
    color: #fff;
}

/* 浅色页脚（白色） */
footer.footer-light {
    background: #ffffff;
    color: #5a5a5a;
    border-top: 1px solid #e5e7eb;
}

/* 浅色页脚栏目标题 */
footer.footer-light .footer-column-title,
footer.footer-light h5 {
    color: #2c3e50;
    font-weight: 600;
}

/* 浅色页脚链接 */
footer.footer-light .footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.footer-light .footer-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

footer.footer-light a {
    color: #6b7280;
    transition: color 0.2s ease;
}

footer.footer-light a:hover {
    color: #3b82f6;
}

footer.footer-light .card-body {
    color: #5a5a5a;
}

footer.footer-light .with-love i {
    color: #ef4444;
}

footer.footer-light #web-day,
footer.footer-light #year-info {
    color: #5a5a5a;
}

@keyframes iconAnimate {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(0.9);
    }

    20%,
    40%,
    60%,
    80% {
        transform: scale(1.1);
    }

    50%,
    70% {
        transform: scale(1.1);
    }
}

.with-love i {
    color: #ff2152;
    display: inline-block;
    margin: 0 .2rem;
    animation: iconAnimate 1.33s ease-in-out infinite;
}

.bg-none {
    background-color: transparent !important;
}

.tool-link-text {
    overflow: hidden;
    /* 隐藏溢出的文本 */
    text-overflow: ellipsis;
    /* 在被裁剪文本末尾添加省略号 */
    white-space: nowrap;
}

/*归档页面start*/
div.archive>ul:before {
    content: ' ';
    background: #a9dcc7;
    display: inline-block;
    position: absolute;
    left: 1.85rem;
    width: .1rem;
    height: 98%;
    z-index: 400;
    margin-top: .5rem;
}

div.archive>ul>li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border: 3px solid #228e6c;
    border-radius: 0.5rem;
    left: 1.4rem;
    width: 1rem;
    height: 1rem;
    z-index: 400;
    margin-top: .5rem;
}

div.archive>ul>li:first-child:before {
    background-color: #228e6c;
    color: rgb(226 232 240);
}

div.archive>ul,
div.archive>ul>li>ul {
    list-style-type: none;
}

/*归档页面end*/

/*专题页面start*/
.subject-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.subject-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.subject-card-link:hover {
    color: inherit;
    text-decoration: none;
}

/* 图片容器 */
.subject-card-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 比例 */
}

.subject-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subject-card:hover .subject-card-image img {
    transform: scale(1.05);
}

/* 图片遮罩层 */
.subject-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subject-card:hover .subject-card-overlay {
    opacity: 1;
}

.subject-view-btn {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.subject-card:hover .subject-view-btn {
    background: #fff;
    color: #333;
}

/* 卡片内容 */
.subject-card .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subject-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 文章数量 */
.subject-article-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.subject-article-count i {
    font-size: 0.85rem;
}

/* 描述文字 */
.subject-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    /* 限制为2行，超出显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em; /* 保持固定高度 */
}

/* 响应式优化 */
@media (max-width: 576px) {
    .subject-card .card-body {
        padding: 0.75rem;
    }
    
    .subject-card-title {
        font-size: 0.9rem;
    }
    
    .subject-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .subject-card-image {
        padding-top: 60%; /* 移动端使用更宽的比例 */
    }
}

/*专题页面end*/


/*全局样式参数start*/
.light-theme,
body {
    --izone-layer-golden-1: #faf3e5;
    --izone-layer-golden-2: #f6e7cb;
    --izone-component-hover: #e4e6eb;
    --izone-gradientgold_normal_start: #fde8c3;
    --izone-gradientgold_normal_end: #edd3a7;
    --izone-gradientgold_hover_start: #f1dfc0;
    --izone-gradientgold_hover_end: #e6c99b;
    --izone-gradientgold_click_start: #e9d5b3;
    --izone-gradientgold_click_end: #dac29a;
    --izone-layer_loading_start: rgba(228, 230, 235, 0);
    --izone-layer_loading_end: rgba(228, 230, 235, 0.5);
    --izone-layer_golden_2: #faf3e5;
    --izone-font_golden_4: #7e5d25;
    --izone-font-golden-1: #7e5d25;
    --izone-font-golden-2: #8a795c;
    --izone-font-golden-3: #d6b885;
    --izone-gray-0: #fff;
    --izone-gray-1-1: #e4e6eb;
    --izone-gray-1-2: rgba(228, 230, 235, 0.5);
    --izone-gray-1-3: #e4e6eb;
    --izone-gray-2: #f2f3f5;
    --izone-gray-3: #f7f8fa;
    --izone-background: #f2f3f5;
    --izone-layer-1: #fff;
    --izone-layer-2-1: #f7f8fa;
    --izone-layer-2-2: rgba(247, 248, 250, 0.7);
    --izone-layer-3-fill: #f2f3f5;
    --izone-layer-3-border: #e4e6eb;
    --izone-layer-4-dropdown: #fff;
    --izone-layer-5: #fff;
    --izone-brand-1-normal: #1e80ff;
    --izone-brand-2-hover: #1171ee;
    --izone-brand-3-click: #0060dd;
    --izone-brand-4-disable: #abcdff;
    --izone-brand-5-light: #eaf2ff;
    --izone-mask-1: rgba(0, 0, 0, 0.4);
    --izone-mask-2: #fff;
    --izone-mask-3: none;
    --izone-brand-fill1-normal: rgba(30, 128, 255, 0.05);
    --izone-brand-fill2-hover: rgba(30, 128, 255, 0.1);
    --izone-brand-fill3-click: rgba(30, 128, 255, 0.2);
    --izone-brand-stroke1-normal: rgba(30, 128, 255, 0.3);
    --izone-brand-stroke2-hover: rgba(30, 128, 255, 0.45);
    --izone-brand-stroke3-click: rgba(30, 128, 255, 0.6);
    --izone-font_danger: #ff5132;
    --izone-font-default: #252933;
    --izone-font-1: #30333b;
    --izone-font-2: #515767;
    --izone-font-3: #8a919f;
    --izone-font-4: #c2c8d1;
    --izone-font-brand1-normal: #1e80ff;
    --izone-font-brand2-hover: #1171ee;
    --izone-font-brand3-click: #0060dd;
    --izone-font-brand4-disable: #abcdff;
    --izone-font-success: #2bb91b;
    --izone-font-warning: #ff8412;
    --izone-font-danger: #ff5132;
    --izone-font-white-disable: #fff;
    --izone-font-white: #fff;
    --izone-success-1-normal: #00b453;
    --izone-success-2-deep: #00964e;
    --izone-success-3-light: #e2faed;
    --izone-warning-1-normal: #ff7426;
    --izone-warning-2-deep: #e05e00;
    --izone-warning-3-light: #fff3e5;
    --izone-danger-1-normal: #f64242;
    --izone-danger-2-deep: #cb2634;
    --izone-danger-3-light: #fff2ff;
    --izone-sub-1-purple: #9f54ff;
    --izone-sub-2-blue: #57a0ff;
    --izone-sub-3-cyan: #5ad7ff;
    --izone-sub-4-green: #33d790;
    --izone-sub-5-yellow: #ffcc15;
    --izone-sub-6-orange: #ff834e;
    --izone-sub-7-red: #ff5e54;
    --izone-coupon_1_button: #f64242;
    --izone-coupon_1_button_disable: #faa0a0;
    --izone-coupon_2_card: rgba(255, 245, 244, 0.7);
    --izone-coupon_3_stroke: rgba(246, 66, 66, 0.2);
    --izone-navigation: #fff;
    --izone-shade-1: rgba(0, 0, 0, 0.4);
    --izone-shade-2: rgba(0, 0, 0, 0.6);
    --izone-popup: #fff;
    --izone-popover: #464646;
    --izone-sheets: #f7f8fa;
    --izone-coupon-button: #f64242;
    --izone-coupon-button-disable: #faa0a0;
    --izone-coupon-card: rgba(255, 245, 244, 0.7);
    --izone-layer-loading-start: #e4e6eb;
    --izone-layer-loading-end: rgba(228, 230, 235, 0.5);
    --izone-font-priv-hint: #916be1;
    --izone-background-jscore-radar: #232323;
    --izone-background-container: #fff;
}

/*全局样式参数end*/


@media (max-width: 420px) {
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col,
    .col-1,
    .col-10,
    .col-11,
    .col-12,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-auto {
        padding-right: 5px;
        padding-left: 5px;
    }

    div.archive>ul>li:before {
        margin-top: .2rem;
    }
}


/* Small devices (landscape phones, 576px and up) */
/* X-iPhone6 AND plus */
@media (min-width: 576px) {

    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }

    .f-17 {
        font-size: 14px;
    }

    .f-16 {
        font-size: 13px;
    }

    .f-15 {
        font-size: 12px;
    }

    .f-14 {
        font-size: 11px;
    }

    .f-13 {
        font-size: 10px;
    }

    .f-12 {
        font-size: 9px;
    }
}

/* Medium devices (tablets, 768px and up) */
/* Y-iPad mini */
@media (min-width: 768px) {

    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .f-17 {
        font-size: 16px;
    }

    .f-16 {
        font-size: 15px;
    }

    .f-15 {
        font-size: 14px;
    }

    .f-14 {
        font-size: 13px;
    }

    .f-13 {
        font-size: 12px;
    }

    .f-12 {
        font-size: 11px;
    }

    .summary-list .avatar {
        width: 1.35rem;
        height: 1.35rem;
    }

    .get-msg {
        top: 3px;
        left: 36px;
    }

    .tags {
        font-size: .8rem;
    }
}

/* Large devices (desktops, 992px and up) */
/* X-iPad Y-iPad Pro*/
@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 30%;
    }

    .top-article-img {
        margin-right: -1rem;
        margin-top: -1rem;
    }

    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .tags {
        font-size: .8rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
/* PC X-iPad Pro*/
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .f-17 {
        font-size: 17px;
    }

    .f-16 {
        font-size: 16px;
    }

    .f-15 {
        font-size: 15px;
    }

    .f-14 {
        font-size: 14px;
    }

    .f-13 {
        font-size: 13px;
    }

    .f-12 {
        font-size: 12px;
    }

    .tags {
        font-size: .8rem;
    }

    .article-img {
        cursor: pointer;
        transition: all 0.6s;
    }

    .article-img:hover {
        transform: scale(1.1);
    }

    .summary-list .article-block:hover {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.275)
    }

    .summary-list .avatar {
        width: 1.5rem;
        height: 1.5rem;
    }

    #navbarDropdown .avatar {
        transition: All 0.4s ease-in-out;
        -webkit-transition: All 0.4s ease-in-out;
        -moz-transition: All 0.4s ease-in-out;
        -o-transition: All 0.4s ease-in-out;
    }

    #navbarDropdown .avatar:hover {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }

    .media-tag-list {
        display: inline;
    }

    .media-date {
        border-right: 1px solid var(--izone-gray-1-1);
    }
}





#searchform {
    width: auto;
    min-width: 200px;
    max-width: 230px;
    flex: 0 1 auto;
    margin-left: 10px;
    margin-right: 10px;
}

#searchform.navbar-form {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
}

/* 导航栏搜索框 - 完全自定义样式 */
.navbar-search-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    overflow: visible;
    margin: 0;
    position: relative;
}

/* 自定义下拉框基础样式 */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
}

.custom-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #495057;
}

.custom-select-display:hover {
    border-color: #80bdff;
}

.custom-select-wrapper.active .custom-select-display {
    border-color: #80bdff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select-value {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-arrow {
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s ease;
    display: inline-block;
}

.custom-select-wrapper.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #80bdff;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-select-wrapper.active .custom-select-dropdown {
    display: block;
}

.custom-select-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    color: #495057;
}

.custom-select-option:hover {
    background: #f8f9fa;
    color: #007bff;
}

.custom-select-option.selected {
    background: #e7f3ff;
    color: #007bff;
    font-weight: 500;
}

/* 导航栏自定义下拉框样式 */
.navbar-search-type-wrapper {
    flex: 0 0 53px;
    display: flex;
    align-items: stretch;
    border-right: 1px solid #dee2e6;
    position: relative;
}

.navbar-custom-select {
    width: 100%;
    min-width: 40px;
   
}

.navbar-custom-select .custom-select-display {
    border: none;
    border-radius: 8px;
    padding: 8px 4px 8px 8px;
    font-size: 13px;
    background: #ffffff;
    height: 100%;
    min-width: 40px;
}

.navbar-custom-select .custom-select-display:hover,
.navbar-custom-select .custom-select-display:focus {
    border: none;
    background: #f8f9fa;
    box-shadow: none;
}

.navbar-custom-select.active .custom-select-display {
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
}

.navbar-custom-select .custom-select-value {
    font-size: 13px;
    white-space: nowrap;
}

.navbar-custom-select .custom-select-arrow {
    margin-left: 6px;
    border-top-color: #666;
}

.navbar-custom-select .custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    min-width: 53px;
    border: 1px solid #80bdff;
    border-top: 1px solid #dee2e6;
    border-radius: 4px;
    z-index: 1001;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar-custom-select .custom-select-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    color: #495057;
}

.navbar-custom-select .custom-select-option:hover {
    background: #f8f9fa;
    color: #007bff;
}

.navbar-custom-select .custom-select-option.selected {
    background: #e7f3ff;
    color: #007bff;
    font-weight: 500;
}

.navbar-search-input {
    flex: 1 1 auto;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    padding: 8px 12px;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: #fff;
    color: #495057;
    height: auto;
    min-width: 0;
    box-sizing: border-box;
    vertical-align: middle;
}

.navbar-search-input:focus {
    outline: none;
    box-shadow: none;
}

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

.navbar-search-group:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.15);
}

.navbar-search-btn {
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    border-left: 1px solid rgba(0,0,0,0.1);
    border-radius: 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
}

.navbar-search-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.navbar-search-btn:focus {
    outline: none;
    box-shadow: none;
}

.navbar-search-btn i {
    font-size: 14px;
    line-height: 1;
}

/* 中等屏幕适配 */
@media (max-width: 1200px) {
    #searchform {
        min-width: 280px;
        max-width: 360px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    #searchform {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .navbar-search-group {
        max-width: 100%;
    }
    
    .navbar-custom-select .custom-select-display {
        padding: 6px 2px 6px 6px;
    }
    
    .navbar-search-input {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .navbar-search-btn {
        flex: 0 0 40px;
    }
}


/* ========== 搜索页面主体样式 ========== */
.search-header {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
  
}

.search-title {
    font-size: 28px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.search-title i {
    color: #1890ff;
}

/* 搜索过滤标签 */
.search-filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #595959;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.search-tab:hover {
    background: #e6f7ff;
    color: #1890ff;
    text-decoration: none;
}

.search-tab.active {
    background: #1890ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(72, 166, 255, 0.3);
}


.tab-count {
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 600;
}

.search-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* 搜索统计 */
.search-stats {
    font-size: 15px;
    color: #8c8c8c;
    margin: 0;
}

.search-stats strong {
    color: #1890ff;
    font-size: 18px;
}

.search-empty-tip {
    font-size: 16px;
    color: #8c8c8c;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* 分页样式优化 */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    border-radius: 6px;
    margin: 0 4px;
    border: 1px solid #e8e8e8;
    color: #595959;
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: #1890ff;
    border-color: #1890ff;
}

/* 响应式 */
@media (max-width: 768px) {
    .search-header {
        padding: 20px;
    }
    
    .search-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .search-filter-tabs {
        gap: 8px;
    }
    
    .search-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .tab-count {
        font-size: 12px;
        padding: 2px 6px;
    }
}

/* 空状态 */
.search-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8c8c8c;
}

.search-empty-state i {
    font-size: 48px;
    color: #d9d9d9;
    margin-bottom: 16px;
}

.search-empty-state p {
    font-size: 16px;
    margin: 0;
}



/* ========== 统一卡片风格 ========== */
.search-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d9d9d9;
}

/* 图片容器 */
.search-card-image {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.search-card:hover .search-card-image img {
    transform: scale(1.05);
}

/* 类型标签 */
.search-card-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    color: #1890ff;
    z-index: 10;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-type-challenge {
    color: #52c41a;
}

.search-type-job {
    color: #fa8c16;
}

/* 内容区域 */
.search-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 标题 */
.search-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-card-title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.2s;
}

.search-card-title a:hover {
    color: #1890ff;
}

/* 薪资（岗位专用） */
.search-salary {
    font-size: 16px;
    font-weight: 600;
    color: #f5222d;
    margin-bottom: 10px;
}

/* 描述 */
.search-card-desc {
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.5;
    margin-bottom: 6px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 标签组 */
.search-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.search-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    background: #f5f5f5;
    color: #595959;
    font-weight: 500;
}

.search-tag-category {
    background: #e6f7ff;
    color: #1890ff;
}

.search-tag-diff-easy {
    background: #f6ffed;
    color: #52c41a;
}

.search-tag-diff-medium {
    background: #fff7e6;
    color: #fa8c16;
}

.search-tag-diff-hard {
    background: #fff1f0;
    color: #f5222d;
}

/* 元信息 */
.search-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #8c8c8c;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.search-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-card-meta i {
    font-size: 11px;
    opacity: 0.7;
}

/* 不同类型卡片的装饰色 */
.search-card-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1890ff, #69c0ff);
}

.search-card-challenge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #52c41a, #95de64);
}

.search-card-job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fa8c16, #ffc53d);
}

/* 高亮样式优化 */
.search-card-title mark,
.search-card-desc mark,
mark {
    background: #fff3cd;
    color: #d4380d;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 不同位置的高亮样式 */
.search-card-title mark {
    background: linear-gradient(120deg, #ffd666 0%, #fff566 100%);
    color: #d46b08;
}

.search-card-desc mark {
    background: #fff3cd;
    color: #d4380d;
}

/* 空状态 */
.search-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #8c8c8c;
}

.search-empty-state i {
    font-size: 64px;
    color: #d9d9d9;
    margin-bottom: 20px;
    display: block;
}

.search-empty-state p {
    font-size: 16px;
    margin: 0;
    color: #8c8c8c;
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .search-card-image {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .search-card-content {
        padding: 14px;
    }
    
    .search-card-title {
        font-size: 14px;
        min-height: 38px;
        margin-bottom: 8px;
    }
    
    .search-card-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .search-card-meta {
        font-size: 11px;
        gap: 10px;
        padding-top: 8px;
    }
    
    .search-card-image {
        height: 160px;
    }
    
    .search-empty-state {
        padding: 60px 20px;
    }
    
    .search-empty-state i {
        font-size: 48px;
    }
}



/* ========================================
   全局简约白色表头样式
   适用于所有页面的表格
   ======================================== */

/* ========================================
   全局下拉菜单样式 - 简约风格
   ======================================== */

/* 下拉菜单项悬停效果 */
.dropdown-item:hover {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
}

.dropdown-item:active {
    background-color: #e5e7eb !important;
    color: #1f2937 !important;
}

/* ========================================
   统一自定义下拉框组件 - 适用于所有页面
   ======================================== */

/* 自定义下拉框容器 */
.select-dropdown-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
}

/* 显示区域 */
.select-dropdown-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
    min-width: 100px;
}

.select-dropdown-display:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.select-dropdown-wrapper.active .select-dropdown-display {
    background: #f9fafb;
    border-color: #d1d5db;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 显示的值 */
.select-dropdown-value {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 下拉箭头 */
.select-dropdown-arrow {
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6b7280;
    transition: transform 0.2s ease;
    display: inline-block;
}

.select-dropdown-wrapper.active .select-dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.select-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 100%;
    width: max-content;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 1px solid #d1d5db;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.select-dropdown-wrapper.active .select-dropdown-menu {
    display: block;
}

/* 下拉选项 */
.select-dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.select-dropdown-option:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.select-dropdown-option.selected {
    background: #f3f4f6;
    color: #1f2937;
    font-weight: 600;
}

/* 小尺寸 */
.select-dropdown-sm .select-dropdown-display {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 100px;
}

.select-dropdown-sm .select-dropdown-option {
    padding: 8px 10px;
    font-size: 13px;
}

/* 大尺寸 */
.select-dropdown-lg .select-dropdown-display {
    padding: 10px 14px;
    font-size: 15px;
    min-width: 120px;
}

.select-dropdown-lg .select-dropdown-option {
    padding: 12px 14px;
    font-size: 15px;
}

/* ========================================
   全局表格背景样式 - 仅提供颜色，不改变布局
   ======================================== */

/* 表头背景色 + 底部线条 */
.table thead th,
.dynamic-table thead th {
    background: #ffffff;
    border-bottom: 1px solid #f5f5f5;
}

/* 表格行悬停背景色 */
.table tbody tr:hover,
.dynamic-table tbody tr:hover {
    background-color: #fafafa;
}

/* 第一列背景色 */
.table tbody td:first-child,
.dynamic-table tbody td:first-child {
    background: white;
}

.table tbody tr:hover td:first-child,
.dynamic-table tbody tr:hover td:first-child {
    background-color: #fafafa;
}
