/* =========================================================================
   BLOG – optika téma
   Doplnkové štýly k existujúcim triedam (.article-short, .product-sidebar…).
   ========================================================================= */

/* ---------- Sidebar kategórií ---------------------------------------- */
.blog-sidebar .sidebar-box { margin-bottom: 24px; }
.blog-cat-list { list-style: none; margin: 0; padding: 0; }
.blog-cat-list li { border-bottom: 1px solid #f1f1f1; }
.blog-cat-list li:last-child { border-bottom: 0; }
.blog-cat-list li a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 9px 4px; color: #333; font-size: 14px; text-decoration: none;
	transition: color .15s, padding-left .15s;
}
.blog-cat-list li a:hover { color: var(--main-color, #000); padding-left: 8px; }
.blog-cat-list li.is-active a { color: var(--main-color, #000); font-weight: 700; }
.blog-cat-list .counter { color: #999; font-size: 12px; font-weight: 400; }

/* ---------- Karta článku (rozšírenie .article-short) ----------------- */
.article-short { position: relative; height: 100%; display: flex; flex-direction: column; }
.article-short .img-box { position: relative; overflow: hidden; }
.article-short .article-date {
	position: absolute; left: 10px; bottom: 10px;
	background: var(--main-color, #000); color: #fff;
	font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 3px;
}
.article-short .info-box { display: flex; flex-direction: column; flex: 1 1 auto; }
.article-short .article-cat {
	display: inline-block; margin-bottom: 6px; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .03em; color: var(--main-color, #000);
	text-decoration: none;
}
.article-short .article-cat:hover { text-decoration: underline; }
.article-short .title { margin-bottom: 6px; }
.article-short .perex { color: #666; margin-bottom: 12px; }
.article-short .text-left { margin-top: auto; }

/* ---------- Detail článku -------------------------------------------- */
.article-detail .article-meta-date {
	display: inline-block; margin-top: 6px; color: #888; font-size: 14px;
}
.article-detail .article-meta-date i { margin-right: 4px; }
.article-detail .img-box img { border-radius: 6px; object-fit: cover; max-height: 460px; }
.article-detail .bulk-data { font-size: 16px; line-height: 1.7; color: #333; }
.article-detail .bulk-data img { max-width: 100%; height: auto; border-radius: 6px; }
.article-detail .bulk-data h2,
.article-detail .bulk-data h3 { margin-top: 1.4em; margin-bottom: .5em; }
.article-detail .bulk-data a { color: var(--main-color, #000); text-decoration: underline; }

.blog-cat-desc { color: #666; }

/* ---------- Prázdny stav --------------------------------------------- */
.blog-empty {
	padding: 40px 20px; text-align: center; color: #888;
	background: rgba(0, 0, 0, .02); border: 1px solid #f1f1f1; border-radius: 6px;
}

/* ---------- Stránkovanie (bootstrap) --------------------------------- */
.blog-pagination .pagination { margin-bottom: 0; }
.blog-pagination .page-item.active .page-link {
	background: var(--main-color, #000); border-color: var(--main-color, #000);
}
.blog-pagination .page-link { color: var(--main-color, #000); }
