/* static/css/websummit_card.css — styles for templates/components/websummit_card.html.
   Rules are prefixed with .ws-card (heading/paragraph rules doubly) so host-page styles such
   as "h3{color:…}" or ".section p{margin:…}" cannot restyle the card when it is embedded.
   Everything is sized in em, and 1em = 1/28 of the card's width (container query units),
   so the card scales like an image and stays sharp at any size. */

.ws-card{display:block;width:100%;container-type:inline-size;text-decoration:none;color:inherit;
  border-radius:14px;overflow:hidden;box-shadow:0 22px 50px rgba(27,19,64,.28);transition:transform .2s}
a.ws-card:hover{transform:translateY(-3px)}
.ws-card *{box-sizing:border-box}

.ws-card .ws-card__in{font-size:10px;font-size:calc(100cqw / 28);aspect-ratio:3/4;display:flex;flex-direction:column;
  background:#fff;font-family:"Inter","Segoe UI",system-ui,-apple-system,sans-serif;line-height:1.3;color:#2b2b2b;text-align:left}

/* header band */
.ws-card .ws-card__head{position:relative;flex:0 0 auto;height:6.6em;padding:1.1em 1.5em 0;color:#fff;
  background:
    radial-gradient(60% 120% at 100% 0%,rgba(244,160,40,.95) 0%,rgba(244,160,40,0) 70%),
    radial-gradient(40% 90% at 0% 100%,rgba(240,150,40,.7) 0%,rgba(240,150,40,0) 70%),
    linear-gradient(100deg,#a0237f 0%,#b81a6e 45%,#c0206a 70%,#cf3f5e 100%)}
.ws-card .ws-card__num{position:absolute;top:1em;left:1.55em;font-size:.95em;font-weight:600;opacity:.95}
.ws-card .ws-card__cat{position:absolute;left:1.2em;bottom:1.2em;display:flex;align-items:center;gap:.6em;font-weight:600;font-size:1.35em}
.ws-card .ws-card__catico{width:2.1em;height:2.1em;border-radius:50%;background:#fff;color:#7a2a5e;display:grid;place-items:center}
.ws-card .ws-card__catico svg{width:1.25em;height:1.25em}
.ws-card .ws-card__stand{position:absolute;right:1.5em;top:1.3em;text-align:right}
.ws-card .ws-card__stand b{display:block;font-size:2.2em;font-weight:800;line-height:1;letter-spacing:.01em}
.ws-card .ws-card__stand span{display:block;font-size:1.15em;font-weight:700;margin-top:.15em;letter-spacing:.03em}

/* body */
.ws-card .ws-card__body{flex:1 1 auto;padding:1.5em 1.5em 0;display:flex;flex-direction:column}
.ws-card .ws-card__in .ws-card__name{margin:0 0 .35em;font-size:2em;font-weight:800;color:#8c1d5e;line-height:1.1;font-family:inherit}
.ws-card .ws-card__in .ws-card__desc{margin:0;font-size:1.12em;line-height:1.38;color:#333}
.ws-card .ws-card__logo{display:block;width:72%;height:auto;margin:auto auto .4em}

/* footer */
.ws-card .ws-card__foot{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:.6em;padding:0 1.5em 1.1em}
.ws-card .ws-card__info{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7em;font-size:.88em;color:#333}
.ws-card .ws-card__info li{display:flex;align-items:center;gap:.8em;white-space:nowrap}
.ws-card .ws-card__ico{width:2.1em;height:2.1em;border-radius:50%;display:grid;place-items:center;flex:none;overflow:hidden}
.ws-card .ws-card__ico svg{width:100%;height:100%}
.ws-card .ws-card__ico--web{background:#7a1f4c;color:#fff;padding:.35em}
.ws-card .ws-card__badges{display:flex;align-items:center;gap:.8em}
.ws-card .ws-card__impact{width:4.4em;height:4.4em;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:
    radial-gradient(70% 60% at 40% 30%,#2c8f97 0%,rgba(44,143,151,0) 75%),
    radial-gradient(60% 50% at 55% 95%,#4d8fe6 0%,rgba(77,143,230,0) 75%),
    radial-gradient(60% 60% at 85% 70%,#f2c6d6 0%,rgba(242,198,214,0) 75%),
    #9fc8c4;color:#173d49}
.ws-card .ws-card__impact small{font-size:.42em;font-weight:600;line-height:1;letter-spacing:.02em}
.ws-card .ws-card__impact b{font-size:.95em;font-weight:800;line-height:1.05;letter-spacing:-.01em}
.ws-card .ws-card__qr{width:5.2em;height:5.2em;display:block;background:#fff;padding:.25em;border-radius:.2em}

/* bottom strip */
.ws-card .ws-card__strip{flex:0 0 auto;height:1.1em;background:linear-gradient(90deg,#a4176a 0%,#c8285e 55%,#f2a02c 100%)}
