/* Proust Editora — sistema institucional */
body {
	background: #1C261B;
	color: #191916;
}

.site {
	background: #F6F2E9;
}

.site-header {
	padding-top: 2.5em;
	padding-bottom: 2em;
	border-top: 4px solid #1C261B;
	border-bottom: 1px solid rgba(154, 123, 69, 0.55);
}

.site-logo-link {
	display: none !important;
}

#masthead .site-header-main {
	align-items: center;
}

#masthead .site-branding {
	margin-top: 0;
	margin-bottom: 0;
	height: auto !important;
	overflow: visible !important;
}

#masthead .site-branding .site-title {
	display: inline-block !important;
	position: relative !important;
	clip: auto !important;
	clip-path: none !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	margin: 0;
	padding-top: 17px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: .16em;
}

#masthead .site-branding .site-title::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 100%;
	border-top: 1px solid #9A7B45;
}

#masthead .site-branding .site-title::after {
	content: "◆";
	position: absolute;
	top: 0;
	left: 50%;
	padding: 0 .65em;
	transform: translateX(-50%);
	background: #F6F2E9;
	color: #9A7B45;
	font-size: .38em;
	line-height: 1;
	letter-spacing: 0;
}

#masthead .site-branding .site-title a,
#masthead .site-branding .site-title a:hover,
#masthead .site-branding .site-title a:focus {
	color: #1C261B !important;
}

#masthead .site-branding .site-description {
	display: block !important;
	position: relative !important;
	clip: auto !important;
	clip-path: none !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	margin-top: .45rem;
	color: #806638;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(.76rem, 1.25vw, .85rem);
	font-style: normal;
	letter-spacing: .085em;
	line-height: 1.35;
}

.main-navigation a {
	color: #191916;
	letter-spacing: .025em;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
	color: #9A7B45;
}

@media screen and (min-width: 56.875em) {
	#masthead .site-header-main {
		display: block;
	}
	
	#masthead .site-branding {
		float: none;
		width: 100% !important;
		max-width: none !important;
		text-align: center;
	}
	
	#masthead .site-description {
		text-align: center;
	}
	
	.site-header-menu {
		margin-top: 1.4em;
	}
	
	.main-navigation {
		margin: 0;
		font-size: 14px;
	}
	
	.main-navigation ul {
		text-align: center;
	}
	
	.main-navigation li {
		float: none;
		display: inline-block;
	}
	
	.main-navigation a {
		padding: .55em .62em;
	}
}

@media screen and (max-width: 56.874em) {
	#masthead .site-header-main {
		display: block;
	}
	
	#masthead .site-branding {
		float: none;
		width: 100% !important;
		max-width: none !important;
		text-align: center;
	}
	
	#masthead .site-description {
		text-align: center;
	}
	
	#masthead .menu-toggle {
		display: block;
		margin: 1.25em auto 0;
	}
}

@media screen and (max-width: 34em) {
	#masthead .site-branding .site-title {
		font-size: 1.15rem;
		letter-spacing: .13em;
	}
}

/* Avatar institucional — restrito ao site da Proust */
.entry-footer .author.vcard > img.avatar,
.author-info img.avatar,
#wpadminbar #wp-admin-bar-my-account img.avatar {
	content: url('https://proustmagazine.org/wp-content/uploads/2026/08/cropped-proust-microicone-institucional.png');
	background: #1C261B;
	border-radius: 50%;
	object-fit: cover;
}

/* Cabeçalho: centraliza o menu principal abaixo da marca. */
@media screen and (min-width: 56.875em) {
	#site-navigation .primary-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* Respiro entre a linha do cabeçalho e o conteúdo. */
#masthead + #content {
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

/* Blog: centraliza as ilustrações na coluna de texto. */
.site-main article.post .entry-content .wp-block-image:not(.wp-block-gallery *),
.site-main article.post .entry-content .wp-block-image:not(.wp-block-gallery *) > figure {
	clear: both;
	float: none;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	text-align: center;
}

.site-main article.post .entry-content .wp-block-image:not(.wp-block-gallery *) :is(img, figcaption) {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.site-main article.post .entry-content .wp-block-image:not(.wp-block-gallery *) img {
	display: block;
	float: none;
	height: auto;
}

/* Blog: desativa a hifenização automática dos títulos dos posts. */
article.post .entry-title,
article.post .entry-title a,
body.single-post .post-navigation .post-title {
	hyphens: none;
}

/* Proust Editora: página inicial e índice do blog. */
.page-id-786 .entry-title,
.page-id-789 .entry-title,
.single-post .entry-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.12;
}

.page-id-786 .entry-content a,
.page-id-789 .entry-content a {
	color: #263b2a;
	box-shadow: none;
}

.page-id-786 .entry-content a:not(:has(img)),
.page-id-789 .wp-block-post-excerpt__more-link {
	text-decoration: underline;
	text-underline-offset: .19em;
}

.page-id-786 #main .entry-title {
	margin-bottom: clamp(1.05rem, 3vw, 1.9rem);
	text-align: center;
	text-wrap: balance;
}

.page-id-786 .proust-home-intro {
	max-width: 40rem;
	margin-inline: auto;
	font-size: 1.1rem;
	text-align: center;
	text-wrap: balance;
}

.page-id-786 .proust-home-feature {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid #c5b597;
	background: #eee8dc;
}

.page-id-786 .proust-home-feature h2,
.page-id-786 .proust-home-catalog h2 {
	margin-top: 0;
}

.page-id-786 .proust-home-feature .wp-block-image {
	margin-bottom: 0;
}

.page-id-786 .proust-home-feature img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.page-id-786 .proust-home-catalog {
	padding-top: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #c5b597;
}

.page-id-786 .proust-home-recent li {
	padding: .65rem 0;
}

.page-id-789 #main :is(.entry-header, .entry-content) {
	width: calc(100% - 2.5rem);
	max-width: 62rem;
	margin-left: auto;
	margin-right: auto;
}

.page-id-789 #main .entry-title {
	margin-bottom: .7em;
	text-align: center;
}

.page-id-789 .proust-blog-search {
	max-width: 26rem;
	margin: 0 auto 1.4rem;
}

.page-id-789 .wp-block-post-template {
	margin-left: 0;
}

.page-id-789 .proust-blog-entry {
	padding: 1.4rem 0;
	border-bottom: 1px solid #c5b597;
}

.page-id-789 .proust-blog-entry .wp-block-post-featured-image {
	margin: 0 0 .9rem;
}

.page-id-789 .proust-blog-entry .wp-block-post-excerpt p:last-child {
	margin-bottom: 0;
}

.page-id-789 .proust-blog-entry .wp-block-post-title {
	margin: .25rem 0 .55rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.4rem, 2.7vw, 1.85rem);
	line-height: 1.2;
	hyphens: none;
}

.page-id-789 .proust-blog-entry .wp-block-post-date {
	font-size: .82rem;
	color: #5b554b;
}

.page-id-789 .wp-block-query-pagination {
	margin-top: 2rem;
}

@media screen and (min-width: 42em) {
	.page-id-789 .proust-blog-entry:has(> .wp-block-post-featured-image),
	.page-id-789 .proust-blog-entry > .wp-block-group__inner-container:has(> .wp-block-post-featured-image) {
		display: grid;
		grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
		gap: clamp(1.25rem, 3vw, 2rem);
		align-items: center;
	}

	.page-id-789 .proust-blog-index:not(:has(.wp-block-query-pagination-previous)) .wp-block-post:first-child .proust-blog-entry {
		padding: 1.4rem 1.25rem;
		border: 1px solid #c5b597;
		background: #eee8dc;
	}

	.page-id-789 .proust-blog-index:not(:has(.wp-block-query-pagination-previous)) .wp-block-post:first-child :is(.proust-blog-entry, .proust-blog-entry > .wp-block-group__inner-container):has(> .wp-block-post-featured-image) {
		grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
	}

	.page-id-789 .proust-blog-entry .wp-block-post-featured-image {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 42em) {
	.single-post .entry-summary {
		font-size: 1.1rem;
		line-height: 1.5;
	}
}

/* La Recherche: página de lançamento. */
.page-id-805 #content {
	background: #fff;
	margin-block-start: clamp(1.5rem, 3.5vw, 3rem);
}

.page-id-805 #main .entry-header {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.page-id-805 #main .entry-content {
	width: calc(100% - 3.25rem);
	max-width: 27rem;
	margin: 0 auto;
}

.page-id-805 .proust-recherche-art {
	margin: 0 auto;
}

.page-id-805 .proust-recherche-art img {
	display: block;
	width: 100%;
	height: auto;
}

.page-id-805 #main .entry-footer {
	display: none;
}


/* Oculta Expediente nos menus sem alterar o endereço da página. */
nav li.menu-item.menu-item-37 {
	display: none;
}

/* Editais da Proust Editora. */
.page-id-819 #main .entry-title,
.page-id-819 .proust-edital-section h2,
.page-id-819 .proust-edital-section h3 {
	font-family: Georgia, "Times New Roman", serif;
	hyphens: none;
}

.page-id-819 .proust-edital-section + .proust-edital-section {
	border-top: 1px solid #c5b597;
	padding-top: 1.75rem;
	margin-top: 2rem;
}

.page-id-819 .proust-edital-section h2 {
	margin-top: 0;
}

/* Botões da Proust Editora. */
#page {
	--proust-button-green: #263b2a;
}

#page :is(.wp-block-button__link, .wp-element-button, button[type="submit"], input[type="submit"], input[type="button"], .menu-toggle) {
	background: var(--proust-button-green);
	border: 1px solid var(--proust-button-green);
	border-radius: 2px;
	box-shadow: none;
	color: #fff;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .047em;
	line-height: 1.15;
	max-inline-size: 100%;
	padding: .65rem 1rem;
	text-decoration: none;
	text-transform: uppercase;
}

#page .wp-block-button.is-style-outline .wp-block-button__link,
#page .wp-block-button__link.is-style-outline,
#page .menu-toggle {
	background: transparent;
	color: var(--proust-button-green);
}

#page :is(.wp-block-button__link, .wp-element-button, button[type="submit"], input[type="submit"], input[type="button"], .menu-toggle):hover {
	text-decoration: underline;
}

#page :is(.wp-block-button__link, .wp-element-button, button[type="submit"], input[type="submit"], input[type="button"], .menu-toggle):focus-visible {
	outline: 2px solid var(--proust-button-green);
	outline-offset: 3px;
}

/* Ação principal nos conjuntos da revista, do acervo e dos editais. */
:is(.page-id-1, .page-id-166, .page-id-398, .page-id-565, .page-id-678, .page-id-753, .postid-436) #main .wp-block-button__link[href*="/wp-content/uploads/"][href$=".pdf"],
.page-id-45 #main .wp-block-button__link[href$="/edital-permanente-proust-magazine-1.pdf"],
.page-id-664 #main .wp-block-button__link[href="#edital"],
.page-id-56 #main .wp-block-button__link[href$="/serie-vozes-do-presente/"],
.postid-441 #main .wp-block-button__link[href$="/edital-permanente/"] {
	background: var(--proust-button-green);
	color: #fff;
}

/* Mantém as ações de cada edição com a mesma largura no catálogo. */
.page-id-1 #main .wp-block-media-text__content .wp-block-buttons {
	align-items: center;
	flex-direction: column;
}

.page-id-1 #main .wp-block-media-text__content .wp-block-buttons > .wp-block-button {
	inline-size: min(100%, 18rem);
}

.page-id-1 #main .wp-block-media-text__content .wp-block-buttons > .wp-block-button > .wp-block-button__link {
	inline-size: 100%;
	text-align: center;
}

/* Mantém os botões dos planos alinhados entre as colunas. */
.page-id-231 #main .wp-block-columns > .wp-block-column:has(> .wp-block-jetpack-payment-buttons) {
	display: flex;
	flex-direction: column;
}

.page-id-231 #main .wp-block-column > .wp-block-jetpack-payment-buttons {
	margin-block-start: auto;
	max-inline-size: 18rem;
}

.page-id-231 #main .wp-block-jetpack-payment-buttons :is(.wp-block-jetpack-recurring-payments, .wp-block-jetpack-button, .wp-block-button__link) {
	inline-size: 100%;
}

.page-id-231 #main .wp-block-jetpack-payment-buttons .wp-block-button__link {
	align-items: center;
	display: flex;
	font-size: .875rem;
	justify-content: center;
	min-block-size: 2.75rem;
	padding-inline: .65rem;
	text-align: center;
}

@media (min-width: 782px) and (max-width: 1220px) {
	.page-id-231 #main .wp-block-jetpack-payment-buttons .wp-block-button__link {
		min-block-size: 3.5rem;
	}
}

@media (min-width: 782px) and (max-width: 960px) {
	.page-id-231 #main .wp-block-jetpack-payment-buttons .wp-block-button__link {
		font-size: .75rem;
	}
}

.page-id-45 #main .post-thumbnail,
.page-id-50 #main .post-thumbnail,
.page-id-50 #main .wp-block-image {
	display: none;
}

/* Editais reúne as duas entradas antigas da navegação. */
nav li.menu-item.menu-item-48,
nav li.menu-item.menu-item-51 {
	display: none;
}

/* Acervo da Proust Editora. */
.page-id-56 #main:has(.proust-acervo) :is(.entry-header, .entry-content) {
	width: calc(100% - 3rem);
	max-width: 58rem;
	margin-inline: auto;
}

.page-id-56 #main:has(.proust-acervo) .entry-title {
	margin: 0 0 clamp(2.15rem, 5vw, 3.25rem);
	font: 700 clamp(2.45rem, 6vw, 3.5rem)/1.04 Georgia, "Times New Roman", serif;
	letter-spacing: -.035em;
	hyphens: none;
}

.proust-acervo .acervo-serie + .acervo-serie {
	margin-top: clamp(2.5rem, 6vw, 4.25rem);
	padding-top: clamp(1.55rem, 4vw, 2.4rem);
	border-top: 1px solid #c9bc9f;
}

.proust-acervo .acervo-serie h2 {
	margin: 0;
	font: 700 clamp(1.65rem, 3.1vw, 2.15rem)/1.12 Georgia, "Times New Roman", serif;
	letter-spacing: -.018em;
	hyphens: none;
}

.proust-acervo .acervo-estante {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(1.1rem, 4vw, 2.65rem);
	margin-top: 1.5rem;
}

.proust-acervo .acervo-livro {
	min-width: 0;
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 6;
	align-items: start;
}

.proust-acervo .acervo-capa {
	grid-row: 1;
	display: flex;
	align-items: flex-end;
	height: clamp(12rem, 24vw, 17rem);
	margin: 0;
	padding: 0 .35rem .55rem;
	border-bottom: 1px solid #c9bc9f;
}

.proust-acervo .acervo-capa img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: 2 / 3;
	object-fit: contain;
	box-shadow: 2px 3px 8px rgb(36 30 18 / 16%);
}

.proust-acervo .acervo-livro h3 {
	grid-row: 2;
	margin: .85rem 0 0;
	font: 700 clamp(1.15rem, 2.1vw, 1.42rem)/1.22 Georgia, "Times New Roman", serif;
	hyphens: none;
}

.proust-acervo .acervo-autor,
.proust-acervo .acervo-prefacio {
	color: #554c3c;
	line-height: 1.4;
}

.proust-acervo .acervo-autor {
	grid-row: 3;
	margin: .28rem 0 0;
	font-size: 1rem;
}

.proust-acervo .acervo-prefacio {
	grid-row: 4;
	margin: .3rem 0 0;
	font-size: .9rem;
}

.proust-acervo .acervo-isbn {
	grid-row: 5;
	margin: .68rem 0 0;
	color: #554c3c;
	font: .75rem/1.5 "Helvetica Neue", Arial, sans-serif;
}

.proust-acervo .acervo-isbn div {
	display: flex;
	flex-wrap: wrap;
	gap: 0 .45rem;
	align-items: baseline;
}

.proust-acervo .acervo-isbn dt { font-weight: 700; }
.proust-acervo .acervo-isbn dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.proust-acervo .acervo-em-breve {
	grid-row: 6;
	margin: .7rem 0 0;
	color: #263b2a;
	font-size: .98rem;
	font-style: italic;
}

@media (max-width: 37rem) {
	.page-id-56 #main:has(.proust-acervo) :is(.entry-header, .entry-content) {
		width: calc(100% - 2.3rem);
	}

	.proust-acervo .acervo-estante {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: .9rem;
	}

	.proust-acervo .acervo-livro:nth-child(n + 3) { margin-top: 1.6rem; }
	.proust-acervo .acervo-capa {
		height: clamp(10.5rem, 51vw, 14rem);
		padding-inline: .15rem;
	}

	.proust-acervo .acervo-autor { font-size: .9rem; }
}

.proust-acervo .acervo-descricao {
	margin: .55rem 0 0;
	color: #554c3c;
	font-size: .98rem;
	line-height: 1.5;
}

/* Perfis do Conselho Editorial. */
.page-id-816 #main:has(.proust-conselho) .entry-title {
	margin-bottom: clamp(1.65rem, 4vw, 2.65rem);
	font: 700 clamp(2rem, 4.4vw, 3rem)/1.12 Georgia, "Times New Roman", serif;
	hyphens: none;
}

.proust-conselho .conselho-perfil {
	display: grid;
	grid-template-columns: clamp(8.5rem, 17vw, 11rem) minmax(0, 1fr);
	gap: clamp(1.4rem, 4vw, 2.2rem);
	align-items: start;
}

.proust-conselho .conselho-perfil + .conselho-perfil {
	margin-top: clamp(1.9rem, 4.5vw, 2.9rem);
	padding-top: clamp(1.65rem, 4vw, 2.4rem);
	border-top: 1px solid #c9bc9f;
}

.proust-conselho .conselho-foto {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #eee8dc;
}

.proust-conselho .conselho-foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	filter: grayscale(1);
}

.proust-conselho [aria-labelledby="farlley-derze"] img { object-position: 25% center; }
.proust-conselho [aria-labelledby="katia-suelotto"] img { object-position: center 48%; }

.proust-conselho .conselho-biografia h2 {
	margin: 0 0 .65rem;
	font: 700 clamp(1.45rem, 3.1vw, 1.9rem)/1.16 Georgia, "Times New Roman", serif;
	hyphens: none;
	text-wrap: balance;
}

.proust-conselho .conselho-biografia p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
}

.proust-conselho .conselho-biografia p + p { margin-top: .75rem; }

@media (max-width: 37rem) {
	.proust-conselho .conselho-perfil {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.proust-conselho .conselho-foto { width: min(9.5rem, 60%); }
}

.proust-conselho .conselho-biografia .conselho-cargos {
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
	color: #43513b;
	font-size: .94rem;
	line-height: 1.4;
}

.proust-conselho .conselho-cargos li + li { margin-top: .16rem; }

/* Proust Magazine: respiro entre as capas e os títulos no celular. */
@media (max-width: 600px) {
  .page-id-1 .entry-content > .wp-block-media-text.is-stacked-on-mobile {
    row-gap: 20px;
  }

  .page-id-1 .entry-content > .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content > p:first-child:empty {
    display: none;
  }

  .page-id-1 .entry-content > .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content > h3:first-of-type {
    margin-top: 0;
  }
}
