/* Content Detail 页面样式 */

/* 自定义导航按钮样式 */
.content-nav-button {
    position: relative;
    width: 190px;
    height: 48px;
    border-radius: 0.375rem;
    overflow: hidden;
}

.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;
    }
}

/* 小屏幕设备 (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 */
    }
}
