.wpbdp-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-family: Roboto;
    font-weight: 600;
}

.wpbdp-categories > .cat-item {
    list-style: none;
    border-style: solid;
    border-width: 2px;
    border-color: #DBDBDB;
    border-radius: 8px;
    width: fit-content;
    text-align: center;
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.wpbdp-categories > .cat-item :hover {
    background-color: #E40047;
    border-radius: 6px;
    color: white;
    padding-top: 12px;
    padding-bottom: 13px;
    padding-right: 20px;
    padding-left: 20px;
}

.wpbdp-categories > .cat-item > a {
    text-decoration: none;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    color: #1F3B71;
}

.wpbdp-listings-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.wpbdp-company {
    border-style: solid;
    border-color: #dfdfdf;
    border-width: 2px;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    height: 100%;
    width: 500px;
    font-family: monospace;
}

@media (max-width: 768px) {
    .wpbdp-company {
        width: 95%;
    }
}

.wpbdp-company:hover {
    border-color: #b1b1b1;
}

.wpbdp-company-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.wpbdp-company-title-social {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    height: 100%;
}

.wpbdp-company-title {
    margin: 0px;
    display: flex;
}

.wpbdp-company-title a {
    color: #1F3B71;
    text-decoration: none;
    font-size: 0.6em;
    font-weight: 500;
}

.wpbdp-company svg {
    width: 25px;
    height: 25px;
    fill: #E40047;
}

.wpbdp-company a svg:hover {
    fill: rgb(31, 59, 113);
}

.wpbdp-company-category {
    border-style: solid;
    border-width: 2px;
    border-color: #DBDBDB;
    border-radius: 8px;
    text-align: center;
    padding: 4px 8px;
    font-size: 0.8em;
}

.wpbdp-company-category:hover {
    background-color: #E40047;
}

.wpbdp-company-category a {
    color: #1F3B71;
    font-weight: 500;
    text-decoration: none;
}

.wpbdp-company-category:hover a {
    color: white;
}

.wpbdp-company-main {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    font-size: 0.9em;
}

.wpbdp-company-line-field {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.wpbdp-company-line-field p {
    margin: 0px;
    color: #1F3B71;
}

.wpbdp-company-line-field a {
    color: #1F3B71;
    text-decoration: none;
}

.wpbdp-company-field-svg-container {
    display: flex;
    margin-top: 2px;
    margin-bottom: 2px;
}

.wpbdp-company-more-info {
    margin: 0px;
    width: 100%;
    background-color: #1F3B71;
    text-align: center;
    border-radius: 8px;
    padding: 8px;
}

.wpbdp-company-more-info:hover {
    background-color: #2f446e;
}

a.wpbdp-company-more-info {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
}

.wpbdp-main-links a {
    text-decoration: none;
    color: #1F3B71;
    font-weight: 600;
    padding: 6px 16px;
}

.wpbdp-main-links a:hover {
    color: white;
    background-color: #E40047;
    border-radius: 10px;
}

.wpbdp-pagination {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.wpbdp-pagination a {
    text-decoration: none;
    color: #1F3B71;
    font-weight: 600;
    padding: 6px 16px;
}

.wpbdp-pagination a:hover {
    color: white;
    background-color: #E40047;
    border-radius: 10px;
}

.wpbdp-back {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: fit-content;
    border-radius: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 24px;
    padding-right: 24px;
}

.wpbdp-back p {
    color: rgb(31, 59, 113);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 0px;
}

.wpbdp-back svg {
    width: 15px;
    height: 15px;
    fill: rgb(31, 59, 113);
}

.wpbdp-back:hover {
    cursor: pointer;
    background-color: #E40047;
}

.wpbdp-back:hover p {
    color: white;
}

.wpbdp-back:hover svg {
    fill: white;
}

.listing-columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    padding-bottom: 60px;
}

.listing-columns svg {
    width: 25px;
    height: 25px;
    fill: #E40047;
}

.listing-columns a svg:hover {
    fill: rgb(31, 59, 113);
}

.listing-summary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(223, 223, 223);
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .listing-summary {
        flex-direction: column;
    }
}

.listing-summary img {
    border-radius: 10px;
    max-height: 300px;
}

.listing-fields {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
}

.listing-title-category {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.listing-title-category h2 {
    margin: 0px;
}
