/* AI 工坊卡片：沿用冰蓝色系，保留现有文字、链接和尺寸。 */
.wide-ai-item{
  position:relative;
  overflow:hidden;
  background:linear-gradient(115deg,#fbfdff 0%,#edf5ff 100%);
  box-shadow:inset 0 0 0 1px #dceafa,0 3px 10px #426eaa0b;
}
.wide-ai-item::before{
  content:"";
  position:absolute;
  top:16%;bottom:16%;left:0;
  width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(#87bcf5,#567fc3);
}
.wide-ai-item:nth-child(2)::before{background:linear-gradient(#9bc9ed,#6980c8)}
.wide-ai-item:nth-child(3)::before{background:linear-gradient(#82c8ce,#538ebd)}
.wide-ai-ico{
  background:linear-gradient(145deg,#fff,#e9f3ff);
  color:#3269ab;
  box-shadow:inset 0 0 0 1px #fff,0 4px 10px #3864931a;
}
.wide-ai-copy b{color:#193e72;letter-spacing:.01em}
.wide-ai-go{
  padding:4px 7px;
  border-radius:999px;
  background:#fff;
  box-shadow:inset 0 0 0 1px #d8e7f8;
  color:#315f9c;
  line-height:1.2;
}
.wide-ai-item:hover{
  background:linear-gradient(115deg,#fff,#e4f1ff);
  box-shadow:inset 0 0 0 1px #b7d6f5,0 8px 20px #28508c18;
}
.wide-ai-item:hover .wide-ai-go{background:#316da9;color:#fff;box-shadow:none}
@media(max-width:420px){.wide-ai-go{padding:4px 6px;font-size:11px}}

/* Three compact icon/title rows, with the complete smaller description below. */
.wide-ai-item{
 display:grid;grid-template-columns:32px minmax(0,1fr) auto;
 column-gap:9px;row-gap:2px;min-height:52px;padding:7px 10px;
 container-type:inline-size;
}
.wide-ai-ico{grid-column:1;grid-row:1/3;width:32px;height:32px;border-radius:11px;
 color:#2377b7;background:linear-gradient(145deg,#f9fdff 8%,#d5edff 100%);
 border:1px solid #fff;box-shadow:inset 0 1px 0 #fff,0 3px 7px #397cb324;
}
.wide-ai-item:nth-child(2) .wide-ai-ico{color:#426dc2;background:linear-gradient(145deg,#fcfdff,#dde5ff)}
.wide-ai-item:nth-child(3) .wide-ai-ico{color:#198eaa;background:linear-gradient(145deg,#f5ffff,#d3eff5)}
.wide-ai-ico svg{width:23px;height:23px;stroke-width:1.7}
.wide-ai-ico .icon-fill{fill:currentColor;stroke:none;opacity:.2}
.wide-ai-ico .icon-solid{fill:currentColor;stroke:none}
.wide-ai-copy{display:contents}
.wide-ai-copy b{grid-column:2;grid-row:1;align-self:center}
.wide-ai-copy span{grid-column:2/-1;grid-row:2;display:block;margin:0;
 font-size:clamp(8px,3.3cqi,11px);line-height:1.4;letter-spacing:0;
 white-space:nowrap;overflow:visible;text-overflow:clip;
}
.wide-ai-go{grid-column:3;grid-row:1}

/* Keep full descriptions legible in the narrow desktop fallback. */
@media (min-width:900px) and (max-width:1199px) and (min-height:501px){
 .wide-ai-copy span{grid-column:1/-1;font-size:clamp(8px,4cqi,10px)}
 .wide-ai-ico{grid-row:1}
}

@media (max-width:360px){
 .wide-ai-copy span{grid-column:1/-1;font-size:clamp(9px,4cqi,10px)}
 .wide-ai-ico{grid-row:1}
}

/* 2026-11-07: one reserved action column, centered against the whole card. */
.wide-ai-item{grid-template-columns:32px minmax(0,1fr) auto;column-gap:9px;row-gap:3px;align-items:center}
.wide-ai-ico{grid-column:1;grid-row:1/3;align-self:center}
.wide-ai-copy b{grid-column:2;grid-row:1;min-width:0}
.wide-ai-copy span{grid-column:2;grid-row:2;min-width:0;font-size:clamp(8px,2.8cqi,10px);line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.wide-ai-go{grid-column:3;grid-row:1/3;align-self:center;justify-self:end;margin:0;white-space:nowrap}

/* At the narrow fallback, retain the approved full-width single-line copy.
   The action aligns with the title/icon row rather than crowding that copy. */
@media (min-width:900px) and (max-width:1199px) and (min-height:501px){
 .wide-ai-ico,.wide-ai-go{grid-row:1}
 .wide-ai-copy span{grid-column:1/-1;white-space:nowrap;font-size:clamp(8px,4cqi,10px)}
}
@media (max-width:374px){
 .wide-ai-ico,.wide-ai-go{grid-row:1}
 .wide-ai-copy span{grid-column:1/-1;white-space:nowrap;font-size:clamp(9px,4cqi,10px)}
}

/* Approved standalone motions, scoped to the existing AI workshop cards. */
#wide-ai .wide-ai-item{grid-template-columns:minmax(58px,36%) minmax(0,1fr) 22px;column-gap:8px;row-gap:3px;min-height:68px;padding:7px 10px;align-items:center}
#wide-ai .wide-ai-visual{grid-column:1;grid-row:1/3;display:block;position:relative;width:100%;aspect-ratio:48/25;overflow:hidden;border:1px solid #d1e3f0;border-radius:7px;background:#e7f1f8;box-shadow:inset 0 1px 0 #fff}
#wide-ai .wide-ai-visual img,#wide-ai .wide-ai-visual video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
#wide-ai .wide-ai-visual video{opacity:0}
#wide-ai .wide-ai-item[data-motion-active=true] video{opacity:1}
#wide-ai .wide-ai-copy{display:contents}
#wide-ai .wide-ai-copy b{grid-column:2;grid-row:1;font-size:14.5px;line-height:1.3;align-self:end;white-space:nowrap}
#wide-ai .wide-ai-copy span{grid-column:2;grid-row:2;font-size:12px;line-height:1.3;align-self:start;white-space:nowrap;overflow-wrap:normal;color:#6383a1}
#wide-ai .wide-ai-go{grid-column:3;grid-row:1/3;padding:3px 0;width:22px;text-align:center}
@media(min-width:900px) and (max-width:1199px){#wide-ai .wide-ai-item{grid-template-columns:minmax(44px,36%) minmax(0,1fr);padding:6px 7px;column-gap:6px;min-height:62px}#wide-ai .wide-ai-go{display:none}#wide-ai .wide-ai-copy b{font-size:clamp(10px,5.2cqi,14.5px);white-space:normal}#wide-ai .wide-ai-copy span{font-size:clamp(9px,4.6cqi,12px);white-space:normal}}
@media(max-width:899px){.mobile-page #wide-ai .wide-ai-item{min-height:64px;padding:6px 9px}.mobile-page #wide-ai .wide-ai-copy b{font-size:13px}.mobile-page #wide-ai .wide-ai-copy span{font-size:11.5px}}
@media(prefers-reduced-motion:reduce){#wide-ai .wide-ai-visual video{display:none}}
