/* Emma Lee — the Awards & Recognition cards on about.php.
 *
 * Lifted out of about.php's inline <style> so admin/awards.php can load the
 * same rules and render a live preview of a card as it's being edited. One
 * stylesheet means the preview cannot drift from the real page.
 *
 * The rules depend on --sans, --micro and --ease, which css/site.css defines
 * on :root. The admin doesn't load site.css (it would restyle the whole admin),
 * so admin/awards.php declares those three on its preview wrapper instead.
 * site.css has no @font-face, so every family here is a local font and there's
 * nothing else to carry over. */

.award-categories{display:grid;grid-template-columns:repeat(2,1fr);gap:3vw;margin-top:2svh}
.award-category h3{font:700 15px/1 var(--sans);margin-bottom:14px;letter-spacing:-.01em;text-transform:uppercase;opacity:.5}
/* Second and later groups inside the same column. Replaces the inline
   style="margin-top:24px" the hardcoded markup used to carry. */
.award-category h3.award-group-next{margin-top:24px}
.award-cards{display:flex;flex-direction:column;gap:12px}
/* align-items:center so the three text rows sit centred against the fixed
   75px logo tile rather than hanging from the top of it. */
.award-card{background:#fafafa;border:1px solid #e9e9e9;border-radius:8px;padding:18px 20px;display:flex;gap:16px;align-items:center;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.award-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.06)}
.award-icon{width:75px;height:75px;flex:none;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.award-icon img{width:100%;height:100%;object-fit:contain;padding:5px}
.award-content{flex:1;min-width:0}
/* 6px matches the h4's margin below it, so the three rows are evenly spaced. */
.award-year{font:600 12px/1 var(--micro);letter-spacing:.06em;text-transform:uppercase;color:#6c5ce7;margin-bottom:6px}
/* margin-top:0 matters: h4 keeps the browser's default ~1.33em top margin
   otherwise, which is bigger than anything the year sets below itself, so the
   two collapse and the year's own margin has no effect at all. */
.award-card h4{font:600 15px/1.3 var(--sans);margin:0 0 6px}
.award-card p{font:400 13px/1.4 var(--sans);color:#3a3a3a}

@media(max-width:850px){
  .award-categories{grid-template-columns:1fr;gap:3svh}
}
