/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/





/* ===== EDITORA MEDIACAO 404 START ===== */

.em-404 {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.em-404 .entry-header {
	text-align: center;
}

.em-404__label {
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.em-404__title {
	margin-bottom: 16px;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.12;
}

.em-404__intro {
	max-width: 680px;
	margin: 0 auto 32px;
	font-size: 1.08rem;
	line-height: 1.65;
}

.em-404__search {
	max-width: 680px;
	margin: 0 auto 24px;
	text-align: center;
}

.em-404__search h2 {
	margin-bottom: 16px;
	font-size: 1.45rem;
}

.em-404__search-form {
	display: flex;
	gap: 10px;
	width: 100%;
}

.em-404__search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 14px 16px;
	font-size: 1rem;
	border-radius: 6px;
}

.em-404__search-form button {
	flex: 0 0 auto;
	padding: 14px 22px;
	border-radius: 6px;
}

.em-404__home {
	margin: 22px 0 42px;
	text-align: center;
}

.em-404__separator {
	margin: 0 0 40px;
}

.em-404__routes {
	text-align: center;
}

.em-404__routes > h2 {
	margin-bottom: 8px;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.em-404__routes-intro {
	max-width: 680px;
	margin: 0 auto 26px;
	line-height: 1.6;
}

.em-404__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	text-align: left;
}

.em-404__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 190px;
	padding: 24px;
	border: 1px solid #dddddd;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease;
}

.em-404__card--education {
	background: #f1f7f0;
	border-color: #d6e6d2;
}

.em-404__card--teachers {
	background: #eef6fa;
	border-color: #d2e5ee;
}

.em-404__card--critical {
	background: #f7f2f6;
	border-color: #e5d7e2;
}

.em-404__card--freire {
	background: #fff7e8;
	border-color: #eedfbd;
}

.em-404__card--books {
	background: #faf8f4;
	border-color: #e7e1d8;
}

.em-404__card:hover,
.em-404__card:focus-visible {
	color: inherit;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
	border-color: #c6c6c6;
}

.em-404__card:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.em-404__card-title {
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.3;
}

.em-404__card-text {
	line-height: 1.55;
}

.em-404__card-cta {
	margin-top: auto;
	font-weight: 700;
}

.em-404__help {
	margin-top: 32px;
	padding: 22px 24px;
	border-radius: 12px;
	background: #f5f5f5;
	text-align: center;
}

.em-404__help p {
	margin: 8px 0 0;
}

@media (max-width: 700px) {

	.em-404 {
		max-width: 100%;
	}

	.em-404__grid {
		grid-template-columns: 1fr;
	}

	.em-404__card {
		min-height: 0;
		padding: 20px;
	}

	.em-404__search-form {
		flex-direction: column;
	}

	.em-404__search-form button {
		width: 100%;
	}

	.em-404__intro {
		font-size: 1rem;
	}
}

/* ===== EDITORA MEDIACAO 404 END ===== */
