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

.rdg-blocks .rdg-membership-info {

    p {
        margin: 0;
    }

    .mi_section {
        padding-bottom: 32px;
        padding-top: 64px;

        .mi_heading {
            text-align: center;
            padding-top: 32px;
            padding-bottom: 32px;
            color: var(--color-white);
            font-size: 35px;
            margin-bottom: 20px;
            line-height: 1.2em;
        }
        .mi_wrapper {
            display: flex;
            column-gap: 16px;
            flex-wrap: wrap;
            justify-content: center;
            row-gap: 64px;
            height: 100%;

            .mi_container {
                border-radius: 8px;
                width: 300px;
                background-color: var(--color-white);
    
                .mi_header {
                    padding: 0 12px 20px 12px;
    
                    .mi_icon {
                        display: flex;
                        justify-content: center;
                        margin-top: -55px;
                        overflow: hidden;
    
                        img {
                            object-fit: cover;
                            max-width: 100px;
                            max-height: 100px;
                        }
                    }
    
                    .title {
                        font-size: 24px;
                        font-weight: bold;
                        text-align: center;
                        margin-top: 10px;
                    }

                    .yesterday_winners {
                        color: #9198a2;
                        font-size: 16px;
                        font-weight: bold;
                        text-align: center;
                        margin-bottom: 6px;
                    }
                }
    
                .mi_body {
                    padding: 16px 8px;
                    border-top: 1px solid var(--color-gray-line);
                    border-bottom: 1px solid var(--color-gray-line);
                    margin: 0 12px;
                    box-sizing: border-box;
                    text-align: center;

                    p:first-child {
                        margin-bottom: 12px;
                    }
                }
    
                .mi_footer {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-top: 16px;
                    padding-bottom: 16px;    
    
                    .mi_picks {
                        text-align: center;
                        padding: 15px 20px;
                        border-radius: 0.6em;
                        background-color: var(--color-primary-dark-light);
                        color: #ffffff;
                        font-weight: 500;
                    }
                }
                
                .group_details {
                    border-bottom-right-radius: 8px;
                    border-bottom-left-radius: 8px;
                    padding: 8px;
                    font-weight: 500;
                    background-color: #021c3f;
                    text-align: center;

                    a {
                        text-decoration: none;
                        color: white;
                    }
                }
            }
        }      
    }
}

