/*
Theme Name: VTR Hebrom
Theme URI: https://minvenhaoteureino.com/
Author: Ministério Venha o Teu Reino
Description: Tema institucional do Ministério Venha o Teu Reino.
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.3
Text Domain: vtr-hebrom
*/

:root {
	--vtr-bg: #001c1a;
	--vtr-bg-deep: #001311;
	--vtr-accent: #00b1aa;
	--vtr-teal: #2b776d;
	--vtr-white: #fff;
	--vtr-muted: #c7d8d4;
	--vtr-line: rgba(255, 255, 255, 0.2);
	--vtr-font: Montserrat, Arial, "Helvetica Neue", Helvetica, sans-serif;
	--vtr-container: 1320px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--vtr-bg);
	color: var(--vtr-white);
	font-family: var(--vtr-font);
	font-size: 16px;
	line-height: 1.55;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.vtr-container {
	width: min(calc(100% - 72px), var(--vtr-container));
	margin: 0 auto;
}

.vtr-main {
	min-height: 60vh;
}

.vtr-main--inner {
	padding: calc(var(--vtr-global-nav-height) + 78px) 0 120px;
	background-color: var(--vtr-bg);
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 177, 170, 0.04)),
		url("assets/images/texture-desktop.png");
	background-position: center top;
	background-size: cover;
}

.vtr-kicker {
	margin-bottom: 18px;
	color: #3be0d8;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.vtr-page-heading {
	max-width: 960px;
	margin-bottom: 64px;
}

.vtr-page-heading h1,
.vtr-entry h1 {
	font-size: clamp(3rem, 7vw, 6.8rem);
	font-weight: 300;
	line-height: 0.96;
	letter-spacing: -0.06em;
}

.vtr-entry__content {
	max-width: 860px;
	font-size: 1.08rem;
}

.vtr-entry__media {
	max-width: 1100px;
	margin: 0 0 58px;
}

.vtr-entry__media img {
	width: 100%;
	max-height: 720px;
	border-radius: 16px;
	object-fit: cover;
}

.vtr-entry__content h2 {
	margin-top: 2.5em;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
}

.vtr-entry__content a {
	color: #3be0d8;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.vtr-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.vtr-post-card {
	overflow: hidden;
	border: 1px solid var(--vtr-line);
	border-radius: 14px;
	background: rgba(0, 19, 17, 0.48);
}

.vtr-post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

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

.vtr-post-card:hover .vtr-post-card__media img {
	transform: scale(1.04);
}

.vtr-post-card__body {
	padding: 26px;
}

.vtr-post-card__body h2 {
	font-size: 1.45rem;
	line-height: 1.1;
}

.vtr-post-card__body p {
	margin-bottom: 0;
	color: var(--vtr-muted);
}

.navigation.pagination {
	margin-top: 48px;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.navigation.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px;
	border: 1px solid var(--vtr-line);
	border-radius: 50%;
}

.navigation.pagination .current {
	border-color: var(--vtr-accent);
	background: var(--vtr-accent);
	color: #000;
}

.vtr-reveal {
	opacity: 1;
	transform: none;
}

.vtr-js .vtr-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vtr-js .vtr-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 900px) {
	.vtr-main--inner {
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 177, 170, 0.04)),
			url("assets/images/texture-mobile.png");
	}

	.vtr-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.vtr-container {
		width: min(calc(100% - 36px), var(--vtr-container));
	}

	.vtr-main--inner {
		padding-bottom: 86px;
	}

	.vtr-post-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.vtr-js .vtr-reveal {
		opacity: 1;
		transform: none;
	}
}
