/*
 * goCaboVerde.pl - article content components
 * Klasy są nadawane wyłącznie w runtime przez article-components.js.
 * HTML zapisany w bazie pozostaje bez klas CSS.
 */

#tresc .article-callout {
  margin: 30px 0;
  padding: 18px 22px;
  border-left: 4px solid;
  border-radius: 8px;
  line-height: 1.6;
}

#tresc .article-callout--summary {
  background: #f8f9fa;
  border-left-color: #e0b04f;
}

#tresc .article-callout--info {
  background: #eef6ff;
  border-left-color: #4f8edc;
}

#tresc .article-callout--warning {
  background: #fff4ef;
  border-left-color: #d86a43;
}

#tresc .article-callout--note {
  background: #fff8e8;
  border-left-color: #d5a23d;
}

#tresc .article-callout__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: #122e44;
}

#tresc .article-callout__title strong {
  color: inherit;
}

#tresc .article-callout__content {
  margin-top: 0;
}

#tresc .article-callout__content:last-child {
  margin-bottom: 0;
}

#tresc .article-callout ul,
#tresc .article-callout ol {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 22px;
}

#tresc .article-callout li {
  display: list-item;
}

#tresc .article-callout li + li {
  margin-top: 6px;
}

/* FAQ */
#tresc .article-section-heading--faq {
  margin-top: 46px;
}

#tresc .article-faq-question {
  position: relative;
  margin-top: 20px;
  padding: 16px 18px 8px 46px;
  border: 1px solid #e6e9ed;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8f9fa;
  font-weight: 600;
  color: #122e44;
}

#tresc .article-faq-question::before {
  content: '?';
  position: absolute;
  left: 16px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff830a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

#tresc .article-faq-answer {
  margin-top: 0;
  padding: 4px 18px 16px 46px;
  border-right: 1px solid #e6e9ed;
  border-left: 1px solid #e6e9ed;
  background: #fff;
}

#tresc .article-faq-answer--last {
  border-bottom: 1px solid #e6e9ed;
  border-radius: 0 0 8px 8px;
}

/* Źródła */
#tresc .article-section-heading--sources {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid #e5e7ea;
}

#tresc .article-sources-content {
  font-size: 14px;
  line-height: 1.65;
  color: #686b73;
}

#tresc ul.article-sources-content,
#tresc ol.article-sources-content {
  padding-left: 22px;
}

#tresc .article-sources-content a {
  overflow-wrap: anywhere;
}

/* Przykłady - tylko delikatny znacznik, bez robienia kolejnych ciężkich boxów */
#tresc .article-example-heading {
  padding-left: 14px;
  border-left: 3px solid #e0b04f;
}

/* Podsumowanie */
#tresc .article-section-heading--closing {
  margin-top: 42px;
}

@media (max-width: 767.98px) {
  #tresc .article-callout {
    margin: 24px 0;
    padding: 16px 17px;
    border-radius: 7px;
  }

  #tresc .article-callout__title {
    font-size: 17px;
  }

  #tresc .article-faq-question {
    padding: 14px 14px 7px 42px;
  }

  #tresc .article-faq-question::before {
    left: 13px;
    top: 12px;
  }

  #tresc .article-faq-answer {
    padding: 4px 14px 14px 42px;
  }
}
