/* Typon article blocks. Shared by the public article page, the admin preview and the block editor. */
.tbk-scope,.blog-article-content,.blog-preview-content,.te-canvas{--tbk-accent:#0284c7;--tbk-on-accent:#fff;--tbk-soft:rgba(148,163,184,.14);--tbk-line:rgba(148,163,184,.5)}

/* Buttons */
.tbk-button-row{margin:1.4em 0;display:flex}
.tbk-button-row.tbk-align-left{justify-content:flex-start}.tbk-button-row.tbk-align-center{justify-content:center}.tbk-button-row.tbk-align-right{justify-content:flex-end}
.tbk-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;text-decoration:none!important;font-weight:700;line-height:1.2;border-radius:10px;border:2px solid var(--tbk-btn-bg,var(--tbk-accent));background:var(--tbk-btn-bg,var(--tbk-accent));color:var(--tbk-on,var(--tbk-on-accent))!important;padding:.7em 1.35em;cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .15s}
.tbk-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.2)}
.tbk-btn--outline{background:transparent;color:var(--tbk-btn-bg,var(--tbk-accent))!important}
.tbk-btn--ghost{background:var(--tbk-soft);border-color:transparent;color:inherit!important}
.tbk-btn--sm{font-size:.85em;padding:.5em 1em}.tbk-btn--lg{font-size:1.15em;padding:.9em 1.8em}
.tbk-btn--block{display:flex;width:100%}
.tbk-btn--dark{--tbk-btn-bg:#111827;--tbk-on:#fff}.tbk-btn--success{--tbk-btn-bg:#16a34a;--tbk-on:#fff}.tbk-btn--danger{--tbk-btn-bg:#dc2626;--tbk-on:#fff}
.tbk-btn--outline.tbk-btn--dark,.tbk-btn--outline.tbk-btn--success,.tbk-btn--outline.tbk-btn--danger{--tbk-on:var(--tbk-btn-bg)}

/* Images and galleries */
.tbk-image{margin:1.6em auto;text-align:center}
.tbk-image img{display:block;max-width:100%;height:auto;margin-inline:auto}
.tbk-image figcaption{font-size:.88em;opacity:.75;margin-top:.55em}
.tbk-image.tbk-size-small{width:40%}.tbk-image.tbk-size-medium{width:60%}.tbk-image.tbk-size-large{width:85%}.tbk-image.tbk-size-full{width:100%}
.tbk-image.tbk-align-left{float:left;margin:.3em 1.4em 1em 0}.tbk-image.tbk-align-right{float:right;margin:.3em 0 1em 1.4em}
.tbk-image.tbk-rounded img{border-radius:14px}
.tbk-gallery{display:grid;margin:1.8em 0;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.tbk-gallery.tbk-cols-1{grid-template-columns:1fr}.tbk-gallery.tbk-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tbk-gallery.tbk-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tbk-gallery.tbk-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tbk-gallery.tbk-gap-sm{gap:6px}.tbk-gallery.tbk-gap-lg{gap:22px}
.tbk-gallery img{width:100%;height:auto;border-radius:10px;display:block}
.tbk-gallery.tbk-crop img{aspect-ratio:4/3;object-fit:cover}

/* Video and audio embeds */
.tbk-embed{margin:1.8em auto;width:100%}
.tbk-embed.tbk-width-wide{max-width:960px}.tbk-embed.tbk-width-narrow{max-width:640px}
.tbk-embed-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}
.tbk-ratio-4-3 .tbk-embed-frame{aspect-ratio:4/3}.tbk-ratio-1-1 .tbk-embed-frame{aspect-ratio:1/1}.tbk-ratio-21-9 .tbk-embed-frame{aspect-ratio:21/9}
.tbk-ratio-9-16 .tbk-embed-frame{aspect-ratio:9/16;max-width:420px;margin-inline:auto}
.tbk-embed-frame iframe,.tbk-embed-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}
.tbk-embed audio{width:100%;display:block}
.tbk-embed figcaption{font-size:.88em;opacity:.75;margin-top:.6em;text-align:center}
.tbk-embed-links{margin:.5em 0 0;font-size:.88em;text-align:center}

/* Downloadable file card */
.tbk-file{display:flex;align-items:center;gap:14px;margin:1.5em 0;padding:14px 16px;border:1px solid var(--tbk-line);border-radius:12px;background:var(--tbk-soft)}
.tbk-file-icon{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--tbk-accent);color:var(--tbk-on-accent);font-size:22px}
.tbk-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tbk-file-title{font-size:1rem;overflow-wrap:anywhere}.tbk-file-desc{font-size:.88em;opacity:.8}.tbk-file-meta{font-size:.78em;opacity:.65}
@media(max-width:560px){.tbk-file{flex-wrap:wrap}.tbk-file .tbk-btn{width:100%}}

/* Separators */
.tbk-sep{--t:2px;--g:28px;border:0;height:0;width:100%;margin:var(--g) auto;color:rgba(148,163,184,.85);clear:both}
.tbk-sep.tbk-t-thin{--t:1px}.tbk-sep.tbk-t-thick{--t:4px}
.tbk-sep.tbk-gap-sm{--g:12px}.tbk-sep.tbk-gap-lg{--g:56px}
.tbk-sep.tbk-w-wide{width:80%}.tbk-sep.tbk-w-medium{width:50%}.tbk-sep.tbk-w-short{width:25%}
.tbk-sep.tbk-c-accent{color:var(--tbk-accent)}.tbk-sep.tbk-c-text{color:inherit}
.tbk-sep--solid{border-top:var(--t) solid currentColor}.tbk-sep--dashed{border-top:var(--t) dashed currentColor}.tbk-sep--dotted{border-top:calc(var(--t) + 1px) dotted currentColor}
.tbk-sep--double{border-top:calc(var(--t) * 3) double currentColor}
.tbk-sep--dots{height:10px;background:radial-gradient(circle,currentColor 2.2px,transparent 2.8px) center/20px 10px repeat-x}
.tbk-sep--gradient{height:var(--t);border-radius:99px;background:linear-gradient(90deg,transparent,currentColor,transparent)}
.tbk-sep--wave{height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 Q6 0 12 6 T24 6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/24px 12px repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 Q6 0 12 6 T24 6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/24px 12px repeat-x}

/* Notices */
.tbk-notice{--n:2,132,199;margin:1.6em 0;padding:14px 18px;border-radius:10px;border-left:4px solid rgb(var(--n));background:rgba(var(--n),.12)}
.tbk-notice--success{--n:22,163,74}.tbk-notice--warning{--n:217,119,6}.tbk-notice--danger{--n:220,38,38}.tbk-notice--tip{--n:124,58,237}
.tbk-notice-title{display:block;margin-bottom:4px;color:rgb(var(--n))}.tbk-notice p{margin:0}

/* Quotes, code, lists, tables, details */
.tbk-quote{margin:1.6em 0;padding:6px 0 6px 20px;border-left:4px solid var(--tbk-accent)}
.tbk-quote p{margin:0 0 .4em}.tbk-quote cite{display:block;font-size:.88em;opacity:.7;font-style:normal}.tbk-quote cite:before{content:"\2014\00a0"}
.tbk-quote--large p{font-size:1.35em;line-height:1.55}
.tbk-quote--pull{border:0;border-top:3px solid var(--tbk-accent);border-bottom:3px solid var(--tbk-accent);padding:18px 8px;text-align:center}.tbk-quote--pull p{font-size:1.4em;font-weight:600}
.tbk-code{position:relative;margin:1.6em 0;padding:16px 18px;border-radius:12px;background:#0f172a;color:#e2e8f0;overflow:auto;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;tab-size:2}
.tbk-code[data-lang]:before{content:attr(data-lang);position:absolute;top:6px;right:12px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;opacity:.55}
.tbk-code code{font:inherit;background:none;padding:0;color:inherit}
.tbk-list--check{list-style:none;padding-left:0}.tbk-list--check li{position:relative;padding-left:1.7em;margin:.35em 0}.tbk-list--check li:before{content:"\2713";position:absolute;left:0;color:var(--tbk-accent);font-weight:700}
.tbk-list--plain{list-style:none;padding-left:0}
.tbk-table{width:100%;border-collapse:collapse;margin:1.6em 0;clear:both}
.tbk-table th,.tbk-table td{border:1px solid var(--tbk-line);padding:9px 12px;text-align:left}.tbk-table th{background:var(--tbk-soft)}
.tbk-table.tbk-striped tbody tr:nth-child(even){background:var(--tbk-soft)}
.tbk-details{margin:1.2em 0;border:1px solid var(--tbk-line);border-radius:10px;padding:0 16px}.tbk-details summary{cursor:pointer;font-weight:700;padding:13px 0}.tbk-details-body{padding-bottom:12px}.tbk-details-body p{margin:0}

/* Columns, spacer, HTML widget */
.tbk-columns{display:grid;gap:22px;margin:1.6em 0;grid-template-columns:repeat(2,minmax(0,1fr));clear:both}
.tbk-columns.tbk-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tbk-columns.tbk-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tbk-columns.tbk-gap-sm{gap:10px}.tbk-columns.tbk-gap-lg{gap:40px}
.tbk-columns.tbk-cols-2.tbk-ratio-wide-left{grid-template-columns:2fr 1fr}.tbk-columns.tbk-cols-2.tbk-ratio-wide-right{grid-template-columns:1fr 2fr}
.tbk-col>:first-child{margin-top:0}.tbk-col>:last-child{margin-bottom:0}
.tbk-spacer{display:block;width:100%;clear:both}
.tbk-html{max-width:100%;overflow:auto;margin:1.4em 0;box-sizing:border-box}
.tbk-html.tbk-hw-wide{max-width:90%}.tbk-html.tbk-hw-medium{max-width:720px}.tbk-html.tbk-hw-narrow{max-width:480px}
.tbk-html.tbk-align-center{margin-inline:auto}.tbk-html.tbk-align-right{margin-left:auto}.tbk-html.tbk-align-left{margin-right:auto}
.tbk-html img,.tbk-html table{max-width:100%}
@media(max-width:700px){.tbk-columns,.tbk-columns.tbk-cols-3,.tbk-columns.tbk-cols-4,.tbk-columns.tbk-cols-2.tbk-ratio-wide-left,.tbk-columns.tbk-cols-2.tbk-ratio-wide-right{grid-template-columns:1fr}.tbk-gallery.tbk-cols-4,.tbk-gallery.tbk-cols-5{grid-template-columns:repeat(2,minmax(0,1fr))}.tbk-image.tbk-align-left,.tbk-image.tbk-align-right{float:none;margin:1.2em auto;width:100%}.tbk-html.tbk-hw-wide{max-width:100%}}
