
/* PRAWNIKOM PRO - KATALOG SYNDYKOW */

html body main.pro-directory {
    --pd-navy: #142641;
    --pd-gold: #c6a46a;
    --pd-border: #dce4ee;
    --pd-muted: #64748b;

    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 24px !important;
    margin: 0 !important;
    background: #f1f5f9 !important;
    color: #142641 !important;
    font-family: "Inter","Segoe UI",Arial,sans-serif;
}

.pro-directory *,
.pro-directory *::before,
.pro-directory *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

.pro-directory a,
.pro-directory a * {
    text-decoration: none !important;
}

/* NAGLOWEK */

html body .pro-directory > header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 36px !important;
    margin: 0 0 24px !important;
    background: linear-gradient(
        120deg,#0e1b30,#142641,#203957
    ) !important;
    border: 0 !important;
    border-bottom: 3px solid #c6a46a !important;
    color: #fff !important;
}

.pro-directory > header > div {
    flex: 1 1 300px;
    min-width: 0;
}

html body .pro-directory > header small {
    color: #e1bf80 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

html body .pro-directory > header h1 {
    color: #fff !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: clamp(28px,3vw,44px) !important;
    font-weight: 400;
    line-height: 1.25;
    margin: 14px 0 !important;
}

html body .pro-directory > header p {
    color: #dce4ee !important;
    font-size: 15px;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 !important;
}

html body .pro-directory > header > a.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px !important;
    background: transparent !important;
    color: #e1bf80 !important;
    border: 1px solid #c6a46a !important;
    font-size: 13px;
    font-weight: 600;
}

html body .pro-directory > header > a.btn:hover {
    background: #c6a46a !important;
    color: #142641 !important;
}

/* WYSZUKIWARKA */

html body .pro-directory .pro-search {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 160px;
    align-items: center;
    gap: 16px;
    padding: 24px !important;
    margin: 0 0 24px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    border-top: 3px solid #c6a46a !important;
}

html body .pro-directory .pro-search input {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.pro-directory .pro-search input::placeholder {
    color: #64748b !important;
}

html body .pro-directory .pro-search button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    height: 50px !important;
    padding: 12px 24px !important;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pro-directory .pro-search button::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    border: 2px solid #e1bf80;
    border-radius: 50% !important;
}

html body .pro-directory .pro-search button:hover {
    background: #29415e !important;
}

/* LISTA SYNDYKOW */

html body .pro-directory .pro-list {
    display: grid !important;
    grid-template-columns: minmax(0,1fr);
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* WIERSZ KATALOGU */

html body .pro-directory .pro-row {
    display: grid !important;
    grid-template-columns:
        52px
        minmax(0,1.8fr)
        minmax(130px,.7fr)
        165px;
    align-items: center;
    gap: 20px !important;
    min-height: 104px;
    width: 100% !important;
    min-width: 0;
    padding: 18px 22px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #dce4ee !important;
    border-left: 3px solid #c6a46a !important;
    box-shadow: none !important;
    transition: background .15s,border-color .15s;
}

html body .pro-directory .pro-row:hover {
    background: #f8fafc !important;
    border-color: #c6a46a !important;
}

/* IKONA PROFILU */

.pro-directory .pro-row::before {
    content: "";
    display: block;
    width: 52px;
    height: 52px;
    background-color: #edf2f7;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396702d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 22v-3a8 8 0 0 1 16 0v3M2 22h20'/%3E%3C/svg%3E");
    border: 1px solid #dce4ee;
}

.pro-directory .pro-row > div {
    min-width: 0;
}

/* IMIE I NAZWISKO */

html body .pro-directory .pro-row h2 {
    color: #142641 !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 23px !important;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 8px !important;
    overflow-wrap: anywhere;
}

html body .pro-directory .pro-row small {
    display: block;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.6;
}

/* MIEJSCOWOSC */

html body .pro-directory .pro-address {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 14px !important;
    background: #f5f7fa !important;
    border: 1px solid #e5eaf0 !important;
    color: #142641 !important;
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pro-directory .pro-address::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396702d' stroke-width='1.7'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* PRZYCISK PROFILU */

html body .pro-directory .pro-row > a.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 44px;
    padding: 12px 16px !important;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 12px !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: none !important;
}

html body .pro-directory .pro-row > a.btn:hover {
    background: #c6a46a !important;
    color: #142641 !important;
    border-color: #c6a46a !important;
}

/* PAGINACJA */

html body .pro-directory .ted-pages {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 22px !important;
    margin: 24px 0 0 !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
}

html body .pro-directory .ted-pages > span {
    color: #142641 !important;
    font-size: 13px;
    font-weight: 500;
}

html body .pro-directory .ted-pages button {
    min-height: 44px;
    padding: 10px 20px !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13px;
    box-shadow: none !important;
}

html body .pro-directory .ted-pages button:not(:disabled):hover {
    background: #142641 !important;
    color: #fff !important;
}

.pro-directory .ted-pages button:disabled {
    opacity: .4 !important;
    cursor: not-allowed;
}

/* FOCUS */

.pro-directory :is(a,button,input):focus {
    box-shadow: none !important;
}

.pro-directory :is(a,button,input):focus-visible {
    outline: 2px solid #96702d !important;
    outline-offset: 3px;
}

html body .pro-directory [hidden] {
    display: none !important;
}

/* TABLET */

@media (max-width: 1100px) {

    html body main.pro-directory {
        padding: 18px !important;
    }

    html body .pro-directory .pro-row {
        grid-template-columns:
            44px minmax(0,1fr) 130px 145px;
        gap: 14px !important;
        padding: 16px !important;
    }

    .pro-directory .pro-row::before {
        width: 44px;
        height: 44px;
    }

    html body .pro-directory .pro-row h2 {
        font-size: 20px !important;
    }
}

/* TELEFON */

@media (max-width: 760px) {

    html body main.pro-directory {
        padding: 12px !important;
    }

    html body .pro-directory > header {
        padding: 22px !important;
        gap: 18px;
    }

    html body .pro-directory > header > a.btn {
        width: 100% !important;
    }

    html body .pro-directory .pro-search {
        grid-template-columns: minmax(0,1fr);
        padding: 16px !important;
        gap: 10px;
    }

    html body .pro-directory .pro-row {
        grid-template-columns: 44px minmax(0,1fr);
        gap: 12px !important;
        padding: 16px !important;
    }

    .pro-directory .pro-row::before {
        grid-column: 1;
        grid-row: 1;
    }

    .pro-directory .pro-row > div {
        grid-column: 2;
        grid-row: 1;
    }

    html body .pro-directory .pro-address {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    html body .pro-directory .pro-row > a.btn {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    html body .pro-directory .ted-pages {
        gap: 10px;
        padding: 14px !important;
    }

    .pro-directory .ted-pages > span {
        order: -1;
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pro-directory * {
        transition: none !important;
    }
}

