/* 
 * myinfodetail_ 前缀的CSS样式 - 信息详情页面专用
 * 所有样式都以myinfodetail_为前缀，避免与其他模块冲突
 */

/* 重置和基础样式 - 仅针对myinfodetail模块 */
.myinfodetail_container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 宽版容器 - 用于主要内容区域 */
.myinfodetail_container_wide {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* 固定边距 */
    box-sizing: border-box;
}

/* 模块指示区域 */
.myinfodetail_module_indicator {
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 60px 0;
}

.myinfodetail_module_indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.myinfodetail_header {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.myinfodetail_title {
    font-size: 2.8rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.myinfodetail_subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* 二级分类菜单 */
.myinfodetail_category_nav {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
    width: 100%;
}

.myinfodetail_category_list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    position: relative;
}

.myinfodetail_category_item {
    margin: 0 10px;
    position: relative;
}

.myinfodetail_category_link {
    display: block;
    padding: 12px 25px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}

.myinfodetail_category_link:hover {
    color: #e60012;
    background-color: #f8f9fa;
}

.myinfodetail_category_item.active .myinfodetail_category_link {
    color: #e60012;
    font-weight: 700;
}

/* 三级分类悬浮菜单 - 修正定位 */
.myinfodetail_tertiary_menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #eee;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.myinfodetail_tertiary_menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
    padding: 20px 0;
}

.myinfodetail_tertiary_content {
    padding: 0;
}

.myinfodetail_tertiary_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.myinfodetail_tertiary_item {
    margin: 0;
}

.myinfodetail_tertiary_link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.myinfodetail_tertiary_link:hover {
    background-color: #e60012;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.2);
}

.myinfodetail_tertiary_icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #e60012;
    transition: color 0.3s ease;
}

.myinfodetail_tertiary_link:hover .myinfodetail_tertiary_icon {
    color: #fff;
}

/* 主要内容区域 - 全屏宽度 */
.myinfodetail_content_area {
    padding: 20px 0 20px;
    background-color: #fff;
    width: 100%;
}

.myinfodetail_fullwidth_container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

/* 信息列表容器 - 设置为98%宽度并居中 */
.myinfodetail_detail_container {
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f5;
    border-radius: 8px; /* 减少圆角 */
    margin: 10px 60px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.myinfodetail_detail_container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 上方区块：信息标题信息 */
.myinfodetail_header_section {
    padding: 30px 0 20px; /* 减少内边距 */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.myinfodetail_main_title {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 10px; /* 减少下边距 */
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

/* 移除标题下方的红线 */
/* .myinfodetail_main_title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e60012, #ff4d4d);
    margin: 20px auto 0;
    border-radius: 2px;
} */

.myinfodetail_sub_title {
    font-size: 1.3rem;
    color: #6c757d;
    margin: 10px auto 20px; /* 减少上下外边距 */
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    padding: 0 30px;
    font-style: italic;
    position: relative;
}

.myinfodetail_sub_title::before,
.myinfodetail_sub_title::after {
    content: '✦';
    color: #e60012;
    margin: 0 10px;
    opacity: 0.6;
}

/* 灰色分隔线 */
.myinfodetail_section_divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 0;
}

/* 中间区块：信息内容 - 减少内边距 */
.myinfodetail_content_section {
    padding: 20px 0; /* 从40px减少到20px */
    background: #fff;
}

/* 信息正文 - 优化间距 */
.myinfodetail_article_content {
    color: #444;
    margin: 0 auto 30px; /* 减少下边距 */
    /* 超大屏默认大小：1.8rem ≈ 28.8px */
    font-size: 1.8rem; 
    line-height: 1.8; /* 对应1.8rem字号的合适行高 */
    word-break: break-word; /* 防止长单词或URL溢出 */
    overflow-wrap: break-word; /* 更好的单词换行处理 */
    /* 移除text-align: justify，避免英文单词被拉伸 */
}

.myinfodetail_article_content p{
    text-indent: 2em;
}

/* 编辑器设置了居中样式的p标签取消首行缩进 */
.myinfodetail_article_content p[style*="text-align: center"],
.myinfodetail_article_content p[style*="text-align:center"] {
    text-indent: 0 !important;
}

/* 内容区域图片样式 */
.myinfodetail_article_content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;

}

/* 图片左浮动（图文环绕） */
.myinfodetail_article_content img[style*="float: left"],
.myinfodetail_article_content img.float-left {
    float: left;
    margin: 0 1.5rem 1rem 0;   /* 右侧+底部留白，避免文字紧贴 */
    max-width: 50%;            /* 限制宽度，保证文字有足够的环绕空间 */
}

/* 图片右浮动 */
.myinfodetail_article_content img[style*="float: right"],
.myinfodetail_article_content img.float-right {
    float: right;
    margin: 0 0 1rem 1.5rem;   /* 左侧+底部留白 */
    max-width: 50%;
}

/*-----------------视频 -- */
.myinfodetail_video_container {
    margin: 30px auto 40px; /* 调整外边距 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.myinfodetail_video_caption {
    padding: 12px 20px;
    background-color: #f8f9fa;
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #eee;
    font-style: italic;
}


.myinfodetail_video_container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.myinfodetail_video_wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    background-color: #000;
}

.myinfodetail_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* 特色图片 - 与内容区域对齐 */
.myinfodetail_featured_image {
    margin: 30px auto 40px; /* 调整外边距 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.myinfodetail_featured_image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.myinfodetail_main_image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
    max-height: 500px;
}

.myinfodetail_featured_image:hover .myinfodetail_main_image {
    transform: scale(1.02);
}

.myinfodetail_image_caption {
    padding: 12px 20px;
    background-color: #f8f9fa;
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #eee;
    font-style: italic;
}

/* ============ 美化：信息标题列表导航样式 ============ */
.myinfodetail_title_nav {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.myinfodetail_title_list {
    display: flex;
    justify-content: left;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    flex-wrap: nowrap;
    min-width: min-content;
    gap: 5px;
}

.myinfodetail_title_item {
    position: relative;
    white-space: nowrap;
}

.myinfodetail_title_link {
    display: block;
    padding: 12px 24px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
/*    border-radius: 3px; */
    border: 2px solid transparent;
    background-color: #f8f9fa;
}

/* 鼠标悬停效果 - 美化版 */
.myinfodetail_title_link:hover {
    color: #e60012;
    background-color: #ffe6e8;
    border-color: #e60012;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2);
}

/* 激活状态 - 红色背景，白色文字 */
.myinfodetail_title_item.active .myinfodetail_title_link {
    color: #ffffff;
    font-weight: 700;
    background-color: #e60012;
    border-color: #e60012;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

/* 激活状态悬停效果 */
.myinfodetail_title_item.active .myinfodetail_title_link:hover {
    color: #ffffff;
    background-color: #cc0010;
    border-color: #cc0010;
    transform: translateY(-2px);
}

/* 响应式设计 - 大屏幕 (1600px以下) */
@media (max-width: 1600px) {
    .myinfodetail_main_title {
        font-size: 2.2rem;
    }
    
    .myinfodetail_tertiary_list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .myinfodetail_detail_container {
        margin: 10px 40px;
    }
    
    .myinfodetail_container_wide {
        padding: 0 30px;
    }
    
    /* 内容区域字体调整 */
    .myinfodetail_article_content {
        font-size: 1.6rem; /* 约25.6px */
        line-height: 1.7; /* 同步调整行高 */
    }
}

/* 响应式设计 - 中等屏幕 (1200px以下) */
@media (max-width: 1200px) {
    .myinfodetail_main_title {
        font-size: 2rem;
    }
    
    .myinfodetail_sub_title {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .myinfodetail_detail_container {
        margin: 10px 30px;
    }
    
    .myinfodetail_container_wide {
        padding: 0 25px;
    }
    
    /* 内容区域字体调整 */
    .myinfodetail_article_content {
        font-size: 1.4rem; /* 约22.4px */
        line-height: 1.6; /* 同步调整行高 */
    }
}

/* 响应式设计 - 小屏幕/平板 (992px以下) */
@media (max-width: 992px) {
    .myinfodetail_main_title {
        font-size: 1.9rem;
    }
    
    .myinfodetail_sub_title {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .myinfodetail_detail_container {
        margin: 10px 20px;
    }
    
    .myinfodetail_container_wide {
        padding: 0 20px;
    }
    
    .myinfodetail_featured_image {
        max-width: 100%;
        margin: 25px auto 30px;
    }
    
    /* 内容区域字体调整 */
    .myinfodetail_article_content {
        font-size: 1.2rem; /* 约19.2px */
        line-height: 1.5; /* 同步调整行高 */
    }
}

/* 响应式设计 - 平板 (768px以下) */
@media (max-width: 768px) {
    .myinfodetail_module_indicator {
        padding: 40px 0;
        margin-top: 60px;
        min-height: 250px;
    }
    
    .myinfodetail_title {
        font-size: 2rem;
    }
    
    .myinfodetail_subtitle {
        font-size: 1.1rem;
    }
    
    .myinfodetail_container_wide {
        padding: 0 18px;
    }
    
    /* 二级菜单垂直排列 */
    .myinfodetail_category_list {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    
    .myinfodetail_category_item {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
    
    .myinfodetail_category_link {
        text-align: center;
        padding: 12px 15px;
    }
    
    /* 三级分类菜单在移动端变为下拉菜单 */
    .myinfodetail_tertiary_menu {
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 10px;
    }
    
    .myinfodetail_tertiary_menu.active {
        padding: 10px 0;
        max-height: 1000px;
    }
    
    .myinfodetail_tertiary_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 信息标题和元信息 */
    .myinfodetail_main_title {
        font-size: 1.7rem;
        padding: 0 15px;
    }
    
    .myinfodetail_sub_title {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .myinfodetail_featured_image {
        margin: 20px auto 25px;
        border-radius: 6px;
    }
    
    .myinfodetail_main_image {
        max-height: 350px;
    }
    
    /* 信息标题列表导航响应式 */
    .myinfodetail_title_list {
        justify-content: flex-start;
        padding: 0 10px;
        gap: 3px;
    }
    
    .myinfodetail_title_link {
        padding: 10px 18px;
        font-size: 1rem;
/*        border-radius: 25px; */
    }
    
    .myinfodetail_detail_container {
        width: 100%;
        border-radius: 6px;
        margin: 10px 10px;
    }
    
    .myinfodetail_content_section {
        padding: 15px 0;
    }
    
    .myinfodetail_header_section {
        padding: 25px 0 15px;
    }
    
    /* 内容区域字体调整 - 移动端 */
    .myinfodetail_article_content {
        font-size: 1.1rem; /* 约17.6px */
        line-height: 1.5; /* 同步调整行高 */
    }
}

/* 响应式设计 - 超小屏幕/手机 (480px以下) */
@media (max-width: 480px) {
    .myinfodetail_module_indicator {
        padding: 30px 0;
        min-height: 200px;
    }
    
    .myinfodetail_title {
        font-size: 1.8rem;
    }
    
    .myinfodetail_subtitle {
        font-size: 1rem;
    }
    
    .myinfodetail_main_title {
        font-size: 1.6rem;
    }
    
    .myinfodetail_sub_title {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .myinfodetail_container_wide {
        padding: 0 15px;
    }
    
    .myinfodetail_tertiary_list {
        grid-template-columns: 1fr;
    }
    
    /* 信息标题列表导航响应式 */
    .myinfodetail_title_link {
        padding: 8px 15px;
        font-size: 0.95rem;
/*        border-radius: 20px; */
    }
    
    .myinfodetail_title_list {
        gap: 2px;
    }
    
    .myinfodetail_header_section {
        padding: 20px 0 15px;
    }
    
    .myinfodetail_content_section {
        padding: 10px 0;
    }
    
    .myinfodetail_main_image {
        max-height: 250px;
    }
    
    .myinfodetail_featured_image {
        margin: 15px auto 20px;
    }
    
    /* 内容区域字体调整 - 小手机 */
    .myinfodetail_article_content {
        font-size: 1rem; /* 16px */
        line-height: 1.4; /* 同步调整行高 */
    }
}

/* 响应式设计 - 极小屏幕 (360px以下) */
@media (max-width: 360px) {
    .myinfodetail_main_title {
        font-size: 1.5rem;
    }
    
    .myinfodetail_container_wide {
        padding: 0 12px;
    }
    
    .myinfodetail_main_image {
        max-height: 200px;
    }
    
    /* 内容区域字体调整 - 极小屏幕 */
    .myinfodetail_article_content {
        font-size: 0.95rem; /* 约15.2px */
        line-height: 1.4; /* 同步调整行高 */
    }
}