/* asa-home-usecases.css — homepage-only restyle of #i (suggested use cases).
   Option A: even 4×2 grid, aligned title / description / footer.
   Loaded ONLY by /index.html, after asa-home-c.css. Does not change shared CSS.
   The IT & Tech Support card keeps its existing class "new" in the HTML;
   this file gives it the same border as the other seven cards (no special outline). */
#i{
  --uc-panel:#14151a;--uc-bd:#23262d;--uc-bd2:#33373e;
  --uc-tx:#f3f4f6;--uc-mut:#a4a9b2;--uc-acc:#B6FF2E;
  --uc-ai-bg:rgba(182,255,46,.10);--uc-ai-bd:rgba(182,255,46,.30);
  --uc-soft:0 18px 50px rgba(0,0,0,.45);--uc-r:24px;
}
html[data-theme="light"] #i{
  --uc-panel:#fffdf9;--uc-bd:#e6e1d6;--uc-bd2:#b4afa3;
  --uc-tx:#14161a;--uc-mut:#4a4f57;--uc-acc:#0F5C2E;
  --uc-ai-bg:rgba(15,92,46,.08);--uc-ai-bd:rgba(15,92,46,.32);
  --uc-soft:0 18px 44px rgba(70,60,30,.10);
}

html body #i .se-uc{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
html body #i .se-uc a.se-card,
html body #i .se-uc a.se-card:nth-child(n+5),
html body #i .se-uc a.se-card:last-child,
html body #i .se-uc a.se-card.new{
  grid-column:auto;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:12px;
  min-width:0;
  padding:24px;
  border-radius:var(--uc-r);
  background:var(--uc-panel);
  border:1px solid var(--uc-bd);
  box-shadow:var(--uc-soft);
  color:inherit;
  text-decoration:none;
}
html body #i .se-uc a.se-card:hover,
html body #i .se-uc a.se-card.new:hover{
  border-color:var(--uc-acc);
}
html body #i .se-uc a.se-card:focus-visible{
  outline:2px solid var(--uc-acc);
  outline-offset:3px;
}
/* Align title / description / footer across a row (subgrid). */
@supports (grid-template-rows:subgrid){
  @media(min-width:641px){
    html body #i .se-uc a.se-card,
    html body #i .se-uc a.se-card:nth-child(n+5),
    html body #i .se-uc a.se-card:last-child,
    html body #i .se-uc a.se-card.new{
      grid-template-rows:subgrid;
      grid-row:span 3;
    }
  }
}
@supports not (grid-template-rows:subgrid){
  @media(min-width:641px){
    html[lang="en"] body #i .se-uc a.se-card h3{min-height:calc(1.35em * 3)}
    html[lang="zh-Hant"] body #i .se-uc a.se-card h3{min-height:calc(1.45em * 2)}
  }
}
html body #i .se-uc a.se-card h3{
  margin:0;
  font-size:16.5px;
  line-height:1.35;
  color:var(--uc-tx);
  text-wrap:balance;
}
html[lang="zh-Hant"] body #i .se-uc a.se-card h3{line-height:1.45}
html body #i .se-uc a.se-card p{
  margin:0;
  color:var(--uc-mut);
  font-size:15px;
  line-height:1.55;
}
html body #i .se-uc .se-ucf{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid var(--uc-bd);
  padding-top:14px;
  font-size:13px;
  color:var(--uc-mut);
}
html body #i .se-uc .se-ucf b{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:3px 10px;
  border-radius:999px;
  background:var(--uc-acc);
  color:#0b0c0e;
  font-weight:600;
  font-size:12px;
  line-height:1.3;
}
html[data-theme="light"] #i .se-uc .se-ucf b{color:#fff}
html body #i .se-uc .se-ucf .se-ic{
  width:18px;height:18px;flex:none;color:var(--uc-acc);
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}

@media(max-width:1099px){
  html body #i .se-uc{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  html body #i .se-uc{grid-template-columns:minmax(0,1fr);gap:12px}
  html body #i .se-uc a.se-card,
  html body #i .se-uc a.se-card:nth-child(n+5),
  html body #i .se-uc a.se-card:last-child,
  html body #i .se-uc a.se-card.new{padding:20px;border-radius:20px}
}
