*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1a5c8a;
  --green: #3a8c4e;
  --light: #f4f8fb;
  --border: #d0dce8;
  --text: #2c3e50;
  --muted: #5d7a8a;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

/* ── HEADER ── */
header {
  background: #fff;
  border-bottom: 3px solid var(--blue);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.15;
}

.logo-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .5px;
}

.logo-text span {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

nav ul li a {
  display: block;
  padding: .5rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--blue);
}

nav ul li a.active {
  color: var(--blue);
  border-bottom: 3px solid var(--green);
}

/* ── DROPDOWN ── */
nav ul li.dropdown {
  position: relative;
}

nav ul li.dropdown > a::after {
  content: ' ▾';
  font-size: .7em;
}

nav ul li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  min-width: 220px;
  padding: .4rem 0;
  z-index: 1000;
  list-style: none;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

nav ul li.dropdown .dropdown-menu li a {
  display: block;
  padding: .55rem 1.2rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  white-space: nowrap;
}

nav ul li.dropdown .dropdown-menu li a:hover {
  background: var(--light);
  color: var(--blue);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: .6rem 2rem;
  font-size: .82rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 .4rem;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0e3d5f 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.hero .tag {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--green);
  display: inline-block;
  padding: .2rem .8rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}

.hero h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.hero p {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 680px;
  margin: 0 auto;
}

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

/* ── SECTIONS ── */
section {
  margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

/* ── MAIN ── */
h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  border-left: 4px solid var(--green);
  padding-left: .75rem;
  margin: 1.8rem 0 .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

h2:first-child {
  margin-top: 0;
}

.info-block {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.info-block dt {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: .2rem;
}

.info-block dd {
  font-size: .95rem;
  color: var(--text);
  font-weight: 600;
}

.content-text {
  font-size: .93rem;
  line-height: 1.75;
}

.content-text p + p {
  margin-top: .7rem;
}

.content-text strong {
  color: var(--blue);
}

/* ── ZAŁĄCZNIKI ── */
.attachments {
  margin-top: 1rem;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: .5rem;
  font-size: .88rem;
  color: var(--muted);
}

.attachment-item .num {
  font-weight: 700;
  color: var(--blue);
  min-width: 28px;
}

.attachment-placeholder {
  color: var(--muted);
  font-style: italic;
}
p + p {
  margin-top: .6rem;
}

/* ── LISTA ── */
ul.info-list {
  list-style: none;
  padding: 0;
}

ul.info-list li {
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}

ul.info-list li:last-child {
  border-bottom: none;
}

ul.info-list li strong {
  color: var(--blue);
}

/* ── SIDEBAR ── */
.sidebar {
}

/* ── SIDEBAR ── */
.card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .8rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: .4rem;
}

.card ul {
  list-style: none;
}

.card ul li {
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li strong {
  color: var(--blue);
}

.card p, .card address {
  font-size: .88rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.card a {
  color: var(--blue);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge-active {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: .5rem;
}

/* ── FOOTER ── */
footer {
  background: #0e2d44;
  color: rgba(255, 255, 255, .7);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .82rem;
}

footer a {
  color: rgba(255, 255, 255, .85);
}
