/* Nash-Tackle.pl – style całego serwisu (paleta: orzech, oliwka, ochra, len). */
:root {
	--font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-sans: 'Karla', 'Segoe UI', Arial, sans-serif;
	--nsh-walnut: #5A3A28;
	--nsh-walnut-2: #3E271A;
	--nsh-olive: #56653A;
	--nsh-olive-2: #424E2C;
	--nsh-olive-l: #E6EAD9;
	--nsh-ochre: #C08A2A;
	--nsh-ochre-l: #F3E3C2;
	--nsh-linen: #F6F1E8;
	--nsh-paper: #FFFDF9;
	--nsh-ink: #2B211A;
	--nsh-line: #E2D8C8;
	--nsh-muted: #6B5D51;
	--nsh-r: 10px;
	--nsh-herring: repeating-linear-gradient(45deg, var(--nsh-ochre) 0 6px, #D7A957 6px 12px, var(--nsh-walnut) 12px 18px, #7A5238 18px 24px);
}
body { background: var(--nsh-paper); color: var(--nsh-ink); font-family: var(--font-sans); font-size: 1.04rem; }
h1, h2, h3, h4, .post-card__title, .archive-title, .post-header__title, .widget__title, .footer-brand__name { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.005em; }

/* Nagłówek: pasek „parkietu w jodełkę” pod spodem */
.site-header { position: relative; background: #fff; border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--nsh-herring); z-index: 1; pointer-events: none; }
.custom-logo { max-height: 54px; width: auto; }
@media (max-width: 600px) { .custom-logo { max-height: 40px; } }

/* Menu: „miarka” (podziałka) pod aktywną pozycją */
.primary-nav a { font-weight: 700; font-size: .93rem; position: relative; }
.primary-nav > ul > li > a::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -4px; height: 6px; border-top: 2px solid var(--nsh-ochre); background: repeating-linear-gradient(90deg, var(--nsh-ochre) 0 1.5px, transparent 1.5px 7px); opacity: 0; transition: opacity .2s; }
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-category-ancestor > a::after,
.primary-nav > ul > li.current-post-ancestor > a::after { opacity: 1; }
.primary-nav > ul > li > a:hover, .primary-nav .current-menu-item > a { color: var(--nsh-walnut); }

/* Karty wpisów: obramowanie, ochrowa linia u góry rosnąca przy hover */
.post-card { position: relative; border: 1px solid var(--nsh-line); border-radius: var(--nsh-r); background: #fff; box-shadow: none; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 22%; background: var(--nsh-ochre); z-index: 2; transition: width .3s; }
.post-card:hover { box-shadow: 0 10px 24px rgba(43, 33, 26, .09); transform: translateY(-2px); }
.post-card:hover::before { width: 100%; }
.post-card__category { background: var(--nsh-olive-l); color: var(--nsh-olive-2); border-radius: 3px; font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }

/* Treść wpisów i stron */
.entry-content h2 { position: relative; padding-bottom: .45rem; margin-top: 2rem; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 110px; height: 7px; border-left: 2px solid var(--nsh-ochre); border-right: 2px solid var(--nsh-ochre); background: linear-gradient(var(--nsh-ochre), var(--nsh-ochre)) center / 100% 2px no-repeat; }
.entry-content h3 { color: var(--nsh-walnut); }
.entry-content blockquote { border-left: 0; background: var(--nsh-linen); border-radius: 0 var(--nsh-r) var(--nsh-r) 0; box-shadow: inset 5px 0 0 var(--nsh-olive); padding: 1rem 1.25rem 1rem 1.5rem; font-style: italic; }
.entry-content figure figcaption, .entry-content .wp-caption-text { font-size: .8rem; color: var(--nsh-muted); text-align: left; margin-top: .45rem; padding-top: .35rem; border-top: 1px dashed var(--nsh-line); }
.entry-content figure img { border-radius: var(--nsh-r); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .93rem; background: #fff; }
.entry-content th { background: var(--nsh-linen); color: var(--nsh-walnut-2); text-align: left; border-bottom: 2px solid var(--nsh-walnut); }
.entry-content th, .entry-content td { padding: .55rem .75rem; border-bottom: 1px solid var(--nsh-line); }
.entry-content a { color: var(--nsh-walnut); text-decoration-color: var(--nsh-ochre); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content ul > li::marker { color: var(--nsh-ochre); }
.entry-content ol > li::marker { color: var(--nsh-olive); font-weight: 700; }
.nsh-photo-credit { font-size: .78rem; color: var(--nsh-muted); }

/* Formularz kontaktowy */
.nsh-form { max-width: 640px; }
.nsh-form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.nsh-form input[type="text"], .nsh-form input[type="email"], .nsh-form textarea { width: 100%; border: 2px solid var(--nsh-line); border-radius: 6px; padding: .6rem .75rem; font: inherit; background: #fff; }
.nsh-form input:focus, .nsh-form textarea:focus { outline: none; border-color: var(--nsh-olive); }
.nsh-form__rodo { font-size: .85rem; color: var(--nsh-muted); }
.nsh-form__msg { background: var(--nsh-olive-l); border-left: 4px solid var(--nsh-olive); padding: .6rem .9rem; border-radius: 4px; }

/* Kategorie */
.nsh-cat-header { border: 1px solid var(--nsh-line); border-radius: var(--nsh-r); background: var(--nsh-linen); padding: 1.4rem 1.5rem; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.nsh-cat-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--nsh-herring); }
.nsh-cat-header__eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--nsh-olive-2); border: 1px solid var(--nsh-olive); padding: .15rem .55rem; border-radius: 3px; }
.nsh-cat-header__count { font-size: .88rem; color: var(--nsh-muted); margin: .6rem 0 0; }
.nsh-cat-faq { margin-top: 2.2rem; border-top: 2px solid var(--nsh-walnut); padding-top: 1rem; }
.nsh-cat-faq details { border-bottom: 1px solid var(--nsh-line); padding: .75rem 0; }
.nsh-cat-faq summary { cursor: pointer; font-weight: 700; color: var(--nsh-walnut); }
.nsh-cat-faq summary::marker { color: var(--nsh-ochre); }

/* Oceny wpisów */
.nsh-rate { margin: 2rem 0 1rem; padding: 1rem 1.2rem; border: 1px dashed var(--nsh-ochre); border-radius: var(--nsh-r); background: var(--nsh-linen); }
.nsh-rate__q { font-weight: 700; margin: 0 0 .35rem; }
.nsh-rate__stars button { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: #d7cbb8; cursor: pointer; padding: 0 .1rem; }
.nsh-rate__stars button.is-on { color: var(--nsh-ochre); }
.nsh-rate__sum { font-size: .88rem; color: var(--nsh-muted); margin: .35rem 0 0; }
.nsh-rate.is-done .nsh-rate__stars button { cursor: default; }

/* Stopka: orzech z jodełką u góry */
.site-footer { background: var(--nsh-walnut-2); color: #EADFCF; position: relative; border-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--nsh-herring); }
.site-footer a { color: #F3E3C2; }
.site-footer a:hover { color: #fff; }
.footer-col__title, .footer-brand__name { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .15); color: #CDBFAE; }
