.blog-details-section .container {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.blog-details-section {
    width: 100%;
    overflow-x: hidden;
}

.blog-details-section .container {
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.blog-details-section .row {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
    max-width: none !important;
}

.blog-details-section .col-12 {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: none !important;
    flex: 0 0 100%;
}

.blog-details-left {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 20px 0;
    margin-bottom: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    display: block;
}

.blog-details-left .thumb1 {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-details-left .thumb1 img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-details-box {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.blog-details-box * {
    max-width: 100%;
    box-sizing: border-box;
}

.blog-details-box .thumb1 {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 1rem;
}

.blog-details-box .thumb1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

.blog-details-box .d-flex.algin-items-center.gap-2 {
    display: flex !important;
    align-items: center !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
}

.blog-details-box .d-flex.algin-items-center.gap-2 img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-details-box .fs-eight.pra {
    text-overflow: ellipsis;
    display: inline-block;
    margin: 0;
    padding: 0;
    max-width: 100% !important;
    white-space: nowrap;
}

.blog-details-box p {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1.5;
}

/* 文章内容中的图片样式 */
.blog-details-box img {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
    margin: 1rem 0;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .blog-details-section .container {
        max-width: 720px;
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .blog-details-left {
        padding: 10px 0;
        margin-bottom: 10px;
    }
    
    .blog-details-box {
        padding: 0;
    }
    
    .blog-details-box img {
        width: 100%;
        margin: 0.75rem 0;
    }
    
    .blog-details-box p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .blog-details-left .thumb1 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* 添加767px下的作者信息和时间信息布局 */
    .blog-details-box .d-flex.algin-items-center.gap-2 {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }

    .blog-details-box .d-flex.algin-items-center.gap-2 img {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    .blog-details-box .fs-eight.pra {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.lee-pragraph {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f0f4fd;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.lee-pragraph .thumb {
    min-width: 70px;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.lee-pragraph .cont {
    flex: 1;
    min-width: 0;
}

.lee-pragraph .social-custom {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lee-pragraph .social-custom a {
    border-radius: 4px;
    border: 1px solid rgba(3, 23, 64, 0.2);
    width: 36px;
    height: 36px;
}

.lee-pragraph .social-custom a i {
    color: var(--p1-clr);
}

.lee-pragraph .social-custom a:hover {
    background: var(--p1-clr);
}

.lee-pragraph .social-custom a:hover i {
    color: var(--white);
}

@media (max-width: 575px) {
    .blog-details-section .container {
        max-width: 540px;
        padding-right: 6px;
        padding-left: 6px;
    }
    
    .blog-details-left {
        padding: 6px 0;
        margin-bottom: 6px;
    }
    
    .blog-details-box {
        padding: 0;
    }
    .blog-details-box h3 {
        font-size: 15px;
        line-height: 1.3;
    }
    .blog-details-box p {
        font-size: 13px;
        line-height: 1.4;
    }
    .blog-details-box .d-flex.algin-items-center.gap-2 {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    .blog-details-box .d-flex.algin-items-center.gap-2 img {
        width: 28px !important;
        height: 28px !important;
    }
    .blog-details-box .fs-eight.pra {
        font-size: 12px;
        white-space: nowrap;
    }
    .blog-pagination {
        gap: 8px;
        padding: 0 8px;
        flex-direction: column;
    }
    
    .blog-pagination li {
        width: 100%;
    }
    
    .blog-pagination .heading-font.next {
        padding: 6px;
        font-size: 13px;
        width: 100%;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: left;
    }
    
    .blog-pagination .heading-font.next .text-truncate {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .blog-pagination .heading-font.next p,
    .blog-pagination .heading-font.next h4 {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .blog-details-left .thumb1 img {
        max-height: 200px;
    }
    
    /* 确保所有内容都在容器内 */
    .blog-details-box * {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 处理长文本 */
    .blog-details-box p,
    .blog-details-box span,
    .blog-details-box div {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 处理列表 */
    .blog-details-box ul,
    .blog-details-box ol {
        padding-left: 1rem;
    }
    
    /* 处理引用块 */
    .blog-details-box blockquote {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }
}

/* 使用相对单位设置基础字体大小 */
.blog-details-box h3 {
    font-size: clamp(14px, 4vw, 24px);
    line-height: 1.3;
}

/* 表格响应式处理 */
.blog-details-box table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 代码块响应式处理 */
.blog-details-box pre {
    width: 100%;
    overflow-x: auto;
    white-space: pre;
}

/* iframe响应式处理 */
.blog-details-box iframe {
    max-width: 100%;
    width: 100%;
}

/* 基础响应式样式 */
.blog-details-left {
    display: block;
}

.blog-details-left .thumb1 {
    overflow: hidden;
    display: block;
}

.blog-details-left .thumb1 img {
    overflow: hidden;
    transition: all 0.4s;
}

.blog-details-left .thumb1:hover img {
    transform: scale(1.05);
}

.blog-details-left .thumb1 .portfolio-video {
    z-index: 9;
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.blog-details-left .mores {
    border-radius: 4px;
    border: 1px solid rgba(3, 23, 64, 0.15);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    padding: 11px 24px 13px;
    transition: all 0.4s;
    display: inline-block;
}

.blog-details-left .mores:hover {
    background: var(--p3-clr);
    color: var(--white);
}

.blog-details-left h3 a {
    font-size: 38px;
    line-height: 46px;
}

.blog-details-left .blog-details-slides {
    position: relative;
}

.blog-details-left .blog-details-slides .array-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
}

.blog-details-left .blog-details-slides .array-button button {
    background: var(--white);
    border-color: var(--white);
}

.blog-details-left .blog-details-slides .array-button button i {
    color: var(--black);
}

.blog-details-left .blog-details-slides .array-button button:hover {
    background: var(--p3-clr);
}

.blog-details-left .blog-details-slides .array-button button:hover i {
    color: var(--white);
}

@media (max-width: 1399px) {
    .blog-details-left {
        display: block;
    }
}

@media (max-width: 1199px) {
    .blog-details-left {
        display: block;
    }
}

@media (max-width: 991px) {
    .blog-details-left {
        display: block;
    }
}

.blog-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.blog-pagination li {
    flex: 1;
    min-width: 0;
}

.blog-pagination li .numbers {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4fd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    transition: all 0.4s;
}

.blog-pagination li .numbers i {
    font-size: 18px;
}

.blog-pagination li .numbers:hover {
    background: var(--p3-clr);
    color: var(--white);
}

.blog-pagination li .numbers:hover i {
    color: var(--white) !important;
}

.blog-pagination li .next {
    background: var(--p3-clr);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 7px;
    color: var(--white);
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.blog-pagination .heading-font.next {
    width: 100%;
    box-sizing: border-box;
}

.blog-pagination .heading-font.next .text-truncate {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1199px) {
    .blog-pagination {
        gap: 10px;
    }

    .blog-pagination li .numbers {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .blog-pagination {
        gap: 8px;
        flex-direction: column;
    }
    
    .blog-pagination li {
        width: 100%;
        min-width: 0;
    }
    
    .blog-pagination .heading-font.next {
        padding: 6px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
}

.blog-details-right {
    display: grid;
    gap: 40px;
}

.blog-details-right .details-common h4 {
    margin-bottom: 30px;
}

.blog-details-right .details-common .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 14px;
}

.blog-details-right .details-common .tags li a {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 5px;
    background: #f0f4fd;
    box-shadow: 0px 1px 3px 0px rgba(3, 4, 28, 0.1);
    color: var(--black);
    transition: all 0.4s;
    font-size: 14px;
    font-weight: 500;
}

.blog-details-right .details-common .tags li a:hover {
    background: var(--p1-clr);
    color: var(--white);
}

.blog-details-right .search-box {
    border: 1px solid #e3e3e3;
}

.blog-details-right .search-box form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4fd;
    border-radius: 20px;
    padding-right: 24px;
    box-shadow: 0px 1px 3px 0px rgba(3, 4, 28, 0.1);
}

.blog-details-right .search-box form input {
    width: 100%;
    color: var(--pra);
    padding: 18px 24px;
    border: unset;
    outline: none;
    border-radius: 20px;
    background: transparent;
}

.blog-details-right .search-box form i {
    color: var(--pra);
}

.blog-details-right .search-box form ::placeholder {
    color: var(--pra);
}

.blog-details-right .category-blog .cates {
    display: grid;
    gap: 12px;
}

.blog-details-right .category-blog .cates li a .seri {
    font-size: 18px;
    color: var(--n800-clr);
}

.blog-details-right .category-blog .cates li a:hover {
    color: var(--p1-clr);
}

.blog-details-right .category-blog .cates li a:hover span {
    color: var(--p1-clr);
}

.blog-details-right .category-blog .cates .line {
    width: 100%;
    height: 1px;
    background: var(--p1-clr);
}

.blog-details-right .blog-latest {
    display: grid;
    gap: 6px;
}

.blog-details-right .blog-latest .blog-latest-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f0f4fd;
    border-radius: 10px;
    transition: all 0.4s;
}

.blog-details-right .blog-latest .blog-latest-item .content {
    max-width: 182px;
}

.blog-details-right .blog-latest .blog-latest-item .content a {
    font-weight: 600 !important;
    line-height: 19px;
}

.blog-details-right .blog-latest .blog-latest-item .thumb {
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-details-right .blog-latest .blog-latest-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

@media (max-width: 1199px) {
    .blog-details-right .blog-latest .blog-latest-item {
        gap: 12px;
    }

    .blog-details-right .blog-latest .blog-latest-item .thumb {
        width: 80px;
        height: 80px;
    }
}

.blog-details-right .blog-latest .blog-latest-item:hover {
    background: var(--p1-clr);
}

.blog-details-right .blog-latest .blog-latest-item:hover .content a {
    color: var(--white);
}

.blog-details-right .blog-latest .blog-latest-item:hover .content i,
.blog-details-right .blog-latest .blog-latest-item:hover .content div {
    color: var(--white);
}

@media (max-width: 1199px) {
    .blog-details-right {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .blog-details-right {
        gap: 20px;
    }
}

.tag-social-wrap .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.tag-social-wrap .tags li a {
    display: inline-block;
    padding: 5px 22px;
    border-radius: 14px;
    border: 1px solid rgba(3, 23, 64, 0.2);
    background: #fff;
    font-size: 14px;
    color: var(--pra);
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s;
}

.tag-social-wrap .tags li a:hover {
    background: var(--p1-clr);
    color: var(--white);
}

.tag-social-wrap .social-wrapper {
    gap: 10px;
}

.tag-social-wrap .social-wrapper a {
    background: var(--n100-clr);
}

.tag-social-wrap .social-wrapper a i {
    color: var(--black);
    transition: all 0.4s;
}

.tag-social-wrap .social-wrapper a:hover {
    background: var(--p1-clr);
}

.tag-social-wrap .social-wrapper a:hover i {
    color: var(--white);
}

.blog-details-reply-area {
    gap: 30px;
}

.blog-details-reply-area .blog-reply-box {
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #ddd;
    padding: 40px;
}

.blog-details-reply-area .blog-reply-box:not(:last-child) {
    margin-bottom: 30px;
}

.blog-details-reply-area .blog-reply-box button {
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #0c0c0e;
    background: #eef6e7;
    transition: all 0.4s;
    border-radius: 100px;
}

.blog-details-reply-area .blog-reply-box button:hover {
    background: var(--p1-clr);
    border-color: var(--p1-clr);
    color: var(--white);
}

@media (max-width: 1199px) {
    .blog-details-reply-area {
        gap: 20px;
    }

    .blog-details-reply-area .blog-reply-box {
        padding: 18px;
        gap: 20px;
    }

    .blog-details-reply-area .blog-reply-box:not(:last-child) {
        margin-bottom: 20px;
    }

    .blog-details-reply-area .blog-reply-box button {
        padding: 7px 18px;
    }
}

.blog-form {
    background: transparent;
    box-shadow: none;
}

.blog-form input,
.blog-form textarea {
    background: var(--white);
    border-width: 1px;
    padding: 12px 20px;
    border-radius: 100px;
}

.blog-form textarea {
    border-radius: 20px;
}

.blog-form .nice-select {
    padding: 13px 20px;
    border-radius: 100px;
    border: 1px solid #ddd;
}

.blog-form .nice-select .list {
    right: 0;
    background: #fff;
}

.blog-form .nice-select .list li {
    background-color: rgba(221, 221, 221, 0.337254902);
    border: 0.5px solid #ddd;
    padding: 7px 8px;
    color: #000;
}

.blog-form .nice-select::after {
    right: 22px;
    top: 22px;
}

.previous-nextime {
    background: var(--n100-clr);
    border-radius: 20px;
    padding: 20px 40px;
    margin-top: 36px;
}

.previous-nextime .prev-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
}

.previous-nextime .prev-icon:hover {
    background: var(--p1-clr);
}

.previous-nextime .prev-icon:hover i {
    color: var(--black);
}

@media (max-width: 1199px) {
    .previous-nextime {
        padding: 12px 16px;
        margin-top: 29px;
    }

    .previous-nextime .prev-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .blog-details-left .thumb1 {
        width: 85%;
        max-width: 85%;
        margin: 0 auto;
    }

    .blog-details-section .container {
        max-width: none !important;
    }

    .blog-details-right .blog-latest .blog-latest-item .thumb {
        width: 70px;
        height: 70px;
    }
}