/* Palomino general article overrides
 *
 * Loaded by the K2 t-articles item override.
 * Keep selectors scoped to .articles where possible.
 */

.articles .itemTitle {
  margin: 0 0 32px;
  text-align: left;
}

.articles .itemIntroText h3,
.articles .itemFullText h3,
.articles .articleNotes h3,
.articles .articleCodeSnippets h3 {
  color: #303438;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 18px;
  text-align: left;
}

.articles .itemIntroText ul,
.articles .itemIntroText ol,
.articles .itemFullText ul,
.articles .itemFullText ol,
.articles .articleNotes ul,
.articles .articleNotes ol,
.articles .articleCodeSnippets ul,
.articles .articleCodeSnippets ol {
  clear: both;
  list-style-position: outside;
  margin: 0 0 24px;
  padding-left: 1.5rem;
}

.articles .itemIntroText li,
.articles .itemFullText li,
.articles .articleNotes li,
.articles .articleCodeSnippets li {
  display: list-item;
  float: none;
  line-height: 1.55;
  margin: 0 0 4px;
  padding-left: 4px;
  width: auto;
}

.articleNewsletter {
  padding-bottom: 24px;
  padding-top: 24px;
}

.articles .newsletterSignup a {
  align-items: center;
  background-color: #198754;
  border: 1px solid #198754;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 1.25rem;
  gap: 8px;
  line-height: 1.2;
  padding: 12px 16px;
  text-decoration: none;
}

.articles .newsletterSignup a:hover,
.articles .newsletterSignup a:focus {
  background-color: #146c43;
  border-color: #13653f;
  color: #fff;
  text-decoration: none;
}

.articles .newsletterSignup a:focus-visible {
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@media (max-width: 575.98px) {
  .articles .itemTitle {
    margin-bottom: 24px;
  }

  .articles .newsletterSignup a {
    justify-content: center;
    width: 100%;
  }
}