/*
Theme Name:   Hello Biz Child
Template:     hello-biz
Version:      1.0.0
Text Domain:  hello-biz-child
*/
/* BLOG HERO */
.blog-hero { background:#080d1a; padding:5rem clamp(1.5rem,4vw,3rem) 4.5rem; position:relative; overflow:hidden; }
.blog-hero::before { content:''; position:absolute; top:-20%; left:50%; transform:translateX(-50%); width:70%; height:70%; background:radial-gradient(ellipse, rgba(43,127,255,0.08) 0%, transparent 65%); pointer-events:none; }
.blog-hero-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }
.blog-hero-label { display:inline-flex; align-items:center; gap:0.6rem; font-size:0.7rem; font-weight:700; letter-spacing:0.15em; color:rgba(238,242,255,0.35); text-transform:uppercase; margin-bottom:1.25rem; }
.blog-hero-label::before { content:''; display:block; width:2rem; height:1px; background:#5ba4ff; opacity:0.6; }
.blog-hero-title { font-size:clamp(2rem,4vw,3.4rem) !important; font-weight:900 !important; line-height:1.1 !important; letter-spacing:-0.03em !important; color:#eef2ff !important; margin-bottom:1.25rem !important; max-width:780px; }
.blog-hero-title * { font-size:inherit !important; font-weight:inherit !important; line-height:inherit !important; letter-spacing:inherit !important; color:#eef2ff !important; }
.blog-hero-title .blue { color:#5ba4ff !important; }
.blog-hero-desc { font-size:1rem !important; line-height:1.7; color:rgba(238,242,255,0.52) !important; max-width:560px; }

/* BLOG MAIN */
.blog-main { background:#ffffff; padding:4rem clamp(1.5rem,4vw,3rem) 6rem; }
.blog-container { max-width:1200px; margin:0 auto; }

/* FEATURED */
.blog-featured { display:grid !important; grid-template-columns:1fr 1fr; border:1px solid rgba(43,127,255,0.12); border-radius:16px; overflow:hidden; margin-bottom:3rem; background:#f8fbff; transition:box-shadow 0.25s ease; }
.blog-featured:hover { box-shadow:0 8px 32px rgba(43,127,255,0.1); }
.blog-featured-img-wrap { display:block; overflow:hidden; aspect-ratio:16/10; }
.blog-featured-img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.blog-featured-img-wrap:hover .blog-featured-img { transform:scale(1.04); }
.blog-featured-body { padding:2.5rem 2.75rem; display:flex; flex-direction:column; justify-content:center; }
.blog-featured-meta { display:flex; align-items:center; flex-wrap:wrap; gap:0.6rem; margin-bottom:1rem; }
.blog-featured-title { font-size:clamp(1.4rem,2.2vw,2rem) !important; font-weight:900 !important; line-height:1.2 !important; letter-spacing:-0.025em; color:#0d1526 !important; margin-bottom:1rem; }
.blog-featured-title a { color:inherit !important; text-decoration:none; transition:color 0.2s ease; }
.blog-featured-title a:hover { color:#2b7fff !important; }
.blog-featured-excerpt { font-size:0.95rem; line-height:1.75; color:#5b6b84; margin-bottom:1.5rem; max-width:48ch; }

/* GRID */
.blog-grid { display:grid !important; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-bottom:3.5rem; }

/* CARD */
.blog-card { background:#f8fbff; border:1px solid rgba(43,127,255,0.1); border-radius:14px; overflow:hidden; display:flex !important; flex-direction:column; transition:box-shadow 0.25s ease, transform 0.25s ease; }
.blog-card:hover { box-shadow:0 8px 24px rgba(43,127,255,0.09); transform:translateY(-3px); }
.blog-card-img-wrap { display:block; overflow:hidden; aspect-ratio:16/9; }
.blog-card-img { width:100%; height:100%; object-fit:cover; transition:transform 0.45s ease; }
.blog-card-img-wrap:hover .blog-card-img { transform:scale(1.05); }
.blog-card-no-img { width:100%; min-height:180px; background:linear-gradient(135deg,rgba(43,127,255,0.06) 0%,rgba(91,164,255,0.1) 100%); }
.blog-card-body { padding:1.5rem 1.5rem 1.25rem; display:flex; flex-direction:column; flex:1; }
.blog-card-meta { display:flex; align-items:center; flex-wrap:wrap; gap:0.5rem; margin-bottom:0.75rem; }
.blog-card-title { font-size:1.05rem !important; font-weight:800 !important; line-height:1.3; letter-spacing:-0.02em; color:#0d1526 !important; margin-bottom:0.6rem; }
.blog-card-title a { color:inherit !important; text-decoration:none; transition:color 0.2s ease; }
.blog-card-title a:hover { color:#2b7fff !important; }
.blog-card-excerpt { font-size:0.85rem; line-height:1.7; color:#5b6b84; flex:1; margin-bottom:1.1rem; }
.blog-card-footer { display:flex; justify-content:space-between; align-items:center; padding-top:0.85rem; border-top:1px solid rgba(43,127,255,0.08); }

/* SHARED */
.blog-tag { display:inline-flex !important; align-items:center; background:rgba(43,127,255,0.08) !important; border:1px solid rgba(43,127,255,0.18) !important; border-radius:100px; padding:0.2rem 0.65rem; font-size:0.68rem !important; font-weight:700; color:#2b7fff !important; letter-spacing:0.04em; text-transform:uppercase; }
.blog-meta-date, .blog-meta-read { font-size:0.72rem; font-weight:500; color:#94a3b8 !important; }
.blog-read-more { display:inline-flex; align-items:center; gap:0.35rem; font-size:0.9rem; font-weight:700; color:#2b7fff !important; text-decoration:none !important; transition:gap 0.2s ease; }
.blog-read-more:hover { gap:0.6rem; color:#2b7fff !important; }
.blog-read-more-sm { font-size:0.78rem; font-weight:700; color:#2b7fff !important; text-decoration:none !important; }
.blog-read-more-sm:hover { color:#0d1526 !important; }

/* PAGINATION */
.blog-pagination { display:flex; justify-content:center; margin-top:1rem; }
.blog-pagination .nav-links { display:flex; gap:0.5rem; align-items:center; }
.blog-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid rgba(43,127,255,0.15) !important; border-radius:8px; font-size:0.85rem; font-weight:600; color:#5b6b84 !important; text-decoration:none; transition:all 0.2s ease; background:#f8fbff !important; }
.blog-pagination .page-numbers:hover, .blog-pagination .page-numbers.current { background:#2b7fff !important; color:#fff !important; border-color:#2b7fff !important; }
.blog-pagination .prev, .blog-pagination .next { width:auto; padding:0 1rem; }

/* EMPTY */
.blog-empty { text-align:center; padding:5rem 2rem; color:#94a3b8; }
.blog-empty-icon { font-size:2.5rem; margin-bottom:1rem; }
.blog-empty h2 { color:#0d1526; font-size:1.4rem; margin-bottom:0.5rem; }

/* RESPONSIVE */
@media(max-width:960px){ .blog-featured{ grid-template-columns:1fr !important; } .blog-featured-img-wrap{ aspect-ratio:16/7; } .blog-grid{ grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:580px){ .blog-grid{ grid-template-columns:1fr !important; } .blog-featured-body{ padding:1.75rem 1.5rem; } }
/* =========================
   SINGLE POST
   ========================= */
.single-hero {
  background: #11233f;
  padding: 4.25rem clamp(1.5rem,4vw,3rem) 3.25rem;
  position: relative;
  overflow: hidden;
}
.single-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(91,164,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.single-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(238,242,255,0.72) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}
.single-back-link:hover {
  color: #5ba4ff !important;
}
.single-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.single-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(43,127,255,0.14);
  border: 1px solid rgba(91,164,255,0.22);
  border-radius: 100px;
  padding: 0.28rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fc0ff !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.single-meta-date,
.single-meta-read {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(238,242,255,0.66) !important;
}
.single-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  color: #eef2ff !important;
  margin-bottom: 1rem !important;
  max-width: 24ch;
}
.single-hero-excerpt {
  font-size: 0.98rem !important;
  line-height: 1.75;
  color: rgba(238,242,255,0.72) !important;
  max-width: 60ch;
  margin: 0;
}

.single-main {
  background: #ffffff;
  padding: 3rem clamp(1.5rem,4vw,3rem) 6rem;
}
.single-container {
  max-width: 920px;
  margin: 0 auto;
}
.single-featured-image-wrap {
  margin-bottom: 2.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(43,127,255,0.12);
  box-shadow: 0 10px 30px rgba(15,30,60,0.06);
}
.single-featured-image {
  display: block;
  width: 100%;
  height: auto;
}
.single-article {
  background: #ffffff;
}
.single-content {
  color: #122033;
  font-size: 1.04rem;
  line-height: 1.9;
}
.single-content > *:first-child {
  margin-top: 0;
}
.single-content p {
  margin: 0 0 1.5rem;
  color: #43536b;
}
.single-content h2,
.single-content h3,
.single-content h4 {
  color: #0d1526 !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em;
  margin: 2.4rem 0 1rem;
}
.single-content h2 { font-size: clamp(1.55rem,2.3vw,2.05rem) !important; }
.single-content h3 { font-size: clamp(1.25rem,1.8vw,1.55rem) !important; }
.single-content h4 { font-size: 1.1rem !important; }
.single-content ul,
.single-content ol {
  margin: 0 0 1.6rem 1.25rem;
  color: #43536b;
}
.single-content li {
  margin-bottom: 0.65rem;
}
.single-content a {
  color: #2b7fff !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.single-content strong {
  color: #0d1526;
}
.single-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid #2b7fff;
  background: #f8fbff;
  border-radius: 12px;
  color: #1d2a3a;
}
.single-content img {
  border-radius: 14px;
  margin: 2rem auto;
}
.single-content figure {
  margin: 2rem 0;
}
.single-content figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: #7c8aa0;
  margin-top: 0.65rem;
}
.single-content hr {
  border: 0;
  border-top: 1px solid rgba(43,127,255,0.12);
  margin: 2.2rem 0;
}
.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 12px;
  font-size: 0.92rem;
}
.single-content th,
.single-content td {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(43,127,255,0.08);
  text-align: left;
}
.single-content th {
  background: #f8fbff;
  color: #0d1526;
}
.single-bottom-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43,127,255,0.1);
}
.single-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2b7fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.single-back-button:hover {
  color: #0d1526 !important;
}

@media (max-width: 640px) {
  .single-hero {
    padding: 3.5rem 1.25rem 2.6rem;
  }
  .single-main {
    padding: 2.25rem 1.25rem 4rem;
  }
  .single-hero-inner {
    max-width: 100%;
  }
  .single-hero-title {
    max-width: none;
  }
  .single-content {
    font-size: 1rem;
    line-height: 1.8;
  }
}
/* ══════════════════════════════════════════
   HEADER – jasny, sticky
══════════════════════════════════════════ */
.rk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.25s ease;
}
.rk-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(10, 15, 30, 0.08);
}
.rk-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.rk-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.rk-logo__text {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #0a0f1e;
  letter-spacing: -0.02em;
}
.rk-logo__text strong {
  font-weight: 900;
  color: #0a0f1e;
}
.rk-logo__dot {
  color: #2b7fff;
  font-weight: 900;
}

/* Nawigacja */
.rk-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.rk-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.rk-nav__list li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.rk-nav__list li a:hover,
.rk-nav__list li.current-menu-item a {
  color: #2b7fff;
  background: #f0f6ff;
}

/* CTA button */
.rk-header__cta {
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: #2b7fff;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.rk-header__cta:hover {
  background: #1a6be8;
  transform: translateY(-1px);
}

/* Hamburger */
.rk-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.rk-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a0f1e;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.rk-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rk-burger.is-open span:nth-child(2) { opacity: 0; }
.rk-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.rk-mobile-menu {
  display: none;
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}
.rk-mobile-menu.is-open { display: block; }
.rk-mobile-menu__list {
  list-style: none;
  margin: 0 0 1rem; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.rk-mobile-menu__list li a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0a0f1e;
  text-decoration: none;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s ease;
}
.rk-mobile-menu__list li a:hover { color: #2b7fff; }
.rk-header__cta--mobile {
  display: inline-block;
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
  padding: 0.85rem;
}

@media (max-width: 860px) {
  .rk-nav, .rk-header__cta:not(.rk-header__cta--mobile) { display: none; }
  .rk-burger { display: flex; }
}

/* ══════════════════════════════════════════
   FOOTER – jasny
══════════════════════════════════════════ */
.rk-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-family: 'DM Sans', sans-serif;
}
.rk-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 2.5rem) 3rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
}
.rk-footer__tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 28ch;
}
.rk-footer__col-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.rk-footer__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rk-footer__links a {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}
.rk-footer__links a:hover { color: #2b7fff; }

/* Stopka dolna */
.rk-footer__bottom {
  border-top: 1px solid #e2e8f0;
}
.rk-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.rk-footer__copy {
  font-size: 0.8rem;
  color: #94a3b8;
}
.rk-footer__legal {
  display: flex;
  gap: 1.5rem;
}
.rk-footer__legal a {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.rk-footer__legal a:hover { color: #2b7fff; }

@media (max-width: 860px) {
  .rk-footer__inner { grid-template-columns: 1fr 1fr; }
  .rk-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rk-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .rk-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}