/*
Theme Name: JustNews Airdrop
Theme URI: 
Description: JustNews Airdrop Theme
Author: Your Name
Author URI: 
Template: justnews
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: justnews-airdrop
*/

.info-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

        .info-label {
            color: #666;
        }
        .airdrop_cover_photo {
            height: 60px;
        }
    .airdrop-chains {

    }

.chain-tag {
    display: inline-block;
    padding: 3px 10px;
    margin-right: 6px;
    background: #f0f9ff;
    color: #0086f1;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
}
    .search-airdrop{
    padding: 45px 0 30px 0;
    gap: 15px;
}
.search-airdrop .container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
}
.search-airdrop .sidebar {
    width: 250px;
    flex-shrink: 0;
}
.search-airdrop .filter-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.search-airdrop .filter-section input{
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.search-airdrop .filter-section select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    appearance: none; /* 移除默认箭头（某些浏览器可能需要） */
    background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.search-airdrop .filter-section select:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
}
.search-airdrop .filter-section input[type="radio"]:checked + .radio-label:before {
    background-color: #66afe9;
    border-color: #66afe9;
}
.search-airdrop .filter-section input[type="radio"]:checked + .radio-label:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
}
.search-airdrop .filter-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-weight: 500;
    cursor: pointer;
}
.search-airdrop .filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.search-airdrop  .filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.search-airdrop .filter-option input[type="checkbox"],
.search-airdrop .filter-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}
.search-airdrop .filter-option .count {
    margin-left: auto;
    color: #999;
}
.search-airdrop .toggle-icon {
    color: #666;
    font-size: 12px;
}
.border-bottom{
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 10px;
    margin-bottom: 20px;
    width: 100% !important;
}
.search-airdrop .search-container {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 20px auto;
}
.search-airdrop .search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 500px;
}
.search-airdrop .search-button {
    padding: 10px 30px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.search-airdrop .category-item{
    color: var(--theme-base-color);
    padding: 0px;
}
.search-airdrop .category-item .filter-header{
    color: #000;
    font-weight: 400;
    font-size: 14px;
}
.search-airdrop .category-item ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.search-airdrop .category-item ul li{
    margin: 10px 0;
}
.search-airdrop .category-item ul li a {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 4px;
}
.search-airdrop .category-item ul li a:hover {
    background: var(--theme-color);
    color: white;
}
.search-airdrop .category-item ul li.active a {
    background: var(--theme-color);
    color: white;
}
.search-airdrop .category-item ul li a:hover .count{
    color: white;
}
.search-airdrop .category-item ul li.active .count{
    color: white;
}
.search-airdrop .category-item ul li .count {
    margin-left: 10px;
    color: #666;
}
.search-airdrop .main-content{
    margin-left: auto;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px 0;
}
.template-card {
    width: 32%;
    box-sizing: border-box;
    padding: 10px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.template-card:hover {
    transform: translateY(-2px);
}

.template-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.template-info {
    padding: 15px;
}

.template-title {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

.template-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.meta-item{
    color: #666;
    font-size: 12px;
}
.template-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 13px;
}
.airdrop-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.airdrop-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.airdrop-item a {
    text-decoration: none;
    color: inherit;
}

.airdrop-header {
    display: flex;
    gap: 16px;
}

.airdrop-logo {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    overflow: hidden;
    flex-shrink: 0;
}

.airdrop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.airdrop-info {
    flex: 1;
}

.airdrop-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}

.airdrop-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.airdrop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.airdrop-meta {
    display: flex;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.meta-icon {
    font-size: 16px;
}

.airdrop-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1677ff;
    font-size: 14px;
    text-decoration: none;
}

.link-arrow {
    transition: transform 0.2s;
}

.airdrop-link:hover .link-arrow {
    transform: translateX(4px);
}
/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
    .search-airdrop {
        padding: 15px 0;
    }

    .search-airdrop .container {
        flex-direction: column;
        padding: 0 15px;
        gap: 15px;
    }

    .search-airdrop .search-container {
        flex-direction: column;
        max-width: 100%;
        margin: 0 0 15px 0;
    }

    .search-airdrop .search-input {
        min-width: auto;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .search-airdrop .search-button {
        width: 100%;
    }

    .search-airdrop .sidebar {
        width: 100%;
        order: 2;
    }

    .search-airdrop .main-content {
        width: 100%;
        margin-left: 0;
        order: 1;
    }

    .grid-container {
        min-width: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .template-card {
        width: 100%;
        margin-bottom: 10px;
    }

    .template-title {
        font-size: 14px;
        line-height: 1.4;
        margin: 8px 0;
    }

    .template-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .meta-item {
        width: 100%;
    }

    /* 筛选区域优化 */
    .filter-section {
        margin-bottom: 15px;
    }

    .filter-options {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-options label {
        flex: 0 0 calc(50% - 5px);
    }

    .filter-options input[type="date"],
    .filter-options input[type="text"],
    .filter-options select {
        width: 100%;
    }

    /* 分页样式优化 */
    .pagination {
        margin: 20px 0;
        text-align: center;
    }

    .pagination a,
    .pagination span {
        padding: 5px 10px;
        margin: 0 2px;
        font-size: 14px;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .filter-options label {
        flex: 0 0 100%;
    }

    .template-card {
        padding: 8px;
    }

    .template-meta {
        font-size: 12px;
    }

    .status-tag {
        padding: 2px 6px;
        font-size: 11px;
    }
}

/* 优化图片显示 */
.template-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* 优化加载性能 */
@media screen and (max-width: 768px) {
    .template-card {
        transform: none;
        transition: none;
    }

    .template-card:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
}

/* 搜索页顶部分类标签样式 */
.category-item-search {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.category-item-search ul {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item-search li {
    margin: 0;
}

.category-item-search li a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: #666;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.category-item-search li.active a {
    color: #333;
    font-weight: 500;
    background: #fff;
    border-radius: 4px 4px 0 0;
}

.category-item-search li.active a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-color);
}

.category-item-search li a:hover {
    color: var(--theme-color);
}

.category-item-search .count {
    margin-left: 5px;
    font-size: 12px;
    color: #999;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .category-item-search {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .category-item-search ul {
        flex-wrap: nowrap;
    }

    .category-item-search li a {
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* 分页样式 */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

.pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .pagination {
        margin: 20px 0;
    }

    .pagination .page-numbers {
        padding: 6px 12px;
        margin: 0 2px;
        font-size: 14px;
    }

    /* 在移动端隐藏部分页码，只显示当前页附近的页码 */
    .pagination .page-numbers:not(.prev):not(.next):not(.current):not(.current + 1):not(.current + 2):not(.current - 1):not(.current - 2) {
        display: none;
    }
}
.widget_airdrops .airdrops-list {
    margin: -15px;
}

.widget_airdrops .airdrops-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_airdrops .airdrop-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.widget_airdrops .airdrop-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.widget_airdrops .airdrop-thumb {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
}

.widget_airdrops .airdrop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget_airdrops .airdrop-info {
    flex: 1;
}

.widget_airdrops .airdrop-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.widget_airdrops .airdrop-meta {
    font-size: 12px;
    color: #999;
}

.widget_airdrops .airdrop-date {
    color: #999;
}

.airdrop-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: all .3s ease;
}

.airdrop-wrap:hover {
    transform: translateY(-3px);
}

.airdrop-wrap .cover-container {
    position: relative;
    padding-top: 75%;
}

.airdrop-wrap .cover-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.airdrop-wrap span {
    display: block;
    padding: 8px 0;
    text-align: center;
    color: #333;
    font-size: 14px;
}

.hot-article {
    margin: -15px;
}

.hot-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-article-list .item {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hot-article-list .item:last-child {
    border-bottom: none;
}

.hot-article-list .hot-rank {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 1;
    padding: 2px 6px;
    font-size: 12px;
    color: #fff;
    background: #999;
    border-radius: 2px;
}

.hot-article-list .hot-rank-1 {
    background: #ff4d4f;
}

.hot-article-list .hot-rank-2 {
    background: #ff7a45;
}

.hot-article-list .hot-rank-3 {
    background: #ffa940;
}

.hot-article-list .item-inner {
    display: flex;
    text-decoration: none;
}

.hot-article-list .item-img {
    width: 120px;
    height: 80px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.hot-article-list .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-article-list .item-content {
    flex: 1;
    min-width: 0;
}

.hot-article-list .item-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-article-list .item-meta {
    font-size: 12px;
    color: #999;
}

.hot-article-list .item-meta span {
    margin-right: 15px;
}

.hot-article-list .item-meta i {
    margin-right: 3px;
}

.widget_airdrops_lastest .item {
    border-bottom: 1px dashed var(--theme-line-color);
    display: flex;
    margin: 0;
    overflow: hidden;
    padding: 15px 0;
    width: 100%
}

.widget_airdrops_lastest .item:hover img {
    transform: scale(1.03);
    transition: all .3s ease-out 0s
}

.widget_airdrops_lastest .item:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.widget_airdrops_lastest li:before {
    display: none
}

.widget_airdrops_lastest .item-img {
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

.widget_airdrops_lastest .item-img img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .3s ease-out 0s;
}

.widget_airdrops_lastest .item-img.item-video:hover .item-img-inner:after,
.widget_airdrops_lastest .item-img.item-video:hover .item-img-inner:before {
    opacity: 1;
    transition: all .3s ease-out 0s
}

.widget_airdrops_lastest .item-img.item-video .item-img-inner {
    display: block;
    position: relative
}

.widget_airdrops_lastest .item-img.item-video .item-img-inner:before {
    background: rgba(0,0,0,.6);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    height: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    opacity: .8;
    position: absolute;
    top: 50%;
    transition: all .3s ease-out 0s;
    width: 32px;
    z-index: 1
}

.widget_airdrops_lastest .item-img.item-video .item-img-inner:after {
    color: #fff;
    content: "\e646";
    font-family: iconbg;
    font-size: 22px;
    left: 50%;
    line-height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    opacity: .9;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: all .3s ease-out 0s;
    width: 32px;
    z-index: 1
}

.widget_airdrops_lastest .item-img-inner {
    display: block
}

.widget_airdrops_lastest .item-title {
    height: 38px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-height: 1.4
}

.widget_airdrops_lastest .item-title a {
    color: var(--theme-black-color)
}

.widget_airdrops_lastest .item-date {
    bottom: 0;
    color: var(--theme-light-color);
    font-size: 12px;
    line-height: 14px;
    margin: 0;
    position: absolute
}

.widget_airdrops_lastest .item-content {
    flex-shrink: 1;
    margin-left: 10px;
    position: relative;
    width: calc(100% - 110px)
}

.widget_airdrops_lastest .item-no-thumb {
    margin-left: 0;
    width: 100%
}

.widget_airdrops_lastest .item-no-thumb .item-title {
    display: block;
    height: auto;
    -webkit-line-clamp: unset
}

.widget_airdrops_lastest .item-no-thumb .item-date {
    position: relative
}

.widget_airdrops_lastest .item {
    align-items: flex-start
}

.widget_airdrops_lastest .item .item-img {
    box-shadow: 0 1px 3px rgba(0,0,0,.2)
}

.widget_airdrops_lastest .item .item-hot {
    color: var(--theme-gray-color);
    font-size: 12px;
    line-height: 16px
}

.widget_airdrops_lastest .item .item-hot .wi {
    font-size: 16px;
    line-height: 16px;
    margin-right: 3px;
    vertical-align: top
}

:root{--theme-color: #206BE7; --theme-hover: #07c; --logo-height: 32px; --logo-height-mobile: 26px; --menu-item-gap: 28px; --mobile-menu-color: rgba(255, 255, 255, .98); --mobile-menu-active-color: #fff; --mobile-menu-bg-color: var(--theme-color); --theme-border-radius-s: 3px; --theme-border-radius-m: 5px; --theme-border-radius-l: 8px; --theme-border-radius-xl: 12px; --thumb-ratio-default: 480 / 300; --thumb-ratio-post: 480 / 300;}