/* metalsradar Fintech: strona główna (komponenty bazowe w product.css i category.css) */
.mrf-home .hero { margin-top: 20px; }
.mrf-home .hero-l { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; padding: 40px; background: radial-gradient(80% 120% at 100% 0%, var(--up-soft), transparent 60%), var(--panel); }
.mrf-home .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--up); margin-bottom: 10px; }
.mrf-p.mrf-home h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 12px; max-width: 640px; }
.mrf-home h1 em { font-style: normal; color: var(--up); }
.mrf-home .hero .sub { font-size: 17px; color: var(--muted); max-width: 600px; margin-bottom: 20px; }
.mrf-home .search { display: flex; gap: 8px; max-width: 620px; }
.mrf-home .search input { flex: 1; height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font: 500 16px var(--f-ui); background: var(--panel); }
.mrf-home .search input:focus { outline: none; border-color: var(--up); box-shadow: 0 0 0 3px var(--up-soft); }
.mrf-home .search .btn { height: 52px; padding: 0 22px; font-size: 15px; }
.mrf-home .quick { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; font-size: 13.5px; color: var(--muted); align-items: center; }
.mrf-home .quick a { color: var(--ink); font-weight: 600; border-bottom: 1px dashed var(--faint); }
.mrf-home .quick a:hover { color: var(--up); border-color: var(--up); }
.mrf-home .hstat { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.mrf-home .hstat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mrf-home .hstat span { font-size: 13px; color: var(--muted); }

.mrf-home .sec { margin-top: 40px; }
.mrf-home .cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mrf-home .cat { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px; color: var(--ink); }
.mrf-home .cat:hover { border-color: var(--up); color: var(--ink); }
.mrf-home .cimg { width: 56px; height: 56px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mrf-home .cimg img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; }
.mrf-home .ct b { display: block; font-size: 16px; }
.mrf-home .ct small { display: block; color: var(--muted); font-size: 13px; }
.mrf-home .cat .go { font-size: 22px; color: var(--up); }


.mrf-home .dealers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mrf-home .dcard { height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px; color: var(--ink); }
.mrf-home .dcard:hover { border-color: var(--up); }
.mrf-home .dcard img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }

.mrf-home .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mrf-home .post { display: flex; flex-direction: column; gap: 6px; padding: 14px; color: var(--ink); }
.mrf-home .post:hover { border-color: var(--up); color: var(--ink); }
.mrf-home .pimg2 { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--soft); margin-bottom: 6px; }
.mrf-home .pimg2 img { width: 100%; height: 100%; object-fit: cover; }
.mrf-home .post small { color: var(--muted); font-size: 12.5px; }
.mrf-home .post b { font-size: 16px; line-height: 1.35; }
.mrf-home .more { color: var(--up); font-weight: 700; font-size: 14px; }

@media (max-width: 980px) {
	.mrf-home .hero { grid-template-columns: 1fr; }
	.mrf-p.mrf-home h1 { font-size: 34px; }
	.mrf-home .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.mrf-home .hero-l { padding: 22px; }
	.mrf-p.mrf-home h1 { font-size: 28px; }
	.mrf-home .search { flex-direction: column; }
	.mrf-home .posts { grid-template-columns: 1fr; }
}

/* Równe rzędy: liczba kolumn z szablonu (--cols), ostatni niepełny rząd wyśrodkowany */
.mrf-home .bal { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mrf-home .bal > * { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); min-width: 0; }
.mrf-home .posts.bal > * { max-width: 380px; }
@media (max-width: 980px) {
	.mrf-home .bal { --cols: 3 !important; }
	.mrf-home .cats.bal { --cols: 2 !important; }
}
@media (max-width: 640px) {
	.mrf-home .bal { --cols: 2 !important; }
	.mrf-home .cats.bal { --cols: 1 !important; }
}

/* Hero: wizualizacja (makieta: ranking + oszczędność + wykres) */
.mrf-home .quick a { border: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.mrf-home .quick a:hover { border-color: var(--up); }
.mrf-home .hstat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; margin-top: 24px; }
.mrf-home .hstat > div { padding: 14px 16px; background: var(--soft); border-right: 1px solid var(--line); }
.mrf-home .hstat > div:last-child { border-right: 0; }
.mrf-home .hero-viz { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: relative; }
.mrf-home .hv { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -24px rgba(16,24,40,.35); padding: 14px 16px; color: var(--ink); }
.mrf-home a.hv:hover { border-color: var(--up); color: var(--ink); }
.mrf-home .hv .t { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mrf-home .hv-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mrf-home .hv-row .r { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 7px; background: var(--chip); font-size: 12px; font-weight: 800; color: var(--muted); }
.mrf-home .hv-row.best { background: #f2fbf7; border-radius: 10px; border-bottom-color: transparent; }
.mrf-home .hv-row.best .r { background: var(--up); color: #fff; }
.mrf-home .hv-row .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrf-home .hv-row b, .mrf-home .hv-last b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrf-home .hv-last { display: flex; justify-content: space-between; gap: 10px; padding: 10px 6px 2px; margin-top: 2px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.mrf-home .hv-last b { color: var(--down); }
.mrf-home .hv-pill { align-self: center; margin: -14px 0 -14px; position: relative; z-index: 2; background: var(--up); color: #fff; font-weight: 800; font-size: 14.5px; border-radius: 999px; padding: 10px 18px; box-shadow: 0 12px 24px -12px rgba(14,159,110,.7); }
.mrf-home .hv-chart { margin-top: 0; }
.mrf-home .hv-pill + .hv-chart, .mrf-home .hv + .hv-chart { margin-top: 26px; }
.mrf-home .hv-chart .up { color: var(--up); }
.mrf-home .hv-chart .down { color: var(--down); }
.mrf-home .hv-chart .big { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mrf-home .hv-chart .big small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.mrf-home .hv-chart svg { display: block; width: 100%; height: 72px; margin-top: 8px; }
.mrf-home .spk-l { fill: none; stroke: var(--up); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mrf-home .spk-a { fill: var(--up-soft); opacity: .8; }
.mrf-home .hv-chart .src { display: block; margin-top: 6px; font-size: 11.5px; color: var(--faint); }

/* Najtańsze sztabki dziś: kafelki */
.mrf-home .today .trow { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; color: var(--ink); border-left: 4px solid #e2b33c; }
.mrf-home .today .trow:hover { border-color: var(--up); border-left-color: #e2b33c; color: var(--ink); }
.mrf-home .today .nm { font-weight: 700; font-size: 14px; line-height: 1.3; }
.mrf-home .today .pr { font-weight: 800; font-size: 18px; color: var(--up); font-variant-numeric: tabular-nums; }
.mrf-home .today .dl { font-size: 12px; color: var(--muted); }

@media (max-width: 1100px) {
	.mrf-home .hero-l { grid-template-columns: 1fr; }
	.mrf-home .hero-viz { max-width: 460px; }
}
@media (max-width: 640px) {
	.mrf-home .hstat { grid-template-columns: 1fr 1fr; }
	.mrf-home .hstat > div:nth-child(2) { border-right: 0; }
	.mrf-home .hstat > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ===== Sekcje z makiety ===== */
.mrf-home .coin { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 800; flex: none; }
.mrf-home .coin.au { background: radial-gradient(circle at 35% 30%, #fbefc4, #d4b566 55%, #a3812d); color: #5c4517; }
.mrf-home .coin.ag { background: radial-gradient(circle at 35% 30%, #ffffff, #d5dbe2 55%, #9aa4b0); color: #3d4652; }

/* Monety 1 oz */
.mrf-home .oz { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mrf-home .ozcol { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mrf-home .ozhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mrf-home .ozcol.au .ozhead { background: linear-gradient(90deg, #fff3d6, var(--panel)); }
.mrf-home .ozcol.ag .ozhead { background: linear-gradient(90deg, #e8f0fa, var(--panel)); }
.mrf-home .ozhead h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin: 0; }
.mrf-home .ozhead .spot { font-size: 12px; color: var(--muted); text-align: right; }
.mrf-home .ozhead .spot b { display: block; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mrf-home .ozrow { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mrf-home .ozrow:hover { background: var(--soft); color: var(--ink); }
.mrf-home .ozrow.best { background: #f2fbf7; }
.mrf-home .ozrow .nm b { display: block; font-size: 14.5px; }
.mrf-home .ozrow .nm small { font-size: 12px; color: var(--muted); }
.mrf-home .ozrow .pr { text-align: right; }
.mrf-home .ozrow .pr b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrf-home .ozrow .pr small { font-size: 11.5px; color: var(--muted); }
.mrf-home .ozrow.best .pr b { color: var(--up); }
.mrf-home .ozfoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.mrf-home .ozfoot a { color: var(--up); font-weight: 700; white-space: nowrap; }

/* Liczba dnia */
.mrf-home .band { margin: 40px 0 0; border-radius: 22px; padding: 34px 36px; color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 34px; align-items: center; position: relative; overflow: hidden; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(120deg, #0b7a55, #0e9f6e 55%, #19b884); box-shadow: none; border: 0; }
.mrf-home .band .lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.mrf-home .band .big { font-size: 64px; line-height: .95; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mrf-home .band p { font-size: 17px; line-height: 1.5; max-width: 46ch; margin: 0; opacity: .95; color: #fff; }
.mrf-home .band p b { font-weight: 800; }
.mrf-home .band .btn { background: #fff; color: #0b7a55; border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 800; }
.mrf-home .band .btn:hover { background: #f2fbf7; color: #0b7a55; }

/* Co chcesz kupić? */
.mrf-home .cat2 { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .15s, border-color .15s; }
.mrf-home .cat2:hover { transform: translateY(-3px); border-color: var(--up); color: var(--ink); }
.mrf-home .cat2 .art { display: block; height: 150px; background-size: cover; background-position: 70% center; position: relative; }
.mrf-home .cat2 .art.pt { filter: grayscale(.4) brightness(1.05); }
.mrf-home .cat2 .cnt { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.88); border-radius: 999px; padding: 3px 9px; color: var(--ink); }
.mrf-home .cat2 .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.mrf-home .cat2 b { font-size: 17px; }
.mrf-home .mtag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-bottom: 4px; }
.mrf-home .mtag.au { background: #fff3d6; color: #9a5f00; }
.mrf-home .mtag.ag, .mrf-home .mtag.pt { background: #e8f0fa; color: #3d5a80; }
.mrf-home .cat2 .from { font-size: 13px; color: var(--muted); }
.mrf-home .cat2 .from strong { font-size: 18px; color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.mrf-home .cat2 .go { font-size: 13px; font-weight: 700; color: var(--up); margin-top: 6px; }

/* Rynek w liczbach */
.mrf-home .bento { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: auto; gap: 14px; }
.mrf-home .b-chart { grid-row: span 2; padding: 20px; display: flex; flex-direction: column; }
.mrf-home .bento .tile { padding: 20px; }
.mrf-home .bento h3 { font-size: 15px; font-weight: 800; margin: 0 0 2px; }
.mrf-home .bento .s { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.mrf-home .spotrow { display: flex; gap: 24px; flex-wrap: wrap; margin: 6px 0 12px; }
.mrf-home .spotrow b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mrf-home .spotrow span { font-size: 12px; color: var(--muted); }
.mrf-home .up-t { color: var(--up); font-weight: 700; }
.mrf-home .dn-t { color: var(--down); font-weight: 700; }
.mrf-home .bigchart { flex: 1; display: flex; min-height: 240px; margin-top: 14px; }
.mrf-home .t-ratio { text-align: center; }
.mrf-home .t-ratio .ratio { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0; font-variant-numeric: tabular-nums; }
.mrf-home .gnote { font-size: 12.5px; color: var(--muted); margin: 0; }
.mrf-home .buy10 .amt { font-size: 14px; color: var(--muted); }
.mrf-home .buy10 .amt b { color: var(--ink); font-size: 18px; }
.mrf-home .buy10 input[type=range] { -webkit-appearance: auto; appearance: auto; width: 100%; height: auto; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; accent-color: var(--up); margin: 10px 0 12px; }
.mrf-home .buy10 .cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mrf-home .buy10 .val { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.mrf-home .buy10 .val small { font-size: 14px; color: var(--muted); font-weight: 600; }
.mrf-home .buy10 small { font-size: 12px; color: var(--muted); }

/* Czy wiesz, że… */
.mrf-home .insight { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; padding: 30px; border-radius: 22px; background: linear-gradient(135deg, #eef9f4, #f7fbff); border: 1px solid var(--line); margin-top: 40px; }
.mrf-home .insight:not(:has(.pbars)) { grid-template-columns: 1fr; }
.mrf-home .insight .q { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--up); }
.mrf-home .insight h2 { font-size: 28px; line-height: 1.15; margin: 8px 0 10px; }
.mrf-home .insight p { color: var(--muted); font-size: 15px; max-width: 60ch; margin: 0; }
.mrf-home .pbar { display: grid; grid-template-columns: 64px 1fr 60px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.mrf-home .pbar .tr { height: 24px; background: rgba(255,255,255,.75); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.mrf-home .pbar .tr i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #19b884, #0e9f6e); }
.mrf-home .pbar.hi .tr i { background: linear-gradient(90deg, #f2a65a, #e2674c); }
.mrf-home .pbar b { text-align: right; font-variant-numeric: tabular-nums; }
.mrf-home .pbars .src { display: block; margin-top: 6px; font-size: 11.5px; color: var(--faint); }

/* Jak liczymy ranking */
.mrf-home .flow { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; padding-top: 4px; }
.mrf-home .flow::before { content: ""; position: absolute; left: 16%; right: 16%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--up) 0 8px, transparent 8px 14px); }
.mrf-home .fstep { text-align: center; padding: 0 18px; position: relative; }
.mrf-home .fstep .n { width: 56px; height: 56px; border-radius: 50%; background: var(--panel); border: 2px solid var(--up); color: var(--up); display: grid; place-items: center; font-weight: 800; font-size: 20px; margin: 0 auto 12px; box-shadow: var(--shadow); }
.mrf-home .fstep b { display: block; font-size: 16px; margin-bottom: 4px; }
.mrf-home .fstep p { font-size: 14px; color: var(--muted); max-width: 32ch; margin: 0 auto; }

/* Poradniki */
.mrf-home .mag { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.mrf-home .mag.one { grid-template-columns: minmax(0, 640px); justify-content: center; }
.mrf-home .feat { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.mrf-home .feat:hover, .mrf-home .side-g:hover { border-color: var(--up); color: var(--ink); }
.mrf-home .feat .ph { display: block; height: 200px; background: var(--soft); overflow: hidden; }
.mrf-home .feat .ph img { width: 100%; height: 100%; object-fit: cover; }
.mrf-home .feat .bd { display: block; padding: 18px; }
.mrf-home .tag2 { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--up); background: var(--up-soft); border-radius: 999px; padding: 3px 10px; }
.mrf-home .feat b { display: block; font-size: 22px; line-height: 1.2; margin: 8px 0 6px; }
.mrf-home .feat p, .mrf-home .side-g p { font-size: 14px; color: var(--muted); margin: 0; }
.mrf-home .side { display: grid; gap: 14px; }
.mrf-home .side-g { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; color: var(--ink); align-items: start; }
.mrf-home .side-g .th { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.mrf-home .side-g .th img { width: 100%; height: 100%; object-fit: cover; }
.mrf-home .side-g b { display: block; font-size: 16px; line-height: 1.3; margin: 8px 0 4px; }
.mrf-home .meta2 { display: block; font-size: 12px; color: var(--faint); margin-top: 8px; }

/* Newsletter */
.mrf-home .nl { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 16px 30px; align-items: center; padding: 26px 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mrf-home .nl h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.mrf-home .nl p { color: var(--muted); font-size: 14px; margin: 0; }
.mrf-home .nl .btn { padding: 12px 22px; }

@media (max-width: 980px) {
	.mrf-home .oz, .mrf-home .bento, .mrf-home .insight, .mrf-home .mag { grid-template-columns: 1fr; }
	.mrf-home .b-chart { grid-row: auto; }
	.mrf-home .band { grid-template-columns: 1fr; padding: 26px; }
	.mrf-home .band .big { font-size: 48px; }
}
@media (max-width: 640px) {
	.mrf-home .flow { grid-template-columns: 1fr; gap: 20px; }
	.mrf-home .flow::before { display: none; }
	.mrf-home .nl { grid-template-columns: 1fr; }
	.mrf-home .side-g { grid-template-columns: 72px 1fr; }
	.mrf-home .side-g .th { width: 72px; height: 72px; }
}
.mrf-home .t-ratio .rlink { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--up); text-decoration: none; }

/* Telefon (2026-10-03): pigułka „Oszczędzasz…” nie nachodzi na kartę rankingu; wpisy bloga jeden pod drugim na całą szerokość (zamiast 2 + 1). */
@media (max-width: 640px) {
	.mrf-home .hv-pill { margin: 12px 0 0; }
	.mrf-home .hv-pill + .hv-chart { margin-top: 12px; }
	.mrf-home .posts.bal { --cols: 1 !important; }
	.mrf-home .posts.bal > * { max-width: none; }
}
