.hosting-text {
    max-width: 30rem;
    text-align: left;
    margin-right: 2rem;
}

.hosting-partners-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    width: 85%;
    margin: 0 auto;
    position: relative;
    min-height: 32.5rem;
    font-family: 'WantedSansVariable', sans-serif;
}

.hosting-partners-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 75rem;
    width: 100%;
    gap: 5rem;
}

.hosting-partner-logos {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.hosting-partner-logo {
    width: 22.5rem;
    height: 25rem;
    background-color: #ffffff;
    padding: 2.5rem 2.75rem;
    text-align: center;
    border-radius: 1.5rem;
    box-shadow: 0 0.375rem 1.125rem rgba(19, 24, 31, 0.06);
    border: 0.0625rem solid rgba(15,15,15,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hosting-partner-logo img {
    max-width: 80%;
    height: auto;
    display: block;
    margin-bottom: 0.75rem;
    max-height: 100%;
    object-fit: contain;
    margin-inline: auto;
}

.hosting-partner-logo p {
    margin: 0;
    font-size: 1.125rem;
    color: #333333;
    font-weight: 600;
}

.hosting-partners-content > div:last-child {
    flex: 1 1 55%;
    text-align: left;
}

@media screen and (max-width: 1200px) {
    .hosting-partners-content {
        max-width: 75rem;
        gap: 2.5rem;
    }

    .hosting-partner-logo {
        width: 18.75rem; 
        height: 21.25rem; 
        padding: 2rem;
    }
}

@media screen and (max-width: 992px) {
    .hosting-partners-content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    .hosting-partner-logos {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }

    .hosting-partner-logo {
        width: 17.5rem; 
        height: 20rem; 
        padding: 1.25rem 1.5rem;
    }

    .hosting-partners-section {
        width: 100%;
        min-height: auto;
    }
}

@media screen and (max-width: 768px) {
    .hosting-partner-logos {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hosting-partner-logo {
        width: 100%;
        max-width: 17.5rem; 
        height: 18.75rem;
        padding: 1rem;
    }

    .hosting-partners-content > div:last-child {
        padding: 0 1rem;
        text-align: center;
    }
}
