/* =====================================================================
   Identita v3 – stejná jako grafika na LED: „TV přenos“
   navy hala, červená #ff1f2d, šikmé desky, buly kruh s koníkem
   ===================================================================== */
:root { --red: #ff1f2d; --navy: #10113b; --navy-2: #1b1e6e; --plate: linear-gradient(180deg, rgba(34,38,120,.78), rgba(6,6,26,.92)); }
body.poster-theme { background: #03030a; }
body.poster-theme::before { content: ""; position: fixed; inset: 0; z-index: -5; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(38,42,140,.55), transparent 70%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(255,31,45,.14), transparent 70%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(255,31,45,.1), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 140px, rgba(110,130,255,.025) 140px 220px),
    #03030a; }
.poster-theme .section, .poster-theme .section-alt, .poster-theme .ig-band, .poster-hero { background: transparent; }
.poster-theme .section + .section { border-top: 0; }

/* kolečko s koníkem z loga školy (výřez z oficiálního SVG) */
.emb { --s: 44px; position: relative; width: var(--s); height: var(--s); flex: none; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(40,46,150,.7), rgba(8,9,40,.2)); box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(255,31,45,.35); }
.emb::before { content: ""; position: absolute; inset: 14%; background: url("https://wsrv.nl/?url=www.gypce.cz/wp-content/themes/2025/assets/gypce-logo.svg&output=png&w=1700") no-repeat 0 -1.4% / auto 101.4%; filter: brightness(0) invert(1); width: 72%; height: 72%; background-size: 317.8% auto; background-position: 0 50%; }
.brand img, .foot-brand img { display: none; }

/* hlavička jako broadcast lišta */
.poster-theme .site-header { background: rgba(4,4,16,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--red) 50%, #fff 50%); }
.brand span { font-size: 1.7rem; }
.menu a { position: relative; }
.menu a:not(.ig-btn):hover::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--red); transform: skewX(-20deg); }
.menu .ig-btn { border-radius: 0; transform: skewX(-12deg); background: var(--red); border-color: var(--red); }
.menu .ig-btn > * { transform: skewX(12deg); }

/* štítek LIVE */
.live-tag { display: inline-flex; align-items: stretch; transform: skewX(-12deg); font: 800 .78rem/1 var(--sans); letter-spacing: .12em; margin-bottom: 1rem; }
.live-tag b { background: var(--red); padding: .45rem .8rem; display: flex; align-items: center; gap: .45rem; }
.live-tag b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.live-tag span { background: rgba(6,7,30,.85); border: 1px solid rgba(255,255,255,.15); padding: .45rem .9rem; }
.live-tag > * { transform: skewX(12deg); }
@keyframes blink { 50% { opacity: .3; } }

/* úvod */
.poster-hero { padding-top: 104px; }
.ph-faces img { opacity: .38; }
.ph-faces::after { background: radial-gradient(ellipse 45% 55% at 50% 40%, rgba(3,3,10,.2), rgba(3,3,10,.95) 100%), linear-gradient(180deg, rgba(3,3,10,.3), rgba(3,3,10,.15) 40%, #03030a 80%); }
.ph-match { gap: 0; margin-top: 1rem; }
.ph-match span { padding: .35rem 1.4rem; transform: skewX(-12deg); font-weight: 900; }
.ph-match .a { background: var(--red); color: #fff; }
.ph-match .vs { background: #0b0c2a; color: #fff; border-radius: 50%; transform: none; width: 2.4em; height: 2.4em; display: grid; place-items: center; padding: 0; margin: 0 -.5em; z-index: 1; box-shadow: 0 0 0 3px rgba(255,255,255,.7); font-family: var(--display); font-weight: 400; }
.ph-match .b { background: #fff; color: var(--navy); }
.ph-when { font-family: var(--display); font-weight: 400; letter-spacing: .03em; }
.ph-count div { border-radius: 0; transform: skewX(-8deg); background: var(--plate); border-color: rgba(255,255,255,.16); border-left: 4px solid var(--red); }
.ph-count div > * { transform: skewX(8deg); }

/* tlačítka */
.btn { border-radius: 0; transform: skewX(-12deg); }
.btn > * , .btn { }
.btn svg { transform: skewX(12deg); }
.btn-primary { background: var(--red); box-shadow: 0 10px 30px -10px rgba(255,31,45,.8); }
.btn-primary:hover { background: #ff3a46; transform: skewX(-12deg) translateY(-2px); }
.btn-outline { background: rgba(6,7,30,.7); border-color: rgba(255,255,255,.25); }
.btn-outline:hover { transform: skewX(-12deg) translateY(-2px); }

/* nadpisy sekcí: šikmá deska s červeným okrajem */
.poster-theme .kicker { opacity: 1; color: var(--red); letter-spacing: .3em; }
.poster-theme .sec-head h2 { display: inline-block; position: relative; padding: .15em .6em .05em; }
.poster-theme .sec-head h2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--plate); border: 1px solid rgba(255,255,255,.18); border-left: 8px solid var(--red); transform: skewX(-12deg); }

/* týmy */
.poster-theme .team { background: var(--plate); border-radius: 0; border: 1px solid rgba(255,255,255,.12); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.team-a header { background: linear-gradient(135deg, rgba(255,31,45,.45), transparent 75%); }
.team-b header { background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 75%); }
.vs-big { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: #0b0c2a; box-shadow: 0 0 0 3px rgba(255,255,255,.7); color: #fff; font-size: 1.7rem !important; }

/* program jako na kostce */
.poster-theme .schedule { border: 0; display: grid; gap: .6rem; }
.poster-theme .schedule li { position: relative; border: 0; padding: 0; grid-template-columns: 150px 1fr; gap: 0; align-items: stretch; background: var(--plate); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.poster-theme .schedule li::before { display: none; }
.poster-theme .schedule time { display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; padding: .7rem .5rem; }
.poster-theme .schedule li > div { padding: .75rem 1.2rem; display: flex; flex-direction: column; justify-content: center; }
.poster-theme .schedule h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.poster-theme .schedule p { color: #c8cbe0; font-size: .88rem; margin-top: .15rem; }
.poster-theme .schedule .is-period { background: linear-gradient(180deg, rgba(40,46,150,.9), rgba(10,10,40,.95)); }
.poster-theme .schedule .is-period time { background: var(--red); }
.poster-theme .schedule .is-break h3 { color: #d5d9df; }
.poster-theme .schedule .is-final time { background: #fff; color: var(--navy); }
.poster-theme .schedule .is-final h3 { color: var(--red); }

/* místo, bufet, vstupné */
.poster-theme .venue-card, .poster-theme .map { background: var(--plate); border-radius: 0; border-color: rgba(255,255,255,.14); }
.poster-theme .venue-card { border-left: 6px solid var(--red); }
.poster-theme .pricelist { background: var(--plate); padding: .4rem 1.4rem; border-left: 6px solid var(--red); }
.poster-theme .pricelist li { border-color: rgba(255,255,255,.1); }
.poster-theme .pricelist b { color: var(--red); }
.amounts button { border-radius: 0; transform: skewX(-10deg); }
.amounts button.on { background: var(--red); border-color: var(--red); color: #fff; }
.qr-card { border-radius: 0; border: 6px solid var(--red); }

/* instagram pruh a patička */
.poster-theme .ig-band { background: linear-gradient(115deg, rgba(255,31,45,.28), rgba(38,42,140,.35)); border-top: 3px solid var(--red); }
.site-footer { border-top: 3px solid; border-image: linear-gradient(90deg, var(--red) 50%, #fff 50%) 1; background: rgba(3,3,10,.9); }
.led-screen { border-radius: 0; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 6px rgba(6,7,30,.9), 0 0 60px rgba(60,80,220,.3); }

@media (max-width: 760px) {
  .poster-theme .schedule li { grid-template-columns: 96px 1fr; }
  .poster-theme .schedule time { font-size: 1.25rem; }
  .poster-theme .schedule h3 { font-size: 1.35rem; }
  .ph-match span { padding: .3rem .9rem; }
  .brand span { font-size: 1.4rem; }
}
