/* =============================================================================
   FBC VÍTKOV v2 — DESIGN SYSTEM
   Navy carries the identity; gold is an accent only. Barlow type family.
   Class vocabulary used across all templates (prefix .fbc-).
   ============================================================================= */

/* ---- TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand navy ladder */
  --navy-900: #0E1A30;
  --navy-800: #16243F;
  --navy-700: #1E3155;
  --navy-600: #2A4068;
  /* Gold accent */
  --gold: #F6B40A;
  --gold-600: #E0A300;
  --gold-tint: #FFF3D1;
  /* Neutrals */
  --white: #FFFFFF;
  --paper: #F4F5F7;
  --line: #E3E6EB;
  --ink: #1C2433;
  --muted: #5A6373;
  /* Category palette (schedule/calendar only) */
  --cat-green: #2FA84F;
  --cat-yellow: #FAD22A;
  --cat-blue: #2E7CD6;
  --cat-red: #DB3A33;
  /* Aliases */
  --text-on-brand-muted: #C9D2E0;
  /* Type */
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-semi: "Barlow Semi Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  /* Spacing / radius / shadow */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(14, 26, 48, 0.08);
  --shadow: 0 6px 24px rgba(14, 26, 48, 0.10);
  /* Layout */
  --content-max: 1080px;
  --gutter: 24px;
}

/* ---- RESET / BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); }
button { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@keyframes fbcPulse { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- LAYOUT ---------------------------------------------------------------- */
.fbc-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fbc-container--narrow { max-width: 800px; }
.fbc-container--article { max-width: 720px; }
.fbc-section { padding: 64px 0; }
.fbc-section--tight { padding: 44px 0; }
.fbc-section--paper { background: var(--paper); }
.fbc-section--white { background: var(--white); border-top: 1px solid var(--line); }
.site-main { display: block; }

/* ---- TYPOGRAPHY HELPERS ---------------------------------------------------- */
.fbc-eyebrow {
  font-family: var(--font-semi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--gold-600);
}
.fbc-eyebrow--on-brand { color: var(--gold); }

/* Section heading with gold bar */
.fbc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.fbc-section-head__titles { min-width: 0; }
.fbc-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 34px;
  letter-spacing: .5px;
  color: var(--navy-800);
  line-height: 1;
  margin: 0;
}
.fbc-heading::before {
  content: "";
  width: 8px;
  height: 34px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.fbc-heading--sm { font-size: 26px; }
.fbc-heading--sm::before { height: 26px; width: 6px; }
.fbc-section-head__sub {
  color: var(--muted);
  margin: 8px 0 0 22px;
  font-size: 16px;
}
.fbc-link-more {
  font-family: var(--font-semi);
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  white-space: nowrap;
}
.fbc-link-more__arrow { color: var(--gold-600); transition: transform .15s ease; }
.fbc-link-more:hover { color: var(--gold-600); }
.fbc-link-more:hover .fbc-link-more__arrow { transform: translateX(4px); }

/* ---- BUTTONS --------------------------------------------------------------- */
.fbc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-semi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1;
}
.fbc-btn--primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.fbc-btn--primary:hover { background: var(--gold-600); border-color: var(--gold-600); transform: translateY(-1px); }
.fbc-btn--dark { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.fbc-btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); transform: translateY(-1px); }
.fbc-btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.fbc-btn--ghost:hover { background: var(--navy-800); color: #fff; }
.fbc-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.fbc-btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.fbc-btn--sm { padding: 10px 18px; font-size: 13px; }
.fbc-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- CARDS ----------------------------------------------------------------- */
.fbc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.fbc-card--gold-edge { border-left: 6px solid var(--gold); }
.fbc-card--pad { padding: 26px 28px; }

.fbc-grid { display: grid; gap: 22px; }
.fbc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fbc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fbc-grid--6 { grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* News card (pattern) */
.fbc-news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fbc-news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fbc-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  background-size: cover;
  background-position: center;
}
.fbc-news-card__date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy-900);
  font-family: var(--font-semi);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
}
.fbc-news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.fbc-news-card__cat {
  font-family: var(--font-semi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 11px;
  color: var(--gold-600);
  margin-bottom: 8px;
}
.fbc-news-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: .3px;
  color: var(--navy-800);
  margin: 0 0 10px;
}
.fbc-news-card__excerpt { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.fbc-news-card__more {
  margin-top: auto;
  font-family: var(--font-semi);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fbc-news-card__more::after { content: "→"; color: var(--gold-600); }

/* Team card (signature diagonal + gold edge) */
.fbc-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 22px;
}
.fbc-team-card .fbc-btn {
  align-self: flex-start;
  margin-top: auto;
}
.fbc-team-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 64px; height: 100%;
  background: linear-gradient(115deg, transparent 46%, var(--paper) 46%);
  pointer-events: none;
}
.fbc-team-card__name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
  color: var(--navy-800);
  margin: 0;
}
.fbc-team-card__sub { position: relative; color: var(--muted); font-size: 14px; margin: 6px 0 18px; min-height: 34px; }

/* ---- CATEGORY DOTS / TAGS / PILLS ----------------------------------------- */
.fbc-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.fbc-dot--green { background: var(--cat-green); }
.fbc-dot--yellow { background: var(--cat-yellow); }
.fbc-dot--blue { background: var(--cat-blue); }
.fbc-dot--red { background: var(--cat-red); }
.fbc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}
.fbc-tag {
  font-family: var(--font-semi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 11px;
  color: var(--gold-600);
}

/* ---- PAGE HERO (navy) ------------------------------------------------------ */
.fbc-page-hero {
  position: relative;
  background: var(--navy-800) url('https://fbcvitkov.cz/wp-content/uploads/2025/06/IMG_6868-2-scaled.jpg') center/cover no-repeat;
  overflow: hidden;
  color: #fff;
}
.fbc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8,15,31,.62), rgba(8,15,31,.62)),
    linear-gradient(115deg, transparent 0%, transparent 60%, rgba(246,180,10,.08) 60%, rgba(246,180,10,.08) 67%, transparent 67%);
  pointer-events: none;
}
.fbc-page-hero__inner { position: relative; max-width: var(--content-max); margin: 0 auto; padding: 36px var(--gutter) 52px; }
.fbc-page-hero__lead { display: flex; align-items: center; gap: 14px; }
.fbc-page-hero__bar { width: 8px; height: 44px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.fbc-page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 52px);
  color: #fff;
  margin: 0;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.fbc-page-hero__sub { font-size: 17px; color: var(--text-on-brand-muted); margin: 6px 0 0; }

/* ---- BREADCRUMBS ----------------------------------------------------------- */
.fbc-breadcrumbs, .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-on-brand-muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.fbc-breadcrumbs a, .breadcrumbs a { color: var(--text-on-brand-muted); text-decoration: none; }
.fbc-breadcrumbs a:hover, .breadcrumbs a:hover { color: #fff; }
.fbc-breadcrumbs span, .breadcrumbs span { opacity: .5; }
/* Standalone breadcrumb bar (when not inside navy hero) */
.breadcrumbs { background: var(--navy-800); }
.breadcrumbs .breadcrumbs-container { max-width: var(--content-max); margin: 0 auto; padding: 14px var(--gutter); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumbs { margin-bottom: 0; }

/* ---- DIAGONAL CTA BANNER --------------------------------------------------- */
.fbc-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--gold);
  padding: 44px 40px;
}
.fbc-banner::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 100%;
  background: linear-gradient(115deg, transparent 46%, var(--gold) 46%);
  pointer-events: none;
}
.fbc-banner__inner { position: relative; max-width: 560px; }
.fbc-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1;
  margin: 10px 0 14px;
  color: #fff;
}
.fbc-banner__text { color: var(--text-on-brand-muted); font-size: 17px; line-height: 1.5; margin: 0 0 22px; }
.fbc-banner--split { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; }
.fbc-banner--split .fbc-banner__title { font-size: 30px; margin: 0 0 6px; }

/* ---- FORMS ----------------------------------------------------------------- */
.fbc-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 30px 30px 34px;
}
.fbc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fbc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fbc-field__label {
  font-family: var(--font-semi);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.fbc-req { color: var(--cat-red); }
.fbc-input, .fbc-select, .fbc-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  outline: none;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.fbc-textarea { resize: vertical; }
.fbc-input:focus, .fbc-select:focus, .fbc-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.fbc-input.is-error, .fbc-select.is-error, .fbc-textarea.is-error { border-color: var(--cat-red); }
.fbc-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fbc-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.fbc-form-alert {
  background: #FDECEA;
  border: 1px solid var(--cat-red);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #A12018;
  font-weight: 500;
}
.fbc-form-success { text-align: center; }
.fbc-form-success__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cat-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

/* ---- CONTACT FORM 7 — styled to match design system ----------------------- */
.fbc-form-card .wpcf7 { display: block; }

/* labels */
.fbc-form-card .wpcf7 label {
  display: block;
  font-family: var(--font-semi);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}

/* group each field */
.fbc-form-card .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 14px;
}

/* text / email / tel / number / date inputs */
.fbc-form-card .wpcf7 input[type="text"],
.fbc-form-card .wpcf7 input[type="email"],
.fbc-form-card .wpcf7 input[type="tel"],
.fbc-form-card .wpcf7 input[type="number"],
.fbc-form-card .wpcf7 input[type="date"],
.fbc-form-card .wpcf7 input[type="url"],
.fbc-form-card .wpcf7 select,
.fbc-form-card .wpcf7 textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  outline: none;
  color: var(--ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.fbc-form-card .wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.fbc-form-card .wpcf7 textarea { resize: vertical; min-height: 110px; }

.fbc-form-card .wpcf7 input[type="text"]:focus,
.fbc-form-card .wpcf7 input[type="email"]:focus,
.fbc-form-card .wpcf7 input[type="tel"]:focus,
.fbc-form-card .wpcf7 input[type="number"]:focus,
.fbc-form-card .wpcf7 input[type="date"]:focus,
.fbc-form-card .wpcf7 input[type="url"]:focus,
.fbc-form-card .wpcf7 select:focus,
.fbc-form-card .wpcf7 textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}

/* validation error highlight */
.fbc-form-card .wpcf7 .wpcf7-not-valid {
  border-color: var(--cat-red) !important;
  box-shadow: 0 0 0 3px rgba(219, 58, 51, .12) !important;
}

.fbc-form-card .wpcf7 .wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: var(--cat-red);
  margin-top: 4px;
}

/* checkboxes */
.fbc-form-card .wpcf7 .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.fbc-form-card .wpcf7 .wpcf7-list-item input[type="checkbox"],
.fbc-form-card .wpcf7 .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

/* submit button */
.fbc-form-card .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px 24px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-semi);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.fbc-form-card .wpcf7 input[type="submit"]:hover {
  background: var(--gold);
  color: var(--navy-900);
}

.fbc-form-card .wpcf7 input[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* response messages */
.fbc-form-card .wpcf7 .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.fbc-form-card .wpcf7 .wpcf7-mail-sent-ok {
  background: #E8F8EE;
  border: 1px solid var(--cat-green);
  color: #1B6B34;
}

.fbc-form-card .wpcf7 .wpcf7-validation-errors,
.fbc-form-card .wpcf7 .wpcf7-mail-sent-ng,
.fbc-form-card .wpcf7 .wpcf7-acceptance-missing {
  background: #FDECEA;
  border: 1px solid var(--cat-red);
  color: #A12018;
}

/* form-card title & lead */
.fbc-form-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-800);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.fbc-form-card__lead {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

/* Header search form (search.php / functions) */
.fbc-search-form { display: flex; gap: 8px; }
.fbc-search-form__field { flex: 1; font-family: var(--font-body); font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; }
.fbc-search-form__field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.fbc-search-form__submit { background: var(--navy-800); color: #fff; border: none; border-radius: var(--radius-sm); padding: 0 16px; cursor: pointer; display: flex; align-items: center; }
.fbc-search-form__submit:hover { background: var(--gold); color: var(--navy-900); }

/* =============================================================================
   SITE HEADER & NAV
   ============================================================================= */
.fbc-nav__social { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.fbc-nav__social a { color: var(--text-on-brand-muted); display: flex; align-items: center; transition: color .12s ease; }
.fbc-nav__social a:hover { color: var(--gold); }

.fbc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-800);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.fbc-nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fbc-nav__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.fbc-nav__logo img { height: 56px; width: auto; display: block; }
.fbc-nav__menu {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 1px;
  height: 74px;
  list-style: none;
  margin-block: 0;
  padding: 0;
}
.fbc-nav__menu li { display: flex; position: relative; }
.fbc-nav__menu a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-semi);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-on-brand-muted);
  padding: 0 11px;
  border-bottom: 3px solid transparent;
  transition: color .12s ease;
  white-space: nowrap;
}
.fbc-nav__menu a:hover { color: #fff; }
.fbc-nav__menu li.current-menu-item > a,
.fbc-nav__menu li.current-menu-ancestor > a,
.fbc-nav__menu li.current_page_item > a,
.fbc-nav__menu a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
/* Rozbalovací podmenu (dropdown) */
.fbc-nav__menu .menu-item-has-children > a::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex-shrink: 0;
}
.fbc-nav__menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--navy-900);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 60;
}
.fbc-nav__menu li:hover > .sub-menu,
.fbc-nav__menu li:focus-within > .sub-menu { display: block; }
.fbc-nav__menu .sub-menu li { display: block; }
.fbc-nav__menu .sub-menu a {
  display: block;
  height: auto;
  padding: 11px 18px;
  border-bottom: none;
  white-space: normal;
  color: var(--text-on-brand-muted);
}
.fbc-nav__menu .sub-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.fbc-nav__menu .sub-menu .current-menu-item > a { color: var(--gold); }

.fbc-nav__member { margin-left: 12px; flex-shrink: 0; }

.fbc-nav__search {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text-on-brand-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .12s ease;
  margin-left: 6px;
}
.fbc-nav__search:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.fbc-nav__toggle {
  display: none;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: auto;
}
/* Header search dropdown */
.fbc-header-search {
  display: none;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fbc-header-search.is-open { display: block; }
.fbc-header-search__inner { max-width: var(--content-max); margin: 0 auto; padding: 14px var(--gutter); }

/* =============================================================================
   SITE FOOTER
   ============================================================================= */
.fbc-footer { background: var(--navy-900); color: #9FAAC0; border-top: 4px solid var(--gold); font-family: var(--font-body); }
.fbc-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.fbc-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fbc-footer__brand img { height: 52px; width: auto; }
.fbc-footer__brand-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: 21px; }
.fbc-footer__brand-name span { color: var(--gold); }
.fbc-footer p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; color: #9FAAC0; }
.fbc-footer__meta { font-size: 14px; line-height: 1.9; color: #8A97AE; }
.fbc-footer__col-title { font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--gold); margin-bottom: 14px; }
.fbc-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 15px; list-style: none; margin: 0; padding: 0; }
.fbc-footer__links a { color: #9FAAC0; text-decoration: none; width: fit-content; }
.fbc-footer__links a:hover { color: #fff; }
.fbc-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.fbc-footer__social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: #C9D2E0; text-decoration: none;
  transition: all .12s ease;
}
.fbc-footer__social a:hover { background: var(--gold); color: var(--navy-900); }
.fbc-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.fbc-footer__bottom-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7E8BA3;
}
.fbc-footer__bottom-inner a { color: #9FAAC0; text-decoration: none; }
.fbc-footer__bottom-inner a:hover { color: var(--gold); }

.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, background .15s ease;
  z-index: 60;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--navy-900); }

/* =============================================================================
   HERO (front page)
   ============================================================================= */
.fbc-hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.fbc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(8,15,31,.55), rgba(8,15,31,.55)),
    linear-gradient(115deg, transparent 0%, transparent 56%, rgba(246,180,10,.10) 56%, rgba(246,180,10,.10) 63%, transparent 63%);
  pointer-events: none;
}
.fbc-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}
.fbc-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(46px, 6vw, 80px);
  line-height: .92;
  letter-spacing: .5px;
  margin: 14px 0 0;
}
.fbc-hero__title span { color: var(--gold); }
.fbc-hero__text { margin: 22px 0 0; max-width: 520px; font-size: 18px; color: var(--text-on-brand-muted); line-height: 1.5; }
.fbc-hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.fbc-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.fbc-hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}
.fbc-hero__media img { position: relative; width: 160px; height: 160px; object-fit: contain; opacity: .92; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }
.fbc-hero__media--photo img { width: 100%; height: 100%; opacity: 1; filter: none; }

/* Hero panel — příští zápas / poslední novinka */
.fbc-hero__panel {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.fbc-hero__panel:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.35); color: #fff; text-decoration: none; }
.fbc-hero__panel-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

/* Match variant */
.fbc-hero__panel--match { padding: 28px 26px; gap: 12px; }
.fbc-hero__panel-date { display: flex; align-items: baseline; gap: 8px; position: relative; }
.fbc-hero__panel-day { font-family: var(--font-display); font-size: 58px; font-weight: 800; line-height: 1; color: #fff; }
.fbc-hero__panel-month { font-size: 17px; color: rgba(255,255,255,.55); }
.fbc-hero__panel-matchup { font-family: var(--font-display); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.25; position: relative; }
.fbc-hero__panel-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.65); position: relative; flex-wrap: wrap; }
.fbc-hero__panel-ha { background: rgba(255,255,255,.1); border-radius: var(--radius-pill); padding: 3px 11px; font-size: 12px; font-weight: 600; }
.fbc-hero__panel-time { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold); position: relative; margin-top: auto; }

/* Post variant */
.fbc-hero__panel--post { padding: 0; }
.fbc-hero__panel-thumb { height: 175px; background-size: cover; background-position: center; flex-shrink: 0; }
.fbc-hero__panel-post-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 7px; position: relative; flex: 1; }
.fbc-hero__panel-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.fbc-hero__panel-post-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.25; color: #fff; }
.fbc-hero__panel-post-date { font-size: 12px; color: rgba(255,255,255,.4); margin-top: auto; }

/* Event highlight strip (homepage) */
.fbc-event-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.fbc-event-strip__left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fbc-date-badge {
  width: 64px; flex-shrink: 0;
  background: var(--gold);
  color: var(--navy-900);
  text-align: center;
  padding: 10px 0;
  line-height: 1;
  border-radius: var(--radius-sm);
}
.fbc-date-badge__day { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.fbc-date-badge__mon { font-family: var(--font-semi); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.fbc-event-strip__eyebrow { display: flex; align-items: center; gap: 9px; font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: var(--gold-600); margin-bottom: 5px; }
.fbc-event-strip__eyebrow .fbc-dot { animation: fbcPulse 2s ease-in-out infinite; }
.fbc-event-strip__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--navy-800); line-height: 1; }
.fbc-event-strip__meta { font-size: 14px; color: var(--muted); margin-top: 5px; }

/* =============================================================================
   SCHEDULE (training week + matches) — homepage panels
   ============================================================================= */
.fbc-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.fbc-panel__head { background: var(--navy-800); padding: 15px 22px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.fbc-week__row { display: flex; gap: 16px; padding: 11px 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.fbc-week__row:last-child { border-bottom: none; }
.fbc-week__row:nth-child(even) { background: #FBFCFD; }
.fbc-week__day { width: 40px; flex-shrink: 0; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy-800); text-transform: uppercase; padding-top: 2px; }
.fbc-week__sessions { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fbc-week__session { display: grid; grid-template-columns: 14px 106px 1fr auto; align-items: center; gap: 0 10px; }
.fbc-week__time { font-family: var(--font-semi); font-size: 13px; font-weight: 700; color: var(--navy-800); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fbc-week__team { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbc-week__free { font-size: 13px; color: var(--muted); font-style: italic; }

.fbc-match-row { display: flex; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: center; border-left: 5px solid var(--muted); }
.fbc-match-row__date { width: 54px; flex-shrink: 0; text-align: center; }
.fbc-match-row__d { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy-800); text-transform: uppercase; }
.fbc-match-row__t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fbc-match-row__body { flex: 1; min-width: 0; }
.fbc-match-row__cat { font-family: var(--font-semi); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.fbc-match-row__teams { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy-800); line-height: 1.05; }
.fbc-match-row__ha { flex-shrink: 0; font-family: var(--font-semi); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

/* category left-border helpers */
.is-cat-green { border-left-color: var(--cat-green) !important; }
.is-cat-yellow { border-left-color: var(--cat-yellow) !important; }
.is-cat-blue { border-left-color: var(--cat-blue) !important; }
.is-cat-red { border-left-color: var(--cat-red) !important; }

/* =============================================================================
   PARTNERS
   ============================================================================= */
.fbc-partner {
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; text-align: center;
  min-width: 0; overflow: hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.fbc-partner:hover { box-shadow: var(--shadow-sm); border-color: #d4d9e0; }
.fbc-partner img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.fbc-partner span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 16px; color: #9099A8; line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }

/* =============================================================================
   ARTICLE / SINGLE POST
   ============================================================================= */
.fbc-article { max-width: 720px; margin: 0 auto; padding: 44px var(--gutter) 24px; }
.fbc-article__featured { max-width: 920px; margin: -28px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.fbc-article__featured-img { position: relative; aspect-ratio: 21/9; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); }
.fbc-article__featured-img img { width: 100%; height: 100%; object-fit: cover; }
.fbc-article .fbc-content { font-size: 17px; line-height: 1.75; color: var(--muted); }
.fbc-content > p { margin: 0 0 22px; }
.fbc-content > p:first-of-type { font-size: 20px; line-height: 1.6; color: var(--navy-800); font-weight: 500; }
.fbc-content h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; color: var(--navy-800); margin: 36px 0 16px; line-height: 1; letter-spacing: .5px; }
.fbc-content h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 23px; color: var(--navy-800); margin: 28px 0 12px; }
.fbc-content a { color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--gold); }
.fbc-content img { border-radius: var(--radius-md); margin: 24px 0; }
.fbc-content ul, .fbc-content ol { color: var(--ink); line-height: 1.7; }
.fbc-content blockquote { background: var(--paper); border-left: 6px solid var(--gold); border-radius: var(--radius-md); padding: 22px 26px; margin: 30px 0; color: var(--ink); }
.fbc-article__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); margin-top: 12px; }
.fbc-article__tags { display: flex; gap: 9px; flex-wrap: wrap; }
.fbc-article__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-on-brand-muted); }
.fbc-article__meta-item { display: flex; align-items: center; gap: 7px; }

/* =============================================================================
   FILTERS (news / teams / galleries)
   ============================================================================= */
.fbc-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.fbc-filter {
  font-family: var(--font-semi);
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .12s ease;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  text-decoration: none;
}
.fbc-filter:hover { border-color: var(--navy-800); }
.fbc-filter.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* =============================================================================
   PAGINATION
   ============================================================================= */
.fbc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.fbc-pagination .page-numbers {
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  text-decoration: none;
}
.fbc-pagination .page-numbers:hover { border-color: var(--navy-800); }
.fbc-pagination .page-numbers.current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.fbc-pagination .page-numbers.dots { border: none; background: transparent; }

/* =============================================================================
   DOCUMENTS
   ============================================================================= */
.fbc-doc-group { margin-bottom: 32px; }
.fbc-doc-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.fbc-doc {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.fbc-doc:first-child { border-top: none; }
.fbc-doc__icon {
  width: 46px; height: 54px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--navy-700);
}
.fbc-doc__type { font-family: var(--font-semi); font-weight: 700; font-size: 9px; letter-spacing: .5px; color: var(--cat-red); }
.fbc-doc__body { flex: 1; min-width: 200px; }
.fbc-doc__name { font-family: var(--font-semi); font-weight: 700; font-size: 17px; color: var(--navy-800); line-height: 1.2; }
.fbc-doc__meta { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* =============================================================================
   GALLERY GRID + LIGHTBOX
   ============================================================================= */
.fbc-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fbc-gallery-grid__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
}
.fbc-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.fbc-gallery-grid__item:hover img { transform: scale(1.04); }
.fbc-lightbox {
  position: fixed; inset: 0;
  background: rgba(14,26,48,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.fbc-lightbox.is-open { display: flex; }
.fbc-lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.fbc-lightbox__close, .fbc-lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff; border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fbc-lightbox__close { top: 20px; right: 20px; }
.fbc-lightbox__nav { top: 50%; transform: translateY(-50%); }
.fbc-lightbox__nav--prev { left: 20px; }
.fbc-lightbox__nav--next { right: 20px; }
.fbc-lightbox__close:hover, .fbc-lightbox__nav:hover { background: var(--gold); color: var(--navy-900); }

/* =============================================================================
   MATCHES (archive + single)
   ============================================================================= */
.fbc-match-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--muted);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 18px 22px; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  flex-wrap: wrap;
}
.fbc-match-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fbc-match-card__score { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--navy-800); }
.fbc-scoreboard {
  background: var(--navy-800); color: #fff;
  border-radius: var(--radius-md); border-left: 6px solid var(--gold);
  padding: 32px 36px; position: relative; overflow: hidden;
}
.fbc-scoreboard__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.fbc-scoreboard__team { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; }
.fbc-scoreboard__score { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--gold); text-align: center; font-variant-numeric: tabular-nums; }

/* =============================================================================
   SIDEBAR / WIDGETS
   ============================================================================= */
.fbc-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.fbc-sidebar .widget, .fbc-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 22px; }
.widget-title, .fbc-widget__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--navy-800); margin: 0 0 14px; letter-spacing: .5px; }
.fbc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fbc-table th, .fbc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.fbc-table th { font-family: var(--font-semi); text-transform: uppercase; font-size: 11px; letter-spacing: .6px; color: var(--muted); }

/* =============================================================================
   404
   ============================================================================= */
.fbc-404 { text-align: center; padding: 80px 0; }
.fbc-404__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(90px,18vw,180px); line-height: .9; color: var(--navy-800); }
.fbc-404__code span { color: var(--gold); }

/* =============================================================================
   UTILITIES
   ============================================================================= */
.fbc-stack { display: flex; flex-direction: column; }
.fbc-flex { display: flex; }
.fbc-mt-0 { margin-top: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =============================================================================
   CALENDAR (output of fbc_vitkov_calendar shortcode) — themed to tokens
   ============================================================================= */
.fbc-calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy-800); color: #fff; padding: 14px 20px; }
.calendar-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; margin: 0; }
.calendar-nav { background: rgba(255,255,255,.1); color: #fff; border: none; width: 38px; height: 38px; border-radius: var(--radius-sm); font-size: 20px; cursor: pointer; }
.calendar-nav:hover { background: var(--gold); color: var(--navy-900); }
.calendar-filters { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.filter-checkboxes { display: flex; gap: 16px; }
.filter-item { display: flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.filter-color, .legend-color { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.filter-color.event-training, .legend-color.event-training { background: var(--cat-blue); }
.filter-color.event-match, .legend-color.event-match { background: var(--cat-red); }
.filter-select { font-family: var(--font-body); padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ical-button { margin-left: auto; display: inline-flex; border: none; cursor: pointer; align-items: center; gap: 7px; background: var(--navy-800); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: var(--radius-pill); font-family: var(--font-semi); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.ical-button:hover { background: var(--gold); color: var(--navy-900); }
.ical-export-container { position: relative; margin-left: auto; }
.ical-export-container .ical-button { margin-left: 0; }
.ical-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 330px; max-width: calc(100vw - 32px); max-height: min(78vh, 640px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 32px rgba(10,22,45,.16); padding: 16px; }
.ical-menu__title { margin: 0 0 12px; font-family: var(--font-semi); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: var(--navy-800); }
.ical-field { margin-bottom: 12px; }
.ical-field__label { display: block; margin-bottom: 5px; font-size: 12px; font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.ical-field__select { width: 100%; font-family: var(--font-body); font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer; }
.ical-field.is-disabled { opacity: .45; pointer-events: none; }
.ical-segmented { display: flex; gap: 4px; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ical-segmented__item { flex: 1; position: relative; }
.ical-segmented__item input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ical-segmented__item span { display: block; padding: 6px 4px; text-align: center; border-radius: 4px; font-size: 12px; font-family: var(--font-semi); font-weight: 700; color: var(--muted); cursor: pointer; transition: background .12s ease, color .12s ease; }
.ical-segmented__item input:checked + span { background: var(--navy-800); color: #fff; }
.ical-segmented__item input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.ical-check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: var(--ink); cursor: pointer; }
.ical-check input { margin: 0; cursor: pointer; }
.ical-menu__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: 14px; }
.ical-menu__item:hover { background: var(--paper); color: var(--navy-800); }
.ical-menu__item i { width: 16px; text-align: center; color: var(--gold-600); }
.ical-menu__links { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.ical-menu__copy { display: flex; gap: 6px; margin-top: 4px; }
.ical-menu__url { flex: 1; min-width: 0; font-family: var(--font-body); font-size: 12px; padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); background: var(--paper); }
.ical-menu__copy-btn { flex: none; background: var(--navy-800); color: #fff; border: none; border-radius: var(--radius-sm); padding: 7px 11px; font-family: var(--font-semi); font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
.ical-menu__copy-btn:hover { background: var(--gold); color: var(--navy-900); }
.ical-menu__status { margin: 6px 0 0; min-height: 15px; font-size: 12px; line-height: 1.3; color: var(--gold-600); }
.ical-menu__status.is-error { color: #C0392B; }
.ical-menu__hint { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); background: var(--paper); }
.weekday { padding: 10px; text-align: center; font-family: var(--font-semi); font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); }
.calendar-day { min-height: 96px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; position: relative; }
.calendar-day.empty { background: #FBFCFD; }
.calendar-day.today { background: var(--gold-tint); }
.day-number { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 15px; }
.day-events { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.event { position: relative; font-size: 11px; padding: 3px 6px; border-radius: 4px; color: #fff; line-height: 1.2; overflow: hidden; }
.event.event-training { background: var(--cat-blue); }
.event.event-match { background: var(--cat-red); }
.event-time { font-weight: 700; margin-right: 4px; }
.event-link { position: absolute; inset: 0; }
.calendar-legend { display: flex; gap: 18px; padding: 14px 20px; border-top: 1px solid var(--line); }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.calendar-mobile-list { display: none; }
.mobile-day { border-bottom: 1px solid var(--line); padding: 12px 16px; }
.mobile-day-header { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--navy-800); }
.mobile-event { display: flex; gap: 8px; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: 14px; }
.mobile-event-time { font-weight: 700; color: var(--navy-800); }
.mobile-day-toggle { background: none; border: none; color: var(--gold-600); font-weight: 700; cursor: pointer; padding: 6px 0; }
.is-collapsed .mobile-event:nth-child(n+4) { display: none; }
.schedule-pdf-embed { margin-bottom: 32px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.schedule-pdf-embed iframe { display: block; border: 0; width: 100%; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 980px) {
  .fbc-hero__inner { grid-template-columns: 1fr; }
  .fbc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .fbc-grid--6 { grid-template-columns: repeat(4, 1fr); }
  .fbc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .fbc-nav__menu { display: none; }
  .fbc-nav__toggle { display: flex; }
  .fbc-nav__search { display: none; }
  .fbc-nav__member { display: none; }
  .fbc-nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    height: auto;
    background: var(--navy-800);
    padding: 8px 0 16px;
    border-bottom: 4px solid var(--gold);
    z-index: 49;
  }
  .fbc-nav__menu.is-open li { display: block; }
  .fbc-nav__menu.is-open a { height: auto; padding: 13px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
  /* Podmenu na mobilu: zobrazit staticky, odsazené */
  .fbc-nav__menu.is-open .sub-menu {
    position: static; display: block;
    background: rgba(0,0,0,.22);
    border-top: none; box-shadow: none; border-radius: 0;
    min-width: 0; padding: 0;
  }
  .fbc-nav__menu.is-open .sub-menu a { padding-left: calc(var(--gutter) + 16px); }
  .fbc-nav__menu .menu-item-has-children > a::after { margin-left: auto; }
  .fbc-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .calendar-grid { display: none; }
  .calendar-mobile-list { display: block; }
  .calendar-filters .ical-export-container { margin-left: 0; }
  .calendar-filters .ical-button { margin-left: 0; }
  .ical-menu { right: auto; left: 0; width: min(330px, calc(100vw - 32px)); max-height: 70vh; }
}
@media (max-width: 680px) {
  .fbc-section { padding: 44px 0; }
  .fbc-grid--3, .fbc-grid--2, .fbc-gallery-grid { grid-template-columns: 1fr; }
  .fbc-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .fbc-form__row { grid-template-columns: 1fr; }
  .fbc-heading { font-size: 28px; }
  .fbc-scoreboard__teams { grid-template-columns: 1fr; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .fbc-grid--6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fbc-partner { padding: 12px; }
  .fbc-partner span { font-size: 13px; }
}
