/* 2.11 - Social Icons - Start
================================================== */
.social_icons_block {
    gap: 10px;
}

.social_icons_block a {
    width: 40px;
    height: 40px;
    display: flex;
    flex: 0 0 auto;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
}

.social_icons_block a:hover {
    color: var(--text-white);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.social_icons_block a:hover img {
    filter: invert(1);
}

.social_links_block {
    gap: 6px;
}

.social_links_block a {
    display: flex;
    line-height: 1;
    font-size: 12px;
    align-items: center;
    border-radius: 50px;
    color: var(--text-primary);
    padding: 12px 16px 10px;
    justify-content: center;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
}

.social_links_block a:hover {
    color: var(--text-white);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

/* 2.11 - Social Icons - End
================================================== */

/* 5.03 - Details Pages - Start
================================================== */
[class*="_details_section"] .icon_list.unordered_list_block {
    gap: 6px;
}

[class*="_details_section"] .icon_list > li {
    font-size: 18px;
    line-height: 32px;
}

[class*="_details_section"] p {
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: 38px;
    font-family: var(--bs-font-sans-serif);
}

[class*="_details_section"] hr {
    margin: 30px 0;
    background-color: var(--primary-alpha-20);
}

[class*="_details_section"] .accordion p {
    font-size: 16px;
    line-height: 30px;
}

[class*="_details_section"] .post_meta_wrap {
    row-gap: 15px;
    display: flex;
    column-gap: 50px;
    align-items: center;
}

[class*="_details_section"] .post_meta_wrap .post_meta {
    margin-top: 3px;
}

[class*="_details_section"] .category_btns_group a {
    border: 1px solid var(--primary-alpha-20);
}

[class*="_details_section"] .category_btns_group a:hover {
    border-color: var(--primary-color);
}

.details_item_image {
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
    border-radius: var(--radius-sm);
}

.details_item_title {
    font-size: 40px;
    line-height: 55px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.details_item_info_title {
    font-size: 35px;
    line-height: 50px;
    margin-bottom: 17px;
    color: var(--text-primary);
}

.team_member_details_card {
    padding: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.team_member_details_card .team_member_image {
    height: 454px;
    flex: 0 0 490px;
    overflow: hidden;
    margin: 0 100px 0 0;
    display: inline-flex;
    padding: 10px 40px 0;
    align-items: flex-end;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

.team_member_details_card .team_member_image img {
    height: 100%;
}

.team_member_details_card .team_member_name {
    font-size: 35px;
    line-height: 50px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.team_member_details_card .icon_list {
    gap: 14px;
    margin-bottom: 40px;
}

.team_member_details_card .icon_list > li {
    font-size: 18px;
    line-height: 30px;
    color: var(--text-secondary);
}

.team_member_details_card .icon_list strong {
    color: var(--text-primary);
}

.team_member_details_card .social_title {
    line-height: 1;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.portfolio_details_info_list {
    row-gap: 6px;
    column-gap: 50px;
}

.content_layer_group > li {
    cursor: pointer;
    position: relative;
}

.content_layer_group > li:not(:first-child) {
    margin-top: -40px;
}

.content_layer_group > li[aria-expanded=true] {
    z-index: 1;
}

.content_layer_group > li[aria-expanded=true] span {
    position: relative;
    color: var(--text-white);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.content_layer_group span {
    height: 147px;
    display: flex;
    flex-wrap: wrap;
    font-size: 24px;
    font-weight: 500;
    max-width: 452px;
    line-height: 36px;
    border-radius: 100%;
    align-items: center;
    color: var(--text-primary);
    justify-content: center;
    font-family: var(--bs-font-sans-serif);
    border: 1px solid var(--text-primary);
    transition: var(--transition-normal);
}

.blog_details_section .details_item_info_title {
    font-size: 26px;
    line-height: 38px;
    color: var(--text-primary);
}

.blog_details_audio {
    margin-bottom: 40px;
}

.blog_details_audio .audio_play_btn {
    gap: 26px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    align-items: center;
    display: inline-flex;
    padding: 5px 30px 5px 5px;
    border: 1px solid transparent;
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bg-white);
}

.blog_details_audio .audio_play_btn:hover {
    border-color: var(--primary-color);
}

.blog_details_audio .audio_play_btn i {
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    padding-left: 4px;
    border-radius: 100%;
    align-items: center;
    display: inline-flex;
    color: var(--text-white);
    justify-content: center;
    background-color: var(--primary-color);
}

.blog_details_audio .audio_play_btn span {
    margin-bottom: -4px;
}

.post_author_box {
    gap: 30px;
    padding: 40px;
    display: flex;
    margin: 80px 0;
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.post_author_box .author_image {
    width: 150px;
    height: 150px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 100%;
}

.post_author_box .author_name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 26px;
    color: var(--text-primary);
    font-family: var(--bs-font-sans-serif);
}

.post_author_box .author_designation {
    font-size: 14px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-family: var(--bs-font-sans-serif);
}

.post_author_box p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.post_author_box .author_social_icons {
    gap: 20px;
}

.post_author_box .author_social_icons a {
    display: block;
    color: var(--text-primary);
}

.post_author_box .author_social_icons a:hover {
    color: var(--primary-color);
}

.other_posts_nav {
    gap: 50px;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    justify-content: space-between;
}

.other_posts_nav a {
    position: relative;
    color: var(--text-primary);
}

.other_posts_nav a:hover {
    color: var(--primary-color);
}

.other_posts_nav a:nth-child(2) {
    font-size: 24px;
    color: var(--text-primary);
}

.other_posts_nav a:nth-child(2):hover {
    color: var(--primary-color);
}

.other_posts_nav a:first-child, .other_posts_nav a:last-child {
    gap: 28px;
    display: flex;
    border-radius: 20px;
    align-items: center;
    padding: 26px 50px 23px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.other_posts_nav a:first-child i, .other_posts_nav a:last-child i {
    z-index: 1;
    font-size: 30px;
    position: relative;
}

.other_posts_nav a:first-child i:after, .other_posts_nav a:last-child i:after {
    top: 50%;
    z-index: -1;
    width: 30px;
    height: 30px;
    content: '';
    position: absolute;
    border-radius: 100%;
    transform: translateY(-50%);
    background-color: var(--bg-light);
}

.other_posts_nav a:first-child i:after {
    left: -8px;
}

.other_posts_nav a:first-child span {
    text-align: right;
}

.other_posts_nav a:last-child i:after {
    right: -8px;
}

.other_posts_nav a strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.other_posts_nav a small {
    opacity: 0.8;
    display: block;
    color: var(--text-muted);
}

.comment_area {
    margin: 80px 0;
}

.comments_list {
    gap: 60px;
}

.comments_list > li .comments_list {
    gap: 30px;
    padding: 30px 0 0 110px;
}

.comment_item {
    gap: 40px;
    display: flex;
}

.comment_item .comment_author_thumbnail {
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 100%;
}

.comment_item .comment_author_content {
    position: relative;
}

.comment_item .comment_author_name {
    line-height: 1;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: var(--bs-font-sans-serif);
}

.comment_item .comment_time {
    line-height: 1;
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-family: var(--bs-font-sans-serif);
}

.comment_item .comment_reply_btn {
    top: 0;
    right: 0;
    line-height: 1;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    border-radius: 50px;
    color: var(--text-primary);
    padding: 10px 20px 9px;
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.comment_item .comment_reply_btn:hover {
    color: var(--text-white);
    background-color: var(--primary-color);
}

/* 5.03 - Details Pages - End
================================================== */


/* ========================================
   文章详情图片样式优化
   ======================================== */

.blog_details_content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    margin: 1.5rem 0;
    display: block;
}

.blog_details_content img:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* 文章内图片容器 */
.blog_details_content .image,
.blog_details_content .img-responsive {
    text-align: center;
    margin: 2rem 0;
    padding: 0;
}

.blog_details_content .image img,
.blog_details_content .img-responsive img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.blog_details_content .image img:hover,
.blog_details_content .img-responsive img:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

/* 图片标题和描述 */
.blog_details_content img[title]:after {
    content: attr(title);
    display: block;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* 引用块中的背景图片 */
.blog_details_content .blog-quote {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 2.5rem 0;
    padding: 3rem 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog_details_content .blog-quote .blog-quote-text {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .blog_details_content img {
        margin: 1rem 0;
        border-radius: var(--radius-sm);
    }

    .blog_details_content .image,
    .blog_details_content .img-responsive {
        margin: 1.5rem 0;
    }

    .blog_details_content .blog-quote {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
        min-height: 150px;
    }

    .blog_details_content .blog-quote .blog-quote-text {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .blog_details_content img {
        margin: 0.75rem 0;
    }

    .blog_details_content .blog-quote {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        min-height: 120px;
    }

    .blog_details_content .blog-quote .blog-quote-text {
        font-size: var(--font-size-sm);
    }
}

/* 图片加载动画 */
.blog_details_content img {
    opacity: 0;
    animation: fadeInImage 0.6s ease-out forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 图片懒加载样式 */
.blog_details_content img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 图片错误状态 */
.blog_details_content img[src=""],
.blog_details_content img:not([src]),
.blog_details_content img[src="#"] {
    display: none;
}

/* 图片放大镜效果（可选） */
.blog_details_content .image-zoom {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.blog_details_content .image-zoom img {
    transition: transform 0.3s ease;
}

.blog_details_content .image-zoom:hover img {
    transform: scale(1.1);
}

/* 图片网格布局（多图片并排） */
.blog_details_content .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.blog_details_content .image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
}

@media (max-width: 768px) {
    .blog_details_content .image-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .blog_details_content .image-grid img {
        height: 180px;
    }
}

/* ========================================
   文章详情表格样式优化
   ======================================== */

.blog_details_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: var(--font-size-sm);
}

.blog_details_content table th,
.blog_details_content table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid var(--border-light);
    vertical-align: middle;
    transition: background-color var(--transition-fast);
}

.blog_details_content table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-white);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog_details_content table td {
    background: var(--bg-white);
    color: var(--text-primary);
}

.blog_details_content table tbody tr:nth-child(even) td {
    background: var(--bg-light);
}

.blog_details_content table tbody tr:hover td {
    background: var(--bg-hover);
    transform: scale(1.01);
}

/* 分组标题行样式 */
.blog_details_content table th[colspan] {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-white);
    font-size: var(--font-size-base);
    font-weight: 700;
    padding: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.blog_details_content table th.textLeft {
    text-align: left;
    padding-left: 1.5rem;
}

/* 特殊标记行（如 newRed 类） */
.blog_details_content table tr.newRed td {
    background: rgba(var(--primary-color), 0.1) !important;
    position: relative;
}

.blog_details_content table tr.newRed td::before {
    content: 'NEW';
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    line-height: 1;
}

.blog_details_content table tr.newRed td span {
    font-weight: 600;
    color: var(--primary-color);
}

/* 表格内文字样式 */
.blog_details_content table td p,
.blog_details_content table th p {
    margin: 0;
    line-height: 1.4;
}

.blog_details_content table td p span {
    display: inline-block;
}

/* 移动端响应式 - 横向滚动 */
@media (max-width: 1024px) {
    .blog_details_content table {
        font-size: 0.75rem;
    }

    .blog_details_content table th,
    .blog_details_content table td {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .blog_details_content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog_details_content table {
        min-width: 600px;
        margin: 1.5rem 0;
        font-size: 0.7rem;
    }

    .blog_details_content table th,
    .blog_details_content table td {
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
    }

    .blog_details_content table th {
        font-size: 0.65rem;
    }

    .blog_details_content table th[colspan] {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
}

/* 移动端卡片式布局（可选方案） */
@media (max-width: 480px) {
    .blog_details_content table.mobile-cards {
        min-width: auto;
        display: block;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .blog_details_content table.mobile-cards thead {
        display: none;
    }

    .blog_details_content table.mobile-cards tbody {
        display: block;
    }

    .blog_details_content table.mobile-cards tr {
        display: block;
        margin-bottom: 1rem;
        background: var(--bg-white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 1rem;
        border: 1px solid var(--border-light);
    }

    .blog_details_content table.mobile-cards tr.newRed {
        border-left: 4px solid var(--primary-color);
    }

    .blog_details_content table.mobile-cards td {
        display: block;
        border: none;
        padding: 0.25rem 0;
        text-align: left;
        background: transparent !important;
    }

    .blog_details_content table.mobile-cards td::before {
        content: attr(data-label) ': ';
        font-weight: 600;
        color: var(--text-secondary);
        display: inline-block;
        width: 120px;
        margin-right: 0.5rem;
    }

    .blog_details_content table.mobile-cards td p {
        display: inline;
    }
}

/* 表格滚动条样式 */
.blog_details_content::-webkit-scrollbar {
    height: 6px;
}

.blog_details_content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.blog_details_content::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-sm);
}

.blog_details_content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 表格加载动画 */
.blog_details_content table {
    animation: tableSlideIn 0.6s ease-out;
}

@keyframes tableSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表格标题样式 */
.blog_details_content .table-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.blog_details_content .table-description {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}


/*--- li ----*/
.blog_details_content {
    overflow: hidden;
}

.blog_details_content ul,
.blog_details_content ol {
    width: 90%;
}

.blog_details_content ul,
.blog_details_content ol,
.blog_details_content li {
    word-wrap: break-word; /* 允许长单词或URL换行 */
    overflow-wrap: break-word; /* 更现代的属性，效果同word-wrap */
    white-space: normal; /* 确保空白符正常处理 */
}