/* Poradivo 1.2 — editorial article components and accessible mobile TOC */
.article-page{background:#fff}
.article-header{max-width:800px}
.article-header h1{max-width:810px;line-height:1.13;margin-bottom:19px}
.article-lead{font-size:clamp(17px,1.9vw,21px);line-height:1.65;color:#5b7166;margin:0 0 23px;max-width:740px}
.article-byline{margin-bottom:26px}
.article-main{min-width:0}
.entry-content{font-size:16px;line-height:1.85}
.entry-content p{margin-top:0;margin-bottom:1.35em}
.entry-content h2{padding-top:6px;border-top:1px solid #edf1eb;margin-top:48px;margin-bottom:20px}
.entry-content h3{margin-top:30px}
.entry-content .wp-block-table{margin:24px 0 30px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content .wp-block-table table{display:table;min-width:570px;width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dfe9df;border-radius:13px;overflow:hidden}
.entry-content .wp-block-table th{background:#eaf4e9;color:#214c3b;font-weight:750}
.entry-content .wp-block-table td,.entry-content .wp-block-table th{border:0;border-bottom:1px solid #e6eee5;padding:15px;vertical-align:top;font-size:13px}
.entry-content .wp-block-table tr:last-child td{border-bottom:0}
.entry-content .wp-block-table td+td,.entry-content .wp-block-table th+th{border-left:1px solid #e6eee5}
.entry-content .wp-block-table figcaption{margin-top:8px;color:#6e8175;text-align:left;font-size:12px}
.entry-content .p-editorial-summary,.entry-content .p-editorial-tip,.entry-content .p-editorial-warning{padding:23px 26px;border-radius:16px;margin:22px 0 31px;box-shadow:none}
.entry-content .p-editorial-summary{background:#edf7ea;border:1px solid #d4e8cd;border-left:5px solid #478c5e}
.entry-content .p-editorial-tip{background:#f2f6f2;border:1px solid #dce8dd;border-left:5px solid #447b63}
.entry-content .p-editorial-warning{background:#fff9ed;border:1px solid #f2e3bf;border-left:5px solid #bb8b36}
.entry-content .p-editorial-summary h2,.entry-content .p-editorial-tip h2,.entry-content .p-editorial-warning h2{font:800 18px/1.35 var(--sans);letter-spacing:-.025em;padding:0;border:0;margin:0 0 12px;color:#183e31}
.entry-content .p-editorial-summary p,.entry-content .p-editorial-tip p,.entry-content .p-editorial-warning p{font-size:14px;line-height:1.75;margin:0 0 8px}
.entry-content .p-editorial-summary ul{margin-bottom:0}
.entry-content .p-editorial-summary li{font-size:14px;line-height:1.7;margin:0 0 6px}
.entry-content .p-editorial-faq{margin:30px 0 38px}
.entry-content .p-editorial-faq>h2{font-size:28px}
.entry-content .p-editorial-faq details,.entry-content .wp-block-details{margin:10px 0;padding:0;border:1px solid #e0e8de;border-radius:13px;background:#fff;overflow:hidden}
.entry-content .p-editorial-faq details summary,.entry-content .wp-block-details summary{font-weight:750;color:#193e33;cursor:pointer;padding:17px 22px;list-style-position:inside;line-height:1.5}
.entry-content .p-editorial-faq details[open] summary,.entry-content .wp-block-details[open] summary{background:#f1f7f0;border-bottom:1px solid #e0e8de}
.entry-content .p-editorial-faq details>:not(summary),.entry-content .wp-block-details>:not(summary){padding:0 22px;margin:16px 0;line-height:1.75;font-size:14px}
.entry-content .p-editorial-faq details summary:focus-visible,.entry-content .wp-block-details summary:focus-visible{outline:3px solid #5da36d;outline-offset:-3px}
.entry-content .p-editorial-sources{background:#f7f9f6;border:1px solid #e3e9e0;border-radius:14px;padding:20px 25px;margin-top:36px}
.entry-content .p-editorial-sources h2{font-size:20px;border:0;padding:0;margin:0 0 12px}
.entry-content .p-editorial-sources li,.entry-content .p-editorial-sources p{font-size:13px;line-height:1.6}
.article-author{display:flex;gap:20px;align-items:flex-start;background:#f7f9f6;border:1px solid #e3e9e0;padding:23px;margin:28px 0 22px;border-radius:16px}
.article-author__avatar{width:70px;flex:0 0 70px}
.article-author__image{width:70px;height:70px;border-radius:50%}
.article-author__kicker{font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#518568}
.article-author h2{font-size:17px;line-height:1.4;margin:4px 0 7px}
.article-author p{font-size:13px;color:#6b8175;margin:0}
.article-toc--mobile{display:none}
.article-toc a{line-height:1.55}
.article-sidebar .article-toc{position:relative}
.entry-content .pcore-offer-card,.entry-content .pcore-affiliate-wrap{max-width:100%}
/* Editorial blocks should remain usable if a theme user chooses a wide-layout page. */
@media(max-width:900px){
 .article-toc--mobile:not([hidden]){display:block;max-width:100%;margin:0 0 27px;padding:20px 23px}
 .article-toc--mobile h2{border:0;padding:0;margin:0 0 10px;font-size:17px}
 .article-sidebar>#poradivo-article-toc{display:none!important}
}
@media(max-width:600px){
 .article-page{padding:25px 0 65px}
 .article-lead{font-size:17px}
 .entry-content{font-size:15px}
 .entry-content h2{font-size:25px}
 .entry-content h3{font-size:20px}
 .entry-content .p-editorial-summary,.entry-content .p-editorial-tip,.entry-content .p-editorial-warning{padding:19px 18px}
 .article-author{padding:18px;gap:12px}
 .article-author__avatar,.article-author__image{width:52px;height:52px;flex-basis:52px}
 .entry-content .wp-block-table table{min-width:500px}
}
@media(prefers-reduced-motion:reduce){.article-toc a{scroll-behavior:auto}}
