/* Post structure (ported from LiteBlog): single post card, meta, content styles, share panel, table of contents, tables, author box. */
.single-wrap,.lb-author{--primary:#6a3df0;--primary-dark:#5a2fd6;--dark:#1b1736;--text:#3a3656;--muted:#625f7c;--bg:#f8f5ff;--card:#ffffff;--border:#e9e4f8;--radius:20px;--shadow:0 18px 45px rgba(106,61,240,.10);--shadow-hover:0 18px 45px rgba(106,61,240,.16)}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* ---- from style.css ---- */
.single-wrap .container,.lb-author .container{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}
.single-wrap .container--narrow,.lb-author .container--narrow{max-width:880px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.single-wrap{padding:50px 0 70px}
.entry{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:0 0 40px;overflow:hidden}
.entry-image{margin:0 0 34px}
.entry-image img{width:100%;max-height:440px;object-fit:cover}
.entry-header,.entry-content,.entry-footer{padding:0 44px}
.entry-cats{margin-bottom:14px}
.entry-cats a{display:inline-block;background:rgba(106,61,240,.1);color:var(--primary);font-size:.72rem;font-weight:800;letter-spacing:.8px;text-transform:uppercase;padding:4px 12px;border-radius:50px;margin-right:6px}
.entry-title{font-size:clamp(1.45rem,3.4vw,2.1rem);margin-bottom:14px}
.entry-meta{display:flex;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:.9rem;padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid var(--border)}
.entry-content{font-size:1.08rem}
.entry-content h2{font-size:1.65rem;margin-top:1.8em}
.entry-content h3{font-size:1.3rem;margin-top:1.6em}
.entry-content img{border-radius:10px}
.entry-content a{text-decoration:underline}
.entry-content blockquote{margin:1.6em 0;padding:18px 24px;border-left:4px solid var(--primary);background:#f1f5f9;border-radius:0 10px 10px 0;font-style:italic}
.entry-content pre{background:var(--dark);color:#e2e8f0;padding:18px;border-radius:10px;overflow:auto;font-size:.9rem}
.entry-content code{background:#f1f5f9;padding:2px 6px;border-radius:5px;font-size:.92em}
.entry-content pre code{background:none;padding:0}
.entry-content ul,.entry-content ol{padding-left:1.4em;margin:0 0 1.2em}
.entry-content table{width:100%;border-collapse:collapse;margin-bottom:1.4em}
.entry-content th,.entry-content td{border:1px solid var(--border);padding:10px 12px;text-align:left}
.alignleft{float:left;margin:0 1.4em 1em 0}
.alignright{float:right;margin:0 0 1em 1.4em}
.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption-text,figcaption{font-size:.85rem;color:var(--muted);text-align:center;margin-top:6px}
.entry-content::after{content:"";display:block;clear:both}
.entry-tags{margin-top:30px}
.entry-tags a{display:inline-block;border:1px solid var(--border);color:var(--muted);padding:3px 12px;border-radius:50px;font-size:.82rem;margin:0 6px 6px 0}
.entry-tags a:hover{border-color:var(--primary);color:var(--primary)}
@media (max-width:860px){
.entry-header,.entry-content,.entry-footer{padding:0 22px}
}
.entry-meta time{white-space:nowrap}
.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object{max-width:100%}
.entry-content figure{margin:0 0 1.4em;max-width:100%}
.entry-content .wp-caption{max-width:100%}
.entry-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content pre{max-width:100%}
@media (min-width:1400px){
.single-wrap .container,.lb-author .container{max-width:1240px}
.single-wrap .container--narrow,.lb-author .container--narrow{max-width:900px}
}
@media (max-width:480px){
.single-wrap .container,.lb-author .container{padding:0 16px}
.single-wrap{padding:28px 0 50px}
.entry-header,.entry-content,.entry-footer{padding:0 18px}
.entry-image img{max-height:240px}
}
@media (max-width:860px){
.single-wrap .container,.lb-author .container{padding-left:14px;padding-right:14px}
}
@media (max-width:600px){
.single-wrap{padding:16px 0 40px}
.single-wrap .container{padding-left:8px;padding-right:8px}
.entry{padding-bottom:28px}
.entry-image{margin-bottom:22px}
.entry-image img{max-height:260px}
.entry-header,.entry-content,.entry-footer{padding-left:16px;padding-right:16px}
.entry-content{font-size:1.05rem}
.alignleft,.alignright{float:none;display:block;margin:0 auto 1em}
}
.share{margin-top:36px;padding-top:28px;border-top:1px solid var(--border);text-align:center}
.share-toggle{display:none;align-items:center;justify-content:center;gap:8px;min-width:200px;height:44px;padding:0 22px;border:0;border-radius:50px;background:linear-gradient(135deg,var(--p),#7c3aed);color:#fff;font:inherit;font-size:.92rem;font-weight:700;cursor:pointer;box-shadow:0 8px 22px rgba(106,61,240,.35);transition:transform .2s,box-shadow .2s}
.js .share-toggle{display:inline-flex}
.share-toggle:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(106,61,240,.45)}
.share-chevron{transition:transform .3s}
.share-toggle[aria-expanded="true"] .share-chevron{transform:rotate(180deg)}
.share-list{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:22px 8px 16px}
.share-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:156px;height:48px;padding:0 10px;border:1px solid var(--border);border-radius:50px;background:#fff;color:var(--dark)!important;font-size:.95rem;font-weight:700;line-height:1;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}
.share-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--b);color:#fff;font-size:.95rem;font-weight:800;transition:background .2s,color .2s}
.share-btn:hover{background:var(--b);border-color:var(--b);color:#fff!important;transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,23,42,.15)}
.share-btn:hover .share-ico{background:#fff;color:var(--b)}
.share-fb{--b:#1877f2}
.share-in{--b:#0a66c2}
.share-pin{--b:#e60023}
.share-reddit{--b:#ff4500}
@media (max-width:600px){
.share-btn{width:calc(50% - 6px)}
}
@media (max-width:480px){
.share-toggle{min-width:190px}
}
@media (max-width:360px){
.share-btn{width:100%}
}
.share-toggle:active{transform:scale(.97)}
.js .share-panel{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .5s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s linear .5s}
.js .share-panel.is-open{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows .5s cubic-bezier(.22,1,.36,1),opacity .35s ease,visibility 0s}
.share-clip{min-height:0;overflow:hidden}
@keyframes shareIn{from{opacity:0;transform:translateY(18px) scale(.85)}to{opacity:1;transform:none}}
.js .share-panel.is-open .share-btn{animation:shareIn .55s cubic-bezier(.34,1.56,.64,1) backwards}
.js .share-panel.is-open .share-btn:nth-child(1){animation-delay:.12s}
.js .share-panel.is-open .share-btn:nth-child(2){animation-delay:.19s}
.js .share-panel.is-open .share-btn:nth-child(3){animation-delay:.26s}
.js .share-panel.is-open .share-btn:nth-child(4){animation-delay:.33s}
.lb-reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.lb-reveal.is-visible{opacity:1;transform:none}
.entry-content{font-size:1.02rem}
.entry-title{font-size:clamp(1.35rem,3.1vw,1.95rem)}
.entry-content h2{font-size:1.55rem}
.entry-content h3{font-size:1.22rem}
@media (max-width:600px){
.entry-content{font-size:.98rem}
}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin-top:1.3rem;margin-bottom:1.3rem}
.entry-content h1{font-size:1.9rem}
.entry-content h4{font-size:1.12rem}
.entry-content h5{font-size:1rem}
.entry-content h6{font-size:.92rem}
.entry-content>:first-child{margin-top:0}
.share-toggle,.share-btn{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
.share-toggle,.share-btn{touch-action:manipulation}
.share-toggle,.share-btn{-webkit-user-select:none;user-select:none}
.share-toggle:focus:not(:focus-visible),.share-btn:focus:not(:focus-visible){outline:0}
.entry-title{font-size:clamp(1.2rem,2.7vw,1.6rem)}
.entry-content h1{font-size:1.6rem}
.entry-content h2{font-size:1.35rem}
.entry-content h3{font-size:1.12rem}
.entry-content h4{font-size:1.02rem}
.entry-content h5{font-size:.95rem}
.entry-content h6{font-size:.88rem}
@media (max-width:600px){
.entry-title{font-size:1.4rem}
.entry-content h1{font-size:1.4rem}
.entry-content h2{font-size:1.2rem}
.entry-content h3{font-size:1.05rem}
}

/* ---- from css/extras.css ---- */
.lb-author{padding:0 0 56px}
.single-wrap+.lb-author{margin-top:-24px}
.lb-author__card{display:flex;align-items:center;gap:26px;max-width:880px;margin:0 auto;padding:28px 32px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 14px 34px -18px rgba(15,23,42,.22);text-align:left}
.lb-author__photo{flex:none;display:block;width:104px;height:104px;border-radius:50%;padding:0;background:none;box-shadow:none}
.lb-author__photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.lb-author__body{min-width:0}
.lb-author__label{display:block;margin-bottom:2px;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--p)}
.lb-author__name{margin:0;font-size:1.35rem;line-height:1.25;font-weight:800;color:#0f172a}
.lb-author__name a{color:inherit;text-decoration:none}
.lb-author__name a:hover{color:var(--p)}
.lb-author__role{display:block;margin:2px 0 8px;font-size:.88rem;font-weight:700;color:#64748b}
.lb-author__bio{font-size:.97rem;line-height:1.65;color:#475569}
.lb-author__more{display:inline-flex;align-items:center;gap:7px;margin-top:12px;font-size:.9rem;font-weight:700;color:var(--p);text-decoration:none}
.lb-author__more svg{transition:transform .2s}
.lb-author__more:hover{color:#5a2fd6}
.lb-author__more:hover svg{transform:translateX(3px)}
.lb-toc{margin:1.5rem 0;background:linear-gradient(135deg,#f5f7ff,#f3efff);border:1px solid #e0e7ff;border-radius:16px;overflow:hidden}
.lb-toc__head{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:0;background:transparent;font:inherit;color:#1e1b4b;cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent}
.lb-toc__title{display:inline-flex;align-items:center;gap:10px;font-size:1.02rem;font-weight:800;letter-spacing:-.005em}
.lb-toc__title svg{color:var(--p)}
.lb-toc__chev{flex:none;color:var(--p);transition:transform .35s}
.lb-toc[data-open="1"] .lb-toc__chev{transform:rotate(180deg)}
.lb-toc__wrap{display:grid;grid-template-rows:1fr;transition:grid-template-rows .45s cubic-bezier(.22,1,.36,1)}
.lb-toc[data-open="0"] .lb-toc__wrap{grid-template-rows:0fr}
.lb-toc__clip{min-height:0;overflow:hidden}
.lb-toc[data-open="0"] .lb-toc__clip{visibility:hidden;transition:visibility 0s linear .45s}
.lb-toc__list{margin:0;padding:0 18px 10px 20px;list-style:none}
.lb-toc__item{margin:0;padding:4px 0;list-style:none;line-height:1.45;font-weight:600}
.lb-toc__item a{color:#334155;text-decoration:none;font-size:.97rem}
.lb-toc__item a:hover{color:var(--p);text-decoration:none}
.lb-toc__item--l3{margin-left:18px;list-style:circle}
.lb-toc__item--l3 a{font-size:.92rem;color:#64748b}
html:not(.js) .lb-toc__head{cursor:default}
.entry-content h2[id],.entry-content h3[id]{scroll-margin-top:18px}
.entry-meta .lb-updated{display:inline-flex;align-items:center;gap:5px;color:#475569;font-weight:600}
.entry-meta .lb-updated svg{color:#16a34a}
@media (max-width:640px){
.lb-author{padding-bottom:40px}
.lb-author__card{flex-direction:column;text-align:center;gap:14px;padding:24px 20px}
.lb-author__body{text-align:center}
.lb-author__photo{width:92px;height:92px}
.lb-author__bio{font-size:.94rem}
.lb-toc__list{padding-left:38px}
}
.entry-meta .lb-by{font-weight:700;color:var(--primary,var(--p))}
.entry-meta{align-items:center;gap:14px}
.entry-meta .lb-m{display:inline-flex;align-items:center;gap:7px}
.entry-meta .lb-m svg{flex:none;color:var(--primary,var(--p))}
.entry-meta .lb-m~.lb-m::before{content:"";width:1px;height:16px;margin-right:7px;background:#cbd5e1}
.entry-meta .lb-updated svg{color:#16a34a}
@media (max-width:480px){
.entry-meta{gap:9px;font-size:.84rem}
.entry-meta .lb-m{gap:5px}
.entry-meta .lb-m~.lb-m::before{margin-right:2px;height:14px}
}
html:not(.js) .lb-toc__wrap{grid-template-rows:1fr}
html:not(.js) .lb-toc__clip{visibility:visible}
.lb-toc__head{line-height:1.3}
.lb-toc[data-open="0"] .lb-toc__wrap{grid-template-rows:0fr}
.lb-toc[data-open="0"] .lb-toc__list{padding-bottom:0}
.lb-toc[data-open="0"] .lb-toc__wrap{margin:0;padding:0;border:0}
.lb-toc__item{position:relative;padding:5px 0 5px 20px}
.lb-toc__item::before{content:"";position:absolute;left:3px;top:.95em;width:8px;height:8px;border-radius:50%;background:var(--p);box-shadow:0 0 0 3px rgba(106,61,240,.15)}
.lb-toc__list{padding-left:18px}
.lb-toc__item::before{top:12px}
.lb-toc__list{padding-bottom:6px}
.lb-toc__item{font-weight:500}
.lb-toc__item a{font-weight:500}
.lb-toc .lb-toc__list{margin:0;padding:0 18px 6px 18px;list-style:none}
.lb-toc .lb-toc__item{position:relative;margin:0;padding:5px 0 5px 22px;list-style:none;font-weight:500}
.lb-toc .lb-toc__item::before{content:"";position:absolute;left:4px;top:13px;width:6px;height:6px;border-radius:50%;background:var(--p);box-shadow:0 0 0 2.5px rgba(106,61,240,.15)}
.lb-toc .lb-toc__item a{font-weight:500}
.lb-toc .lb-toc__list{margin:0 18px;padding:10px 0 8px;border-top:1px solid rgba(106,61,240,.16)}
.entry-meta .lb-m--author svg{color:#64748b}
.entry-meta .lb-m--date svg{color:#64748b}

/* ---- from css/table.css ---- */
.entry-content figure.wp-block-table,.entry-content .lb-table{display:block;width:fit-content;max-width:100%;margin:1.7em auto;padding:0 0 5px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:16px;background:linear-gradient(180deg,#fff,#f8f9ff);border:1px solid #e0e7ff;box-shadow:0 5px 0 #d9d6f7,0 18px 30px -18px rgba(106,61,240,.45)}
.entry-content figure.wp-block-table{padding:0 0 5px}
.entry-content figure.wp-block-table figcaption{padding:10px 16px;font-size:.88rem;color:#64748b;text-align:center}
.entry-content figure.wp-block-table table,.entry-content .lb-table table{width:auto;min-width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;font-size:.97rem;line-height:1.5;background:transparent}
.entry-content .lb-table:focus-visible,.entry-content figure.wp-block-table:focus-visible{outline:3px solid rgba(106,61,240,.35);outline-offset:3px}
.entry-content table th,.entry-content table td{padding:13px 18px;border:0;border-bottom:1px solid #edeff9;text-align:left;vertical-align:middle;color:#334155}
.entry-content table thead th,.entry-content table tr:first-child th{position:relative;background:linear-gradient(180deg,#f1efff 0%,#e4e1fb 100%);color:#4a2bb8;font-weight:800;letter-spacing:.01em;border-bottom:3px solid #c9c4f3;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.entry-content table thead th:first-child,.entry-content table tr:first-child th:first-child{border-top-left-radius:15px}
.entry-content table thead th:last-child,.entry-content table tr:first-child th:last-child{border-top-right-radius:15px}
.entry-content table tbody tr:nth-child(even) td{background:rgba(106,61,240,.035)}
.entry-content table tbody tr{transition:background .2s}
.entry-content table tbody tr:hover td{background:rgba(106,61,240,.08)}
.entry-content table tbody tr:last-child td{border-bottom:0}
.entry-content table tbody td:first-child{font-weight:600;color:#1e1b4b}
.entry-content table tfoot td{background:#f1efff;font-weight:700;border-top:2px solid #d9d6f7}
.entry-content table caption{caption-side:bottom;padding:10px 16px;font-size:.88rem;color:#64748b}
@media (max-width:640px){
.entry-content figure.wp-block-table,.entry-content .lb-table{margin:1.4em auto;border-radius:14px}
.entry-content table th,.entry-content table td{padding:10px 13px;font-size:.9rem}
.entry-content table td,.entry-content table th{min-width:110px}
}
@media (prefers-reduced-motion:reduce){
.entry-content table tbody tr{transition:none}
}
.entry-content figure.wp-block-table,.entry-content .lb-table{min-width:min(100%,700px)}
.entry-content table th+th,.entry-content table td+td{border-left:1px solid #e6e8f6}
.entry-content table thead th+th,.entry-content table tr:first-child th+th{border-left:1px solid rgba(106,61,240,.14)}
@media (max-width:640px){
.entry-content figure.wp-block-table,.entry-content .lb-table{min-width:0}
}
.entry-content figure.wp-block-table,.entry-content .lb-table{width:100%;min-width:0}
.entry-content figure.wp-block-table table,.entry-content .lb-table table{width:100%}
.entry-content table.has-fixed-layout{table-layout:auto}
.entry-content figure.wp-block-table table,.entry-content .lb-table table{display:table;overflow:visible;width:100%;margin-bottom:0}
.entry-content figure.wp-block-table[data-cols="lb-cols-1"],.entry-content .lb-table.lb-cols-1{width:min(100%,460px)}
.entry-content figure.wp-block-table[data-cols="lb-cols-2"],.entry-content .lb-table.lb-cols-2{width:min(100%,600px)}
.entry-content figure.wp-block-table[data-cols="lb-cols-3"],.entry-content .lb-table.lb-cols-3{width:min(100%,740px)}
.entry-content table th,.entry-content table td{text-align:center}

/* TviMAX adjustments */
.single-wrap{background:var(--bg)}
.single-wrap .crumbs{margin:0 0 16px}
.single-wrap .entry-content,.lb-author .lb-author__bio{color:var(--text)}
.single-wrap .entry-content p{color:inherit}
.single-wrap .entry-content li{margin-bottom:.4em}
.single-wrap .entry-content a{color:var(--p)}
.lb-author .container{padding-top:0}

/* single article: no lift and no coloured outline when the cursor is on it (the article also has the .post class from WordPress) */
article.entry.post:hover{transform:none;border-color:var(--border);box-shadow:var(--shadow)}

/* article paragraphs: a little larger on desktop (the site base text scale was reduced) */
@media(min-width:701px){.single-wrap .entry-content p{font-size:1.13rem}}

/* "Share this post" button: the same gradient and shadow as the site buttons */
.share-toggle{background:linear-gradient(135deg,var(--p),var(--a));box-shadow:0 10px 24px rgba(106,61,240,.28)}

/* author name in the article meta: same colour as the date beside it */
.entry-meta .lb-by,.entry-meta .lb-by a{color:var(--muted)}
