/* ==========================================================================
   ROK PAGE TITLE
   ========================================================================== */

.rok-page-title {
	position: relative;
	display: flex;
	align-items: center;

	width: 100%;
	min-height: 350px;

	overflow: hidden;

	box-sizing: border-box;
}

.rok-page-title *,
.rok-page-title *::before,
.rok-page-title *::after {
	box-sizing: border-box;
}


/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.rok-page-title-bg {
	position: absolute;
	inset: 0;

	z-index: 0;

	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.rok-page-title-overlay {
	position: absolute;
	inset: 0;

	z-index: 1;

	background-color: rgba(0, 0, 0, 0.65);
}


/* ==========================================================================
   CONTENT
   ========================================================================== */

.rok-page-title-content {
	position: relative;

	z-index: 5;

	display: flex;
	align-items: center;

	width: 100%;
	min-height: inherit;

	padding: 50px 30px;
}

.rok-page-title-inner {
	width: 100%;
	max-width: 1200px;

	margin-left: auto;
	margin-right: auto;
}


/* ==========================================================================
   CONTENT ALIGNMENT - DESKTOP
   ========================================================================== */

.rok-page-title-align-left {
	text-align: left;
}

.rok-page-title-align-center {
	text-align: center;
}

.rok-page-title-align-right {
	text-align: right;
}


/* ==========================================================================
   TITLE
   ========================================================================== */

.rok-page-title-heading {
	margin: 0 0 10px;
	padding: 0;

	color: #ffffff;

	font-size: 70px;
	font-weight: 800;

	line-height: 1.05;

	text-transform: uppercase;

	letter-spacing: 1px;
}


/* ==========================================================================
   SUBTITLE
   ========================================================================== */

.rok-page-title-subtitle {
	display: block;

	max-width: 70%;

	margin: 0 auto 25px;

	color: #ffffff;

	font-size: 18px;
	font-weight: 400;

	line-height: 1.6;
}

.rok-page-title-align-left .rok-page-title-subtitle {
	margin-left: 0;
	margin-right: auto;
}

.rok-page-title-align-center .rok-page-title-subtitle {
	margin-left: auto;
	margin-right: auto;
}

.rok-page-title-align-right .rok-page-title-subtitle {
	margin-left: auto;
	margin-right: 0;
}


/* ==========================================================================
   BUTTON CONTAINER
   ========================================================================== */

.rok-page-title-buttons {
	display: flex;

	align-items: center;

	flex-wrap: wrap;

	gap: 12px;

	margin-top: 25px;
}


/* ==========================================================================
   BUTTON ALIGNMENT
   ========================================================================== */

.rok-page-title-buttons-left .rok-page-title-buttons {
	justify-content: flex-start;
}

.rok-page-title-buttons-center .rok-page-title-buttons {
	justify-content: center;
}

.rok-page-title-buttons-right .rok-page-title-buttons {
	justify-content: flex-end;
}


/* ==========================================================================
   BUTTON
   ========================================================================== */

.rok-page-title-button {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	gap: 8px;

	min-height: 48px;

	padding: 13px 26px;

	border-width: 1px;
	border-style: solid;

	border-radius: 0;

	font-size: 15px;
	font-weight: 600;

	line-height: 1.2;

	text-decoration: none;

	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.rok-page-title-button:hover {
	text-decoration: none;

	transform: translateY(-2px);

	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}


/* ==========================================================================
   BUTTON 1
   ========================================================================== */

.rok-page-title-button-1 {
	background-color: #ff641f;

	color: #ffffff;

	border-color: #ff641f;
}

.rok-page-title-button-1:hover {
	background-color: #e9500e;

	color: #ffffff;

	border-color: #e9500e;
}


/* ==========================================================================
   BUTTON 2
   ========================================================================== */

.rok-page-title-button-2 {
	background-color: transparent;

	color: #ffffff;

	border-color: #ffffff;
}

.rok-page-title-button-2:hover {
	background-color: #ffffff;

	color: #111111;

	border-color: #ffffff;
}


/* ==========================================================================
   BUTTON ICON
   ========================================================================== */

.rok-page-title-button-icon {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	line-height: 1;
}

.rok-page-title-button-icon svg {
	width: 15px;
	height: 15px;

	fill: currentColor;
}


/* ==========================================================================
   DECORATIVE SHAPE
   ========================================================================== */

.rok-page-title-shape {
	position: absolute;

	z-index: 3;

	top: -15%;
	right: -5%;

	width: 18%;
	height: 130%;

	background-color: #ffaa00;

	transform: skewX(-25deg);

	pointer-events: none;
}


/* ==========================================================================
   SHAPE INNER EFFECT
   ========================================================================== */

.rok-page-title-shape::before {
	content: "";

	position: absolute;

	top: -5%;
	right: 20%;

	width: 55%;
	height: 110%;

	background-color: rgba(255, 255, 255, 0.08);

	transform: skewX(15deg);
}

.rok-page-title-shape::after {
	content: "";

	position: absolute;

	top: 0;
	left: -25px;

	width: 4px;
	height: 100%;

	background-color: rgba(255, 255, 255, 0.15);
}


/* ==========================================================================
   DESKTOP
   ========================================================================== */

@media (min-width: 1025px) {

	.rok-page-title-heading {
		font-size: 70px;
	}

}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

	.rok-page-title {
		min-height: 300px;
	}

	.rok-page-title-content {
		padding: 45px 25px;
	}

	.rok-page-title-heading {
		font-size: 55px;
	}

	.rok-page-title-subtitle {
		max-width: 80%;
		font-size: 16px;
	}

	.rok-page-title-shape {
		width: 22%;
		right: -8%;
	}

	/* Tablet alignment */

	.rok-page-title-tablet-align-left {
		text-align: left;
	}

	.rok-page-title-tablet-align-center {
		text-align: center;
	}

	.rok-page-title-tablet-align-right {
		text-align: right;
	}

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {

	.rok-page-title {
		min-height: 230px;
	}

	.rok-page-title-content {
		padding: 35px 20px;
	}

	.rok-page-title-heading {
		font-size: 40px;

		letter-spacing: 0.5px;
	}

	.rok-page-title-subtitle {
		max-width: 100%;

		font-size: 14px;

		line-height: 1.5;

		margin-bottom: 20px;
	}

	.rok-page-title-buttons {
		gap: 10px;

		margin-top: 20px;
	}

	.rok-page-title-button {
		min-height: 44px;

		padding: 11px 18px;

		font-size: 13px;
	}

	.rok-page-title-shape {
		width: 30%;

		right: -15%;
	}


	/* Mobile content alignment */

	.rok-page-title-mobile-align-left {
		text-align: left;
	}

	.rok-page-title-mobile-align-center {
		text-align: center;
	}

	.rok-page-title-mobile-align-right {
		text-align: right;
	}

}


/* ==========================================================================
   MOBILE - BUTTONS
   ========================================================================== */

@media (max-width: 767px) {

	.rok-page-title-buttons-left .rok-page-title-buttons {
		justify-content: flex-start;
	}

	.rok-page-title-buttons-center .rok-page-title-buttons {
		justify-content: center;
	}

	.rok-page-title-buttons-right .rok-page-title-buttons {
		justify-content: flex-end;
	}

}

/* ==========================================================================
   ENTRANCE ANIMATION
   ========================================================================== */

.rok-page-title-heading,
.rok-page-title-subtitle,
.rok-page-title-buttons {
	opacity: 0;

	transform: translateY(20px);

	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

.rok-page-title-ready .rok-page-title-heading {
	opacity: 1;

	transform: translateY(0);
}

.rok-page-title-ready .rok-page-title-subtitle {
	opacity: 1;

	transform: translateY(0);

	transition-delay: 0.12s;
}

.rok-page-title-ready .rok-page-title-buttons {
	opacity: 1;

	transform: translateY(0);

	transition-delay: 0.24s;
}