/* Ajustes customizados do site CEPECIDOC. */

.page-content a,
.comments-area a {
	text-decoration: none;
}

body {
	background: #efefef;
}

html,
body {
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main,
#content {
	background: #efefef;
	flex: 1 0 auto;
}

.site-main.cepecidoc-page-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 20px 24px 52px;
}

.cepecidoc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 275px;
	gap: 20px;
	width: min(100%, 1185px);
	margin: 0 auto;
}

.cepecidoc-title-card,
.cepecidoc-content-card,
.cepecidoc-sidebar-widget {
	background: #fff;
}

.cepecidoc-content-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.cepecidoc-title-card,
.cepecidoc-content-card {
	padding: 40px;
}

.cepecidoc-content-card {
	padding-inline: 64px;
}

.cepecidoc-content-column .page-header .entry-title,
.cepecidoc-content-column .page-header,
.cepecidoc-content-column .page-content {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.cepecidoc-content-column .page-header .entry-title {
	margin: 0;
	color: #3f3f3f;
	font-family: Roboto, Arial, sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.2;
}

.cepecidoc-content-column .page-content {
	color: #444;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.cepecidoc-content-column .page-content p {
	margin: 0 0 26px;
}

.cepecidoc-post-list {
	display: grid;
	gap: 26px;
	margin-top: 8px;
}

.cepecidoc-post-list-item {
	padding-bottom: 26px;
	border-bottom: 1px solid #e2e2e2;
}

.cepecidoc-post-list-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.cepecidoc-post-list-item h2 {
	margin: 0 0 14px;
	color: #242424;
	font-family: Roboto, Arial, sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
}

.cepecidoc-post-list-item h2 a {
	color: inherit;
	text-decoration: none;
}

.cepecidoc-post-list-item h2 a:hover,
.cepecidoc-post-list-item h2 a:focus {
	color: #75a63a;
}

.cepecidoc-post-list-thumb {
	display: block;
	margin-bottom: 16px;
}

.cepecidoc-post-list-thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
}

.cepecidoc-contact-form {
	display: grid;
	gap: 18px;
	max-width: 620px;
}

.cepecidoc-contact-form label {
	display: grid;
	gap: 8px;
	color: #333;
	font-family: Roboto, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.cepecidoc-contact-form input,
.cepecidoc-contact-form textarea {
	width: 100%;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	background: #fafafa;
	color: #333;
	font-family: Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.cepecidoc-contact-form input {
	height: 46px;
	padding: 0 14px;
}

.cepecidoc-contact-form textarea {
	padding: 12px 14px;
	resize: vertical;
}

.cepecidoc-contact-form button {
	justify-self: start;
	min-width: 140px;
	padding: 12px 22px;
	border: 0;
	border-radius: 0;
	background: #75a63a;
	color: #fff;
	font-family: Roboto, Arial, sans-serif;
	font-size: 15px;
	cursor: pointer;
}

.cepecidoc-contact-form button:hover,
.cepecidoc-contact-form button:focus {
	background: #5f8138;
}

.cepecidoc-contact-message {
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.4;
}

.cepecidoc-contact-message-success {
	background: #e7f2dc;
	color: #3f641f;
}

.cepecidoc-contact-message-error {
	background: #f5e2e2;
	color: #7b2525;
}

.cepecidoc-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.cepecidoc-sidebar-widget {
	padding: 40px;
}

.cepecidoc-sidebar-search {
	padding: 40px;
}

.cepecidoc-sidebar .search-form {
	margin: 0;
}

.cepecidoc-sidebar .search-form label {
	display: block;
}

.cepecidoc-sidebar .search-form .search-field {
	width: 100%;
	height: 47px;
	padding: 0 16px;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	background: #fafafa;
	color: #555;
	font-family: Roboto, Arial, sans-serif;
	font-size: 15px;
}

.cepecidoc-sidebar .search-form .search-submit {
	display: none;
}

.cepecidoc-sidebar-widget h2 {
	margin: 0 0 28px;
	color: #1c1c1c;
	font-family: Roboto, Arial, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
}

.cepecidoc-sidebar-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cepecidoc-sidebar-widget li {
	margin: 0 0 8px;
	list-style: none;
}

.cepecidoc-sidebar-widget a {
	color: #5f8138;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
}

.cepecidoc-sidebar-widget a:hover,
.cepecidoc-sidebar-widget a:focus {
	color: #75a63a;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.site-main.cepecidoc-page-main {
		padding: 16px 16px 36px;
	}

	.cepecidoc-layout {
		grid-template-columns: 1fr;
	}

	.cepecidoc-title-card,
	.cepecidoc-content-card,
	.cepecidoc-sidebar-widget {
		padding: 28px 22px;
	}

	.cepecidoc-content-card {
		padding-inline: 24px;
	}

	.cepecidoc-content-column .page-header .entry-title {
		font-size: 32px;
	}
}
