/**
 * Hero do Single Post.
 *
 * @package Valore_RH_Core
 * @since   1.0.0
 */

/* =========================================================
   HERO
   ========================================================= */

.vr-single-hero {
	width: 100%;
	padding: 72px 20px 0;
	background: #ffffff;
	font-family: "Poppins", sans-serif;
	color: #021627;
}

.vr-single-hero *,
.vr-single-hero *::before,
.vr-single-hero *::after {
	box-sizing: border-box;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.vr-single-hero__container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* =========================================================
   CONTEÚDO
   ========================================================= */

.vr-single-hero__content {
	width: 100%;
	max-width: 1040px;
	margin-bottom: 40px;
}

/* =========================================================
   CATEGORIA
   ========================================================= */

.vr-single-hero__category {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
}

.vr-single-hero__category-link,
.vr-single-hero__category-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(247, 164, 55, 0.14);
	color: #a85c00;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.vr-single-hero__category-link:hover,
.vr-single-hero__category-link:focus-visible {
	background: #f7a437;
	color: #021627;
	text-decoration: none;
	transform: translateY(-1px);
}

.vr-single-hero__category-link:focus-visible {
	outline: 3px solid rgba(247, 164, 55, 0.3);
	outline-offset: 3px;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.vr-single-hero__title {
	max-width: 1040px;
	margin: 0;
	color: #021627;
	font-family: "Poppins", sans-serif;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

/* =========================================================
   RESUMO
   ========================================================= */

.vr-single-hero__excerpt {
	max-width: 980px;
	margin: 24px 0 0;
	color: #44515d;
	font-family: "Poppins", sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.75;
}

/* =========================================================
   METADADOS
   ========================================================= */

.vr-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	color: #66727d;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.vr-single-hero__author {
	color: #021627;
	font-weight: 600;
}

.vr-single-hero__separator {
	color: #a5adb4;
	font-size: 12px;
	line-height: 1;
}

.vr-single-hero__date,
.vr-single-hero__reading-time {
	color: #66727d;
}

/* =========================================================
   IMAGEM DESTACADA
   ========================================================= */

.vr-single-hero__media {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #eef1f3;
	box-shadow:
		0 24px 60px rgba(2, 22, 39, 0.12),
		0 4px 16px rgba(2, 22, 39, 0.06);
	aspect-ratio: 16 / 9;
}

.vr-single-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.vr-single-hero {
		padding-top: 56px;
	}

	.vr-single-hero__content {
		max-width: 900px;
		margin-bottom: 32px;
	}

	.vr-single-hero__title {
		font-size: clamp(38px, 5.5vw, 54px);
	}

	.vr-single-hero__excerpt {
		font-size: 18px;
		line-height: 1.7;
	}

	.vr-single-hero__media {
		border-radius: 20px;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.vr-single-hero {
		padding: 40px 20px 0;
	}

	.vr-single-hero__content {
		margin-bottom: 28px;
	}

	.vr-single-hero__category {
		margin-bottom: 16px;
	}

	.vr-single-hero__category-link,
	.vr-single-hero__category-text {
		min-height: 32px;
		padding: 6px 12px;
		font-size: 12px;
	}

	.vr-single-hero__title {
		font-size: clamp(32px, 10vw, 44px);
		line-height: 1.12;
		letter-spacing: -0.025em;
	}

	.vr-single-hero__excerpt {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.65;
	}

	.vr-single-hero__meta {
		align-items: flex-start;
		gap: 7px;
		margin-top: 22px;
		font-size: 13px;
		line-height: 1.6;
	}

	.vr-single-hero__media {
		border-radius: 16px;
		aspect-ratio: 4 / 3;
		box-shadow:
			0 16px 40px rgba(2, 22, 39, 0.11),
			0 3px 10px rgba(2, 22, 39, 0.05);
	}
}

/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 480px) {

	.vr-single-hero {
		padding-right: 16px;
		padding-left: 16px;
	}

	.vr-single-hero__title {
		font-size: 32px;
	}

	.vr-single-hero__excerpt {
		font-size: 15px;
	}

	.vr-single-hero__meta {
		gap: 6px;
		font-size: 12px;
	}

	.vr-single-hero__separator {
		font-size: 10px;
	}

	.vr-single-hero__media {
		border-radius: 14px;
	}
}

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.vr-single-hero__category-link,
	.vr-single-hero__image {
		transition: none;
	}
}