/*
Theme Name: Educar Freire
Theme URI: https://educarfreire.com.br/
Author: Educar Freire
Description: Tema editorial para blogs educacionais, com três banners configuráveis, categorias em destaque, publicações recentes e layout responsivo.
Version: 1.3.5
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: educar-freire
Tags: blog, education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--ef-background: #f7faf9;
	--ef-foreground: #17334a;
	--ef-card: #ffffff;
	--ef-navy: #153d5c;
	--ef-teal: #147a7d;
	--ef-teal-dark: #0f5a63;
	--ef-yellow: #f4c655;
	--ef-coral: #e86d5e;
	--ef-muted: #647989;
	--ef-border: #dfe9e8;
	--ef-soft: #edf5f3;
	--ef-radius: 18px;
	--ef-shadow: 0 18px 45px rgba(22, 61, 84, 0.09);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--ef-background);
	color: var(--ef-foreground);
	font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

figure {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(20, 122, 125, 0.35);
	outline-offset: 3px;
}

.ef-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ef-reading-width {
	width: min(820px, calc(100% - 40px));
	margin-inline: auto;
}

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	color: #fff;
	border-radius: 8px;
	background: var(--ef-navy);
	font-weight: 800;
}

/* Faixa superior */
.ef-top-strip {
	color: #fff;
	background: var(--ef-navy);
	font-size: 0.78rem;
	letter-spacing: 0.01em;
}

.ef-top-strip-inner {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ef-top-strip-inner span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.ef-top-strip-inner i {
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background: var(--ef-yellow);
	box-shadow: 0 0 0 3px rgba(244, 198, 85, 0.16);
}

/* Cabeçalho e identidade */
.ef-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid var(--ef-border);
	background: rgba(255, 255, 255, 0.98);
}

.ef-header-main {
	min-height: 92px;
	display: grid;
	grid-template-columns: auto minmax(300px, 1fr) auto;
	align-items: center;
	gap: 40px;
}

.ef-brand-wrap {
	min-width: 0;
}

.ef-brand,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.custom-logo {
	width: auto;
	max-width: 270px;
	max-height: 70px;
	object-fit: contain;
}

.ef-brand-mark {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	color: #fff;
	border-radius: 15px 15px 15px 5px;
	background: linear-gradient(145deg, var(--ef-teal), #25a08c);
	box-shadow: 0 8px 20px rgba(20, 122, 125, 0.22);
}

.ef-brand-mark svg {
	width: 32px;
	height: 32px;
	fill: #fff;
}

.ef-brand-mark .ef-brand-leaf {
	fill: var(--ef-yellow);
}

.ef-brand strong {
	display: block;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.ef-brand small {
	display: block;
	margin-top: 5px;
	color: #71828d;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.ef-search-form {
	display: flex;
	width: 100%;
	min-width: 0;
	border: 1px solid #d8e4e5;
	border-radius: 999px;
	background: #f7faf9;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ef-search-form:focus-within {
	border-color: var(--ef-teal);
	box-shadow: 0 0 0 4px rgba(20, 122, 125, 0.11);
}

.ef-search-form input {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: 0 8px 0 20px;
	color: var(--ef-foreground);
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 0.94rem;
}

.ef-search-form input::placeholder {
	color: #84939d;
}

.ef-search-form button {
	width: 48px;
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	padding: 0;
	color: #fff;
	border: 0;
	border-radius: 50%;
	background: var(--ef-teal);
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.ef-search-form button:hover {
	background: var(--ef-teal-dark);
}

.ef-search-form button:active {
	transform: scale(0.96);
}

.ef-search-form button svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.ef-header-links {
	display: flex;
	align-items: center;
	gap: 18px;
	white-space: nowrap;
	font-size: 0.85rem;
	font-weight: 800;
}

.ef-header-links > a:first-child {
	color: #607483;
}

.ef-header-links a:hover {
	color: var(--ef-teal);
}

.ef-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ef-navy);
}

.ef-contact-link span {
	color: var(--ef-teal);
	font-size: 1.08rem;
}

/* Navegação */
.ef-primary-nav {
	border-top: 1px solid #edf2f2;
	background: #fff;
}

.ef-nav-inner {
	min-height: 49px;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.ef-menu,
.ef-menu ul,
.ef-footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.ef-primary-nav .ef-menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.ef-primary-nav .ef-menu > li {
	position: relative;
	display: flex;
}

.ef-primary-nav .ef-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 0 15px;
	color: #344f61;
	font-size: 0.83rem;
	font-weight: 800;
	transition: color 180ms ease, background 180ms ease;
}

.ef-primary-nav .ef-menu > li > a:hover,
.ef-primary-nav .ef-menu > li.current-menu-item > a,
.ef-primary-nav .ef-menu > li.current-menu-ancestor > a {
	color: var(--ef-teal-dark);
	background: #f0f8f7;
}

.ef-primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	width: 240px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	border: 1px solid var(--ef-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--ef-shadow);
	transition: 170ms ease;
}

.ef-primary-nav li:hover > .sub-menu,
.ef-primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ef-primary-nav .sub-menu li {
	position: relative;
}

.ef-primary-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	color: #456070;
	border-radius: 8px;
	font-size: 0.84rem;
	font-weight: 750;
}

.ef-primary-nav .sub-menu a:hover {
	color: var(--ef-teal-dark);
	background: #eef7f6;
}

.ef-primary-nav .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 8px);
}

.ef-mobile-menu-button {
	display: none;
}

/* Banner em largura total */
.ef-banner-section {
	width: 100%;
	padding-top: 30px;
}

.ef-banner-slider {
	position: relative;
	width: 100%;
	height: clamp(280px, 25vw, 400px);
	overflow: hidden;
	border-top: 1px solid #dbe8e8;
	border-bottom: 1px solid #dbe8e8;
	background: #eaf2f2;
	box-shadow: 0 20px 50px rgba(29, 73, 91, 0.1);
}

.ef-banner-track,
.ef-banner-slide {
	position: absolute;
	inset: 0;
}

.ef-banner-slide {
	display: grid;
	place-items: center;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.012);
	transition: opacity 480ms ease, transform 700ms ease, visibility 480ms ease;
}

.ef-banner-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.ef-banner-link {
	position: absolute;
	inset: 0;
	display: block;
}

.ef-banner-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.ef-banner-tone-1 {
	background:
		radial-gradient(circle at 82% 22%, rgba(244, 198, 85, 0.3) 0 7%, transparent 7.4%),
		linear-gradient(120deg, #dff0f1 0%, #cce8e4 52%, #dceaf6 100%);
}

.ef-banner-tone-2 {
	background:
		radial-gradient(circle at 17% 76%, rgba(232, 109, 94, 0.24) 0 8%, transparent 8.4%),
		linear-gradient(120deg, #e4f3ed 0%, #d6ebe5 48%, #eef0d9 100%);
}

.ef-banner-tone-3 {
	background:
		radial-gradient(circle at 82% 22%, rgba(20, 122, 125, 0.2) 0 7%, transparent 7.4%),
		linear-gradient(120deg, #fae9e5 0%, #f4ded5 50%, #f8edcf 100%);
}

.ef-banner-placeholder {
	position: relative;
	z-index: 2;
	width: min(640px, 78%);
	padding: 38px 50px;
	text-align: center;
	border: 1.5px dashed rgba(21, 61, 92, 0.28);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.58);
	backdrop-filter: blur(7px);
}

.ef-banner-number {
	color: var(--ef-teal-dark);
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ef-banner-placeholder-icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	margin: 15px auto 13px;
	color: var(--ef-teal);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 8px 24px rgba(21, 61, 92, 0.08);
}

.ef-banner-placeholder-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.ef-banner-placeholder h1 {
	margin: 0;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.ef-banner-placeholder p {
	margin: 9px 0 14px;
	color: #607887;
	font-size: 0.97rem;
}

.ef-banner-placeholder small {
	color: #476575;
	font-size: 0.76rem;
	font-weight: 800;
}

.ef-banner-arrow {
	position: absolute;
	top: 50%;
	z-index: 6;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	padding: 0 0 4px;
	color: var(--ef-navy);
	border: 1px solid rgba(21, 61, 92, 0.1);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 20px rgba(21, 61, 92, 0.1);
	font-family: Arial, sans-serif;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 180ms ease, transform 180ms ease;
}

.ef-banner-arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.04);
}

.ef-banner-prev {
	left: 24px;
}

.ef-banner-next {
	right: 24px;
}

.ef-banner-dots {
	position: absolute;
	z-index: 7;
	left: 50%;
	bottom: 18px;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.ef-banner-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(21, 61, 92, 0.3);
	cursor: pointer;
	transition: width 180ms ease, background 180ms ease;
}

.ef-banner-dots button.is-active {
	width: 28px;
	background: var(--ef-teal);
}

/* Seções da página inicial */
.ef-categories-section {
	padding-top: 82px;
	padding-bottom: 94px;
}

.ef-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	align-items: end;
	gap: 70px;
	margin-bottom: 34px;
}

.ef-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--ef-teal);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ef-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 3px 3px 3px 1px;
	background: var(--ef-yellow);
}

.ef-section-heading h2,
.ef-page-header h1 {
	margin: 0;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.ef-section-heading > p {
	margin: 0 0 4px;
	color: var(--ef-muted);
	font-size: 0.98rem;
	line-height: 1.75;
}

.ef-category-grid,
.ef-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ef-category-card,
.ef-post-card {
	overflow: hidden;
	border: 1px solid #dfe8e7;
	border-radius: var(--ef-radius);
	background: #fff;
	box-shadow: 0 8px 30px rgba(23, 68, 84, 0.055);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ef-category-card:hover,
.ef-post-card:hover {
	transform: translateY(-6px);
	border-color: #c7dcda;
	box-shadow: var(--ef-shadow);
}

.ef-category-image-wrap,
.ef-post-image-wrap {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #dfeceb;
}

.ef-post-image-wrap {
	aspect-ratio: 16 / 9;
}

.ef-category-image-wrap img,
.ef-post-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 500ms ease;
}

.ef-category-card:hover .ef-category-image-wrap img,
.ef-post-card:hover .ef-post-image {
	transform: scale(1.04);
}

.ef-category-accent {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 76px;
	height: 5px;
	border-radius: 0 5px 0 0;
}

.ef-category-content,
.ef-post-content {
	padding: 24px 24px 25px;
}

.ef-category-content h3,
.ef-post-content h2 {
	margin: 0 0 9px;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.43rem;
	line-height: 1.22;
	letter-spacing: -0.025em;
}

.ef-post-content h2 {
	min-height: 76px;
	margin-top: 8px;
	font-size: 1.27rem;
	line-height: 1.28;
}

.ef-category-content h3 a:hover,
.ef-post-content h2 a:hover {
	color: var(--ef-teal);
}

.ef-category-content p,
.ef-post-excerpt {
	min-height: 78px;
	display: -webkit-box;
	margin: 0 0 19px;
	overflow: hidden;
	color: #667a87;
	font-size: 0.92rem;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ef-post-excerpt {
	min-height: 70px;
	font-size: 0.88rem;
}

.ef-post-excerpt p {
	margin: 0;
}

.ef-post-category {
	color: var(--ef-teal);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ef-more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ef-teal-dark);
	font-size: 0.83rem;
	font-weight: 900;
}

.ef-more-link span {
	font-size: 1rem;
	transition: transform 180ms ease;
}

.ef-more-link:hover span {
	transform: translateX(4px);
}

.ef-post-fallback {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--ef-teal);
	background: linear-gradient(145deg, #dcedeb, #e8f1dc);
}

.ef-post-fallback svg {
	width: 58px;
	height: 58px;
	fill: currentColor;
	opacity: 0.78;
}

.ef-recent-section {
	padding: 86px 0 96px;
	border-top: 1px solid #dce9e7;
	border-bottom: 1px solid #dce9e7;
	background: var(--ef-soft);
}

.ef-recent-heading {
	grid-template-columns: 1fr;
}

.ef-empty-results {
	padding: 60px 24px;
	text-align: center;
	border: 1px dashed #bcd4d2;
	border-radius: var(--ef-radius);
	background: rgba(255, 255, 255, 0.72);
}

.ef-empty-results h2 {
	margin: 0 0 6px;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
}

.ef-empty-results p {
	margin: 0;
	color: var(--ef-muted);
}

.ef-empty-results .ef-search-form {
	max-width: 560px;
	margin: 24px auto 0;
}

/* Bloco sobre */
.ef-about-strip {
	padding: 68px 0;
	color: #fff;
	background: var(--ef-navy);
}

.ef-about-inner {
	display: grid;
	grid-template-columns: auto 1.2fr 0.8fr;
	align-items: center;
	gap: 28px;
}

.ef-about-mark {
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	color: var(--ef-navy);
	border-radius: 19px 19px 19px 7px;
	background: var(--ef-yellow);
}

.ef-about-mark svg {
	width: 36px;
	height: 36px;
	fill: currentColor;
}

.ef-about-inner div > span {
	color: #8dd3cb;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ef-about-inner h2 {
	margin: 6px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	line-height: 1.22;
	letter-spacing: -0.03em;
}

.ef-about-inner p {
	margin: 0;
	color: #c4d5df;
	font-size: 0.92rem;
	line-height: 1.75;
}

/* Rodapé */
.ef-site-footer {
	color: #59707f;
	background: #fff;
}

.ef-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 0.72fr);
	gap: 58px;
	padding-top: 68px;
	padding-bottom: 58px;
}

.ef-footer-brand .ef-brand {
	margin-bottom: 20px;
}

.ef-footer-brand p {
	max-width: 390px;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.75;
}

.ef-footer-column h2 {
	margin: 5px 0 14px;
	color: var(--ef-navy);
	font-family: inherit;
	font-size: 0.83rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ef-footer-column a,
.ef-footer-column span,
.ef-footer-menu a {
	display: block;
	margin: 9px 0;
	font-size: 0.84rem;
}

.ef-footer-column a:hover,
.ef-footer-menu a:hover {
	color: var(--ef-teal);
}

.ef-footer-bottom {
	min-height: 63px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid #e5ecec;
	font-size: 0.76rem;
}

.ef-footer-bottom p {
	margin: 0;
}

/* Listagens, busca e arquivos */
.ef-listing-page {
	padding: 74px 0 96px;
}

.ef-page-header {
	max-width: 770px;
	margin-bottom: 38px;
}

.ef-page-header p,
.ef-archive-description {
	margin-top: 14px;
	color: var(--ef-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.ef-archive-description p {
	margin: 0;
}

.ef-category-cover {
	width: 100%;
	margin: -12px 0 54px;
	overflow: hidden;
	border-radius: 22px;
	background: var(--ef-soft);
	box-shadow: var(--ef-shadow);
}

.ef-category-cover img {
	width: 100%;
	height: clamp(260px, 38vw, 460px);
	display: block;
	object-fit: cover;
	object-position: center;
}

.navigation.pagination {
	margin-top: 42px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	min-width: 42px;
	height: 42px;
	display: inline-grid;
	place-items: center;
	padding: 0 13px;
	color: var(--ef-navy);
	border: 1px solid var(--ef-border);
	border-radius: 10px;
	background: #fff;
	font-size: 0.84rem;
	font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover {
	color: #fff;
	border-color: var(--ef-teal);
	background: var(--ef-teal);
}

/* Publicações e páginas internas */
.ef-single-page {
	padding: 74px 0 96px;
}

.ef-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	align-items: start;
	gap: 58px;
}

.ef-single-primary {
	min-width: 0;
}

.ef-single-header {
	text-align: left;
}

.ef-single-category {
	margin-bottom: 10px;
	color: var(--ef-teal);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ef-single-header h1 {
	margin: 0;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4.4vw, 3.65rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.ef-single-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 18px;
	color: #758792;
	font-size: 0.82rem;
}

.ef-single-featured {
	margin-top: 44px;
	overflow: hidden;
	border-radius: 22px;
	box-shadow: var(--ef-shadow);
}

.ef-single-featured img {
	width: 100%;
	max-height: 650px;
	display: block;
	object-fit: cover;
}

.ef-entry-content {
	margin-top: 48px;
	color: #304a5b;
	font-size: 1.06rem;
	line-height: 1.72;
}

.ef-entry-content > * {
	max-width: 100%;
}

.ef-entry-content h2,
.ef-entry-content h3,
.ef-entry-content h4 {
	margin: 1.15em 0 0.42em;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.ef-entry-content h2 {
	font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.ef-entry-content h3 {
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.ef-entry-content p {
	margin: 0 0 1em;
}

.ef-entry-content a {
	color: var(--ef-teal-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ef-entry-content blockquote {
	margin: 1.35em 0;
	padding: 20px 24px;
	color: #365465;
	border-left: 5px solid var(--ef-yellow);
	border-radius: 0 12px 12px 0;
	background: #f1f7f5;
}

.ef-entry-content ul,
.ef-entry-content ol {
	padding-left: 1.4em;
	margin-bottom: 1.05em;
}

.ef-entry-content li {
	margin-bottom: 0.3em;
}

.ef-entry-content table {
	width: 100%;
	margin: 1.8em 0;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.ef-entry-content th,
.ef-entry-content td {
	padding: 12px 14px;
	text-align: left;
	border: 1px solid var(--ef-border);
}

.ef-entry-content th {
	color: var(--ef-navy);
	background: var(--ef-soft);
}

.ef-entry-content img {
	border-radius: 12px;
}

.ef-entry-content .wp-block-button__link {
	color: #fff;
	border-radius: 999px;
	background: var(--ef-teal);
	text-decoration: none;
}

.ef-entry-footer {
	padding-top: 20px;
	color: var(--ef-muted);
	font-size: 0.85rem;
}

.ef-tags a {
	color: var(--ef-teal-dark);
}

.ef-post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 50px;
	padding-top: 28px;
	border-top: 1px solid var(--ef-border);
}

.ef-post-navigation div:last-child {
	text-align: right;
}

.ef-post-navigation a {
	color: var(--ef-teal-dark);
	font-size: 0.86rem;
	font-weight: 800;
}

.ef-page-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

/* Áreas opcionais de publicidade */
.ef-ad-slot {
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
}

.ef-ad-after-menu {
	margin-top: 24px;
	margin-bottom: 0;
}

.ef-ad-sidebar {
	margin-top: 0;
	margin-bottom: 24px;
}

.ef-ad-label {
	display: block;
	margin-bottom: 7px;
	color: #84939d;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ef-ad-widget,
.ef-ad-widget > * {
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

/* Formulário da página de contato */
.ef-contact-form-wrap {
	margin-top: 28px;
}

.ef-contact-form {
	padding: 28px;
	border: 1px solid var(--ef-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(22, 61, 84, 0.06);
}

.ef-contact-form p {
	margin: 0 0 18px;
}

.ef-contact-form p:last-child {
	margin-bottom: 0;
}

.ef-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ef-contact-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--ef-navy);
	font-size: 0.86rem;
	font-weight: 800;
}

.ef-contact-form input:not([type="checkbox"]),
.ef-contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	color: var(--ef-foreground);
	border: 1px solid #cfdddd;
	border-radius: 10px;
	outline: 0;
	background: #fff;
}

.ef-contact-form input:focus,
.ef-contact-form textarea:focus {
	border-color: var(--ef-teal);
	box-shadow: 0 0 0 4px rgba(20, 122, 125, 0.1);
}

.ef-contact-form textarea {
	min-height: 170px;
	resize: vertical;
}

.ef-form-consent label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.5;
}

.ef-form-consent input {
	margin-top: 4px;
}

.ef-contact-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ef-form-message {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 700;
}

.ef-form-message.is-success {
	color: #175f50;
	border: 1px solid #b9dfd5;
	background: #eaf7f3;
}

.ef-form-message.is-error {
	color: #8a3129;
	border: 1px solid #ecc5bf;
	background: #fff0ed;
}

/* Coluna lateral das publicações */
.ef-single-sidebar {
	position: sticky;
	top: 28px;
}

.ef-sidebar-card {
	padding: 26px;
	border: 1px solid var(--ef-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(22, 61, 84, 0.07);
}

.ef-sidebar-eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--ef-teal);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ef-sidebar-title {
	margin: 0 0 20px;
	padding-bottom: 16px;
	color: var(--ef-navy);
	border-bottom: 3px solid var(--ef-yellow);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.ef-sidebar-posts {
	display: grid;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ef-sidebar-post {
	padding: 16px 0;
	border-bottom: 1px solid #e6eeee;
}

.ef-sidebar-post:first-child {
	padding-top: 0;
}

.ef-sidebar-post:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.ef-sidebar-post-link {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	align-items: center;
	gap: 13px;
}

.ef-sidebar-thumb,
.ef-sidebar-thumb-fallback {
	width: 88px;
	height: 68px;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ef-soft);
}

.ef-sidebar-thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 220ms ease;
}

.ef-sidebar-thumb-fallback {
	display: grid;
	place-items: center;
	color: var(--ef-teal);
	background: linear-gradient(145deg, #dcedeb, #edf3df);
}

.ef-sidebar-thumb-fallback svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
	opacity: 0.75;
}

.ef-sidebar-post-link:hover .ef-sidebar-thumb img {
	transform: scale(1.05);
}

.ef-sidebar-post-title {
	display: -webkit-box;
	margin: 0 0 5px;
	overflow: hidden;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.32;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ef-sidebar-post-link:hover .ef-sidebar-post-title {
	color: var(--ef-teal-dark);
}

.ef-sidebar-post-date {
	display: block;
	color: #7b8d97;
	font-size: 0.7rem;
	line-height: 1.3;
}

.ef-sidebar-empty {
	margin: 0;
	color: var(--ef-muted);
	font-size: 0.88rem;
}

.ef-single-primary .alignwide,
.ef-single-primary .alignfull {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
	transform: none;
}

/* Comentários e formulários */
.ef-comments-area {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--ef-border);
}

.ef-comments-area > h2,
.comment-reply-title {
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
}

.ef-comment-list {
	padding: 0;
	list-style: none;
}

.ef-comment-list .children {
	list-style: none;
}

.ef-comment-list .comment-body {
	margin: 20px 0;
	padding: 20px;
	border: 1px solid var(--ef-border);
	border-radius: 14px;
	background: #fff;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--ef-navy);
	font-size: 0.84rem;
	font-weight: 800;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfdddd;
	border-radius: 10px;
	background: #fff;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form .submit,
.ef-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	color: #fff;
	border: 0;
	border-radius: 999px;
	background: var(--ef-teal);
	font-size: 0.86rem;
	font-weight: 900;
	cursor: pointer;
}

.comment-form .submit:hover,
.ef-primary-button:hover {
	background: var(--ef-teal-dark);
}

/* Página 404 */
.ef-error-page {
	padding: 90px 0;
}

.ef-error-card {
	max-width: 760px;
	padding: 60px;
	text-align: center;
	border: 1px solid var(--ef-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--ef-shadow);
}

.ef-error-card > span {
	color: var(--ef-teal);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
}

.ef-error-card h1 {
	margin: 12px 0 8px;
	color: var(--ef-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.ef-error-card p {
	margin: 0 0 24px;
	color: var(--ef-muted);
}

.ef-error-card .ef-search-form {
	max-width: 560px;
	margin: 0 auto 20px;
}

/* Classes nativas do WordPress */
.alignwide {
	width: min(1100px, calc(100vw - 40px));
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 7px;
	color: var(--ef-muted);
	font-size: 0.78rem;
	text-align: center;
}

.sticky {
	border-color: rgba(20, 122, 125, 0.45);
}

.bypostauthor {
	outline: 2px solid rgba(20, 122, 125, 0.12);
}

@media (max-width: 1050px) {
	.ef-top-strip-inner span:last-child,
	.ef-header-links {
		display: none;
	}

	.ef-top-strip-inner {
		justify-content: space-around;
	}

	.ef-header-main {
		grid-template-columns: auto minmax(260px, 1fr);
	}

	.ef-primary-nav .ef-menu > li > a {
		padding-inline: 11px;
		font-size: 0.77rem;
	}

	.ef-category-grid,
	.ef-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ef-about-inner {
		grid-template-columns: auto 1fr;
	}

	.ef-about-inner > p {
		grid-column: 2;
	}

	.ef-footer-grid {
		grid-template-columns: 1.3fr repeat(3, 0.75fr);
		gap: 32px;
	}

	.ef-single-layout {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 34px;
	}

	.ef-sidebar-card {
		padding: 22px;
	}

	.ef-sidebar-post-link {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.ef-sidebar-thumb,
	.ef-sidebar-thumb-fallback {
		width: 76px;
		height: 62px;
	}
}

@media (max-width: 800px) {
	.ef-shell,
	.ef-reading-width {
		width: min(100% - 28px, 680px);
	}

	.ef-top-strip-inner {
		min-height: 31px;
		justify-content: center;
	}

	.ef-top-strip-inner span:nth-child(2) {
		display: none;
	}

	.ef-header-main {
		min-height: 76px;
		grid-template-columns: 1fr auto;
		gap: 14px;
	}

	.ef-brand-mark {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		border-radius: 13px 13px 13px 5px;
	}

	.ef-brand strong {
		font-size: 1.34rem;
	}

	.ef-brand small {
		font-size: 0.56rem;
	}

	.custom-logo {
		max-width: 220px;
		max-height: 58px;
	}

	.ef-header-main > .ef-search-form {
		display: none;
	}

	.ef-mobile-menu-button {
		width: 44px;
		height: 44px;
		position: relative;
		display: grid;
		place-items: center;
		padding: 0;
		color: var(--ef-navy);
		border: 1px solid #dbe6e7;
		border-radius: 12px;
		background: #f5f9f8;
		cursor: pointer;
	}

	.ef-menu-icon,
	.ef-menu-icon::before,
	.ef-menu-icon::after {
		width: 21px;
		height: 2px;
		display: block;
		border-radius: 2px;
		background: currentColor;
		transition: 180ms ease;
	}

	.ef-menu-icon {
		position: relative;
	}

	.ef-menu-icon::before,
	.ef-menu-icon::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.ef-menu-icon::before {
		top: -6px;
	}

	.ef-menu-icon::after {
		top: 6px;
	}

	.ef-mobile-menu-button[aria-expanded="true"] .ef-menu-icon {
		background: transparent;
	}

	.ef-mobile-menu-button[aria-expanded="true"] .ef-menu-icon::before {
		top: 0;
		transform: rotate(45deg);
	}

	.ef-mobile-menu-button[aria-expanded="true"] .ef-menu-icon::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.ef-primary-nav {
		display: none;
	}

	.ef-primary-nav.is-open {
		display: block;
	}

	.ef-nav-inner {
		width: 100%;
		padding: 8px 14px 17px;
	}

	.ef-primary-nav .ef-menu {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.ef-primary-nav .ef-menu > li {
		display: block;
	}

	.ef-primary-nav .ef-menu > li > a,
	.ef-primary-nav .sub-menu a {
		min-height: 44px;
		display: flex;
		align-items: center;
		padding: 10px 7px;
		border-bottom: 1px solid #edf2f2;
		font-size: 0.88rem;
	}

	.ef-primary-nav .sub-menu,
	.ef-primary-nav .sub-menu .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 0 17px;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.ef-banner-section {
		padding-top: 18px;
	}

	.ef-banner-slider {
		height: 240px;
	}

	.ef-category-cover {
		margin-bottom: 38px;
		border-radius: 16px;
	}

	.ef-category-cover img {
		height: 240px;
	}

	.ef-banner-placeholder {
		width: calc(100% - 66px);
		padding: 26px 24px;
		border-radius: 16px;
	}

	.ef-banner-placeholder-icon {
		width: 48px;
		height: 48px;
		margin-top: 11px;
	}

	.ef-banner-placeholder h1 {
		font-size: 1.48rem;
	}

	.ef-banner-placeholder p {
		font-size: 0.84rem;
	}

	.ef-banner-arrow {
		width: 36px;
		height: 36px;
		font-size: 1.6rem;
	}

	.ef-banner-prev {
		left: 9px;
	}

	.ef-banner-next {
		right: 9px;
	}

	.ef-categories-section {
		padding-top: 62px;
		padding-bottom: 70px;
	}

	.ef-section-heading {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 15px;
		margin-bottom: 27px;
	}

	.ef-section-heading h2,
	.ef-page-header h1 {
		font-size: 2.15rem;
	}

	.ef-category-grid,
	.ef-post-grid {
		grid-template-columns: 1fr;
	}

	.ef-category-content p,
	.ef-post-content h2,
	.ef-post-excerpt {
		min-height: 0;
	}

	.ef-recent-section {
		padding: 66px 0 74px;
	}

	.ef-about-strip {
		padding: 53px 0;
	}

	.ef-about-inner {
		grid-template-columns: auto 1fr;
		gap: 18px;
	}

	.ef-about-inner > p {
		grid-column: 1 / -1;
	}

	.ef-about-mark {
		width: 52px;
		height: 52px;
	}

	.ef-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
		padding-top: 54px;
	}

	.ef-footer-brand {
		grid-column: 1 / -1;
	}

	.ef-footer-bottom {
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 0;
	}

	.ef-listing-page,
	.ef-single-page {
		padding: 54px 0 72px;
	}

	.ef-single-layout {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.ef-single-header h1 {
		font-size: 2.35rem;
	}

	.ef-single-featured {
		margin-top: 32px;
		border-radius: 14px;
	}

	.ef-entry-content {
		margin-top: 35px;
		font-size: 1rem;
	}

	.ef-post-navigation {
		grid-template-columns: 1fr;
	}

	.ef-post-navigation div:last-child {
		text-align: left;
	}

	.ef-single-sidebar {
		position: static;
	}

	.ef-sidebar-card {
		padding: 25px;
	}

	.ef-sidebar-post-link {
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.ef-sidebar-thumb,
	.ef-sidebar-thumb-fallback {
		width: 100px;
		height: 72px;
	}

	.ef-form-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ef-contact-form {
		padding: 22px;
	}

	.ef-error-card {
		padding: 42px 22px;
	}
}

@media (max-width: 440px) {
	.ef-top-strip {
		font-size: 0.7rem;
	}

	.ef-brand small {
		display: none;
	}

	.custom-logo {
		max-width: 190px;
	}

	.ef-banner-slider {
		height: 220px;
	}

	.ef-category-cover img {
		height: 205px;
	}

	.ef-banner-placeholder {
		width: calc(100% - 54px);
		padding: 22px 17px;
	}

	.ef-banner-placeholder h1 {
		font-size: 1.32rem;
	}

	.ef-banner-placeholder p {
		margin-bottom: 4px;
	}

	.ef-banner-placeholder small {
		display: none;
	}

	.ef-category-content,
	.ef-post-content {
		padding: 21px;
	}

	.ef-footer-grid {
		grid-template-columns: 1fr;
	}

	.ef-footer-brand {
		grid-column: auto;
	}

	.ef-single-meta {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
