/* Blog › prose: the article text in the white article panel (Arial 14/21, h2 22/32 bold, as the live article pages).
   This file is also the Blog frontends' shared stylesheet (contract §21: linked once, before the other blog frontends'
   CSS, on every page with one of them): the article text (.ci-btext), the post cards (index, home band, related,
   featured), the head of a list of cards (related, featured) and the caption under a code block, embed or gallery. */
.ci-blog-prose .ci-frame { padding: 64px var(--ci-pad); font-family: var(--ci-font-ui); color: var(--ve-color-text); }
/* Shared: the article text (prose, columns, callouts): .ci-btext. */
:where([data-section^="blog:"]) .ci-btext { font-size: 14px; line-height: 21px; overflow-wrap: break-word; }
:where([data-section^="blog:"]) .ci-btext :is(p, ul, ol, blockquote, hr) { margin: 0 0 14px; }
:where([data-section^="blog:"]) .ci-btext :is(ul, ol) { padding-left: 1.6em; }
:where([data-section^="blog:"]) .ci-btext li + li { margin-top: 4px; }
:where([data-section^="blog:"]) .ci-btext :is(h2, h3, h4) { color: var(--ve-color-text); font-family: var(--ci-font-ui); scroll-margin-top: 79px; }
:where([data-section^="blog:"]) .ci-btext h2 { margin: 0 0 22px; font-size: 22px; line-height: 32px; font-weight: 700; }
:where([data-section^="blog:"]) .ci-btext h3 { margin: 0 0 14px; font-size: 18px; line-height: 21.6px; font-weight: 600; }
:where([data-section^="blog:"]) .ci-btext h4 { margin: 0 0 14px; font-size: 16px; line-height: 19.2px; font-weight: 600; }
:where([data-section^="blog:"]) .ci-btext a { color: inherit; font-weight: 500; text-decoration: underline; }
:where([data-section^="blog:"]) .ci-btext strong { font-weight: 700; }
:where([data-section^="blog:"]) .ci-btext blockquote { padding-left: 16px; border-left: 3px solid var(--ve-color-line); font-style: italic; }
:where([data-section^="blog:"]) .ci-btext code { padding: 0 4px; border-radius: 3px; background: #f1f1f1; font-size: .9em; }
:where([data-section^="blog:"]) .ci-btext hr { border: 0; border-top: 1px solid var(--ve-color-line); }
@media (max-width: 576px) {
  :where([data-section^="blog:"]) .ci-btext { font-size: 12.5px; line-height: 18.75px; }
  :where([data-section^="blog:"]) .ci-btext :is(p, ul, ol, blockquote, hr) { margin-bottom: 12.5px; }
  :where([data-section^="blog:"]) .ci-btext h2 { margin-bottom: 16px; font-size: 16px; }
  :where([data-section^="blog:"]) .ci-btext h3 { font-size: 15px; }
}

/* Shared: a post card (the index's and the home band's): 2:1 picture, date, title, summary, "Contine Reading". The whole
   card opens the post (the title's link covers it). Open Sans on the home page; the index sets Arial. */
:where([data-section^="blog:"]) .ci-bcards { display: grid; grid-template-columns: 1fr; margin: 0; padding: 32px 0; list-style: none; }
:where([data-section^="blog:"]) .ci-bcard { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 8px; color: #1d1d1d; }
:where([data-section^="blog:"]) .ci-bcard:has(.ci-bcard__link:focus-visible) { outline: 2px solid var(--ci-red); outline-offset: -2px; }
:where([data-section^="blog:"]) .ci-bcard__img { display: block; aspect-ratio: 2 / 1; overflow: hidden; }
:where([data-section^="blog:"]) .ci-bcard__img img, :where([data-section^="blog:"]) .ci-bcard__img > picture > img { width: 100%; height: 100%; object-fit: contain; }
:where([data-section^="blog:"]) .ci-bcard__body { display: flex; flex-direction: column; flex: 1; padding: 23px 32px 32px 0; }
/* The site's date line has no height of its own: the title sits 16px below its middle. */
:where([data-section^="blog:"]) .ci-bcard__date { display: block; margin-bottom: 7px; font-size: 16px; line-height: 18px; font-weight: 400; color: var(--ve-color-text); }
:where([data-section^="blog:"]) .ci-bcard__title { margin: 0 0 14px; font-family: inherit; font-size: 14px; line-height: 16px; font-weight: 600; color: #1d1d1d; transition: color .2s; }
:where([data-section^="blog:"]) .ci-bcard__link { color: inherit; text-decoration: none; }
:where([data-section^="blog:"]) .ci-bcard__link:focus-visible { outline: none; }
:where([data-section^="blog:"]) .ci-bcard__link::after { content: ""; position: absolute; inset: 0; }
:where([data-section^="blog:"]) .ci-bcard__sum { display: block; margin: 0 0 12px; font-size: 12px; line-height: 14px; font-weight: 500; }
:where([data-section^="blog:"]) .ci-bcard__more { display: inline-flex; align-items: center; gap: 4px; margin: 0 -28px 12px auto; font-size: 12px; line-height: 23px; color: var(--ve-color-text); }
:where([data-section^="blog:"]) .ci-bcard__more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
:where([data-section^="blog:"]) .ci-bcard__tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 12px; line-height: 23px; }
:where([data-section^="blog:"]) .ci-bcard__tags a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ve-color-muted); }
:where([data-section^="blog:"]) .ci-bcard:hover .ci-bcard__title { color: #f79900; }
@media (min-width: 640px) { :where([data-section^="blog:"]) .ci-bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { :where([data-section^="blog:"]) .ci-bcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 576px) { :where([data-section^="blog:"]) .ci-bcard__date { font-size: 14px; margin-bottom: 5px; } }

/* Shared: two big cards a row (featured posts). */
@media (min-width: 640px) { :where([data-section^="blog:"]) .ci-bcards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; } }
:where([data-section^="blog:"]) .ci-bcards--two .ci-bcard__title { font-size: 18px; line-height: 23px; }
:where([data-section^="blog:"]) .ci-bcards--two .ci-bcard__sum { font-size: 14px; line-height: 21px; }

/* Shared: a list of cards' head (the heading, then the red "all topics" pill at the foot). */
:where([data-section^="blog:"]) .ci-blist .ci-frame { padding-block: 64px; }
:where([data-section^="blog:"]) .ci-blist__head { margin: 0; letter-spacing: -.03em; }
:where([data-section^="blog:"]) .ci-blist .ci-bcards { padding-bottom: 0; }
:where([data-section^="blog:"]) .ci-blist .ci-bcard { font-family: var(--ci-font-ui); }
:where([data-section^="blog:"]) .ci-blist__foot { display: flex; justify-content: center; margin: 40px 0 0; }
:where([data-section^="blog:"]) .ci-blist__foot .ci-btn { min-width: 240px; padding: 12px 20px; font-size: 16px; line-height: 23px; }

/* Shared: the caption under a code block, an embed or a gallery (as the figure's). */
:where([data-section^="blog:"]) .ci-bcap { margin: 8px 0 0; font: 14px/21px var(--ci-font-ui); color: var(--ve-color-muted); }

/* Shared: a card's authors (related, featured), when the post names any. */
:where([data-section^="blog:"]) .ci-bcard__by { display: block; margin: 0 0 10px; font-size: 12px; line-height: 14px; color: var(--ve-color-muted); }
/* Blog › latest posts: the home page's blog band: the big two-tone heading, the newest posts as cards (Open Sans) and the
   red "View all Knowledge Topics" pill. */
.ci-blog-latest .ci-frame { padding-block: 64px; }
.ci-blog-latest__eyebrow { margin-bottom: 16px; }
.ci-blog-latest .ci-blog-latest__head { margin-bottom: 30px; font-size: 40px; line-height: 46px; letter-spacing: -.03em; }
.ci-blog-latest__foot { display: flex; justify-content: center; margin: 52px 0 32px; }
.ci-blog-latest .ci-blog-latest__btn { min-width: 240px; min-height: 52px; padding: 12px 20px; font-size: 16px; line-height: 23px; }
@media (max-width: 767px) {
  .ci-blog-latest .ci-blog-latest__head { font-size: 32px; line-height: 35.2px; }
  .ci-blog-latest .ci-frame { padding-inline: 24px; }
}
