/**
 * =====================================================================
 * ACTIVITIES COMPONENT — STYLES
 * =====================================================================
 * Copied verbatim from the current static design system's ".acards"
 * rules (css/style.css) — confirmed nothing like this exists anywhere
 * else in the theme.
 *
 * CARDS ARE NOW CLICKABLE (see template.php's own file header for why):
 * the root element changed from a plain "div.acard" to a real
 * "a.acard", and the ".acard__arrow" corner icon — already fully
 * defined in css/style.css but never actually used on the static
 * activities.html page — is now wired up. Both selector sets below
 * were updated from "div.acard" to "a.acard" to match; nothing else
 * about the visual design changed.
 *
 * NOT REPEATED HERE: .section, .section--tight, .section__head,
 * .eyebrow, .lede, .container — already in assets/css/global.css.
 * Link color/underline reset: also not repeated here — every other
 * clickable card component in this theme (.news__card, .doc-card,
 * .index-list a, …) relies on assets/css/global.css's own
 * ".entry-content a { color: inherit; text-decoration: none; }" rather
 * than a per-component override, since a shortcode's own output is
 * always rendered inside that wrapper. Same here.
 *
 * "div.acards"/"a.acard"/"span.acard__num" (NOT bare ".acards"/
 * ".acard"/etc.): same fix applied to statistics' ".stat__num" after
 * it was confirmed live — a bare single-class selector applied
 * directly to an element has lower specificity than Blocksy's own
 * base styling and loses to it. ".acard h3" and ".acard p" were
 * already class+tag selectors and don't need this.
 * =====================================================================
 */

div.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
a.acard {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 38px 32px; background: var(--white);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  position: relative;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
}
a.acard:hover { background: var(--ink); color: var(--white); }
a.acard:hover .acard__num { color: var(--red); }
a.acard:hover p { color: rgba(255,255,255,0.75); }
span.acard__num { --forced-font: var(--font-mono); font-family: var(--forced-font) !important; font-size: 12px; letter-spacing: 0.2em; color: var(--slate); }
.acard h3 { font-size: var(--step-1); --forced-font: var(--font-display); font-family: var(--forced-font) !important; font-weight: 500; margin: 24px 0 10px; }
.acard p { color: var(--slate); font-size: 16px; }

.acard__arrow {
  position: absolute; top: 32px; right: 32px;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.acard:hover .acard__arrow { background: var(--red); border-color: var(--red); color: var(--white); transform: rotate(-45deg); }
.acard__arrow svg { width: 18px; height: 18px; }

@media (max-width: 900px) { div.acards { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { div.acards { grid-template-columns: repeat(2, 1fr); } }
