/*** Jury & Winners Interviews Page Style ***/
.page-template-template_jury h2 {
	color: #b29376 !important;	
}

/*
.main-section {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	padding: 30px 0;
}
*/

.main-section .et_pb_row {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main-section .image-wrapper {
	order: 1;
}

.main-section .image-wrapper img {
	width: 100%;
}

.main-section .bio {
	order: 2;
	padding: 15px;
}

.bio h2 {
	color: #b29376;
	font-weight: 700;
	text-align: center;
}

.bio h3,
.bio p {
	text-align: center;
}

.page-second-title {
	padding-top: 20px;
	text-align: center;
}

.page-second-title hr {
	margin: 10px auto 20px;
}

.page-second-title h2 {
	font-family: 'Prata',Georgia,"Times New Roman",serif;
	font-size: 24px;
	font-weight: 700;
	color: #b29376;
	margin-bottom: 20px;
}

.page-second-title p {
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
	max-width: 700px;
	margin: 0 auto;
}

.posts-section .et_pb_row {
	width: calc(100% - 40px);
}

.posts-wrapper {
	display: flex;
    flex-wrap: wrap;
    align-items: stretch;
	margin-left: -10px;
    margin-right: -10px;
}

.post {
    width: 100%;
    padding: 10px 0;
    position: relative;
}

.post a {
    padding: 10px;
    display: block;
    position: relative;
    height: 100%;
}

.post-image {
    margin-bottom: 15px;
    text-align: center;
}

.post-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: top;
}

.post-image.bottom img {
	object-position: bottom;
}

.post-image.center img {
	object-position: center;
}

.post-text {
	text-align: center;
}

.post-text h3 {
	font-weight: 700;
}

.post-text p {
    text-transform: uppercase;
    font-size: 12px;
}

.dark-bkg .post-text h3,
.dark-bkg .post-text p {
	color: #fff !important;
}

.grey-bkg .post-text p {
	color: #7f838a;
}

.post::after,
.post::before,
.post a::after,
.post a::before {
	display: none;
    content: '';
    position: absolute;
    background: #b29376;
    width: 0;
    height: 0;
    transition: all .3s;
}

.post::after {
    top: 20px;
    left: 0;
}

.post::before {
	top: 20px;
    right: 0;
}

.post a::after {
	top: 0;
	left: 0;
}

.post a::before {
	bottom: 0;
	right: 0;
}

.post:hover::after {
	width: 1px;
    height: calc(100% - 40px);
    transition: all .3s;
}

.post:hover::before {
	width: 1px;
    height: calc(100% - 40px);
    transition: all .3s;
}

.post:hover a::after {
	width: 100%;
	height: 1px;
	transition: all .3s;
}

.post:hover a::before {
	width: 100%;
	height: 1px;
	transition: all .3s;
}

.post:hover h3 {
	color: #b29376 !important;
	transition: all .3s;
}

@media(min-width:576px) {
	.post {
	    width: calc(50% - 20px);
	    padding: 10px 0;
	    margin: 10px;
	    position: relative;
	}
	
	.post-image img {
	   	width: 100%;
	    height: 300px;
	    object-fit: cover;
	}
}

@media(min-width:768px) {
	.post {
	    width: calc(33.33% - 20px);
	}
}

@media(min-width:980px) {
	.page-second-title h2 {
		font-size: 32px;
	}
	
	.page-second-title p {
		font-size: 18px;
	}
	
	.main-section {
		padding: 20px 0 40px;
	}
	
	.main-section .et_pb_row {
		flex-direction: row;
		justify-content: space-between;
		padding: 20px 40px;
	}
	
	.image {
		width: calc(45% - 20px);
		order: initial;
		margin-bottom: 0;
	}
	
	.image img {
	    width: 100%;
	    height: 100%;
	    object-fit: cover;
	}
	
	.bio {
		width: calc(55% - 20px);
		padding: 20px;
		order: initial;
	}
	
	.post::after,
	.post::before,
	.post a::after,
	.post a::before {
		display: block;
	}
	
	.bio h2,
	.bio h3, 
	.bio p,
	.post-text {
		text-align: left;
	}
	
	.posts-wrapper {
	    margin-left: 0;
	    margin-right: 0;
	    padding-left: 20px;
	    padding-right: 20px;
	}
		
	.post {
		width: 25%;
		padding: 20px 0px;
		margin: 0;
	}
	
	.post-image {
	    height: 250px;
	    overflow: hidden;
	}
	
	.post-image img {
	    width: 100%;
	    height: 100%;
	    object-fit: cover;
	}
}

@media(min-width: 1200px) {
	.main-section .et_pb_row {
		padding: 20px 0;
	}
	
	.posts-wrapper {
	    margin-left: -10px;
	    margin-right: -10px;
	    padding-left: 0;
	    padding-right: 0;
	}
}