/* Styly sekce Instagram (/instagram/...) - nacita se jen na strankach teto sekce. Prevzato z prihlaseni-ig.cz */
/* ===== FAQ karty v obsahu clanku (nahrazuji 3-sloupcovy column-count layout) ===== */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 15px 0 25px 0;
}
.faq-box {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 220px;
  box-sizing: border-box;
  background-color: #fdf2f8;
  border: 1px solid #f1cfe4;
  border-left: 4px solid #C13584;
  border-radius: 4px;
  padding: 14px 16px;
}
.faq-box h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
  line-height: 1.3;
}
.faq-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
@media (max-width: 991px) {
  .faq-box {
    flex: 1 1 calc(50% - 14px);
  }
}
@media (max-width: 600px) {
  .faq-box {
    flex: 1 1 100%;
  }
}

/* ===== Maly uvodni "hero" banner pro clanky bez fotografie ===== */
.article-hero-banner {
  background: linear-gradient(135deg, #405DE6 0%, #833AB4 30%, #C13584 55%, #E1306C 75%, #F77737 100%);
  border-radius: 8px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.article-hero-banner svg {
  flex: none;
}
.article-hero-banner span {
  font-size: 1.05rem;
  font-weight: 600;
}

/* ===== Mini-kviz vlozeny primo v obsahu clanku ===== */
.mini-quiz {
  border: 1px solid #f1cfe4;
  border-radius: 8px;
  background: #fdf2f8;
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0;
}
.mini-quiz h4 {
  margin: 0 0 0.8rem 0;
  font-size: 1.1rem;
  color: #833AB4;
}
.mini-quiz p.mini-quiz-q {
  font-weight: 600;
  margin: 0.9rem 0 0.4rem 0;
}
.mini-quiz label {
  display: block;
  padding: 6px 0 6px 4px;
  cursor: pointer;
  font-size: 0.93rem;
}
.mini-quiz-btn {
  margin-top: 1rem;
  padding: 9px 20px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #833AB4 0%, #C13584 60%, #E1306C 100%);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.mini-quiz-btn:hover { opacity: 0.9; }
.mini-quiz-result {
  margin-top: 0.8rem;
  font-weight: 600;
}

/* ===== Interaktivni prvky v obsahu clanku (widgety) ===== */
.ig-widget {
  border: 1px solid #f1cfe4;
  border-radius: 8px;
  background: #fff;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(193,53,132,0.08);
}
.ig-widget h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.15rem;
  color: #833AB4;
}
.ig-widget .ig-widget-desc {
  color: #555;
  font-size: 0.92rem;
  margin: 0 0 1rem 0;
}

/* --- Kontrola sily hesla --- */
.ig-pwcheck input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.ig-pwcheck-bar-track {
  height: 10px;
  border-radius: 5px;
  background: #eee;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.ig-pwcheck-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 5px;
  transition: width 0.25s ease, background-color 0.25s ease;
  background: #e74c3c;
}
.ig-pwcheck-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.ig-pwcheck-tips {
  margin: 0.6rem 0 0 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: #666;
}
.ig-pwcheck-tips li.ok { color: #2ecc71; text-decoration: line-through; }

/* --- Checklist zabezpeceni --- */
.ig-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ig-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f3f3f3;
  cursor: pointer;
}
.ig-checklist li:last-child { border-bottom: none; }
.ig-checklist input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #C13584;
  flex: none;
}
.ig-checklist label {
  cursor: pointer;
  font-size: 0.95rem;
}
.ig-checklist li.checked label {
  color: #999;
  text-decoration: line-through;
}
.ig-checklist-score {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  background: #fdf2f8;
  font-weight: 600;
  text-align: center;
}

/* --- Kviz --- */
.ig-quiz-question { display: none; }
.ig-quiz-question.active { display: block; }
.ig-quiz-q-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.ig-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.ig-quiz-option {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
  font-size: 0.95rem;
}
.ig-quiz-option:hover { background: #fdf2f8; border-color: #C13584; }
.ig-quiz-option.correct { background: #e8f8ee; border-color: #2ecc71; }
.ig-quiz-option.wrong { background: #fdecea; border-color: #e74c3c; }
.ig-quiz-explain {
  font-size: 0.88rem;
  color: #555;
  margin-top: 0.6rem;
  display: none;
}
.ig-quiz-explain.show { display: block; }
.ig-quiz-progress {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 0.6rem;
}
.ig-quiz-result { display: none; text-align: center; }
.ig-quiz-result.show { display: block; }
.ig-quiz-result-score {
  font-size: 1.8rem;
  font-weight: 700;
  color: #C13584;
  margin: 0.4rem 0;
}
.ig-quiz-restart {
  margin-top: 0.8rem;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  background: #C13584;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}
.ig-quiz-restart:hover { background: #a62c70; }

/* prebiti globalnich stylu tlacitek (button) z less_screen.css */
.ig-quiz-options .ig-quiz-option {
  background: #fafafa !important;
  color: #222 !important;
  border: 1px solid #ddd !important;
  text-transform: none !important;
  font-weight: normal !important;
  box-shadow: none !important;
  width: 100%;
}
.ig-quiz-options .ig-quiz-option:hover { background: #fdf2f8 !important; border-color: #C13584 !important; }
.ig-quiz-options .ig-quiz-option.correct { background: #e8f8ee !important; border-color: #2ecc71 !important; }
.ig-quiz-options .ig-quiz-option.wrong { background: #fdecea !important; border-color: #e74c3c !important; }
