/*
 Theme Name: 种基科品牌展示模板
 Theme URI: http://www.zhongjike.com/
 Description: 为种基科公司定制设计的品牌展示模板
 Version: 1.0.0
 Author: 杨海涛
 Author URI: http://www.hitoy.org/
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    image-rendering: auto;
}
body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',Helvetica,Arial,'PingFang SC','Microsoft YaHei UI','Microsoft YaHei','Source Han Sans CN',sans-serif;
    line-height: 1.5;
    text-align: start;
    color: #333;
    background-color: var(--primarybgcolor)
}

h1 {
    font-size: 3.5em;
    font-weight: normal;
}
h2 {
    font-size: 2.25em;
}
a {
    color: inherit;
    text-decoration: none;
}
img,video {
    max-inline-size: 100%;
    block-size: auto;
    vertical-align: bottom;
    object-fit: contain
}
*[data-id] {
    cursor: pointer;
}
.header {
    position: absolute;
    z-index: 20;
    width: 100%;
    max-width: 1800px;
    padding: 20px 30px;
    margin: 0 auto;
}
.header .navigation {
    display: flex;
    justify-content: space-between;
    margin-top: .5em;
    color: #ccc;
}
.header .menu a {
    margin-right: 2em;
    transition: all .15s;
}
.header a:hover {
    color: #68a021;
}
.header .qnav a {
    display: inline-block;
    width: 22px;
    height: 19px;
    margin-left: 10px;
    text-indent: 2em;
    background: url('./res/header-icons.png') no-repeat;
    overflow: hidden;
}
.header .qnav .email {
    background-position: 0 0;
}
.header .qnav .lang {
    background-position: 0 -19px;
}
.section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.section .section-body {
    position: relative;
    height: 80vh;
    color: #fff;
    text-align: center;
    background-position: center center;
    background-size: cover;
}
.section .section-notes {
    position: relative;
    height: 20vh;
    text-align: center;
    color: transparent;
    background: #000;
    transition: all 1s 1s ease-in-out
}
.section .section-notes .name {
    display: block;
}
.section .section-notes .desc {
    font-size: 1.25em;
    font-weight: 600;
}
.section.active .section-notes {
    color: #fff;
}
.section .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: inherit;
}
.section-welcome .section-body {
    background-image: url('./res/section-welcome.jpg');
}
.section-welcome .speech {
    display: inline-block;
    color: #73aa29;
    font-size: 1.5em;
    text-shadow: 0 0 1px #000;
    transform: translateY(500%);
    filter: opacity(0);
    transition: all 1s .5s ease-in-out;
}
.section-welcome h1 {
    margin-top: .5em;
    transform: translateY(200%);
    filter: opacity(0);
    transition: all 1s 1s ease-in-out;
}
.section-welcome.active .speech, .section-welcome.active h1 {
     transform: translateY(0);
    filter: opacity(1);
}
.section-about .section-body {
    background-image: url('./res/section-about.jpg');
}
.section-about .section-body .container {
    text-align: left;
    padding-right: 40%;
}
.section-about .section-body h2 {
    color: transparent;
    transition: all .5s .5s ease-in-out;
}
.section-about .section-body h2:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    margin: 10px 0;
    background: #73aa29;
    transition: all 1s 1s ease-in-out;
}
.section-about .section-body p {
    transform: translateY(200%);
    filter: opacity(0);
    transition: all .75s .5s ease-in-out;
}
.section-about.active .section-body h2 {
    color: #fff;
}
.section-about.active .section-body h2:after {
    width: 100%;
}
.section-about.active .section-body p {
    transform: translateY(0);
    filter: opacity(1);
}
.section-products .section-body  {
    color: #333;
    overflow: hidden;
}
.section-products .tabs {
    margin-top: 1em;
}
.section-products .items-tab {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: left;
}
.section-products .items-tab .item {
    padding: .5em 0;
    border-bottom: 1px solid #d5d5d5;
    cursor: pointer;
    color: #666;
}
.section-products .items-tab .item.active {
    border-color: #73aa29;    
}
.section-products .items-tab span {
    display: block;
    font-size: 1.25em;
    font-weight: 600;
    color: #000;
}
.section-products .items-content {
    margin-top: 2em;
}
.section-products .items-content .item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 1em;
    text-align: left;
    filter: opacity(0);
    visibility: hidden;
    transition: .3s linear;
}
.section-products .items-content .item.active {
    filter: opacity(1);
    visibility: visible;
}
.section-products .figure {
    width: 48%;
    filter: blur(30px);
    transition: all 1s .5s ease-in-out;
}
.section-products .intro {
    width: 48%;
    filter: opacity(0);
    transform: translateY(30%);
    transition: all .75s .5s ease-in-out;
}
.section-products.active .figure {
    filter: blur(0);
}
.section-products.active .intro {
    filter: opacity(1);
    transform: translateY(0);
}
.section-products ul, .section-products ol {
    margin-top: 1em;
    list-style-position: inside;
    color: #999;
}
.section-business  {
    background-color: #f6f8fe;
}
.section-business .section-body .container {
    position: static;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    place-items: center;
    height: 100%;
}
.section-business .intro {
    width: 32%;
    text-align: left;
    color: #333;
    transform: translateY(50%);
    filter: opacity(0);
    transition: all .5s .5s ease;
}
.section-business ul {
    list-style: none;
}
.section-business .section-body .name {
    margin-bottom: 1em;
    color: #73aa29;
}
.section-business .highlights {
    margin-top: 2em;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
}
.section-business .num {
    display: block;
    font-size: 2em;
    font-weight: 600;
    color: #73aa29;
}
.section-business .map {
    position: relative;
    width: 50%;
    aspect-ratio: 1.03;
    background: url('./res/section-business.png') no-repeat center center;
    background-size: contain;
    transform: translateY(50%);
    filter: opacity(0);
    transition: all .5s 1s ease;
}
.section-business .point {
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 6px;
    height: 6px;
    border-color: #73aa29;
    border-style: solid;
    border-radius: 50%;
    background: #fff;
    animation: beat 2s infinite;
    filter: opacity(0);
    transition: all 1s 2s ease;
}
.section-business .map .point:nth-child(1) {
    top: 43%;
    left: 45%;
}
.section-business .map .point:nth-child(2) {
    top: 49%;
    left: 56%;
}
.section-business .map .point:nth-child(3) {
    top: 42%;
    left: 64%;
}
.section-business.active .intro {
    transform: translateY(0);
    filter: opacity(1);
}
.section-business.active .map {
    transform: translateY(0);
    filter: opacity(1);
}
.section-business.active .point {
    filter: opacity(1);
}
.section-service .section-body {
    color: #333;
}
.section-service .name {
    display: block;
    margin: 10px auto;
    font-size: 1.25em;
}
.section-service .items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 90px;
    margin-top: 30px;
}
.section-service .item {
    transform: translateY(100%);
    filter: opacity(0);
}
.section-service .items .item:nth-child(1) {
    transition: all .5s .5s ease;
}
.section-service .items .item:nth-child(2) {
    transition: all .5s .75s ease;
}
.section-service .items .item:nth-child(3) {
    transition: all .5s 1s ease;
}
.section-service .item h3 {
    margin-top: 10px;
    line-height: 2;
}
.section-service .item p {
    text-align: left;
    white-space: pre-line;
}
.section-service.active .item {
    transform: translateY(0);
    filter: opacity(1);
}
.section-news {
    height: fit-content;
}
.section-news .section-body {
    height: fit-content;
    color: #333;
    text-align: left;
}
.section-news .section-body .container {
    position: static;
    transform: none;
    padding: 40px 10px;
}
.section-news .section-notes {
    color: #fff;
}
.section-news .section-body h2 {
    border-bottom: 2px solid #333;
}
.section-news .item {
    display: flex;
    justify-content: space-between;
    border-bottom: .5px solid #d8d8d8;
    margin: 1em 0;
}
.section-news .precursor {
    width: 16%;
    font-size: .85em;
}
.section-news .precursor strong {
    display: block;
    font-weight: normal;
    line-height: 1.5;
}
.section-news .subject {
    width: 60%;
}
.section-news .figure {
    width: 18%;
}
.section-news .excerpt {
    margin: .5em 0;
}
.section-news .holders {
    display: block;
    margin-top: -.5em;
    font-size: .85em;
    color: #666;
}
.section-news .detail {
    color: #999;
}
.section-news .more {
    display: block;
    width: 190px;
    line-height: 40px;
    border: 1px solid #73aa29;
    border-radius: 20px;
    margin: 0 auto;
    text-align: center;
    color: #73aa29;
}
.section-news .reviews .subject {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.section-news .patent .precursor strong:nth-child(2) {
    margin-top: 1em;
}
.section-news .research .precursor strong:nth-child(2) {
    margin-top: 1em;
    font-size: 1.05em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.section-news .reviews .precursor strong:nth-child(2) {
    color: red;
}
.section-news .reviews .precursor strong:nth-child(4) {
    color: #2474a6;
    text-decoration: underline;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.section-team {
    height: auto;
    padding: 5em 0;
    background: #f0f0f0;
}
.section-team .section-body {
    height: auto;
}
.section-team .container {
    position: static;
    transform: none;
}
.section-team .name {
    color: #73aa29;
}
.section-team h2 {
    color: #333;
}
.section-team .items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 20px;
    margin-top: 3em;
    color: #333;
}
.section-team .item {
    padding: 30px;
    background: #fff;
}
.section-team .item img { 
    border-radius: 50%;
    margin-bottom: 1em;
}
.section-team .ptitle:after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin: .5em auto;
    background: #cfcfcf;
}
.section-team .synopsis {
    color: #666;
}
.section-contact {
    height: auto;
    padding: 5em 0;
    background-color: #282828;
    background-image: url('./res/section-careers.jpg');
    background-repeat: no-repeat;
    background-position: 100% center;
    background-size: cover;
}
.section-contact .container {
    position: static;
    transform: none;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.section-contact .contact {
    width: 50%;
    padding-right: 3em;
}
.section-contact .careers {
    width: 50%;
    padding-left: 3em;
}
.section-contact .name {
   color: #a1c374; 
}
.section-contact a {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 20px;
    margin-top: 20px;
    background: #fff;
    color: #333;
}

.footer .capability {
    height: 75px;
    font-size: .875em;
    color: #fff;
    text-align: center;
    background: #73aa29;
}
.footer .capability ul {
    list-style: none;
    margin: 0 auto;
    line-height: 75px;
}
.footer .capability li {
    display: inline-flex;
    margin: 0 5px;
}
.footer .capability li:before {
    content: '';
    display: inline-block;
    width: 53px;
    height: 73px;
    margin-right: 5px;
    background: url('./res/footer-icons.png') no-repeat center center;
}
.footer .capability li:nth-child(1):before {
    background-position: 0 12px;
}
.footer .capability li:nth-child(2):before {
    background-position: 0 -48px;
}
.footer .capability li:nth-child(3):before {
    background-position: 0 -106px;
}
.footer .capability li:nth-child(4):before {
    background-position: 0 -170px;
}
.footer .foot {
    padding: 2em 0;
    color: #fff;
    text-align: center;
    background: #191919;
}
.footer .copyright {
    margin-top: 5px;
    font-size: .875em;
    color: #5e5e5e;
}
.pages {
    width: 100%;
}
.pages .page-indicator {
    position: fixed;
    z-index: 20;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
}
.pages .page-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 10px auto;
    background: #fff;
    cursor: pointer;
}
.pages .page-indicator .active {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    background: transparent;
}
.float-container {
    position: fixed;
    top: 5vh;
    width: 90vw;
    height: 90vh;
    left: 5vw;
    background: rgba(255,255,255,.95);
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.float-container .content {
    padding: 50px;
    height: 90vh;
    line-height: 1.25;
    overflow-y: auto;
}
.float-container .row, .float-container .row-keyword, .float-container .row-excerpt,  .float-container .row-content{
    margin: 12px 0;
}
.float-container p.row .name, .float-container p.row-keyword .name {
    display: inline-block;
    width: 120px;
}
.float-container .post {
    margin-top: 12px;
    line-height: 1.6;
}
.float-container .close {
    position: absolute;
    top: -10px;
    right: -10px;
    display: block;
    width: 20px;
    height: 20px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAVFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////8wXzyWAAAAG3RSTlMAqr66rqWiwrK2ycafnZrz486TgHDo1BwP2SpKswIvAAABTklEQVRYw+2SSZaDMAxEMWDAzRzI0K3737MnYunFxIW8ySa1Q9b/cQqyd7bcFpufNMDpc6yv/Pg100/y43xOv+Hnlv5SHOWL/33jByOFBszT2U9m2uKO8I62TH600j0N5hu/LGo3flgivvSrXHpgwDwXFhpMjDeSjxgw72KH9hlvuey4vtrnK1QUG7q9407yyNCHh72upOHxaAA8MgygYvQvelAwarKL1ovfZiWvlWCoZDFh4DdpAY8MFtwfGExQqtYgC9EbMI8NXEayAfPYYLJXCEoSMal8uqGhh5gUPt3gGDMpBiehUm8oJAIMgOdCFIZcrgMD5sNSVHyCoeZFUIyCVxja2FKODR9yBRggn2CYAR9UhH8fG3B/cA2r8UVxPdiwIH6/7NXPJgUv7nBhgYbnJkc/aTQ8V17zRMNz6Vce3NrxsmaKLNPZZO9s+QaWsmOAKPXtjQAAAABJRU5ErkJggg==') no-repeat center center;
    background-size: 60%;
    background-color: #73aa29;
    border-radius: 50%;
    cursor: pointer;
}


@keyframes beat {
    from {
        border-width: 0;
        box-shadow-offset: 0;
        box-shadow: 0 0 0 0 #b0cd91;
    }
    to {
        border-width: 6px;
        box-shadow: 0 0 0 5px #b0cd91;
    }
}

@media(max-width:1440px){
    h1 {
        font-size: 3em;
    }
    .header .navigation {
        display: none;
    }
    .section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media(max-width:1024px){
    h1 {
        font-size: 3em;
    }
    .section-welcome .speech {
        font-size: 1.25em;
    }
    .section .section-body {
        height: calc(100vh - 12vw);
    }
    .section .section-notes {
        height: 12vw;
    }
    .section .section-notes .name {
        display: none;
    }
    .section .section-notes .desc {
        font-size: 1em;
    }
    .section-products .items-tab span {
        font-size: 1.15em;
    }
    .section-products .items-content .item {
        display: block;
    }
    .section-products .figure {
        float: left;
        width: 35%;
        margin-right: 20px;
    }
    .section-products .intro {
        width: 100%;
    }
}

@media(max-width:800px){
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.65em;
    }
    .section-about .section-body .container {
        padding-right: 10px;
    }
    .section-business .intro {
        width: 100%;
        text-align: center;
    }
    .section-business .intro .name {
        display: none;
    }
    .section-business .highlights {
        text-align: center;
    }
    .section-business .map {
        width: 100%;
    }
    .section-service .name {
        display: none;
    }
    .section-products .items-tab {
        display: none;
    }
    .section-products .items-content {
        margin-top: 1em;
    }
    .section-products .items-content .item {
        padding-top: 0;
    }
    .section-products .figure {
        float: none;
        width: 100%;
    }
    .section-products .intro {
        margin-top: 2em;
        height: calc(100vh - 12vw - 8em - 56vw);
        overflow-y: auto;
    }
     .section-service .items {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        font-size: 14px;
    }
     .section-service .item:nth-child(1) {
         grid-column: 1/3;
     }
    .section-service .item p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .section-news .section-body {
        height: fit-content;
    }
    .section-news .container {
        padding: 10px;
    }
    .section-news .item {
        display: grid;
        grid-template-columns: 1fr 2fr;
        padding-bottom: 10px;
    }
    .section-news .precursor,.section-news .figure {
        width: 100%;
    }
    .section-news .subject {
        width: 100%;
        grid-column: 1/3;
        grid-row: 2/3;
    }
    .section-news .excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .section-team .section-body {
        height: fit-content;
    }
    .section-team {
        padding: 2em 0;
    }
    .section-team .name {
        display: none;
    }
    .section-team .items {
       grid-template-columns: 1fr 1fr; 
       grid-gap: 10px;
    }
    .section-team .item:nth-child(1) {
        grid-column: 1/3;
    }
    .section-contact {
        padding: 2em 0;
    }
    .section-contact .contact,  .section-contact .careers {
        width: 100%;
        padding: 0;
    }
    .section-contact .careers {
         margin-top: 20px;
    }
    .section-contact a {
        padding: 6px 20px;
    }
    .footer .capability {
        display: none;
    }
    .float-container {
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: calc(100vh - 40px);
    }
    .float-container .content {
        padding: 20px;
    height: calc(100vh - 40px);
    }
    .float-container p.row .name {
        width: fit-content;
        margin-right: 20px;
    }
}

@media(max-width:600px) {
    .section-team .items .item:nth-child(n+2) .synopsis {
        display: none;
    }
    .footer .foot {
        padding: 1em 0;
        font-size: 14px;
    }
}
