/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    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; }
.dc-column { box-sizing: border-box; }
.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; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 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: 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; }

/* 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;
}

.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 12px 32px rgba(0,0,0,0.1);
}

/* 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%;
}

/* 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: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* Tytuł */
.dc-card__title {
    font-size: 1.15rem;
    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: #64748b;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.dc-card--hover-image .dc-card__description {
    color: rgba(255,255,255,0.75);
}

/* Link */
.dc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, gap 0.2s;
}

.dc-card__link:hover {
    border-color: #2563eb;
    gap: 0.7rem;
}

.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 {
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

/* ==========================================
   TYPOGRAFIA — Litho feel
   ========================================== */
:root {
    --color-primary: #2563eb;
    --color-dark: #1e293b;
    --color-muted: #64748b;
    --color-light: #f8fafc;
    --color-accent: #f59e0b;
    --color-border: #e2e8f0;
    --font-alt: 'Georgia', serif;
}

/* ==========================================
   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;
}

.dc-section:first-child .dc-button--primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================
   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
   ========================================== */
.dc-col--full    { width: 100%; }
.dc-col--half    { width: 50%; }
.dc-col--third   { width: 33.333%; }
.dc-col--quarter { width: 25%; }
.dc-col--two-thirds { width: 66.666%; }

@media (max-width: 991px) {
    .dc-col--quarter { width: 50%; }
    .dc-col--third   { width: 50%; }
}

@media (max-width: 575px) {
    .dc-col--half,
    .dc-col--third,
    .dc-col--quarter,
    .dc-col--two-thirds { width: 100%; }
}

/* ==========================================
   NAGŁÓWKI BLOKÓW
   ========================================== */
.dc-header {
    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: clamp(2rem, 5vw, 4rem); letter-spacing: -2px; }
h2.dc-header { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3.dc-header { font-size: 1.5rem; }

/* ==========================================
   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: #1d4ed8;
    border-color: #1d4ed8;
    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-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.dc-cta__description {
    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;
}




/* ************************************************** */
/* ─── 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 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;
    }
}