/*  -----------------------------------------------------------------------------------------------
    Loop Posts Post Design Card
    @package v.1.1
--------------------------------------------------------------------------------------------------- */

.post-design-card
{
   &.entry-card
   {
        overflow: unset;
        position: relative;
        
        &:after
        {
            content: "";
            display: block;
            position: absolute;
            z-index: 4;
            bottom: 0%;
            width: 100%;
            height: 100px;
            background: linear-gradient(180deg, rgba(9, 7, 14, 0) 0%, #09070E 100%);
        }

       .entry-image-wrapper
       {
           position: relative;
           
           &:after
           {
               content: "";
               display: block;
               width: 100%;
               height: 100%;
               position: absolute;
               top: 0;
               bottom: 0;
               left: 0;
               right: 0;
               background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, $black 100%);
           }
       }

       .entry-content-inner
       {
            position: absolute;
            bottom: 48px; // because of margin bottom of post -- this is actually zero.
            padding: 24px 40px;
            background: transparent;
            max-height: 85%;

           .entry-header
           {

               .entry-title
               {
                   a
                   {
                       color: $white;
                       
                       &:hover
                       {
                           color: $accent_color;
                       }
                   }
               }
           }

           .entry-meta
           {
               color: $white;

               .meta-information
               {
                    a
                    {
                        color: $white;
                        
                        &:hover
                        {
                            color: $accent_color;
                        }
                        
                    }

                    svg
                    {
                        fill: $white;
                    }
               }

               .entry-reading-time
               {
                    svg
                    {
                        fill: $white;
                    }
               }
           }

           .entry-content 
           {
               p
               {
                   color: $white;
               }
           }

           .entry-footer
           {
               .post-edit-link
               {
                    color: $white;
                    
                   &:before
                   {
                       background-color: $white;
                   }

                   &:hover
                   {
                       color: $accent_color;
                   }
               }

               .sticky-post
               {
                    top: auto;
                    bottom: 3px;
                    left: auto;
                    right: 0;
                    transform: translate(-50%, 0);
                    border: 1px solid $grey;
               }
           }
       }
   }

   &:hover
   {
        .entry-image
        {
            .hover
            {
                top: 10% !important;
                transform: translate(-50%, 0);
            }
        }
   }
}
