.haozhuti-tax-wrap {}

.haozhuti-tax-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.haozhuti-tax-item {
    padding: 0 20px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
}

.haozhuti-tax-item:hover {
    background-color: #f2f2f2;
    color: var(--e-global-color-accent);
}

.haozhuti-tax-active {
    background: var(--e-global-color-accent) !important;
    color: #fff !important;
}

.haozhuti-list-wrap {}

.haozhuti-list-content .haozhuti-item {}

.haozhuti-pager {
    text-align: center;
    padding: 20px 0;
}

.haozhuti-pager button {
    padding: 8px 12px;
    margin: 0 6px;
    background: var(--e-global-color-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.haozhuti-pager button[data-disabled="1"] {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.haozhuti-list-loading,
.haozhuti-tax-loading {
    font-style: italic;
    color: #999;
}

.haozhuti-list-loading img {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    display: block;
}

.haozhuti-list-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

/* 搜索框 */
.haozhuti-search-wrap {
    max-width: 680px;
    display: flex;
}

.haozhuti-search-wrap input.haozhuti-search-input {
    flex: 1;
    height: 45px;
    padding: 0 20px;
    border: 1px solid #e5dede;
    border-right: none;
    box-sizing: border-box;
    border-radius: 20px 0 0 20px;
    transition: box-shadow 0.3s ease;
}

.haozhuti-search-wrap input.haozhuti-search-input:focus {
    border-color: var(--e-global-color-accent) !important;
    box-shadow: 0 0 5px rgba(65, 95, 255, 0.5);
    z-index: 1;
    outline: none;
}

.haozhuti-search-wrap .haozhuti-search-btn {
    width: 100px;
    height: 45px;
    border: 1px solid var(--e-global-color-accent);
    background-color: var(--e-global-color-accent);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border 0.3s ease;
    border-radius: 0 20px 20px 0;
}

.haozhuti-search-wrap .haozhuti-search-btn:hover {
    background-color: #0123d9;
}


/* 弹窗 */
.hzt-video-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.85);
}

.hzt-video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


/* YouTube iframe */
.hzt-video-content iframe {
    width: 100%;
    height: 100%;
}

/* 关闭按钮样式 */
.hzt-video-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}



.hzt-video-content iframe {
    width: 100%;
    height: 500px;
    display: block;
}

/* ✅ 关闭按钮样式 */
.hzt-video-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 38px;
    text-align: center;
    transition: background 0.3s;
}
.hzt-video-close:hover {
    background: #ff0000;
}

/* ✅ 遮罩层点击关闭 */
.hzt-video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

/* 视频grid布局 */

.hzt-video-list .haozhuti-list-content{
    display: grid;
    gap: 20px 30px;
    grid-template-columns: repeat(3, 1fr);
    
}


