/* Scoped styles; no global changes to the shop. Replace fallback with the approved brand token. */
.alltech-poradna-article,.alltech-poradna-related,.alltech-poradna-preview{--poradna-accent:var(--alltech-brand-red,#b3131b);color:#1c1c1c;line-height:1.7}
.alltech-poradna-article{max-width:850px;margin:auto;font-size:1.0625rem}
.alltech-poradna-article h2{font-size:1.6rem;margin:2rem 0 .8rem}.alltech-poradna-article h3{font-size:1.25rem;margin:1.5rem 0 .6rem}
.alltech-poradna-summary{font-size:1.2rem;line-height:1.65}
.alltech-poradna-article img{max-width:100%;height:auto;display:block;margin:auto}
.alltech-poradna-article figure{margin:1.8rem 0}.alltech-poradna-article figcaption{font-size:.92rem;color:#525252;margin-top:.5rem}
.alltech-poradna-article blockquote,.alltech-poradna-related{background:#f4f4f4;border-left:4px solid var(--poradna-accent);padding:1.2rem 1.4rem;margin:1.8rem 0}
.alltech-poradna-article a,.alltech-poradna-related a{color:var(--poradna-accent);text-decoration:underline;text-underline-offset:.15em;overflow-wrap:anywhere}
.alltech-poradna-article a:focus-visible,.alltech-poradna-related a:focus-visible{outline:3px solid #222;outline-offset:4px}
.alltech-poradna-table{overflow-x:auto}.alltech-poradna-table table{width:100%;border-collapse:collapse}.alltech-poradna-table th,.alltech-poradna-table td{border:1px solid #d6d6d6;padding:.7rem;text-align:left;vertical-align:top}.alltech-poradna-table th{background:#f3f3f3}
.alltech-poradna-preview{font-family:Arial,Helvetica,sans-serif;background:#fff;margin:0;padding:2rem 1rem}.alltech-poradna-preview header,.alltech-poradna-preview main{max-width:850px;margin:auto}.alltech-poradna-preview header{border-bottom:3px solid var(--poradna-accent);margin-bottom:2rem}.alltech-poradna-preview h1{font-size:clamp(1.8rem,5vw,2.5rem);line-height:1.25}.alltech-poradna-logo{display:block;max-width:250px;max-height:100px;width:auto;height:auto}
@media(max-width:600px){.alltech-poradna-article{font-size:1rem}.alltech-poradna-related{padding:1rem}.alltech-poradna-article h2{font-size:1.35rem}}
/* Compact directory tiles, scoped to Poradna; section and article grids share their size. */
.alltech-poradna-directory{--poradna-accent:var(--alltech-brand-red,#b3131b);color:#1c1c1c;line-height:1.5}
.alltech-poradna-intro{max-width:850px;font-size:1rem;margin:0 0 1.2rem}
/* auto-fill keeps the three section tiles as small as article tiles instead of stretching them. */
.alltech-poradna-section-cards,.alltech-poradna-article-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:0;align-items:stretch}
.alltech-poradna-section-card,.alltech-poradna-article-card{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;border:1px solid #ddd;border-radius:0;background:#fff;overflow:hidden;padding:0;text-align:center;transition:box-shadow .15s,border-color .15s}
.alltech-poradna-section-card{color:#202020!important;text-decoration:none!important}
.alltech-poradna-section-card:hover,.alltech-poradna-article-card:hover{position:relative;border-color:#bbb;box-shadow:0 2px 10px #0000001a}
.alltech-poradna-section-card>img,.alltech-poradna-card-image{display:block;box-sizing:border-box;width:100%;height:150px;flex-shrink:0;margin:0;background:#fff}
.alltech-poradna-section-card>img{object-fit:contain;padding:8px}
.alltech-poradna-card-image{overflow:hidden;padding:8px;text-decoration:none}
.alltech-poradna-card-image img{display:block;width:100%;height:100%;object-fit:contain}
.alltech-poradna-card-placeholder{display:grid;height:100%;place-items:center;font-size:1rem;color:#777}
.alltech-poradna-section-card-body,.alltech-poradna-article-card-body{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;flex:1;gap:0;padding:10px 12px 14px}
.alltech-poradna-section-card-body strong,.alltech-poradna-article-card-body h2,.alltech-poradna-article-card h3{font-size:.9375rem;font-weight:600;line-height:1.35;margin:0 0 8px;color:#202020}
.alltech-poradna-article-card-body h2 a,.alltech-poradna-article-card h3 a{color:#202020!important;text-decoration:none}
.alltech-poradna-article-card-body h2 a:hover{text-decoration:underline}
.alltech-poradna-count{color:#666;font-size:.8125rem;font-weight:400;margin-bottom:8px}
.alltech-poradna-article-card p,.alltech-poradna-section-card-body>span:not(.alltech-poradna-count):not(.alltech-poradna-open-section){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:.875rem;line-height:1.5;color:#555;margin:0 0 12px}
.alltech-poradna-open-section,.alltech-poradna-article-card-body .alltech-poradna-read{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:.3rem;min-height:44px;margin-top:auto;border:1px solid #ccc;border-radius:0;padding:7px 12px;background:#fff;color:#333!important;font-size:.8125rem;font-weight:400;line-height:1.3;text-decoration:none!important}
.alltech-poradna-section-card:hover .alltech-poradna-open-section,.alltech-poradna-read:hover{border-color:#999;background:#f6f6f6}
.alltech-poradna-image-note{font-size:.8rem;color:#666;margin:.7rem 0 1.4rem}
.alltech-poradna-directory a{overflow-wrap:anywhere}.alltech-poradna-directory a:not(.alltech-poradna-section-card){color:var(--poradna-accent)}
.alltech-poradna-section-nav{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;border-top:1px solid #ddd;padding:1.2rem 0;margin-top:2rem;font-size:1rem}.alltech-poradna-section-nav a{color:var(--alltech-brand-red,#b3131b);text-decoration:underline;text-underline-offset:.2em}
.alltech-poradna-directory a:focus-visible,.alltech-poradna-section-nav a:focus-visible{outline:3px solid #202020;outline-offset:3px;position:relative;z-index:1}
.alltech-poradna-topic-switch{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}.alltech-poradna-topic-switch a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #ddd;border-radius:0;padding:.4rem .75rem;text-decoration:none;background:#fff;font-size:.875rem}.alltech-poradna-topic-switch a[aria-current=page]{background:var(--poradna-accent);border-color:var(--poradna-accent);color:#fff}
.alltech-poradna-list-count{color:#555;font-size:.875rem;margin:0 0 1rem}
@media(max-width:600px){.alltech-poradna-section-cards,.alltech-poradna-article-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.alltech-poradna-section-card>img,.alltech-poradna-card-image{height:125px}.alltech-poradna-section-card-body,.alltech-poradna-article-card-body{padding:8px 9px 12px}.alltech-poradna-section-card-body strong,.alltech-poradna-article-card-body h2{font-size:.875rem}}
@media(max-width:360px){.alltech-poradna-section-cards,.alltech-poradna-article-cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.alltech-poradna-section-card,.alltech-poradna-article-card{transition:none}}

/* Customer reading: visible topic boundaries and captions retained by CMS sanitization. */
.alltech-poradna-article h2{clear:both;margin:2.5rem 0 1rem;padding:.85rem 1rem;border-left:4px solid var(--poradna-accent);background:#f5f5f5;font-size:1.45rem;line-height:1.35}
.alltech-poradna-article h3{margin:1.8rem 0 .75rem;padding-bottom:.5rem;border-bottom:2px solid #dedede;line-height:1.4}
.alltech-poradna-article p{margin:0 0 1.1rem}
.alltech-poradna-figure{margin:1.6rem 0 2rem}
.alltech-poradna-article .alltech-poradna-caption{font-size:.875rem;line-height:1.5;color:#525252;text-align:center;margin:.6rem 0 0}
.alltech-poradna-article .alltech-poradna-sources{margin-top:2.5rem;font-size:.8125rem;line-height:1.55;color:#555;overflow-wrap:anywhere}
.alltech-poradna-article .alltech-poradna-sources hr{border:0;border-top:1px solid #d6d6d6;margin:0 0 1rem}
.alltech-poradna-article .alltech-poradna-sources h2{margin:0 0 .65rem;padding:0;border:0;background:none;font-size:.875rem;line-height:1.45;color:#555}
.alltech-poradna-article .alltech-poradna-sources p{margin:0 0 .5rem;font-size:inherit;line-height:inherit}
.alltech-poradna-related h2{font-size:1.2rem;line-height:1.4;margin:0 0 .7rem}
.alltech-poradna-related li{margin:.45rem 0}
@media(max-width:600px){.alltech-poradna-article h2{font-size:1.25rem;padding:.7rem .85rem}.alltech-poradna-article h3{font-size:1.1rem}}

/* The next article is a reading card, separate from the small source footer. */
.alltech-poradna-next{--poradna-accent:var(--alltech-brand-red,#b3131b);box-sizing:border-box;max-width:850px;margin:2.5rem auto;background:#fff5f5;border:1px solid #efd3d5;border-left:4px solid var(--poradna-accent);border-radius:8px;padding:20px;color:#202020}
.alltech-poradna-article .alltech-poradna-next h2,.alltech-poradna-next h2{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:0;border:0;background:none;font-size:1.25rem;line-height:1.4}
.alltech-poradna-next-icon{flex-shrink:0;color:var(--poradna-accent)}
.alltech-poradna-next-cards{display:grid;gap:12px}
.alltech-poradna-next a.alltech-poradna-next-card{box-sizing:border-box;display:flex;align-items:center;gap:18px;min-width:0;min-height:44px;padding:16px;border:1px solid #e1d8d8;border-radius:6px;background:#fff;color:#202020;text-decoration:none;transition:box-shadow .15s,border-color .15s;overflow-wrap:anywhere}
.alltech-poradna-next a.alltech-poradna-next-card:hover{border-color:var(--poradna-accent);box-shadow:0 3px 12px #00000012}
.alltech-poradna-next a.alltech-poradna-next-card:focus-visible{outline:3px solid #202020;outline-offset:4px}
.alltech-poradna-next-card img{display:block;flex:0 0 140px;width:140px;max-width:140px;height:110px;object-fit:contain;margin:0;background:#fff}
.alltech-poradna-next-body{display:block;min-width:0}
.alltech-poradna-next-title{display:block;font-size:1.0625rem;line-height:1.4;margin-bottom:6px;color:#202020}
.alltech-poradna-next-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.875rem;line-height:1.5;color:#555;margin-bottom:10px}
.alltech-poradna-next-cta{display:inline-flex;align-items:center;gap:8px;min-height:28px;font-size:.875rem;font-weight:700;color:var(--poradna-accent)}
@media(max-width:480px){.alltech-poradna-next{padding:14px}.alltech-poradna-next h2,.alltech-poradna-article .alltech-poradna-next h2{font-size:1.125rem}.alltech-poradna-next a.alltech-poradna-next-card{gap:12px;padding:12px;align-items:flex-start}.alltech-poradna-next-card img{flex-basis:84px;width:84px;max-width:84px;height:84px}.alltech-poradna-next-title{font-size:1rem}}

/* Unaltered comparison frames: two labelled views on desktop, stacked on phones. */
@supports selector(:has(*)){
 .alltech-poradna-article .alltech-poradna-figure:has(>img[alt^="Porovnanie nočného obrazu:"]){box-sizing:border-box;display:inline-block;vertical-align:top;width:calc(50% - 16px);margin:12px 6px 24px;padding:10px;border:1px solid #dedede;border-radius:8px;background:#fafafa}
 .alltech-poradna-article .alltech-poradna-figure:has(>img[alt^="Porovnanie nočného obrazu:"]) .alltech-poradna-caption{font-weight:600;color:#242424}
 @media(max-width:600px){.alltech-poradna-article .alltech-poradna-figure:has(>img[alt^="Porovnanie nočného obrazu:"]){display:block;width:auto;margin:16px 0}}
}
