/*
Theme Name:   Charming Men
Description:  Tema filho do GeneratePress para histórias longas (layout do perfectlovershub.com com tons de fazenda).
Template:     generatepress
Version:      1.0.0
Text Domain:  charmingmen
*/

:root {
	--contrast: #2b2420;
	--contrast-2: #6b5d52;
	--contrast-3: #b9ab9c;
	--base: #ece6dd;
	--base-2: #f6f2ec;
	--base-3: #ffffff;
	--accent: #8a4b22;
}

body {
	font-size: 19px;
	line-height: 1.75;
}

/* Texto das histórias: serifado, confortável para leitura longa. */
.entry-content,
.entry-summary {
	font-family: Georgia, "Times New Roman", serif;
}

.entry-content p {
	margin-bottom: 1.15em;
}

.entry-title,
.main-title {
	font-weight: 700;
	letter-spacing: -0.01em;
}

.entry-content img,
.post-image img,
.featured-image img {
	border-radius: 6px;
}

.entry-content figure {
	margin: 1.6em 0;
}

/* Fotos em pé (retrato) não passam da altura da tela. */
.entry-content .wp-block-image img {
	display: block;
	width: auto;
	max-height: 85vh;
	margin: 0 auto;
}

.entry-content figcaption {
	font-family: system-ui, sans-serif;
	font-size: 14px;
	color: var(--contrast-2);
	text-align: center;
}

/* Frase de destaque dentro da história. */
.entry-content blockquote {
	border-left: 4px solid var(--accent);
	background: var(--base-2);
	padding: 0.8em 1.2em;
	font-style: italic;
}

/* Botão "Continue Reading" das histórias paginadas. */
.cm-next {
	margin: 2.2em 0 1.4em;
	text-align: center;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cm-next-teaser {
	margin: 0 0 0.8em;
	font-style: italic;
	color: var(--contrast-2);
}

.entry-content .cm-next-button {
	display: block;
	max-width: 560px;
	margin: 0 auto;
	padding: 0.85em 1.2em;
	border-radius: 999px;
	background: #1e6fd9;
	color: #fff;
	font-size: clamp(22px, 5vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(30, 111, 217, 0.35);
	animation: cm-pulse 2.2s ease-in-out infinite;
}

.entry-content .cm-next-button:hover,
.entry-content .cm-next-button:focus {
	background: #1559b3;
	color: #fff;
}

.cm-next-count {
	margin: 0.6em 0 0;
	font-size: 14px;
	color: var(--contrast-2);
}

@keyframes cm-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
	.entry-content .cm-next-button { animation: none; }
}

.page-links {
	margin-top: 1em;
	text-align: center;
	font-size: 15px;
}

.page-links > a,
.page-links > span:not(.page-links-title) {
	display: inline-block;
	min-width: 2em;
	margin: 0 0.15em;
	padding: 0.2em 0.5em;
	border: 1px solid var(--base);
	border-radius: 4px;
}

/* Rodapé: aviso de ficção. */
.site-info .copyright-bar {
	font-size: 14px;
	color: var(--contrast-2);
}

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