/*
Theme Name: Doce Acordo
Theme URI: https://doceacordo2.ddev.site/
Author: Doce Acordo
Description: Tema personalizado e leve para o site Doce Acordo.
Version: 1.0.0
Text Domain: doceacordo
*/

:root {
	--color-background: #fffaf7;
	--color-surface: #ffffff;
	--color-text: #2d2420;
	--color-muted: #756761;
	--color-primary: #9d4f5c;
	--color-border: #eaded8;
	--content-width: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

a {
	color: var(--color-primary);
}

a:hover {
	text-decoration: none;
}

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

.site-header,
.site-footer {
	background: var(--color-surface);
}

.site-header {
	border-bottom: 1px solid var(--color-border);
}

.site-footer {
	margin-top: 4rem;
	border-top: 1px solid var(--color-border);
}

.container {
	width: min(calc(100% - 2rem), var(--content-width));
	margin-inline: auto;
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 80px;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
}

.site-title a {
	color: var(--color-text);
	text-decoration: none;
}

.custom-logo {
	display: block;
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a {
	color: var(--color-text);
	text-decoration: none;
}

.site-main {
	min-height: 60vh;
	padding-block: 3rem;
}

.page-header {
	margin-bottom: 2rem;
}

.post-card,
.entry {
	margin-bottom: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: var(--color-surface);
}

.entry-title {
	margin-top: 0;
	line-height: 1.2;
}

.entry-title a {
	color: var(--color-text);
	text-decoration: none;
}

.entry-meta {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.post-thumbnail {
	display: block;
	margin-bottom: 1.5rem;
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-surface);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--color-primary);
	color: #fff;
}

.comments-area {
	margin-top: 2rem;
}

input,
textarea,
button,
select {
	max-width: 100%;
	font: inherit;
}

input,
textarea,
select {
	padding: 0.65rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
}

button,
input[type="submit"] {
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 6px;
	background: var(--color-primary);
	color: #fff;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 700px) {
	.site-header__inner,
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 1rem;
	}
}
