/* Content Detail 页面样式 */

/* 自定义导航按钮样式 */
.content-nav-button {
    position: relative;
    width: 190px;
    height: 48px;
    border-radius: 0.375rem;
    overflow: hidden;
}

/* 专门为hero页面设置宽度 */
.content-nav-button.hero-nav-button {
    width: 145px;
}

.content-nav-button-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.content-nav-button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: inherit;
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 自定义描述背景样式 */
.content-description-bg-title {
    background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-title.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.content-description-bg-content {
    background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-content.png');
    background-size: 100% 100%;
    background-repeat: repeat-y;
    background-position: top center;
    margin: 0;
    padding: 1.2rem;
}

.content-description-bg-bottom {
    background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-bottom.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 52px;
    margin: 0;
    padding: 0;
}

/* 自定义内容区块样式 */
.content-section {
    background-color: rgba(20, 20, 42, 0.9);
    border-radius: 20px;
}

/* 自定义内容标题样式 */
.content-title {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 26px;
    color: #FEFEFE;
}

/* 自定义技能卡片样式 */
.content-skill-card {
    background: rgba(43, 48, 71, 0.4);
    border-radius: 6px;
}

/* 自定义底部边框样式 */
.content-border-bottom {
    border-bottom: 2px solid #2E324C;
    border-radius: 1px;
}

/* 建筑图片容器样式 */
.content-building-image-container {
    background: linear-gradient(135deg, #3EAEF8 0%, #1569C1 100%);
    border-radius: 1.25rem;
    border: 3px solid #D5E7FF;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Gears 页面导航按钮样式 */
.hero-gears-nav {
    width: 180px !important;
}

/* Hero Gears 大屏幕间距 */
@media (min-width: 769px) {
    .hero-gears-nav + .col-6 {
        margin-left: 8px !important;
    }
}

/* Expert Stats 每项独占一行 */
.expert-stats-item {
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.expert-stats-item:last-child {
    margin-bottom: 0;
}

/* Chief Gear Bonus 每项独占一行 */
.bonus-item {
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.bonus-item:last-child {
    margin-bottom: 0;
}

/* 小屏幕设备 (768px 及以下) */
@media (max-width: 768px) {
    .content-description-bg-title {
        background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-title-mobile.png') !important;
        height: 48px !important; /* 小屏使用48px高度 */
    }
    
    .content-description-bg-content {
        background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-content-mobile.png') !important;
    }
    
    .content-description-bg-bottom {
        background-image: url('https://gom-s3-user-avatar.s3.us-west-2.amazonaws.com/wp-content/resources/img/description-bg-bottom-mobile.png') !important;
        height: 43px !important;
    }
    
    .content-nav-button {
        width: 168px !important;
    }
    
    /* 小屏幕导航按钮样式 */
    .small-screen-nav {
        width: 120px !important;
        height: 40px !important;
    }
    
    .small-screen-nav .content-nav-button-bg {
        height: 40px !important;
    }
    
    .small-screen-font {
        font-size: 0.875rem !important; /* 14px */
    }
    
    /* Hero Gears 小屏幕样式 */
    .hero-gears-nav {
        width: 160px !important;
        height: 40px !important;
    }
    
    .hero-gears-nav .content-nav-button-bg {
        height: 40px !important;
    }
    
    .hero-gears-nav .content-nav-button-text font {
        font-size: 0.875rem !important; /* 14px */
    }
    

}

/* Hero页面导航按钮选中状态样式 */
.hero-nav-button .nav-link.active .content-nav-button {
    border: 2px solid #3F446C !important;
    background: transparent !important;
}

.hero-nav-button .nav-link.active .content-nav-button-bg {
    opacity: 0; /* 隐藏原背景图片 */
}

.hero-nav-button .nav-link.active .content-nav-button-text,
.hero-nav-button .nav-link.active .content-nav-button-text font {
    color: #6B73A3 !important;
}

/* Hero页面技能标签页样式 */
.content-hero .nav-pills .nav-item .nav-link.active {
    border: 2px solid #3F446C !important;
    background: transparent !important;
    color: #6B73A3 !important;
}

.content-hero .nav-pills .nav-item .nav-link {
    color: #FEFEFE !important;
    border: none !important;
}

.content-hero .nav-pills .nav-item .nav-link:hover {
    background: rgba(59, 68, 121, 0.6) !important;
    color: #FEFEFE !important;
}

.exprts-left-title {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    margin-left: 6px;
}

.exprts-left-box{
    display: flex;
    align-items: center;
}
.hero-stats-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.hero-left-box {
    padding: 8px;
}

.experts-left-box {
    padding: 8px;
}


.hero-left-title {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    text-align: center;
    padding: 16px 0 12px;
}

.hero-attr-list {
    display: flex;
    flex-direction: column;
}

.hero-attr-item {
    background: rgba(43, 48, 71, 0.4);
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 4px;
}

.hero-attr-label {
    font-size: 15px;
    color: #AEB3C8;
    font-weight: 500;
    margin-bottom: 6px;
}

.hero-attr-divider {
    height: 2px;
    background: #2E324C;
    border: none;
    margin: 0 0 8px 0;
}

.hero-attr-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

/* 大屏横向排列，保留原有样式 */
.hero-stats-box {
    padding: 0 10px 18px 10px;
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}
.hero-stats-group {
    flex: 1 1 0;
    min-width: 0;
    background: none;
    border-radius: 12px;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    margin-top: 4px;
}

.hero-stats-group-title {
    font-size: 17px;
    color: #FFFFFF;
    font-weight: 600;
    background: #2F2F4F;
    padding: 8px 0 8px 12px;
    text-align: left;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.hero-stats-group-content {
    background: rgba(41, 40, 68, 0.5);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 6px 12px 6px 12px;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 4px 0;
    border-bottom: 2px solid #2E324C;
}
.hero-stats-row:last-child {
    border-bottom: none;
}

.hero-stats-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.hero-stats-value {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}
@media (max-width: 768px) {
    .hero-left-box {
        display: flex;
        justify-content: space-around;
    }
    .hero-left-box-top img{
        width: 212px;
        height: 212px;
    }
    .hero-group-box{
        display: flex;
        justify-content: space-between;
    }
    .stats-title{
        text-align: left;
    }
    .group-box-1{
        padding-right: 4px;
    }
    
    /* 移动端hero-left-box区域优化 */
    .hero-left-box {
        padding: 12px !important;
    }
    
    /* 移动端experts-left-box区域优化 */
    .experts-left-box {
        padding: 12px !important;
    }
    
    /* 移动端hero-left-box-top左右布局 */
    .hero-left-box-top {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: space-between !important;
    }
    
    /* 移动端图片尺寸优化 */
    .hero-left-box-top img {
        width: 120px !important;
        height: 120px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
    
    /* 移动端exprts-left-box优化 */
    .exprts-left-box {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    
    /* 移动端标题样式优化 */
    .hero-left-title {
        font-size: 18px !important;
        padding: 10px 0 !important;
        text-align: left !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        font-weight: 500 !important;
    }
    
    /* 移动端图标尺寸优化 */
    .exprts-left-box img {
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
    }
    
    /* 移动端hero-stats-box优化 */
    .hero-stats-box {
        padding: 10px !important;
        margin-top: 15px !important;
    }
    
    .hero-stats-box .hero-left-title {
        font-size: 18px !important;
        padding: 10px 0 8px 0 !important;
        text-align: left !important;
        font-weight: 500 !important;
    }
    
    /* 移动端统计项优化 */
    .hero-stats-item {
        padding: 8px 10px !important;
        margin-bottom: 3px !important;
    }
    
    .expedition-label,
    .expedition-value {
        font-size: 15px !important;
        line-height: 1.3 !important;
        font-weight: 500 !important;
    }
    
    /* 移动端RTL支持 */
    .rtl .hero-left-box-top {
        flex-direction: row-reverse !important;
    }
    
    .rtl .exprts-left-box {
        align-items: flex-end !important;
    }
    
    .rtl .hero-left-title {
        text-align: right !important;
    }
}

/* 分页按钮样式 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: start;
    align-items: center;
}
.btn-group>.btn{
     flex: none !important;   
}

.group-btn {
    background: rgba(43, 48, 71, 0.6) !important;
    border: 2px solid #3F446C !important;
    color: #FEFEFE !important;
    border-radius: 8px !important;
    padding: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-align: center;
    white-space: nowrap;
}

.group-btn:hover {
    background: rgba(59, 68, 121, 0.8) !important;
    border-color: #5A6B9A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.group-btn.active {
    background: rgba(30, 25, 43, 0.9) !important;
    border-color: #6B73A3 !important;
    color: #6B73A3 !important;
    box-shadow: 0 2px 8px rgba(107, 115, 163, 0.4) !important;
}

.group-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(107, 115, 163, 0.3) !important;
}

/* 小屏幕分页按钮优化 */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .group-btn {
        padding: 4px 6px !important;
        font-size: 12px !important;
        border-radius: 6px;
    }
    
    .group-btn span,
    .group-btn {
        overflow: hidden !important;
        white-space: nowrap !important;
    }
}

/* 分页容器样式 */
.pagination-container {
    margin: 20px 0 !important;
}

/* 确保分页按钮在表格下方居中显示 */
.content-section .d-flex.justify-content-center {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

/* 分页按钮组容器样式 */
.pagination-wrapper {
    background: rgba(20, 20, 42, 0.3) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
}

/* 响应式分页容器 */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin: 10px 0 !important;
    }
    
    .pagination-container {
        margin: 15px 0 !important;
    }
}