/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {overflow-x: hidden;}
body {font-family:var(--font-body);font-size:16px;line-height:1.6;color:#333;background:#fff;}

.dc-section { width: 100%; }
.dc-section__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dc-section__inner--full { width: 100%; }
.dc-columns { display: flex; flex-wrap: wrap;  margin-left: -12px; margin-right: -12px!important; row-gap: 24px!important;}
.dc-column { box-sizing: border-box; padding-left: 12px!important; padding-right: 12px!important;}
.dc-column > .dc-block:only-child { height: 100%; }
.dc-col--full { width: 100%; }
.dc-col--half { width: 50%; }
.dc-col--third { width: 33.333%; }
.dc-col--two-thirds { width: 66.666%; }
.dc-col--quarter { width: 25%; }
.dc-col--three-quarters { width: 75%; }
.dc-valign--center { align-self: center; }
.dc-valign--bottom { align-self: flex-end; }

/* *** PADDING SEKCJI — klasy z SectionRenderer (pole Padding top/bottom w builderze). normal i large = --section-py (tokens.css) */
.dc-pt--none {padding-top:0;} .dc-pb--none {padding-bottom:0;}
.dc-pt--small {padding-top:16px;} .dc-pb--small {padding-bottom:16px;}
.dc-pt--normal, .dc-pt--large {padding-top:var(--section-py);} .dc-pb--normal, .dc-pb--large {padding-bottom:var(--section-py);}
.dc-pt--xl {padding-top:120px;} .dc-pb--xl {padding-bottom:120px;}

/* *** DEKLARACJA MARGINESÓW BLOKÓW */

.dc-mb--none {margin-bottom:0;}
.dc-mb--small {margin-bottom:8px;}
.dc-mb--normal {margin-bottom:16px;}
.dc-mb--large {margin-bottom:32px;}
.dc-mb--xl {margin-bottom:56px;}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 0 16px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 24px;
}

.site-nav a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #2563eb;
}

/* Main */
.site-main {
    padding: 0 0 40px 0;
    min-height: calc(100vh - 140px);
}

.site-main--full {
    padding: 0;
}

/* Sidebar layout */
.container--sidebar {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.site-content {
    flex: 1;
    min-width: 0;
}

.site-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-widget__title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2563eb;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 24px 0;
    text-align: center;
    font-size: 0.875rem;
}

/* 404 */

.dc-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem;
}
.dc-404__number {
    font-size: 9rem;
    font-weight: 500;
    line-height: 1;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    letter-spacing: -4px;
}
.dc-404__title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1rem;
}
.dc-404__desc {
    color: #64748b;
    font-size: 1rem;
    max-width: 420px;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.dc-404__btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.dc-404__btn:hover {
    background: #1d4ed8;
}

.search-form { margin-bottom: 2rem; }
.search-form__inner { display: flex; gap: 0.5rem; }
.search-form__input { flex: 1; padding: 0.6rem 1rem; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 1rem; }
.search-form__btn { padding: 0.6rem 1.5rem; background: #2563eb; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.search-form__btn:hover { background: #1d4ed8; }
.search-form__hint { color: #dc2626; font-size: 0.85rem; margin-top: 0.3rem; }
.search-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.search-badge--post { background: #dbeafe; color: #1e40af; }
.search-badge--page { background: #dcfce7; color: #166534; }
.search-badge--bip  { background: #fef9c3; color: #854d0e; }
.search-desc { font-size: 0.875rem; color: #6b7280; max-width: 500px; }

/* Search instant */
.site-search {
    position: relative;
}

.site-search__wrapper {
    position: relative;
}

.site-search__input {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    outline: none;
    width: 220px;
    transition: border-color 0.2s;
}

.site-search__input:focus {
    border-color: #3b82f6;
}

.site-search__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 9999;
    overflow: hidden;
    min-width: 320px;
}

.site-search__dropdown.hidden {
    display: none;
}

.site-search__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.site-search__item:hover {
    background: #f8fafc;
}

.site-search__item:last-child {
    border-bottom: none;
}

.site-search__item-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.site-search__item-type {
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
}

.site-search__no-results {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Slider */

.swiper-slide {width:100%; max-height: 1250px; position: relative;}
.swiper-slide img {width:100%; height: auto;}

.swiper-slide .swiper-caption {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: left;
    color: #fff;
}

/* Blog layout */
.blog-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.blog-posts {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.blog-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

/* Blog card */
.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.blog-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card__body {
    padding: 24px;
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card__title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card__title a:hover {
    color: #2563eb;
}

.blog-card__excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card__meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.blog-card__link {
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card__link:hover {
    color: #1d4ed8;
}

/* Blog post */
.blog-post__cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 32px;
}

.blog-post__header {
    margin-bottom: 32px;
}

.blog-post__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.blog-post__meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: #9ca3af;
}

.blog-post__content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.blog-post__content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 16px;
}

.blog-post__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.blog-post__content p {
    margin-bottom: 16px;
}

.blog-post__content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

.blog-post__footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.blog-back {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.blog-back:hover {
    color: #2563eb;
}

/* Blog categories */
.blog-categories {
    list-style: none;
}

.blog-categories li {
    border-bottom: 1px solid #f3f4f6;
}

.blog-categories li:last-child {
    border-bottom: none;
}

.blog-categories a {
    display: block;
    padding: 8px 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.blog-categories a:hover {
    color: #2563eb;
}

.blog-empty {
    color: #9ca3af;
    text-align: center;
    padding: 48px 0;
}

.blog-category__desc {
    color: #6b7280;
    margin-bottom: 32px;
}

/* ────────────────────────────────────────────────────── */
/* Latest Posts */
.dc-latest-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.dc-latest-posts__item {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
}

/* Wersja kolumnowa — odkomentuj aby zmienić na pionową */
/*
.dc-latest-posts {
    flex-direction: column;
}

.dc-latest-posts__item {
    flex: 1 1 100%;
}
*/

.dc-latest-posts__cover {
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.dc-latest-posts__cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dc-latest-posts__cover:hover img {
    transform: scale(1.03);
}

.dc-latest-posts__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dc-latest-posts__date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.dc-latest-posts__title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.dc-latest-posts__title a {
    color: #1e293b;
    text-decoration: none;
}

.dc-latest-posts__title a:hover {
    color: #3b82f6;
}

.dc-latest-posts__excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.dc-latest-posts__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #3b82f6;
    text-decoration: none;
}

.dc-latest-posts__link:hover {
    text-decoration: underline;
}

/* ─── Accordion ─────────────────────────────────── */
.dc-accordion {
    margin: 24px 0;
    max-width: 800px;
}

.dc-accordion__item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.dc-accordion__trigger {
    width: 100%;
    padding: 16px 20px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: left;
    transition: background 0.2s;
}

.dc-accordion__trigger:hover {
    background: #f3f4f6;
}

.dc-accordion__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.dc-accordion__content {
    display: none;
    padding: 16px 20px;
    color: #374151;
    line-height: 1.7;
}

/* ─── Tabs ───────────────────────────────────────── */
.dc-tabs {
    margin: 24px 0;
}

.dc-tabs__nav {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.dc-tab-btn {
    padding: 12px 24px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.dc-tab-btn:hover {
    color: #2563eb;
}

.dc-tab-btn--active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.dc-tab-panel {
    display: none;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    color: #374151;
    line-height: 1.7;
}

.dc-tab-panel--active {
    display: block;
}

/* ─── Form Alerts ─────────────────────────────────── */

.dc-form__success {
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.dc-form__error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* ==========================================
   CARD BLOCK
   ========================================== */
.dc-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 6px 16px rgba(12, 47, 72, 0.10);
}

.dc-card--default {
    background: #fff;
}

.dc-card--bordered {
    background: #fff;
    border: 1px solid #e2e8f0;
}

.dc-card--hover-image {
    background: #1e293b;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.dc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 64px rgba(12, 47, 72, 0.20);
}

/* Tło hover-image */
.dc-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.dc-card--hover-image:hover .dc-card__bg {
    opacity: 0.15;
}

/* Inner */
.dc-card__inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; height: 100%; }
.dc-card__content { display:flex; flex-direction:column; }
/* Ikona */
.dc-card__icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: #2563eb;
    display: block;
}

/* Obrazek */
.dc-card__image {
    margin-bottom: 1.25rem;
}

.dc-card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

/* Tytuł */
.dc-card__title {
    font-size: 1.30rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.dc-card--hover-image .dc-card__title {
    color: #fff;
}

/* Opis */
.dc-card__description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.dc-card--hover-image .dc-card__description {
    color: rgba(255,255,255,0.75);
}

.dc-card__footer { margin-top: auto; }

/* Link */
.dc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
	color: #1e293b;
    
    text-decoration: none;
    transition: border-color 0.2s, gap 0.2s;
}

.dc-card__link:hover, .dc-card__link:hover span {
    gap: 0.7rem;
	color: var(--teal);
}

.dc-card__link span {font-size:1.5rem;}

.dc-card--hover-image .dc-card__link {
    color: #f59e0b;
}

.dc-card--hover-image .dc-card__link:hover {
    border-color: #f59e0b;
}

/* Separator dla bordered */
.dc-card--bordered .dc-card__icon {}

/* Tag / etykieta nad tytułem */
.dc-card__tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--mint) 60%, transparent);
    color: var(--deep-teal);
    font-size: var(--fs-2xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}

/* Ikona SVG wklejona przez admina — te same wymiary co font-ikona */
.dc-card__icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
}

.dc-card__icon--svg svg {
    width: 100%;
    height: 100%;
}

/* Wstążka promocyjna w rogu karty */
.dc-card__price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--color-on-primary);
    font-size: var(--fs-2xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

/* Stopka z ceną */
.dc-card__footer--priced {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.dc-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
}

.dc-card__price {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--teal);
}

.dc-card__price-old {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.dc-card--hover-image .dc-card__price {
    color: var(--mint);
}
.dc-card--hover-image .dc-card__price-old {
    color: rgba(255,255,255,0.55);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.dc-section:first-child {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.dc-section:first-child .dc-header {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 700;
}


/* ==========================================
   SEKCJE OGÓLNE
   ========================================== */
.dc-section {
    position: relative;
}

.dc-section__inner,
.dc-section__inner--full {
    width: 100%;
}

.dc-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* ==========================================
   KOLUMNY — szerokości - mobile
   ========================================== */

@media (max-width: 991px) {
    .dc-col--quarter { width: 50%; }
    .dc-col--third   { width: 50%; }
	.dc-col--three-quarters { width: 100%; }
}

@media (max-width: 768px) {
    .dc-col--quarter,
    .dc-col--third,
    .dc-col--half,
    .dc-col--two-thirds,
    .dc-col--three-quarters { width: 100%; }
}

@media (max-width: 575px) {
    .dc-col--half,
    .dc-col--third,
    .dc-col--quarter,
    .dc-col--two-thirds,
	.dc-col--three-quarters { width: 100%; }
}

/* ==========================================
   NAGŁÓWKI BLOKÓW
   ========================================== */
.dc-header {
	font-family:var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin: 0 0 1.5rem;
    letter-spacing: -0.5px;
}

h1.dc-header { font-size: var(--fs-h1); letter-spacing: -2px; }
h2.dc-header { font-size: var(--fs-h2);}
h3.dc-header { font-size: var(--fs-h3);}

/* ==========================================
   NAGŁÓWEK ROZBUDOWANY — eyebrow + kreski dekoracyjne
   W builderze ustala się tylko: czy eyebrow jest nad/pod, wyrównanie
   i które kreski są włączone. Kolor/grubość/długość/odstępy — steruj
   WYŁĄCZNIE tutaj. Kolor eyebrow/kreski dopasowany do istniejącej
   konwencji .dc-eyebrow (var(--teal) / var(--mint) na onnavy).
   ========================================== */
.dc-header-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;            /* odstęp: eyebrow ↔ kreska "między" ↔ nagłówek — steruj tutaj */
    margin-bottom: 1.5rem;  /* odstęp bloku od kolejnego elementu (przejmuje margines .dc-header) */
}
.dc-header-block .dc-header { margin: 0; }

.dc-header-block--align-left   { align-items: flex-start; text-align: left; }
.dc-header-block--align-center { align-items: center; text-align: center; }
.dc-header-block--align-right  { align-items: flex-end; text-align: right; }

.dc-header-block__row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dc-header-block__eyebrow {
    margin: 0;
    color: var(--teal);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dc-header-block__line {
    flex: 0 0 auto;
    width: 48px;
    height: 2px;
    background: var(--teal); /* kolor kreski — steruj tutaj */
}
/* Osobne selektory before/after/between na wypadek gdyby kiedyś miały się różnić —
   dziś dziedziczą wszystko z .dc-header-block__line powyżej. */
.dc-header-block__line--before,
.dc-header-block__line--after,
.dc-header-block__line--between {}

/* ==========================================
   BLOK ZDJĘCIE
   Proporcje (aspect-ratio/object-fit), zaokrąglenie i filtry są
   ustawiane inline przez ImageBlockRenderer — tu tylko domyślne
   zachowanie kontenera.
   ========================================== */
.dc-image-block { display: block; width: 100%; height: auto; }

/* ==========================================
   TEKST
   ========================================== */
.dc-text {
    color: var(--color-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.dc-text p { margin-bottom: 1rem; }
.dc-text p:last-child { margin-bottom: 0; }

/* ==========================================
   PRZYCISKI
   ========================================== */
.dc-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.dc-button--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.dc-button--primary:hover {
    background: var(--deep-teal);
    border-color: var(--deep-teal);
    color: #fff;
}

.dc-button--secondary {
    background: #fff;
    color: var(--color-dark);
    border-color: #fff;
}

.dc-button--secondary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.dc-button--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.dc-button--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ==========================================
   CTA BLOCK
   ========================================== */
.dc-cta {
    padding: 1rem;
}

.dc-cta__title {
	font-family:var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.dc-cta__description {
	font-family:var(--font-body);
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ==========================================
   MAPA
   ========================================== */

.dc-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.dc-map--no-key,
.dc-map--no-coords {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================
   KARTY — gap między kolumnami
   ========================================== */
.dc-col--quarter,
.dc-col--third {
    box-sizing: border-box;
}

/* ==========================================
   SEPARATOR INTRO — linia jak w Litho
   ========================================== */
.dc-section--intro .dc-col--half:first-child {
    padding-right: 3rem;
    border-right: 1px solid var(--color-border);
}

.dc-section--intro .dc-col--half:last-child {
    padding-left: 3rem;
}

@media (max-width: 767px) {
    .dc-section--intro .dc-col--half:first-child {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .dc-section--intro .dc-col--half:last-child {
        padding-left: 0;
    }
}

/* ==========================================
   CONTAINER
   ========================================== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ────────────────────────────────────────────────────── */
/* Portfolio — Grid */

.portfolio-filters {
    padding: 3rem 0 0;
}

.portfolio-filters__tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-filters__tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.portfolio-filters__tab--active,
.portfolio-filters__tab:hover {
    color: #1e293b;
    border-color: #1e293b;
    background: #f8fafc;
}

.portfolio-filters__list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.portfolio-filters__list--active {
    display: flex;
}

.portfolio-filters__item a {
    display: block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.portfolio-filters__item--active a,
.portfolio-filters__item a:hover {
    color: #1e293b;
    border-bottom-color: #1e293b;
}

/* Grid */

.portfolio-grid {
    padding: 0 0 4rem;
}

.portfolio-grid__list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-grid__sizer,
.portfolio-grid__item {
    width: 25%;
}

.portfolio-grid__item {
    padding: 0.75rem;
    box-sizing: border-box;
}

.portfolio-grid__link {
    display: block;
    text-decoration: none;
}

.portfolio-grid__box {
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.portfolio-grid__image {
    position: relative;
    overflow: hidden;
}

.portfolio-grid__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-grid__link:hover .portfolio-grid__image img {
    transform: scale(1.04);
}

.portfolio-grid__hover {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-grid__link:hover .portfolio-grid__hover {
    opacity: 1;
}

.portfolio-grid__hover-inner {
    text-align: center;
    padding: 1rem;
}

.portfolio-grid__title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.portfolio-grid__industry {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.portfolio-grid__empty {
    text-align: center;
    color: #94a3b8;
    padding: 4rem 0;
}

/* ────────────────────────────────────────────────────── */
/* Portfolio — Single */

.portfolio-cover {
    width: 100%;
}

.portfolio-cover__image {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-info {
    padding: 4rem 0;
}

.portfolio-info__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.portfolio-info__description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.portfolio-info__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2.5rem;
}

.portfolio-info__meta-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.portfolio-info__meta-item:last-child {
    border-right: none;
}

.portfolio-info__meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.portfolio-info__meta-value {
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.5;
}

.portfolio-info__meta-value a {
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
    transition: border-color 0.2s ease;
}

.portfolio-info__meta-value a:hover {
    border-bottom-color: #1e293b;
}

.portfolio-info__cta {
    text-align: center;
}

.portfolio-info__btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1e293b;
    text-decoration: none;
    transition: background 0.25s ease;
}

.portfolio-info__btn:hover {
    background: #3b82f6;
}

/* Galeria lightbox */

.portfolio-gallery {
    padding: 0 0 4rem;
}

.portfolio-gallery__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.portfolio-gallery__sizer,
.portfolio-gallery__item {
    width: 25%;
}

.portfolio-gallery__item {
    padding: 0.5rem;
    box-sizing: border-box;
}

.portfolio-gallery__lightbox {
    display: block;
    text-decoration: none;
}

.portfolio-gallery__box {
    position: relative;
    overflow: hidden;
}

.portfolio-gallery__box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-gallery__lightbox:hover .portfolio-gallery__box img {
    transform: scale(1.04);
}

.portfolio-gallery__zoom {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.portfolio-gallery__lightbox:hover .portfolio-gallery__zoom {
    opacity: 1;
}

/* Prev / Next nawigacja */

.portfolio-nav {
    padding: 0;
}

.portfolio-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.portfolio-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem 3.5rem;
    text-decoration: none;
    overflow: hidden;
    min-height: 160px;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.portfolio-nav__item--prev {
    justify-content: flex-start;
    border-right: 1px solid #e2e8f0;
}

.portfolio-nav__item--next {
    justify-content: flex-end;
    text-align: right;
}

.portfolio-nav__item--empty {
    background: #f1f5f9;
}

.portfolio-nav__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-nav__item:hover .portfolio-nav__bg {
    opacity: 0.15;
}

.portfolio-nav__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-nav__direction {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-nav__item--next .portfolio-nav__direction {
    justify-content: flex-end;
}

.portfolio-nav__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.25s ease;
}

.portfolio-nav__item:hover .portfolio-nav__title {
    color: #3b82f6;
}

.portfolio-grid__item--landscape .portfolio-grid__image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.portfolio-grid__item--portrait .portfolio-grid__image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.portfolio-grid__item--square .portfolio-grid__image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ────────────────────────────────────────────────────── */
/* Portfolio — Responsive */

@media (max-width: 1200px) {
    .portfolio-grid__sizer,
    .portfolio-grid__item {
        width: 33.333%;
    }

    .portfolio-gallery__sizer,
    .portfolio-gallery__item {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .portfolio-cover__image {
        height: 400px;
    }

    .portfolio-grid__sizer,
    .portfolio-grid__item {
        width: 50%;
    }

    .portfolio-gallery__sizer,
    .portfolio-gallery__item {
        width: 50%;
    }

    .portfolio-info__title {
        font-size: 1.75rem;
    }

    .portfolio-info__meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-info__meta-item:nth-child(2) {
        border-right: none;
    }

    .portfolio-info__meta-item:nth-child(3) {
        border-top: 1px solid #e2e8f0;
    }

    .portfolio-nav__item {
        padding: 2rem 1.5rem;
    }

    .portfolio-filters__tab {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid__sizer,
    .portfolio-grid__item {
        width: 100%;
    }

    .portfolio-gallery__sizer,
    .portfolio-gallery__item {
        width: 50%;
    }

    .portfolio-info__meta {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-nav__inner {
        grid-template-columns: 1fr;
    }

    .portfolio-nav__item--prev {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .portfolio-nav__item--next {
        text-align: left;
        justify-content: flex-start;
    }

    .portfolio-nav__item--next .portfolio-nav__direction {
        justify-content: flex-start;
    }
}

/* ************************************************** */
/* ─── BIP Layout ─────────────────────────────────── */
.bip-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.bip-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.bip-sidebar__header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.bip-sidebar__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.bip-sidebar__subtitle {
    font-size: 12px;
    color: #6b7280;
}

.bip-sidebar__back {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.bip-sidebar__back:hover {
    text-decoration: underline;
}

/* ─── BIP Nav ────────────────────────────────────── */
.bip-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bip-nav__item {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.bip-nav__item:hover {
    background: #e5e7eb;
    color: #111827;
}

.bip-nav__item--active {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 600;
}

.bip-nav__item--child {
    padding-left: 24px;
    font-size: 13px;
    color: #6b7280;
}

/* ─── BIP Nav Accordion ──────────────────────────── */
.bip-nav__group {
    display: flex;
    flex-direction: column;
}

.bip-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.bip-nav__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #9ca3af;
}

.bip-nav__toggle.is-open .bip-nav__arrow {
    transform: rotate(180deg);
}

.bip-nav__children {
    display: none;
    flex-direction: column;
    gap: 2px;
}

.bip-nav__children.is-open {
    display: flex;
}

.bip-nav__item--level2 {
    padding-left: 24px;
    font-size: 13px;
    color: #6b7280;
}

.bip-nav__item--level3 {
    padding-left: 38px;
    font-size: 12px;
    color: #9ca3af;
}

/* ─── BIP Content ────────────────────────────────── */
.bip-content {
    flex: 1;
    min-width: 0;
}

.bip-content__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.bip-content__intro {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ─── BIP Articles ───────────────────────────────── */
.bip-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.bip-article-item {
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.15s;
}

.bip-article-item:hover {
    border-color: #2563eb;
}

.bip-article-item__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bip-article-item__title a {
    color: #111827;
    text-decoration: none;
}

.bip-article-item__title a:hover {
    color: #2563eb;
}

.bip-article-item__meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.bip-article-item__excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ─── BIP Article ────────────────────────────────── */
.bip-article__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.bip-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.bip-article__meta a {
    color: #2563eb;
    text-decoration: none;
}

.bip-article__content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
}

/* ─── BIP Attachments ────────────────────────────── */
.bip-attachments {
    margin-bottom: 40px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.bip-attachments__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.bip-attachments__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bip-attachments__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.15s;
}

.bip-attachments__link:hover {
    border-color: #2563eb;
}

.bip-attachments__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.bip-attachments__size {
    color: #9ca3af;
    font-size: 12px;
}

/* ─── BIP Archive ────────────────────────────────── */
.bip-archive {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

.bip-archive__title {
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 16px;
}

.bip-archive__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bip-archive__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f9fafb;
    border-radius: 6px;
}

.bip-archive__link {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
}

.bip-archive__link:hover {
    color: #2563eb;
}

.bip-archive__date {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

/* ─── BIP Table ──────────────────────────────────── */
.bip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 32px;
}

.bip-table thead tr {
    background: #1e40af;
    color: #fff;
}

.bip-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.bip-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: top;
}

.bip-table tbody tr:hover {
    background: #f9fafb;
}

/* ─── BIP Changelog ──────────────────────────────── */
.bip-changelog {
    margin-top: 40px;
}

.bip-changelog__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

/* ─── BIP misc ───────────────────────────────────── */
.bip-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
}

.bip-link:hover {
    text-decoration: underline;
}

.bip-empty {
    color: #9ca3af;
    font-size: 14px;
    padding: 24px 0;
}

/* ─── BIP Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .bip-layout {
        flex-direction: column;
    }

    .bip-sidebar {
        width: 100%;
        position: static;
    }
}
:root {
    --color-dark:  var(--color-text);           /* = var(--navy), zamiast dziedziczonego #333 */
    --color-muted: var(--color-text-secondary);  /* #524D47, zamiast dziedziczonego #333 */
}
