

.item-img{
    width: 100%;
    height: auto;
    background-position: center !important;
    background-size: cover !important;
}
.item-img {width: 100%; height: auto;}
.carousel, .carousel-inner{
    min-width: 1240px;
}
.carousel-indicators{
    margin-bottom: 140px;
}
.carousel-indicators li{
    border-top-width: 0;
    border-bottom-width: 0;
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    opacity: 1;
    margin-right: 4px;
    margin-left: 4px;
}
.carousel-indicators .active{
    width: 32px;
    height: 8px;
    background: #FFF172;
    border-radius: 4px;
    line-height: 8px !important;
    padding: 0 !important;
}
.body-container{
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    margin-top: -94px;
    z-index: 3;
    width: 100%;
    min-width: 1240px;
    min-height: 1000px;
    background-color: #FFFFFF;
}
.hot-search{
    margin-left: auto;
    margin-right: auto;
    color: #777777;
    height: 28px;
    margin-top: 20px;
    justify-content: center;
}
.search-item{
    padding-left: 12px;
    padding-right: 12px;
    line-height: 28px;
    height: 28px;
    background: #F5F5F5;
    border-radius: 14px;
    margin-right: 12px;
}



.carousel-btn{
    width: 40px;
}
.carousel-btn.prev-btn{
    transform: rotate(180deg);
}
.control-next{
    width: 40px;
    right: -13px;
    opacity: 1;
}
.control-prev{
    width: 40px;
    left: -13px;
    opacity: 1;
}
.top-cate{
    margin-top: 80px;
}
.cate-item {
    margin-right: 20px;
}
.cate-item:last-child {
    margin-right: 0;
}
.cate-item__img{
    width: 295px;
    height: 220px;
    border-radius: 32px;
    object-fit: cover;
}
.cate-item__info{
    padding: 20px;
    width: 100%;
    margin-top: -68px;
}
.cate-item__info .info-title{
    height: 25px;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 25px;
}
.cate-item__info .info-title span{
    font-size: 12px;
}
.cate-item__info .info-time{
    padding-left: 12px;
    padding-right: 12px;
    height: 28px;
    background: #FFF172;
    border-radius: 14px;
    line-height: 28px;
    color: #333333;
    text-align: center;
}
.main-title__img{
    width: auto;
    height: auto;
    margin: 80px auto 0;
}
.main-title__img-large{
    width: 355px;
    margin-top: 40px;
}
.main-title__img-middle{
    width: 302px;
    margin-top: 40px;
}
.sub-title{
    height: 84px;
    align-items: flex-end;
}
.sub-title__img{
    width: auto;
    height: auto;
}
.sub-title__left {
    position: relative; /* 相对定位，作为p和span的参考点 */
    display: inline-block; /* ⚠️ 宽度随内容自适应 */
    margin-bottom: 15px;
    min-width: 200px; /* 最小宽度 */
}
.sub-title__left p,
.sub-title__left span {
    position: absolute; /* 绝对定位，达到重叠效果 */
    left: 0;
    bottom: 0;
    white-space: nowrap; /* 不换行 */
}
.sub-title__left p {
    font-size: 28px;
    color: #333333;
    font-weight: 600;
    z-index: 2; /* 显示在上面 */
    margin: 0;
}
.sub-title__left span {
    font-size: 60px;
    color: #333333;
    font-weight: 500;
    opacity: .04;
    z-index: 1; /* 显示在下面 */
    margin: 0;
    line-height: 60px;
}
/* ⚠️ 关键部分：让容器宽度取决于最长子元素 */
.sub-title__left::after {
    content: attr(data-width); /* 占位，不显示内容 */
    visibility: hidden; /* 隐藏 */
    display: block;
    height: 0;
    overflow: hidden;
    white-space: nowrap;
}
.sub-title__right{
    font-weight: 500;
    color: #777777;
    padding-bottom: 18px;
}
.sub-title__right img{
    width: 24px;
    height: 24px;
}
.sub-content{
    margin-top: 10px;
    flex-flow: wrap;
    margin-bottom: 40px;
}
.sub-content__item{
    width: 400px;
    height: 240px;
    margin-bottom: 20px;
    margin-right: 20px;
    position: relative;
}
.sub-content__item:nth-child(3n) {
    margin-right: 0 !important;
}
.sub-item__img{
    width: 400px;
    height: 240px;
    border-radius: 32px;
}
.writers-container{
    margin-top: 40px;
}
.writers-container{
    flex-flow: wrap;
}
.writer-item{
    width: 150px;
    text-align: center;
    margin-right: 68px;
    margin-bottom: 60px;
}
.writer-item:nth-child(6n) {
    margin-right: 0;
}
.writer-avatar{
    width: 150px;
    height: 150px;
    border: 1px solid #F5F5F5;
    border-radius: 48px;
}
.writer-name{
    width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    height: 28px;
    font-size: 20px;
    color: #333333;
    line-height: 28px;
    margin-top: 24px;
}
.img-icon{
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.writer-info{
    height: 20px;
    font-weight: 500;
    color: #333333;
    line-height: 20px;
}
.writer-num{
    margin-right: 20px;
}
.writer-nums{
    justify-content: center;
    margin-top: 12px;
}
.service-container{
    flex-flow: wrap;
    margin-top: 40px;
}
.service-item{
    width: 590px;
    margin-right: 60px;
    margin-bottom: 60px;
    background: #FFFFFF;
}
.service-item:first-child{
    border-radius: 100px 0px 100px 0px;
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.08);
}
.service-item:nth-child(2){
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.08);
    border-radius: 0px 100px 0px 100px;
}
.service-item:nth-child(3){
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.08);
    border-radius: 0px 100px 0px 100px;
}
.service-item:nth-child(4){
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.08);
    border-radius: 100px 0px 100px 0px;
}
.service-img{
    width: 590px;
    height: 200px;
}
.service-item:nth-child(2n) {
    margin-right: 0;
}
.service-info {
    margin-top: -200px;
    padding-top: 48px;
    height: 200px;
    text-align: left;
    padding-left: 80px;
}
.service-item:nth-child(2n) .service-info{
    text-align: right;
    padding-right: 80px;
}
.service-item:nth-child(2n) .service-info .service-info__desc{
    margin-left: 224px;
}
.service-info__title{
    font-size: 24px;
    font-weight: 500;
    color: #333333;
    line-height: 33px;
    margin-bottom: 20px;
}
.service-info__desc{
    width: 210px;
    font-size: 14px;
    color: #777777;
    line-height: 24px;
}

.main-title__img-footer{
    width: 354px;
}
.parnter-imgs{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}