.topbar-items ul li a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sidebar-edokumenty {
    margin: 0 0 22px;
}

.sidebar-edokumenty a {
    color: #fff;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
    text-decoration: none;
}

.edokumenty-intro {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.edokumenty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.edokumenty-card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-top: 4px solid var(--color-1st);
    color: #222;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.edokumenty-card:hover {
    color: #222;
    border-color: var(--color-1st);
}

.edokumenty-card__icon {
    color: var(--color-1st);
    font-size: 28px;
    line-height: 1;
    margin-bottom: 16px;
}

.edokumenty-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.edokumenty-card__lead {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.edokumenty-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 20px;
}

.edokumenty-switch a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.edokumenty-switch a[aria-current="page"] {
    color: var(--color-1st);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.edokumenty-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: #f7f7f7;
}

@media (min-width: 992px) {
    .topbar-items ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 28px;
    }

    .topbar-items ul li {
        margin-right: 0;
    }

    .topbar-items ul li.line::before {
        right: -15px;
    }
}

@media (min-width: 1200px) {
    .topbar-items ul {
        gap: 48px;
    }

    .topbar-items ul li.line::before {
        right: -25px;
    }
}
