body, #fig_view  {
    background-color: var(--sbc_slate_blue);
}
#fig_view {
    display: block;
    padding-top: 6rem;
    padding-bottom: 2rem;

        & .fig_content_wrapper {
            --fig_content_margin: 5rem 5rem 0rem 5rem;
            --fig_img_width: 40vw;

            margin: var(--fig_content_margin);
            display: flex;
            flex-direction: row;
            gap: 2rem;
            
            & .fig_image_wrapper {
                background-color: white;
                border-radius: 1rem;
                padding: 1rem;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 2.12rem 2.12rem 2.38rem 2.12rem;
                /* biome-ignore lint: not solving now */
                padding: 2rem;
                position: sticky;
                top: 1rem;
                
                & img {
                    height: auto;
                    width: var(--fig_img_width);
                    min-width: var(--fig_img_width);
                    max-width: var(--fig_img_width);
                    padding: 0rem 2rem 0.5rem 2rem;
                }
            }
            
            & .fig_text_wrapper {
                height: 100%;
                display: flex;
                justify-content: center;
                flex-direction: column;
                
                & .fig_scroll_wrapper {
                    padding: 0rem 5rem 0rem 1rem;
                    --fig_scroll_color: #FFF;
                    overflow-y: auto;
                    overflow-wrap: break-word;


                    &::-webkit-scrollbar { width: 0.6rem;}
                    &::-webkit-scrollbar-button { background-color: var(--fig_scroll_color); height: 0; border-radius: 3px; }
                    &::-webkit-scrollbar-track {  background-color: var(--fig_scroll_color);}
                    &::-webkit-scrollbar-track-piece { background-color: var(--sbc_slate_blue);}
                    &::-webkit-scrollbar-thumb { height: 50px; background-color: var(--fig_scroll_color); border-radius: 4px;}
                    &::-webkit-scrollbar-corner { background-color: var(--fig_scroll_color);}
                    &::-webkit-resizer { background-color: #666;}

                }

                & p {
                    padding-bottom: 1rem;
                }

                & div {
                    padding-bottom: .5rem;
                }

                & .fig_description {
                    /* biome-ignore lint: not solving now */
                    font-family: Poppins;
                    font-size: 1.2rem;
                    font-style: normal;
                    font-weight: bold;
                    line-height: normal;
                }

                & .fig_donation {
                    /* biome-ignore lint: not solving now */
                    font-family: Poppins;
                    font-size: 1rem;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    text-transform: uppercase;
                }

                & .fig_info {
                    /* biome-ignore lint: not solving now */
                    font-family: Poppins;
                    font-size: 0.875rem;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                }
                & .fig_carved_attribute {
                    font-weight: bold;
                }

                & .coloring_pages {
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    padding: 1rem;
                    gap: .5rem;
                    
                    .coloring_card {
                        background-color: var(--sbc_navy);
                        padding: 1rem;
                        max-width: 20%;
                        min-width: 12rem;
                        border-radius: 1rem;
                    
                        .img_wrapper {
                            background-color: white;
                            border-radius: 1rem;
                            width: 100%;
                        }
            
                        img {
                            max-width: 100%;
                            height: 100%;
                            object-fit: contain;
                            padding: .5rem;
                        }
                        
                        .download {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                            text-transform: uppercase;
                            padding-top: 1.5rem;
                            margin: 0 auto;
                        }
                    }

                }
            }
            & .fig_right_section {
                width: calc(calc(100% - 40vw) - calc(var(--fig_content_margin) * 2));
            }
        }
        .gallery-slide {
            width: 15rem !important;
            height: 8rem !important;
            background-color: white;
            border-radius: 1rem;
            padding: 0.3rem;

            & img {
                width: 100%;
                height: 100%;
                border-radius: 1rem;
                object-fit: cover;
            }
        }
        .swiper-button-next, .swiper-button-prev {
            color: white;
            position: unset !important;
            margin-top: 0 !important;
        }
        .scrollbar_wrapper {
            padding: 3rem 1rem 3rem 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            height: 100%;
        }
        .swiper_dialog {
            height: 100%;
            border: none;
            background-color: var(--sbc_navy);
            border-radius: 1rem;
            overflow: hidden;

            & * {
                user-select: none;
            }

            &::backdrop {
                background-color: rgba(0, 0, 0, 0.8);
            }

            .dialogimages {
                height: 100%;
            }

            .dialog_slide {
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 1rem;
                padding: 0.3rem;
                margin-right: 0 !important;
                
                & img {
                    width: 100%;
                    height: 100%;
                    border-radius: 1rem;
                    object-fit: contain;
                }
            }
            & .fig_button_wrapper {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                gap: .5rem;
                text-decoration: none;
                position: absolute;
                top: 1rem;
                right: 1rem;

                & .fig_close_button, .fig_close_svg{
                    cursor: pointer;                    
                }
                
            }
        }
    }
@media only screen and (max-width: 1200px) {
    .fig_content_wrapper {
        flex-direction: column !important;
    }

    .fig_image_wrapper, .fig_right_section {
        flex: 1 1 48%; /* 48% width on larger screens */
    }
    .coloring_pages {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        max-width: 100%;
    }
  }
  @media only screen and (max-width: 800px) {
    #fig_view {
        .fig_content_wrapper {
            margin: 4rem 2rem 0rem 2rem !important;

            & .fig_scroll_wrapper {
                padding: 0rem 1rem 0rem 1rem !important;
            }
        }

        .scrollbar_wrapper {
            padding: 2rem !important;
        }

        & .fig_content_wrapper {
            & .fig_text_wrapper {
                & .coloring_pages {
                    .coloring_card {
                        /* max-width: 60%; */
                    }
                }
            }
        }
    }
  }
  @media only screen and (max-width: 500px) {
      #fig_view {
          & .fig_content_wrapper {
              & .fig_text_wrapper {
                  & .coloring_pages {
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                  }
              }
          }
      }
  }