/* Image Upload API blog. Loads after site.css and reuses its tokens, buttons, header and footer.
   Minimal: white surfaces and hairlines in place of bands and shadows. Color marks links, labels and the one call to action.
   Post bodies use the block editor's own classes (wp-block-*), so these rules style real WordPress output. */

:root { --surface: #F5F7FA; --hair: #E8EBEF; --header-h: 76px; }

/* Shared pieces */
.nav-links a[aria-current="true"] { color: var(--blue); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #B8B2B2; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }
.topic-label { font-size: 13px; font-weight: 600; color: var(--blue); }
.avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: 11.5px; font-weight: 600; line-height: 1; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 22px; }
.section-head a { font-size: 14px; font-weight: 500; }
.blog-section { padding: 48px 0; }
.blog-section--feature { padding-top: 40px; padding-bottom: 16px; }
main > .blog-section:last-child { padding-bottom: 104px; }
.foot-grid .foot-h { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.fs-badge { box-shadow: none; background: #fff; }

/* Masthead: a title line and search, so the posts start high on the page */
.masthead { padding: 44px 0 26px; }
.masthead-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.masthead h1 { font-size: clamp(28px, 3.1vw, 38px); letter-spacing: -.02em; margin: 0 0 8px; }
.masthead p { margin: 0; max-width: 640px; font-size: 15.5px; color: var(--muted); }
.masthead--hub { padding-bottom: 30px; }
.masthead--blog { padding: 32px 0 18px; }
.hub-title { display: flex; align-items: center; gap: 16px; }
.hub-title svg { width: 52px; height: 52px; flex: none; }
.hub-title h1 { margin: 0; }
.masthead .masthead-intro { max-width: 780px; margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--text); }

.blog-search { position: relative; flex: 0 1 380px; }
.blog-search input {
  width: 100%; height: 54px; padding: 0 116px 0 50px; border: 1px solid var(--line); border-radius: 54px; background: #fff; box-shadow: var(--shadow);
  font: 400 15px/1 Poppins, "Poppins Fallback", sans-serif; color: var(--ink); transition: box-shadow .15s, border-color .15s;
}
.blog-search input::placeholder { color: var(--muted); }
.blog-search input:hover { border-color: #C9D8F2; }
.blog-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.blog-search input::-webkit-search-cancel-button { display: none; }
.blog-search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.blog-search .btn { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 22px; font-size: 14px; }
.blog-search .btn:hover { transform: none; }
@media (max-width: 760px) { .blog-search { flex-basis: 100%; } }

/* Topic filter: icon pills beside the feed heading */
.section-head:has(.topic-filter) { align-items: center; gap: 16px 24px; }
.topic-filter { min-width: 0; max-width: 100%; }
.topic-filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic-filter a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 4px 13px 4px 4px; border: 1px solid var(--line); border-radius: 40px;
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--text); transition: border-color .15s, background .15s, color .15s; }
.topic-filter svg { flex: none; width: 26px; height: 26px; }
.topic-filter a:hover { text-decoration: none; border-color: #C9D8F2; color: var(--ink); }
.topic-filter a[aria-current] { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }
.topic-filter a[aria-current] svg rect:first-child { fill: #fff; }
.topic-filter .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic-filter a[aria-current] .n { color: var(--blue); }
@media (max-width: 760px) {
  .topic-filter ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .topic-filter ul::-webkit-scrollbar { display: none; }
}

/* Post cards: photo first, text on the page, the title carries the link for the whole card */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; list-style: none; margin: 0; padding: 0; }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface); }
.post-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .06); pointer-events: none; }
.post-media picture, .post-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .post-media img, .post-card:hover .cover svg { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 18px 2px 0; }
.post-card h2, .post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 6px 0 8px; text-wrap: pretty; }
.post-card h2 a, .post-card h3 a { color: var(--ink); transition: color .15s; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.post-card:hover h2 a, .post-card:hover h3 a { color: var(--blue); text-decoration: none; }
.post-card a:focus-visible { outline: none; }
.post-card a:focus-visible::after { outline: 3px solid var(--blue-light); outline-offset: 6px; }
.post-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; font-size: 13px; color: var(--muted); }
.post-meta > * { white-space: nowrap; }
.post-meta .dot { color: #C9C3C3; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Cover for posts without a featured image: the topic's tint and icon */
.cover { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tint, var(--blue-tint)); }
.cover svg { width: 76px; height: 76px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cover svg rect:first-child { fill: #fff; }

/* Featured post: the cover framed on a wide band in the topic's tint, then a white panel over the band's bottom edge */
.blog-section--lead { padding-top: 28px; padding-bottom: 0; }
.post-card--lead { display: block; height: auto; }
.post-card--lead .post-media { display: flex; justify-content: center; aspect-ratio: auto; padding: 32px 24px 72px; border-radius: 20px;
  background: radial-gradient(circle, rgba(0, 82, 204, .13) 1.3px, transparent 1.8px) 0 0 / 20px 20px, var(--tint, var(--blue-tint)); }
/* WordPress outputs a bare <img>, the mockup a <picture>: both get the frame */
.post-card--lead .post-media > picture, .post-card--lead .post-media > img { width: min(520px, 100%); height: auto; aspect-ratio: 1200 / 630; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, .14), 0 0 0 1px rgba(17, 24, 39, .05); }
.post-card--lead .post-media > picture { overflow: hidden; }
.post-card--lead .post-media > picture img, .post-card--lead .post-media > img { object-fit: cover; }
.post-card--lead .post-media > picture img { width: 100%; height: 100%; }
.post-card--lead:hover .post-media > img { transform: scale(1.02); }
.post-card--lead .post-media .cover { border-radius: 14px; }
.post-card--lead .post-body { position: relative; z-index: 1; max-width: 760px; margin: -44px 0 0 40px; padding: 24px 30px 22px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.post-card--lead:hover .post-body { box-shadow: var(--shadow-hover); }
.feature-tag { position: absolute; left: 20px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 40px;
  background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(17, 24, 39, .08); }
.feature-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.post-card--lead h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; margin: 0 0 12px; }
.post-card--lead h2 a::after { border-radius: 20px; }
.post-card--lead p { font-size: 15.5px; -webkit-line-clamp: 2; margin-bottom: 14px; }
.post-card--lead .post-meta { margin-top: 0; }
@media (max-width: 760px) {
  .post-card--lead .post-media { padding: 52px 16px 44px; border-radius: 16px; }
  .feature-tag { left: 16px; top: 14px; }
  .post-card--lead .post-body { margin: -28px 12px 0; padding: 20px 20px 18px; }
}

/* Filestack strip, one row of the feed */
.post-grid > .feed-cta { grid-column: 1 / -1; }
.cta-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: 20px; background: #FFF6F3; }
.cta-strip h3 { font-size: 16.5px; margin: 0 0 4px; }
.cta-strip p { margin: 0; font-size: 14px; color: var(--text); }
.cta-strip .fs-badge, .cta-panel .fs-badge { width: 48px; height: 48px; border-radius: 12px; }
.cta-strip .btn-row { flex-wrap: nowrap; }
@media (max-width: 900px) { .cta-strip { grid-template-columns: 1fr; gap: 16px; padding: 24px; } .cta-strip .btn-row { flex-wrap: wrap; } }

/* Pager: plain links for crawlers, a meter for how much of the archive is on screen */
.pager { display: grid; justify-items: center; gap: 12px; margin-top: 72px; text-align: center; }
.pager-count { margin: 0; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pager-meter { position: relative; width: 240px; height: 4px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.pager-meter span { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--blue); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.pager-links { display: flex; gap: 10px; margin-top: 6px; }
.pager-links:empty { display: none; }
.pager-loading { display: none; align-items: center; gap: 10px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.pager-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 82, 204, .2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.pager.is-loading .pager-links { display: none; }
.pager.is-loading .pager-loading { display: inline-flex; }
.post-grid > li.is-new { animation: feed-in .5s ease-out both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Reading progress: a hairline under the header that fills as the article is read */
.read-progress { position: fixed; top: var(--header-h); left: 0; right: 0; height: 3px; z-index: 51; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }

/* Article header */
.article-head { padding: 40px 0 0; }
.article-head h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.18; letter-spacing: -.02em; max-width: 920px; text-wrap: balance; margin: 0 0 16px; }
.article-dek { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 13.5px; color: var(--muted); }
.byline-author { display: flex; align-items: center; gap: 12px; }
.byline-author .avatar { width: 40px; height: 40px; font-size: 14px; }
.byline-author strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.35; }
.byline-author a { color: var(--ink); }
.byline-author .who > span { display: block; line-height: 1.35; }
.byline-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.byline-facts li { display: inline-flex; align-items: center; gap: 7px; }
.byline-facts svg { width: 15px; height: 15px; color: #9A9494; }
.article-hero { position: relative; margin: 36px 0 0; }
.article-hero img { width: 100%; height: auto; border-radius: 20px; }
.article-hero::after { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .07); pointer-events: none; }

/* Article body: prose column with a sticky contents rail on the right */
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 248px; justify-content: space-between; gap: 64px; padding: 56px 0 88px; }
.article-rail { grid-column: 2; grid-row: 1; }
.article-main { grid-column: 1; grid-row: 1; min-width: 0; }
.rail-sticky { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 24px; }
.toc { border-left: 2px solid var(--hair); }
.toc summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 0 10px 16px; font-size: 13px; font-weight: 600; color: var(--ink); pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc-left { font-size: 12px; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; margin-left: -2px; padding: 5px 0 5px 16px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--muted); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); }
.rail-card { border: 1px solid var(--hair); border-radius: 16px; padding: 20px; }
.rail-card strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14.5px; margin-bottom: 6px; }
.rail-card p { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.rail-card .btn { width: 100%; }
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 760px; margin-inline: auto; padding-top: 36px; }
  .article-rail, .article-main { grid-column: 1; grid-row: auto; }
  .rail-sticky { position: static; }
  .rail-card { display: none; }
  .toc { border: 1px solid var(--hair); border-radius: 14px; padding: 14px 18px; }
  .toc summary { pointer-events: auto; cursor: pointer; padding: 0; }
  .toc summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin: 0 4px 0 auto; align-self: center; }
  .toc-left { margin-left: auto; }
  .toc[open] summary { margin-bottom: 8px; }
  .toc[open] summary::after { transform: rotate(-135deg); }
  .toc a { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* Prose: every block the editor can produce */
.prose { font-size: 17px; line-height: 1.8; color: var(--text); }
.prose > * { margin-top: 0; margin-bottom: 1.25em; }
.prose h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.01em; margin: 2.1em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 19px; font-weight: 700; margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 + h3 { margin-top: 1em; }
.prose a:not([class]) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(0, 82, 204, .35); transition: text-decoration-color .15s; }
.prose a:not([class]):hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose code { font: .85em var(--mono); background: var(--surface); border-radius: 5px; padding: 2px 6px; color: #2F2A3A; overflow-wrap: anywhere; }
.prose figure { margin: 2.2em 0; }
.prose .wp-block-image img { border-radius: 14px; }
.prose .wp-block-image.aligncenter img, .prose .wp-block-image.size-medium img { margin-inline: auto; }
.prose figcaption, .prose .wp-element-caption { font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: center; margin-top: 12px; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--hair); margin: 2.6em 0; }
.prose blockquote, .prose .wp-block-quote { margin: 2.2em 0; padding: 2px 0 2px 24px; border-left: 3px solid var(--blue); font-size: 19px; line-height: 1.6; color: var(--ink); }
.prose blockquote p:last-of-type { margin-bottom: .5em; }
.prose blockquote cite { display: block; font-size: 14px; font-style: normal; color: var(--muted); }

/* Tables: one hairline frame, numbers right-aligned in tabular figures, the first column pinned when the table scrolls */
.prose .wp-block-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hair); border-radius: 14px; font-size: 14.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 13px 18px; text-align: left; white-space: nowrap; background: #fff; border-bottom: 1px solid var(--hair); }
.prose thead th { background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.prose thead th:first-child { border-top-left-radius: 13px; }
.prose thead th:last-child { border-top-right-radius: 13px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:last-child td:first-child { border-bottom-left-radius: 13px; }
.prose tbody tr:last-child td:last-child { border-bottom-right-radius: 13px; }
.prose tbody tr:hover td { background: #FAFBFC; }
.prose tbody td:first-child { color: var(--ink); font-weight: 600; }
.prose td strong { font-weight: 700; color: var(--ink); }
.prose .has-text-align-right { text-align: right; }
.prose .has-text-align-center { text-align: center; }
.prose .wp-block-table figcaption { text-align: left; margin-top: 12px; }
@media (max-width: 760px) {
  .prose th:first-child, .prose td:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--hair); }
  .prose th, .prose td { padding: 12px 14px; }
}

/* Code: block editor <pre class="wp-block-code">; blog.js adds the bar and the copy button */
.prose pre, .prose .wp-block-code { margin: 2.2em 0; padding: 18px 20px; font: 13px/1.75 var(--mono); color: #2F2A3A; background: #fff; border: 1px solid var(--hair); border-radius: 14px; white-space: pre; overflow-x: auto; tab-size: 2; }
.prose pre code, .prose .wp-block-code code { font: inherit; background: none; padding: 0; border-radius: 0; color: inherit; overflow-wrap: normal; }
.prose .code-window { margin: 2.2em 0; border-color: var(--hair); border-radius: 14px; }
.prose .code-window .window-bar { background: var(--surface); border-bottom-color: var(--hair); }
.prose .code-window pre { margin: 0; border: 0; border-radius: 0; }
.code-window .window-bar .copy-btn { flex: none; }

/* Block styles registered by the plugin: Key takeaways, Note, Sources */
.prose .is-style-iua-takeaways { background: var(--surface); border-radius: 20px; padding: 26px 30px 12px; margin-bottom: 2.4em; }
.prose .is-style-iua-takeaways h2 { font-size: 15px; letter-spacing: 0; color: var(--ink); margin: 0 0 14px; }
.prose .is-style-iua-takeaways ul { list-style: none; padding: 0; margin: 0 0 14px; }
.prose .is-style-iua-takeaways li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.7; margin-bottom: 10px; color: var(--ink); }
.prose .is-style-iua-takeaways li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.8L12.5 5' fill='none' stroke='%230052CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.prose .is-style-iua-note { background: #FFF7E8; border-radius: 14px; padding: 18px 22px; font-size: 15.5px; }
.prose .is-style-iua-note p:last-child { margin: 0; }
.prose .is-style-iua-sources { font-size: 14px; line-height: 1.65; color: var(--muted); }
.prose .is-style-iua-sources li { margin-bottom: .6em; }

/* FAQ: the editor's Details block as a flat accordion */
.prose .wp-block-details { margin: 0; border-top: 1px solid var(--hair); }
.prose .wp-block-details:last-of-type { border-bottom: 1px solid var(--hair); }
.prose .wp-block-details summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font-size: 16.5px; font-weight: 600; line-height: 1.5; color: var(--ink); transition: color .15s; }
.prose .wp-block-details summary:hover { color: var(--blue); }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.prose .wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.prose .wp-block-details > :not(summary) { padding-right: 44px; font-size: 16px; color: var(--text); }
.prose .wp-block-details > :last-child { padding-bottom: 18px; margin-bottom: 0; }
.prose .wp-block-details + :not(.wp-block-details) { margin-top: 2.2em; }

/* After the article */
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hair); }
.author-box .avatar { width: 56px; height: 56px; font-size: 18px; }
.author-box .eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.author-box h2 { font-size: 18px; margin: 0; }
.author-box .role { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.author-box p { font-size: 15px; margin: 0 0 10px; }
.author-box .author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; }
.cta-panel { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; margin-top: 32px; padding: 26px 28px; border-radius: 20px; background: #FFF6F3; }
.cta-panel .fs-badge { grid-row: span 2; }
.cta-panel h2 { font-size: 18px; margin: 2px 0 6px; }
.cta-panel p { margin: 0; font-size: 14.5px; }
.cta-panel .btn-row { grid-column: 2; margin-top: 12px; }
.related { border-top: 1px solid var(--hair); padding: 64px 0 104px; }
.related .section-head h2 { font-size: 22px; }

@media (max-width: 640px) {
  .masthead { padding: 28px 0 20px; }
  .article-head { padding-top: 28px; }
  .article-hero { margin-top: 28px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 23px; }
  .prose .is-style-iua-takeaways { padding: 22px 20px 8px; }
  .author-box { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 24px 22px; }
  .cta-panel .fs-badge { grid-row: auto; }
  .cta-panel .btn-row { grid-column: 1; }
  .blog-section { padding: 32px 0; }
  .pager { margin-top: 56px; }
}
/* WordPress: author pages, empty lists, unpublished posts, and editor blocks the sample article does not use */
.hub-title .avatar { width: 52px; height: 52px; font-size: 18px; }
.masthead .masthead-role { margin-top: 12px; font-weight: 500; color: var(--ink); }
.feed-empty { margin: 0; color: var(--muted); }
.masthead--404 { padding: 72px 0 40px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 640px) { .masthead--404 { padding: 40px 0 28px; } }
.blog-flag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: #FFF7E8; color: #7A4F00; font-size: 13px; font-weight: 600; }
.prose::after { content: ""; display: table; clear: both; }
.prose .has-text-align-left { text-align: left; }
.prose .wp-block-image.size-medium img { max-width: 280px; }
.prose .alignleft { float: left; max-width: 50%; margin: .3em 1.6em 1em 0; }
.prose .alignright { float: right; max-width: 50%; margin: .3em 0 1em 1.6em; }
.prose .wp-block-embed iframe, .prose .wp-block-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.prose .wp-embed-aspect-4-3 iframe { aspect-ratio: 4 / 3; }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.prose .wp-block-column { flex: 1 1 0; min-width: 0; }
.prose .wp-block-column > :last-child { margin-bottom: 0; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .wp-block-button__link { display: inline-block; padding: 11px 22px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.prose .wp-block-pullquote { margin: 2.2em 0; padding: 24px 0; border-block: 1px solid var(--hair); text-align: center; font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.prose .post-password-form input[type="password"] { padding: 10px 12px; border: 1px solid var(--hair); border-radius: 10px; font: inherit; }
.prose .post-password-form input[type="submit"] { padding: 10px 18px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 640px) {
  .prose .wp-block-column { flex-basis: 100%; }
  .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 2.2em 0; }
}
@media (prefers-reduced-motion: reduce) {
  .post-media img, .cover svg, .pager-meter span { transition: none; }
  .post-card:hover .post-media img, .post-card:hover .cover svg { transform: none; }
  .post-grid > li.is-new { animation: none; }
}

/* Base64 converter (post: base64-to-image) */
.b64-tool { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--band); }
.b64-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.b64-panel h3 { margin: 0; font-size: 18px; }
.b64-panel textarea { width: 100%; box-sizing: border-box; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); resize: vertical; }
.b64-file input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.b64-file:focus-within .btn { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.b64-status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.b64-preview { max-width: 100%; max-height: 240px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.b64-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.b64-tool [hidden] { display: none; }
@media (max-width: 720px) { .b64-tool { grid-template-columns: 1fr; padding: 16px; } }
