/*
 * Paróquia Nossa Senhora das Graças: folha de estilo do site.
 *
 * As cores são as da arte da Dominus para o site antigo: o azul-petróleo da
 * foto da Matriz, o vinho dos botões e o creme das ondas. Duas diferenças de
 * propósito:
 *
 * - o azul-claro que o Elementor usava no item de menu ativo (#3fb6c4 sobre
 *   o azul) dava 2,1:1 e ninguém com baixa visão lia; aqui o item ativo é
 *   branco com traço creme embaixo;
 * - o texto cinza-claro dos horários (#7a7a7a sobre branco, 4,3:1) virou o
 *   cinza do texto, que passa no AA.
 *
 * Na versão 1.1 o site ganhou a Cormorant Garamond nos títulos e o dourado
 * da coroa da imagem como cor de detalhe (fios, selos, ícones). O dourado
 * nunca é fundo de texto branco nem texto sobre branco no tom claro: para
 * palavra dourada existe o --dourado-texto, que passa no AA.
 *
 * Sem etapa de build: o que está aqui é o que o navegador recebe.
 */

:root {
	--azul: #14506b;
	--azul-escuro: #08364b;
	--azul-noite: #052636;
	--azul-ceu: #5b8fae;
	--vinho: #7a0b0b;
	--vinho-escuro: #560606;
	--vermelho: #c3121b;
	--dourado: #c49a3a;
	--dourado-claro: #ecd08a;
	--dourado-texto: #7d5a12;
	--creme: #fdf0d5;
	--creme-claro: #fff8ea;
	--texto: #1f2d35;
	--cinza: #4f5d65;
	--linha: #e9dfcc;
	--branco: #fff;

	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--larg: 1180px;
	--raio: 14px;
	--sombra: 0 10px 30px rgba(8, 54, 75, .1);
	--transicao: .2s ease;
	--onda: 70px;

	/* Altura do cabeçalho preso no alto, para as âncoras não ficarem embaixo dele. */
	--cabecalho: 92px;
}

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

html {
	scroll-padding-top: calc(var(--cabecalho) + 1rem);
}

body {
	margin: 0;
	background: var(--branco);
	color: var(--texto);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: var(--azul);
	transition: color var(--transicao);
}

a:hover,
a:focus-visible {
	color: var(--vinho);
}

h1, h2, h3, h4 {
	line-height: 1.2;
	color: var(--azul-escuro);
	margin: 0 0 .6em;
}

/* A serifada: títulos de seção, de página, de cartão e a abertura da capa. */
.nsg-titulo,
.nsg-topo-pagina-titulo,
.nsg-capa-texto h1,
.nsg-prosa h2,
.nsg-prosa h3,
.nsg-cartao-titulo,
.nsg-item-titulo,
.nsg-album-titulo,
.nsg-evento-titulo,
.nsg-confira-titulo,
.nsg-confira-nome,
.nsg-rodape-nome,
.nsg-pessoas h2,
.nsg-linha-tempo-nome,
.nsg-quadro-titulo,
.nsg-subtitulo,
.nsg-relacionados > h2,
.nsg-calendario-mes,
.nsg-dizimo-capa h2,
.nsg-vela h2,
.nsg-404-arte {
	font-family: var(--serif);
	letter-spacing: 0;
}

p { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--vermelho);
	outline-offset: 2px;
}

.nsg-larg {
	width: min(100% - 3rem, var(--larg));
	margin-inline: auto;
}

.nsg-larg--texto {
	width: min(100% - 3rem, 860px);
}

/* O primeiro Tab da página leva direto ao conteúdo. */
.nsg-pular {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: .8rem 1.4rem;
	background: var(--vinho);
	color: var(--branco);
}

.nsg-pular:focus {
	left: 1rem;
	top: 1rem;
	color: var(--branco);
}

/* Títulos e botões ---------------------------------------------------------- */

.nsg-titulo {
	font-size: clamp(2.1rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--azul-escuro);
}

/* O fio dourado debaixo dos títulos de seção. */
.nsg-secao-topo .nsg-titulo::after,
.nsg-titulo--meio::after {
	content: '';
	display: block;
	width: 72px;
	height: 3px;
	margin: .7rem auto 0;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--dourado) 20%, var(--dourado) 80%, transparent);
}

.nsg-titulo--meio {
	text-align: center;
}

.nsg-titulo--menor {
	font-size: clamp(1.8rem, 3vw, 2.2rem);
	color: var(--vinho);
}

.nsg-sobretitulo {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .3rem;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dourado-texto);
}

.nsg-sobretitulo::before {
	content: '';
	width: 28px;
	height: 2px;
	background: var(--dourado);
}

.nsg-sobretitulo .simbolo {
	width: 26px;
	height: 26px;
}

.nsg-subtitulo {
	margin: 2rem 0 .8rem;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--vinho);
}

.nsg-secao-topo {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.nsg-secao-topo p {
	margin: 0;
	color: var(--cinza);
	font-size: 1.05rem;
}

.nsg-botao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: 12px 30px;
	border: 2px solid var(--vinho);
	border-radius: 999px;
	background: transparent;
	color: var(--vinho);
	font-family: inherit;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--transicao), color var(--transicao), border-color var(--transicao);
}

.nsg-botao:hover,
.nsg-botao:focus-visible {
	background: var(--vinho);
	color: var(--branco);
}

.nsg-botao svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.nsg-botao--cheio {
	background: var(--vinho);
	color: var(--branco);
}

.nsg-botao--cheio:hover,
.nsg-botao--cheio:focus-visible {
	border-color: var(--vinho-escuro);
	background: var(--vinho-escuro);
	color: var(--branco);
}

.nsg-botao--pequeno {
	padding: 7px 18px;
	font-size: .78rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: var(--vinho);
	color: var(--branco);
}

.nsg-acao {
	margin: 2rem 0 0;
}

.nsg-acao--meio {
	text-align: center;
}

.nsg-selo {
	display: inline-block;
	padding: 3px 14px;
	border-radius: 999px;
	background: var(--vinho);
	color: var(--branco);
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.5;
}

.nsg-sem-foto {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--creme);
}

.nsg-sem-foto img {
	width: 40%;
	height: auto;
	opacity: .9;
}

/* -------------------------------------------------------------------------- */
/* Cabeçalho                                                                   */
/* -------------------------------------------------------------------------- */

.nsg-cabecalho {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--azul-escuro);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}

.nsg-cabecalho-int {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--cabecalho);
	padding-block: 8px;
}

.nsg-logo {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	padding-top: 6px;
}

/*
 * O brasão é maior que a faixa e passa um pouco para baixo dela, como um
 * selo. A sombra o separa da foto que vem embaixo.
 */
.nsg-logo .custom-logo {
	height: 112px;
	width: auto;
	margin-bottom: -26px;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
}

.nsg-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.nsg-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	row-gap: 2px;
}

/* "Vela Virtual": o desenho da vela antes do nome. */
.nsg-menu-vela .simbolo {
	width: 18px;
	height: 18px;
	color: var(--dourado-claro);
}

/*
 * "Doe agora": o item com a classe nsg-menu-botao (Aparência > Menus >
 * Classes CSS) vira botão vinho.
 */
.nsg-menu > .nsg-menu-botao > .nsg-item {
	margin-left: 8px;
	padding: .65rem 20px;
	border-radius: 999px;
	background: var(--vinho);
	color: var(--branco);
	text-decoration: none;
}

.nsg-menu > .nsg-menu-botao > .nsg-item:hover,
.nsg-menu > .nsg-menu-botao > .nsg-item:focus-visible {
	background: var(--vermelho);
	color: var(--branco);
}

.nsg-menu li {
	position: relative;
}

.nsg-item {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .55rem 14px;
	color: var(--branco);
	font-family: inherit;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	background: none;
	border: 0;
	cursor: pointer;
}

.nsg-menu > li > .nsg-item:hover,
.nsg-menu > li > .nsg-item:focus-visible {
	color: var(--creme);
}

/* O item da página aberta ganha um traço creme embaixo. */
.nsg-menu > .current-menu-item > .nsg-item,
.nsg-menu > .current-menu-ancestor > .nsg-item,
.nsg-menu > .current_page_item > .nsg-item {
	color: var(--branco);
	text-decoration: underline;
	text-decoration-color: var(--creme);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.nsg-abre {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
}

/* Item com link e setinha (Notícias): os dois na mesma linha, centrados. */
.nsg-menu > li {
	display: flex;
	align-items: center;
}

.nsg-menu .nsg-abre {
	display: inline-grid;
	place-items: center;
	color: var(--branco);
	margin-left: -12px;
	padding: .3rem;
}

.nsg-abre svg,
.nsg-item--abre svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	transition: transform var(--transicao);
}

[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.nsg-submenu {
	list-style: none;
	margin: 0;
	padding: .5rem 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: var(--branco);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
	z-index: 40;
	display: none;
}

/* A ponte invisível deixa o mouse descer do item até o submenu sem ele fechar. */
.nsg-submenu::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 14px;
}

.nsg-tem-filho:hover > .nsg-submenu,
.nsg-tem-filho:focus-within > .nsg-submenu,
.nsg-tem-filho.esta-aberto > .nsg-submenu {
	display: block;
}

.nsg-submenu .nsg-item {
	display: flex;
	padding: .65rem 1.3rem;
	width: 100%;
	color: var(--azul-escuro);
	font-size: .9rem;
	font-weight: 600;
}

.nsg-submenu .nsg-item:hover,
.nsg-submenu .nsg-item:focus-visible,
.nsg-submenu .current-menu-item > .nsg-item {
	background: var(--creme-claro);
	color: var(--vinho);
}

.nsg-cabecalho-redes,
.nsg-gaveta-redes {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.nsg-cabecalho-redes a,
.nsg-gaveta-redes a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--branco);
	color: var(--vinho);
	transition: background var(--transicao), color var(--transicao);
}

.nsg-cabecalho-redes a:hover,
.nsg-cabecalho-redes a:focus-visible {
	background: var(--creme);
	color: var(--vinho-escuro);
}

.nsg-cabecalho-redes svg,
.nsg-gaveta-redes svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.nsg-hamburguer {
	display: none;
	background: none;
	border: 0;
	padding: .5rem;
	cursor: pointer;
	color: var(--branco);
}

.nsg-hamburguer svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Gaveta do celular                                                           */
/* -------------------------------------------------------------------------- */

.nsg-gaveta {
	position: fixed;
	inset: 0;
	background: var(--branco);
	z-index: 200;
	padding: 1.2rem 1.5rem 2.5rem;
	overflow-y: auto;
}

.nsg-gaveta[hidden] {
	display: none;
}

.nsg-gaveta-topo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid var(--linha);
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.nsg-gaveta-titulo {
	font-weight: 800;
	color: var(--azul-escuro);
}

.nsg-gaveta-fecha {
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--azul-escuro);
	padding: .3rem;
}

.nsg-gaveta-fecha svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.nsg-menu-celular,
.nsg-menu-celular .nsg-submenu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nsg-menu-celular li {
	position: relative;
	border-bottom: 1px solid var(--linha);
}

.nsg-menu-celular .nsg-item {
	padding: .95rem 0;
	font-size: 1.05rem;
	width: 100%;
	justify-content: space-between;
	color: var(--azul-escuro);
}

.nsg-menu-celular .nsg-submenu {
	position: static;
	display: none;
	box-shadow: none;
	border-radius: 0;
	background: var(--creme-claro);
	padding-left: 1rem;
}

.nsg-menu-celular .nsg-submenu::before {
	display: none;
}

.nsg-menu-celular .esta-aberto > .nsg-submenu {
	display: block;
}

.nsg-menu-celular .nsg-submenu .nsg-item {
	font-size: 1rem;
}

.nsg-menu-celular .nsg-abre {
	position: absolute;
	right: 0;
	top: .6rem;
	padding: .4rem;
	color: var(--azul-escuro);
}

.nsg-gaveta-redes {
	margin-top: 1.5rem;
}

.nsg-gaveta-redes a {
	background: var(--vinho);
	color: var(--branco);
}

/* -------------------------------------------------------------------------- */
/* Faixas e ondas                                                              */
/* -------------------------------------------------------------------------- */

.nsg-faixa {
	position: relative;
	padding: 90px 0;
}

.nsg-faixa--creme {
	background-color: var(--creme);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23c49a3a' fill-opacity='.13'%3E%3Cpath d='M30 18l2 8 8 2-8 2-2 8-2-8-8-2 8-2z'/%3E%3Cpath d='M92 74l1.4 5.6 5.6 1.4-5.6 1.4-1.4 5.6-1.4-5.6-5.6-1.4 5.6-1.4z'/%3E%3C/g%3E%3C/svg%3E");
}

.nsg-faixa--azul {
	background: var(--azul-escuro);
	color: var(--branco);
}

/*
 * A onda é desenhada por cima da faixa: a do topo com a cor da faixa de cima,
 * a da base com a cor da faixa de baixo. A cor vem de `color`.
 */
.nsg-onda {
	position: absolute;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
	color: var(--branco);
	z-index: 0;
}

.nsg-onda svg {
	display: block;
	position: relative;
	left: 50%;
	width: calc(130% + 1.3px);
	height: var(--onda);
	transform: translateX(-50%);
}

.nsg-onda--topo {
	top: -1px;
}

.nsg-onda--base {
	bottom: -1px;
}

.nsg-onda--base svg {
	transform: translateX(-50%) rotate(180deg);
}

.nsg-onda--espelho svg {
	transform: translateX(-50%) scaleX(-1);
}

.nsg-onda--base.nsg-onda--espelho svg {
	transform: translateX(-50%) rotate(180deg) scaleX(-1);
}

.nsg-faixa > .nsg-larg {
	position: relative;
	z-index: 1;
}

.nsg-duas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3.5rem;
}

/* -------------------------------------------------------------------------- */
/* Capa                                                                        */
/* -------------------------------------------------------------------------- */

/*
 * A arte da padroeira tem a imagem à direita e a frase à esquerda, com a
 * faixa vermelha embaixo. A arte é mostrada inteira, na proporção em que foi
 * desenhada, e a frase fica por cima, no espaço que a arte deixou livre.
 */
.nsg-capa {
	position: relative;
	background: var(--azul-escuro);
	color: var(--branco);
}

.nsg-capa-arte img {
	width: 100%;
	aspect-ratio: 1920 / 892;
	object-fit: cover;
	object-position: right top;
}

.nsg-capa-texto {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	pointer-events: none;
}

.nsg-capa-bloco {
	max-width: 54%;
	margin: 0 0 7%;
	pointer-events: auto;
}

.nsg-capa-texto h1 {
	margin: 0;
	color: var(--branco);
	font-size: clamp(2.3rem, 5vw, 4.6rem);
	font-weight: 700;
	line-height: 1.02;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
}

.nsg-capa-sub {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	margin: 1.1rem 0 0;
	color: var(--dourado-claro);
	font-size: clamp(.85rem, 1.2vw, 1rem);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.nsg-capa-sub::before {
	content: '';
	width: 34px;
	height: 2px;
	background: var(--dourado);
}

.nsg-capa-botoes {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.8rem 0 0;
}

/* Horários de missa ao lado da foto da igreja. */
.nsg-missas {
	padding-top: 80px;
}

.nsg-missas-foto img {
	width: 100%;
	border-radius: var(--raio);
	box-shadow: 18px 18px 0 var(--creme), var(--sombra);
}

.nsg-horarios {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nsg-horarios li {
	display: flex;
	align-items: flex-start;
	gap: .8rem;
	padding: .7rem 0;
	border-bottom: 1px solid var(--linha);
	line-height: 1.5;
}

.nsg-horarios li:last-child {
	border-bottom: 0;
}

.nsg-horarios-icone svg {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	fill: var(--vinho);
}

.nsg-horarios-dia {
	display: block;
	color: var(--azul-escuro);
	font-weight: 700;
}

.nsg-horarios-hora {
	color: var(--texto);
}

.nsg-nota {
	margin: .6rem 0 0;
	font-size: .95rem;
	color: var(--cinza);
}

.nsg-noticias-capa {
	padding-top: 130px;
}

.nsg-galerias-capa {
	padding-bottom: 100px;
}

/* -------------------------------------------------------------------------- */
/* Cartões de notícia                                                          */
/* -------------------------------------------------------------------------- */

/*
 * Os cartões de uma mesma linha têm a mesma altura: o título e o resumo mais
 * curtos não deixam buraco embaixo, e a data fica sempre alinhada no pé.
 */
.nsg-cartoes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

.nsg-cartao {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--branco);
	border-radius: var(--raio);
	box-shadow: var(--sombra);
	overflow: hidden;
	transition: transform var(--transicao), box-shadow var(--transicao);
}

.nsg-cartao:hover,
.nsg-cartao:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(8, 54, 75, .16);
}

.nsg-cartao-foto {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.nsg-cartao-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nsg-cartao-corpo {
	padding: 22px 24px 8px;
}

.nsg-cartao-titulo {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: .6rem;
}

.nsg-cartao-titulo a {
	color: var(--azul-escuro);
	text-decoration: none;
}

/* O título é o link, mas o cartão inteiro responde ao clique. */
.nsg-cartao-titulo a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.nsg-cartao-titulo a:hover,
.nsg-cartao-titulo a:focus-visible {
	color: var(--vinho);
}

.nsg-cartao-resumo {
	font-size: .92rem;
	line-height: 1.6;
	color: var(--cinza);
	margin: 0;
}

.nsg-cartao-pe {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding: 14px 24px;
	border-top: 1px solid var(--linha);
	font-size: .82rem;
	color: var(--cinza);
}

.nsg-cartao-mais {
	display: inline-flex;
	align-items: center;
	color: var(--vinho);
	font-weight: 700;
}

.nsg-cartao-mais svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Galerias                                                                    */
/* -------------------------------------------------------------------------- */

.nsg-albuns {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.nsg-album {
	position: relative;
	display: block;
	border-radius: var(--raio);
	overflow: hidden;
	box-shadow: var(--sombra);
	color: var(--branco);
	text-decoration: none;
	background: var(--azul-escuro);
}

.nsg-album-foto {
	display: block;
	aspect-ratio: 4 / 3;
}

.nsg-album-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.nsg-album:hover .nsg-album-foto img,
.nsg-album:focus-visible .nsg-album-foto img {
	transform: scale(1.05);
}

.nsg-album-corpo {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 60px 22px 18px;
	background: linear-gradient(to top, rgba(5, 38, 54, .95), rgba(5, 38, 54, .55) 55%, transparent);
}

.nsg-album-titulo {
	margin: 0 0 .2rem;
	color: var(--branco);
	font-size: 1.45rem;
	font-weight: 700;
}

.nsg-album-total {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .85rem;
	color: var(--creme);
}

.nsg-album-total svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.nsg-album:hover,
.nsg-album:focus-visible {
	color: var(--branco);
}

.nsg-fotos {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 4 220px;
	column-gap: 12px;
}

.nsg-fotos li {
	break-inside: avoid;
	margin-bottom: 12px;
}

.nsg-fotos a {
	display: block;
	border-radius: 10px;
	overflow: hidden;
}

.nsg-fotos img {
	width: 100%;
	height: auto;
	transition: transform .3s ease;
}

.nsg-fotos a:hover img,
.nsg-fotos a:focus-visible img {
	transform: scale(1.05);
}

.nsg-cartaz img {
	width: auto;
	max-height: 80vh;
	margin-inline: auto;
	border-radius: var(--raio);
	box-shadow: var(--sombra);
}

/* O visor ocupa a tela inteira, com a foto inteira no meio. */
.nsg-visor {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 3.5rem 4.5rem;
	border: 0;
	background: rgba(3, 20, 29, .94);
	color: var(--branco);
}

.nsg-visor[open] {
	display: grid;
	place-items: center;
}

.nsg-visor::backdrop {
	background: rgba(3, 20, 29, .7);
}

.nsg-visor img {
	max-width: 100%;
	max-height: calc(100vh - 8rem);
	width: auto;
	border-radius: 6px;
}

.nsg-visor-legenda {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1rem;
	margin: 0;
	text-align: center;
	font-size: .9rem;
}

.nsg-visor-botao {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: var(--branco);
	cursor: pointer;
}

.nsg-visor-botao:hover,
.nsg-visor-botao:focus-visible {
	background: rgba(255, 255, 255, .3);
}

.nsg-visor-botao svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.nsg-visor-fecha  { top: 1rem; right: 1rem; }
.nsg-visor-antes  { left: 1rem; top: 50%; transform: translateY(-50%); }
.nsg-visor-depois { right: 1rem; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------------------- */
/* Páginas internas                                                            */
/* -------------------------------------------------------------------------- */

/* A faixa do título: a Matriz em azul, como no site antigo. */
.nsg-topo-pagina {
	position: relative;
	padding: 64px 0 calc(var(--onda) + 34px);
	background:
		linear-gradient(rgba(8, 54, 75, .45), rgba(8, 54, 75, .6)),
		url(../img/topo.webp) center / cover no-repeat,
		var(--azul);
	color: var(--branco);
	text-align: center;
}

.nsg-topo-pagina-int {
	position: relative;
	z-index: 1;
}

.nsg-topo-pagina--foto {
	background:
		linear-gradient(180deg, rgba(5, 38, 54, .55), rgba(5, 38, 54, .78)),
		var(--topo-foto) center 35% / cover no-repeat,
		var(--azul);
}

.nsg-topo-pagina-titulo {
	margin: 0;
	color: var(--branco);
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.05;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}

.nsg-topo-pagina-titulo::after {
	content: '';
	display: block;
	width: 64px;
	height: 3px;
	margin: .9rem auto 0;
	border-radius: 3px;
	background: var(--dourado);
}

.nsg-topo-pagina-sub {
	margin: .8rem 0 0;
	color: var(--dourado-claro);
	font-size: 1.05rem;
	font-weight: 600;
}

.nsg-trilha {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
	margin-bottom: .8rem;
	font-size: .88rem;
}

.nsg-trilha a {
	color: var(--creme);
	text-decoration: none;
}

.nsg-trilha a:hover,
.nsg-trilha a:focus-visible {
	color: var(--branco);
	text-decoration: underline;
}

.nsg-trilha span {
	color: rgba(255, 255, 255, .7);
}

.nsg-pagina-corpo,
.nsg-pagina-intro {
	padding-top: 30px;
	padding-bottom: 60px;
}

.nsg-lista {
	padding-top: 30px;
	padding-bottom: 80px;
}

.nsg-lista-topo {
	padding-top: 20px;
}

.nsg-prosa {
	line-height: 1.8;
}

.nsg-prosa > :first-child {
	margin-top: 0;
}

.nsg-prosa a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nsg-prosa img {
	border-radius: 10px;
}

.nsg-prosa h2,
.nsg-prosa h3 {
	margin-top: 1.6em;
	font-weight: 800;
	color: var(--vinho);
}

.nsg-prosa h2 { font-size: 2.1rem; }
.nsg-prosa h3 { font-size: 1.6rem; }

.nsg-prosa ul,
.nsg-prosa ol {
	padding-left: 1.4rem;
}

.nsg-prosa li {
	margin-bottom: .35em;
}

.nsg-prosa li::marker {
	color: var(--vinho);
}

.nsg-prosa iframe {
	max-width: 100%;
	display: block;
	margin-inline: auto;
}

.nsg-prosa figure {
	margin: 1.5rem 0;
}

.nsg-prosa .alignleft {
	float: left;
	max-width: 45%;
	margin: .3rem 2rem 1rem 0;
}

.nsg-prosa .alignright {
	float: right;
	max-width: 45%;
	margin: .3rem 0 1rem 2rem;
}

.nsg-prosa .aligncenter {
	text-align: center;
}

.nsg-prosa .aligncenter img {
	margin-inline: auto;
}

.nsg-prosa::after {
	content: '';
	display: table;
	clear: both;
}

.nsg-prosa figcaption {
	font-size: .85rem;
	color: var(--cinza);
	text-align: center;
	margin-top: .4rem;
}

.nsg-prosa blockquote,
.nsg-prosa .wp-block-quote {
	position: relative;
	margin: 2rem 0;
	padding: 1.4rem 1.8rem 1.4rem 4.8rem;
	border: 0;
	border-radius: var(--raio);
	background: var(--creme-claro);
}

.nsg-prosa blockquote::before {
	content: '\201C';
	position: absolute;
	left: 1.1rem;
	top: .4rem;
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--vinho);
}

.nsg-prosa blockquote p:last-of-type {
	margin-bottom: 0;
}

.nsg-prosa .wp-block-gallery,
.nsg-prosa .gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.nsg-prosa .wp-block-gallery figure,
.nsg-prosa .wp-block-gallery .wp-block-image {
	margin: 0;
	width: auto !important;
}

.nsg-prosa .wp-block-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.nsg-prosa table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 1.5rem;
}

.nsg-prosa th,
.nsg-prosa td {
	border: 1px solid var(--linha);
	padding: .6rem .8rem;
	text-align: left;
}

/* Grade de pastorais e comunidades. */
.nsg-grade {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px 28px;
}

.nsg-grade--4 {
	grid-template-columns: repeat(4, 1fr);
}

.nsg-item-cartao {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .55rem;
	padding: 22px 20px 26px;
	border-radius: var(--raio);
	background: var(--branco);
	box-shadow: var(--sombra);
	text-align: center;
	transition: transform var(--transicao);
}

.nsg-item-cartao:hover,
.nsg-item-cartao:focus-within {
	transform: translateY(-4px);
}

.nsg-item-foto {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: .4rem;
}

.nsg-item-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nsg-item-titulo {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.3;
}

.nsg-item-titulo a {
	color: var(--vinho);
	text-decoration: none;
}

.nsg-item-titulo a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.nsg-item-resumo {
	margin: 0;
	font-size: .92rem;
	line-height: 1.55;
	color: var(--cinza);
}

.nsg-item-cartao .nsg-botao {
	margin-top: auto;
}

/* Página de uma pastoral ou comunidade. */
.nsg-item-pagina {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
	padding-top: 30px;
	padding-bottom: 80px;
}

.nsg-item-pagina--sem-foto {
	grid-template-columns: minmax(0, 860px);
	justify-content: center;
}

.nsg-item-pagina-foto img {
	width: 100%;
	border-radius: var(--raio);
	box-shadow: 14px 14px 0 var(--creme);
}

.nsg-outras {
	padding-top: 130px;
}

/* Agenda. */
.nsg-eventos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.nsg-evento {
	position: relative;
	display: flex;
	gap: 1.4rem;
	align-items: center;
	padding: 18px 22px;
	border-radius: var(--raio);
	background: var(--branco);
	box-shadow: var(--sombra);
}

.nsg-evento-data {
	flex: 0 0 76px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 10px 0;
	border-radius: 12px;
	background: var(--vinho);
	color: var(--branco);
	line-height: 1.1;
	text-align: center;
}

.nsg-evento-dia {
	font-size: 1.8rem;
	font-weight: 800;
}

.nsg-evento-mes {
	font-size: .82rem;
	font-weight: 700;
	text-transform: uppercase;
}

.nsg-evento-titulo {
	margin: 0 0 .3rem;
	font-size: 1.2rem;
}

.nsg-evento-titulo a {
	color: var(--azul-escuro);
	text-decoration: none;
}

.nsg-evento-titulo a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.nsg-evento-info {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem 1.2rem;
	margin: 0;
	font-size: .92rem;
	color: var(--cinza);
}

.nsg-evento-info span,
.nsg-evento-ficha li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.nsg-evento-info svg,
.nsg-evento-ficha svg {
	width: 17px;
	height: 17px;
	fill: var(--vinho);
	flex: 0 0 auto;
}

.nsg-eventos--passados .nsg-evento-data {
	background: var(--cinza);
}

.nsg-eventos-passados-titulo {
	margin-top: 3rem;
}

.nsg-evento-ficha {
	list-style: none;
	margin: 0 0 2rem;
	padding: 18px 22px;
	display: grid;
	gap: .5rem;
	border-radius: var(--raio);
	background: var(--creme-claro);
}

.nsg-vazio {
	text-align: center;
	padding: 1rem 0 2rem;
	color: var(--cinza);
}

.nsg-vazio--caixa {
	padding: 2.5rem 1.5rem;
	border-radius: var(--raio);
	background: var(--creme-claro);
	color: var(--texto);
}

.nsg-vazio--caixa p:first-child {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--azul-escuro);
}

/* Párocos: linha do tempo. */
.nsg-linha-tempo {
	list-style: none;
	margin: 0;
	padding: 0 0 0 36px;
	position: relative;
}

.nsg-linha-tempo::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: var(--creme);
}

.nsg-linha-tempo li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 14px 0;
}

.nsg-linha-tempo li::before {
	content: '';
	position: absolute;
	left: -31px;
	top: 50%;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--vinho);
	border: 3px solid var(--branco);
	box-shadow: 0 0 0 2px var(--vinho);
	transform: translateY(-50%);
}

.nsg-linha-tempo-foto img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	box-shadow: var(--sombra);
}

.nsg-linha-tempo-texto {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.nsg-linha-tempo-periodo {
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--vinho);
}

.nsg-linha-tempo-nome {
	font-size: 1.12rem;
	color: var(--azul-escuro);
}

.nsg-linha-tempo-cargo {
	font-size: .92rem;
	color: var(--cinza);
}

/* Equipe Eclesial. */
.nsg-pessoas {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px 60px;
	text-align: center;
}

.nsg-pessoas li {
	flex: 0 1 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .7rem;
}

.nsg-pessoas img {
	width: 260px;
	height: 260px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	box-shadow: 0 0 0 8px var(--creme), var(--sombra);
}

.nsg-pessoas .nsg-selo {
	margin-top: .8rem;
	font-size: .95rem;
	padding: 4px 22px;
}

.nsg-pessoas h2 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--vinho);
}

/* Secretaria. */
.nsg-contato {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	padding-top: 30px;
	padding-bottom: 40px;
}

.nsg-contato-form {
	padding: 30px;
	border-radius: var(--raio);
	background: var(--creme-claro);
	align-self: start;
}

.nsg-contato-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nsg-contato-lista li {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin-bottom: .7rem;
	line-height: 1.45;
}

.nsg-contato-lista a {
	color: var(--texto);
}

.nsg-contato-lista a:hover,
.nsg-contato-lista a:focus-visible {
	color: var(--vinho);
}

.nsg-contato-icone {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--vinho);
}

.nsg-contato-icone svg {
	width: 18px;
	height: 18px;
	fill: var(--branco);
}

.nsg-contato-dados .nsg-subtitulo:first-of-type {
	margin-top: 1.8rem;
}

.nsg-mapa {
	padding-bottom: 80px;
}

.nsg-mapa iframe {
	display: block;
	width: 100%;
	height: 340px;
	border: 0;
	border-radius: var(--raio);
}

/* Notícia. */
.nsg-post-topo {
	padding-top: 10px;
	text-align: center;
}

.nsg-post-capa img {
	width: auto;
	max-height: 520px;
	margin-inline: auto;
	border-radius: var(--raio);
}

.nsg-post-meta {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin: 1.2rem 0 0;
	font-size: .9rem;
	color: var(--cinza);
}

.nsg-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.nsg-post-meta svg {
	width: 15px;
	height: 15px;
	fill: var(--vinho);
}

.nsg-post-corpo {
	padding-top: 30px;
	padding-bottom: 20px;
}

.nsg-vizinhos {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.2rem;
	border-top: 1px solid var(--linha);
	font-size: .9rem;
}

.nsg-vizinho {
	flex: 1;
}

.nsg-vizinho span {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--vinho);
}

.nsg-vizinho a {
	color: var(--texto);
	font-weight: 600;
}

.nsg-vizinho--depois {
	text-align: right;
}

.nsg-compartilhe {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 24px 40px;
}

.nsg-compartilhe h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.nsg-compartilhe ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.nsg-compartilhe a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--azul-escuro);
	color: var(--branco);
	transition: background var(--transicao);
}

.nsg-compartilhe a:hover,
.nsg-compartilhe a:focus-visible {
	background: var(--vinho);
	color: var(--branco);
}

.nsg-compartilhe svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.nsg-relacionados {
	padding-bottom: 80px;
}

.nsg-relacionados > h2 {
	font-size: 1.6rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 1.6rem;
}

.nsg-paginacao {
	margin-top: 3rem;
	text-align: center;
}

.nsg-paginacao .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: .5rem .9rem;
	border-radius: 999px;
	color: var(--azul-escuro);
	font-weight: 700;
	text-decoration: none;
}

.nsg-paginacao .current {
	background: var(--vinho);
	color: var(--branco);
}

/* 404. */
.nsg-404 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3rem;
	padding-block: 70px;
}

.nsg-404-arte {
	display: grid;
	place-items: center;
	min-height: 300px;
	border-radius: var(--raio);
	background: var(--azul-escuro) url(../img/brasao.webp) center / auto 70% no-repeat;
	background-blend-mode: soft-light;
	color: var(--dourado-claro);
	font-size: clamp(6rem, 16vw, 12rem);
	font-weight: 700;
	line-height: 1;
}

.nsg-404-atalhos {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.nsg-404-atalhos li::before {
	content: '\203A';
	margin-right: .5rem;
	color: var(--vinho);
	font-weight: 700;
}

/* Busca --------------------------------------------------------------------- */

.nsg-busca {
	display: flex;
	gap: .5rem;
	max-width: 520px;
	margin: 0 auto;
}

.nsg-busca input {
	flex: 1;
	padding: .75rem 1.2rem;
	border: 1px solid #8a969c;
	border-radius: 999px;
	font-family: inherit;
	font-size: 1rem;
}

.nsg-busca button {
	display: grid;
	place-items: center;
	width: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--vinho);
	color: var(--branco);
	cursor: pointer;
}

.nsg-busca svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.nsg-busca-total {
	margin: 1rem 0 0;
	text-align: center;
	font-size: .95rem;
}

.nsg-busca-total a {
	margin-left: .6rem;
	text-decoration: underline;
}

/* Formulário ---------------------------------------------------------------- */

.nsg-form .nsg-campo {
	margin: 0 0 12px;
}

.nsg-form input,
.nsg-form textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid #8a969c;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--texto);
	background: var(--branco);
}

.nsg-form input:focus,
.nsg-form textarea:focus {
	border-color: var(--azul);
}

.nsg-form ::placeholder {
	color: #5f6b71;
	opacity: 1;
}

.nsg-form-envio {
	margin: 0;
}

.nsg-form-envio .nsg-botao {
	width: 100%;
	background: var(--vinho);
	color: var(--branco);
}

.nsg-form-envio .nsg-botao:hover,
.nsg-form-envio .nsg-botao:focus-visible {
	background: var(--vinho-escuro);
	border-color: var(--vinho-escuro);
}

/* A armadilha some da tela, mas não do HTML: é onde o robô cai. */
.nsg-armadilha {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nsg-form-aviso {
	padding: 1rem 1.2rem;
	border-radius: 10px;
	font-weight: 600;
}

.nsg-form-aviso--ok {
	background: #e8f4ea;
	color: #1d6b32;
}

.nsg-form-aviso--erro {
	background: #fbe9e9;
	color: #9b2c2c;
}

.nsg-form-nota {
	font-size: .82rem;
	color: var(--cinza);
	margin: 1rem 0 0;
}

/* -------------------------------------------------------------------------- */
/* Rodapé                                                                      */
/* -------------------------------------------------------------------------- */

.nsg-confira {
	padding: 70px 0 60px;
	background: linear-gradient(180deg, var(--azul-ceu) 0%, var(--azul) 45%, var(--azul-escuro) 100%);
	color: var(--branco);
	text-align: center;
}

.nsg-rodape .nsg-confira-titulo {
	margin: 0 0 2.4rem;
	text-transform: none;
	letter-spacing: -.01em;
	color: var(--branco);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 700;
}

/*
 * Os atalhos são cartões translúcidos sobre o azul: o ícone de traço fino
 * num anel dourado, o nome na serifada, uma linha de descrição e a seta.
 * O cartão inteiro é o link.
 */
.nsg-confira-lista {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	text-align: left;
}

.nsg-confira-cartao {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 22px 22px 20px;
	border: 1px solid rgba(236, 208, 138, .28);
	border-radius: 18px;
	background: rgba(255, 255, 255, .07);
	color: var(--branco);
	text-decoration: none;
	backdrop-filter: blur(2px);
	transition: background var(--transicao), border-color var(--transicao), transform var(--transicao);
}

.nsg-confira-cartao:hover,
.nsg-confira-cartao:focus-visible {
	border-color: var(--dourado-claro);
	background: rgba(255, 255, 255, .13);
	color: var(--branco);
	transform: translateY(-3px);
}

.nsg-confira-icone {
	display: grid;
	place-items: center;
	flex: 0 0 64px;
	height: 64px;
	border-radius: 50%;
	border: 1.5px solid var(--dourado-claro);
	background: radial-gradient(circle at 50% 35%, rgba(236, 208, 138, .22), rgba(236, 208, 138, 0) 70%);
	color: var(--dourado-claro);
}

.nsg-confira-icone .simbolo {
	width: 30px;
	height: 30px;
	stroke-width: 1.4;
}

.nsg-confira-texto {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
}

.nsg-confira-nome {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.1;
}

.nsg-confira-desc {
	color: #d4e0e6;
	font-size: .9rem;
	line-height: 1.4;
}

.nsg-confira-seta {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	transition: background var(--transicao), transform var(--transicao);
}

.nsg-confira-seta svg {
	width: 20px;
	height: 20px;
	fill: var(--dourado-claro);
}

.nsg-confira-cartao:hover .nsg-confira-seta,
.nsg-confira-cartao:focus-visible .nsg-confira-seta {
	background: var(--dourado-claro);
	transform: translateX(3px);
}

.nsg-confira-cartao:hover .nsg-confira-seta svg,
.nsg-confira-cartao:focus-visible .nsg-confira-seta svg {
	fill: var(--azul-noite);
}

.nsg-rodape-principal {
	position: relative;
	padding: calc(var(--onda) + 40px) 0 40px;
	background: var(--azul-noite);
	color: var(--branco);
	font-size: .95rem;
	line-height: 1.6;
}

.nsg-onda--rodape {
	color: var(--azul-escuro);
}

.nsg-rodape-int {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr .8fr;
	gap: 2.5rem;
}

.nsg-rodape-marca {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.nsg-rodape-selo img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: var(--branco);
	box-shadow: 0 0 0 5px rgba(255, 255, 255, .15);
}

.nsg-rodape-nome {
	margin: 1rem 0 .1rem;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.15;
}

.nsg-rodape-diocese {
	margin: 0;
	color: var(--creme);
	font-weight: 600;
}

.nsg-rodape h2 {
	margin: 0 0 .6rem;
	font-size: 1rem;
	font-weight: 800;
	color: var(--dourado-claro);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.nsg-rodape p {
	margin: 0 0 .4rem;
}

.nsg-rodape a {
	color: var(--branco);
}

.nsg-rodape a:hover,
.nsg-rodape a:focus-visible {
	color: var(--creme);
}

.nsg-rodape-contatos {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nsg-rodape-contatos li {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: .45rem;
	word-break: break-word;
}

.nsg-rodape-contatos svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	fill: var(--creme);
}

.nsg-rodape-redes {
	display: flex;
	gap: 10px;
}

.nsg-rodape-redes a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--branco);
	color: var(--vinho);
}

.nsg-rodape-redes a:hover,
.nsg-rodape-redes a:focus-visible {
	background: var(--creme);
	color: var(--vinho-escuro);
}

.nsg-rodape-redes svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.nsg-rodape-creditos {
	background: #031a25;
	color: #d6dde0;
	font-size: .85rem;
}

.nsg-creditos-int {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .6rem 1.5rem;
	padding-block: 16px;
}

.nsg-rodape-creditos p {
	margin: 0;
}

.nsg-creditos-marcas {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem 1.4rem;
}

.nsg-rodape .nsg-creditos-marcas a {
	color: #d6dde0;
	text-decoration: none;
}

.nsg-rodape .nsg-creditos-marcas a:hover,
.nsg-rodape .nsg-creditos-marcas a:focus-visible {
	color: var(--branco);
	text-decoration: underline;
}

.nsg-creditos-erwise {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

/* A marca da Erwise vem escura; sobre o azul-noite ela fica branca. */
.nsg-creditos-erwise img {
	height: 22px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: .85;
}

/* -------------------------------------------------------------------------- */
/* Voltar ao topo                                                              */
/* -------------------------------------------------------------------------- */

.nsg-topo {
	position: fixed;
	right: 1.2rem;
	bottom: 1.2rem;
	z-index: 250;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--vinho);
	color: var(--branco);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transition: background var(--transicao);
}

.nsg-topo[hidden] {
	display: none;
}

.nsg-topo:hover {
	background: var(--vinho-escuro);
}

.nsg-topo svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
	transform: rotate(180deg);
}

/* -------------------------------------------------------------------------- */
/* Aviso de cookies                                                            */
/* -------------------------------------------------------------------------- */

.nsg-cookies {
	position: fixed;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	max-width: 640px;
	margin-inline: auto;
	background: var(--branco);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
	border-radius: var(--raio);
	padding: 1.2rem 1.4rem;
	z-index: 300;
	font-size: .92rem;
}

.nsg-cookies[hidden] {
	display: none;
}

.nsg-cookies-acoes {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
	margin-top: .8rem;
}

.nsg-cookies button {
	font-family: inherit;
	font-size: .92rem;
	padding: .55rem 1.2rem;
	border-radius: 999px;
	cursor: pointer;
	border: 2px solid var(--vinho);
	background: var(--vinho);
	color: var(--branco);
	font-weight: 700;
}

.nsg-cookies button + button {
	background: transparent;
	color: var(--vinho);
}

/* -------------------------------------------------------------------------- */
/* Botões a mais                                                               */
/* -------------------------------------------------------------------------- */

/* Contornado em branco, para faixas escuras e para a abertura da capa. */
.nsg-botao--claro {
	border-color: rgba(255, 255, 255, .85);
	color: var(--branco);
}

.nsg-botao--claro:hover,
.nsg-botao--claro:focus-visible {
	border-color: var(--branco);
	background: var(--branco);
	color: var(--vinho);
}

/* Dourado, só sobre fundo escuro: o texto é o azul-noite, não o branco. */
.nsg-botao--dourado {
	border-color: var(--dourado-claro);
	background: var(--dourado-claro);
	color: var(--azul-noite);
}

.nsg-botao--dourado:hover,
.nsg-botao--dourado:focus-visible {
	border-color: var(--branco);
	background: var(--branco);
	color: var(--azul-noite);
}

.nsg-botao--largo {
	display: flex;
	width: 100%;
	margin-top: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Capa: próxima missa, Palavra do Pároco, pastorais, dízimo e vela            */
/* -------------------------------------------------------------------------- */

/* O quadro sobe por cima do pé da abertura. */
.nsg-proxima-envolve {
	position: relative;
	z-index: 3;
	margin-top: -54px;
}

.nsg-proxima {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	max-width: 820px;
	margin-inline: auto;
	padding: 20px 28px;
	border-radius: 18px;
	background: var(--branco);
	box-shadow: 0 18px 48px rgba(5, 38, 54, .22);
	border-top: 4px solid var(--dourado);
}

.nsg-proxima-icone {
	display: grid;
	place-items: center;
	flex: 0 0 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--creme);
	color: var(--vinho);
}

.nsg-proxima-icone .simbolo {
	width: 32px;
	height: 32px;
}

.nsg-proxima-texto {
	flex: 1;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.nsg-proxima-rotulo {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dourado-texto);
}

.nsg-proxima-quando {
	font-family: var(--serif);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--azul-escuro);
}

.nsg-proxima-local {
	color: var(--cinza);
	font-size: .95rem;
}

.nsg-proxima-link {
	display: inline-flex;
	align-items: center;
	gap: .2rem;
	flex: 0 0 auto;
	color: var(--vinho);
	font-weight: 700;
	font-size: .92rem;
	text-decoration: none;
}

.nsg-proxima-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.nsg-proxima-envolve + .nsg-missas {
	padding-top: 60px;
}

/* Palavra do Pároco: a foto redonda e a citação. */
.nsg-palavra {
	padding-top: 120px;
}

.nsg-palavra-int {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 3.5rem;
	align-items: center;
	max-width: 1000px;
}

.nsg-palavra-foto img {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	box-shadow: 0 0 0 8px var(--branco), 0 0 0 10px var(--dourado), var(--sombra);
}

.nsg-palavra blockquote {
	position: relative;
	margin: .4rem 0 0;
	padding: 0;
}

.nsg-palavra blockquote::before {
	content: '\201C';
	position: absolute;
	left: -.5rem;
	top: -2.6rem;
	font-family: var(--serif);
	font-size: 6rem;
	line-height: 1;
	color: var(--dourado);
	opacity: .55;
}

.nsg-palavra blockquote p {
	position: relative;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	font-style: italic;
	line-height: 1.35;
	color: var(--azul-escuro);
}

.nsg-palavra cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	font-weight: 700;
	color: var(--vinho);
}

/* Pastorais na capa: faixa azul com uma fileira de rostos. */
.nsg-pastorais-capa .nsg-titulo,
.nsg-pastorais-capa .nsg-secao-topo p {
	color: var(--branco);
}

.nsg-pastorais-tira {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}

.nsg-pastorais-tira a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .8rem;
	color: var(--branco);
	text-align: center;
	text-decoration: none;
}

.nsg-pastorais-tira-foto {
	display: block;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--azul);
	box-shadow: 0 0 0 3px var(--dourado);
	transition: transform var(--transicao), box-shadow var(--transicao);
}

.nsg-pastorais-tira-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nsg-pastorais-tira-nome {
	font-weight: 600;
	line-height: 1.3;
}

.nsg-pastorais-tira a:hover .nsg-pastorais-tira-foto,
.nsg-pastorais-tira a:focus-visible .nsg-pastorais-tira-foto {
	transform: translateY(-4px);
	box-shadow: 0 0 0 4px var(--dourado-claro);
}

.nsg-pastorais-tira a:hover,
.nsg-pastorais-tira a:focus-visible {
	color: var(--dourado-claro);
}

/* Faixa do dízimo: vinho, com a chave PIX ao lado. */
.nsg-dizimo-capa {
	padding: 60px 0;
	background: linear-gradient(120deg, var(--vinho-escuro), var(--vinho) 55%, #8f1414);
	color: var(--branco);
}

.nsg-dizimo-capa-int {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.nsg-dizimo-capa-texto {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.nsg-dizimo-capa-icone {
	display: grid;
	place-items: center;
	flex: 0 0 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: var(--dourado-claro);
}

.nsg-dizimo-capa-icone .simbolo {
	width: 40px;
	height: 40px;
}

.nsg-dizimo-capa h2 {
	margin: 0 0 .5rem;
	color: var(--branco);
	font-size: clamp(2rem, 3.4vw, 2.6rem);
	font-weight: 700;
}

.nsg-dizimo-capa p {
	margin: 0 0 1.4rem;
	color: #f6e3e3;
}

/* Vela Virtual: faixa noturna, a chama dourada. */
.nsg-vela {
	padding: 54px 0;
	background: radial-gradient(ellipse at 15% 50%, rgba(236, 208, 138, .22), transparent 45%), var(--azul-noite);
	color: var(--branco);
}

.nsg-vela-int {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nsg-vela-int > div {
	flex: 1;
}

.nsg-vela-chama .simbolo {
	width: 70px;
	height: 70px;
	color: var(--dourado-claro);
	filter: drop-shadow(0 0 12px rgba(236, 208, 138, .6));
}

.nsg-vela h2 {
	margin: 0 0 .3rem;
	color: var(--branco);
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 700;
}

.nsg-vela p {
	margin: 0;
	color: #d7e1e6;
}

/* Notícia em destaque, a primeira da página Notícias. */
.nsg-cartao--destaque {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.nsg-cartao--destaque .nsg-cartao-foto {
	grid-row: 1 / span 2;
	aspect-ratio: auto;
	min-height: 340px;
}

.nsg-cartao--destaque .nsg-cartao-corpo {
	align-self: center;
	padding: 34px 34px 10px;
}

.nsg-cartao--destaque .nsg-cartao-titulo {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.nsg-cartao--destaque .nsg-cartao-resumo {
	font-size: 1rem;
}

.nsg-cartao--destaque .nsg-cartao-pe {
	padding-inline: 34px;
}

/* -------------------------------------------------------------------------- */
/* Modelo Leitura                                                              */
/* -------------------------------------------------------------------------- */

.nsg-larg--leitura {
	width: min(100% - 3rem, 760px);
}

.nsg-leitura-abre {
	margin: 0 0 2rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--linha);
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.4vw, 1.85rem);
	font-style: italic;
	line-height: 1.4;
	color: var(--azul-escuro);
}

.nsg-prosa--leitura {
	font-size: 1.08rem;
	line-height: 1.9;
}

/* Letra capitular no primeiro parágrafo do texto. */
.nsg-prosa--leitura > p:first-of-type::first-letter,
.nsg-prosa .has-drop-cap:not(:focus)::first-letter {
	float: left;
	margin: .08em .12em 0 0;
	font-family: var(--serif);
	font-size: 4.4em;
	font-weight: 700;
	line-height: .78;
	color: var(--vinho);
}

/* Cada seção abre com um ornamento dourado em cima do título. */
.nsg-prosa--leitura h2 {
	margin-top: 2.6em;
	text-align: center;
}

.nsg-prosa--leitura h2::before {
	content: '';
	display: block;
	width: 110px;
	height: 14px;
	margin: 0 auto .7rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 14'%3E%3Cpath d='M0 7h44M66 7h44' stroke='%23c49a3a' stroke-width='1.5'/%3E%3Cpath d='M55 1l2 4 4 2-4 2-2 4-2-4-4-2 4-2z' fill='%23c49a3a'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nsg-prosa--leitura .alignleft,
.nsg-prosa--leitura .alignright {
	max-width: 40%;
}

.nsg-prosa--leitura .wp-block-image img {
	box-shadow: var(--sombra);
}

/* -------------------------------------------------------------------------- */
/* Estilos de bloco do editor                                                  */
/* -------------------------------------------------------------------------- */

/* Lista "Cartões": cada item vira um cartão, o negrito do começo é o título. */
.nsg-prosa .is-style-cartoes {
	list-style: none;
	margin: 1.6rem 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

/* Quatro cartões ficam em 2 + 2, e não em 3 + 1. */
.nsg-prosa .is-style-cartoes:has(> li:nth-child(4):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nsg-prosa .is-style-cartoes li {
	margin: 0;
	padding: 20px 22px;
	border-radius: var(--raio);
	border-top: 3px solid var(--dourado);
	background: var(--creme-claro);
	line-height: 1.6;
}

.nsg-prosa .is-style-cartoes li strong:first-child {
	display: block;
	margin-bottom: .3rem;
	font-family: var(--serif);
	font-size: 1.35rem;
	color: var(--vinho);
}

/* Lista "Passos numerados": o número num círculo vinho. */
.nsg-prosa .is-style-passos {
	list-style: none;
	margin: 1.6rem 0;
	padding: 0;
	counter-reset: passo;
}

.nsg-prosa .is-style-passos li {
	position: relative;
	margin: 0 0 14px;
	padding: 14px 18px 14px 66px;
	border-radius: var(--raio);
	background: var(--branco);
	box-shadow: var(--sombra);
	counter-increment: passo;
	line-height: 1.55;
}

.nsg-prosa .is-style-passos li::before {
	content: counter(passo);
	position: absolute;
	left: 16px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vinho);
	color: var(--branco);
	font-family: var(--serif);
	font-size: 1.3rem;
	font-weight: 700;
	transform: translateY(-50%);
}

/* Citação "Destaque grande". */
.nsg-prosa .wp-block-quote.is-style-destaque {
	padding: 2rem 2rem 1.6rem;
	border-left: 0;
	border-radius: 0;
	background: transparent;
	border-top: 1px solid var(--dourado);
	border-bottom: 1px solid var(--dourado);
	text-align: center;
}

.nsg-prosa .wp-block-quote.is-style-destaque::before {
	display: none;
}

.nsg-prosa .wp-block-quote.is-style-destaque p {
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-style: italic;
	line-height: 1.35;
	color: var(--azul-escuro);
}

.nsg-prosa .wp-block-quote.is-style-destaque cite {
	color: var(--vinho);
}

/* Grupo "Caixa creme". */
.nsg-prosa .wp-block-group.is-style-caixa {
	margin: 1.8rem 0;
	padding: 24px 28px;
	border-radius: var(--raio);
	background: var(--creme-claro);
	border-left: 4px solid var(--dourado);
}

.nsg-prosa .wp-block-group.is-style-caixa > :last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/* Cartão de doação e modelo Doação                                            */
/* -------------------------------------------------------------------------- */

.nsg-doacao {
	padding: 26px;
	border-radius: 18px;
	background: var(--branco);
	box-shadow: 0 16px 40px rgba(5, 38, 54, .14);
	border-top: 4px solid var(--dourado);
	color: var(--texto);
}

.nsg-doacao-titulo {
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--vinho);
}

.nsg-doacao-pix {
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.nsg-doacao-rotulo {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dourado-texto);
}

.nsg-doacao-chave {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: 8px 8px 8px 14px;
	border-radius: 12px;
	background: var(--creme-claro);
	border: 1px dashed var(--dourado);
}

.nsg-doacao-chave code {
	flex: 1;
	font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--azul-escuro);
	word-break: break-all;
}

.nsg-copiar {
	flex: 0 0 auto;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--vinho);
	color: var(--branco);
	font-family: inherit;
	font-size: .88rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--transicao);
}

.nsg-copiar:hover,
.nsg-copiar:focus-visible {
	background: var(--vermelho);
}

.nsg-copiar.copiado {
	background: #1d6b32;
}

.nsg-doacao-titular {
	font-size: .88rem;
	color: var(--cinza);
}

.nsg-doacao-qr {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.2rem;
	font-size: .88rem;
	color: var(--cinza);
	line-height: 1.45;
}

.nsg-doacao-qr img {
	flex: 0 0 130px;
	width: 130px;
	padding: 6px;
	border: 1px solid var(--linha);
	border-radius: 10px;
	background: var(--branco);
}

.nsg-doacao-banco {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: .2rem 1.6rem;
	margin: 1.2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--linha);
}

.nsg-doacao-banco dt {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cinza);
}

.nsg-doacao-banco dd {
	margin: 0;
	font-weight: 700;
	color: var(--azul-escuro);
}

.nsg-doacao-nota {
	margin: 1rem 0 0;
	font-size: .88rem;
	color: var(--cinza);
}

/* Na faixa vinho da capa, a versão compacta (só a chave). */
.nsg-doacao--compacta {
	border-top: 0;
	background: rgba(255, 255, 255, .97);
}

.nsg-doacao-pagina {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 3.5rem;
	align-items: start;
	padding-top: 30px;
	padding-bottom: 80px;
}

.nsg-doacao-pagina--sem-lado {
	grid-template-columns: minmax(0, 860px);
	justify-content: center;
}

.nsg-doacao-lado {
	position: sticky;
	top: calc(var(--cabecalho) + 30px + var(--wp-admin--admin-bar--height, 0px));
}

/* -------------------------------------------------------------------------- */
/* Pastorais, comunidades: abas, quadro lateral, missas no cartão              */
/* -------------------------------------------------------------------------- */

.nsg-lista-intro {
	max-width: 680px;
	margin: 0 auto 1.6rem;
	text-align: center;
	color: var(--cinza);
	font-size: 1.05rem;
}

.nsg-abas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 2.2rem;
}

.nsg-abas[hidden] {
	display: none;
}

.nsg-abas button,
.nsg-abas a {
	padding: 9px 22px;
	border: 1px solid var(--linha);
	border-radius: 999px;
	background: var(--branco);
	color: var(--azul-escuro);
	font-family: inherit;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--transicao), color var(--transicao), border-color var(--transicao);
}

.nsg-abas button:hover,
.nsg-abas a:hover {
	border-color: var(--dourado);
}

.nsg-abas [aria-pressed="true"],
.nsg-abas [aria-current="page"] {
	border-color: var(--vinho);
	background: var(--vinho);
	color: var(--branco);
}

.nsg-grade > li[hidden] {
	display: none;
}

.nsg-agenda-visoes {
	padding-bottom: 0;
}

.nsg-item-missas {
	display: flex;
	align-items: flex-start;
	gap: .4rem;
	margin: 0;
	font-size: .9rem;
	line-height: 1.45;
	color: var(--azul-escuro);
}

.nsg-item-missas svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	fill: var(--vinho);
}

.nsg-item-pagina {
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
}

.nsg-item-lado {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.nsg-item-pagina-foto img {
	box-shadow: 10px 10px 0 var(--creme);
}

.nsg-quadro {
	padding: 24px;
	border-radius: var(--raio);
	background: var(--creme-claro);
	border-top: 3px solid var(--dourado);
}

.nsg-quadro-titulo {
	margin: 0 0 .8rem;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--vinho);
}

.nsg-quadro p {
	margin: 0 0 .4rem;
	font-size: .95rem;
	line-height: 1.55;
}

.nsg-quadro-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nsg-quadro-lista li,
.nsg-quadro-endereco {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	padding: .55rem 0;
	border-bottom: 1px solid var(--linha);
	line-height: 1.45;
}

.nsg-quadro-lista li:last-child {
	border-bottom: 0;
}

.nsg-quadro-lista .simbolo,
.nsg-quadro-endereco .simbolo {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--vinho);
}

.nsg-quadro-lista strong {
	display: block;
	font-size: .76rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dourado-texto);
}

.nsg-quadro .nsg-horarios li {
	padding: .45rem 0;
}

.nsg-quadro-endereco {
	margin: .4rem 0 0;
	border-bottom: 0;
	font-size: .95rem;
}

.nsg-quadro .nsg-botao svg {
	width: 18px;
	height: 18px;
}

/* -------------------------------------------------------------------------- */
/* Calendário da agenda                                                        */
/* -------------------------------------------------------------------------- */

.nsg-calendario-topo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1.2rem;
}

.nsg-calendario-mes {
	min-width: 280px;
	margin: 0;
	font-size: 2.1rem;
	font-weight: 700;
	text-align: center;
}

.nsg-calendario-seta {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--creme);
	color: var(--vinho);
}

.nsg-calendario-seta svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.nsg-calendario-grade {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid var(--linha);
	border-left: 1px solid var(--linha);
}

.nsg-calendario-grade > li {
	min-height: 112px;
	padding: 8px;
	border-right: 1px solid var(--linha);
	border-bottom: 1px solid var(--linha);
}

.nsg-calendario-grade > .nsg-calendario-semana {
	min-height: 0;
	padding: 10px 8px;
	background: var(--azul-escuro);
	color: var(--branco);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.nsg-calendario-vazio {
	background: #fafafa;
}

.nsg-calendario-numero {
	font-weight: 700;
	color: var(--cinza);
}

.nsg-calendario-extenso {
	display: none;
}

.e-hoje {
	background: var(--creme-claro);
}

.e-hoje .nsg-calendario-numero > span:first-child {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--vinho);
	color: var(--branco);
}

.nsg-calendario-dia ul {
	list-style: none;
	margin: .4rem 0 0;
	padding: 0;
}

.nsg-calendario-dia ul a {
	display: block;
	margin-bottom: 4px;
	padding: 4px 7px;
	border-radius: 6px;
	background: var(--vinho);
	color: var(--branco);
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.nsg-calendario-dia ul a:hover,
.nsg-calendario-dia ul a:focus-visible {
	background: var(--azul-escuro);
}

.nsg-calendario-hora {
	display: block;
	font-size: .72rem;
	opacity: .9;
}

/* 404 */
.nsg-404 .nsg-busca {
	margin: 1.4rem 0;
}

/* -------------------------------------------------------------------------- */
/* Vela Virtual                                                                */
/* -------------------------------------------------------------------------- */

/*
 * A vela é feita só de caixas: cera, faixa dourada, pavio, chama e brilho.
 * As medidas são em em, então a mesma vela serve grande (formulário) e
 * pequena (mural): basta mudar o font-size.
 */
.nsg-vela-desenho {
	position: relative;
	display: inline-block;
	width: 16em;
	height: 38em;
	font-size: 10px;
}

.nsg-vela-desenho--pequena {
	font-size: 3.6px;
}

.nsg-vela-cera {
	position: absolute;
	left: 50%;
	bottom: 2.2em;
	width: 9em;
	height: 23em;
	transform: translateX(-50%);
	border-radius: 1.2em 1.2em .6em .6em;
	background: linear-gradient(90deg, #e9dbb8 0%, #fffaf0 38%, #fbf3df 62%, #e2d0a8 100%);
	box-shadow: inset 0 -1.2em 2em rgba(150, 110, 40, .18);
}

/* A borda de cima, um pouco derretida. */
.nsg-vela-cera::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -.4em;
	height: 1.4em;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 40%, #fffdf6, #efe2c3 70%);
}

.nsg-vela-faixa {
	position: absolute;
	left: 0;
	right: 0;
	top: 42%;
	height: 1.6em;
	background: linear-gradient(90deg, #a77a22, var(--dourado-claro) 45%, #a77a22);
	box-shadow: 0 0 0 .15em rgba(255, 255, 255, .25) inset;
}

.nsg-vela-pavio {
	position: absolute;
	left: 50%;
	bottom: 25em;
	width: .35em;
	height: 1.8em;
	transform: translateX(-50%);
	border-radius: .2em;
	background: linear-gradient(#2a1a0a, #5b4020);
}

.nsg-vela-pires {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 15em;
	height: 3em;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 35%, var(--dourado-claro), #a77a22 70%);
	box-shadow: 0 1em 2em rgba(0, 0, 0, .35);
}

/* A chama nasce pequena e apagada; acende com a classe esta-acesa. */
.nsg-vela-chama-fogo {
	position: absolute;
	left: 50%;
	bottom: 26.2em;
	width: 3em;
	height: 6em;
	margin-left: -1.5em;
	transform-origin: 50% 100%;
	transform: scale(.15);
	opacity: 0;
	transition: transform .9s cubic-bezier(.2, .9, .3, 1.3), opacity .5s ease;
}

.nsg-vela-chama-fogo,
.nsg-vela-chama-fogo span {
	border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
}

.nsg-vela-chama-fogo {
	background: radial-gradient(ellipse at 50% 78%, #fff 0, #fff3c4 22%, #ffc94a 48%, rgba(238, 112, 28, .9) 70%, rgba(238, 112, 28, 0) 78%);
	filter: drop-shadow(0 0 .8em rgba(255, 190, 80, .9));
}

/* O miolo azulado da chama, embaixo. */
.nsg-vela-chama-fogo span {
	position: absolute;
	left: 30%;
	bottom: 4%;
	width: 40%;
	height: 32%;
	background: radial-gradient(ellipse at 50% 70%, rgba(120, 170, 255, .75), rgba(120, 170, 255, 0) 70%);
}

.nsg-vela-brilho {
	position: absolute;
	left: 50%;
	bottom: 22em;
	width: 34em;
	height: 34em;
	margin-left: -17em;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 210, 120, .45) 0%, rgba(255, 190, 90, .15) 35%, transparent 65%);
	opacity: 0;
	transition: opacity 1.2s ease;
	pointer-events: none;
}

.nsg-vela-desenho.esta-acesa .nsg-vela-chama-fogo {
	opacity: 1;
	transform: scale(1);
	animation: nsg-tremula 2.4s ease-in-out .9s infinite;
}

.nsg-vela-desenho.esta-acesa .nsg-vela-brilho {
	opacity: 1;
	animation: nsg-pulsa 3.2s ease-in-out 1s infinite;
}

/* As velas do mural tremulam cada uma num ritmo, para não andarem juntas. */
.nsg-mural-lista li:nth-child(3n + 1) .nsg-vela-chama-fogo { animation-duration: 2.1s; }
.nsg-mural-lista li:nth-child(3n + 2) .nsg-vela-chama-fogo { animation-duration: 2.7s; animation-delay: .3s; }

@keyframes nsg-tremula {
	0%, 100% { transform: scale(1) rotate(0deg); }
	20% { transform: scale(1.04, .96) rotate(-2deg); }
	45% { transform: scale(.96, 1.05) rotate(1.5deg); }
	70% { transform: scale(1.02, .98) rotate(-1deg); }
}

@keyframes nsg-pulsa {
	0%, 100% { opacity: .85; }
	50% { opacity: 1; }
}

/* A faixa do título termina na cor da capela, não no branco. */
.nsg-vela-pagina .nsg-topo-pagina .nsg-onda {
	color: var(--azul-noite);
}

.nsg-capela {
	padding: 30px 0 90px;
	background:
		radial-gradient(ellipse at 22% 40%, rgba(236, 208, 138, .16), transparent 45%),
		var(--azul-noite);
	color: #e3eaee;
}

.nsg-capela-int {
	display: grid;
	grid-template-columns: 320px minmax(0, 560px);
	justify-content: center;
	align-items: center;
	gap: 4rem;
}

.nsg-capela-vela {
	display: flex;
	justify-content: center;
}

.nsg-vela-intro {
	margin-bottom: 1.4rem;
	color: #e3eaee;
	font-size: 1.05rem;
}

.nsg-vela-intro a {
	color: var(--dourado-claro);
}

.nsg-vela-form label {
	display: block;
	margin-bottom: .35rem;
	color: var(--branco);
	font-size: .95rem;
	font-weight: 600;
}

.nsg-vela-form select,
.nsg-vela-form input,
.nsg-vela-form textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 10px;
	background: rgba(255, 255, 255, .96);
	color: var(--texto);
	font-family: inherit;
	font-size: 1rem;
}

.nsg-vela-form .nsg-campo {
	margin-bottom: 16px;
}

.nsg-vela-form .nsg-botao svg,
.nsg-vela-form .nsg-botao .simbolo {
	width: 20px;
	height: 20px;
}

.nsg-vela-form .nsg-botao[disabled] {
	opacity: .7;
	cursor: wait;
}

.nsg-vela-aviso {
	display: flex;
	gap: .6rem;
	margin: 1.2rem 0 0;
	font-size: .85rem;
	line-height: 1.5;
	color: #c9d5db;
}

.nsg-vela-aviso svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	fill: var(--dourado-claro);
}

.nsg-vela-acesa:focus {
	outline: none;
}

.nsg-vela-acesa .nsg-sobretitulo {
	color: var(--dourado-claro);
}

.nsg-vela-acesa-nome {
	margin: .2rem 0 .2rem;
	color: var(--branco);
	font-family: var(--serif);
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.nsg-vela-acesa-tipo {
	margin: 0 0 1rem;
	color: var(--dourado-claro);
	font-weight: 600;
}

.nsg-vela-acesa-intencao {
	margin: 0 0 1.4rem;
	padding: 14px 18px;
	border-left: 3px solid var(--dourado);
	border-radius: 0 10px 10px 0;
	background: rgba(255, 255, 255, .06);
	color: #eef3f5;
	white-space: pre-line;
}

.nsg-vela-oracao {
	margin: 0 0 1.2rem;
	padding: 0;
	border: 0;
}

.nsg-vela-oracao p {
	margin: 0;
	color: var(--dourado-claro);
	font-family: var(--serif);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.35;
}

.nsg-vela-prazo {
	color: #c9d5db;
	font-size: .95rem;
}

/* Mural: a mesma noite da capela, com as velas pequenas. */
.nsg-mural {
	background: #031a25;
	color: #d7e1e6;
}

.nsg-mural .nsg-titulo {
	color: var(--branco);
}

.nsg-mural .nsg-secao-topo p,
.nsg-mural .nsg-vazio {
	color: #c9d5db;
}

.nsg-mural-lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

/* Cada vela: a vela pequena à esquerda, nome, cidade e pedido ao lado. */
.nsg-mural-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid rgba(236, 208, 138, .18);
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
}

.nsg-mural-item .nsg-vela-desenho {
	flex: 0 0 auto;
}

.nsg-mural-texto {
	min-width: 0;
}

.nsg-mural-texto p {
	margin: 0;
}

.nsg-mural-nome {
	color: var(--branco);
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.nsg-mural-local {
	color: #c9d5db;
	font-size: .82rem;
}

.nsg-mural-tipo {
	margin-top: .45rem !important;
	color: var(--dourado-claro);
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.3;
}

.nsg-mural-pedido {
	margin-top: .3rem !important;
	color: #e3eaee;
	font-size: .9rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
	display: -webkit-box;
	white-space: pre-line;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nsg-mural-hora {
	margin-top: .45rem !important;
	color: #a9bac2;
	font-size: .75rem;
}

.nsg-mural-lista li.e-nova {
	border-color: var(--dourado);
}

/* Formulário: estado e cidade lado a lado, nota leve no rótulo, termo de aceite. */
.nsg-vela-lugar {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 0 14px;
}

.nsg-vela-form .nsg-campo-nota {
	color: #c9d5db;
	font-weight: 400;
}

.nsg-vela-form select[disabled] {
	opacity: .6;
	cursor: wait;
}

.nsg-vela-termo {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	margin: 6px 0 18px;
}

.nsg-vela-form .nsg-vela-termo input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	padding: 0;
	accent-color: var(--dourado);
}

.nsg-vela-form .nsg-vela-termo label {
	margin: 0;
	color: #e3eaee;
	font-size: .9rem;
	font-weight: 400;
	line-height: 1.5;
}

.nsg-vela-acesa-local {
	margin: 0 0 .6rem;
	color: #c9d5db;
}

.nsg-vela-acesa-local:empty {
	display: none;
}

@media (max-width: 767px) {
	.nsg-capela-int {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.nsg-vela-desenho--grande {
		font-size: 7px;
	}

	.nsg-vela-lugar {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nsg-vela-desenho .nsg-vela-chama-fogo,
	.nsg-vela-desenho .nsg-vela-brilho {
		animation: none !important;
	}
}

/* -------------------------------------------------------------------------- */
/* Telas menores                                                               */
/* -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
	.nsg-item {
		padding-inline: 10px;
		font-size: .9rem;
	}
}

@media (max-width: 1080px) {
	.nsg-confira-lista {
		grid-template-columns: 1fr;
		max-width: 560px;
	}

	:root {
		--cabecalho: 84px;
	}

	.nsg-nav,
	.nsg-cabecalho-redes {
		display: none;
	}

	.nsg-hamburguer {
		display: block;
	}

	.nsg-logo .custom-logo {
		height: 68px;
	}

	.nsg-cartoes,
	.nsg-albuns,
	.nsg-grade {
		grid-template-columns: repeat(2, 1fr);
	}

	.nsg-grade--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.nsg-fotos {
		grid-template-columns: repeat(3, 1fr);
	}

	.nsg-rodape-int {
		grid-template-columns: 1fr 1fr;
	}

	.nsg-capa-texto h1 {
		max-width: 56%;
	}
}

@media (max-width: 767px) {
	:root {
		--onda: 36px;
	}

	body {
		font-size: 16px;
	}

	.nsg-larg,
	.nsg-larg--texto {
		width: min(100% - 2rem, var(--larg));
	}

	.nsg-faixa {
		padding: 60px 0;
	}

	.nsg-noticias-capa,
	.nsg-outras {
		padding-top: 80px;
	}

	/*
	 * No celular a arte é estreita demais para a frase caber por cima sem
	 * tapar a padroeira: a frase desce para uma faixa azul logo embaixo.
	 */
	.nsg-capa-arte img {
		aspect-ratio: 960 / 446;
	}

	.nsg-capa-texto {
		position: static;
		display: block;
		padding: 22px 0 30px;
	}

	.nsg-capa-texto h1 {
		max-width: none;
		margin: 0;
		font-size: 1.65rem;
		text-shadow: none;
	}

	.nsg-duas,
	.nsg-contato,
	.nsg-404,
	.nsg-item-pagina {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.nsg-missas-foto {
		order: -1;
	}

	.nsg-missas-foto img {
		box-shadow: 10px 10px 0 var(--creme), var(--sombra);
	}

	.nsg-cartoes,
	.nsg-albuns,
	.nsg-grade,
	.nsg-grade--4 {
		grid-template-columns: 1fr;
	}

	.nsg-grade {
		gap: 22px;
	}

	.nsg-fotos {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.nsg-prosa .alignleft,
	.nsg-prosa .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 1.2rem;
	}

	.nsg-prosa .wp-block-gallery,
	.nsg-prosa .gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.nsg-prosa blockquote,
	.nsg-prosa .wp-block-quote {
		padding: 3.4rem 1.2rem 1.2rem;
	}

	.nsg-contato-form {
		padding: 22px;
	}

	.nsg-evento {
		padding: 14px 16px;
		gap: 1rem;
	}

	.nsg-evento-data {
		flex-basis: 62px;
	}

	.nsg-pessoas img {
		width: 220px;
		height: 220px;
	}

	.nsg-confira {
		padding: 50px 0 70px;
	}

	.nsg-confira-lista {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nsg-confira-cartao {
		padding: 16px;
		gap: 14px;
	}

	.nsg-confira-icone {
		flex-basis: 52px;
		height: 52px;
	}

	.nsg-confira-icone .simbolo {
		width: 26px;
		height: 26px;
	}

	.nsg-confira-nome {
		font-size: 1.35rem;
	}

	.nsg-rodape-int {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.nsg-rodape-marca {
		align-items: center;
	}

	.nsg-rodape-contatos li,
	.nsg-rodape-redes {
		justify-content: center;
	}

	/*
	 * O botão de voltar ao topo é fixo no canto e, com a página no fim, pousa
	 * em cima da linha de crédito. A folga embaixo tira o texto do caminho.
	 */
	.nsg-rodape-creditos {
		padding-bottom: 4.5rem;
	}

	.nsg-creditos-int,
	.nsg-creditos-marcas {
		flex-direction: column;
		text-align: center;
	}

	.nsg-visor {
		padding: 3.5rem .5rem;
	}

	.nsg-visor-antes,
	.nsg-visor-depois {
		top: auto;
		bottom: .6rem;
		transform: none;
	}
}

/* Responsivo das partes da versão 1.1 ------------------------------------- */

@media (max-width: 1080px) {
	.nsg-logo .custom-logo {
		height: 76px;
		margin-bottom: -14px;
	}

	.nsg-pastorais-tira {
		grid-template-columns: repeat(3, 1fr);
	}

	.nsg-dizimo-capa-int,
	.nsg-doacao-pagina {
		grid-template-columns: 1fr;
	}

	.nsg-doacao-lado {
		position: static;
		max-width: 520px;
	}

	.nsg-capa-bloco {
		max-width: 60%;
	}
}

@media (max-width: 767px) {
	.nsg-logo .custom-logo {
		height: 64px;
		margin-bottom: -10px;
	}

	/*
	 * No celular a arte é o recorte em pé da padroeira, e a frase, a linha de
	 * baixo e os botões descem para a faixa azul logo embaixo dela.
	 */
	.nsg-capa-arte img {
		aspect-ratio: 800 / 792;
		object-position: center top;
	}

	.nsg-capa-bloco {
		max-width: none;
		margin: 0;
	}

	.nsg-capa-texto {
		padding: 22px 0 84px;
	}

	.nsg-capa-texto h1 {
		font-size: 2.3rem;
		text-shadow: none;
	}

	.nsg-capa-botoes .nsg-botao {
		flex: 1 1 auto;
	}

	.nsg-proxima {
		flex-wrap: wrap;
		gap: .9rem 1rem;
		padding: 18px 20px;
	}

	.nsg-proxima-icone {
		flex-basis: 50px;
		height: 50px;
	}

	.nsg-proxima-quando {
		font-size: 1.55rem;
	}

	.nsg-proxima-link {
		flex-basis: 100%;
	}

	.nsg-palavra-int {
		grid-template-columns: 1fr;
		gap: 2rem;
		justify-items: center;
		text-align: center;
	}

	.nsg-palavra-foto img {
		width: 200px;
		height: 200px;
	}

	.nsg-palavra .nsg-sobretitulo {
		justify-content: center;
	}

	.nsg-pastorais-tira {
		grid-template-columns: repeat(2, 1fr);
	}

	.nsg-pastorais-tira-foto {
		width: 104px;
		height: 104px;
	}

	.nsg-dizimo-capa-texto {
		flex-direction: column;
		gap: 1rem;
	}

	.nsg-vela-int {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.nsg-cartao--destaque {
		display: flex;
	}

	.nsg-cartao--destaque .nsg-cartao-foto {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.nsg-cartao--destaque .nsg-cartao-corpo {
		padding: 22px 24px 8px;
	}

	.nsg-cartao--destaque .nsg-cartao-pe {
		padding-inline: 24px;
	}

	.nsg-larg--leitura {
		width: min(100% - 2rem, 760px);
	}

	.nsg-prosa--leitura .alignleft,
	.nsg-prosa--leitura .alignright {
		max-width: 100%;
	}

	.nsg-doacao {
		padding: 20px;
	}

	.nsg-doacao-qr {
		flex-direction: column;
		text-align: center;
	}

	.nsg-doacao-banco {
		grid-template-columns: repeat(3, 1fr);
		gap: .2rem .8rem;
	}

	.nsg-topo-pagina-titulo {
		font-size: 2.3rem;
	}

	/* No celular o calendário vira a lista dos dias que têm evento. */
	.nsg-calendario-mes {
		min-width: 0;
		font-size: 1.7rem;
	}

	.nsg-calendario-grade {
		display: block;
		border: 0;
	}

	.nsg-calendario-grade > .nsg-calendario-semana,
	.nsg-calendario-grade > .nsg-calendario-vazio,
	.nsg-calendario-grade > .nsg-calendario-dia:not(.tem-evento) {
		display: none;
	}

	.nsg-calendario-grade > li {
		min-height: 0;
		margin-bottom: 10px;
		padding: 12px 14px;
		border: 1px solid var(--linha);
		border-radius: var(--raio);
	}

	.nsg-calendario-extenso {
		display: inline;
		margin-left: .4rem;
		font-weight: 600;
		text-transform: capitalize;
	}
}

@media (max-width: 600px) {
	.nsg-prosa .is-style-cartoes:has(> li:nth-child(4):last-child) {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
