/**
 * =====================================================================
 * ACTIVITIES COMPONENT — STYLES
 * =====================================================================
 * Copied verbatim from the provided CSS — confirmed nothing like this
 * (.acards/.acard/etc.) existed anywhere else in the theme before
 * writing this file.
 *
 * NOT REPEATED HERE: .section, .section--ivory, .section__head,
 * .eyebrow, .lede, .container — already in assets/css/global.css.
 *
 * "div.acards"/"a.acard"/"span.acard__num"/"span.acard__arrow" (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 (here: <div>, <a>, <span>)
 * has lower specificity than Blocksy's own base styling and loses to
 * it. Adding the matching tag qualifier fixes it the same way,
 * applied proactively here since these are the exact same structural
 * pattern. ".acard h3" and ".acard p" were already class+tag
 * selectors and don't need this — they were never at risk.
 * =====================================================================
 */

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 { font-family: var(--font-mono) !important; font-size: 12px; letter-spacing: 0.2em; color: var(--slate); }
.acard h3 { font-size: var(--step-1); font-family: var(--font-display) !important; font-weight: 500; margin: 24px 0 10px; }
.acard p { color: var(--slate); font-size: 14.5px; }
span.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); }
@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); } }

