/* Info Star – wygląd całego serwisu (nadpisuje motyw-z-verseo). Fonty lokalne: DM Sans (nagłówki), Source Sans 3 (tekst). */
:root {
	--ifs-navy: #14213d;
	--ifs-ink: #0b1324;
	--ifs-gold: #9a6a00;
	--ifs-gold-light: #e0a526;
	--ifs-gold-pale: #fbf1d9;
	--ifs-paper: #f7f6f2;
	--ifs-line: #dedbd2;
	--ifs-head: 'DM Sans', system-ui, sans-serif;
	--ifs-body: 'Source Sans 3', system-ui, sans-serif;
}
body { font-family: var(--ifs-body); font-size: 1.05rem; }
h1, h2, h3, h4, .entry-title, .post-card__title { font-family: var(--ifs-head); letter-spacing: -.01em; }

/* Nagłówek: złota listwa na dole i podkreślenie menu kwadratowym znacznikiem. */
.site-header { border-bottom: 3px solid var(--ifs-gold-light); }
.primary-nav a { font-family: var(--ifs-head); font-weight: 600; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 6px; height: 6px; background: var(--ifs-gold-light); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-menu-parent > a::after { transform: translateX(-50%) rotate(45deg) scale(1); }

/* Karty wpisów: obramowanie i złoty pasek przy najechaniu. */
.post-card { border: 1px solid var(--ifs-line); border-radius: 4px; box-shadow: none; transition: border-color .2s; }
.post-card:hover { border-color: var(--ifs-navy); box-shadow: inset 0 -3px 0 var(--ifs-gold-light); }

/* Treść wpisów. */
.entry-content blockquote { border-left: 4px solid var(--ifs-gold-light); background: var(--ifs-paper); padding: 1rem 1.3rem; font-style: normal; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content th { background: var(--ifs-navy); color: #fff; text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--ifs-line); padding: .55rem .7rem; }
.entry-content tbody tr:nth-child(even) { background: var(--ifs-paper); }
.entry-content figcaption, .ifs-photo-credit { font-size: .82rem; color: var(--color-text-muted); border-left: 2px solid var(--ifs-gold-light); padding-left: .6rem; }
.entry-content h2 { border-bottom: 1px solid var(--ifs-line); padding-bottom: .35rem; }

/* Okruszki i stopka. */
.breadcrumbs a, .yoast-breadcrumbs a { color: var(--ifs-gold); }
.site-footer { background: var(--ifs-ink); border-top: 4px solid var(--ifs-gold-light); }

/* Formularz kontaktowy. */
.ifs-kontakt input, .ifs-kontakt textarea { border: 1px solid var(--ifs-line); border-radius: 4px; padding: .6rem .7rem; font: inherit; }
.ifs-kontakt__rodo { color: var(--color-text-muted); }

/* Działy (kategorie). */
.ifs-cat-header { background: var(--ifs-navy); color: #fff; padding: 1.6rem 1.8rem; border-radius: 4px; border-bottom: 4px solid var(--ifs-gold-light); }
.ifs-cat-header .archive-title { color: #fff; margin: .3rem 0 .6rem; }
.ifs-cat-header__eyebrow { font: 600 .75rem/1 var(--ifs-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ifs-gold-light); }
.ifs-cat-intro p { color: #d5dbe8; }
.ifs-cat-header__count { display: inline-block; margin: .4rem 0 0; padding: .25rem .7rem; background: var(--ifs-gold-light); color: var(--ifs-ink); font-weight: 700; font-size: .85rem; border-radius: 4px; }
.ifs-cat-faq { margin-top: 2.5rem; border-top: 3px solid var(--ifs-navy); padding-top: 1rem; }
.ifs-cat-faq details { border-bottom: 1px solid var(--ifs-line); padding: .8rem 0; }
.ifs-cat-faq summary { cursor: pointer; font: 700 1rem var(--ifs-head); color: var(--ifs-navy); }
.ifs-cat-empty { background: var(--ifs-paper); padding: 1rem 1.2rem; border-left: 4px solid var(--ifs-gold-light); }

/* Oceny artykułów. */
.ifs-rate { margin: 2.5rem 0 1rem; padding: 1.2rem 1.4rem; background: var(--ifs-paper); border: 1px solid var(--ifs-line); border-left: 5px solid var(--ifs-navy); border-radius: 4px; }
.ifs-rate__q { margin: 0 0 .4rem; font-weight: 700; font-family: var(--ifs-head); color: var(--ifs-navy); }
.ifs-rate__stars button { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: #c9c4b6; cursor: pointer; padding: 0 .1rem; }
.ifs-rate__stars button.is-on { color: var(--ifs-gold-light); }
.ifs-rate.is-done .ifs-rate__stars button { cursor: default; }
.ifs-rate__sum { margin: .4rem 0 0; font-size: .92rem; color: var(--color-text-muted); }
/* Blok linków wewnętrznych we wpisach. */
.ifs-see { background: var(--ifs-gold-pale); border-left: 4px solid var(--ifs-gold-light); padding: .8rem 1rem; border-radius: 4px; }
.ifs-see strong { color: var(--ifs-navy); }
