body {
    background-color: #f7f7f7;
}

.banner,
.banner .swiper-slide {
    height: 270px;
}

.subnav a {
    display: block;
    line-height: 80px;
    padding: 0 30px;
    letter-spacing: 2px;
    font-weight: bold;
}

.subnav a.active,
.subnav a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.main {
    background-color: #fff;
    padding: 0 30px 30px;
    flex-grow: 1;
}

.content {
    padding: 30px;
    flex-grow: 1;
}

.content .title {
    text-align: left;
    line-height: 40px;
}

.content .meta {
    display: block;
    color: #777;
    padding-bottom: 10px;
    margin: 10px 0 20px;
    border-bottom: 1px dotted #ccc;
}

.content p {
    line-height: 30px;
}

.sidebar {
    width: 380px;
    background-color: #fff;
    padding: 0 30px 30px;
    flex-shrink: 0;
}

.sidebar h5 {
    line-height: 80px;
    font-size: 21px;
    letter-spacing: 2px;
    padding-left: 15px;
    position: relative;
}

.sidebar h5::before {
    display: block;
    content: '';
    width: 5px;
    height: 24px;
    background: var(--color-primary);
    position: absolute;
    left: 0;
    top: 30px;
}

.sidebar .item img {
    width: 130px;
    height: 110px;
}

.sidebar .item h6 {
    font-size: 16px;
    height: 90px;
    line-height: 30px;
    overflow: hidden;
}

.sidebar .item span {
    font-size: 12px;
    line-height: 20px;
    color: #999;
}

.images .swiper {
    height: 350px;
}

.images .swiper-slide {
    height: calc((100% - 20px) / 2) !important;
}

.images .swiper-slide img {
    height: 100%;
    object-fit: cover;
}

.caselist .swiper {
    height: 480px;
}

.caselist .swiper-slide {
    height: calc((100% - 20px) / 2) !important;
    display: flex;
    flex-direction: column;
}

.caselist .swiper-slide img {
    height: 200px;
    object-fit: cover;
}

.caselist .swiper-slide h5 {
    height: 30px;
    line-height: 40px;
    overflow: hidden;
    text-align: center;
    flex-shrink: 0;
    font-size: 14px;
}