
    :root{
      --bg:#0d1b48; --text:#ffffff; --muted:#bcd6ff;
      --shadow:0 14px 34px rgba(0,0,0,.45); --r-md:16px;
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
      background:var(--bg); color:var(--text); line-height:1.45; overflow-x:hidden;
      /* sticky footer layout */
      min-height:100vh; display:flex; flex-direction:column;
    }

    /* SPLASH */
    .splash{position:fixed; inset:0; z-index:50; display:grid; place-items:center; transition:opacity .6s ease, visibility .6s ease}
    .splash.hidden{opacity:0; visibility:hidden}
    .layer{position:absolute; inset:0}
    #gxviz{display:block; width:100%; height:100%}
    .overlay{background:radial-gradient(1200px 700px at 80% -10%, rgba(27,63,156,.26), transparent 60%), radial-gradient(1000px 600px at 10% 110%, rgba(11,127,171,.22), transparent 55%), linear-gradient(180deg, rgba(2,8,24,.48), rgba(2,8,24,.78))}
    .center{position:relative; z-index:2; text-align:center; padding:24px}
    .title{margin:0; font-weight:900; letter-spacing:.6px; line-height:1.1;
      font-size:clamp(36px,7vw,72px);
      text-shadow:
        0 0 6px rgba(255,255,255,.95),
        0 0 22px rgba(255,255,255,.5),
        0 0 60px rgba(126,203,255,.35);
    }
    .subtitle{margin:10px 0 0; color:var(--text); opacity:.96;
      font-size:clamp(14px,2.2vw,22px); font-weight:700;
      text-shadow:
        0 0 4px rgba(255,255,255,.9),
        0 0 18px rgba(126,203,255,.3);
      letter-spacing:.2px;
    }
    /* TOP CAPTION — reduced contrast per sample */
    .topnote{
      position:absolute; top:16px; left:50%; transform:translateX(-50%);
      z-index:2; text-align:center; user-select:none; pointer-events:none;
      text-shadow: 0 1px 8px rgba(0,0,0,.25);
    }
    .topnote .t1{
      display:block;
      font-weight:900;
      font-size:clamp(28px,4vw,44px);
      color:rgba(234,242,255,.86);
      letter-spacing:.2px; line-height:1.12;
      text-shadow:
        0 0 6px rgba(255,255,255,.6),
        0 0 14px rgba(188,214,255,.35);
    }
    .topnote .t2{
      display:block; margin-top:4px;
      font-size:clamp(15px,1.6vw,18px); font-weight:700;
      color:rgba(159,181,224,.70);
      text-shadow:
        0 0 4px rgba(255,255,255,.45);
    }

    /* MAIN GRID */
    main{flex:1}
    .grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
      padding:24px 20px 42px;
      max-width:1200px;
      margin:40px auto;
      grid-auto-rows:1fr;              /* 👉 dlaždice v řadě stejně vysoké */
    }
    @media (max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
    @media (max-width:620px){.grid{grid-template-columns:1fr}}

    .tile{
      position:relative;
      display:flex;
      flex-direction:column;
      gap:8px;
      min-height:160px;
      padding:22px;
      background:linear-gradient(180deg,#132a6b,#0f235c);
      border:1px solid #2a4d9a66;
      border-radius:var(--r-md);
      box-shadow:var(--shadow);
      text-decoration:none;
      color:#eaf2ff;
      transition:transform .2s ease, border-color .2s ease;
      overflow:hidden;
      isolation:isolate;
      height:100%;                     /* 👉 tile vyplní celou výšku buňky */
    }
    .tile:hover{transform:translateY(-3px); border-color:#3c6be2aa}
    .tile h3{margin:0; font-size:clamp(18px,2vw,20px); font-weight:700}
    .tile p{margin:0; color:#9fb5e0; font-size:14px}
    .badge{position:absolute; top:12px; right:12px; background:linear-gradient(90deg,#134074,#0b7fab); color:#fff; font-size:11px; letter-spacing:.3px; padding:6px 10px; border-radius:999px; box-shadow:var(--shadow)}

    .priority{border:1px solid #ffd86b55}

    /* --- Ribbon styles (sjednocené) --- */
    .tile.has-ribbon{ padding-bottom: 58px; } /* místo pro ribbon */
    .ribbon{
      position:absolute; left:0; right:0; bottom:0;
      padding:10px 16px; font-weight:800; font-size:13px;
      text-align:left; letter-spacing:.2px;
      border-top:1px solid rgba(0,0,0,.18);
      box-shadow: inset 0 8px 24px rgba(0,0,0,.18);
      display:flex; align-items:center; gap:10px;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    }
    .ribbon.ribbon-gold{
      color:#1a1a1a;
      background: linear-gradient(180deg,#ffeeb6,#f6d774 58%, #d7b451);
    }
    .ribbon.ribbon-gold-bright{
      color:#101010;
      background: linear-gradient(180deg,#fff3bf,#ffd86b 52%, #f2c24e);
      box-shadow:
        0 6px 22px rgba(0,0,0,.22),
        inset 0 10px 28px rgba(255,255,255,.35);
    }
    .ribbon.ribbon-silver{
      color:#141414;
      background: linear-gradient(180deg,#f7f7f9,#e2e6ee 55%, #cdd3dd);
      border-top:1px solid rgba(0,0,0,.12);
      box-shadow: inset 0 8px 22px rgba(0,0,0,.12);
    }

    .ribbon.ribbon-blue{
      color:#081024;
      background: linear-gradient(180deg,#cfe7ff,#97c7ff 55%, #6aa8ff);
      box-shadow:
        0 6px 22px rgba(0,0,0,.22),
        inset 0 10px 28px rgba(255,255,255,.30);
    }

    .ribbon.ribbon-green{
      color:#071529;
      background: linear-gradient(180deg,#c9ffe8,#78f0c7 55%, #2fd0a2);
      box-shadow:
        0 6px 22px rgba(0,0,0,.22),
        inset 0 10px 28px rgba(255,255,255,.28);
    }

    .ribbon .rstar{
      margin-left:auto; display:inline-flex; align-items:center; justify-content:center;
      width:18px; height:18px; border-radius:50%;
      background: radial-gradient(circle at 50% 45%, #fff8d6, #ffd86b 60%, #d3ad49);
      box-shadow: 0 1px 4px rgba(0,0,0,.15), inset 0 1px 2px rgba(255,255,255,.4);
      flex:0 0 18px;
    }
    .ribbon .rstar svg{width:12px;height:12px;opacity:.9}

    footer{text-align:center; color:#9fb5e0; font-size:12px; padding:10px 20px 24px; margin-top:auto}
    .grid{opacity:0; transform:translateY(10px); transition:opacity .5s ease, transform .5s ease}
    body.ready .grid{opacity:1; transform:none}
  
    /* Request: hide the top line */
    .topnote .t1{display:none !important;}
  
/* --- additions for workshop pages --- */

.badge-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .75rem;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.badge-pill strong{letter-spacing:.06em;}
.kv{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.kv .badge-pill{font-size:.95rem}
.section{margin-top:1.6rem}
.section h2{margin:0 0 .6rem 0;font-size:1.15rem;letter-spacing:.02em}
.agenda{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.agenda li{display:flex;gap:.9rem;align-items:flex-start;padding:.8rem .9rem;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.agenda .t{min-width:8.2rem;color:var(--muted);font-variant-numeric:tabular-nums}
.agenda .what{font-weight:700}
.agenda .who{color:var(--muted);font-size:.95rem;margin-top:.2rem}
.callout{padding:1rem 1.1rem;border-radius:22px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg, rgba(16,225,170,.12), rgba(255,255,255,.02));}
.callout b{color:var(--acc)}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1rem}
.btn-outline{display:inline-flex;align-items:center;gap:.55rem;padding:.72rem .95rem;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.12);color:var(--text);text-decoration:none}
.btn-outline:hover{border-color:rgba(255,255,255,.45);transform:translateY(-1px)}
.hero-img{border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow);background:#071529}
.hero-img img{display:block;width:100%;height:auto; max-height:520px; object-fit:cover}
.subtle{color:var(--muted)}
.footer-links{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.3rem}

/* --- layout for hub subpages (partners / workshops) --- */
.bg{position:fixed; inset:0; z-index:-1;
  background:
    radial-gradient(1000px 640px at 75% 0%, rgba(27,63,156,.28), transparent 60%),
    radial-gradient(900px 520px at 15% 110%, rgba(11,127,171,.24), transparent 55%),
    linear-gradient(180deg, rgba(2,8,24,.35), rgba(2,8,24,.85));
}

.wrap{max-width:1200px; margin:0 auto; padding:22px 20px 42px; width:100%}

.top{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:6px 0 18px}
.brand{display:flex; align-items:center; gap:12px}
.brand .logo{width:40px; height:40px; border-radius:14px; display:grid; place-items:center;
  background:linear-gradient(180deg,#19d5a4,#0aa884);
  color:#071529; font-weight:900; box-shadow:var(--shadow);
}
.brand .name{font-weight:900; letter-spacing:.14em}
.brand .sub{color:var(--muted); font-weight:700; font-size:13px; margin-top:2px}
.actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}

.btn{display:inline-flex; align-items:center; gap:.55rem;
  padding:.72rem .95rem; border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:var(--text); text-decoration:none;
  box-shadow: inset 0 10px 26px rgba(255,255,255,.05);
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.08)}

.hero{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:stretch; margin-top:8px}
@media (max-width:900px){.hero{grid-template-columns:1fr}}
.heroL{padding:18px 18px 4px}
.heroR{padding:18px}
.hero h1{margin:0; font-size:clamp(28px,4vw,44px); line-height:1.1; letter-spacing:.2px}
.lead{margin:10px 0 0; color:rgba(234,242,255,.92); font-size:15px}

.card{border-radius:28px; border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.14));
  box-shadow:var(--shadow);
}
.card.pad{padding:18px}
.cardTitle{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
.cardTitle h3{margin:0; font-size:16px; letter-spacing:.08em; text-transform:uppercase}
.pill{display:inline-flex; align-items:center; padding:.3rem .6rem; border-radius:999px;
  border:1px solid rgba(255,255,255,.18); background:rgba(0,0,0,.14); color:var(--muted); font-weight:800; font-size:12px}

.workshopCard{display:grid; grid-template-columns: 132px 1fr; gap:14px; align-items:stretch}
@media (max-width:520px){.workshopCard{grid-template-columns:1fr}}
.thumb{border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:#071529}
.thumb img{display:block; width:100%; height:100%; object-fit:cover; max-height:170px}
.meta{display:grid; gap:6px}
.meta .line{display:flex; gap:10px; align-items:center; color:var(--muted); font-weight:700; font-size:13px}
.meta .line b{color:rgba(234,242,255,.96)}
.meta .cta-row{margin-top:8px}

/* Make the default .grid look good inside content sections too */
.wrap .grid{margin:18px 0 0; padding:0; max-width:none}


/* --- Gitrix green CTA buttons --- */
.btn-gx{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 26px;border-radius:14px;font-weight:800;
  font-size:16px;text-decoration:none;transition:all .2s ease;
  cursor:pointer; user-select:none;
}
.btn-gx-primary{
  background:linear-gradient(135deg,#1fd28b,#14b879);
  color:#071529;
  box-shadow:0 10px 30px rgba(31,210,139,.35);
  border:1px solid rgba(31,210,139,.55);
}
.btn-gx-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 36px rgba(31,210,139,.55);
  border-color:rgba(31,210,139,.85);
}
.btn-gx-outline{
  border:2px solid #1fd28b;color:#1fd28b;background:transparent;
}
.btn-gx-outline:hover{background:rgba(31,210,139,.12);}
