/* The journal's reading pages: pixel framing, quiet paper, original full images. */
.yd-blog-article { width: min(100%, 820px); margin-inline: auto; min-width: 0; overflow-wrap: anywhere; }
.yd-article-document .yd-document-main { max-width: 1020px; }
.yd-document .yd-blog-article { width: min(100%, 920px); padding: clamp(20px, 5vw, 54px); }
.yd-article-document .yd-document-bar { background: #f2dfad; }
.yd-article-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.yd-home .yd-article-nav .yd-page-back { margin: 0; }
.yd-home .yd-article-page-link { font: 500 .85rem/1.5 var(--yd-pixel); text-decoration: underline; text-underline-offset: 4px; padding-block: 12px; }
.yd-document .yd-article-page-link { display: none; }
.yd-article-header { padding-bottom: 26px; }
.yd-home .yd-article-header .yd-eyebrow { color: #785b85; font-size: .77rem; letter-spacing: .065em; margin-bottom: 17px; }
.yd-article-header .yd-eyebrow span { padding-inline: 6px; color: #b29160; }
.yd-home .yd-article-header :is(h1, h2) { font: 600 clamp(2rem, 4.3vw, 3.4rem)/1.12 var(--yd-pixel); letter-spacing: -.025em; text-wrap: balance; margin: 0 0 21px; }
.yd-home .yd-article-meta { color: #6e5b77; font-size: .79rem; line-height: 1.8; }
.yd-article-meta > span { display: inline; }
.yd-article-meta > span:nth-child(2) { padding-inline: 7px; color: #a78caf; }
.yd-home .yd-article-byline { margin-top: 12px; font-size: .82rem; color: #735f7c; }
.yd-article-byline > span { margin-inline: 8px; }
.yd-home .yd-blog-article img { height: auto; object-fit: contain; border-radius: 0; transform: none; }
.yd-home .yd-article-hero { width: 100%; border: 2px solid #ad94bb; padding: 7px; background: #fffdf5; box-shadow: 4px 4px 0 #d9c8df; margin: 0 0 34px; }
.yd-article-body { font-size: 1rem; line-height: 1.85; color: #4f4259; }
.yd-home .yd-article-body p { margin: 0 0 1.35em; }
.yd-home .yd-article-body :is(h2, h3, h4, h5) { font-family: var(--yd-pixel); font-weight: 600; line-height: 1.3; color: #594363; margin: 1.65em 0 .65em; scroll-margin-top: 22px; }
.yd-home .yd-article-body :is(h2, h3) { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.yd-home .yd-article-body :is(h4, h5) { font-size: 1.3rem; }
.yd-article-body > :first-child { margin-top: 0; }
.yd-home .yd-article-body em { font-style: italic; color: inherit; }
.yd-article-body :is(ul, ol) { margin: 0 0 1.5em; padding-left: 1.65em; }
.yd-article-body ul { list-style-type: square; }
.yd-article-body li { margin-block: .5em; padding-left: .2em; }
.yd-article-body li::marker { color: #94719e; }
.yd-article-body li :is(ol, ul) { margin-top: .65em; margin-bottom: .8em; }
.yd-home .yd-article-body a, .yd-home .yd-article-outline a { color: #744587; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.yd-home .yd-article-body a:hover, .yd-home .yd-article-outline a:hover { color: #392045; text-decoration-thickness: 2px; }
.yd-home .yd-article-body .yd-article-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 9px 18px; border: 2px solid #9772a3; background: #ece0f2; box-shadow: 3px 3px 0 #d0bbda; margin-block: 8px; font: 500 1rem/1.5 var(--yd-pixel); }
.yd-article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 20px 0 30px; }
.yd-article-postscript { padding-top: 20px; margin-top: 24px; border-top: 1px dashed #cbb6d2; }
.yd-article-body figure { margin: 28px 0; }
.yd-home .yd-article-body img { max-width: 100%; margin-inline: auto; border: 1px solid #c9b4d1; background: #fff; }
.yd-home .yd-article-body .yd-article-image-small { max-width: min(100%, 350px); }
.yd-article-body figcaption { margin-top: 10px; text-align: center; font-size: .82rem; color: #75627d; line-height: 1.6; }
.yd-article-video { margin-block: 28px; border: 2px solid #b49abd; padding: 8px; background: #f0e7f2; }
.yd-article-video video { display: block; width: 100%; max-width: 100%; height: auto; background: #31243d; border-radius: 0; }
.yd-home .yd-article-video .yd-video-download { margin: 7px 0 0; padding: 6px; font-size: .83rem; text-align: center; }
.yd-article-outline { margin: 0 0 30px; border: 2px solid #c2a568; background: #fbefcf; }
.yd-article-outline summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; cursor: pointer; font: 500 1.1rem/1.4 var(--yd-pixel); list-style: none; }
.yd-article-outline summary::-webkit-details-marker { display: none; }
.yd-article-outline summary > span { font-size: 1.5rem; line-height: 1; }
.yd-article-outline[open] summary > span { transform: rotate(45deg); }
.yd-article-outline[open] summary { border-bottom: 1px dashed #c5a86e; }
.yd-article-outline nav { position: static; background: transparent; backdrop-filter: none; border: 0; box-shadow: none; padding: 13px 20px 18px; width: auto; }
.yd-article-outline ol { margin: 0; padding-left: 1.3em; font-size: .88rem; line-height: 1.65; }
.yd-article-outline li { padding-left: .3em; margin: 0; }
.yd-article-outline a { display: inline-block; padding-block: 6px; }
.yd-article-body :not(pre) > code { font: .87em/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; background: #eee3f1; padding: .12em .3em; color: #624273; }
.yd-code-block { border: 2px solid #a58aac; margin: 25px 0 30px; background: #f2eaf5; box-shadow: 3px 3px 0 #dfd0e3; min-width: 0; }
.yd-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; background: #e5d5ed; border-bottom: 1px solid #b49abd; font: 500 .78rem/1.5 var(--yd-pixel); }
.yd-home .yd-code-bar button { min-height: 44px; font-size: .8rem; }
.yd-code-block pre { margin: 0; padding: 20px; overflow: auto; max-height: 520px; white-space: pre; tab-size: 2; scrollbar-color: #aa8bb7 #eee3f2; }
.yd-code-block pre code { font: .81rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #51385e; white-space: pre; overflow-wrap: normal; word-break: normal; }
.yd-home .yd-code-block .yd-code-status { font-size: .79rem; color: #634771; line-height: 1.5; margin: 0; padding: 0 16px; }
.yd-home .yd-code-block .yd-code-status:not(:empty) { padding-block: 10px; border-top: 1px solid #c8b3d1; }
.yd-article-table { max-width: 100%; overflow-x: auto; margin-block: 24px; border: 2px solid #b59bc0; }
.yd-article-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .88rem; line-height: 1.7; }
.yd-article-table :is(th, td) { text-align: left; padding: 13px 15px; vertical-align: top; border-bottom: 1px solid #d6c5df; }
.yd-article-table th { background: #e9dcee; color: #5a3f6a; }
.yd-article-table tr:nth-child(even) td { background: #f7eef7; }
.yd-article-table :is(th, td):nth-child(2) { text-align: center; }
.yd-article-table--comparison table { min-width: 680px; }
.yd-article-table--comparison :is(th, td):nth-child(2) { text-align: left; }
.yd-article-table--comparison thead th:first-child { width: 26%; }
.yd-article-table--comparison thead th:not(:first-child) { width: 37%; }
.yd-article-table--comparison tbody th { background: transparent; font-weight: 600; }
.yd-article-table--comparison tbody tr:nth-child(even) th { background: #f7eef7; }
.yd-blog-article :is(pre, .yd-article-table):focus-visible { outline: 3px solid #583177; outline-offset: 4px; }
.yd-home .yd-article-footer { margin-top: 40px; padding: 25px 0 0; border-top: 2px dashed #cbb6d2; background: transparent; text-align: center; box-shadow: none; }
.yd-article-footer > span { font-size: 1.7rem; color: #a47f43; }
.yd-home .yd-article-footer p { font: 500 1.15rem/1.5 var(--yd-pixel); margin: 10px 0 20px; }
.yd-article-footer > div { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 25px; }
@media (max-width: 600px) {
  .yd-document .yd-blog-article { padding: 20px 16px 28px; }
  .yd-article-body { font-size: .95rem; line-height: 1.85; }
  .yd-home .yd-article-header :is(h1, h2) { font-size: 2.05rem; }
  .yd-article-meta > span { display: block; }
  .yd-article-meta > span:nth-child(2) { display: none; }
  .yd-article-outline nav { padding-inline: 15px; }
  .yd-code-block pre { padding: 15px; max-height: 440px; }
  .yd-home .yd-article-hero { padding: 4px; margin-bottom: 28px; }
  .yd-article-nav { gap: 10px; }
  .yd-home .yd-article-page-link, .yd-home .yd-article-nav .yd-page-back { font-size: .8rem; }
}
@media print {
  .yd-article-nav, .yd-article-footer, .yd-code-bar button { display: none !important; }
  .yd-code-block pre { max-height: none; white-space: pre-wrap; overflow: visible; }
  .yd-code-block pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .yd-article-table { overflow: visible; }
  .yd-article-table table { min-width: 0; }
  .yd-blog-article { width: 100%; }
}

/* Keep the historical tutorial intact while identifying its newer implementation. */
.yd-article-update { margin: 25px 0; padding: 20px 22px; border: 2px solid #b59cc3; background: #eee6f4; }
.yd-home .yd-article-update p { font-size: .9rem; line-height: 1.75; margin: 0 0 10px; color: #5d4769; }
.yd-home .yd-article-update p:last-child { margin-bottom: 0; }
.yd-article-update a { text-decoration: underline; text-underline-offset: 4px; }
