/**
 * Arquivos e publicações de Mensagens, Estudos e Devocionais.
 */

.vtr-editorial-page {
	--vtr-editorial-card-background: linear-gradient(145deg, rgba(0, 24, 30, 0.9), rgba(13, 70, 65, 0.7));
}

.vtr-editorial-page--archive .vtr-editorial-grid,
.vtr-editorial-page--archive .vtr-inner-page__empty {
	margin-top: 0;
}

.vtr-editorial-page--archive .vtr-editorial-page__listing > .vtr-program-page__container,
.vtr-editorial-page--single .vtr-editorial-page__article-section > .vtr-program-page__container {
	padding-right: 0;
}

.vtr-editorial-page--single .vtr-editorial-page__article-section > .vtr-program-page__container {
	width: min(calc(100% - 128px), 920px);
}

.vtr-editorial-page--single .vtr-editorial-page__article-section {
	isolation: isolate;
	background-color: #eee3cc;
}

.vtr-editorial-page--single .vtr-editorial-page__article-section::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(78, 65, 37, 0.032) 1px, transparent 1px),
		linear-gradient(90deg, rgba(78, 65, 37, 0.032) 1px, transparent 1px),
		radial-gradient(ellipse at 14% 18%, rgba(132, 92, 38, 0.055), transparent 26%),
		radial-gradient(ellipse at 84% 52%, rgba(111, 75, 30, 0.045), transparent 30%),
		radial-gradient(ellipse at 36% 88%, rgba(126, 84, 34, 0.04), transparent 27%),
		radial-gradient(circle at 50% 10%, rgba(255, 250, 232, 0.48), transparent 40%),
		linear-gradient(115deg, rgba(255, 255, 255, 0.1), rgba(114, 76, 31, 0.025));
	background-position: center top;
	background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
	box-shadow:
		inset 0 0 90px rgba(83, 52, 20, 0.055),
		inset 0 0 220px rgba(70, 43, 17, 0.035);
	content: "";
	filter: saturate(0.96) sepia(0.04);
	pointer-events: none;
}

.vtr-editorial-page--single .vtr-editorial-page__article-section::after {
	position: absolute;
	z-index: 1;
	width: min(48vw, 650px);
	aspect-ratio: 1326 / 1187;
	background: #06473f;
	opacity: 0.045;
	pointer-events: none;
	-webkit-mask: url("../images/home/cross-book-watermark.png") center / contain no-repeat;
	mask: url("../images/home/cross-book-watermark.png") center / contain no-repeat;
}

.vtr-editorial-page--single .vtr-editorial-page__article-section::after {
	bottom: clamp(24px, 4vw, 64px);
	left: clamp(24px, 4vw, 64px);
	content: "";
}

.vtr-editorial-hero--single {
	min-height: clamp(540px, 72vh, 720px);
}

.vtr-editorial-hero__youtube {
	top: 50%;
	left: 50%;
	width: max(100vw, 177.78vh);
	height: max(56.25vw, 100vh);
	border: 0;
	transform: translate(-50%, -50%);
}

.vtr-editorial-hero__player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-top: clamp(26px, 4vw, 38px);
	overflow: hidden;
	border: 1px solid rgba(114, 238, 231, 0.4);
	border-radius: 18px;
	background: #00181e;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.vtr-editorial-hero__player iframe,
.vtr-editorial-hero__player video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
}

.vtr-editorial-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 17px;
	color: #72eee7;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.vtr-editorial-hero__eyebrow::before {
	width: 34px;
	height: 2px;
	background: currentColor;
	content: "";
}

.vtr-editorial-hero--single .vtr-editorial-hero__title {
	font-size: clamp(44px, 5.3vw, 74px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.045em;
	text-transform: none;
}

.vtr-editorial-hero__description {
	max-width: 720px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.55;
}

.vtr-editorial-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.vtr-editorial-meta__pill {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid rgba(114, 238, 231, 0.33);
	border-radius: 999px;
	background: rgba(8, 44, 51, 0.76);
	color: #a9f5ea;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.vtr-editorial-meta__pill--date {
	border-color: rgba(255, 143, 177, 0.34);
	background: rgba(54, 20, 44, 0.76);
	color: #ffaec6;
}

.vtr-editorial-meta__pill--duration {
	border-color: rgba(143, 169, 255, 0.35);
	background: rgba(19, 32, 70, 0.76);
	color: #abc2ff;
}

.vtr-editorial-meta__pill svg {
	width: 14px;
	height: 14px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	vertical-align: middle;
}

.vtr-editorial-meta__pill > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.vtr-editorial-hero--video {
		padding-top: clamp(120px, 15vh, 140px);
		padding-bottom: clamp(28px, 4vh, 40px);
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__eyebrow {
		margin-bottom: 12px;
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__title {
		font-size: clamp(42px, min(5vw, 7vh), 64px);
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__player {
		width: min(100%, 560px, 66vh);
		margin-top: clamp(16px, 2.5vh, 24px);
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__description {
		margin-top: 16px;
	}

	.vtr-editorial-hero--video .vtr-editorial-meta {
		margin-top: clamp(14px, 2vh, 20px);
	}
}

@media (min-width: 768px) and (max-height: 700px) {
	.vtr-editorial-hero--video .vtr-editorial-hero__player {
		width: min(100%, 60vh);
	}
}

@media (min-width: 901px) {
	.vtr-editorial-hero--video {
		min-height: clamp(520px, 72vh, 580px);
		align-items: flex-start;
		padding-top: clamp(116px, 12vw, 136px);
		padding-bottom: 40px;
	}

	.vtr-editorial-hero--video .vtr-program-page__hero-content {
		min-height: 350px;
	}

	.vtr-editorial-hero--video .vtr-program-page__hero-content > :not(.vtr-editorial-hero__player) {
		width: calc(42% - 24px);
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__title {
		font-size: clamp(44px, 5.3vw, 60px);
		overflow-wrap: anywhere;
	}

	.vtr-editorial-hero--video .vtr-editorial-hero__player {
		position: absolute;
		top: 0;
		left: 42%;
		width: 58%;
		margin: 0;
	}
}

.vtr-editorial-hero__audio {
	width: min(100%, 620px);
	margin-top: 26px;
	padding: 14px 18px 16px;
	border: 1px solid rgba(114, 238, 231, 0.54);
	border-radius: 14px;
	background: rgba(0, 20, 24, 0.76);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.vtr-editorial-hero__audio p {
	margin: 0 0 9px;
	color: #72eee7;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vtr-editorial-hero__audio audio {
	display: block;
	width: 100%;
	height: 42px;
}

.vtr-editorial-page__listing > .vtr-program-page__container,
.vtr-editorial-page__article-section > .vtr-program-page__container {
	min-height: 520px;
}

.vtr-editorial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 72px;
}

.vtr-editorial-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(0, 177, 170, 0.46);
	border-radius: 18px;
	background: var(--vtr-editorial-card-background);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.vtr-editorial-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #00312f;
}

.vtr-editorial-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.vtr-editorial-card:hover .vtr-editorial-card__media img,
.vtr-editorial-card:focus-within .vtr-editorial-card__media img {
	transform: scale(1.045);
}

.vtr-editorial-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(59, 224, 216, 0.14);
	background-image: linear-gradient(145deg, rgba(0, 72, 69, 0.88), rgba(0, 23, 29, 0.96));
}

.vtr-editorial-card__placeholder::after {
	display: block;
	width: 58%;
	height: 100%;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.18);
	content: "";
	-webkit-mask: url("../images/home/cross-book-watermark.png") center / contain no-repeat;
	mask: url("../images/home/cross-book-watermark.png") center / contain no-repeat;
}

.vtr-editorial-card__body {
	display: flex;
	min-height: 290px;
	flex-direction: column;
	padding: 25px 25px 23px;
}

.vtr-editorial-card__type {
	margin: 0 0 12px;
	color: #72eee7;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.vtr-editorial-card h2 {
	margin: 0;
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.035em;
}

.vtr-editorial-card h2 a {
	transition: color 180ms ease;
}

.vtr-editorial-card h2 a:hover,
.vtr-editorial-card h2 a:focus-visible {
	color: #72eee7;
}

.vtr-editorial-card__excerpt {
	display: -webkit-box;
	margin: 15px 0 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	line-height: 1.55;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.vtr-editorial-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 23px;
}

.vtr-editorial-card__footer > span {
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
}

.vtr-editorial-card__footer a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #72eee7;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.vtr-editorial-card__footer a span {
	font-size: 17px;
	transition: transform 180ms ease;
}

.vtr-editorial-card__footer a:hover span,
.vtr-editorial-card__footer a:focus-visible span {
	transform: translateX(4px);
}

.vtr-editorial-page .navigation.pagination {
	margin: 54px 0 0;
}

.vtr-editorial-page .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
}

.vtr-editorial-page .navigation.pagination .page-numbers {
	display: inline-grid;
	min-width: 44px;
	min-height: 44px;
	place-items: center;
	padding: 8px 13px;
	border: 1px solid rgba(114, 238, 231, 0.44);
	border-radius: 999px;
	background: rgba(0, 24, 30, 0.48);
	color: #fff;
}

.vtr-editorial-page .navigation.pagination .current,
.vtr-editorial-page .navigation.pagination a:hover,
.vtr-editorial-page .navigation.pagination a:focus-visible {
	border-color: #72eee7;
	background: #72eee7;
	color: #002724;
}

.vtr-editorial-article {
	width: 100%;
	margin: 0 auto;
	color: #173b37;
}

.vtr-editorial-article__content {
	color: inherit;
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.82;
}

.vtr-editorial-article__content > :first-child {
	margin-top: 0;
}

.vtr-editorial-article__content > :last-child {
	margin-bottom: 0;
}

.vtr-editorial-article__content h2,
.vtr-editorial-article__content h3,
.vtr-editorial-article__content h4 {
	margin: 2em 0 0.7em;
	color: #123b36;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.vtr-editorial-article__content h2 {
	font-size: clamp(30px, 4vw, 46px);
}

.vtr-editorial-article__content h3 {
	font-size: clamp(24px, 3vw, 34px);
}

.vtr-editorial-article__content a {
	color: #075f58;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.vtr-editorial-article__content .wp-block-button__link {
	border-color: #075f58;
	background: #075f58;
	color: #fff;
	text-decoration: none;
}

.vtr-editorial-article__content blockquote {
	margin: 2em 0;
	padding: 8px 0 8px 28px;
	border-left: 3px solid #008f88;
	color: #24544c;
	font-size: 1.14em;
}

.vtr-editorial-article__content img {
	height: auto;
	border-radius: 14px;
}

@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
	.vtr-editorial-card,
	.vtr-editorial-hero__audio {
		background: #00302c;
	}
}

@media (max-width: 980px) {
	.vtr-editorial-page--single .vtr-editorial-page__article-section > .vtr-program-page__container {
		width: min(calc(100% - 96px), 920px);
	}
}

@media (max-width: 900px) {
	.vtr-editorial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	/*
	 * Nos posts individuais com player, o vídeo não é renderizado como mídia
	 * decorativa. A seção clara desenha a mesma curva do hero e deixa visível
	 * o único background contínuo da página.
	 */
	.vtr-editorial-hero--video + .vtr-editorial-page__article-section {
		-webkit-mask-image: radial-gradient(
			ellipse 50% 22px at 50% 0,
			transparent calc(100% - 1px),
			#000 100%
		);
		mask-image: radial-gradient(
			ellipse 50% 22px at 50% 0,
			transparent calc(100% - 1px),
			#000 100%
		);
	}

	.vtr-editorial-page--single .vtr-editorial-page__article-section::after {
		width: calc(100% - 48px);
		opacity: 0.035;
	}

	.vtr-editorial-page--single .vtr-editorial-page__article-section::after {
		bottom: 24px;
		left: 24px;
	}

	.vtr-editorial-page--single .vtr-editorial-hero--single > .vtr-program-page__hero-content {
		width: calc(100% - var(--vtr-mobile-content-gutter) - var(--vtr-mobile-content-gutter));
	}

	.vtr-editorial-page--single .vtr-editorial-page__article-section > .vtr-program-page__container {
		width: calc(100% - var(--vtr-mobile-content-gutter) - var(--vtr-mobile-content-gutter));
	}

	.vtr-editorial-hero--single {
		min-height: 540px;
	}

	.vtr-editorial-hero--single .vtr-editorial-hero__title {
		font-size: clamp(38px, 10.5vw, 52px);
		line-height: 1.05;
	}

	.vtr-editorial-hero__description {
		max-width: none;
		margin-top: 18px;
		font-size: 16px;
	}

	.vtr-editorial-meta {
		margin-top: 19px;
	}

	.vtr-editorial-meta__pill {
		padding: 7px 10px;
		font-size: 12px;
	}

	.vtr-editorial-hero__audio {
		width: 100%;
		margin-top: 20px;
		padding: 12px 13px 14px;
	}

	.vtr-editorial-hero__player {
		width: 100%;
		margin-left: 0;
		border-radius: 18px;
	}

	.vtr-editorial-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 52px;
	}

	.vtr-editorial-card__body {
		min-height: 0;
	}

	.vtr-editorial-article {
		padding: 0;
	}

	.vtr-editorial-article__content {
		font-size: 16px;
		line-height: 1.72;
		overflow-wrap: anywhere;
	}

	.vtr-editorial-article__content p,
	.vtr-editorial-article__content li,
	.vtr-editorial-article__content dt,
	.vtr-editorial-article__content dd,
	.vtr-editorial-article__content th,
	.vtr-editorial-article__content td {
		font-size: 20px;
	}

	.vtr-editorial-article__content blockquote {
		font-size: 1.375em;
	}

	.vtr-editorial-article__content blockquote p,
	.vtr-editorial-article__content blockquote li {
		font-size: inherit;
	}

	.vtr-editorial-article__content img,
	.vtr-editorial-article__content iframe,
	.vtr-editorial-article__content video {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vtr-editorial-card__media img,
	.vtr-editorial-card__footer a span {
		transition: none;
	}
}
