#wrapper{
	overflow: hidden;
}

.another-hero {
	position: relative;
	background-color: var(--dblue);
	overflow: hidden;
	z-index: 0;
	padding: 0 30px;
}
.another-hero:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../../images/shapes/RING_BLUES.webp');
	background-repeat: no-repeat;
	background-position: 140% center;
	background-size: 60%;
	opacity: 0.2; 
	z-index: -1; 
}
.another-hero .container{
	color: #fff;
	padding: 120px 15px 150px;
}

.another-hero h1{
	max-width: 600px;
}
.another-hero p{
	max-width: 600px;
}
.cat-boxes{
	padding: 52px 0 62px;
	background-color: var(--dblue);

}
.cat-boxes h2{
	width: 100%;
	text-align: center;
	color: #fff;
	margin: 0 0 40px;
}
.cat-boxes .cat-boxes-container{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px 20px;
}
.cat-boxes .cat-box{
	border: 2px solid #fff;
	border-radius: 8px;
	text-align: center;
	padding: 22px 10px;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	align-content: center;
}

.cat-boxes .cat-box:hover {
	background: #fff;
	color: var(--dblue);
	text-decoration: none;
}

.banner-main{
	background-color: var(--purple);
	border-radius: 8px;
	display: flex;
	margin: 6% auto;
}
.banner-main.pink{background-color: var(--magenta);}
.banner-main.magenta{background-color: var(--magenta);}
.banner-main.dblue{background-color: var(--dblue);}
.banner-main.blue{background-color: var(--blue);}
.banner-main.lblue{background-color: var(--lblue);}
.banner-main.purple{background-color: var(--purple);}
.banner-main.violet{background-color: var(--violet);}
.banner-main.green{background-color: var(--green);}
.banner-main.grey{background-color: var(--grey);}
.banner-main.main{background-color: var(--main);}
.banner-main.lgrey{background-color: var(--lgrey);}
.banner-main.lbluemagenta{background-color: var(--lbluemagenta);}

.banner-main > div {
	flex: 0 0 50%;
}
.banner-main-content{
	color: #fff;
	padding: 53px 60px;
}
.banner-main-content h2{
	margin: 0;
}
.banner-main-content p{
	
}
.banner-main-content a.btn{
	background-color: var(--magenta);
	color: #fff;
	border-width: 2px;
}
.banner-main-content a.btn:hover{
	background-color: #B50057
}
.banner-main-image{
	background: center / cover no-repeat url('../../images/shapes/zoom-magenta.webp');
	padding: 0 20px;
	position: relative;	
}

.banner-main.shape2d .banner-main-image{
	background-image: none;
}
.banner-main.shape2d .banner-main-image-mask{
	position: absolute;
	content: ' ';
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-mask: center / cover no-repeat url(#);
	mask: center / cover no-repeat url(#);
}

.banner-main.shape2d.svgbg-pink .banner-main-image-mask{background-color: var(--magenta);}
.banner-main.shape2d.svgbg-magenta .banner-main-image-mask{background-color: var(--magenta);}
.banner-main.shape2d.svgbg-dblue .banner-main-image-mask{background-color: var(--dblue);}
.banner-main.shape2d.svgbg-blue .banner-main-image-mask{background-color: var(--blue);}
.banner-main.shape2d.svgbg-lblue .banner-main-image-mask{background-color: var(--lblue);}
.banner-main.shape2d.svgbg-purple .banner-main-image-mask{background-color: var(--purple);}
.banner-main.shape2d.svgbg-violet .banner-main-image-mask{background-color: var(--violet);}
.banner-main.shape2d.svgbg-green .banner-main-image-mask{background-color: var(--green);}
.banner-main.shape2d.svgbg-grey .banner-main-image-mask{background-color: var(--grey);}
.banner-main.shape2d.svgbg-.main .banner-main-image-mask{background-color: var(--main);}
.banner-main.shape2d.svgbg-.lgrey .banner-main-image-mask{background-color: var(--lgrey);}
.banner-main.shape2d.svgbg-.lbluemagenta .banner-main-image-mask{background-color: var(--lbluemagenta);}

#wrapper .banner-main-image img{
	position: absolute;
	max-width: unset;
	width: 97%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
	transform: scale(1.4);
}

@media (min-width: 768px) and (max-width: 1199px) {
	.banner-main-content{
		padding: 30px 20px 30px 40px;
	}
	.banner-main-image {
		background-size: 120%;
	}
	.cat-boxes .cat-boxes-container{
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.cat-boxes .cat-boxes-container{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.another-hero{
		text-align: center;
	}
	
	.cat-boxes .cat-boxes-container{
		grid-template-columns: repeat(2, 1fr);
	}
	
	.banner-main{
		flex-direction: column-reverse;
		padding-left: 0;
		padding-right: 0;
		margin: 60px auto 40px;
		border-radius: 0;
	}
	.banner-main > div {
		flex: none;
		width: 100%;
  	}
	.banner-main-content {
		height: 60%;
		padding: 30px 20px;
		box-sizing: border-box;
	}

	.banner-main-image {
		height: 40%;
		min-height: 160px;
		padding: 0;
		position: relative;
		background-size: 130%;
	}
	.banner-main-content h2{
		font-size: 20px;
		
	}
	.banner-main-content p{
		font-size: 14px;
	}
	
	.another-hero::before {
		background-position: center 100%;
		background-size: 145%;
	}
	.another-hero .container{
		padding: 60px 0 130px;
	}
	.cat-boxes .cat-box{
		font-size: 16px;
	}
}

.home-layout-style:not(.slider) div.post-box-standard:nth-child(n+13){
	display: none;
}

@media (min-width: 1199px) {
	.home-layout-style:not(.slider) > :nth-child(n+8):nth-child(-n+14) a{
		background-image: none !important;
	}
	.home-layout-style > :nth-child(n+8):nth-child(-n+14){
		min-height: 175px;
	}
	.home-layout-style > div.post-box-standard.photo:nth-child(n+8):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout-style > :nth-child(n+8):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout-style.category-layout > :nth-child(n+8):nth-child(-n+14) .pbox-content{
		border-color: #ebebeb;
	}
}
@media (min-width: 991px) and (max-width: 1199px) {
	.home-layout-style:not(.slider) div.post-box-standard:nth-child(n+13){
		display: flex;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {

	.home-layout-style > div.post-box-standard.photo:nth-child(n+6):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout-style > :nth-child(n+6):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout-style > :nth-child(n+6):nth-child(-n+14) a{
		background-image: none !important;
	}
	.home-layout-style.category-layout.slider div.post-box-standard {
		min-height: 300px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.home-layout-style:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout-style:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout-style:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) a{
		background-image: none !important;
	}
	.home-layout-style:not(.slider) div.post-box-standard:nth-child(n+13){
		display: none;
	}
}

@media (max-width: 768px) {
	.home-layout-style:not(.category-layout) > div.post-box-standard:nth-child(n+2):nth-child(-n+3){
		min-height: 300px;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+2):nth-child(-n+3) .pbox-content{
		padding: 10px;
	}
	.home-layout-style:not(.category-layout) > div.post-box-standard:nth-child(n+2):nth-child(-n+3) a.image{
		flex-shrink: 0;
		height: 120px;
		min-height: unset;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+4):nth-child(-n+14){
		grid-column: span 2;
		flex-direction: row;
		min-height: 140px;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+4):nth-child(-n+14) a.image{
		width: 50%;
		height: 100%;
		border-radius: 8px 0 0 8px;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+4):nth-child(-n+14) .pbox-content{
		border-width: 1px 1px 1px 0px;
		border-top: 1px solid #ebebeb;
		border-radius: 0 8px 8px 0;
		padding: 10px;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .pbox-content .title{
		-webkit-line-clamp: 5;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .cat-date span{
		display: block;
		font-size: 13px;
	}
	.home-layout-style > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .cat-date span.pipe{
		display: none;
	}
	.home-layout-style.category-layout:not(.slider) > div.post-box-standard:nth-child(n+5):nth-child(-n+14){
		display: none
	}
}
