
.#{$prefix}-single-post{
    margin: 0;
    p{
        text-align: initial;
    }
    .entry-content{
        margin: 0;
        @include media(xs){
            background-color: $color_white;
            padding: 15px 30px 30px;
        }
    }
    .twp-share-title{
        h2{
            &::after{
                content: none;
            }
        }
    }

    h1,h2,h3,h4,h5,h6{
        margin-top: 20px;
        margin-bottom: 0;
        position: relative;
        padding-bottom: 10px;
        &:after{
            content: '';
            display: inline-block;
            width: 50px;
            height: 3px;
            position: absolute;
            bottom: 0;
            left: 0;
        }
        &.has-text-align-center{
            &:after{
                left: 50%;
                @include transform(translateX(-50%));
            }
        }
        &.has-text-align-right{
            &:after{
                right: 0;
                left: initial;
            }
        }
    }

    p,
    figure,figcaption,
    .wp-block-cover,
    .wp-block-button{
        margin-top: 15px;
        margin-bottom: 0;
    }
    // Image
    .post-thumbnail{
        margin-top: 10px;
    }
    
    .post-thumbnail,
    .wp-block-image{
        text-align: center;
        background-color: $color_white;
        border-radius: 5px;
        padding: 15px;
        display: block;
        box-shadow: 0 0 5px 5px rgba($color_light_gray,0.6);
    }
    
    // Quote
    blockquote{
        margin: 15px 0 0;
    }
    .wp-block-pullquote{
        padding: 0;
        margin-top: 0;
    }

    // Preformatted text
    pre{
        &.wp-block-verse,
        &.wp-block-preformatted{
            background-color: rgba(0,0,0,1);
            font-size: 1rem;
            font-family: inherit;
            padding: 30px;
            margin-bottom: 0;
            margin-top: 15px;
            white-space: pre-line;
            text-align: justify;
            color: $color_white;
        }
    }

    // List
    ul{
        margin: 0;
        li{
            padding-top: 15px;
        }
    }
    
    // Categories
    .wp-block-categories{
        padding-top: 15px;
        list-style: lower-roman;
        select{
            padding: 7px 15px;
        }
        li{
            padding-left: 5px;
            a{
                text-decoration: none;
            }
        }
    }
    // Code
    .wp-block-code{
        background-color: rgba($color_black,1);
        font-family: inherit;
        margin-bottom: 0;
        color: $color_white;
    }

    code{
        font-family: inherit;
    }

    // Table
    .wp-block-table{
        &.is-style-stripes{
            border-bottom: 0;  
        }
    }
    table{
        td{
            padding: 10px 15px;
            text-align: center;
        }
    }
    // Gallery and image
    .blocks-gallery-grid{
        width: 100%;
    }

    figcaption{
        font-size: 1rem;
        color: inherit;
    }
    .wp-block-gallery{
        margin-top: 0;
        .slick-slider{
            margin-top: 20px;
        }
        .blocks-gallery-item{
            margin-bottom: 0;
        }
        figcaption{
            color: $color_white;
        }
        li{
            figure{
                margin-top: 0;
            }
        }
    }
    .slick-slider{
        li{
            padding-top: 0; //overwrite
        }

    }
     // Horizontal line
     hr{
        height: 1px;
        background-color: $color_light_gray;
        margin: 20px 15px 0;
    }
   
}

// IMAGE
.widget,
.#{$prefix}-single-post{
    figure{
        text-align: center;
        overflow: hidden;
        a{
            position: relative;
            display: inline-block;
            &:before{
                content:'\f178';
                display: inline-block;
                @extend %ionicons;
                position: absolute;
                top: 15px;
                right: 15px;
                height: 40px;
                width: 40px;
                line-height: 36px;
                font-size: 18px;
                border-radius: 100%;
                @include border(2px,solid);
                z-index: 2;
                font-weight: $font_weight_bold;
                @include transition();
                opacity: 0;
               
            }
            &:hover{
                &:before{
                    opacity: 1;
                }
            }
            img{
                @include transition(transform,0.3s,linear);
                @include backface();  
                cursor: pointer;
                &:hover{
                    @include transform(scale(1.1,1.1));
                }
            }
        }
       
    }
}
// anchor tag
.entry-content{
	a{
		&:not(.more-link) {
			&:not(.button) {
                &:not(.twp-icon-holder){
                    text-decoration: underline;
                }
			}
		}
	}
}

.entry-summary{
	a {
		&:not(.more-link) {
			&:not(.button) {
				text-decoration: underline;
			}
		}
	}
}
.widget_text{
	a {
		&:not(.more-link) {
			&:not(.button){
                text-decoration: underline;
			}
		}
	}
}
