/* Base, header bar, tab bar, page box and footer. Tokens come from theme.json. */

body {
	margin: 0;
}

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

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

.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 8px 12px;
	clip-path: none;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
}

/* Header bar */
.meira-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
	min-height: 66px;
	padding: 0 20px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.meira-header__title,
.meira-header__title:hover {
	color: var(--wp--preset--color--text);
	font-size: 25px;
	font-weight: 300;
	letter-spacing: 3px;
	line-height: 1;
	text-decoration: none;
}

.meira-header__menu,
.meira-tabs {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.meira-header__menu li + li::before {
	content: "|";
	padding: 0 12px;
	color: var(--wp--preset--color--text);
}

.meira-header__menu a {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
}

.meira-header__menu a:hover {
	color: var(--wp--preset--color--text);
}

/* Tab bar */
.meira-tabbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 30px 20px 30px 0;
}

.meira-tabs a {
	display: block;
	padding: 13px 20px;
	border-bottom: 3px solid transparent;
	color: var(--wp--preset--color--text);
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.meira-tabs .current-menu-item > a,
.meira-tabs a:hover {
	border-bottom-color: var(--wp--preset--color--text);
}

.meira-tabbar--search .meira-tabbar__aside {
	flex: 0 1 405px;
}

.meira-tabbar__title {
	margin: 0;
	font-size: 35px;
	font-weight: 300;
	line-height: 1.5;
}

/* Search box (core Search block) */
.meira-search .wp-block-search__inside-wrapper {
	flex-direction: row-reverse;
	box-sizing: border-box;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #c4c4c4;
	border-radius: 50px;
	background: transparent;
}

.meira-search .wp-block-search__input {
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--text);
	font-size: 15px;
}

.meira-search .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

.meira-search .wp-block-search__button {
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--wp--preset--color--muted);
}

.meira-search .wp-block-search__button svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Page box (default template: Bio, Contatos) */
.meira-box {
	box-sizing: border-box;
	max-width: 1000px;
	margin: 0 auto 60px;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

/* Default-template pages span the page (Elementor full-width section); singles keep 1000px. */
.meira-page {
	max-width: none;
	margin-inline: 10px;
	padding: 40px;
}

.meira-404 {
	max-width: 1000px;
	margin-inline: auto;
}

.meira-page p {
	font-weight: 300;
}

.meira-page .wp-block-columns {
	gap: 40px;
	margin: 0;
}

.is-style-meira-kicker {
	font-size: 22px;
	font-weight: 300;
	text-transform: uppercase;
}

/* Footer */
.meira-footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px;
	color: #333;
	font-size: 14px;
}

.meira-footer p {
	margin: 0;
}

@media (max-width: 767px) {
	.meira-tabbar {
		flex-wrap: wrap;
		padding: 20px 0;
	}

	.meira-tabbar__aside,
	.meira-tabbar--search .meira-tabbar__aside {
		flex: 1 1 100%;
		padding: 0 20px;
	}

	.meira-tabs a {
		padding: 13px 14px;
	}

	.meira-page {
		padding: 20px;
	}

	.meira-footer {
		flex-direction: column;
		align-items: center;
	}
}
