/*============================================================================================*/
/* Starbazar – ďalšie stránky 2027: blog, článok, 404                                          */
/*============================================================================================*/
.sb-page { padding: 26px 0 64px; background: #f5f8fb; color: #0f2230; }
.sb-page svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sb-page .sb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #6d7d89; }
.sb-page .sb-breadcrumb a { color: #6d7d89; }
.sb-page .sb-breadcrumb a:hover { color: #1495d6; }
.sb-page .sb-breadcrumb [aria-current] { color: #0f2230; font-weight: 500; }

/* tlačidlá */
.sb-404__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid #d3dfe8; border-radius: 14px; background: #fff; color: #0f2230 !important; font-weight: 600; transition: all .15s; }
.sb-404__btn:hover { border-color: #b9dcf0; background: #f4f9fd; }
.sb-404__btn--primary { border-color: #1495d6; background: #1495d6; color: #fff !important; box-shadow: 0 10px 22px rgba(20, 149, 214, .25); }
.sb-404__btn--primary:hover { background: #0b6f9e; border-color: #0b6f9e; }

/* ---------- 404 ---------- */
.sb-404 { padding: 56px 0 80px; }
.sb-404__box { max-width: 640px; margin: 0 auto; text-align: center; }
.sb-404__code { font-size: clamp(88px, 18vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, #29b3f2, #0b6f9e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-404 h1 { margin: 10px 0 8px; font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.sb-404 p { margin: 0 auto 24px; max-width: 480px; color: #6d7d89; font-size: 16px; line-height: 1.55; }
.sb-404__search { position: relative; display: flex; gap: 8px; padding: 7px; border: 1px solid #d6e7f2; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(12, 52, 82, .12); }
.sb-404__search svg { position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #6d7d89; }
.sb-404__search input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 46px; border: 0; background: transparent; font: inherit; font-size: 16px; color: #0f2230; }
.sb-404__search input:focus { outline: none; }
.sb-404__search button { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 13px; background: #1495d6; color: #fff; font-weight: 700; cursor: pointer; }
.sb-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Blog ---------- */
.sb-blog__head { margin-bottom: 24px; }
.sb-blog__head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.sb-blog__head p { margin: 0; color: #6d7d89; font-size: 16px; }
.sb-blog__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }

.sb-post-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid #e3ecf2; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 34, 48, .04), 0 8px 24px rgba(15, 34, 48, .05); }
.sb-post-card__img { display: block; min-height: 240px; background: #eef4f8; }
.sb-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sb-post-card:hover .sb-post-card__img img { transform: scale(1.03); }
.sb-post-card__body { display: flex; flex-direction: column; padding: 24px 26px; }
.sb-post-card__meta { margin: 0 0 8px; color: #6d7d89; font-size: 13px; }
.sb-post-card__meta span, .sb-post-card__meta a { color: #1495d6; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.sb-post-card h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.sb-post-card h2 a { color: #0f2230; }
.sb-post-card h2 a:hover { color: #0b6f9e; }
.sb-post-card__body > p:not(.sb-post-card__meta) { margin: 0 0 16px; color: #34495a; line-height: 1.6; }
.sb-post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: #0b6f9e; font-weight: 700; }
.sb-post-card__more svg { width: 18px; height: 18px; transition: transform .15s; }
.sb-post-card__more:hover svg { transform: translateX(3px); }

.sb-blog__cta { padding: 22px; border-radius: 20px; background: linear-gradient(150deg, #1495d6, #0b6f9e); color: #dff2fc; box-shadow: 0 16px 36px rgba(11, 111, 158, .22); }
.sb-blog__cta strong { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; }
.sb-blog__cta p { margin: 0 0 16px; line-height: 1.5; }
.sb-blog__cta .sb-404__btn--primary { width: 100%; background: #fff; border-color: #fff; color: #0b6f9e !important; box-shadow: none; }

/* ---------- Článok ---------- */
.sb-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 32px; justify-content: center; align-items: start; }
.sb-article { padding: 34px 40px 40px; border: 1px solid #e3ecf2; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(15, 34, 48, .04), 0 8px 24px rgba(15, 34, 48, .05); font-size: 17px; line-height: 1.75; color: #24394a; }
.sb-article h1 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #0f2230; }
.sb-article__perex { margin: 0 0 22px; font-size: 19px; line-height: 1.65; color: #34495a; }
.sb-article__img { display: block; width: 100%; height: auto; margin: 6px 0 26px; border-radius: 16px; }
.sb-article h2 { display: flex; align-items: center; gap: 12px; margin: 30px 0 10px; font-size: 22px; font-weight: 700; color: #0f2230; }
.sb-article h2 span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #e8f5fc; color: #0b6f9e; font-size: 16px; }
.sb-article p { margin: 0 0 16px; }
.sb-article strong { color: #0f2230; }
.sb-article__outro { margin-top: 26px !important; padding: 18px 20px; border-radius: 14px; background: #f3f9fd; font-style: italic; }
.sb-article__aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.sb-article__back { display: inline-flex; align-items: center; gap: 6px; color: #6d7d89; font-weight: 600; }
.sb-article__back svg { width: 18px; height: 18px; }

@media (max-width: 991.98px) {
	.sb-blog__grid, .sb-article-layout { grid-template-columns: minmax(0, 1fr); }
	.sb-article__aside { position: static; }
}
@media (max-width: 767.98px) {
	.sb-page { padding: 18px 0 40px; }
	.sb-post-card { grid-template-columns: minmax(0, 1fr); }
	.sb-post-card__img { min-height: 0; aspect-ratio: 16 / 9; }
	.sb-post-card__body { padding: 18px; }
	.sb-post-card h2 { font-size: 19px; }
	.sb-article { padding: 22px 18px 26px; font-size: 16px; border-radius: 18px; }
	.sb-article__perex { font-size: 17px; }
	.sb-article h2 { font-size: 19px; }
	.sb-404 { padding: 30px 0 50px; }
	.sb-404__search button { padding: 0 16px; }
}
