/* metalsradar Fintech: lista bloga (makieta blog.html). Karty równej wysokości, obraz 16:9, tytuł 2 linie, zajawka 3 linie. */
.mrf-blog .bhead { margin: 6px 0 22px; }
.mrf-blog .bhead h1 { margin: 6px 0 8px; }
.mrf-blog .bhead p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 16px; }
.mrf-blog a.panel { display: flex; flex-direction: column; overflow: hidden; padding: 0; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.mrf-blog a.panel:hover { border-color: var(--up); transform: translateY(-2px); }
.mrf-blog .ph { aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; flex: none; }
.mrf-blog .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mrf-blog .bd { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.mrf-blog .bd h2, .mrf-blog .bd h3 { margin: 0; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mrf-blog .bd h3 { font-size: 17px; font-weight: 800; }
.mrf-blog .bd p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.mrf-blog .meta3 { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.mrf-blog .meta3 .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.mrf-blog .tag2 { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--up); background: var(--up-soft); padding: 4px 8px; border-radius: 6px; }
.mrf-blog a.panel.featured { flex-direction: row; margin-bottom: 18px; }
.mrf-blog .featured .ph { flex: 0 0 52%; aspect-ratio: auto; min-height: 280px; }
.mrf-blog .featured .bd { padding: 26px 28px; justify-content: center; gap: 12px; }
.mrf-blog .featured h2 { font-size: 26px; }
.mrf-blog .featured p { -webkit-line-clamp: 4; font-size: 15px; }
.mrf-blog .featured .meta3 { margin-top: 0; }
.mrf-blog .featured .btn { align-self: flex-start; }
.mrf-blog .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.mrf-blog .pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.mrf-blog .pager a { min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font-weight: 700; text-decoration: none; }
.mrf-blog .pager a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mrf-blog .pager a:hover:not(.on) { border-color: var(--up); }
/* Wyróżniony wpis + „Najczęściej czytane” obok (tylko gdy są dane) */
.mrf-blog .top { margin-bottom: 18px; }
.mrf-blog .top a.panel.featured { margin-bottom: 0; }
.mrf-blog .top.has-most { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: stretch; }
.mrf-blog .top.has-most a.panel.featured .ph { flex-basis: 46%; }
.mrf-blog .most { padding: 18px; }
.mrf-blog .most h2 { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.mrf-blog .most ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mrf-blog .most a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.mrf-blog .most a:hover { background: var(--up-soft); }
.mrf-blog .most .n { flex: none; width: 24px; font-weight: 800; color: var(--up); text-align: center; }
.mrf-blog .most img { flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.mrf-blog .most .t { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 980px) {
	.mrf-blog .top.has-most { grid-template-columns: 1fr; }
	.mrf-blog .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mrf-blog a.panel.featured { flex-direction: column; }
	.mrf-blog .featured .ph { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 640px) {
	.mrf-blog .posts { grid-template-columns: 1fr; }
	.mrf-blog .featured .bd { padding: 18px; }
	.mrf-blog .featured h2 { font-size: 21px; }
}
/* Telefon/tablet (2026-10-03): reguła .top.has-most dawała obrazkowi flex-basis 46%, więc w układzie kolumnowym treść karty
   się ściskała i przycisk „Czytaj artykuł” był ucięty dolną krawędzią karty. Obraz 16:9 bez flex-basis, treść pełnej wysokości. */
@media (max-width: 980px) {
	.mrf-blog .top.has-most a.panel.featured .ph { flex: none; }
	.mrf-blog a.panel.featured .bd { flex: none; }
}
