.contact-card {
    border: 1px solid #07924D;
    width: 100%;
}

.contact-card ul {
    list-style: none;
}

.contact-thumb {
    height: 60px;
}

.contact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card-title {
    font-family: Gotham Pro, sans-serif;
    background-color: #F9F9F9;
    font-weight: 500;
    font-size: 14px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #000000;
    padding: 17px 12px 18px 10px;
}

.contact-card-title.featured-contact {
    background-color: #088446;
    color: #FFFFFF;
}

.contact-card-content {
    padding: 15px 10px;
}

.contact-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.contact-item-header>div {
    font-size: 12px;
    color: #000000;
    font-weight: 700;
    line-height: 1;
}

.line-wrap {
    border-bottom: 2px dotted black;
    flex-grow: 1;
}

.contact-socials {
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.contact-item:not(:last-child) .contact-socials {
    margin-bottom: 15px;
}

.contact-socials li a {
    display: flex;
    align-items: center;
    background-color: #F9F9F9;
    padding: 4px 10px;
    width: 100%;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0%;
    color: #000000;
    gap: 6px;
}

.company-website-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007BFF;
    font-family: Gotham Pro;
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    margin-bottom: 15px;
}

.company-website-link img {
    width: 14px;
    height: 14px;
}

@media (min-width: 560px) {

    .contact-thumb img {
        max-width: 217px;
    }

    .contact-card-header {
        display: flex;
    }

    .contact-card-title {
        flex: auto;
        display: flex;
        align-items: center;
        font-size: 12px;
    }
}

@media (min-width: 768px) {

    .contact-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 40px;
    }
}

@media (min-width: 991px) {

    .contact-card-title {
        font-size: 18px;
        line-height: 110%;
        padding: 20px;
        flex: auto;
    }

    .contact-card-content {
        display: flex;
        padding: 16px 20px;
    }

    .company-website-link {
        font-size: 14px;
        width: 217px;
        align-items: flex-start;
        height: max-content;
    }

    .contact-items {
        width: calc(100% - 217px);
    }

    .contact-socials {
        display: grid;
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        gap: 10px;
    }

    .contact-socials li a {
        overflow: auto;
    }

    .contact-item:not(:last-child) {
        margin-bottom: 0;
    }

    .contact-item:not(:last-child) .contact-socials {
        margin-bottom: 20px;
    }

    .contact-item-header>div {
        font-size: 16px;
    }

    .contact-socials li a {
        padding: 9px 17px;
        font-size: 14px;
    }

    .contact-item:not(:nth-last-child(-n+2)) {
        border-bottom: 1px solid #B8B8B8;
        margin-bottom: unset;
    }

    .company-website-link img {
        width: 20px;
        height: 20px;
    }

    .contact-item-header {
        margin-bottom: 15px;
    }
}
 
@media (max-width: 767px) {
    .contact-item:not(:last-child) {
        margin-bottom: 15px;
    }
}