#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{
	font-size: 42px;
	font-weight: 500;
	max-width: 600px;
}
.another-hero p{
	font-size: 18px;
	font-weight: 400;
	max-width: 600px;
}

.home-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  margin: -80px auto 0;
}

.home-layout div.post-box-standard {
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 0 auto;
}
.home-layout div.post-box-standard.photo a.image {
	height: 175px;
}
.home-layout div.post-box-standard .image {
  background-size: cover;
  position: relative;
  background-position: center;
	border-radius: 8px 8px 0 0;
}
.home-layout.category-layout:not(.slider) div.post-box-standard{
	overflow: visible;	
}

.home-layout div.post-box-standard .image .type {
	color: var(--raspberry);
	background-color: rgba(255, 255, 255, 0.9);
	padding: 2px 5px;
	border-radius: 6px;
	position: absolute;
	top: 14px;
	left: 11px;
	width: auto;
	bottom: unset;
	border: none;
	font-size: 14px;
	font-weight: 500;
}
 
.home-layout div.post-box-standard .pbox-content {
  border: 1px solid #ebebeb;
  border-top: 0px;
  border-radius: 0 0 8px 8px;
  padding: 20px 16px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-layout div.post-box-standard .pbox-content a:hover, .home-layout div.post-box-standard .pbox-content a:hover .title,  .home-layout div.post-box-standard .pbox-content a:hover .desc{
	color: var(--magenta);
}
.home-layout div.post-box-standard .pbox-content .title {
  font-size: 18px;
  color: #333;
  font-weight: 500;
  line-height: 22px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.home-layout div.post-box-standard.double .pbox-content .title {
	font-size: 28px;
	line-height: 34px;
	overflow: visible;
}
.home-layout div.post-box-standard .pbox-content .desc{
	font-size: 16px;
	line-height: 24px;
	padding-top: 15px;
}
.home-layout div.post-box-standard.double a .pbox-content .title {
	font-size: 24px;
	line-height: 28px;
}
.home-layout div.post-box-standard .pbox-content .desc{
	font-size: 14px;
	line-height: 20px;
}

.home-layout div.post-box-standard .pbox-content .desc{
  color: #333;
  font-size: 16px;
}
.home-layout div.post-box-standard .pbox-content .cat-date {
  color: #333;
  font-size: 12px;
}
.home-layout div.post-box-standard .pbox-content .cat-date {
  margin-top: auto;
  padding-top: 26px;
}
.home-layout div.post-box-standard .pbox-content .cat-date .cat {
  color: var(--magenta);
}
.home-layout div.post-box-standard.double {
  min-height: 720px;
  grid-column: span 2;
  grid-row: span 2;
}
.home-layout div.post-box-standard.double .image {
  height: 48.61%;
}
.home-layout div.post-box-standard:nth-child(n+13){
	display: none;
}
.home-layout.slider div.post-box-standard:nth-child(n+13){
	display: flex;
}

.home-layout.category-layout{
	margin: 0 auto;
}
.category-layout-h3{
	font-size: 28px !important;
	font-weight: 300;
	margin: 75px 0 21px;
}
.category-layout-h3 .blue{
	color: var(--dblue);
	font-weight: 500;
}
.category-layout-h3 .blue:hover{
	color: var(--dblue);
}
.cat-boxes{
	padding: 52px 0 62px;
	background-color: var(--dblue);

}
.cat-boxes h2{
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 28px !important;
	font-weight: 400;
	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;
}

.home-layout.slider, .home-layout.slider .slick-list{
	min-height: 250px;
}
.home-layout.slider div.post-box-standard{
	position: relative;
	height: 250px;
	min-height: 250px;
}
.home-layout.slider div.post-box-standard .pbox-content{
	z-index: 2;
}
.home-layout.slider div.post-box-standard .pbox-content a{
	margin-top: auto;
}
.home-layout.slider div.post-box-standard .pbox-content .title{
	color: #fff;
	font-size: 20px;
	line-height: 22px;
}

.home-layout.slider div.post-box-standard .image{
	min-height: 100%;
	width: 100%;
	position: absolute;
}
.home-layout.slider div.post-box-standard .cat-date{
	display: none;
}

.home-layout.slider div.post-box-standard .pbox-content{
	background: linear-gradient(180deg,transparent 0%, transparent 40%, rgba(51, 51, 51, 1) 90%, rgba(51, 51, 51, 1) 100%);
	pointer-events: none;
}

.banner-main{
	background-color: var(--purple);
	border-radius: 8px;
	display: flex;
	margin: 6% auto;
}
.banner-main > div {
	flex: 0 0 50%;
}
.banner-main-content{
	color: #fff;
	padding: 53px 60px;
}
.banner-main-content h2{
	font-size: 28px;
	font-weight: 500;
	margin: 0;
}
.banner-main-content p{
	font-size: 16px;
	font-weight: 400;
}
.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');
	position: relative;
	padding: 0 20px;
}
#wrapper .banner-main-image img{
	position: absolute;
	max-width: unset;
	width: 97%;
	height: 100%;
	object-fit: contain;
	transform: scale(1.4);
}
.home-layout.slider{
	display: block;
	margin-bottom: 80px;
	overflow: visible;
	position: relative;
}
.home-layout.slider:before{
	position: absolute;
	content: ' ';
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, 0.8);
	top: -1px;
	right: 100%;
	z-index: 2
}
.home-layout.slider:after{
	position: absolute;
	content: ' ';
	height: 102%;
	width: 100%;
	background: rgba(255, 255, 255, 0.8);
	top: -1px;
	left: 100%;
	z-index: 2;
}

.home-layout.slider .slick-list{
	overflow: visible;
}

.home-layout.slider .slick-prev, .home-layout.slider .slick-next{
	font-size: 0px;
	background-color: var(--dblue);
	padding: 8px 12px;
}
.home-layout.slider .slick-prev:hover, .home-layout.slider .slick-next:hover{
	background-color:  #153866;
}


.home-layout.slider .slick-prev{
	position: absolute;
	right: 60px;
	top: -60px;
}
.home-layout.slider .slick-next{
	position: absolute;
	right: 15px;
	top: -60px;
}
.home-layout.slider .slick-prev:before {
      font-family: "Font Awesome 5 Free"; 
      font-weight: 900; 
      content: "\f104";
      font-size: 26px;
      line-height: 17px;
}

.home-layout.slider .slick-next:before {
      font-family: "Font Awesome 5 Free"; 
      font-weight: 900; 
      content: "\f105";
      font-size: 26px;
      line-height: 17px;
}

.home-layout.slider .slick-slide {
      margin: 0 5px;
}

.home-layout.slider .slick-list {
      margin: 0 -5px;
}


@media (min-width: 1199px) {
	.home-layout:not(.slider) > :nth-child(n+8):nth-child(-n+14) a{
		background-image: none !important;
	}
	.home-layout > :nth-child(n+8):nth-child(-n+14){
		min-height: 175px;
	}
	.home-layout > div.post-box-standard.photo:nth-child(n+8):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout > :nth-child(n+8):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout.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 div.post-box-standard:nth-child(n+13){
		display: flex;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
	.home-layout{
		grid-template-columns: repeat(4, 1fr);
	}

	.home-layout > div.post-box-standard.photo:nth-child(n+6):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout > :nth-child(n+6):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout > :nth-child(n+6):nth-child(-n+14) a{
		background-image: none !important;
	}
	.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);
	}
	.home-layout.category-layout.slider div.post-box-standard {
		min-height: 300px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.home-layout{
		grid-template-columns: repeat(3, 1fr);
	}
	.home-layout:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) a.image {
		height: 30px;
		min-height: unset;
	}
	.home-layout:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) .pbox-content{
		border-color: transparent;
	}
	.home-layout:not(.category-layout) > :nth-child(n+4):nth-child(-n+14) a{
		background-image: none !important;
	}
	.home-layout div.post-box-standard:nth-child(n+13){
		display: none;
	}
	.cat-boxes .cat-boxes-container{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.another-hero{
		text-align: center;
	}
	.home-layout{
		grid-template-columns: repeat(2, 1fr);
	}
	.home-layout div.post-box-standard.double {
  		min-height: 420px;
  	}
  	.home-layout div.post-box-standard .pbox-content .title {
	    font-size: 16px;
	}
	.home-layout div.post-box-standard .pbox-content .desc{
		font-size: 14px;
	}
	.home-layout:not(.category-layout) > div.post-box-standard:nth-child(n+2):nth-child(-n+3){
		min-height: 300px;
	}
	.home-layout > div.post-box-standard:nth-child(n+2):nth-child(-n+3) .pbox-content{
		padding: 10px;
	}
	
	.home-layout div.post-box-standard .image {
		min-height: 40%;
	}
	.home-layout: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 > div.post-box-standard:nth-child(n+4):nth-child(-n+14), .home-layout.category-layout > div.post-box-standard{
		grid-column: span 2;
		flex-direction: row;
		min-height: 140px;
	}
	.home-layout > div.post-box-standard:nth-child(n+4):nth-child(-n+14) a.image, .home-layout.category-layout > div.post-box-standard a.image{
		width: 50%;
		height: 100%;
		border-radius: 8px 0 0 8px;
	}
	.home-layout > div.post-box-standard:nth-child(n+4):nth-child(-n+14) .pbox-content, .home-layout.category-layout > div.post-box-standard .pbox-content{
		border-width: 1px 1px 1px 0px;
		border-top: 1px solid #ebebeb;
		border-radius: 0 8px 8px 0;
		padding: 10px;
	}
	.home-layout > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .pbox-content .title{
		-webkit-line-clamp: 5;
	}
	.home-layout > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .cat-date span{
		display: block;
		font-size: 13px;
	}
	.home-layout > div.post-box-standard:nth-child(n+2):nth-child(-n+14) .cat-date span.pipe{
		display: none;
	}
	
	.cat-boxes .cat-boxes-container{
		grid-template-columns: repeat(2, 1fr);
	}
	
	.home-layout.category-layout.slider div.post-box-standard {
		min-height: 250px;
	}
	.home-layout.slider div.post-box-standard{
		width: 150px;
	}
	.home-layout.category-layout:not(.slider) > div.post-box-standard:nth-child(n+5):nth-child(-n+14){
		display: none
	}
	.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;
	}
	#wrapper .category-layout-h3, .cat-boxes h2{
		font-size: 24px !important;
	}
}
