/*
Theme Name: ZKTY
Description: WordPress theme for ChinaNewEnergy / Zhongke Tianyuan.
Version: 1.0.8
Text Domain: zkty
*/

:root {
  color: #29343b;
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: #ad3c36; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { background: #fff; position: relative; z-index: 10; }
.header-inner {
  max-width: 1180px;
  height: 100px;
  padding: 0 16px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { flex: 0 0 230px; }
.brand img { width: 230px; height: 95px; object-fit: contain; }
.site-header:not(.investor-header) .header-inner { justify-content: flex-start; gap: 50px; }
.desktop-nav { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.desktop-nav a { color: #626569; font-weight: 700; font-size: 16px; padding: 0 15px; }
.desktop-nav a:hover, .desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] { color: #aa3a34; }
.desktop-nav .language-link { font-family: Arial, sans-serif; }
.mobile-nav { display: none; }

.investor-header .header-inner { gap: 26px; }
.investor-nav, .investor-languages { display: flex; align-items: center; white-space: nowrap; }
.investor-nav { flex: 1; gap: 30px; }
.investor-nav a { font-size: 15px; font-weight: 700; color: #626569; }
.investor-nav a:hover, .investor-nav a[aria-current="page"] { color: #aa3a34; }
.investor-languages { gap: 0; }
.investor-languages a { color: #646b70; font-size: 13px; padding: 0 8px; border-right: 1px solid #c5cace; }
.investor-languages a:last-child { border: 0; padding-right: 0; }
.investor-languages a:hover, .investor-languages a[aria-current="page"] { color: #aa3a34; }
.investor-mobile-nav { display: none; }

.hero { position: relative; width: 100%; aspect-ratio: 1400 / 459; max-height: 459px; overflow: hidden; background: #17222a; }
.hero-slide { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.hero-slide.is-visible { opacity: 1; }
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 72px;
  border: 0;
  background: rgb(16 20 24 / 48%);
  color: #fff;
  font: 58px/1 Arial, sans-serif;
  cursor: pointer;
}
.hero-control:hover, .hero-control:focus-visible { background: rgb(16 20 24 / 75%); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.home-content { max-width: 1140px; padding: 0 16px; margin: auto; }
.home-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; padding: 34px 0 38px; }
.overview-column { min-width: 0; }
.overview-column h2, .section-heading h2, .home-distribution > h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9dfe2;
  color: #555f64;
  font-size: 18px;
  line-height: 1.4;
}
.overview-column h2::before { content: "∞"; display: inline-block; margin-right: 9px; color: #9fa8ad; font: 34px/16px Arial, sans-serif; vertical-align: -5px; }
.news-list, .technology-list { list-style: none; margin: 0; padding: 0; }
.news-list li, .technology-list li { margin: 0; padding: 3px 0; font-size: 14px; line-height: 1.75; }
.news-list a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.overview-image { width: 100%; max-height: 170px; object-fit: cover; }
.overview-column p { margin: 12px 0 6px; color: #5b6265; font-size: 14px; line-height: 1.8; }
.text-link, .section-heading > a { color: #a43c37; font-size: 14px; font-weight: 700; }
.home-business { padding: 0 0 44px; }
.home-business > h2, .home-patents > h2 { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid #d9dfe2; color: #555f64; font-size: 18px; line-height: 1.4; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cad3d6; border-left: 1px solid #cad3d6; background: #f8faf9; }
.business-item { min-width: 0; min-height: 220px; padding: 28px; border-right: 1px solid #cad3d6; border-bottom: 1px solid #cad3d6; }
.business-number { position: relative; width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; background: #0b6382; color: #fff; font: 800 19px/1 Arial, sans-serif; }
.business-number::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 5px; background: #b73731; }
.business-item h3 { margin: 24px 0 10px; color: #0b6382; font-size: 18px; line-height: 1.3; }
.business-item p { margin: 0; color: #5d696f; font-size: 14px; line-height: 1.75; }
.home-patents { padding: 0 0 54px; }
.home-patents-layout { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.35fr); gap: 44px; align-items: start; }
.home-patent-stat { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #cad3d6; }
.home-patent-stat strong { color: #0b6382; font-size: 32px; font-weight: 900; line-height: 1; }
.home-patent-stat h3 { margin: 0 0 5px; color: #29343b; font-size: 17px; line-height: 1.35; }
.home-patent-stat p { margin: 0; color: #5d696f; font-size: 14px; line-height: 1.65; }
.home-patents-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-patent-media { min-width: 0; margin: 0; }
.home-patent-image { aspect-ratio: 210 / 297; overflow: hidden; border: 1px solid #cad3d6; background: #f3f5f4; }
.home-patent-image img { width: 100%; height: 100%; object-fit: contain; }
.home-patent-media figcaption { margin-top: 12px; color: #5d696f; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.home-projects { padding: 8px 0 54px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-heading h2 { flex: 1; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-item { min-width: 0; }
.project-item img { width: 100%; height: auto; aspect-ratio: 263 / 186; object-fit: contain; }
.project-item h3 { margin: 10px 0 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.home-distribution { padding: 0 0 56px; }
.distribution-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 28px; align-items: center; }
.distribution-copy { border-left: 3px solid #a43c37; padding: 8px 0 8px 19px; }
.distribution-copy p { margin: 0; color: #35434b; font-size: 18px; line-height: 1.9; }
.distribution-map { min-width: 0; }
.distribution-map img { width: 100%; height: auto; }
.distribution-original { display: block; margin-top: 4px; color: #a43c37; text-align: right; font-size: 13px; font-weight: 700; }

.inner-banner { width: 100%; height: min(33vw, 410px); min-height: 235px; background: #c5d3dd url("/files/theme/brand/bar.jpg") center center / cover no-repeat; }
.inner-layout { max-width: 1140px; margin: 0 auto; padding: 22px 16px 70px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; }
.inner-layout.single-column { grid-template-columns: 1fr; }
.section-sidebar { min-width: 0; }
.sidebar-title, .sidebar-link { display: block; padding: 13px 12px; border-bottom: 1px solid #fff; font-size: 14px; font-weight: 700; }
.sidebar-title { background: #14659e; color: #fff; }
.sidebar-title:hover { color: #fff; background: #0c527f; }
.sidebar-link { background: #f0f2f3; }
.sidebar-link:hover, .sidebar-link.is-active { background: #70abd0; color: #fff; }
.investor-relations .inner-layout { grid-template-columns: 242px minmax(0, 1fr); }
.investor-sidebar .sidebar-title { background: #086aa5; }
.investor-sidebar .sidebar-link { padding: 12px 10px; background: #f0f1f2; }
.investor-sidebar .sidebar-link:hover, .investor-sidebar .sidebar-link.is-active { background: #70a9ce; color: #fff; }
.investor-breadcrumb { font-weight: 600; }
.investor-relations .inner-main > .article-body { margin-top: 46px; }
.investor-document-list { list-style: none; margin: 18px 0 0; padding: 0; }
.investor-document-list li { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 5px; border-bottom: 1px dashed #d7dce0; font-size: 17px; line-height: 1.45; }
.investor-document-list img { flex: 0 0 25px; width: 25px; height: 25px; }
.investor-document-list a { color: #1d6098; overflow-wrap: anywhere; }
.investor-document-list a:hover, .investor-document-list a:focus-visible { color: #a43c37; text-decoration: underline; }
.inner-main { min-width: 0; }
.breadcrumb { border-bottom: 1px solid #d9dfe2; padding: 8px 0 15px; color: #646d72; font-size: 14px; overflow-wrap: anywhere; }
.breadcrumb a { color: #266b94; }
.page-title, .article-title { color: #266b94; font-size: 23px; line-height: 1.4; margin: 28px 0 20px; }
.article-title { text-align: center; }
.article-meta { text-align: center; color: #879095; font-size: 13px; margin: -6px 0 26px; }
.article-body { color: #363e43; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.technology-article .article-body { margin-top: 46px; }
.article-body img, .article-body video, .article-body iframe, .article-body table { max-width: 100%; height: auto; }
.article-body img.aligncenter, .article-body img.center-block { display: block; margin-left: auto; margin-right: auto; }
.article-body p { margin: 0 0 18px; text-indent: 2em; }
.article-body a { color: #21699d; text-decoration: underline; }
.article-body a:hover { color: #ad3c36; }
:is(.technology-article, .en-technology-article) .article-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: #333;
}
:is(.technology-article, .en-technology-article) .article-body :is(th, td) {
  border: 1px solid #d9d9d9;
  padding: 10px 14px;
  text-align: left;
}
:is(.technology-article, .en-technology-article) .article-body th {
  background-color: #f2f2f2;
  font-weight: bold;
}
:is(.technology-article, .en-technology-article) .article-body tbody tr:nth-child(odd) {
  background-color: #fafafa;
}
:is(.technology-article, .en-technology-article) .article-body tbody tr:hover {
  background-color: #f0f7ff;
}
.technology-detail-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e2e6e8; }
.technology-detail-list li { border-bottom: 1px solid #e2e6e8; }
.technology-detail-list a { display: block; padding: 15px 8px; color: #266b94; font-size: 16px; line-height: 1.5; }
.technology-detail-list a:hover, .technology-detail-list a:focus-visible { background: #f3f7f9; color: #a43c37; }
.archive-list { border-top: 0; }
.archive-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 20px; padding: 15px 0; border-bottom: 1px solid #e2e6e8; }
.news-archive .archive-item, .technology-archive .archive-item { display: block; }
.project-archive .archive-item { grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: min-content 1fr; gap: 4px 20px; }
.archive-thumbnail { grid-row: 1 / 3; width: 160px; height: 120px; overflow: hidden; background: #edf1f3; }
.archive-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.archive-item time { grid-row: 1 / 3; color: #8b9498; font-size: 13px; padding-top: 3px; }
.archive-item h2 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.archive-item p { margin: 5px 0 0; color: #777f83; font-size: 13px; }
.navigation.pagination { margin-top: 30px; }
.page-numbers { display: inline-block; min-width: 34px; padding: 5px 9px; margin-right: 4px; border: 1px solid #d4dce0; text-align: center; font-size: 14px; }
.page-numbers.current { color: #fff; background: #14659e; border-color: #14659e; }

.site-footer { border-top: 1px solid #e3e8ea; background: #f4f6f6; color: #5d666b; }
.footer-inner { max-width: 1140px; min-height: 150px; margin: auto; padding: 25px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer-inner p { margin: 4px 0; }
.footer-inner a { color: #356d91; }
.footer-inner img { flex: 0 0 90px; }
.investor-relations .site-footer { background: #585858; color: #f7f7f7; }
.investor-relations .site-footer a { color: #fff; }

@media (max-width: 1140px) {
  .site-header:not(.investor-header) .header-inner { gap: 18px; }
  .desktop-nav a { font-size: 13px; padding: 0 8px; }
}

@media (max-width: 1120px) {
  .investor-nav { gap: 16px; }
  .investor-nav a { font-size: 13px; }
}

@media (max-width: 900px) {
  .header-inner { height: 76px; }
  .brand, .brand img { width: 182px; height: 75px; flex-basis: 182px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 24px; line-height: 1; }
  .mobile-nav nav { position: absolute; left: 0; right: 0; top: 76px; background: #fff; box-shadow: 0 12px 20px rgb(0 0 0 / 14%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 18px 18px; }
  .mobile-nav nav a { padding: 10px 8px; border-bottom: 1px solid #edf0f1; font-size: 14px; }
  .home-overview { gap: 18px; }
  .distribution-layout { grid-template-columns: 1fr; gap: 20px; }
  .distribution-copy p { max-width: 40em; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-patents-layout { grid-template-columns: 1fr; gap: 32px; }
  .inner-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
  .investor-nav { display: none; }
  .investor-mobile-nav { display: block; order: 3; }
  .investor-mobile-nav summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
  .investor-mobile-nav summary::-webkit-details-marker { display: none; }
  .investor-mobile-nav nav { position: absolute; left: 0; right: 0; top: 76px; display: grid; padding: 8px 18px; background: #fff; box-shadow: 0 12px 20px rgb(0 0 0 / 14%); }
  .investor-mobile-nav nav a { padding: 10px 8px; border-bottom: 1px solid #e8ecee; }
  .investor-relations .inner-layout { grid-template-columns: 210px minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .hero { aspect-ratio: 16 / 9; }
  .hero-control { width: 40px; height: 48px; font-size: 40px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .home-overview { grid-template-columns: 1fr; padding-top: 25px; }
  .distribution-copy p { font-size: 16px; line-height: 1.8; }
  .home-distribution { padding-bottom: 44px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-item { min-height: 0; padding: 24px; }
  .home-patents-gallery { grid-template-columns: 1fr; }
  .overview-column { padding-bottom: 10px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .inner-banner { height: 185px; min-height: 0; }
  .inner-layout { display: block; padding-top: 0; }
  .section-sidebar { margin: 0 -16px 20px; }
  .section-sidebar nav { display: flex; overflow-x: auto; white-space: nowrap; }
  .sidebar-title { padding-left: 16px; }
  .sidebar-link { flex: 0 0 auto; padding: 9px 15px; border-right: 1px solid #fff; }
  .investor-header .header-inner { gap: 10px; padding: 0 12px; }
  .investor-header .brand, .investor-header .brand img { width: 145px; height: 60px; flex-basis: 145px; }
  .investor-languages { margin-left: auto; }
  .investor-languages a { font-size: 12px; padding: 0 5px; }
  .investor-mobile-nav summary { font-size: 12px; }
  .investor-mobile-nav summary span { font-size: 19px; }
  .investor-sidebar nav { display: flex; overflow-x: auto; }
  .investor-relations .inner-main > .article-body { margin-top: 24px; }
  .investor-document-list li { font-size: 15px; }
  .article-title, .page-title { font-size: 20px; }
  .technology-article .article-body { margin-top: 30px; }
  .archive-item { grid-template-columns: 1fr; }
  .archive-item time { grid-row: auto; }
  .project-archive .archive-item { grid-template-columns: 112px minmax(0, 1fr); gap: 3px 12px; }
  .project-archive .archive-thumbnail { width: 112px; height: 84px; }
  .project-archive .archive-item p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .footer-inner { align-items: flex-start; }
  .footer-inner img { width: 62px; height: 62px; flex-basis: 62px; }
}
