/* FK Přímětice – veřejný web */
:root {
  --cyan: #00bae9;
  --cyan-dark: #0096bd;
  --cyan-light: #e5f8fd;
  --black: #0b0b0b;
  --ink: #0b0b0b;
  --muted: #5b6b73;
  --line: #e6eaee;
  --line-soft: #edf0f2;
  --bg-soft: #f3f6f8;
  --bg-dark2: #161c1f;
  --white: #ffffff;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan-dark); }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; line-height: 1; margin: 0; font-weight: 800; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.2vw, 40px); }
h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
@media (min-width: 1360px) { .wrap { padding: 0; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---- Tlačítka ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.btn-primary { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); color: #fff; }
.btn-dark { background: var(--black); color: #fff; border-color: var(--black); }
.btn-dark:hover { background: #2a3439; color: #fff; }
.btn-light { background: #fff; color: var(--black); border-color: #fff; }
.btn-light:hover { background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--black); }
.btn-sm { height: 38px; padding: 0 14px; font-family: var(--body); font-weight: 600; font-size: 14px; text-transform: none; letter-spacing: 0; border-radius: 999px; border-width: 2px; }
.link { font-weight: 600; color: var(--cyan-dark); }
.link:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: 14px; }
.pill.active, .pill:hover { background: var(--black); color: #fff; }
.tag { display: inline-block; background: var(--cyan); color: var(--black); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kicker-cyan { color: var(--cyan-dark); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---- Hlavička ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 44px; width: auto; }
@media (min-width: 900px) { .header-inner { min-height: 88px; } .brand img { height: 54px; } }
.nav-toggle { width: 44px; height: 44px; border: 0; background: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--black); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a { display: block; padding: 12px 0; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line-soft); }
.nav a.active { color: var(--cyan-dark); }
.nav .sub { padding: 4px 0 8px 16px; }
.nav .sub a { display: block; padding: 6px 0; font-size: 16px; color: var(--muted); }
.nav-extra { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; border: 0; padding: 0; align-items: center; gap: 24px; }
  .nav > ul { display: flex; gap: 28px; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a { padding: 30px 0; font-size: 19px; border: 0; }
  .nav > ul > li > a.active { box-shadow: inset 0 -3px 0 var(--cyan); }
  .nav .sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: #fff; border: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
  .nav .sub a { color: var(--ink); padding: 8px 0; }
  .nav-extra { padding: 0; }
}

/* ---- Sekce ---- */
.section { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--black); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head .kicker { display: block; margin-bottom: 4px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-split { display: grid; gap: 24px; }
@media (min-width: 900px) { .home-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; } }
.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid-3, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid-3 { gap: 24px; } }
.flash { max-width: var(--wrap); margin: 16px auto 0; padding: 12px 16px; font-weight: 600; }
.flash-ok { background: var(--cyan-light); color: #05506a; border-left: 4px solid var(--cyan); }
.flash-error { background: #fdecec; color: #8a1c1c; border-left: 4px solid #d33; }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.hero > * { min-width: 0; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: 560px; } }
.hero-story { position: relative; overflow: hidden; background: #0f1b21; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 20px; min-height: 480px; }
@media (min-width: 900px) { .hero-story { padding: 56px 64px 56px 40px; } }
@media (min-width: 1360px) { .hero-story { padding-left: calc((100vw - var(--wrap)) / 2); } }
.hero-story .bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .55; }
.hero-story .mark { position: absolute; right: -80px; top: -40px; width: 520px; opacity: .08; pointer-events: none; }
.hero-story > * { position: relative; }
.hero-story .tag { align-self: flex-start; margin-bottom: 16px; }
.hero-story h1 { color: #fff; max-width: 680px; margin-bottom: 14px; }
.hero-story p { color: #d7e0e4; font-size: 18px; max-width: 620px; margin-bottom: 24px; }
.hero-match { background: var(--black); color: #fff; overflow: hidden; padding: 32px 20px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .hero-match { padding: 40px 40px 40px 48px; } }
@media (min-width: 1360px) { .hero-match { padding-right: calc((100vw - var(--wrap)) / 2); } }
.hero-match .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hero-match .head .kicker { color: var(--cyan); font-family: var(--display); font-size: 20px; letter-spacing: .08em; }
.hero-match .head .comp { font-size: 13px; color: #9aa7ad; text-align: right; }
.versus { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.versus .side { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 34%; text-align: center; }
.versus .side img { width: 72px; }
.versus .side .name { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.versus .crest-placeholder { width: 72px; height: 72px; border-radius: 50%; border: 2px dashed #46545b; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #9aa7ad; }
.versus .time { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.versus .time .big { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; }
.versus .time .date { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #d7e0e4; }
.hero-match .venue { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #d7e0e4; }
.hero-match .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.hero-match .actions .btn { flex: 1 1 160px; }
.hero-match .last { border-top: 1px solid #2a3439; padding-top: 14px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: #9aa7ad; }
.hero-match .last strong { color: #fff; }
.hero-match a.last-link { color: #9aa7ad; }
.hero-match a.last-link:hover { color: #fff; }
.hero-match a.last-link:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.hero-match .last .ext { color: var(--cyan); }
.hero-match .empty { color: #9aa7ad; font-size: 15px; }
.hero-match .also { border-top: 1px solid #2a3439; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.hero-match .also-row { display: flex; gap: 12px; font-size: 14px; color: #d7e0e4; }
.hero-match .also-row span:first-child { flex-shrink: 0; width: 120px; color: #9aa7ad; }
.hero-match .also-row:hover { color: #fff; }
.outcome-vyhra { color: var(--cyan); }
.outcome-prohra { color: #ff7a7a; }
.outcome-remiza { color: #ffd400; }

/* ---- Zápasy ---- */
.match-card { border: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; background: #fff; color: inherit; }
.match-card:hover { border-color: var(--cyan); color: inherit; }
.match-card .row { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; }
.match-card .row.ours { font-weight: 700; }
.match-card .score { font-family: var(--display); font-weight: 800; font-size: 24px; }
.match-card .score.ours { color: var(--cyan-dark); }
.match-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--cyan-dark); }
.match-card.dark { background: var(--black); color: #fff; border-color: var(--black); }
.match-card.dark .kicker { color: var(--cyan); }
.match-card.dark .foot { color: #9aa7ad; }
.match-card.dark .foot a { color: #fff; }
.match-list { border-top: 2px solid var(--black); }
.match-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.match-row .when { font-size: 13px; color: var(--muted); }
.match-row .who { font-size: 16px; }
.match-row .who strong { font-weight: 700; }
.match-row .score { grid-column: 2; grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 26px; text-align: right; }
.match-row .score.upcoming { font-size: 15px; font-weight: 700; color: var(--muted); font-family: var(--display); }
.match-row .links { grid-column: 1 / -1; font-size: 13px; }
.match-row.next { background: var(--cyan-light); border-left: 4px solid var(--cyan); padding-left: 12px; }
@media (min-width: 800px) {
  .match-row { grid-template-columns: 150px 90px 1fr 90px 160px; padding: 0; min-height: 60px; }
  .match-row .score { grid-column: auto; grid-row: auto; text-align: center; }
  .match-row .links { grid-column: auto; text-align: right; }
  .match-row .round { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 799px) { .match-row .round { display: none; } }

/* ---- Pozvánka ---- */
.invite { background: var(--cyan); color: var(--black); padding: 28px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.invite .mark { position: absolute; right: -60px; bottom: -40px; width: 280px; opacity: .14; pointer-events: none; }
.invite > * { position: relative; }
.invite .kicker { color: var(--black); font-family: var(--display); font-size: 17px; letter-spacing: .12em; }
.invite h3 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; }
.invite .when { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.invite .body p:last-child { margin: 0; }
.invite .more { margin-top: auto; }
.invite .more .kicker { font-size: 12px; font-family: var(--body); letter-spacing: .08em; }
.invite .more .row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; border-top: 1px solid rgba(0,0,0,.25); padding-top: 6px; margin-top: 6px; }
.invite a.link, .invite .more .row a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.invite a.link:hover, .invite .more .row a:hover { color: #fff; }

/* ---- Tabulka (odkaz) ---- */
.table-link { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---- Aktuality ---- */
.post-card { display: flex; flex-direction: column; gap: 10px; color: inherit; }
.post-card:hover { color: inherit; }
.post-card:hover .post-title { color: var(--cyan-dark); }
.post-card .thumb { aspect-ratio: 3 / 2; background: #dfe6ea; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb.dark { background: var(--black); }
.post-card .thumb.dark img { width: 45%; height: auto; object-fit: contain; }
.post-title { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.post-card .excerpt { color: #3c4a51; font-size: 15px; }
.post-card.compact { flex-direction: row; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.post-card.compact .thumb { width: 96px; height: 72px; flex-shrink: 0; aspect-ratio: auto; }
.post-card.compact .post-title { font-size: 20px; }

.article { max-width: 780px; }
.article .lead { font-size: 20px; color: #3c4a51; }
.article .body { font-size: 18px; }
.article .body img { margin: 16px 0; }
.article .body h2, .article .body h3 { margin: 32px 0 12px; }
.article .body ul, .article .body ol { padding-left: 24px; }
.article .body blockquote { border-left: 4px solid var(--cyan); margin: 16px 0; padding: 4px 16px; color: var(--muted); }
.article .hero-img { margin-bottom: 24px; }
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: 1fr 320px; } }

/* ---- Týmy ---- */
.team-card { min-height: 160px; padding: 20px; background: var(--bg-dark2); border-top: 3px solid var(--cyan); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.team-card:hover { background: #1f272b; color: #fff; }
.team-card .cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa7ad; }
.team-card .name { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; }
.team-card .comp { font-size: 14px; color: #d7e0e4; }
.team-card .more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--cyan); }
.team-card.recruit { background: var(--cyan); color: var(--black); }
.team-card.recruit:hover { background: var(--cyan-dark); color: #fff; }
.team-card.recruit .cat, .team-card.recruit .comp, .team-card.recruit .more { color: inherit; }

.team-hero { background: var(--black); color: #fff; padding: 40px 0; position: relative; overflow: hidden; }
.team-hero .mark { position: absolute; right: 60px; top: -60px; width: 340px; opacity: .08; pointer-events: none; }
.team-hero .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.team-hero .ident { display: flex; align-items: center; gap: 24px; }
.team-hero .ident img { width: 96px; }
.team-hero .kicker { color: var(--cyan); }
.team-hero h1 { color: #fff; }
.team-hero .comp { font-size: 18px; color: #d7e0e4; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 20px; border: 1px solid #2a3439; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.stat .n.cyan { color: var(--cyan); }
.stat .l { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa7ad; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.subnav { border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav .wrap { display: flex; gap: 28px; }
.subnav a { display: flex; align-items: center; height: 56px; font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.subnav a.active, .subnav a:hover { color: var(--black); box-shadow: inset 0 -3px 0 var(--cyan); }
/* Zápasy – taby Program / Odehráno */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--black); margin: 8px 0 0; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; text-decoration: none; }
.tab:hover { color: var(--black); }
.tab.active { color: var(--black); border-bottom-color: var(--cyan); }
.tab-count { font-family: var(--body); font-size: 12px; font-weight: 700; background: var(--bg-soft); color: var(--muted); border-radius: 999px; padding: 2px 8px; }
.tab.active .tab-count { background: var(--cyan); color: var(--black); }
.matches-page .tabs, .matches-page .match-list, .matches-page .social-empty { max-width: 860px; }
.matches-page .match-list { border-top: 0; }
.matches-page .match-row .who { font-size: 17px; }
@media (max-width: 600px) { .tab { padding: 10px 14px; font-size: 18px; } }

.team-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .team-layout { grid-template-columns: 1fr 380px; } }
.person { background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.person .photo { width: 64px; height: 64px; border-radius: 50%; background: #dfe6ea; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-dark); }
.person .name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; }
.person .meta { font-size: 13px; color: var(--muted); }
.person .meta a { color: var(--cyan-dark); }

/* ---- Sociální sítě ---- */
.social-card { border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 250px; color: inherit; background: #fff; }
.social-card:hover { border-color: var(--cyan); color: inherit; }
.social-card .img { aspect-ratio: 1 / 1; background: #dfe6ea; overflow: hidden; }
.social-card .img img { width: 100%; height: 100%; object-fit: cover; }
.social-card .text { padding: 12px 14px; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.social-card .src { padding: 8px 14px 12px; font-size: 12px; color: var(--muted); }
.social-empty { border: 1px dashed #c8d2d8; padding: 32px; text-align: center; color: var(--muted); }

/* ---- Eshop ---- */
.product-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; color: inherit; }
.product-card:hover { border-color: var(--cyan); color: inherit; }
.product-card .img { aspect-ratio: 4 / 3; background: var(--cyan-light); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.product-card .img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .info { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-card .name { font-weight: 600; font-size: 15px; }
.product-card .price { font-family: var(--display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.product-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-layout .img { background: var(--cyan-light); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.product-layout .img img { width: 100%; height: 100%; object-fit: cover; }
.price-big { font-family: var(--display); font-weight: 800; font-size: 40px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cart-table .num { text-align: right; white-space: nowrap; }
.cart-table input[type=number] { width: 64px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 28px; font-weight: 800; padding: 16px 8px; border-top: 2px solid var(--black); }
.notice { background: var(--cyan-light); border-left: 4px solid var(--cyan); padding: 12px 16px; font-size: 15px; }

/* ---- Formuláře ---- */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea, .form select, .cart-table input { font: inherit; padding: 10px 12px; border: 1px solid #c8d2d8; background: #fff; border-radius: 0; width: 100%; min-height: 44px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.form .row2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }

/* ---- Pozvánka ke sdílení ---- */
.invite-gen { display: grid; gap: 32px; }
@media (min-width: 900px) { .invite-gen { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; } }
.invite-preview { background: var(--bg-soft); padding: 16px; display: flex; justify-content: center; }
.invite-preview canvas { max-width: 100%; max-height: 80vh; height: auto; width: auto; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
@media (max-width: 799px) { .match-row .links { font-size: 13px; } }

/* ---- Partneři ---- */
.partner { height: 80px; border: 1px dashed #c8d2d8; display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.partner img { max-height: 56px; width: auto; }
.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .partners-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---- Galerie ---- */
.album { display: flex; flex-direction: column; gap: 8px; color: inherit; }
.album .cover { aspect-ratio: 4 / 3; background: #dfe6ea; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; }
.album .t { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; }

/* ---- Momentky (úvod) ---- */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; }
@media (min-width: 700px) { .moments { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1000px) { .moments { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.moment { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #dfe6ea; }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.moment:hover img { transform: scale(1.04); }
.moment .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment:hover .cap { opacity: 1; }
.moments .moment:first-child { grid-column: span 2; grid-row: span 2; }

/* ---- Stránka ---- */
.page-head { padding: 40px 0 24px; }
.page-head .kicker { margin-bottom: 6px; display: block; }
.prose { max-width: 780px; font-size: 18px; }
.prose img { margin: 16px 0; }
.prose h2, .prose h3 { margin: 28px 0 12px; }
.prose ul, .prose ol { padding-left: 24px; }
.pagination { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

/* ---- Patička ---- */
.site-footer { background: var(--black); color: #d7e0e4; padding: 48px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: #fff; }
.footer-addr { font-size: 14px; line-height: 1.5; }
.footer-social { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #9aa7ad; border-top: 1px solid #2a3439; padding-top: 16px; margin-top: 32px; }
.footer-bottom a:hover { color: #fff; }
