
/* GLOBALNY KATALOG PROFILI */

html body #app .lp-summary {
    display:block;
    padding:14px 18px;
    margin:0 0 18px;
    background:#fff;
    border:1px solid #d3deea;
    border-left:3px solid #b58a43;
    color:#142641;
    font-size:14px;
    font-weight:600;
}

/* SIATKA KART */

html body #app .lp-grid {
    display:grid !important;
    grid-template-columns:
        repeat(auto-fit,minmax(min(280px,100%),1fr)) !important;
    align-items:stretch !important;
    gap:18px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
}

/* KARTA PROFILU */

html body #app .lp-grid > a.lp-card {
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:12px !important;

    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;

    height:auto !important;
    min-height:240px !important;
    max-height:none !important;

    padding:22px !important;
    margin:0 !important;

    background:#ffffff !important;
    color:#142641 !important;

    border:1px solid #d3deea !important;
    border-top:3px solid #b58a43 !important;
    border-radius:0 !important;

    box-sizing:border-box !important;
    text-decoration:none !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;

    transform:none !important;
    float:none !important;

    transition:
        border-color .2s,
        background-color .2s;
}

html body #app .lp-grid > a.lp-card:hover {
    background:#f8fafc !important;
    border-color:#b58a43 !important;
}

/* IKONA PROFILU SEDZIEGO */

html body #app .lp-card[href*="/sedzia?"]::before {
    content:"⚖";
    display:grid !important;
    place-items:center;
    position:static !important;

    width:44px;
    height:44px;

    background:#142641;
    color:#e4c78c;
    font-size:25px;
    line-height:1;
    flex-shrink:0;
}

/* NAZWA PROFILU */

html body #app .lp-grid .lp-card > h2 {
    position:static !important;
    display:block !important;

    order:0;
    width:auto !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    font-family:Georgia,"Times New Roman",serif;
    font-size:23px !important;
    line-height:1.35 !important;
    font-weight:500 !important;
    color:#142641 !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
    transform:none !important;
}

/* SAD I OPIS */

html body #app .lp-grid .lp-card > p {
    position:static !important;
    display:block !important;
    order:1;

    margin:0 !important;
    padding:0 !important;

    width:auto !important;
    height:auto !important;

    color:#475569 !important;
    font-size:14px !important;
    line-height:1.6 !important;
    font-weight:400 !important;

    white-space:normal !important;
}

/* LICZBA ORZECZEN */

html body #app .lp-grid .lp-card > .lp-tag {
    position:static !important;
    display:block !important;
    order:2;

    width:100% !important;
    max-width:100% !important;
    height:auto !important;

    padding:12px !important;
    margin:4px 0 0 !important;

    background:#eff3f8 !important;
    color:#142641 !important;

    border:1px solid #d3deea !important;
    border-left:3px solid #b58a43 !important;
    border-radius:0 !important;

    font-size:13px !important;
    font-weight:600 !important;
    line-height:1.5 !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
    transform:none !important;
}

/* DOLNY PRZYCISK KARTY */

html body #app .lp-grid .lp-card > small {
    position:static !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    order:3;

    width:100% !important;
    min-height:42px;

    padding:10px 12px !important;
    margin:auto 0 0 !important;

    background:#142641 !important;
    color:#ffffff !important;

    border:0 !important;
    border-radius:0 !important;

    font-size:13px !important;
    font-weight:500 !important;
    line-height:1.5 !important;
    text-align:center;
    white-space:normal !important;
}

html body #app .lp-grid .lp-card:hover > small {
    background:#203b5c !important;
}

/* PAGINACJA */

html body #app .lp-pagination {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:12px;

    width:100%;
    padding:18px;
    margin-top:24px;

    background:#ffffff;
    border:1px solid #d3deea;
}

html body #app .lp-pagination > span {
    color:#64748b;
    font-size:13px;
}

html body #app .lp-pagination > span:empty {
    display:none;
}

html body #app .lp-pagination > a {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;

    min-height:42px;
    padding:10px 20px;

    background:#142641 !important;
    color:#ffffff !important;
    border:1px solid #142641 !important;
    border-radius:0 !important;
}

/* RESPONSYWNOSC */

@media(min-width:1600px) {
    html body #app .lp-grid {
        grid-template-columns:
            repeat(4,minmax(0,1fr)) !important;
    }
}

@media(max-width:600px) {
    html body #app .lp-grid {
        grid-template-columns:
            minmax(0,1fr) !important;
        gap:12px !important;
    }

    html body #app .lp-grid > a.lp-card {
        padding:18px !important;
        min-height:0 !important;
    }

    html body #app .lp-grid .lp-card > h2 {
        font-size:21px !important;
    }
}

