/*
Theme Name: Correio Notícia — Eleições 2026
Theme URI: https://eleicoes.correionoticia.com.br/
Author: Correio Notícia
Author URI: https://correionoticia.com.br/
Description: Tema de integração visual do módulo Eleições 2026 com o portal Correio Notícia.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: correio-noticia-eleicoes
*/

/*
 * The portal's complete fonts.css, layout.css and responsive.css are loaded before
 * this file. These rules provide accessibility, semantic-markup compatibility and
 * boundaries around the WordPress/plugin content without redesigning the source UI.
 */

.cn-screen-reader-text,
.cn-skip-link:not(:focus) {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.cn-skip-link:focus {
	background: #fff;
	border: 2px solid #ec3337;
	color: #111;
	font: 700 14px/1.2 proxima-nova, sans-serif;
	left: 8px;
	padding: 12px 16px;
	position: fixed;
	top: 8px;
	z-index: 1000000000;
}

.cn-site-header,
.cn-mobile-search-region,
.cn-main-content,
.cn-site-footer {
	clear: both;
}

.cn-site-header,
.cn-mobile-search-region,
.cn-site-footer > .center {
	display: flow-root;
}

#menumobile.cn-mobile-drawer {
	display: block;
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 180ms ease, visibility 180ms ease;
	visibility: hidden;
}

#menumobile.cn-mobile-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

#menumobile #close,
#top-menu #showmenub {
	appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	font-family: inherit;
	line-height: 1;
	padding: 0;
}

#menumobile #close {
	color: #fff;
	margin: 0 0 12px;
}

#menumobile nav {
	clear: both;
}

#top-menu #showmenub {
	color: #ec3337;
}

#top-menu #logo img {
	display: block;
}

#top-menu #menu-top ul li:focus-within > ul {
	display: block;
	margin-left: 0;
	margin-top: 48px;
}

#top-menu #menu-top a:focus-visible,
#menumobile a:focus-visible,
#top-menu button:focus-visible,
#menumobile button:focus-visible,
.cn-site-footer a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

body.cn-menu-open {
	overflow: hidden;
}

.cn-mobile-search-region {
	display: none;
	width: 100%;
}

.cn-main-content {
	display: block;
	width: 100%;
}

.cn-site-footer {
	box-sizing: border-box;
}

.cn-site-footer h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

#footer .cn-footer-column:last-of-type {
	margin-right: 0;
}

.cn-site-footer #cn-footer-socials a {
	margin-right: 10px;
}

.cn-site-footer #cn-footer-socials a:last-child {
	margin-right: 0;
}

.cn-site-footer #cn-footer-socials span {
	display: none;
}

.cn-site-footer .cn-footer-email {
	text-transform: lowercase;
}

.cn-site-footer .cn-copyright {
	margin: 0;
}

.cn-site-footer #franklin {
	float: left;
	padding: 50px 0 0;
	position: relative;
	text-align: center;
	width: 100%;
}

.cn-site-footer #franklin img {
	display: block;
	height: 25px;
	margin: 0 auto;
	width: 72px;
}

.cn-site-footer #logofooter img {
	display: block;
}

.cn-site-footer #franklin a {
	display: block;
	height: 25px;
}

.cn-content-shell {
	box-sizing: border-box;
	clear: both;
	font-family: proxima-nova, sans-serif;
	margin: 0 auto;
	max-width: 1210px;
	min-height: 45vh;
	padding: 50px 10px;
}

.cn-entry {
	border-bottom: 1px solid #ccc;
	margin-bottom: 32px;
	padding-bottom: 32px;
}

.cn-entry__title,
.cn-not-found h1 {
	color: #ec3337;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 20px;
}

.cn-entry__title a,
.cn-not-found a {
	color: inherit;
}

@media screen and (max-width: 1249px) {
	#footer .cn-footer-column:last-of-type {
		margin-right: 0;
	}
}

@media screen and (max-width: 567px) {
	#top-bar #telefone,
	#top-bar #e-mail {
		height: 18px;
	}

	.cn-mobile-search-region {
		display: flow-root;
	}

	.cn-content-shell {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar #top-menu.fixar {
		top: 46px;
	}
}

@media screen and (min-width: 783px) {
	body.admin-bar #top-menu.fixar {
		top: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#menumobile.cn-mobile-drawer {
		transition: none;
	}
}
