/*sliderbox css*/
.sliderbox{
  width: auto;
  height: auto;
}
.sliderbox p{
	color: #fff !important;
}
.sliderbox{
    min-height: 500px;
}
.sliderbox h1, .sliderbox a.wp-block-button__link{
  letter-spacing: 1px;
  font-weight: 500;
  text-decoration: none;
}
.sliderbox a.wp-block-button__link:after{
	content: "";
    background: url(../images/btnicon.png) no-repeat #e381b0 4px;
    top: 0;
    right: -30px;
    position: absolute;
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
}
.sliderbox .wp-block-button{
	padding: 7px 15px 7px 17px;
	background: #e381b0;
	font-size: 20px;
	margin: 0;
}
/*post section*/
.main-post h3:after{
	content: "";
    background: url(../images/btnicon.png) no-repeat #e381b0 4px;
    top: 4px;
    right: -18px;
    position: absolute;
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
}
.main-post h3{
	padding: 15px 30px 15px 25px !important;
    display: inline-block;
    position: absolute;
    background: #e381b0;
    bottom: 0;
    top: auto;
    left:0 !important;
}
.main-post{
	margin-left: 0 !important;
}
.cat-content .wp-block-button__link{
	color: #e381b0 !important;
	text-decoration: none;
}
.cat-content .wp-block-button__link:hover{
	background: transparent !important;
}
.cat-content{
	box-shadow: -2px 2px 12px 0px #e7e7e7;
    padding: 25px 10px;
    height: 440px;
}
.main-post, .post-img{
	position: relative;
}
.main-post:hover .post-img {
    background-color: #e381b0 !important;
    opacity: 0.9 !important;
}
.main-post:hover .post-img h3{
    display: none !important;
}
.main-post:hover .post-content{
	opacity: 1 !important;
}
.main-post:hover .post-content:after, .main-post:hover .post-content:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.post-content:after, .post-content:before {
    border: 3px dashed #fff !important;
    bottom: 1em;
    content: '';
    left: 1em;
    opacity: 0;
    position: absolute;
    right: 1em;
    top: 1em;
    z-index: 99999;
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: 0.6s 0.2s;
    transition: 0.6s 0.2s;
}
.post-content:before {
    border-bottom: none !important;
    border-top: none !important;
    left: 2em;
    right: 2em;
}
.post-content:after {
    border-left: none !important;
    border-right: none !important;
    bottom: 2em;
    top: 2em;
}
.post-content{
	bottom: 0;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 30px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    -webkit-transition: 0.6s !important;
    transition: 0.6s !important;
}
.cat-section .post-content a.wp-block-button__link{
	text-decoration: none;
}
@media screen and (min-width: 720px) and (max-width: 768px){
	.cat-section{
		flex-wrap: nowrap !important;
	}
	.main-post h2{
		font-size: 14px !important;
	}
	.main-post h3{
		font-size: 16px !important;
	}
	.post-content p, .cat-content p, .cat-content .wp-block-button__link{
		font-size: 11px !important;
	}
	.cat-content h2{
		font-size: 20px !important;
	}
	.sliderbox .wp-block-columns.alignwide {
		margin: 0 auto !important;
	}
	.sliderbox .wp-block-column.is-vertically-aligned-center:nth-child(2) {
		flex-basis: 100% !important;
		margin: 20px !important;
	}
	.post-content:before{
		left: 20px;
		right: 20px;
	}
	.post-content:after{
		bottom: 20px;
    	top: 20px;
	}
	.post-content p{
		line-height: 1.5 !important;
	}
}
@media screen and (min-width: 320px) and (max-width: 720px){
	.main-post h3{
		font-size: 14px !important;
	}
	.sliderbox p{
		display: none; 
	}
}
@media screen and (min-width: 992px) and (max-width: 1024px){
	.post-content:before{
		left: 20px;
		right: 20px;
	}
	.post-content:after{
		bottom: 20px;
    	top: 20px;
	}
}