@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

.rdg-blocks .rdg-logo-team {
    width: calc(var(--vw, 1vw) * 100);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 99.55vw;

    .container.content {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 2.5rem 20px;
        
        .content {
            width: 100%;
            display: flex;

            @media (max-width: $breakpoint-sm) {
                & {
                    flex-direction: column;
                }
            }

            .image {
                display: flex;
                align-items: flex-start;

                &.w-20 {
                    width: 20%;
                    padding-right: 2rem;
                    justify-content: end;

                    @media (max-width: $breakpoint-lg) {
                        & {
                            width: 30%;
                        }
                    }

                    @media (max-width: $breakpoint-md) {
                        & {
                            width: 40%;
                        }
                    }
                }

                &.w-100 {
                    width: 100%;
                    justify-content: center;
                }

                @media (max-width: $breakpoint-sm) {
                    & {
                        &.w-20 {
                            width: 100%;
                            padding-right: 0;
                            padding-bottom: 2rem;
                            justify-content: center;
                        }
                    }
                }

                img {
                    @media (max-width: $breakpoint-md) {
                        & {
                            width: 90%;
                        }
                    }

                    @media (max-width: $breakpoint-sm) {
                        & {
                            width: 60%;
                        }
                    }
                }
            }

            .items {
                &.w-80 {
                    width: 80%;

                    @media (max-width: $breakpoint-lg) {
                        & {
                            width: 70%;
                        }
                    }

                    @media (max-width: $breakpoint-md) {
                        & {
                            width: 60%;
                        }
                    }
                }

                &.w-100 {
                    width: 100%;
                }

                @media (max-width: $breakpoint-md) {
                    & {
                        &.w-80 {
                            width: 100%;
                        }
                    }
                }

                .item {
                    .item-link {
                        color: var(--color-logo-team-link);
                        padding-bottom: 1rem;

                        &:hover {
                            color: var(--color-logo-team-link-hover);
                        }
                    }

                    .item-title {
                        width: 100%;
                        padding-bottom: 1rem;
                        display: inline-block;
                        color: var(--color-logo-team-title);
                    }

                    .item-text {
                        text-align: justify;
                        color: $color-dark-gray;
                        margin-bottom: 0;
                        color: var(--color-logo-team-description);
                    }
                }
            }
        }
    }
}

.acf-block-preview {
    .rdg-logo-team {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;

        a {
            text-decoration: none !important;
        }
    }
}
