.mn-a:hover { background: var(--mag-w); color: var(--mag); }


/* ════════════════════════════════════════
   BLOG ARCHIVE - HEADER
════════════════════════════════════════ */
.blog-header {
  background: linear-gradient(145deg, var(--mag-w) 0%, rgba(255,218,237,.3) 100%);
  padding: clamp(48px,7vw,88px) var(--px) clamp(36px,5vw,56px);
  text-align: center;
}
.bh-title { font-family: var(--f-serif); font-size: clamp(32px,5vw,52px); color: var(--ink); margin-bottom: 14px; }
.bh-desc {
  font-size: clamp(16px, 2vw, 18px); color: var(--slate); max-width: 680px; margin: 0 auto; line-height: 1.6;
}

/* ════════════════════════════════════════
   FEATURED POST
════════════════════════════════════════ */
/* ════════════════════════════════════════
   BLOG GRID & FILTERS
════════════════════════════════════════ */
.blog-main { background: var(--bg); }
.bm-container { width: 100%; }

.b-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.b-filters::-webkit-scrollbar { display: none; }
.b-filters .f-btn { flex-shrink: 0; }
.f-btn {
  padding: 10px 24px; border-radius: var(--r-pill); border: 1px solid rgba(0,0,0,0.08);
  font-family: var(--f-ui); font-size: 15px; font-weight: 500; color: var(--slate);
  background: var(--white); transition: all var(--tf); cursor: pointer; white-space: nowrap;
}
.f-btn:hover { background: var(--mag-g); color: var(--mag-dim); }
.f-btn.active { background: var(--mag); color: var(--white); border-color: var(--mag); box-shadow: 0 4px 12px rgba(223,59,163,0.2); }

.b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bcard {
  background: var(--white); border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06); transition: box-shadow var(--tn), transform var(--tn);
  display: flex; flex-direction: column;
}
.bcard:hover {
  box-shadow: 0 12px 32px rgba(26,21,35,0.06); transform: translateY(-4px);
}
.bcard.hide { display: none; }

.bthumb { height: 220px; position: relative; overflow: hidden; }
.bthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--eo); }
.bcard:hover .bthumb img { transform: scale(1.05); }
.bcat {
  position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--ink);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill); box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bbody { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.bmeta { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--gray); margin-bottom: 12px; }
.bmeta-l { display: flex; align-items: center; gap: 6px; }
.btit { font-weight: 500; font-size: 20px; color: var(--ink); line-height: 1.35; margin-bottom: 12px; }
.bexc { font-size: 15px; color: var(--slate); line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }

.b-more {
  font-size: 14px; font-weight: 600; color: var(--slate); 
  display: flex; align-items: center; gap: 8px; transition: color var(--tf);
  margin-top: auto;
}
.b-more:hover { color: var(--ink); }
.b-more-icon {
  background: var(--mag-w); color: var(--mag); width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 18px; transition: background var(--tf);
}
.b-more:hover .b-more-icon { background: #f4d5ea; }

/* ════════════════════════════════════════
   PAGINATION (femimea_render_pagination)
════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(40px,5vw,72px);
  flex-wrap: wrap;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-btn);
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all var(--tf);
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
a.page-btn:hover {
  background: var(--mag-w);
  color: var(--mag);
  border-color: var(--mag-w);
}
.page-btn.active {
  background: var(--mag);
  color: var(--white);
  border-color: var(--mag);
  box-shadow: 0 4px 12px rgba(223,59,163,0.2);
  cursor: default;
}
.page-btn.active:hover {
  background: var(--mag);
  color: var(--white);
  border-color: var(--mag);
}
.page-dots {
  color: var(--gray);
  font-weight: 500;
  padding: 0 4px;
  user-select: none;
}

@media (max-width: 640px) {
  .pagination { gap: 6px; }
  .page-btn { min-width: 44px; min-height: 44px; font-size: 14px; padding: 0 12px; }
}

/* Footer / topbar / nav: globalnie z global.css — nie duplikujemy. */

@media (max-width: 1024px) {
  .b-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .b-grid { grid-template-columns: 1fr; gap: 16px; }
  .b-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .b-filters::-webkit-scrollbar { display: none; }
}