﻿/*通用样式*/

/*banner*/
.banner { height: 400px; }

/*head-box*/
.head-box .flr a { cursor: pointer; }
.head-box .flr i { margin-left: 8px; margin-top: -2px; }
.sort { display: none; position: absolute; top: 60px; right: 0; z-index: 10; width: 148px; font-size: 14px; background: #FFF; box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1); border-radius: 6px; overflow: hidden; }
.sort .name { margin-bottom: 16px; }
.sort a { display: block; text-align: center; padding: 16px 12px; border-bottom: 1px solid #E9E9E9; }
.sort a:last-child { border-bottom: none; }
.sort .active { font-weight: bold; }

/*groups*/
.groups { display: flex; justify-content: center; flex-wrap: wrap; padding-top: 21px; width: 100%; box-sizing: border-box; border-bottom: 1px solid #E0E0E0; }
.groups a { margin-bottom: 21px; }
.groups span { display: inline-block; margin: 7px 24px 0; width: 8px; height: 8px; vertical-align: middle; font-size: 0; border-radius: 4px; background: #D3EFFC; }



/*列表模式*/
#list { margin-bottom: 48px; position: relative; }
#list .main { border-radius: 0px 0px 20px 20px; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3); }
#list .main .items { padding: 0 60px; }
#list .main .items .item { padding: 24px 0 24px 32px; border-bottom: 1px solid #E9E9E9; }
#list .main .items .item:last-child { border: none; }
#list .main .items .item .date { font-size: 0; }
#list .main .items .item .date .color-main { margin-bottom: 20px; font-size: 24px; line-height: 1; }
#list .main .items .item .date .color-subtitle { font-size: 20px; line-height: 1; }
#list .main .items .item .pic { margin-left: 36px; border-radius: 5px; width: 282px; height: 160px; overflow: hidden; }
#list .main .items .item .pic img { max-width: 282px; height: 160px; object-fit: cover; }
#list .main .items .item .info { width: 623px; }
#list .main .items .item .info .name { margin: 12px 0; font-size: 20px; font-weight: bold; line-height: 150%; }
#list .main .items .item .info .desc { font-size: 14px; line-height: 200%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-overflow: ellipsis; }

/*卡片模式*/
#card { margin-bottom: 48px; position: relative; }
#card .main { border-radius: 0px 0px 20px 20px; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3); }
#card .main .items { padding: 24px 40px 0; }
#card .main .items .item { margin-bottom: 24px; margin-right: 24px; width: 262px; height: 256px; border-radius: 10px; box-sizing: border-box; border: 1px solid #E0E0E0; overflow: hidden; }
#card .main .items .item:nth-child(4n) { margin-right: 0; }
#card .main .items .item .pic { padding: 4px; width: 260px; height: 146px; border-radius: 10px 10px 0px 0px; box-sizing: border-box; }
#card .main .items .item .pic .ratio169 { background: #FFF !important; }
#card .main .items .item .pic a { }
#card .main .items .item .pic img { width: auto !important; }
#card .main .items .item .info { padding: 20px; }
#card .main .items .item .info .name { margin-bottom: 12px; font-size: 16px; font-weight: bold; line-height: 100%; }
#card .main .items .item .info .desc { font-size: 14px; font-weight: bold; line-height: 150%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; }

/*仅卡片*/
#cardonly { margin-bottom: 48px; position: relative; }
#cardonly .main { border-radius: 0px 0px 20px 20px; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3); }
#cardonly .main .items { padding: 24px 40px 0; }
#cardonly .main .items .item { margin-bottom: 24px; margin-right: 24px; width: 262px; height: 256px; border-radius: 10px; box-sizing: border-box; border: 1px solid #E0E0E0; overflow: hidden; }
#cardonly .main .items .item:nth-child(4n) { margin-right: 0; }
#cardonly .main .items .item .pic { padding: 4px; width: 260px; height: 146px; border-radius: 10px 10px 0px 0px; box-sizing: border-box; }
#cardonly .main .items .item .pic .ratio169 { background: #FFF !important; }
#cardonly .main .items .item .pic a { }
#cardonly .main .items .item .pic img { width: auto !important; }
#cardonly .main .items .item .info { padding: 20px; }
#cardonly .main .items .item .info .name { margin-bottom: 12px; font-size: 16px; font-weight: bold; line-height: 100%; }
#cardonly .main .items .item .info .desc { font-size: 14px; font-weight: bold; line-height: 150%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; }
