/*
Theme Name:   PSZS Malbork (Neve)
Theme URI:    https://pszs.malbork.pl
Description:  Motyw potomny Neve dla Powiatowego Szkolnego Związku Sportowego w Malborku — kolory z logo PSZS, stopka z danymi kontaktowymi i herbem Powiatu Malborskiego.
Author:       PSZS Malbork
Template:     neve
Version:      1.0.0
Requires PHP: 8.1
Text Domain:  pszs-neve
*/

:root {
  --pszs-red: #c8141c;
  --pszs-red-dark: #9e0f16;
  --pszs-gold: #f2c80f;
  --pszs-ink: #1d1c1a;
}

/* pasek u góry w kolorach logo */
.header-main, .hfg_header { border-top: 4px solid var(--pszs-red); }
.site-logo img, .custom-logo { max-height: 64px; width: auto; }

/* przyciski i linki */
.button, button.button, .wp-block-button__link, input[type=submit] { background-color: var(--pszs-red); border-color: var(--pszs-red); }
.button:hover, .wp-block-button__link:hover, input[type=submit]:hover { background-color: var(--pszs-red-dark); border-color: var(--pszs-red-dark); }
.entry-content a:not(.wp-block-button__link):not(.pszs-ev):not(.pszs-pdf) { color: var(--pszs-red); }

/* tytuły stron */
.nv-page-title h1, .entry-title { position: relative; padding-bottom: 8px; }
.nv-page-title h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--pszs-gold); border-radius: 2px; }

/* stopka PSZS */
.pszs-footer { background: #1d1c1a; color: #e9e7e2; padding: 36px 0 18px; border-top: 4px solid var(--pszs-red); }
.pszs-footer .pszs-f-wrap { max-width: 1170px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.pszs-footer img { display: block; }
.pszs-footer .pszs-f-logo { width: 84px; height: auto; }
.pszs-footer .pszs-f-herb { width: 64px; height: auto; }
.pszs-footer h4 { color: #fff; margin: 0 0 6px; font-size: 1.05em; }
.pszs-footer p { margin: 0 0 4px; font-size: .92em; }
.pszs-footer a { color: #fff; }
.pszs-footer .pszs-f-partner { text-align: center; font-size: .8em; color: #bdb9b1; }
.pszs-footer .pszs-f-partner img { margin: 0 auto 6px; }
@media (max-width: 700px) {
  .pszs-footer .pszs-f-wrap { grid-template-columns: 1fr; text-align: center; }
  .pszs-footer .pszs-f-logo { margin: 0 auto; }
}
