/*
Theme Name:   Meu Cartão Aprovado (GeneratePress Child)
Theme URI:    https://meucartaoaprovado.com.br
Description:  Tema filho do GeneratePress para o Meu Cartão Aprovado.
Author:       Meu Cartão Aprovado
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child
*/

/* Leitura: coluna de ~740px em posts e páginas, sem barra lateral */
.single .inside-article,
.page .inside-article,
.single .comments-area,
.blog .site-main,
.archive .site-main,
.search .site-main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body {
	font-size: 18px;
	line-height: 1.7;
}

h1,
h2,
h3 {
	font-weight: 700;
	line-height: 1.25;
}

h1 {
	font-size: 2.25rem;
}

h2 {
	font-size: 1.6rem;
}

h3 {
	font-size: 1.25rem;
}

/* Menu principal em barra abaixo do cabeçalho */
.main-navigation {
	border-top: 1px solid var(--base);
	border-bottom: 1px solid var(--base);
}

.main-navigation .main-nav ul li a {
	font-size: 15px;
	padding-left: 14px;
	padding-right: 14px;
}

.inside-header {
	padding-top: 24px;
	padding-bottom: 24px;
}

.entry-content > * + h2 {
	margin-top: 2em;
}

.entry-content table {
	font-size: 0.9em;
}

.entry-content th {
	background: var(--base-2);
	text-align: left;
}

.entry-meta {
	font-size: 0.85em;
	color: var(--contrast-2);
}

/* Breadcrumbs (Rank Math) */
.rank-math-breadcrumb {
	font-size: 0.85em;
	color: var(--contrast-2);
	margin-bottom: 1em;
}

.rank-math-breadcrumb p {
	margin: 0;
}

/* Apresentação da home */
.home-intro {
	padding-bottom: 1.5em;
	margin-bottom: 1.5em;
	border-bottom: 1px solid var(--base);
}

.home-intro-title {
	font-weight: 700;
	line-height: 1.25;
	font-size: 1.9rem;
	margin-bottom: 0.5em;
}

.home-intro-cats {
	list-style: none;
	margin: 1em 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.home-intro-cats a {
	display: inline-block;
	padding: 0.3em 0.8em;
	border: 1px solid var(--base);
	border-radius: 999px;
	font-size: 0.85em;
	text-decoration: none;
}

.home-intro-cats a:hover {
	border-color: var(--accent);
}

/* Foto do autor (página Sobre) */
.foto-autor img {
	width: 220px;
	height: auto;
	border-radius: 50%;
}

/* Caixa de autor */
.author-box {
	display: flex;
	gap: 1em;
	align-items: flex-start;
	margin-top: 2.5em;
	padding: 1.25em;
	background: var(--base-2);
	border-radius: 6px;
	font-size: 0.9em;
}

.author-box img {
	border-radius: 50%;
	flex-shrink: 0;
}

.author-box p {
	margin: 0 0 0.4em;
}

.author-box-name {
	font-weight: 700;
}

/* Rodapé */
.footer-menu ul {
	list-style: none;
	margin: 0 0 0.75em;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4em 1.25em;
}

.footer-copy {
	margin: 0;
}

.site-info {
	font-size: 0.85em;
}

.site-info .inside-site-info {
	justify-content: center;
	text-align: center;
}

/* Marcadores [[AUTOR: ...]] ainda não preenchidos (somente durante o desenvolvimento) */
mark.autor-pendente {
	background: #fff3b0;
	color: #5c4400;
	padding: 0 0.2em;
}

@media (max-width: 768px) {
	body {
		font-size: 17px;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.4rem;
	}

	h3 {
		font-size: 1.15rem;
	}
}

@media (max-width: 768px) {
	.home-intro-title {
		font-size: 1.5rem;
	}
}
