/* 站点定制样式（合并自各页面内联 CSS，资源路径相对 css/ 目录） */

:root {
    --cactch-red: #94070a;
    --cactch-gold: #c6a667;
    --text-main: #333;
    --light-gray: #fcfcfc;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* 顶栏下拉面板（参考深酒红圆角样式） */
    --nav-dropdown-bg: rgba(74, 16, 16, 0.96);
    --nav-dropdown-radius: 18px;
    --nav-dropdown-gap: 4px;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--text-main);
}

body.page-sub {
    background: #f4f6f8;
}

body.page-sub a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* --- 导航栏 --- */
.navbar {
    background-color: #fff !important;
    border-bottom: 3px solid var(--cactch-red);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: bold;
    color: var(--cactch-red) !important;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
}

/* 仅顶栏导航，勿用全局 .nav-link：会与侧栏 .sidebar-nav .nav-link 冲突（!important 会压过侧栏 .active 的 color） */
.navbar .nav-link {
    color: #444 !important;
    font-size: 17px;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    color: var(--cactch-red) !important;
}

/* 顶栏当前项：酒红字 + 底边粗线（与稿一致，与下拉悬停条同款 inset） */
.navbar .nav-item.active > .nav-link {
    color: var(--cactch-red) !important;
    box-shadow: inset 0 -3px 0 0 var(--cactch-red);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item.active:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* 顶栏下拉：无三角、深酒红圆角面板、白字与缩进分隔线；宽屏悬停即显、相对父项水平居中 */
.navbar .dropdown-menu {
    border: none;
    border-radius: var(--nav-dropdown-radius);
    padding: 12px 0 8px;
    background: var(--nav-dropdown-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    min-width: 12.5rem;
}

.navbar .dropdown-item {
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    padding: 14px 28px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.navbar .dropdown-menu > li:not(:last-child) {
    position: relative;
}

.navbar .dropdown-menu > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
}

.navbar .nav-link.dropdown-toggle::after {
    display: none !important;
    margin-left: 0 !important;
    vertical-align: 0 !important;
    border: 0 !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        overflow: visible;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown {
        position: relative;
    }

    /* 悬停时与截图类似的底边红色指示条 */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover > .nav-link.dropdown-toggle {
        color: var(--cactch-red) !important;
        box-shadow: inset 0 -3px 0 0 var(--cactch-red);
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover {
        z-index: 1050;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown > .dropdown-menu {
        top: calc(100% + var(--nav-dropdown-gap));
        margin-top: 0;
        z-index: 1051;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    /* 填补与顶栏之间的缝隙，避免移入菜单时 :hover 中断 */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown > .dropdown-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;
        height: var(--nav-dropdown-gap);
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* 折叠菜单内下拉：同样悬停展开（窄屏无 hover 设备仍可通过点击触发 Bootstrap） */
@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-nav .nav-item.dropdown {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover {
        z-index: 1050;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown > .dropdown-menu {
        position: static;
        transform: none;
        left: auto;
        margin-top: 6px;
        width: 100%;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown > .dropdown-menu::before {
        display: none;
    }
}

/* --- 轮播图 --- */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(148, 7, 10, 0.7);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

/* --- 板块标题 --- */
.section-title {
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title h2 {
    font-size: 16px;
    color: var(--cactch-red);
    font-weight: bold;
    position: relative;
    margin-bottom: 0;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--cactch-red);
}

/* --- 色块按钮 --- */
.color-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.color-btn {
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: bold;
}

.color-btn:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.btn-1 { background-color: #94070a; }
.btn-2 { background-color: #c6a667; }
.btn-3 { background-color: #d19e5d; }
.btn-4 { background-color: #7a0608; }
.btn-5 { background-color: #b08d57; }
.btn-6 { background-color: #5a0405; }

.join-btn {
    height: 120px;
    font-size: 20px;
    border-radius: 8px;
}

/* --- 品牌活动卡片 --- */
.square-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.square-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.transition-img {
    transition: transform 0.5s ease;
}

.category-card:hover .transition-img {
    transform: scale(1.1);
}

.card-body p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.badge-cactch {
    background: var(--cactch-red) !important;
}

/* --- Tab 标题区 --- */
.unified-tab-box {
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}

.unified-tab-box .nav-tabs {
    border: none;
    gap: 20px;
}

.unified-tab-box .nav-link {
    border: none !important;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    position: relative;
    background: none !important;
}

.unified-tab-box .nav-link.active {
    color: var(--cactch-red) !important;
}

.unified-tab-box .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--cactch-red);
}

/* 首页：行业焦点 + 通知公告 同一行 Tab，右侧单一「更多」 */
.unified-tab-box--dual {
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.unified-tab-box--dual .unified-tab-box__tabs {
    flex: 1;
    min-width: 0;
}

.unified-tab-box--dual .unified-tab-box__tabs .nav-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 20px;
}

.unified-tab-box--dual .unified-tab-box__tabs .nav-item {
    flex-shrink: 0;
}

.unified-tab-box--dual .unified-tab-more-link {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
}

/* --- 资讯 --- */
.hero-news-card {
    position: relative;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: block;
}

.hero-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.hero-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    color: #fff;
}

.hero-news-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

.thumb-news-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
}

.thumb-news-content {
    flex: 1;
    padding-right: 10px;
    min-width: 0;
}

.thumb-news-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb-news-img {
    width: 80px;
    height: 55px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.text-news-list .news-item {
    padding: 11px 0;
    border-bottom: 1px solid #eee;
    display: block;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    transition: 0.2s;
}

.text-news-list .news-item:hover {
    color: var(--cactch-red);
    padding-left: 5px;
}

/* --- 活动分类按钮 --- */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-btn {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: bold;
    font-size: 15px;
}

.action-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(148, 7, 10, 0.2);
}

.bg-red-dark { background-color: #94070a; }
.bg-gold-dark { background-color: #c6a667; }
.bg-red-light { background-color: #b0080b; }
.bg-gold-light { background-color: #d19e5d; }

/* --- 参与活动 --- */
.participation-wrapper {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.participation-container {
    border: 1px solid #e0e0e0;
    background-color: #fff;
    display: flex;
    align-items: stretch;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.participation-item {
    flex: 1;
    text-decoration: none !important;
    color: var(--cactch-red) !important;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.participation-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: #eee;
}

.participation-item i {
    font-size: 36px;
    color: var(--cactch-red);
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.participation-item span {
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--text-main);
}

.participation-item:hover {
    background-color: #fdf2f2;
}

.participation-item:hover i {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .participation-container {
        flex-direction: column;
    }

    .participation-item:not(:last-child)::after {
        display: none;
    }

    .participation-item {
        border-bottom: 1px solid #eee;
    }
}

/* 首页与其它页背景图不同 */
body.page-index #brand-activity {
    background-image: url("/assets/expo/img/index_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#brand-activity .container {
    max-width: 1100px;
    padding-left: 40px;
    padding-right: 40px;
}

footer {
    background: var(--cactch-red);
    color: #fff;
    padding: 60px 0 0;
}

.copyright-bar {
    background: #000;
    color: #999;
    font-size: 12px;
    padding: 15px 0;
    margin-top: 40px;
}

/* 公安备案等：与版权条一体，图标固定 16×16 */
footer .copyright-bar .police-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.2s ease;
}

footer .copyright-bar .police-link:hover {
    color: #fff;
    text-decoration: underline;
}

footer .copyright-bar .police-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* --- 内页：横幅 / 面包屑 --- */
.banner-wrap {
    height: 230px;
    display: block;
}

.banner-wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.breadcrumb-box {
    background: #fff;
    border-bottom: 1px solid #eef0f2;
    padding: 15px 0;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
}

.breadcrumb-item i {
    color: var(--cactch-red);
    margin-right: 8px;
}

.breadcrumb-box .container-breadcrumb {
    width: 100%;
    max-width: 1200px;
}

/* --- 列表主布局 --- */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0 15px;
    box-sizing: border-box;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-header {
    background: linear-gradient(135deg, var(--cactch-red), #b0080b);
    color: #fff;
    padding: 25px 15px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
}

.sidebar-header::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    opacity: 0.2;
    letter-spacing: 5px;
}

.sidebar-nav .nav-link {
    padding: 18px 25px;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.sidebar-nav .nav-link i.arrow {
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.sidebar-nav .nav-link.active {
    background: #fff;
    color: var(--cactch-red);
    font-weight: bold;
    padding-left: 35px;
    border-left: 6px solid var(--cactch-red);
}

.sidebar-nav .nav-link.active i.arrow {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-nav .nav-link:hover:not(.active) {
    color: var(--cactch-red);
    background: #fff9f9;
    padding-left: 35px;
}

.content-card {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.list-title {
    font-size: 26px;
    color: var(--cactch-red);
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}

.list-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--cactch-red);
}

.news-ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed #eee;
    transition: 0.2s;
}

.news-ul li:hover {
    background: #fdfdfd;
}

.news-ul li a {
    flex: 1;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
}

.news-ul li a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.news-ul li:hover a {
    color: var(--cactch-red);
}

.news-ul li:hover a::before {
    color: var(--cactch-red);
    transform: translateX(5px);
}

.news-date {
    color: #aaa;
    font-size: 14px;
    font-family: "Arial", sans-serif;
}

.pagination-box {
    margin-top: 40px;
}

.page-link {
    color: #666;
    border: none;
    margin: 0 5px;
    border-radius: 5px !important;
    background: #f8f9fa;
}

.page-item.active .page-link {
    background-color: var(--cactch-red);
    border-color: var(--cactch-red);
}

.intro-text {
    padding: 20px;
}

/* --- 文章详情（detail.html）--- */
.article-wrap {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    border: 1px solid #eee;
    padding: 50px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.article-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 30px;
    color: #94070a;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
}

.article-info {
    color: #888;
    font-size: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.article-content {
    font-size: 18px;
    line-height: 2;
    color: #333;
    text-align: justify;
}

.article-content p {
    margin-bottom: 25px;
    text-indent: 2em;
}

.article-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
    font-size: 15px;
}

.btn-print {
    text-align: center;
    margin-top: 40px;
}

.btn-print button {
    background: #94070a;
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 4px;
    cursor: pointer;
}

/* --- 图片列表（imglist）--- */
.img-page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.img-page-title {
    font-size: 26px;
    color: var(--cactch-red);
    font-weight: bold;
    border-bottom: 2px solid var(--cactch-red);
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}

.img-page-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--cactch-red);
}

.img-page-wrapper .img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .img-page-wrapper .img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .img-page-wrapper .img-grid {
        grid-template-columns: 1fr;
    }
}

.img-page-wrapper .img-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.img-page-wrapper .img-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--cactch-red);
}

.img-page-wrapper .img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.img-page-wrapper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-item {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--cactch-gold);
    width: 14px;
    text-align: center;
}

.filter-section {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px 10px;
    min-height: 50px;
    min-width: 0;
    flex-wrap: nowrap;
}

.filter-label {
    width: 120px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex-shrink: 0;
    font-size: 15px;
}

.filter-options {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 15px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

.filter-btn-all {
    background: #eef3ff;
    color: #03386b;
    padding: 5px 25px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-block;
}

/* 活动列表 filter-section：选项默认与 .filter-item 一致，仅 .active 高亮 */
.filter-section .filter-item {
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.filter-section .filter-item.active,
.filter-section .filter-item.active:hover {
    background: var(--cactch-red) !important;
    color: #fff !important;
    font-weight: bold;
}

.filter-section .filter-item:hover:not(.active) {
    color: var(--cactch-red);
}

.filter-btn-all.active {
    background: var(--cactch-red) !important;
    color: #fff !important;
    font-weight: bold;
}

.filter-arrow-icon {
    color: #a4c5f9;
    font-size: 22px;
    margin: 0 10px;
}

.filter-item {
    color: #555;
    padding: 5px 15px;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.3s;
}

.filter-item:hover {
    color: var(--cactch-red);
}

.filter-options::-webkit-scrollbar {
    height: 6px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* --- 赛事/图片详情（imgdetail）--- */
.article-wrap.event-article-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 0;
}

.event-main-title {
    padding: 30px 40px 10px;
    text-align: center;
}

.event-main-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin: 0;
    letter-spacing: 1px;
}

.event-overview {
    display: flex;
    gap: 50px;
    padding: 30px 40px 40px;
    align-items: flex-start;
}

.event-poster {
    flex: 0 0 450px;
    max-width: 100%;
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-poster-inner {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #333;
}

.event-poster-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-params {
    flex: 1;
    padding-top: 10px;
    min-width: 0;
}

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

.param-list li {
    margin-bottom: 14px;
    font-size: 16px;
    color: #333;
    display: flex;
    line-height: 1.5;
}

.param-list li::before {
    content: "•";
    color: #555;
    font-weight: bold;
    margin-right: 12px;
}

.param-label {
    font-weight: bold;
    color: #000;
    white-space: nowrap;
}

.param-note {
    font-size: 13px;
    color: #999;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.event-tabs-bar {
    border-bottom: 2px solid var(--cactch-red);
    margin: 0 40px 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-tab {
    padding: 12px 35px;
    background: #f0f3f7;
    color: var(--cactch-red);
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.event-tab.active {
    background: var(--cactch-red);
    color: #fff;
}

.event-tab:hover:not(.active) {
    background: #e2e6ea;
}

.event-details-body {
    padding: 10px 40px 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.detail-text {
    text-align: justify;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .event-overview {
        flex-direction: column;
    }

    .event-poster {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* ========== 移动端适配（全站布局与字号） ========== */

@media (max-width: 991.98px) {
    .main-container {
        flex-direction: column;
        gap: 20px;
        margin: 24px auto;
        padding: 0 12px;
    }

    /* 内页侧栏：手机隐藏 */
    .main-container .sidebar {
        display: none !important;
    }

    .sidebar-header {
        font-size: 18px;
        padding: 18px 12px;
    }

    .content-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .list-title,
    .img-page-title {
        font-size: 20px;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }

    .news-ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0;
    }

    .news-ul li a {
        font-size: 15px;
        width: 100%;
    }

    .news-date {
        align-self: flex-end;
    }

    .banner-wrap {
        height: 160px;
    }

    .breadcrumb-box {
        padding: 10px 0;
        margin: 10px 0;
    }

    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .article-wrap {
        margin: 24px auto;
        padding: 24px 16px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .article-wrap.event-article-wrap {
        margin: 16px auto;
        border-radius: 10px;
    }

    .event-main-title {
        padding: 20px 16px 8px;
    }

    .event-main-title h1 {
        font-size: 20px;
        letter-spacing: 0;
    }

    .event-overview {
        padding: 16px 16px 24px;
        gap: 24px;
    }

    .event-tabs-bar {
        margin: 0 12px 20px;
        gap: 8px;
    }

    .event-tab {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 8px 8px 0 0;
    }

    .event-details-body {
        padding: 8px 16px 40px;
        font-size: 15px;
    }

    .detail-text {
        padding: 18px 14px;
    }

    .param-list li {
        font-size: 15px;
        flex-wrap: wrap;
    }

    .param-label {
        white-space: normal;
    }

    .intro-text {
        padding: 12px 4px;
    }

    .filter-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        border-radius: 12px;
        padding: 8px 10px;
        min-height: 48px;
    }

    .filter-label {
        width: auto;
        min-width: 4.5em;
        max-width: 35%;
        flex-shrink: 0;
        text-align: left;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
        font-size: 14px;
    }

    .filter-options {
        padding-left: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .pagination-box .pagination {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    .page-link {
        margin: 0 2px;
    }

    footer {
        padding: 36px 0 0;
    }

    footer .ps-md-5 {
        padding-left: 0 !important;
    }

    #brand-activity .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .participation-wrapper {
        padding: 36px 0;
    }

    /* 首页参与区块：每项内图标左、文案右 */
    .participation-item {
        flex-direction: row;
        /* justify-content: flex-start; */
        align-items: center;
        text-align: left;
        gap: 14px;
        padding: 18px 16px;
    }

    .participation-item i {
        font-size: 26px;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    .participation-item span {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    /* 首页：活动分类 / 品牌活动 标题 16px */
    body.page-index .section-title h2 {
        font-size: 14px;
    }

    /* 首页品牌活动卡片：左图右文 */
    body.page-index section.py-5 .category-card.card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    body.page-index section.py-5 .category-card .square-img-wrapper {
        flex: 0 0 104px;
        width: 104px;
        min-width: 104px;
        max-width: 104px;
        align-self: flex-start;
        aspect-ratio: 1 / 1;
    }

    body.page-index section.py-5 .category-card .square-img-wrapper .badge {
        margin: 0.35rem !important;
        font-size: 10px;
    }

    body.page-index section.py-5 .category-card .card-body {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body.page-index section.py-5 .category-card .card-body .card-title {
        margin-bottom: 0.35rem;
    }

    /* 图片列表卡片：手机左图右文 */
    .img-page-wrapper .img-card {
        flex-direction: row;
        align-items: stretch;
    }

    .img-page-wrapper .img-card .img-box {
        flex: 0 0 92px;
        width: 92px;
        min-width: 92px;
        align-self: flex-start;
    }

    .img-page-wrapper .img-card .img-content {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        justify-content: center;
    }

    .img-page-wrapper .img-card .brand-title {
        white-space: normal;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-title .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .unified-tab-box {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .unified-tab-box--dual {
        flex-wrap: nowrap;
    }

    .unified-tab-box .nav-tabs {
        gap: 12px;
        flex-wrap: wrap;
    }

    .unified-tab-box--dual .unified-tab-box__tabs .nav-tabs {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .unified-tab-box .nav-link {
        font-size: 14px;
    }

    .hero-news-card {
        height: 200px;
    }

    .carousel-item {
        height: min(52vw, 360px);
        min-height: 200px;
    }

    .navbar-brand {
        font-size: 16px;
        max-width: calc(100vw - 5.5rem);
        white-space: normal;
        line-height: 1.25;
    }

    .navbar-logo {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    /* 折叠按钮略小于 Logo */
    .navbar .navbar-toggler {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        border-width: 1px;
        line-height: 1;
    }

    .navbar .navbar-toggler-icon {
        width: 1.05rem;
        height: 1.05rem;
        background-size: 100%;
    }

    .navbar .nav-link {
        font-size: 16px;
        margin: 0 6px;
    }
}

@media (max-width: 575.98px) {
    main.container.my-5 {
        margin-top: 1.75rem !important;
        margin-bottom: 1.75rem !important;
    }

    .banner-wrap {
        height: 120px;
    }

    .unified-tab-box .nav-link {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 14px;
    }

    body.page-index .section-title h2 {
        font-size: 14px;
    }

    .action-btn {
        height: 76px;
        font-size: 13px;
    }

    .action-btn i {
        font-size: 20px;
    }

    .text-news-list .news-item {
        white-space: normal;
        font-size: 14px;
        line-height: 1.45;
    }

    .thumb-news-title {
        white-space: normal;
    }

    .navbar-brand {
        font-size: 14px;
    }

    .carousel-item {
        min-height: 180px;
        height: 48vw;
    }

    .article-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .copyright-bar {
        font-size: 11px;
        padding: 12px 8px;
    }
}
