/* ITF — Article page (post.html), loaded after blog.css. Same cards, colours and sidebar as the blog. */

.pt-body { padding-top: 22px; }
.pt-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #6b7a90; }
.pt-crumbs a:hover { color: #1260c9; }
.pt-crumbs .ic { font-size: 12px; opacity: .6; }
.pt-crumbs a:last-child { color: var(--bl-navy); font-weight: 600; }
.pt-body .bl-layout { margin-top: 16px; }

.pt-article { position: relative; padding: 30px 36px 28px; border-radius: 12px; background: #fff; border: 1px solid #edf2f8; box-shadow: 0 10px 26px rgba(20, 60, 120, .06); }
.pt-article[aria-busy="true"] { min-height: 420px; }
.pt-cat { position: static; display: inline-block; border-radius: 6px; background: #eaf4ff; color: #1260c9; }
.pt-article h1 { margin-top: 14px; font-family: var(--head); font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--bl-navy); }
.pt-meta { justify-content: flex-start; gap: 18px; padding-top: 14px; }
.pt-cover { margin: 22px 0 6px; border-radius: 10px; overflow: hidden; background: #061633; }
.pt-cover img { display: block; width: 100%; max-height: 460px; object-fit: cover; }

/* Article text written in the admin editor */
.pt-content { margin-top: 18px; font-size: 16px; line-height: 1.75; color: #24324a; overflow-wrap: break-word; }
.pt-content > * + * { margin-top: 14px; }
.pt-content h2, .pt-content h3, .pt-content h4 { font-family: var(--head); font-weight: 800; line-height: 1.3; color: var(--bl-navy); }
.pt-content h2 { margin-top: 30px; font-size: 26px; }
.pt-content h3 { margin-top: 26px; font-size: 21px; }
.pt-content h4 { margin-top: 22px; font-size: 17.5px; }
.pt-content a { color: #1260c9; text-decoration: underline; text-underline-offset: 2px; }
.pt-content ul, .pt-content ol { padding-left: 24px; }
.pt-content ul { list-style: disc; }
.pt-content ol { list-style: decimal; }
.pt-content li + li { margin-top: 6px; }
.pt-content li > p { margin: 0; }
.pt-content .pc-li { position: relative; padding-left: 20px; }
.pt-content .pc-li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: #1688f3; }
.pt-content blockquote { margin-left: 0; padding: 14px 18px; border-left: 4px solid #1688f3; border-radius: 0 8px 8px 0; background: #f2f8ff; color: #33415a; }
.pt-content blockquote > * + * { margin-top: 8px; }
.pt-content strong { color: var(--bl-navy); }
.pt-content .pc-figure { margin: 22px 0; }
.pt-content .pc-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.pt-content figcaption { margin-top: 8px; font-size: 13px; text-align: center; color: #6b7a90; }
.pt-content .pc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.pt-content .pc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pt-content .pc-cols { display: flex; gap: 20px; }
.pt-content .pc-col { flex: 1; min-width: 0; }
.pt-content .pc-col > * + * { margin-top: 12px; }
.pt-content .pc-table { overflow-x: auto; }
.pt-content table { border-collapse: collapse; font-size: 14.5px; }
.pt-content td, .pt-content th { padding: 8px 12px; border: 1px solid #dfe8f2; }
.pt-content th { background: #f2f8ff; font-weight: 700; color: var(--bl-navy); }
.pt-content td > p, .pt-content th > p { margin: 0; }

.pt-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--bl-line); font-size: 13.5px; font-weight: 600; color: var(--bl-navy); }
.pt-share span { margin-right: 4px; }
.pt-share a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eaf4ff; color: #1260c9; font-size: 16px; transition: background .2s, color .2s; }
.pt-share a:hover { background: #1688f3; color: #fff; }
.pt-share button { height: 36px; padding: 0 14px; border: 1px solid var(--bl-line); border-radius: 18px; background: #fff; font-size: 13px; font-weight: 600; color: #33415a; cursor: pointer; }
.pt-share button:hover { border-color: #b7d4f3; color: #1260c9; }

.pt-missing { padding: 60px 30px; border-radius: 12px; background: #fff; border: 1px solid #edf2f8; text-align: center; }
.pt-missing h1 { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--bl-navy); }
.pt-missing p { margin: 10px 0 22px; color: var(--bl-text); }

.pt-related { margin-top: 28px; }
.pt-related h2 { margin-bottom: 14px; font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--bl-navy); }

/* Category links in the sidebar look like the blog's category buttons */
.pt-body .cat-list a { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 2px; font-size: 13.5px; color: #33415a; transition: color .2s; }
.pt-body .cat-list a:hover, .pt-body .cat-list a.active { color: #1260c9; }
.pt-body .cat-list a.active { font-weight: 600; }

@media (max-width: 760px) {
  .pt-article { padding: 20px 16px; }
  .pt-article h1 { font-size: 26px; }
  .pt-meta { flex-wrap: wrap; gap: 10px 14px; }
  .pt-content { font-size: 15.5px; }
  .pt-content h2 { font-size: 22px; }
  .pt-content .pc-cols { flex-direction: column; }
}
