/* PC端样式 */
.dynamic .search_box{
    position: relative;
    margin-top: 70px;
    height: 70px;
    margin-bottom: 40px;
    line-height: 70px;
}
.dynamic .left_type_box{
    position: absolute;
    left: 0;
    top: 3px;
    width: 300px;
    height: 60px;
    background: #F4F6F9;
    border: 1px solid #FFFFFF;
    border-radius: 300px;
    line-height: 60px;
}
.dynamic .left_type_box .search_type{
    width: 50%;
    display: inline-block;
    height: 100%;
    float: left;
    color: #646B77;
    font-size: 24px;
    opacity: 0.9;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.dynamic .left_type_box .search_type.active{
    background: linear-gradient(90deg, #22A1F5 2.27%, #226AF5 100%);
    border-radius: 30px;
    color: white;
    font-weight: bold;
}
.dynamic .right_search_input{
    position: absolute;
    right: 0;
    top: 0;
}
.dynamic .search_input{
    background: #F4F6F9;
    border-radius: 4px;
    outline: none;
    border: none;
    height: 42px;
    padding: 0 15px;
    color: #757575;
    position: relative;
    right: -5px;
}
.dynamic .search_btn{
    display: inline-block;
    background: #98A3B9;
    border-radius: 0px 4px 4px 0px;
    height: 42px;
    line-height: 42px;
    width: 38px;
    position: relative;
    top: 1px;
    cursor: pointer;
    text-align: center;
}
.dynamic .dynamic_list{
    position: relative;
    text-align: left;
}
.dynamic .dynamic_list .item_box{
    display: inline-block;
    width: 380px;
    box-sizing: border-box;
    height: 360px;
    background: #FFFFFF;
    border: 1px solid #E9ECF1;
    border-radius: 8px;
    margin-bottom: 25px;
    margin-right: 25px;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.dynamic .dynamic_list .item_box:hover{
    box-shadow: 0px 0px 24px rgba(170, 189, 207, 0.4);
}
.dynamic .dynamic_list .item_box:nth-child(3n){
    margin-right:0px;
}
.dynamic .item_box .item_img{
    position: relative;
    height: 220px;
    width: 100%;
}
.dynamic .item_box .img_box{
    width: 348px;
    height: 188px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #f1f1f1;
}
.dynamic .item_box .item_img img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dynamic .item_info{
    padding: 0 25px;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 328px;
    height: 120px;
}
.dynamic .item_info .item_title{
    font-weight: bold;
    font-size: 18px;
    text-align: justify;
    color: #283038;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dynamic .item_info .item_content{
    font-size: 14px;
    color: #7A8590;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 15px;
}
.dynamic .item_info .item_time{
    font-size: 14px;
    color: #7A8590;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    width: 328px;
}
.dynamic .dynamic_list .item_box:hover .item_title{
    color: #22A1F5;
}
.dynamic .item_info .item_time .item_date{
    float: right;
}
.dynamic .page_box{
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    margin-top: 20px;
}
.dynamic .page_box .page_num{
    color: #737373;
    background: white;
    padding: 4px 9px;
    border-radius: 2px;
    border: 1px solid #DFE5EE;
    box-sizing: border-box;
    margin: 0 3px;
    text-decoration: none;
    display: inline-block;
}
.dynamic .page_box .page_num.active,
.dynamic .page_box .page_num.current,
.dynamic .page_box a.page-numbers.current,
.dynamic .page_box span.page-numbers.current{
    color: white;
    background: #22A1F5;
    border: 1px solid #22A1F5;
}
.dynamic .page_box .page_prev,
.dynamic .page_box .page_next{
    position: relative;
    top: -2px;
    margin: 0 3px;
    text-decoration: none;
}
.banner-title-box {
    margin-top: 70px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.banner-title {
    position: relative;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--banner-bg-image, url('../assets/bg_cases_wave.34955a4a.png'));
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    margin: 0;
    padding: 60px 20px;
    box-sizing: border-box;
    font-size: 48px;
    font-weight: bold;
    color: #283038;
    text-align: center;
    line-height: 1.2;
}
@media (max-width: 768px) {
    /* 移动端整体布局 */
    .dynamic {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        background: #FFFFFF;
        overflow-x: hidden;
    }

    .dynamic .layout_min_width {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .dynamic .layout_center {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 确保搜索框区域不超出屏幕 */
    .dynamic .search_box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .dynamic .left_type_box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .dynamic .right_search_input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* 确保所有子元素不超出父容器 */
    .dynamic * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Banner 标题区域 */
    .banner-title-box {
        margin-top: 57px; /* 避开固定导航栏 */
        width: 100%;
        background: #FFFFFF;
        padding: 0;
    }

    .banner-title {
        min-height: auto;
        padding: 20px 16px;
        font-size: 20px;
        font-weight: 600;
        line-height: 28px;
        color: #283038;
        background: #FFFFFF;
        margin: 0;
    }

    /* 搜索框区域 */
    .dynamic .search_box {
        position: relative;
        margin-top: 0;
        height: auto;
        margin-bottom: 0;
        line-height: normal;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
        background: #FFFFFF;
    }

    /* 分类切换标签 */
    .dynamic .left_type_box {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 36px;
        background: #F4F6F9;
        border: none;
        border-radius: 18px;
        line-height: 36px;
        display: flex;
        overflow: hidden;
    }

    .dynamic .left_type_box .search_type {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        float: none;
        color: #646B77;
        font-size: 14px;
        opacity: 0.9;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        flex: 1;
        transition: all 0.3s ease;
    }

    .dynamic .left_type_box .search_type.active {
        background: linear-gradient(90deg, #22A1F5 2.27%, #226AF5 100%);
        border-radius: 18px;
        color: #FFFFFF;
        font-weight: 500;
        opacity: 1;
    }

    /* 搜索输入框 */
    .dynamic .right_search_input {
        position: relative;
        right: auto;
        top: auto;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
    
    .dynamic .right_search_input form {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .dynamic .search_input {
        flex: 1;
        background: #F4F6F9;
        border-radius: 4px 0 0 4px;
        outline: none;
        border: none;
        height: 36px;
        padding: 0 12px;
        color: #757575;
        font-size: 14px;
        position: relative;
        right: 0;
        width: auto;
        min-width: 0;
        box-sizing: border-box;
    }

    .dynamic .search_btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #98A3B9;
        border-radius: 0 4px 4px 0;
        height: 36px;
        line-height: 36px;
        width: 36px;
        min-width: 36px;
        position: relative;
        top: 0;
        cursor: pointer;
        text-align: center;
        margin-left: 0;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .dynamic .search_btn img {
        width: 18px;
        height: 18px;
    }

    /* 文章列表 - 横向布局 */
    .dynamic .dynamic_list {
        position: relative;
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: #FFFFFF;
    }

    .dynamic .dynamic_list .item_box {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: 100px;
        background: #FFFFFF;
        border: none;
        border-bottom: 1px solid #F0F0F0;
        border-radius: 0;
        margin-bottom: 0;
        margin-right: 0;
        position: relative;
        text-decoration: none;
        color: inherit;
        overflow: hidden;
        padding: 12px 16px;
        gap: 12px;
    }

    .dynamic .dynamic_list .item_box:last-child {
        border-bottom: none;
    }

    .dynamic .dynamic_list .item_box:active {
        background: #F8F9FA;
    }

    /* 文章图片 - 左侧 */
    .dynamic .item_box .item_img {
        position: relative;
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 4px;
        background: #F1F1F1;
    }

    .dynamic .item_box .img_box {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        transform: none;
        background-color: #f1f1f1;
    }

    .dynamic .item_box .item_img img {
        position: absolute;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 文章信息 - 右侧 */
    .dynamic .item_info {
        flex: 1;
        padding: 0;
        position: relative;
        left: 0;
        bottom: 0;
        width: auto;
        height: auto;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .dynamic .item_info .item_title {
        font-weight: 500;
        font-size: 15px;
        line-height: 22px;
        text-align: left;
        color: #283038;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 8px;
        margin-top: 0;
    }

    .dynamic .item_info .item_content {
        display: none;
    }

    .dynamic .item_info .item_time {
        font-size: 12px;
        color: #7A8590;
        overflow: hidden;
        position: relative;
        bottom: 0;
        width: 100%;
        margin-top: auto;
        padding-top: 0;
        border-top: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dynamic .item_info .item_time .item_from {
        color: #7A8590;
    }

    .dynamic .item_info .item_time .item_date {
        float: none;
        color: #7A8590;
    }

    .dynamic .dynamic_list .item_box:hover .item_title,
    .dynamic .dynamic_list .item_box:active .item_title {
        color: #22A1F5;
    }

    /* 分页样式 */
    .dynamic .page_box {
        position: relative;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 20px;
        padding: 0 16px;
    }

    .dynamic .page_box .page_num {
        color: #737373;
        background: white;
        padding: 6px 12px;
        border-radius: 4px;
        border: 1px solid #DFE5EE;
        box-sizing: border-box;
        margin: 0 4px;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        min-width: 36px;
    }

    .dynamic .page_box .page_num.active,
    .dynamic .page_box .page_num.current,
    .dynamic .page_box a.page-numbers.current,
    .dynamic .page_box span.page-numbers.current {
        color: white;
        background: #22A1F5;
        border: 1px solid #22A1F5;
    }

    .dynamic .page_box .page_prev,
    .dynamic .page_box .page_next {
        position: relative;
        top: 0;
        margin: 0 4px;
        text-decoration: none;
        padding: 6px 12px;
        color: #737373;
        border: 1px solid #DFE5EE;
        border-radius: 4px;
        display: inline-block;
        font-size: 14px;
    }
}

