/* blog.support108.eu – vzhľad zladený so support108.eu */

body { min-height:100vh; background-position:center center; background-size:cover; background-repeat:no-repeat; background-attachment:fixed; color:#fff; }
.page-overlay { min-height:100vh; }
.navbar { background:rgba(0,0,0,0.85) !important; }
.navbar-logo { height:42px; width:auto; display:block; }
.navbar-brand { font-size:1.25rem; line-height:1; }
@media (max-width:991.98px) { .navbar-logo { height:34px; } }
@media (min-width:992px) and (max-width:1399.98px) { .navbar .btn-sm { padding:.22rem .45rem; font-size:.8rem; } .navbar .gap-2 { gap:.35rem !important; } .navbar-brand { font-size:1.1rem; } }
.dropdown-dark-s108 { background:rgba(30,30,30,0.97); border:1px solid rgba(255,255,255,0.1); --bs-dropdown-link-hover-bg:rgba(255,255,255,0.08); --bs-dropdown-link-active-bg:rgba(255,255,255,0.12); }

footer { background:rgba(0,0,0,0.9); color:#fff; }
footer a { color:#ffc107; }
.footer-admin { color:#ffc107 !important; text-decoration:none; font-weight:600; opacity:.75; transition:opacity .2s; }
.footer-admin:hover { opacity:1; }

.s108-label { text-transform:uppercase; font-weight:600; font-size:0.72rem; letter-spacing:0.12em; color:#adb5bd; }

/* Hero */
.blog-hero { padding:3.25rem 0 2.75rem; border-bottom:1px solid rgba(255,255,255,0.08); background:linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0)); }
.blog-hero-title { font-size:clamp(1.7rem, 4vw, 2.75rem); font-weight:700; line-height:1.15; }
.blog-hero-sub { font-size:clamp(1rem, 1.6vw, 1.2rem); color:#ced4da; max-width:760px; margin:0 auto; }

/* Karty */
.s108-card { background-color:rgba(255,255,255,0.96); border:0; border-radius:0.75rem; color:#212529; box-shadow:0 6px 22px rgba(0,0,0,0.25); overflow:hidden; }
.s108-card > .card-header { background:#f3f4f6; font-weight:500; color:#212529; border-bottom:1px solid rgba(0,0,0,0.07); padding:.85rem 1.25rem; }
.s108-card a:not(.btn) { color:inherit; }

.featured-img-wrap, .post-card-img-wrap { display:block; position:relative; overflow:hidden; background:#dee2e6; }
.featured-img { width:100%; aspect-ratio:850/400; object-fit:cover; display:block; transition:transform .5s ease; }
.post-card-img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .5s ease; }
.featured-card:hover .featured-img, .post-card:hover .post-card-img { transform:scale(1.035); }
.placeholder-img { display:flex; align-items:center; justify-content:center; color:#adb5bd; font-size:3rem; background:linear-gradient(135deg,#e9ecef,#ced4da); }
.small-ph { aspect-ratio:16/9; font-size:2rem; }
.featured-flag { position:absolute; top:12px; left:12px; background:#ffc107; color:#212529; font-size:.75rem; font-weight:600; padding:4px 10px; border-radius:999px; box-shadow:0 2px 8px rgba(0,0,0,.25); }

.featured-title { font-size:clamp(1.4rem, 2.6vw, 2rem); font-weight:700; line-height:1.2; margin-bottom:.75rem; }
.featured-title a, .post-card-title a { text-decoration:none; color:#212529; }
.featured-title a:hover, .post-card-title a:hover { color:#0d6efd; }
.post-card-title { font-size:1.15rem; font-weight:650; line-height:1.3; margin-bottom:.5rem; }

.post-meta { color:#6c757d; font-size:.85rem; }
.post-meta > span { white-space:nowrap; }
.post-meta > span + span::before { content:"·"; margin:0 .45rem; color:#ced4da; }
.post-meta.d-flex > span + span::before { content:none; }

.cat-badge { --cat:#ffc107; display:inline-flex; align-items:center; font-size:.72rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; padding:4px 10px; border-radius:999px; text-decoration:none;
  color:#212529 !important; background:color-mix(in srgb, var(--cat) 22%, white); border:1px solid color-mix(in srgb, var(--cat) 55%, white); }
.cat-badge:hover { background:color-mix(in srgb, var(--cat) 35%, white); }

/* Sidebar */
.cat-list li a { display:flex; align-items:center; gap:.35rem; padding:.45rem .6rem; border-radius:.5rem; text-decoration:none; color:#212529; transition:background .15s; }
.cat-list li a:hover, .cat-list li a.active { background:#f1f3f5; }
.cat-list li a.active { font-weight:600; }
.cat-dot { width:9px; height:9px; border-radius:50%; display:inline-block; flex-shrink:0; }
.popular-item { background:transparent; }
.popular-rank { width:30px; height:30px; flex-shrink:0; border-radius:50%; background:#212529; color:#ffc107; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; }
.popular-title { font-size:.9rem; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.min-w-0 { min-width:0; }
.cta-card { background:linear-gradient(135deg, rgba(0,87,183,0.92), rgba(0,56,120,0.95)); color:#fff; border-radius:.75rem; box-shadow:0 6px 22px rgba(0,0,0,0.3); position:relative; overflow:hidden; }
.cta-card::after { content:""; position:absolute; left:0; right:0; bottom:0; height:6px; background:#ffd500; }

/* Stránkovanie */
.s108-pagination .page-link { background:rgba(0,0,0,0.55); border-color:rgba(255,255,255,0.15); color:#fff; }
.s108-pagination .page-link:hover { background:rgba(255,255,255,0.12); color:#fff; }
.s108-pagination .active .page-link { background:#ffc107; border-color:#ffc107; color:#212529; font-weight:600; }
.s108-pagination .disabled .page-link { background:rgba(0,0,0,0.35); color:#6c757d; }

/* Detail článku */
.post-full .breadcrumb a { color:#6c757d; text-decoration:none; }
.post-full .breadcrumb a:hover { color:#0d6efd; }
.post-title { font-size:clamp(1.6rem, 3.4vw, 2.4rem); font-weight:750; line-height:1.18; margin:.4rem 0 .9rem; }
.post-cover img { max-height:560px; object-fit:cover; cursor:zoom-in; }
.post-perex { font-size:1.15rem; line-height:1.65; font-weight:500; color:#343a40; border-left:4px solid #ffc107; padding-left:1rem; margin-bottom:1.75rem; }
.post-content { font-size:1.06rem; line-height:1.75; color:#2b2f33; overflow-wrap:break-word; }
.post-content h2, .post-content h3, .post-content h4 { font-weight:700; margin:2rem 0 .9rem; line-height:1.3; }
.post-content h2 { font-size:1.55rem; } .post-content h3 { font-size:1.3rem; } .post-content h4 { font-size:1.12rem; }
.post-content p { margin-bottom:1.15rem; }
.post-content img { max-width:100%; height:auto; border-radius:.5rem; cursor:zoom-in; }
.post-content figure { margin:1.5rem 0; }
.post-content figure.image { display:table; }
.post-content figcaption { font-size:.85rem; color:#6c757d; margin-top:.4rem; text-align:center; }
.post-content blockquote { border-left:4px solid #0057b7; background:#f1f5fb; padding:1rem 1.25rem; border-radius:0 .5rem .5rem 0; font-style:italic; margin:1.5rem 0; }
.post-content a { color:#0d6efd; }
.post-content table { width:100%; margin:1.5rem 0; border-collapse:collapse; font-size:.95rem; }
.post-content table td, .post-content table th { border:1px solid #dee2e6; padding:.5rem .75rem; }
.post-content table th { background:#f8f9fa; }
.post-content iframe { max-width:100%; border:0; border-radius:.5rem; }
.post-content iframe[src*="youtube"], .post-content iframe[src*="vimeo"] { width:100%; height:auto; aspect-ratio:16/9; }
.post-content pre { background:#212529; color:#f8f9fa; padding:1rem; border-radius:.5rem; overflow:auto; }
.post-content hr { margin:2rem 0; }
.post-content .align-left, .post-content img[style*="float: left"] { margin:0 1.25rem 1rem 0; }
.post-content .align-right, .post-content img[style*="float: right"] { margin:0 0 1rem 1.25rem; }
@media (max-width:575.98px) { .post-content img[style*="float"] { float:none !important; display:block; margin:1rem auto !important; } }

/* Odber noviniek */
.newsletter-card { border-top:4px solid #ffc107 !important; }
.nl-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

/* Widget priorít */
.prio-widget { border-top:4px solid #dc3545 !important; }
.prio-track { position:relative; }
.prio-slide { display:none; animation:prioIn .45s ease; }
.prio-slide.active { display:block; }
@keyframes prioIn { from { opacity:0; transform:translateX(12px); } to { opacity:1; transform:none; } }
.prio-img { display:block; background:#f1f3f5; height:190px; overflow:hidden; }
.prio-img img { width:100%; height:100%; object-fit:contain; display:block; }
.prio-noimg { display:flex; height:100%; align-items:center; justify-content:center; font-size:3rem; color:#ced4da; }
.prio-title { font-size:1.02rem; font-weight:700; line-height:1.3; margin-bottom:.4rem; }
.prio-title a { color:#212529; text-decoration:none; }
.prio-title a:hover { color:#0d6efd; }
.prio-text { font-size:.86rem; color:#6c757d; line-height:1.5; margin-bottom:.8rem; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.prio-progress { margin-bottom:.8rem; }
.prio-dots { display:flex; justify-content:center; gap:6px; padding:0 0 .9rem; }
.prio-dot { width:9px; height:9px; border-radius:50%; border:0; padding:0; background:#ced4da; transition:background .2s, transform .2s; }
.prio-dot.active { background:#dc3545; transform:scale(1.25); }
@media (prefers-reduced-motion: reduce) { .prio-slide { animation:none; } }

/* Widget strát okupanta */
.losses-widget { border-top:4px solid #dc3545 !important; }
.losses-label { color:#dc3545 !important; }
.losses-heading { font-size:1.25rem; font-weight:700; color:#212529; }
.losses-via { font-size:.75rem; color:#adb5bd; }
.losses-widget .small a { color:#495057; text-decoration:underline; }
.losses-main { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin-top:1rem; background:#1c1c1c; color:#fff; border-radius:.6rem; padding:.9rem 1.15rem; }
.losses-main-ico { font-size:1.6rem; color:#ffc107; }
.losses-main-lbl { font-size:.82rem; color:#bdbdb6; }
.losses-main-val { font-size:1.7rem; font-weight:700; line-height:1.15; }
.losses-main-inc { background:#ffc107; color:#1c1c1c; border-radius:.45rem; padding:.35rem .8rem; font-weight:700; white-space:nowrap; }
.losses-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(128px, 1fr)); gap:.5rem; margin-top:.75rem; }
.loss-tile { background:#fff; border:1px solid #e4e4e0; border-radius:.6rem; padding:.6rem .7rem; }
.loss-lbl { display:flex; align-items:center; gap:.4rem; font-size:.78rem; color:#6b6b66; line-height:1.25; }
.loss-lbl i, .loss-lbl svg { color:#3a3a36; flex-shrink:0; }
.loss-val { font-size:1.08rem; font-weight:700; color:#212529; margin-top:.2rem; }
.loss-up { font-size:.78rem; font-weight:700; color:#1f7a3a; }
.loss-zero { font-size:.78rem; color:#adb5bd; }
@media (max-width:576px) { .losses-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } .losses-main-val { font-size:1.4rem; } }

/* Stránka údržby */
.maintenance-card { margin:1rem 0 3rem; }
.maintenance-icon { font-size:3rem; color:#6ea8fe; }

/* Príspevky zo sociálnych sietí */
.post-content .social-embed { display:flex; flex-direction:column; align-items:center; margin:1.75rem 0; }
.post-content .social-embed > * { max-width:100%; }
.post-content .social-embed iframe { max-width:100%; }
.post-content blockquote.twitter-tweet, .post-content blockquote.instagram-media, .post-content blockquote.bluesky-embed,
.post-content blockquote.tiktok-embed, .post-content blockquote.text-post-media, .post-content blockquote.telegram-post {
  font-style:normal; background:#fff; border:1px solid #dee2e6; border-left:4px solid #0d6efd; border-radius:.75rem;
  padding:1rem 1.25rem; max-width:550px; width:100%; margin:0 auto; font-size:.95rem; color:#343a40; }
.post-content blockquote.twitter-tweet { border-left-color:#111; }
.post-content blockquote.instagram-media { border-left-color:#d6249f; }
.post-content blockquote.bluesky-embed { border-left-color:#1185fe; }
.post-content blockquote.tiktok-embed { border-left-color:#fe2c55; }
.post-content blockquote.telegram-post { border-left-color:#229ed9; }

/* Galéria */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(var(--thumb,110px), 1fr)); gap:8px; }
.gallery-thumb { display:block; position:relative; overflow:hidden; border-radius:.5rem; aspect-ratio:4/3; background:#e9ecef; box-shadow:0 1px 4px rgba(0,0,0,.12); }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease, filter .35s ease; }
.gallery-thumb::after { content:"\f00e"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.25rem; background:rgba(0,0,0,.35); opacity:0; transition:opacity .25s; }
.gallery-thumb:hover img { transform:scale(1.08); }
.gallery-thumb:hover::after, .gallery-thumb:focus-visible::after { opacity:1; }

/* Zdieľanie */
.share-box { border-top:1px solid #e9ecef; border-bottom:1px solid #e9ecef; padding:1.25rem 0; }
.share-btn { width:42px; height:42px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff !important; border:0; font-size:1.05rem; text-decoration:none; transition:transform .15s, box-shadow .15s, filter .15s; box-shadow:0 2px 6px rgba(0,0,0,.15); }
.share-btn:hover { transform:translateY(-2px); box-shadow:0 6px 14px rgba(0,0,0,.22); filter:brightness(1.08); }
.share-facebook { background:#1877f2; } .share-x { background:#111; } .share-bluesky { background:#1185fe; }
.share-telegram { background:#229ed9; } .share-whatsapp { background:#25d366; } .share-linkedin { background:#0a66c2; }
.share-email { background:#6c757d; } .share-copy { background:#343a40; } .share-native { background:#ffc107; color:#212529 !important; }
.share-copy.copied { background:#198754; }

.post-nav-link { display:block; padding:.85rem 1rem; border:1px solid #e9ecef; border-radius:.6rem; text-decoration:none; transition:background .15s, border-color .15s; height:100%; }
.post-nav-link:hover { background:#f8f9fa; border-color:#ced4da; }
.post-nav-link small { display:block; color:#6c757d; }
.post-nav-link span { font-weight:600; color:#212529; }
.related-card img { aspect-ratio:16/9; object-fit:cover; }
.related-card:hover { transform:translateY(-3px); transition:transform .2s; }

/* Lightbox */
.lb { position:fixed; inset:0; z-index:10050; background:rgba(0,0,0,.94); display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .25s, visibility .25s; touch-action:pan-y; }
.lb.open { opacity:1; visibility:visible; }
.lb-stage { max-width:94vw; max-height:84vh; display:flex; align-items:center; justify-content:center; }
.lb-img { max-width:94vw; max-height:84vh; object-fit:contain; border-radius:.35rem; box-shadow:0 10px 40px rgba(0,0,0,.6); transition:opacity .2s; user-select:none; -webkit-user-drag:none; }
.lb-img.loading { opacity:.25; }
.lb-btn { position:absolute; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; cursor:pointer; transition:background .15s; }
.lb-btn:hover { background:rgba(255,255,255,.25); }
.lb-close { top:16px; right:16px; }
.lb-prev { left:16px; top:50%; transform:translateY(-50%); }
.lb-next { right:16px; top:50%; transform:translateY(-50%); }
.lb-bar { position:absolute; bottom:0; left:0; right:0; padding:12px 20px 16px; text-align:center; color:#e9ecef; font-size:.92rem; background:linear-gradient(0deg, rgba(0,0,0,.7), transparent); }
.lb-count { color:#ffc107; font-weight:600; margin-right:.5rem; }
.lb-strip { display:flex; gap:6px; justify-content:center; margin-top:10px; overflow-x:auto; padding-bottom:4px; }
.lb-strip img { width:56px; height:42px; object-fit:cover; border-radius:4px; opacity:.45; cursor:pointer; border:2px solid transparent; flex-shrink:0; }
.lb-strip img.active { opacity:1; border-color:#ffc107; }
@media (max-width:576px) { .lb-prev, .lb-next { display:none; } .lb-strip { display:none; } }

/* Sociálne „ucho“ (rovnaké ako na support108.eu) */
#support108-social-ear { position:fixed; top:50%; right:0; transform:translateY(-50%); z-index:9999; display:flex; flex-direction:column; gap:8px; }
#support108-social-ear .ear-link { position:relative; right:-10px; width:58px; height:54px; display:flex; align-items:center; justify-content:center; text-decoration:none; color:#fff; border-radius:12px 0 0 12px; border:1px solid #fff; box-shadow:0 4px 14px rgba(0,0,0,0.35); transition:right .25s ease, width .25s ease; font-size:22px; overflow:hidden; }
#support108-social-ear .ear-link:hover { right:0; width:68px; color:#fff; }
#support108-social-ear .hliadka { background:#0A0E14; border-color:#3FB98A; color:#3FB98A; }
#support108-social-ear .hliadka:hover { color:#3FB98A; }
#support108-social-ear .fb { background:#1877f2; }
#support108-social-ear .x { background:#111111; }
#support108-social-ear .bsk { background:#1185fe; }
#support108-social-ear .yt { background:#ff0000; }
@media (max-width:768px) {
  #support108-social-ear { top:auto; bottom:12px; right:12px; left:auto; transform:none; flex-direction:row; justify-content:flex-end; gap:6px; }
  #support108-social-ear .ear-link { right:0; width:40px; height:40px; border-radius:10px; font-size:16px; }
  #support108-social-ear .ear-link:hover { width:40px; right:0; }
}
