/*
 * ════════════════════════════════════════════
 * ELITEBIKER.SK — Custom CSS pre Titan šablónu
 * Vložiť do: Admin → HTML kódy → Hlavička
 * Zabaliť do: <style> ... </style>
 * ════════════════════════════════════════════
 */

/* ──────────────────────────────────────────
   SKRYŤ: Carousel / Bannery / Články
   Skúša viacero selektorov — Titan + fallback
   ────────────────────────────────────────── */

/* Kariusel / hlavné bannery */
body.type-index .sliders,
body.type-index .hp-banners,
body.type-index .hp-banners-section,
body.type-index [data-hp-section="banners"],
body.type-index .banner-hp,
body.type-index .carousel-section {
  display: none !important;
}

/* Články / blog sekcia na homepage */
body.type-index .hp-articles,
body.type-index .articles-hp,
body.type-index .article-list-hp,
body.type-index .hp-section-articles,
body.type-index [data-hp-section="articles"] {
  display: none !important;
}

/* ──────────────────────────────────────────
   MANIFESTO STRIP
   Červená/farebná lišta pod navigáciou
   ────────────────────────────────────────── */
.eb-manifesto {
  display: flex;
  flex-wrap: wrap;
  background: var(--color-primary, #0433ff);
  border-radius: 10px;
  padding: 16px 24px;
  margin: 20px 0 28px;
  gap: 0;
}

.eb-manifesto-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  padding: 8px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.eb-manifesto-item:last-child {
  border-right: none;
}

.eb-manifesto-item .eb-m-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.eb-manifesto-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.eb-manifesto-item em {
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* ──────────────────────────────────────────
   RIDER TYPE FINDER
   Sekcia "Aký rider si ty?"
   ────────────────────────────────────────── */
.eb-finder {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin: 0 0 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.eb-finder-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.eb-finder-title span {
  color: var(--color-primary, #0433ff);
}

.eb-finder-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
}

.eb-rider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.eb-rider-btn {
  background: #f7f8fc;
  border: 1.5px solid #e0e4f0;
  border-radius: 10px;
  padding: 18px 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.eb-rider-btn:hover {
  border-color: var(--color-primary, #0433ff);
  background: rgba(4, 51, 255, 0.05);
  transform: translateY(-2px);
  text-decoration: none;
}

.eb-rider-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}

.eb-rider-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1e1e1e;
  display: block;
  margin-bottom: 3px;
}

.eb-rider-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  color: #aaa;
  display: block;
}

/* ──────────────────────────────────────────
   TÍM SEKCIA — Martin & Adam
   ────────────────────────────────────────── */
.eb-team {
  margin: 0 0 40px;
}

.eb-team-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: #1e1e1e;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.eb-team-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #999;
  text-align: center;
  margin: 0 0 22px;
}

.eb-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.eb-person {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eb-person-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #f0f2f8;
}

.eb-person-body {
  padding: 18px 20px;
}

.eb-person-name {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 3px;
}

.eb-person-role {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary, #0433ff);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.eb-person-quote {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--color-primary, #0433ff);
  padding-left: 12px;
  margin: 0 0 16px;
}

.eb-person-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f8fc;
  border: 1px solid #e0e4f0;
  border-radius: 6px;
  padding: 7px 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.18s, color 0.18s;
}

.eb-person-contact:hover {
  border-color: var(--color-primary, #0433ff);
  color: var(--color-primary, #0433ff);
  text-decoration: none;
}

/* ──────────────────────────────────────────
   FLOATING CHAT TLAČIDLO
   Fixné vpravo dole na všetkých stránkach
   ────────────────────────────────────────── */
.eb-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.eb-chat-bubble {
  background: #1e1e1e;
  color: #fff;
  padding: 9px 14px;
  border-radius: 16px 16px 4px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: ebSlideIn 0.4s ease 2s both;
}

.eb-chat-btn {
  width: 52px;
  height: 52px;
  background: var(--color-primary, #0433ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(4, 51, 255, 0.4);
  transition: transform 0.18s, box-shadow 0.18s;
}

.eb-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(4, 51, 255, 0.55);
}

@keyframes ebSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   MOBILE — RESPONZÍVNOSŤ
   ════════════════════════════════════════ */

@media (max-width: 900px) {
  .eb-team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eb-rider-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  /* Manifesto: 2 stĺpce */
  .eb-manifesto {
    padding: 12px 16px;
  }
  .eb-manifesto-item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
  }
  .eb-manifesto-item:last-child {
    border-bottom: none;
  }

  /* Tím: 1 stĺpec */
  .eb-team-grid {
    grid-template-columns: 1fr;
  }

  /* Rider finder: 2 stĺpce */
  .eb-rider-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .eb-finder {
    padding: 24px 16px;
  }

  /* Chat: skryj bublinu */
  .eb-chat-bubble {
    display: none;
  }
  .eb-chat-widget {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 420px) {
  /* Manifesto: 1 stĺpec */
  .eb-manifesto-item {
    flex: 1 1 100%;
  }

  .eb-person-photo {
    height: 180px;
  }

  .eb-rider-btn {
    padding: 12px 6px 10px;
  }

  .eb-rider-icon {
    font-size: 20px;
  }

  .eb-rider-label {
    font-size: 11px;
  }
}