/* Investor polish (2026-11-14). Loaded last. Touches nothing about the space between sections. */

/* Hero: "Explore Events" and "Publish Event" are the same height (they were 38px and 46 to 48px) */
:is(#emBs1,html):is(#emBs2,html):is(#emBs3,html):is(#emBs4,html) .hero-actions .explore-beat,
:is(#emBs1,html):is(#emBs2,html):is(#emBs3,html):is(#emBs4,html) .hero-actions .header-publish-btn.publish-cta {
  height: 46px !important; min-height: 46px !important;
}

/* Talent cards: the category label was 8.5px on phones, too small to read */
@media (max-width: 640px) { .talent-card.tc2 .tc2-cat { font-size: 10px !important; } }

/* ═══ Awards cards (eventme-africa.js _awardsCardHTML): dark like the other cards, category on the picture,
   one footer row with the count, the closing date and a solid red Vote. The card opens the campaign page. ═══ */
#awardsSection .awards-card.aw2 { display: flex; flex-direction: column; height: 100%; overflow: hidden; cursor: pointer; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) !important; border: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.3) !important; color: #fff; transition: transform .2s, border-color .2s, box-shadow .2s; }
@media (hover: hover) { #awardsSection .awards-card.aw2:hover { transform: translateY(-3px); border-color: rgba(255,58,92,.5) !important; box-shadow: 0 14px 34px rgba(0,0,0,.42) !important; } }
#awardsSection .awards-card.aw2:focus-visible { outline: 2px solid #ff3a5c; outline-offset: 3px; }
#awardsSection .aw2 .aw2-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1c1416; }
#awardsSection .aw2 .aw2-media > .awards-card-photo { position: absolute; inset: 0; width: 100%; height: 100% !important; margin: 0; border-radius: 0; }
#awardsSection .aw2 .aw2-media > .awards-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#awardsSection .aw2 .aw2-tile { position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 30% 20%, hsl(var(--aw-h) 70% 42% / .95), hsl(var(--aw-h) 65% 18%) 70%); }
#awardsSection .aw2 .aw2-tile > * { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; font-size: 34px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
#awardsSection .aw2 .aw2-media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
#awardsSection .aw2 .aw2-over { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#awardsSection .aw2 .aw2-over .awards-card-cat { margin: 0; padding: 4px 10px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: #fff; background: rgba(200,16,46,.85); border: 1px solid rgba(255,90,115,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#awardsSection .aw2 .aw2-over .aw-tag { margin: 0; }
#awardsSection .aw2 .awards-card-body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
#awardsSection .aw2 .awards-card-name { margin: 0; font-size: 1.06rem; font-weight: 800; line-height: 1.3; color: #fff; }
#awardsSection .aw2 .awards-card-desc { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted, #b9aeb2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#awardsSection .aw2 .aw2-loc { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: .76rem; color: rgba(255,255,255,.62); }
#awardsSection .aw2 .aw2-loc svg { color: #ff3a5c; flex: none; }
#awardsSection .aw2 .awards-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 16px 14px;
  border-top: 1px solid rgba(255,255,255,.08); background: none !important; }
#awardsSection .aw2 .awards-vote-count { display: flex; flex-direction: column; min-width: 0; font-size: .78rem; line-height: 1.3; color: var(--muted, #b9aeb2); }
#awardsSection .aw2 .awards-vote-count strong { color: #fff; font-size: .95rem; }
#awardsSection .aw2 .aw2-closes { order: 2; font-size: .72rem; color: rgba(255,255,255,.5); }
#awardsSection .aw2 .awards-vote-btn { flex: none; height: 38px !important; min-height: 38px !important; min-width: 96px; padding: 0 22px !important; border-radius: 999px !important;
  font-weight: 700 !important; color: #fff !important; background: linear-gradient(135deg, #e0163a, #a50c25) !important; border: 1px solid rgba(255,90,115,.7) !important;
  box-shadow: 0 6px 18px rgba(200,16,46,.35) !important; }
#awardsSection .aw2 .awards-vote-btn:hover { background: linear-gradient(135deg, #ff3a5c, #c8102e) !important; }
#awardsSection .aw2 .awards-vote-btn.voted { background: rgba(37,211,102,.14) !important; border-color: rgba(37,211,102,.55) !important; color: #7ee2a8 !important; box-shadow: none !important; }
[data-theme="light"] #awardsSection .awards-card.aw2 { background: #fff !important; border-color: rgba(0,0,0,.08) !important; box-shadow: 0 8px 22px rgba(60,20,30,.1) !important; color: #18090c; }
[data-theme="light"] #awardsSection .aw2 .awards-card-name, [data-theme="light"] #awardsSection .aw2 .awards-vote-count strong { color: #18090c; }
[data-theme="light"] #awardsSection .aw2 .aw2-loc, [data-theme="light"] #awardsSection .aw2 .aw2-closes { color: #6a5559; }
[data-theme="light"] #awardsSection .aw2 .awards-card-foot { border-color: rgba(0,0,0,.08); }

/* Awards footer: the count text wraps instead of running under the Vote button (French is longer) */
#awardsSection .aw2 .awards-vote-count, #awardsSection .aw2 .awards-vote-count :is(em, span, small) { white-space: normal !important; overflow-wrap: anywhere; }
#awardsSection .aw2 .awards-vote-count em { font-style: normal; font-size: .78rem; line-height: 1.3; max-width: 100%; }
/* the one line description must not widen the card: grid items may shrink below their text width (phones) */
#awardsSection #awardsGrid > *, #awardsSection .aw2, #awardsSection .aw2 .awards-card-body { min-width: 0 !important; max-width: 100%; }
/* Awards Vote button: compact and clean in the card footer (32px, sized to its word, soft glow) */
html body #awardsSection#awardsSection .aw2 .awards-card-foot .awards-vote-btn {
  height: 32px !important; min-height: 32px !important; min-width: 0 !important; width: auto !important; padding: 0 16px !important;
  font-size: .8rem !important; font-weight: 700 !important; letter-spacing: .01em !important; line-height: 1 !important;
  box-shadow: 0 3px 10px rgba(200,16,46,.28) !important;
}
html body #awardsSection#awardsSection .aw2 .awards-card-foot .awards-vote-btn.voted { box-shadow: none !important; }
html body #awardsSection#awardsSection .aw2 .awards-card-foot { padding: 10px 14px 12px; }
/* Awards Vote button, option A: red glass like "Create your talent profile +", with a ballot icon.
   The icon is drawn in CSS so it stays when the vote script rewrites the button text. */
html body #awardsSection#awardsSection .aw2 .awards-card-foot .awards-vote-btn:not(.voted) {
  display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 0 14px 0 12px !important;
  color: #fff !important; background: linear-gradient(135deg, rgba(70,6,18,.72), rgba(30,3,9,.66)) !important;
  border: 1px solid rgba(255,58,92,.85) !important;
  box-shadow: 0 0 12px rgba(255,58,92,.3), inset 0 0 10px rgba(255,58,92,.12), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html body #awardsSection#awardsSection .aw2 .awards-card-foot .awards-vote-btn:not(.voted)::before {
  content: ""; flex: none; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='3.5'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.8-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='3.5'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.8-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body #awardsSection#awardsSection .aw2 .awards-card-foot .awards-vote-btn:not(.voted):hover {
  background: linear-gradient(135deg, rgba(110,10,28,.8), rgba(50,4,14,.74)) !important; box-shadow: 0 0 18px rgba(255,58,92,.45), inset 0 0 10px rgba(255,58,92,.16) !important;
}

/* ═══ The vote moment (vote-fx.js) ═══ */
.emfx-pop { animation: emfxPop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes emfxPop { 0% { transform: scale(1); } 30% { transform: scale(.9); } 65% { transform: scale(1.08); } 100% { transform: scale(1); } }
.tp-cpi-tile.emfx-up b { animation: emfxUp .6s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes emfxUp { 0% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.tp-cpi-tile.emfx-glow b { animation: emfxGlow 1.6s ease-out; }
@keyframes emfxGlow { 0% { text-shadow: 0 0 0 rgba(245,197,66,0); } 30% { text-shadow: 0 0 18px rgba(245,197,66,.8); } 100% { text-shadow: 0 0 0 rgba(245,197,66,0); } }
@media (prefers-reduced-motion: reduce) { .emfx-pop, .tp-cpi-tile.emfx-up b, .tp-cpi-tile.emfx-glow b { animation: none !important; } }

/* ═══ Contact for organisers ═══ */
.form-footer .form-help-link { margin-right: auto; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 600; color: #ff3a5c; }
.form-footer .form-help-link:hover { text-decoration: underline; }
.vt-help { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 4px 2px 0; font-size: .84rem; color: var(--muted, #b9aeb2); }
.vt-help .vt-link { font-weight: 700; }
.bzl-talk { margin: 14px 0 0; font-size: .86rem; color: var(--muted, #b9aeb2); }
.bzl-talk-btn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: #ff3a5c; }
.bzl-talk-btn:hover { text-decoration: underline; }
@media (max-width: 560px) { .form-footer .form-help-link { flex-basis: 100%; margin: 0 0 4px; text-align: left; } .form-footer { flex-wrap: wrap; } }
/* the contact form opens above any panel it was called from (Voting Rooms, Publish an event, a sheet) */
#contactOverlay.open { z-index: 2147482000 !important; }

/* ═══ Award card category label: the same glass badge as talent categories (icon, glow, shimmer, a colour per family) ═══ */
#awardsSection .aw2 .aw2-over .awards-card-cat { --tc: 200,16,46; --tct: #ff8a9a;
  position: relative; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; max-width: 100%;
  padding: 5px 10px 5px 8px !important; font-size: .64rem !important; font-weight: 800 !important; letter-spacing: .08em !important; color: var(--tct) !important;
  background: linear-gradient(135deg, rgba(var(--tc),.40) 0%, rgba(var(--tc),.22) 100%), rgba(10,10,14,.45) !important;
  border: 1px solid rgba(var(--tc),.75) !important; box-shadow: 0 0 10px rgba(var(--tc),.32), inset 0 1px 0 rgba(255,255,255,.1) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#awardsSection .aw2 .awards-card-cat[data-tc="cap"]     { --tc: 99,102,241;  --tct: #a5b4fc; }
#awardsSection .aw2 .awards-card-cat[data-tc="rocket"]  { --tc: 34,211,238;  --tct: #67e8f9; }
#awardsSection .aw2 .awards-card-cat[data-tc="brief"]   { --tc: 245,158,11;  --tct: #fcd34d; }
#awardsSection .aw2 .awards-card-cat[data-tc="spark"]   { --tc: 236,72,153;  --tct: #f9a8d4; }
#awardsSection .aw2 .awards-card-cat[data-tc="leaf"]    { --tc: 34,197,94;   --tct: #86efac; }
#awardsSection .aw2 .awards-card-cat[data-tc="trophy"]  { --tc: 249,115,22;  --tct: #fdba74; }
#awardsSection .aw2 .awards-card-cat[data-tc="heart"]   { --tc: 244,63,94;   --tct: #fda4af; }
#awardsSection .aw2 .awards-card-cat[data-tc="palette"] { --tc: 139,92,246;  --tct: #c4b5fd; }
#awardsSection .aw2 .awards-card-cat[data-tc="music"]   { --tc: 20,184,166;  --tct: #5eead4; }
#awardsSection .aw2 .awards-card-cat[data-tc="mic"]     { --tc: 200,16,46;   --tct: #ff8a9a; }
#awardsSection .aw2 .awards-card-cat[data-tc="camera"]  { --tc: 56,189,248;  --tct: #7dd3fc; }
#awardsSection .aw2 .awards-card-cat[data-tc="star"]    { --tc: 234,179,8;   --tct: #fde047; }
#awardsSection .aw2 .awards-card-cat::before { content: ""; position: absolute; top: 0; left: 0; width: 35%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); animation: badge-shimmer 3.4s ease-in-out infinite; }
#awardsSection .aw2 .awards-card-cat .tc2-cat-ic { flex: none; display: block !important; }
#awardsSection .aw2 .awards-card-cat .aw2-cat-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { #awardsSection .aw2 .awards-card-cat::before { animation: none; display: none; } }
[data-theme="light"] #awardsSection .aw2 .awards-card-cat { color: #fff !important; background: linear-gradient(135deg, rgba(var(--tc),.92), rgba(var(--tc),.75)) !important; }
