@charset "utf-8";

.content-box{
    background: #EFF1F3;
}

.content-box .banner-box {
    position: relative; /* 相对定位，作为子元素定位的参考 */
    width: 100%; /* 宽度占满父容器 */
    height: 40vw;
    overflow: hidden; /* 隐藏超出部分 */
    /*margin-bottom: 5vw;*/
}

.content-box .banner-box .banner {
    width: 100%;
    height: 80%;
}

.content-box .banner-box .carousel-inner {
    width: 100%;
    height: 100%;
}

.content-box .banner-box .carousel-inner .item {
    width: 100%;
    height: 100%;
}

.content-box .banner-box .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片填充方式 */
}

.content-box .banner-box .banner-cover {
    position: absolute; /* 绝对定位，覆盖在轮播图上 */
    top: 0;
    left: 0;
    width: 100%;
    height: 30vw; /* 1.5 倍于 banner 的高度 */
    display: flex;
    flex-direction: column;
    padding-top: 9vw;
    align-items: center;
    color: white; /* 文字颜色 */
    text-align: center;
    box-sizing: border-box; /* 确保 padding 不影响宽度计算 */
}

.content-box .banner-box .banner-cover .cover-text {
    color: #F75748;
    text-align: center;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
}

.content-box .banner-box .banner-cover .cover-text2 {
    color: #FDFDFD;
    text-align: center;
    font-family: "IBM Plex Sans";
    font-size: 65px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.95px;
}

/* 搜索框 */
.search{
       display: -webkit-box;
}
.content-box .banner-box .banner-cover .search-box {
    display: flex;
    margin-top: 20px;
}

.content-box .banner-box .banner-cover .search-box input {
    padding: 10px;
    font-size: 1.4rem;
    border: none;
    border-radius: 30px;
    background: #FDFDFD;
    width: 30vw; /* 输入框宽度 */
}

.content-box .banner-box .banner-cover .search-box .category-btn {
    border-radius: 25px;
    border: 0.8px solid #1C83F9;
    background: #C1DEFF;
    margin-bottom: 3px;
}

.content-box .banner-box .banner-cover .search-box .search-btn {
    padding: 10px 12px;
    font-size: 1rem;
    border: none;
    background-color: #166AC9; /* 按钮背景色 */
    color: white; /* 按钮文字颜色 */
    border-radius: 100%;
    cursor: pointer;
}

/* 指南链接 */
.content-box .banner-box .banner-cover .guideline {
    color: #FDFDFD;
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.39px;
    margin-top: 2vw;
    display: flex;
    align-items: center;
    gap: 5px; /* 图标与文字间距 */
}

/* 推荐文章 */
.content-box .banner-box .banner-cover .featured-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* 宽度 */
    max-width: 800px; /* 最大宽度 */
    position: absolute;
    bottom: 0;
}

.content-box .banner-box .banner-cover .article-text {
    flex: 1;
    text-align: left;
    color: #333; /* 文字颜色 */
    border-radius: 0px 200px 200px 0px;
    background: #FDFDFD;
    padding: 1vw 3vw;
    max-height: 170px;
}

.content-box .banner-box .banner-cover .article-text .category {
    margin-bottom: 1vw;
}

.content-box .banner-box .banner-cover .article-text .category span {
    color: #52881B;
    font-family: "IBM Plex Sans";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    background: #B6EDAE;
    padding: 2px;
}

.content-box .banner-box .banner-cover .article-text .title {
    color: #141414;
    font-family: "IBM Plex Sans";
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.66px;
    margin-bottom: 1vw;
}

.content-box .banner-box .banner-cover .article-text .read-more {
    font-size: 0.9rem;
    color: #166AC9; /* 链接颜色 */
    display: flex;
    align-items: center;
    gap: 5px; /* 图标与文字间距 */
}

.content-box .banner-box .banner-cover .article-image {
    border-radius: 200px 0 0 200px;
    background: #EBE4BE;
    flex-shrink: 0;
    padding: 1vw 1vw 1vw 3vw;
    max-height: 170px;
}

.content-box .banner-box .banner-cover .article-image img {
    width: 100px; /* 图片宽度 */
    height: auto;
    border-radius: 5px;
}

.content-box .publications-title {
    color: #F75748;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
}

.content-box .publications-title2 {
    color: #141414;
    font-family: "IBM Plex Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.2px;
}

.content-box .view-all {
    text-align: center;
    width: 12vw;
    height: 35px;
    flex-shrink: 0;
    line-height: 35px;
    border-radius: 25px;
    border: 1px solid #166AC9;
    color: #166AC9;
    font-family: "IBM Plex Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.45px;
}

.content-box .view-all-btn {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 25px;
    border: 1px solid #166AC9;
    text-align: center;
}

.content-box .view-all-btn svg {
    width: 15px;
    height: 35px;
}

.content-box .book-box {
    display: flex; /* 启用 Flexbox 布局 */
    justify-content: space-between; /* 子元素均匀分布，首尾贴边 */
    gap: 3vw; /* 设置子元素之间的间隙 */
    width: 100%; /* 父容器占满一行 */
    box-sizing: border-box; /* 确保 padding 不影响宽度计算 */
}

.content-box .book-card-img {
    background: #FDFDFD;
    text-align: center; /* 文字居中 */
    padding: 20px;
}

.content-box .book-card-img img{
    width: 75%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-box .book-card-img:hover img {
    transform: scale(1.05); /* 鼠标悬停时放大图片 */
}

.content-box .book-box .book-card {
    flex: 1; /* 子元素平均分配剩余空间 */
    padding: 20px 0; /* 内边距 */
}

.content-box .book-box .book-card .book-card-tag {
    font-family: "IBM Plex Sans";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    margin-top: 1vw;
    width: auto;
    height: 20px;
    line-height: 20px;
    text-align: left;
    padding: 0 5px;
    margin-top: 1vw;
}

.content-box .book-box .book-card .book-card-tag2 {
    color: #D09D10;
    font-family: "IBM Plex Sans";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    margin-top: 1vw;
    background: #FDEAB2;
    width: 94px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.content-box .book-box .book-card .book-card-tag3 {
    color: #2F6FAC;
    font-family: "IBM Plex Sans";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    margin-top: 1vw;
    background: #9ECBF5;
    width: 92px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.content-box .book-box .book-card .book-card-tag4 {
    color: #58B0BB;
    font-family: "IBM Plex Sans";
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    margin-top: 1vw;
    background: #BAE9F3;    
    width: 92px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.content-box .book-box .book-card .book-card-title {
    color: #166AC9;
    font-family: "IBM Plex Sans";
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
    margin-top: 1vw;
    width: 93%;
}

.content-box .ad-box {
    display: flex;
    align-items: stretch;
    margin: 8vw 0;
}

.content-box .ad-box .ad-left {
    display: block;
    border-radius: 0px 500px 500px 0px;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat, #166AC9;
}

.content-box .ad-box .ad-right {
    border-radius: 500px 0 0 500px;
    background: #166AC9;
    width: 50%;
    box-sizing: border-box;
    padding: 8% 0 8% 8%;
}

.content-box .ad-box .ad-right .title1 {
    color: #C1DEFF;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
}

.content-box .ad-box .ad-right .title2 {
    color: #FDFDFD;
    font-family: "IBM Plex Sans";
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.78px;
    margin-top: 5%;
}

.content-box .ad-box .ad-right .title3 {
    color: #FDFDFD;
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
    margin-top: 3%;
}

.content-box .ad-box .ad-right .cws {
    color: #166AC9;
    font-family: "IBM Plex Sans";
    font-size: 1vw;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.45px;
    border-radius: 25px;
    border: 1px solid #FDFDFD;
    background: #FDFDFD;
    width: 10vw;
    height: 2vw;
    line-height: 2vw;
    text-align: center;
    position: relative;
    top: 1.5vw;
}

.content-box .ad-box .ad-right .cws-btn {
    border-radius: 25px;
    border: 1px solid #FDFDFD;
    background: #FDFDFD;
    margin-right: 5%;
    height: 2vw;
    width: 2vw;
    text-align: center;
    line-height: 2vw;
    position: relative;
    top: 1.5vw;
}

.content-box .ad-box .ad-right .ad-box-btn {
    margin-top: 6%;
}

.content-box .ad-box .ad-right .ad-box-btn .logo {
    margin-right: 5%;
}

.content-box .final-box {
    margin: 8vw 0;
}

.content-box .final-box img{
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-box .final-box .book-card-img:hover img {
    transform: scale(1.1);
}

.content-box .final-box .book-card-img {
    padding: 0;
}

@media (max-width: 768px) {
    
    .content-box .publications-title2 {
        font-size: 30px!important;
    }
    .content-box .publish-box .publish-logo img {
        width: 60px!important;
        margin: 2vw 4vw 8vw 4vw!important;
    }

    .content-box .book-box {
        display: flow;
    }
    
    .content-box .book-box .book-card .book-card-title {
        font-size: 20px;
    }

    .content-box .view-all {
        width: 180px!important;
        text-align: center;
        float: right;
    }

    .content-box .view-all-btn {
        float: right;
    }

    .content-box .view-all-book-box {
        padding: 0!important;
        margin: 10px 0 20px 0;
    }

    .content-box .banner-box {
        height: 660px;
    }
    .content-box .banner-box .banner-cover .featured-article {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 30px;
        padding: 0px;
        border-radius: 10px;
        width: 100%;
        max-width: 800px;
        position: absolute;
        bottom: -531px;
    }

    .content-box .banner-box .banner-cover .cover-text2 {
        font-size: 50px;
    }
    .content-box .banner-box .banner-cover {
        padding-top: 120px;
    }
    .search{
        display: contents;
    }
    .content-box .banner-box .banner-cover .search-box {
        width: 75%;
        padding-right: 30px;
    }
    .content-box .banner-box .banner-cover .search-box .category-btn {
        width: 12rem;
    }
    .content-box .banner-box .banner-cover .search-box input{
        width: 100%;
        position: relative;
        top: 3px;
    }
    .input-group {
        width: 100%;
    }

    .content-box .banner-box .banner-cover .guideline {
        display: flow;
    }

    .content-box .banner-box .banner-cover .article-image {
        width: 50%;
        height: 170px;
        line-height: 37vw;
    }   
    .content-box .banner-box .banner-cover .article-text {
        padding: 10px 25px;
        height: 170px;
    }
    .content-box .banner-box .banner-cover .article-text .title {
        font-size: 16px;
    }

    .content-box .ad-box {
        width: 100%;
        overflow: hidden;
        display: flow;
    }

    .content-box .ad-box .ad-left {
        display: inline-block; /* 使 div 高度由内容决定 */
        background: linear-gradient(to bottom, #EFF1F3 50%, #166AC9 50%);
        border-radius: initial;
    }

    .content-box .ad-box .ad-left img {
        border-radius: 0px 500px 500px 0px;
    }

    .content-box .ad-box .ad-right{
        width: 100%;
        border-radius: 0;
    }
    .content-box .ad-box .ad-right .title2 {
        font-size: 22px;
    }
    .content-box .ad-box .ad-right .title3 {
        font-size: 14px;
    }
    .content-box .ad-box .ad-right .cws {
        font-size: 16px;
        padding: 5px;
        width: auto;
        height: auto;
        line-height: normal;
    }
    .content-box .ad-box .ad-right .cws-btn{
        width: 35px;
        height: 35px;
        flex-shrink: 0;
        border-radius: 25px;
        border: 1px solid #166AC9;
        text-align: center;
        line-height: 35px;
        margin-right: 3%;
    }

    .content-box .ad-box .ad-right .ad-box-btn .logo {
        margin-right: 0;
    }

    .content-box .ad-box .ad-right .ad-box-btn .logo img {
        width: 80%;
    }
}

:root {
    --homepick-font: "Saira",sans-serif;
    --homepick-reey-font: "reeyregular";
    --homepick-gray: #87898e;
    --homepick-gray-rgb: 135,137,142;
    --homepick-white: #fff;
    --homepick-white-rgb: 255,255,255;
    --homepick-base: #25384a;
    --homepick-base-rgb: 206,174,146;
    --homepick-black: #25384a;
    --homepick-black-rgb: 50,52,59;
    --homepick-primary: #25384a;
    --homepick-primary-rgb: 244,239,235;
    --homepick-bdr-color: #25384a;
    --homepick-bdr-color-rgb: 226,218,211;
    --homepick-orange: #FF7500;
    --homepick-orange-rgb: #00
}

.apartments-two {
    position: relative;
    display: block;
    margin-top: 70px;
}

.apartments-two .container {
    max-width: 1600px
}

.apartments-two__single {
    position: relative;
    display: block;
    margin-bottom: 30px
}

.apartments-two__img {
    position: relative;
    display: block;
    overflow: hidden;
    z-index: 1;
    background-color: #fff;
}

.apartments-two__img:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    /* background-color: rgba(var(--homepick-black-rgb),.50); */
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
    z-index: 1
}

.apartments-two__single:hover .apartments-two__img:before {
    -webkit-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    -ms-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all
}

.apartments-two__img img {
    width: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all 500ms ease;
    padding: 1vw 3vw;
}

.apartments-two__single:hover .apartments-two__img img {
    transform: scale(1.05)
}

.apartments-two__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 10px 60px 0 rgba(0,0,0,0.05);
    padding: 0px 30px 30px
}

.apartments-two__content-left {
    position: relative;
    display: block;
    flex-shrink: initial;
    height: 120px;
    margin: auto;
}

.apartments-two__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 10px
}

.apartments-two__title a {
    color: var(--homepick-black);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease
}

.apartments-two__title a:hover {
    color: var(--homepick-base)
}

.apartments-two__tagline {
    font-size: 14px;
    font-weight: 500;
    line-height: 14px
}

.apartments-two__content-right {
    position: relative;
    display: none;
    top: 3px;
}

.thm-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    outline: none !important;
    background-color: var(--homepick-base);
    color: var(--homepick-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 10px 40px 10px;
    transition: all .5s linear;
    overflow: hidden;
    z-index: 1;
}
.thm-btn:hover {
    color: var(--homepick-white)!important;
    background-color: var(--homepick-orange)
}

.thm-btn:hover:before {
    background-color: var(--homepick-orange);
    top: -30%
}

.apartments-two__btn {
    font-size: 10px;
    /* padding: 1px 20px 1px */
}

.section-title {
    position: relative;
    display: block;
    margin-top: -10px;
    margin-bottom: 48px
}

.section-title__tagline {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1.2em;
    color: var(--homepick-base);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
    z-index: 1
}

.section-title__tagline:before {
    content: "";
    position: absolute;
    top: 7px;
    right: -30px;
    height: 1px;
    width: 21px;
    background-color: var(--homepick-base)
}

.section-title__title {
    margin: 0;
    color: var(--homepick-black);
    font-size: 45px;
    line-height: 54px;
    font-weight: 700;
    margin-top: 2px
}