/* Common styles */
section.media-area {
	position: relative;
	width: 100%;
	height: 75vh;
	overflow: hidden;
	background-size:cover;
	background-position:center center;
}
section.media-area:after{
	content:'';
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:3px;
	background:var(--gold-gradient);
	display:block;
}

section.media-area .black-overlay:before {
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* This gives a dark overlay, adjust the last value for opacity */
	z-index: 1;
}


/* Video styles */
section.media-area .video-background {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
}

section.media-area .video-background video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
}

/* Image styles */
section.media-area .image-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: -100;
}

section.media-area .image-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section.media-area .content{
	position: absolute;
	width: 100%;
	max-width: 640px;
	padding: 20px 20px 20px 6%;
	text-align: left;
	bottom: 6%;
	background:rgba(0,0,0,0.75);
	text-shadow: 0 0 3px rgba(0,0,0,0.5);
	border-radius:0 5px 5px 0;
}
/* media background */

section.media-area h2{
	color: transparent;
	font-weight: 700;
	font-size: 2em;
	letter-spacing: 0.0em;
	line-height: 1.125em;
	background:var(--gold-gradient);
	background-size: cover; /* This ensures the image covers the entire dimension of the element */
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow:none;
	filter:drop-shadow(0px 1px 1px black);
	margin: 0;
	padding: 10px 0;
}
section.media-area p{
	color: var(--white-color);
    font-size: 1em;
	font-weight:400;
	margin-top:0;
}
@media only screen and (max-width:769px){
	section.media-area .content {
		bottom:0;
		border-radius:0;
	}
	section.media-area h2 {
		font-size:1.5em;
	}
}
