/**
 * Estrutura permanente do site: cabeçalho desktop/mobile e rodapé.
 *
 * O arquivo usa somente seletores próprios do tema para reduzir conflitos
 * com o conteúdo editorial, Gutenberg e plugins.
 */



/* --------------------------------------------------------------------------
 * Cabeçalho hero
 * -------------------------------------------------------------------------- */


.post-hero {
	width: 100%;
	padding: 140px 20px 32px;
	margin: 0 0 40px;
	/* padding: clamp(36px, 6vw, 64px) 20px 32px; */
	background: url(../img/header-bck.svg);
	background-color: #f7f9fa;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5700' height='800'%3E%3Ccircle cx='2625' cy='-5700' r='6457' fill='%230d3878'/%3E%3C/svg%3E");
	background-position: center bottom;
	background-repeat: no-repeat
}

.post-hero-inner {
	width: min(100%, var(--content-width));
	margin: 0 auto;
}

.post-hero-content {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: clamp(28px, 5vw, 60px);
}

.post-hero-text {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding-bottom: 60px;
}

.post-hero-title {
	margin: 0 0 16px;
	color: var(--color-surface);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.08;
}

.post-hero-excerpt {
	max-width: 620px;
	margin: 0 0 12px;
	color: var(--color-on-primary-muted);
	font-size: clamp(18px, 2.2vw, 20px);
	line-height: 1.5;
	text-align: left;
}

.post-hero-date {
	color: var(--color-on-primary-muted);
	font-size: 16px;
	font-style: italic;
	line-height: 1.4;
}

.post-hero-reading-time {
	margin-top: 8px;
	color: var(--color-surface);
}

.post-hero-image {
	position: relative;
	width: 337px;
	height: 307px;
	margin: 0;
	flex: 0 0 337px;
}

.post-hero-image::before,
.post-hero-image::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

.post-hero-image::before {
	background-image: url("../../images/s-img-b.png");
}

.post-hero-image::after {
	z-index: 3;
	background-image: url("../../images/s-img-f.png");
}

.post-hero-image img {
	position: absolute;
	top: 3px;
	left: 50%;
	z-index: 2;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	object-fit: cover;
	transform: translateX(-50%);
} 

.button-hero {
	display: inline-block;
	padding: 10px 23px;
	background: #026bd4;
	color: #fff;
	text-decoration: none;
	border-radius: 50em;
	min-width: 160px;
	text-align: center;
	margin: 20px 0 10px;
}

.button-hero:hover,
.button-hero:focus {
	background-color: #0256aa;
	outline: 0;
}

@media ( max-width: 991px ) {
	.post-hero {
		padding-top: 60px;
	}
}

/* --------------------------------------------------------------------------
 * Cabeçalho desktop
 * -------------------------------------------------------------------------- */
.desktop-header {
	/*position: relative;*/
	z-index: 1000;
	width: 100%;
	background: var(--color-primary);
	position: fixed;
	transition: background-color 0.3s ease-in-out;
}

.desktop-header-inner {
	display: flex;
	width: min(calc(100% - 32px), 1230px);
	min-height: 66px;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.desktop-header-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.desktop-header-brand img,
.desktop-header-brand svg {
	display: block;
	width: 116px;
	height: auto;
}

.desktop-header .blogij-custom-logo-alt {
	display: none;
}

.desktop-header-nav {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.desktop-header-menu,
.desktop-header-submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.desktop-header-menu {
	display: flex;
	align-items: stretch;
}

.desktop-header-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.desktop-header-menu > li > a,
.desktop-header-actions > a {
	display: inline-flex;
	align-items: center;
	color: var(--color-surface);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.desktop-header-menu > li > a {
	position: relative;
	min-height: 66px;
	padding: 0 13px;
	text-transform: uppercase;
}

.desktop-header-menu > li > a::after {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 20px;
	height: 3px;
	border-radius: 3px;
	background: var(--color-surface);
	content: "";
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.18s ease;
}

.desktop-header-menu > li:hover > a::after,
.desktop-header-menu > li:focus-within > a::after {
	opacity: 1;
}

.desktop-header-submenu {
	position: fixed;
	top: 66px;
	right: 0;
	left: 0;
	z-index: 999;
	display: grid;
	grid-template-columns: repeat(3, minmax(180px, 260px));
	justify-content: center;
	gap: 48px;
	padding: 28px max(24px, calc((100vw - 1170px) / 2));
	background: var(--color-surface);
	box-shadow: var(--shadow-neutral-md);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

body.admin-bar .desktop-header-submenu {
	top: 98px;
}

.desktop-header-menu > li:hover .desktop-header-submenu,
.desktop-header-menu > li:focus-within .desktop-header-submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.desktop-header-submenu .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.desktop-header-submenu li {
	margin: 0;
}

.desktop-header-submenu a {
	display: block;
	padding: 5px 0;
	color: var(--color-link);
	font-size: 16px;
	text-decoration: none!important;
	position: relative;
}

.desktop-header-submenu li:first-child a {
	color: var(--color-primary);
	text-transform: uppercase;
	font-weight: 700;
}

.desktop-header-submenu a:hover,
.desktop-header-submenu a:focus-visible {
	text-decoration: underline;
}
.desktop-header-submenu a::after {
    display: block;
    position: absolute;
    content: ' ';
    height: 3px;
    width: 0%;
    background-color: var(--color-link);
    top: 100%;
    left: 0;
    margin-left: 0;
    transition: 0.5s ease;
    opacity: 0;
}
	
.desktop-header-submenu a:hover:after {
	display: block;
    position: absolute;
    content: ' ';
    height: 3px;
    width: 100%;
    background-color: #026bd4;
    top: 100%;
    left: 0;
    margin-left: 0;
    opacity: 1;
}

.desktop-header-actions {
	display: flex;
	margin: 0;
	align-items: center;
}

.desktop-header-actions > a {
	padding: 0 13px;
}

.desktop-header-actions > a:not(.desktop-header-cta) {
	border-left: 1px solid currentColor;
}

.desktop-header-actions > a:first-child {
	border: 0;
}

.desktop-header-actions > a:hover,
.desktop-header-actions > a:focus-visible {
	text-decoration: underline;
}

.desktop-header-actions .desktop-header-cta {
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--color-on-primary-soft);
	border-radius: 999px;
	justify-content: center;
	background: var(--color-surface);
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	font-weight: 600;
}

.desktop-header-actions .desktop-header-cta:hover,
.desktop-header-actions .desktop-header-cta:focus-visible {
	background: var(--color-surface);
	color: var(--color-primary);
	text-decoration: none;
}

/*
Menu Fixo ao rolar a página no desktop
*/
@media ( min-width: 992px ) {
	.desktop-header.fixed {
		background: var(--color-surface);
		box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .05);
	}

	.desktop-header.fixed .blogij-custom-logo {
		display: none;
	}

	.desktop-header.fixed .blogij-custom-logo-alt {
		display: block;
	}

	.desktop-header.fixed .desktop-header-menu > li > a::after {
		background: var(--color-primary);
	}

	.desktop-header.fixed .desktop-header-actions > a {
		color: var(--color-primary);
	}
	.desktop-header.fixed .desktop-header-menu > li > a {
		color: #616161;
	}
}

/* --------------------------------------------------------------------------
 * Cabeçalho mobile
 * -------------------------------------------------------------------------- */
.mobile-header-wrap {
	display: none;
}

.mobile-header {
	position: relative;
	z-index: 1100;
	background: var(--color-primary);
	color: var(--color-surface);
}

.mobile-header-bar {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	min-height: 58px;
	padding: 0 16px;
	align-items: center;
	gap: 12px;
}

.mobile-header-toggle {
	display: inline-flex;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 0;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 5px;
	background: transparent;
	cursor: pointer;
}

.mobile-header-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--color-surface);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-header.is-open .mobile-header-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-header.is-open .mobile-header-toggle span:nth-child(2) {
	opacity: 0;
}

.mobile-header.is-open .mobile-header-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-header-brand {
	display: inline-flex;
	width: 100%;
	max-width: 77px;
}

.mobile-header-brand .custom-logo {
	display: block;
	width: 100%;
	height: auto;
}

.mobile-header-login {
	border: 1px solid var(--color-surface);
	color: var(--color-surface);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	padding: 10px 25px;
	border-radius: 999px;
}

.mobile-nav {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - 58px);
	padding: 0 0 20px;
	overflow-y: auto;
	background: var(--color-surface);
	color: var(--color-text);
	box-shadow: var(--shadow-neutral-lg);
	scrollbar-width: thin;
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav a,
.mobile-nav-text-button {
	color: var(--color-black);
	text-decoration: none;
}

.mobile-nav-primary {
	display: grid;
	gap: 2px;
}

.mobile-nav-primary a {
	padding: 17px 15px;
	border-bottom: 1px solid var(--color-border-light);
	display: flex;
	gap: 25px;
}

.mobile-nav-primary .menu-icon {
	font-size: 17px;
}

.mobile-nav-primary .icon-arrow-right-alt {
	margin-left: auto;
}

.mobile-nav-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.mobile-nav-section {
	padding: 16px;
	text-align: center;
}

.mobile-nav-section h2,
.mobile-nav-apps h2 {
	margin: 0 0 12px;
	color: var(--color-primary);
	font-size: 21px;
	line-height: 1.3;
}

.mobile-nav-apps h2 {
	color: var(--color-text-muted);
	text-align: center;
	font-size: 14px;
}

.mobile-nav a.mobile-nav-cta {
	display: flex;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-link);
	background: var(--color-surface);
	text-align: center;
	color: var(--color-link);
	text-transform: uppercase;
}

.mobile-nav-apps {
	margin-top: 20px;
}

.mobile-nav-app-links,
.mobile-nav-social,
.mobile-nav-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	width: 100%;
	align-items: stretch;
	padding: 0 15px;
}

.mobile-nav-app-links a,
.mobile-nav-social a,
.mobile-nav-legal a,
.mobile-nav-text-button {
	font-size: 14px;
}

.mobile-nav-app-links a {
	background: var(--color-black);
	color: var(--color-surface);
	border-radius: 999px;
	min-height: 40px;
	padding: 4px 20px;
	font-size: 14px;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0 6px;
}

.mobile-nav-app-links a small {
	font-size: 10px;
}

.mobile-nav-app-links a .icons {
	font-size: 27px;
}

.mobile-nav-app-links a .text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 12px;
}

.mobile-nav ul.mobile-nav-social {
	margin: 20px auto;
	max-width: 380px;
	padding: 8px 14px;
}

.mobile-nav ul.mobile-nav-social li {
	flex: 1;
}

.mobile-nav ul.mobile-nav-social li a {
	display: block;
	border: 1px solid var(--color-link);
	color: var(--color-link);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
}

.mobile-nav-legal {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border-light);
}

.mobile-nav-text-button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mobile-nav-legal a {
	color: var(--color-link);
}

.mobile-nav-legal p {
	width: 100%;
	margin: 8px 0 0;
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.45;
}

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

/* --------------------------------------------------------------------------
 * Rodapé
 * -------------------------------------------------------------------------- */
.site-footer {
	width: 100%;
	padding: 0 20px;
	border-top: 1px solid var(--color-border-light);
}

.site-footer-inner {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(420px, 1fr) minmax(150px, 190px);
	width: min(100%, 1200px);
	margin: 0 auto;
	padding: 40px 0;
	align-items: start;
	gap: 32px;
}

.site-footer-brand,
.site-footer-social {
	min-width: 0;
}

.site-footer-logo {
	width: 170px;
	margin-bottom: 12px;
}

.site-footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer-copyright {
	margin: 0 0 18px;
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.45;
}

.site-footer-awards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.site-footer-awards img {
	width: 100%;
	height: 72px;
	object-fit: contain;
}

.site-footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.site-footer-column {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer-title {
	margin: 0 0 14px;
	color: var(--color-primary);
	font-size: 1.15rem;
	line-height: 1.25;
}

.site-footer-column a {
	margin-bottom: 8px;
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible {
	color: var(--color-link);
	text-decoration: underline;
}

.site-footer-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-footer-social-links a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-link);
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--color-surface);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-footer-social-links a i {
	color: var(--color-link);
	font-size: 15px;
}

.site-footer-social-links a:hover,
.site-footer-social-links a:focus-visible {
	background: var(--color-link);
}

.site-footer-social-links a:hover i,
.site-footer-social-links a:focus-visible i {
	color: var(--color-surface);
}

@media (max-width: 1100px) {
	.desktop-header-inner {
		gap: 14px;
	}

	.desktop-header-menu > li > a {
		padding-right: 9px;
		padding-left: 9px;
		font-size: 13px;
	}

	.desktop-header-actions {
		gap: 10px;
	}

	.desktop-header-actions > a {
		font-size: 13px;
	}

	.site-footer-inner {
		grid-template-columns: 240px 1fr;
	}

	.site-footer-social {
		grid-column: 1 / -1;
	}
}

@media (max-width: 991px) {
	.desktop-header {
		display: none;
	}

	.mobile-header-wrap {
		display: block;
	}
}

@media (min-width: 992px) {
	.mobile-header-wrap {
		display: none;
	}
}

@media (max-width: 760px) {
	.mobile-nav-actions {
		grid-template-columns: 1fr;
	}

	.site-footer-inner,
	.site-footer-links {
		grid-template-columns: 1fr;
	}

	.site-footer-brand,
	.site-footer-column,
	.site-footer-social {
		align-items: center;
		text-align: center;
	}

	.site-footer-logo {
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer-awards {
		width: min(100%, 320px);
		margin: 0 auto;
	}

	.site-footer-social {
		grid-column: auto;
	}

	.site-footer-social-links {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.desktop-header-menu > li > a::after,
	.desktop-header-submenu,
	.mobile-header-toggle span,
	.site-footer-social-links a {
		transition: none;
	}
}