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

.rdg-blocks .rdg-logo-ranking {
    width: 100%;
    display: flex;
    flex-direction: column;

    @include title;

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: .5rem;

        img {
            max-width: 18rem;
            max-height: 11rem;
            border-radius: 50%;
            border: 4px solid var(--logo-ranking-trophy-border);
        }
    }

    .footer {
        display: flex;
        gap: .5rem;

        .trophy {
            display: flex;

            &.w-50 {
                width: 50%;
                justify-content: flex-end;
            }

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

            img {
                max-width: 3rem;
                max-height: 3rem;
            }
        }

        .title {
            display: flex;
            
            &.w-50 {
                width: 50%;
                justify-content: flex-start;
            }

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

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