

/* ==========================================
   基础样式
========================================== */

#yunassie-certificates-v5 {
  --yc-blue:#58788c;
  --yc-blue-dark:#3d5e72;
  --yc-green:#668679;
  --yc-green-dark:#4b6a5d;
  --yc-violet:#81738e;
  --yc-coral:#bf7963;
  --yc-dark:#222528;
  --yc-line:#e8eaeb;

  width:100%;
  padding:82px 25px 70px;
  background:#ffffff;
  color:var(--yc-dark);
  font-family:Arial,Helvetica,sans-serif;
  box-sizing:border-box;
  overflow:hidden;
}

#yunassie-certificates-v5 *,
#yunassie-certificates-v5 *::before,
#yunassie-certificates-v5 *::after {
  box-sizing:border-box;
}

#yunassie-certificates-v5 .yc5-container {
  width:100%;
  max-width:1500px;
  margin:0 auto;
}

#yunassie-certificates-v5 .yc5-header {
  margin-bottom:55px;
}

/* ==========================================
   顶部小标题
========================================== */

#yunassie-certificates-v5 .yc5-eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  color:var(--yc-blue-dark);
  font-size:10px;
  font-weight:700;
  letter-spacing:2.6px;
}

#yunassie-certificates-v5 .yc5-eyebrow-line {
  position:relative;
  width:43px;
  height:1px;
  overflow:hidden;
  background:#e2e5e6;
}

#yunassie-certificates-v5 .yc5-eyebrow-line::after {
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    90deg,
    var(--yc-blue),
    var(--yc-violet),
    var(--yc-coral),
    var(--yc-green)
  );
  animation:yc5Line 3s ease-in-out infinite;
}

@keyframes yc5Line {
  0% {left:-100%;}
  100% {left:100%;}
}

/* ==========================================
   主标题
========================================== */

#yunassie-certificates-v5 .yc5-title-row {
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:80px;
  align-items:center;
}

#yunassie-certificates-v5 .yc5-title-row h2 {
  margin:0;
  color:var(--yc-dark);
  font-size:clamp(38px,4vw,61px);
  line-height:1.08;
  letter-spacing:-1.7px;
  font-weight:400;
}

#yunassie-certificates-v5 .yc5-title-row h2 span {
  display:block;
  margin-top:4px;
  color:transparent;
  background:linear-gradient(
    100deg,
    var(--yc-blue-dark) 0%,
    var(--yc-blue) 20%,
    var(--yc-violet) 42%,
    var(--yc-coral) 64%,
    var(--yc-green) 83%,
    var(--yc-blue-dark) 100%
  );
  background-size:260% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  animation:yc5TitleGradient 9s linear infinite;
}

@keyframes yc5TitleGradient {
  from {background-position:0% center;}
  to {background-position:260% center;}
}

/* ==========================================
   右侧品质说明
========================================== */

#yunassie-certificates-v5 .yc5-statement {
  width:100%;
  max-width:570px;
  justify-self:end;
}

#yunassie-certificates-v5 .yc5-statement-label {
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:15px;
  color:var(--yc-green-dark);
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
}

#yunassie-certificates-v5 .yc5-dot {
  display:block;
  flex:0 0 7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--yc-green);
  animation:yc5Pulse 2.4s ease-in-out infinite;
}

@keyframes yc5Pulse {
  0%,100% {
    transform:scale(1);
    opacity:.7;
  }
  50% {
    transform:scale(1.3);
    opacity:1;
  }
}

#yunassie-certificates-v5 .yc5-statement-body {
  display:grid;
  grid-template-columns:2px 1fr;
  gap:20px;
}

#yunassie-certificates-v5 .yc5-color-line {
  width:2px;
  min-height:105px;
  border-radius:10px;
  background:linear-gradient(
    180deg,
    var(--yc-blue),
    var(--yc-violet),
    var(--yc-coral),
    var(--yc-green)
  );
  background-size:100% 200%;
  animation:yc5Vertical 7s linear infinite;
}

@keyframes yc5Vertical {
  from {background-position:center 0%;}
  to {background-position:center 200%;}
}

#yunassie-certificates-v5 .yc5-statement-body p {
  max-width:520px;
  margin:-4px 0 18px;
  color:#6b6f72;
  font-size:15px;
  line-height:1.85;
}

#yunassie-certificates-v5 .yc5-statement-body strong {
  color:#26292b;
  font-weight:600;
}

#yunassie-certificates-v5 .yc5-keywords {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
}

#yunassie-certificates-v5 .yc5-keywords span {
  color:var(--yc-blue-dark);
  font-size:8px;
  font-weight:700;
  letter-spacing:1.4px;
}

#yunassie-certificates-v5 .yc5-keywords span:nth-of-type(2) {
  color:var(--yc-violet);
}

#yunassie-certificates-v5 .yc5-keywords span:nth-of-type(3) {
  color:var(--yc-green-dark);
}

#yunassie-certificates-v5 .yc5-keywords i {
  width:3px;
  height:3px;
  border-radius:50%;
  background:#c4c7c9;
}

/* ==========================================
   三项优势
========================================== */

#yunassie-certificates-v5 .yc5-features {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  max-width:900px;
  margin-top:42px;
}

#yunassie-certificates-v5 .yc5-feature {
  --yc-feature-color:#777;
  position:relative;
  display:flex;
  align-items:center;
  gap:15px;
  min-height:78px;
  padding:14px 17px;
  overflow:hidden;
  background:#ffffff;
  border:1px solid #e8eaeb;
  border-radius:10px;
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

#yunassie-certificates-v5 .yc5-blue {
  --yc-feature-color:var(--yc-blue);
  --yc-card-color:var(--yc-blue);
}

#yunassie-certificates-v5 .yc5-green {
  --yc-feature-color:var(--yc-green);
  --yc-card-color:var(--yc-green);
}

#yunassie-certificates-v5 .yc5-violet {
  --yc-feature-color:var(--yc-violet);
  --yc-card-color:var(--yc-violet);
}

#yunassie-certificates-v5 .yc5-coral {
  --yc-feature-color:var(--yc-coral);
  --yc-card-color:var(--yc-coral);
}

#yunassie-certificates-v5 .yc5-feature::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:var(--yc-feature-color);
  transform:scaleY(.2);
  transform-origin:center bottom;
  transition:transform .4s ease;
}

#yunassie-certificates-v5 .yc5-feature:hover {
  transform:translateY(-5px);
  border-color:var(--yc-feature-color);
  box-shadow:0 12px 30px rgba(20,30,35,.07);
}

#yunassie-certificates-v5 .yc5-feature:hover::before {
  transform:scaleY(1);
}

#yunassie-certificates-v5 .yc5-feature-num {
  color:var(--yc-feature-color);
  font-size:11px;
  font-weight:700;
  animation:yc5Number 3s ease-in-out infinite;
}

@keyframes yc5Number {
  0%,100% {
    transform:translateY(0);
    opacity:.65;
  }
  50% {
    transform:translateY(-4px);
    opacity:1;
  }
}

#yunassie-certificates-v5 .yc5-feature strong {
  display:block;
  margin-bottom:4px;
  color:#292c2e;
  font-size:14px;
  font-weight:600;
}

#yunassie-certificates-v5 .yc5-feature div span {
  display:block;
  color:#7a7e81;
  font-size:11px;
  line-height:1.4;
}

/* ==========================================
   证书区域
========================================== */

#yunassie-certificates-v5 .yc5-cert-section {
  padding-top:27px;
  border-top:1px solid var(--yc-line);
}

#yunassie-certificates-v5 .yc5-cert-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:26px;
}

#yunassie-certificates-v5 .yc5-label {
  display:block;
  margin-bottom:7px;
  color:var(--yc-blue-dark);
  font-size:11px;
  font-weight:700;
  letter-spacing:2.2px;
}

#yunassie-certificates-v5 .yc5-cert-heading p {
  margin:0;
  color:#7c8082;
  font-size:13px;
  line-height:1.6;
}

#yunassie-certificates-v5 .yc5-view-tip {
  display:flex;
  align-items:center;
  gap:8px;
  color:#95999b;
  font-size:9px;
  letter-spacing:1.7px;
  white-space:nowrap;
}

/* ==========================================
   轮播窗口与左右淡出
========================================== */

#yunassie-certificates-v5 .yc5-viewport {
  position:relative;
  width:100%;
  overflow:hidden;
  padding:8px 0 20px;
}

#yunassie-certificates-v5 .yc5-viewport::before,
#yunassie-certificates-v5 .yc5-viewport::after {
  content:"";
  position:absolute;
  z-index:20;
  top:0;
  bottom:0;
  width:65px;
  pointer-events:none;
}

#yunassie-certificates-v5 .yc5-viewport::before {
  left:0;
  background:linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255,255,255,.78) 45%,
    rgba(255,255,255,0) 100%
  );
}

#yunassie-certificates-v5 .yc5-viewport::after {
  right:0;
  background:linear-gradient(
    270deg,
    #ffffff 0%,
    rgba(255,255,255,.78) 45%,
    rgba(255,255,255,0) 100%
  );
}

/* ==========================================
   无限循环
   电脑端42秒
   手机端34秒
========================================== */

#yunassie-certificates-v5 .yc5-track {
  display:flex;
  align-items:stretch;
  gap:34px;
  width:max-content;
  animation:yc5InfiniteScroll 42s linear infinite;
  will-change:transform;
}

#yunassie-certificates-v5 .yc5-viewport:hover .yc5-track {
  animation-play-state:paused;
}

@keyframes yc5InfiniteScroll {
  from {
    transform:translateX(0);
  }
  to {
    transform:translateX(calc(-50% - 17px));
  }
}

/* ==========================================
   证书卡片
========================================== */

#yunassie-certificates-v5 .yc5-card {
  width:235px;
  flex:0 0 235px;
  display:flex;
  flex-direction:column;
  overflow:visible;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  color:inherit !important;
  cursor:default !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  -webkit-touch-callout:none !important;
  transition:transform .4s cubic-bezier(.2,.7,.2,1);
}

#yunassie-certificates-v5 .yc5-card:hover {
  transform:translateY(-7px);
}

/* ==========================================
   证书图片
========================================== */

#yunassie-certificates-v5 .yc5-image {
  width:100%;
  height:335px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

#yunassie-certificates-v5 .yc5-image img {
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border:none !important;
  outline:none !important;
  pointer-events:none !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  -webkit-user-drag:none !important;
  -webkit-touch-callout:none !important;
  filter:drop-shadow(
    0 7px 12px rgba(29,39,45,.07)
  );
  transition:
    transform .5s cubic-bezier(.2,.7,.2,1),
    filter .5s ease;
}

#yunassie-certificates-v5 .yc5-card:hover .yc5-image img {
  transform:scale(1.035);
  filter:drop-shadow(
    0 14px 20px rgba(29,39,45,.15)
  );
}

/* ==========================================
   证书名称
========================================== */

#yunassie-certificates-v5 .yc5-card-bottom {
  position:relative;
  min-height:58px;
  margin-top:16px;
  padding:0 5px 9px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  overflow:hidden;
}

#yunassie-certificates-v5 .yc5-card-bottom::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:1px;
  background:var(--yc-card-color);
  transform:translateX(-50%);
  transition:width .45s ease;
}

#yunassie-certificates-v5 .yc5-card:hover .yc5-card-bottom::after {
  width:70%;
}

#yunassie-certificates-v5 .yc5-card-bottom span {
  flex:0 0 auto;
  padding-top:3px;
  color:var(--yc-card-color);
  font-size:9px;
  font-weight:700;
}

#yunassie-certificates-v5 .yc5-card-bottom strong {
  max-width:190px;
  color:#34383a;
  font-size:14px;
  line-height:1.4;
  font-weight:500;
  text-align:center;
  transition:color .35s ease;
}

#yunassie-certificates-v5 .yc5-card:hover .yc5-card-bottom strong {
  color:var(--yc-card-color);
}

/* ==========================================
   不显示日期和历史记录标签
========================================== */

#yunassie-certificates-v5 .yc5-status,
#yunassie-certificates-v5 .yc5-expired {
  display:none !important;
}

/* ==========================================
   底部说明
========================================== */

#yunassie-certificates-v5 .yc5-bottom {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:11px;
  color:#999da0;
  font-size:9px;
  letter-spacing:.5px;
  text-align:center;
}

#yunassie-certificates-v5 .yc5-bottom span {
  width:27px;
  height:1px;
  flex:0 0 27px;
  background:linear-gradient(
    90deg,
    var(--yc-blue),
    var(--yc-violet),
    var(--yc-green)
  );
}

#yunassie-certificates-v5 .yc5-disclaimer {
  max-width:850px;
  margin:23px auto 0;
  color:#999da0;
  font-size:10px;
  line-height:1.8;
  text-align:center;
}

/* ==========================================
   图片防复制
========================================== */

#yunassie-certificates-v5 .yc5-card,
#yunassie-certificates-v5 .yc5-image,
#yunassie-certificates-v5 .yc5-image img {
  -webkit-user-select:none !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
  -webkit-touch-callout:none !important;
}

#yunassie-certificates-v5 .yc5-image img {
  pointer-events:none !important;
}

/* ==========================================
   平板适配
========================================== */

@media(max-width:1050px) {

  #yunassie-certificates-v5 .yc5-title-row {
    grid-template-columns:1fr;
    gap:28px;
  }

  #yunassie-certificates-v5 .yc5-statement {
    justify-self:start;
    max-width:650px;
  }

  #yunassie-certificates-v5 .yc5-card {
    width:220px;
    flex-basis:220px;
  }

  #yunassie-certificates-v5 .yc5-image {
    height:315px;
  }
}

/* ==========================================
   手机适配
========================================== */

@media(max-width:650px) {

  #yunassie-certificates-v5 {
    padding:55px 17px;
  }

  #yunassie-certificates-v5 .yc5-header {
    margin-bottom:38px;
  }

  #yunassie-certificates-v5 .yc5-title-row h2 {
    font-size:35px;
  }

  #yunassie-certificates-v5 .yc5-eyebrow {
    font-size:8px;
    letter-spacing:1.4px;
    gap:8px;
  }

  #yunassie-certificates-v5 .yc5-statement-label {
    font-size:8px;
    letter-spacing:1.6px;
  }

  #yunassie-certificates-v5 .yc5-statement-body {
    gap:14px;
  }

  #yunassie-certificates-v5 .yc5-statement-body p {
    font-size:13px;
    line-height:1.75;
  }

  #yunassie-certificates-v5 .yc5-keywords {
    gap:7px;
  }

  #yunassie-certificates-v5 .yc5-keywords span {
    font-size:7px;
    letter-spacing:1px;
  }

  #yunassie-certificates-v5 .yc5-features {
    grid-template-columns:1fr;
    gap:8px;
  }

  #yunassie-certificates-v5 .yc5-feature {
    min-height:65px;
  }

  #yunassie-certificates-v5 .yc5-cert-heading {
    align-items:flex-start;
  }

  #yunassie-certificates-v5 .yc5-view-tip {
    display:none;
  }

  #yunassie-certificates-v5 .yc5-track {
    gap:20px;
    animation-duration:34s;
  }

  #yunassie-certificates-v5 .yc5-card {
    width:185px;
    flex-basis:185px;
  }

  #yunassie-certificates-v5 .yc5-image {
    height:255px;
  }

  #yunassie-certificates-v5 .yc5-card-bottom {
    margin-top:12px;
  }

  #yunassie-certificates-v5 .yc5-card-bottom strong {
    font-size:12px;
  }

  #yunassie-certificates-v5 .yc5-viewport::before,
  #yunassie-certificates-v5 .yc5-viewport::after {
    width:25px;
  }

  #yunassie-certificates-v5 .yc5-bottom {
    font-size:8px;
  }
}

/* ==========================================
   减少动画模式
========================================== */

@media(prefers-reduced-motion:reduce) {

  #yunassie-certificates-v5 *,
  #yunassie-certificates-v5 *::before,
  #yunassie-certificates-v5 *::after {
    animation:none !important;
    transition-duration:.2s !important;
  }

  #yunassie-certificates-v5 .yc5-viewport {
    overflow-x:auto;
  }
}

