/* ============================================================
   Návod k členské sekci (navod-is.php)
   Barvy nastavujeme výslovně — odkazy i tlačítka jinak spadnou
   na modrou/fialovou výchozí podobu prohlížeče.
   ============================================================ */

.c-guide-intro {
  background: var(--c-gray-light);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.c-guide-intro__text {
  margin: 0;
  max-width: 640px;
  color: var(--c-black);
  line-height: 1.65;
}

.c-guide-intro__link { color: var(--c-red); font-weight: 700; }
.c-guide-intro__link:hover { color: var(--c-red-dark); }

.c-guide-intro__cta {
  display: inline-flex;
  align-items: center;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.c-guide-intro__cta:hover { background: var(--c-red-dark); color: var(--c-white); }

/* ---- Kroky ---- */
.c-guide {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide;
}

.c-guide__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--c-gray-mid);
}
.c-guide__step:first-child { border-top: 0; padding-top: 6px; }

.c-guide__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 12px;
}

.c-guide__title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--c-black);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.c-guide__text {
  color: var(--c-gray-text);
  line-height: 1.7;
  margin: 0 0 12px;
}
.c-guide__text strong { color: var(--c-black); }

.c-guide__list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--c-gray-text);
  line-height: 1.7;
}
.c-guide__list li { margin-bottom: 8px; }
.c-guide__list strong { color: var(--c-black); }

/* ---- Obrázky ---- */
.c-guide__figure { margin: 0; }

.c-guide__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--c-gray-mid);
  box-shadow: var(--shadow);
}

.c-guide__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  padding: 22px;
  text-align: center;
  border: 2px dashed var(--c-gray-mid);
  border-radius: var(--radius);
  background: var(--c-gray-light);
}

.c-guide__placeholder-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--c-gray-text);
}

.c-guide__placeholder-file {
  font-size: 0.8rem;
  color: var(--c-black);
  background: var(--c-white);
  border: 1px solid var(--c-gray-mid);
  border-radius: 4px;
  padding: 6px 10px;
  word-break: break-all;
}

/* ---- Pomoc na konci ---- */
.c-guide-help {
  margin-top: 36px;
  padding: 26px;
  background: var(--c-black);
  border-radius: var(--radius);
}

.c-guide-help__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0 0 8px;
}

.c-guide-help__text { color: var(--c-gray-mid); line-height: 1.7; margin: 0; }
.c-guide-help__text a { color: var(--c-red); font-weight: 700; }
.c-guide-help__text a:hover { color: var(--c-white); }

/* ---- Otazník vedle odkazu na IS v hlavičce ---- */
.c-header__is-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 4px;
  border-radius: 50%;
  /* Barvu nastavujeme výslovně — s color: inherit odkaz zdědil tmavou barvu
     dokumentu a na černé hlavičce nebyl vidět. */
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  flex: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.c-header__is-help:hover { background: var(--c-red); border-color: var(--c-red); color: var(--c-white); }

@media (max-width: 860px) {
  .c-guide__step { grid-template-columns: 1fr; gap: 18px; }
  .c-guide__title { font-size: 1.6rem; }
  .c-guide-intro { flex-direction: column; align-items: flex-start; }
}

/* ---- Odkaz do členské sekce na stránce mužstva (tym.php, jen mládež) ---- */
.c-member-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.c-member-cta__btn {
  display: inline-flex;
  align-items: center;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.c-member-cta__btn:hover { background: var(--c-red-dark); color: var(--c-white); }

.c-member-cta__link {
  color: var(--c-red);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.c-member-cta__link:hover { color: var(--c-black); text-decoration: underline; }
