.organizations-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 30px;
    padding-top: 20px;
}

.org-header {
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    height: 86px;
}

.org-header .org-info {
    width: 100%;
    display: flex;
    padding: 15px 15px 0 15px;
    height: 70px;
}

.org-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.org-card {
    width: 100%;
    color: #2e2c2c;
    min-height: 134px;
    position: relative;
    overflow: visible;
    height: fit-content;
    background-color: white;
    min-width: 0;
}

.org-card-inside-wrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    width: 100%;
    transition: height 0.2s ease;
    background-color: white;
    /* border: 2px solid #E7E7E7; */
    border: 1px solid #E7E7E7;
}

.org-card-inside-wrapper:hover {
    color: black;
    border: 1px solid #91B1D8;
}

.org-card.org-card-expanded {
    z-index: 1;
}

.org-card.org-card-expanded .org-card-inside-wrapper {
    display: flex;
    height: fit-content;
    position: absolute;
    flex-direction: column;
    width: 100%;
    border: 2px solid #91B1D8;
    box-shadow: -5px 5px 15px -5px rgba(0, 0, 0, 0.5);
}

.org-logo {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 30px;
    object-fit: contain;
    filter: grayscale(1);
}

.parent-logo {
    filter: grayscale(1);
}

.org-card:hover .org-logo,
.org-card-expanded .org-logo {
    filter: grayscale(0);
}

.org-card:hover .parent-logo,
.org-card-expanded .parent-logo {
    filter: grayscale(0);
}


.org-card-expanded .org-header {
    background-color: #91B1D8;
}

.org-name-wrapper {
    height: 45px;
    display: flex;
    align-items: center;
    min-width: 0;
}

.org-name {
    font-weight: bold;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 140%;
    max-height: 45px;
}

.org-card-expanded .org-name {
    color: black;
}

.toggle-details {
    user-select: none;
    padding-left: 10px;
    width: 100%;
}

.org-details {
    width: 100%;
    min-width: 200px;
    display: none;
    padding: 15px;
}

.org-card-expanded .org-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.toggle-details img {
    margin: auto;
    display: block;
    height: 8px;
    opacity: 0.8;
}

.org-card-expanded .toggle-details img {
    transform: rotate(180deg);
}

.org-card:hover .toggle-details img {
    opacity: 1;
}

.parent-block {
    display: flex;
    align-items: center;
    height: 48px;
    width: 100%;
    background-color: #e7e7e7;
    font-size: 12px;
    padding: 0 10px;
    justify-content: space-between;
}

.org-card:hover .parent-block {
    color: #707070;
}

.org-card-expanded .parent-block {
    color: #022456;
}

.org-card:hover.org-card-expanded .parent-block {
    color: #022456;
}

.organization {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 48px;
    margin-top: 10px;
}

.organization-simpletext {
    color: #1f1e1e;
}

.organization-highlighted-text {
    color: #722B14;
    font-weight: bold;
}

.organization-margin-bottom {
    margin-bottom: 14px;
}
.organization-simpletext.organization-black-color {
    color: #1f1e1e !important;
}

.card-data-block-label {
    font-weight: 700;
    color: black;
}

@media (min-width: 1110px) {
    .org-logo {
        width: 54px;
        height: 54px;
    }

    .parent-logo {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1110px) {
    .org-logo {
        width: 50px;
        height: 50px;
        margin-right: 26px;
    }

    .parent-logo {
        width: 28px;
        height: 28px;
    }

    .org-header .org-info {
        padding: 12px 12px 0 12px;
    }

    .org-name {
        font-size: 14px;
        line-height: 135%;
    }    
}

@media (max-width: 820px) {
    .organization {
        font-size: 12px;
    }

    .org-logo {
        width: 46px;
        height: 46px;
        margin-right: 22px;
    }

    .parent-logo {
        width: 26px;
        height: 26px;
    }

    .org-header .org-info {
        padding: 9px 9px 0 9px;
        align-items: center;
    }

    .org-name {
        font-size: 12px;
        line-height: 135%;
    }

    .toggle-details img {
        height: 6px;
    }
}

@media (max-width: 560px) {
    .org-logo {
        width: 42px;
        height: 42px;
        margin-right: 16px;
    }

    .parent-logo {
        width: 24px;
        height: 24px;
    }

    .org-header .org-info {
        padding: 6px 6px 0 6px;        
    }

    .org-name {
        font-size: 12px;
        line-height: 135%;
    }
}