/* Automotive three-card row, rendered by js/auto-cards.js. Colours come from variables so each page themes it:
   the home page uses .ac-dark, the Ground Vehicle AI page sets the tan values itself. */
.ac-cards { --ac-bg: #fff; --ac-line: rgba(22, 60, 120, .16); --ac-accent: #1b6fb5; --ac-title: #0e1821; --ac-text: #3a4a5e; --ac-pic: #0b0d11; --ac-pic-light: #f4f6f9;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ac-card { display: block; padding: 16px 18px 20px; border: 1px solid var(--ac-line); border-radius: var(--ac-radius, 12px); background: var(--ac-bg); color: var(--ac-text); text-decoration: none; transition: border-color .15s, transform .15s; }
.ac-card:hover { border-color: var(--ac-accent); transform: translateY(-3px); }
.ac-pic { display: grid; place-items: center; height: var(--ac-pic-h, clamp(190px, 30vh, 300px)); margin-bottom: 14px; border-radius: calc(var(--ac-radius, 12px) - 4px); overflow: hidden; background: var(--ac-pic); }
.ac-pic img, .ac-pic video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ac-pic-contain { background: var(--ac-pic-light); }
.ac-pic-contain img { object-fit: contain; padding: 8px; }
.ac-card i { display: block; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-accent); }
.ac-card h3 { margin: 6px 0 6px; font-size: 22px; line-height: 1.2; color: var(--ac-title); }
.ac-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ac-text); }
.ac-dark { --ac-bg: #12161d; --ac-line: #232a35; --ac-accent: #6fbfe4; --ac-title: #fff; --ac-text: #c3cedb; --ac-pic: #000; --ac-pic-light: #1a2029; }
@media (max-width: 900px) { .ac-cards { grid-template-columns: 1fr; } }
.ac-square .ac-pic { height: auto; aspect-ratio: 1 / 1; }
.ac-card ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ac-card li { position: relative; margin: 0; padding: 0 0 0 18px; border: 0; background: none; font-size: 16px; line-height: 1.4; color: var(--ac-text); }
.ac-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--ac-accent); }
