/*
Theme Name: 我的自定义主题
Theme URI: shturl.cc/p9tbNTM0KVvMSu
Author: 你自己
Author URI: shturl.cc/p9tbNTM0KVvMSu
Description: 极简 WordPress 自定义主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/


/* ===== 全站统一设计变量（首页+详情共用） ===== */
:root {
    --primary: #2c7be0;
    --primary-dark: #1a5bbf;
    --primary-wp: #007cba;
    --primary-light: #0693e3;
    --danger: #e74c3c;

    --text-dark: #1a2634;
    --text-normal: #3d4a5c;
    --text-light: #7b8ba3;

    --bg-body: #f5f7fa;
    --bg-card: #ffffff;
    --bg-light: #f8fafc;
    --bg-block: #f7f9fc;

    --border-color: #f0f2f6;
    --border-line: #e9edf4;
    --border-line-dark: #e2e6ed;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-hover: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-dropdown: 0 12px 32px rgba(0,0,0,0.08);

    --transition: all 0.24s ease;
    --radius-base: 0;
    --radius-round: 30px;
    --radius-circle: 50%;
}

/* ========== 全站侧边栏通用基础样式（首页/详情共用） ========== */
.sidebar__inner {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    padding: 0px 0px 0px 10px;
    background: transparent;
    border-left: none;
}
/* 侧边通用卡片容器 */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 20px 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: var(--radius-base);
}
.sidebar-widget:hover {
    box-shadow: var(--shadow-hover);
}
.sidebar-widget h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}
.sidebar-widget li:last-child {
    border-bottom: none;
}
.sidebar-widget li a {
    color: var(--text-normal);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.sidebar-widget li a:hover {
    color: var(--primary);
}
/* 侧边文字广告模块 */
.sidebar-ad {
    text-align: center;
    background: var(--bg-light) !important;
}
.sidebar-ad i {
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.sidebar-ad h3 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.sidebar-ad p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
}
.sidebar-ad .ad-btn {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: var(--radius-base);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
}
.sidebar-ad .ad-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,123,224,0.25);
}
/* 标签云 */
.widget-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.widget-tagcloud a {
    background: #f0f4fa;
    color: var(--primary);
    padding: 4px 14px;
    text-decoration: none;
    font-size: 13px !important;
    transition: all 0.24s ease;
}
.widget-tagcloud a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}
/* 图片广告卡片 */
.image-ad-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: var(--radius-base);
}
.image-ad-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.image-ad-widget .ad-image-link {
    display: block;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-base) var(--radius-base) 0 0;
    overflow: hidden;
}
.image-ad-widget .ad-image {
    width: 100%;
    display: block;
    margin: 0;
    border-radius: var(--radius-base) var(--radius-base) 0 0;
    transition: var(--transition);
}
.image-ad-widget:hover .ad-image {
    transform: scale(1.06);
}
.image-ad-widget .ad-content {
    padding: 16px 18px 18px;
}
.image-ad-widget .ad-badge {
    display: inline-block;
    background: #eef2fc;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: var(--radius-base);
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.image-ad-widget h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    line-height: 1.3;
}
.image-ad-widget .ad-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}
.image-ad-widget .ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: var(--radius-base);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.image-ad-widget .ad-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,123,224,0.25);
}
.ad-social-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-light);
}
.douyin-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-body);
    padding: 4px 14px;
    border-radius: var(--radius-base);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}
.douyin-link:hover {
    background: var(--primary);
    color: #ffffff;
}
/* 展会日历基础（全局统一） */
.expo-calendar .month {
    background: var(--text-dark);
    color: #ffffff;
    padding: 10px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}
.expo-calendar .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
}
.expo-calendar .day {
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
    border-bottom: 1px solid #f5f6f9;
}
.expo-calendar .day.event {
    background: #e8f4ea;
    color: var(--primary);
    font-weight: 600;
}


/* 额外补充样式和脚本：确保导航栏效果独立于主题 <style></style>  */

/* ===== 导航条整体样式 ===== */
        .main-navigation {
            background-color: #ffffff;
            border-bottom: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 2px 12px rgba(0,0,0,0.02);
            padding: 6px 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            position: relative;
            z-index: 99;
        }

        .nav-container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            column-gap: 16px;
            row-gap: 8px;
        }

        /* ===== Logo ===== */
        .site-logo {
            flex: 0 0 auto;
        }
        .site-logo a {
            text-decoration: none;
            display: flex;
            align-items: center;
            column-gap: 6px;
            font-size: 1.6rem;
            font-weight: 600;
            color: #1e1e1e;
            letter-spacing: -0.3px;
        }
        .site-logo img {
            max-height: 44px;
            width: auto;
            display: block;
        }
        .site-name {
            background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ===== 右侧顶部容器 ===== */
        .nav-top-right {
            display: flex;
            align-items: center;
            column-gap: 8px;
            flex: 0 0 auto;
            margin-left: auto;
        }

        /* ===== 搜索框 ===== */
        .search-box-modern {
            flex: 0 0 auto;
        }
        .search-box-modern .search-form {
            display: flex;
            width: 100%;
            max-width: 280px;
            height: 44px;
            background: #f5f7fa;
            border-radius: 60px;
            overflow: hidden;
            border: 1px solid #e9edf2;
            transition: all 0.25s ease;
        }
        .search-box-modern .search-form:focus-within {
            border-color: #0693e3;
            box-shadow: 0 0 0 4px rgba(6, 147, 227, 0.10);
            background: #ffffff;
        }
        .search-box-modern .search-input {
            flex: 1;
            border: 0;
            outline: none;
            padding: 0 18px;
            font-size: 0.95rem;
            background: transparent;
            color: #1e1e1e;
            min-width: 80px;
        }
        .search-box-modern .search-input::placeholder {
            color: #a0a8b4;
            font-weight: 400;
        }
        .search-box-modern .search-submit {
            width: 48px;
            height: 100%;
            border: 0;
            background: transparent;
            color: #3d4a5c;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s, background 0.2s;
            border-radius: 0 60px 60px 0;
        }
        .search-box-modern .search-submit:hover {
            color: #0693e3;
            background: rgba(6, 147, 227, 0.06);
        }
        .search-box-modern .search-submit svg {
            stroke: currentColor;
        }

/* ===== 用户区域 ===== */
.nav-user-area {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex: 0 0 auto;
}
/* 新增发布按钮样式 */
.publish-btn {
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: #007cba;
    color: #fff;
    transition: all 0.2s;
    white-space: nowrap;
}
.publish-btn:hover {
    background-color: #0693e3;
    color: #fff;
}

.user-links {
    display: flex;
    align-items: center;
    column-gap: 6px;
    font-size: 0.95rem;
}
.user-links a {
    color: #2c2c2c;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s;
}
.user-links a:hover {
    background: #f0f2f5;
    color: #007cba;
}
.user-links .sep {
    color: #d0d7e2;
    font-weight: 300;
}
/* 注册按钮现在与登录按钮样式一致，无高亮背景 */
.user-links a.register-link {
    color: #2c2c2c;
    background: transparent;
    padding: 6px 14px;
}
.user-links a.register-link:hover {
    background: #f0f2f5;
    color: #007cba;
}

        .user-profile {
            position: relative;
            display: flex;
            align-items: center;
            column-gap: 8px;
            cursor: pointer;
            padding: 4px 12px 4px 6px;
            border-radius: 40px;
            transition: background 0.2s;
            background: transparent;
        }
        .user-profile:hover {
            background: #f0f2f5;
        }
        .user-avatar img {
            border-radius: 50%;
            width: 34px;
            height: 34px;
            display: block;
            border: 2px solid #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .user-name {
            font-size: 0.9rem;
            font-weight: 500;
            color: #1e1e1e;
            max-width: 90px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .user-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            right: 0;
            background: #ffffff;
            box-shadow: 0 12px 32px rgba(0,0,0,0.10);
            border-radius: 16px;
            min-width: 150px;
            padding: 8px 0;
            list-style: none;
            margin: 0;
            border: 1px solid #f0f0f0;
            backdrop-filter: blur(4px);
            z-index: 100;
        }
        /* 移除原来hover显示，改用JS控制open类 */
        .user-dropdown.open {
            display: block;
        }
        .user-dropdown li {
            margin: 0;
        }
        .user-dropdown a {
            display: block;
            padding: 10px 20px;
            color: #2c2c2c;
            text-decoration: none;
            font-size: 0.9rem;
            transition: background 0.15s;
        }
        .user-dropdown a:hover {
            background: #f5f8fc;
            color: #007cba;
        }

        /* ===== 菜单（单独占一行） ===== */
        .nav-menu-wrapper {
            flex: 0 0 100%;
            order: 10;
            width: 100%;
            border-top: 1px solid #f0f0f0;
            padding-top: 8px;
            margin-top: 4px;
        }

        #primary-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            column-gap: 4px;
            flex-wrap: wrap;
        }
        #primary-menu > li {
            margin: 0;
            position: relative;
        }
        #primary-menu > li > a {
            display: block;
            padding: 10px 16px;
            color: #2c2c2c;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 30px;
            transition: all 0.2s ease;
            letter-spacing: 0.2px;
        }
        #primary-menu > li > a:hover {
            background-color: #f0f2f5;
            color: #007cba;
        }
        #primary-menu .current-menu-item > a,
        #primary-menu .current_page_item > a {
            background-color: #eef5fb;
            color: #007cba;
        }

        /* 下拉菜单 桌面hover显示 */
        #primary-menu ul {
            display: none;
            position: absolute;
            top: 110%;
            left: 0;
            background: #ffffff;
            box-shadow: 0 12px 32px rgba(0,0,0,0.08);
            border-radius: 16px;
            padding: 8px 0;
            min-width: 200px;
            list-style: none;
            border: 1px solid #f0f0f0;
            backdrop-filter: blur(4px);
            z-index: 100;
        }
        #primary-menu li:hover > ul {
            display: block;
        }
        #primary-menu ul li {
            margin: 0;
        }
        #primary-menu ul a {
            display: block;
            padding: 8px 20px;
            color: #2c2c2c;
            text-decoration: none;
            font-size: 0.9rem;
            transition: background 0.15s;
        }
        #primary-menu ul a:hover {
            background-color: #f5f8fc;
            color: #007cba;
        }

        /* 二级菜单下拉箭头 */
        .menu-item-has-children > a::after {
            content: "▾";
            margin-left: 6px;
            font-size: 0.7rem;
            opacity: 0.6;
        }

        /* ===== 汉堡按钮（默认隐藏，手机显示） ===== */
        .menu-toggle {
            display: none;
            background: transparent;
            border: none;
            padding: 8px 12px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 500;
            color: #1e1e1e;
            align-items: center;
            column-gap: 8px;
            transition: background 0.2s;
            flex: 0 0 auto;
        }
        .menu-toggle:hover {
            background: #f0f2f5;
        }

        /* 汉堡图标 — 三条横线 */
        .menu-toggle .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 18px;
            flex-shrink: 0;
        }
        .menu-toggle .hamburger span {
            display: block;
            height: 2.5px;
            width: 100%;
            background-color: #1e1e1e;
            border-radius: 4px;
            transition: all 0.25s ease;
        }
        .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
            transform: translateY(7.5px) rotate(45deg);
        }
        .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
            transform: translateY(-7.5px) rotate(-45deg);
        }
        .menu-toggle .menu-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #2c2c2c;
        }

        /* ===== 响应式 ===== */
        @media screen and (max-width: 820px) {
            .nav-container {
                padding: 0 16px;
                column-gap: 12px;
                row-gap: 6px;
            }
            .search-box-modern .search-form {
                max-width: 200px;
                height: 40px;
            }
            .search-box-modern .search-input {
                font-size: 0.9rem;
                padding: 0 14px;
            }
            .search-box-modern .search-submit {
                width: 42px;
            }
            /* 平板发布按钮缩小 */
            .publish-btn {
                padding: 5px 14px;
                font-size: 0.9rem;
            }
        }

        @media screen and (max-width: 720px) {
            .nav-container {
                padding: 0 12px;
                column-gap: 8px;
                row-gap: 4px;
            }

            .site-logo a {
                font-size: 1.3rem;
            }
            .site-logo img {
                max-height: 36px;
            }

            /* 搜索框缩小 */
            .search-box-modern .search-form {
                max-width: 150px;
                height: 36px;
            }
            .search-box-modern .search-input {
                font-size: 0.8rem;
                padding: 0 10px;
                min-width: 50px;
            }
            .search-box-modern .search-submit {
                width: 36px;
            }

            /* 用户区域缩小 */
            .publish-btn {
                padding: 4px 12px;
                font-size: 0.8rem;
            }
            .user-avatar img {
                width: 30px;
                height: 30px;
            }
            .user-name {
                display: none;
            }
            .user-profile {
                padding: 2px 6px 2px 4px;
            }
            .user-links .register-link {
                padding: 4px 12px;
                font-size: 0.8rem;
            }
            .user-links .login-link {
                padding: 4px 8px;
                font-size: 0.8rem;
            }
            .user-links .sep {
                font-size: 0.8rem;
            }

            /* 显示汉堡按钮 */
            .menu-toggle {
                display: flex;
                padding: 4px 8px;
                column-gap: 4px;
            }
            .menu-toggle .hamburger {
                width: 20px;
                height: 16px;
            }
            .menu-toggle .hamburger span {
                height: 2px;
            }
            .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
                transform: translateY(6.5px) rotate(45deg);
            }
            .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
                transform: translateY(-6.5px) rotate(-45deg);
            }
            .menu-toggle .menu-label {
                font-size: 0.8rem;
            }

            /* 菜单改为垂直折叠 */
            .nav-menu-wrapper {
                flex: 0 0 100%;
                order: 10;
                border-top: 1px solid #f0f0f0;
                padding-top: 8px;
                margin-top: 4px;
            }

            #primary-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #ffffff;
                border-radius: 16px;
                padding: 4px 0;
                box-shadow: 0 4px 16px rgba(0,0,0,0.04);
                border: 1px solid #f0f0f0;
                column-gap: 0;
            }
            #primary-menu.open {
                display: flex;
            }
            #primary-menu > li > a {
                padding: 12px 20px;
                border-radius: 0;
                font-size: 1rem;
            }
            #primary-menu ul {
                position: static;
                box-shadow: none;
                border: none;
                padding: 0 0 0 20px;
                border-radius: 0;
                background: #fafcfd;
                margin: 4px 0;
                display: none !important;
            }
            #primary-menu ul.open {
                display: block !important;
            }
            #primary-menu ul a {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            /* 手机端彻底禁用hover下拉 */
            #primary-menu li:hover > ul {
                display: none !important;
            }
        }

        @media screen and (max-width: 480px) {
            .nav-container {
                padding: 0 8px;
                column-gap: 6px;
                row-gap: 3px;
            }

            .search-box-modern .search-form {
                max-width: 100px;
                height: 30px;
            }
            .search-box-modern .search-input {
                font-size: 0.7rem;
                padding: 0 6px;
                min-width: 40px;
            }
            .search-box-modern .search-submit {
                width: 28px;
            }
            .search-box-modern .search-submit svg {
                width: 12px;
                height: 12px;
            }
            /* 超小屏发布按钮再缩小 */
            .publish-btn {
                padding: 2px 8px;
                font-size: 0.7rem;
            }

            .menu-toggle .menu-label {
                display: none;
            }
            .menu-toggle {
                padding: 4px 6px;
            }

            .site-logo a {
                font-size: 1.1rem;
            }
            .site-logo img {
                max-height: 30px;
            }

            .user-avatar img {
                width: 24px;
                height: 24px;
            }
            .user-profile {
                padding: 2px 4px;
            }
            .user-links .register-link {
                padding: 2px 8px;
                font-size: 0.7rem;
            }
            .user-links .login-link {
                padding: 2px 6px;
                font-size: 0.7rem;
            }
            .user-links .sep {
                font-size: 0.7rem;
            }
        }
/* ===== 导航条整体样式 完 ===== */

/* ===== 首页整体样式 开 ===== */
        /* ===== 全局重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #f5f7fa;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        }

        /* ===== 占位样式（仅用于演示） ===== */
        .placeholder-demo {
            background: #eef2f7;
            text-align: center;
            padding: 30px 20px;
            border-radius: 0;
            border: 1px dashed #b0c4de;
            color: #2c3e50;
            font-size: 18px;
        }

        /* ===== 布局容器 仅清除自身装饰，内容正常显示 ===== */
        .layout-container {
            display: flex;
            flex-wrap: nowrap;
            overflow: hidden;
            max-width: 1440px;
            margin: 0;
            background: transparent;
            border-radius: 0;
            box-shadow: none;
        }
        /* 左侧整列垂直容器自适应填充剩余宽度 */
        .layout-left-col {
            flex: 1;
            min-width: 0; /* 关键：允许子元素收缩，解决图片溢出消失 */
        }

        /* ===== 左侧轮播 移除背景色 ===== */
        .carousel-wrapper,
        .carousel-wrapper22 {
            width: 100%;
            padding: 0px 10px 0px 0px;
        }
        .carousel-wrapper22 {
            padding: 0 20px 20px;
        }
        /* 热门帖子标题 */
        .hot-post-title {
            font-size: 22px;
            font-weight: 700;
            color: #1a2634;
			margin: 30px 0 16px;
            padding-bottom: 10px;
			border-bottom: 1px solid #e9edf4;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }						

        /* 横向滚动容器 */
        .hot-scroll-wrap {
            position: relative;
        }
        .hot-scroll-box {
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scrollbar-width: none;
        }
        /* 隐藏滚动条 */
        .hot-scroll-box::-webkit-scrollbar {
            display: none;
        }
        /* 横向帖子轨道 */
        .hot-post-list {
            display: flex;
            gap: 16px;
            padding-bottom: 8px;
            width: max-content;
        }
        /* 单张卡片固定宽度，一行横向排列【直角】 */
        .hot-post-item {
            flex: 0 0 260px;
            background: #fff;
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.24s ease;
        }
        .hot-post-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        }
        /* 左右滑动按钮【保留圆形圆角】 */
        .scroll-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 2px 12px rgba(0,0,0,0.12);
            border: none;
            cursor: pointer;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #2c7be0;
        }
        .scroll-prev { left: 4px; }
        .scroll-next { right: 4px; }
        .scroll-btn:hover {
            background: #2c7be0;
            color: #fff;
        }
        /* 帖子图片【直角】 */
        .hot-post-thumb {
            width: 100%;
            height: 140px;
            object-fit: cover;
            display: block;
            max-width: 100%;
            border-radius: 0;
        }
        /* 帖子文字区域 */
        .hot-post-info {
            padding: 12px;
        }
        .hot-post-info a {
            text-decoration: none;
        }
        .hot-post-name {
            font-size: 15px;
            font-weight: 500;
            color: #1a2634;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .hot-post-name:hover {
            color: #2c7be0;
        }
        .hot-post-meta {
            margin-top: 8px;
            font-size: 12px;
            color: #7b8ba3;
        }

        /* ===== 右侧边栏【透明无背景无边框】 ===== */
		.sidebar__inner {
			width: 360px;
			min-width: 360px;
			flex-shrink: 0;
			padding: 0px 0px 0px 10px;
			background: transparent;
			border-left: none;
		}

        /* ----- 侧边栏内部组件【直角】 ----- */
        .sidebar__inner .widget {
            margin-bottom: 12px;
            background: #ffffff;
            border-radius: 0;
            padding: 20px 20px 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
            transition: box-shadow 0.2s;
            border: 1px solid #f0f2f6;
        }
        .sidebar__inner .widget:hover {
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
        }

        .sidebar__inner .widgettitle {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 4px;
            color: #1a2634;
        }
        .sidebar__inner .widget h4 {
            font-size: 16px;
            font-weight: 500;
            color: #2c7be0;
            margin-bottom: 10px;
            letter-spacing: 0.3px;
        }
        .sidebar__inner .custom-text {
            font-size: 15px;
            line-height: 1.7;
            color: #3d4a5c;
        }

        .sidebar__inner .widget-link {
            text-decoration: none;
            display: block;
        }
        .sidebar__inner .widget-link:hover .widgettitle {
            color: #1a5bbf;
        }

        /* 广告位容器相对定位 */
        .sidebar__inner .adwidget {
            position: relative;
            overflow: hidden;
        }
        /* 广告图片【直角】 */
        .sidebar__inner .adwidget img {
            max-width: 100%;
            width: 100%;
            height: auto;
            border-radius: 0;
            display: block;
            transition: transform 0.2s;
        }
        .sidebar__inner .adwidget img:hover {
            transform: scale(1.01);
        }
        /* 广告标签【保留圆角】 */
        .sidebar__inner .ad-label {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 12px;
            font-weight: 500;
            color: #fff;
            background: rgba(0,0,0,0.45);
            padding: 4px 10px;
            border-radius: 16px;
            letter-spacing: 0.5px;
            z-index: 2;
        }

        .sidebar__inner .wp-block-group__inner-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* ===== 响应式：平板 ===== */
        @media (max-width: 1199px) and (min-width: 768px) {
            .layout-container {
                max-width: 100%;
                margin: 12px;
            }
            .sidebar__inner {
                display: none;
            }
            .hot-post-item {
                flex: 0 0 230px;
            }
        }

        /* ===== 响应式：手机 ≤767px【全屏贴边无留白】 ===== */
        @media (max-width: 767px) {
            .layout-container {
                max-width: 100%;
                margin: 0;
                flex-direction: column;
            }
            .carousel-wrapper22 {
                padding: 0 0 15px;
            }
            .hot-post-title {
                font-size: 18px;
                margin: 20px 10px 12px;
            }
            .hot-post-item {
                flex: 0 0 43vw;
            }
            .hot-post-thumb {
                height: 140px;
            }
            .sidebar__inner {
                display: none;
            }
            .scroll-btn {
                display: none !important;
            }
            .placeholder-demo {
                font-size: 15px;
                padding: 20px 12px;
            }
        }

        /* ===== 工具类 ===== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }
		
.widget_custom_text.custom-text-widget {
    border: 2px solid #cccccc;
    padding: 12px;
    border-radius: 0;
}	


/* ===== 交通/航空/海洋 展会卡片区域完整样式  ===== */
.Exhibition-Category-1 {
  width: 100%;
  background: #f7f9fc; /* 页面浅灰白底色 */
  padding: 40px 20px;
  box-sizing: border-box;
}

/* 大标题：交通/航空/海洋 */
.expo-cat-title {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e6ed; /* 标题下方分割横线 */
}

/* 卡片网格容器 一行4张卡片 */
.expo-grid-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px; /* 上下间距32 左右24 */
}

/* 单张卡片：左图 右文字 横向排列 */
.expo-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* 图片容器固定尺寸 */
.post-thumbnail {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  height: 92px;
  overflow: hidden;
}
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

/* 图片左下角「已结束」黑色半透明标签 */
.exhibition-time-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 13px;
  padding: 3px 8px;
  line-height: 1.4;
}

/* 右侧文字区域 */
.post-card-content {
  flex: 1;
}
/* 展会标题 */
.post-card-content h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.3;
}
.post-card-content h2 a {
  color: #111;
  text-decoration: none;
}
.post-card-content h2 a:hover {
  color: #0066cc;
}

/* 底部日期、阅读、评论小字 */
.post-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #666666;
}

/* 无数据提示文字居中 */
.expo-grid-list p {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: #888;
  font-size: 12px;
}

/* ===== 平板、手机自动适配（自适应不会挤烂） ===== */
/* 大屏平板 3列 */
@media screen and (max-width: 1600px) {
  .expo-grid-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* 小平板 2列 */
@media screen and (max-width: 1200px) {
  .expo-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 手机 1列 图片变全屏宽度 */
@media screen and (max-width: 768px) {
  .expo-grid-list {
    grid-template-columns: 1fr;
  }
  .expo-card {
    flex-direction: column;
  }
  .post-thumbnail {
    width: 100%;
    height: 180px;
  }
  .expo-cat-title {
    font-size: 22px;
  }
}
/* ===== 交通/航空/海洋 展会卡片区域完整样式 完  ===== */
/* ===== 首页整体样式 完 ===== */
