/*
Theme Name: Biomedicina Estética
Theme URI: https://biomedicinaestetica.com.br
Author: Diogo Carneiro
Description: Tema do blog Biomedicina Estética (Blog v2 — Figma Nepuga). Home em lista, página de categoria/tema em grid, post com sidebar do autor e paywall opcional.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: biomedicina-estetica
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--be-verde: #00b63e;
	--be-verde-05: rgba(0, 182, 62, 0.05);
	--be-verde-50: rgba(0, 182, 62, 0.5);
	--be-verde-google: #34a853;
	--be-preto: #262626;
	--be-cinza-escuro: #757575;
	--be-cinza-texto: #494949;
	--be-cinza-borda: #c1c1c1;
	--be-cinza-componente: #e9e9e9;
	--be-bg: #f6f6f6;
	--be-sidebar-bg: #fefefe;
	--be-vinho: #890101;

	--be-font: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--be-font-alt: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--be-font-google: "Roboto", Arial, sans-serif;

	--be-radius: 10px;
	--be-radius-lg: 20px;
	--be-sidebar-w: 420px;
	--be-content-w: 1100px;
	--be-wide-w: 1340px;
	--be-gutter: 40px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--be-bg);
	color: var(--be-preto);
	font-family: var(--be-font);
	font-weight: 400;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

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

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	padding: 12px 20px; background: #fff; border-radius: var(--be-radius);
}

/* ==========================================================================
   Layout (sidebar 420 + main)
   ========================================================================== */
.be-layout {
	display: flex;
	min-height: 100vh;
	background: var(--be-bg);
}

.be-sidebar {
	position: sticky;
	top: 0;
	flex: 0 0 var(--be-sidebar-w);
	width: var(--be-sidebar-w);
	height: 100vh;
	overflow-y: auto;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	padding: 40px;
	background: var(--be-sidebar-bg);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	scrollbar-width: thin;
}

.be-sidebar--post {
	align-items: flex-start;
	padding: 80px 40px;
}

.admin-bar .be-sidebar { top: 32px; height: calc(100vh - 32px); }

.be-sidebar__logo { display: block; width: 100%; }
.be-sidebar__logo img { display: block; width: 100%; height: auto; }

.be-sidebar__extra {
	display: flex;
	flex-direction: column;
	gap: 80px;
	width: 100%;
}

.be-sidebar__toggle { display: none; }

.be-main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.be-container {
	width: min(var(--be-content-w), 100% - 2 * var(--be-gutter));
	margin-inline: auto;
}

.be-container--wide {
	width: min(var(--be-wide-w), 100% - 2 * var(--be-gutter));
}

/* ==========================================================================
   Sidebar: filtros
   ========================================================================== */
.be-filters {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.be-filters__label {
	display: block;
	padding: 0 40px;
	font-weight: 500;
	font-size: 16px;
	color: var(--be-cinza-escuro);
}

.be-field {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 61px;
	background: #fff;
	border: 1px solid var(--be-cinza-borda);
	border-radius: var(--be-radius);
}

.be-field input,
.be-field select {
	flex: 1;
	min-width: 0;
	padding: 20px 40px;
	border: 0;
	background: transparent;
	font-weight: 500;
	font-size: 14px;
	color: var(--be-preto);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.be-field input { padding-right: 0; cursor: text; }
.be-field input::placeholder { color: var(--be-cinza-borda); opacity: 1; }
.be-field select:invalid,
.be-field select.is-placeholder { color: var(--be-cinza-borda); }
.be-field:focus-within { border-color: var(--be-verde); }

.be-field__btn {
	flex: 0 0 auto;
	display: flex;
	padding: 0 40px 0 16px;
	border: 0;
	background: none;
	cursor: pointer;
}

.be-field__chevron {
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

/* ==========================================================================
   Sidebar: card "Conheça a rede"
   ========================================================================== */
.be-cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 100%;
	padding: 40px 20px;
	border: 1px solid var(--be-cinza-componente);
	border-radius: var(--be-radius);
}

.be-cta__title {
	margin: 0;
	font-weight: 700;
	font-size: 23px;
	line-height: 1.3;
	color: var(--be-preto);
}

.be-cta__text {
	margin: 0;
	font-weight: 300;
	font-size: 16px;
	color: var(--be-preto);
}

.be-cta__text strong { font-weight: 700; }

.be-btn-green {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	height: 60px;
	padding: 10px 30px;
	background: var(--be-verde);
	border-radius: var(--be-radius);
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	white-space: nowrap;
	transition: filter 0.2s;
}

.be-btn-green:hover { filter: brightness(0.92); }

/* ==========================================================================
   Sidebar: autor (post)
   ========================================================================== */
.be-author {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.be-author__head {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.be-author__avatar {
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.be-author__meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--be-preto);
}

.be-author__by,
.be-author__date {
	margin: 0;
	font-weight: 300;
	font-size: 14px;
}

.be-author__name {
	margin: 0;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.3;
}

.be-author__bio {
	margin: 0;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.5;
	color: var(--be-preto);
}

.be-related {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.be-related__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.be-related__label {
	margin: 0;
	font-family: var(--be-font-alt);
	font-weight: 500;
	font-size: 16px;
	color: var(--be-cinza-escuro);
	white-space: nowrap;
}

.be-rule {
	flex: 1 1 0;
	min-width: 1px;
	height: 0;
	border-top: 1px solid var(--be-preto);
}

.be-related__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.be-btn-back {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 40px;
	background: #fff;
	border: 1px solid var(--be-verde);
	border-radius: var(--be-radius);
	font-weight: 500;
	font-size: 14px;
	color: var(--be-verde);
	transition: background 0.2s;
}

.be-btn-back:hover { background: var(--be-verde-05); }
.be-btn-back span { flex: 1; text-align: center; }
.be-btn-back img { transform: rotate(90deg); }

/* ==========================================================================
   Chips (tags)
   ========================================================================== */
.be-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid var(--be-cinza-borda);
	border-radius: var(--be-radius);
	font-weight: 500;
	font-size: 16px;
	color: var(--be-cinza-borda);
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}

.be-chip:hover { color: var(--be-cinza-escuro); border-color: var(--be-cinza-escuro); }
.be-chip--sm { font-size: 14px; }

.be-chip--green,
.be-chip.is-active {
	padding: 10px 30px;
	background: var(--be-verde-05);
	border-color: var(--be-verde-50);
	font-weight: 400;
	color: var(--be-verde);
}

.be-chip--green:hover,
.be-chip.is-active:hover { color: var(--be-verde); border-color: var(--be-verde); }

.be-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

/* ==========================================================================
   Barra de temas (carrossel de chips)
   ========================================================================== */
.be-topics {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: min(var(--be-content-w), 100% - 2 * var(--be-gutter));
	margin-inline: auto;
}

.be-topics__track {
	display: flex;
	gap: 10px;
	min-width: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.be-topics__track::-webkit-scrollbar { display: none; }

.be-topics__arrow {
	flex: 0 0 45px;
	display: flex;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.be-topics__arrow[disabled] { opacity: 0.3; cursor: default; }
.be-topics__arrow[hidden] { display: none; }
.be-topics__arrow--prev img { transform: rotate(180deg); }

/* ==========================================================================
   Menu do usuário (topo direito)
   ========================================================================== */
.be-user {
	position: absolute;
	top: 20px;
	right: 29px;
	z-index: 5;
}

.be-user__btn {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px 30px 10px 10px;
	background: #fff;
	border: 0;
	border-radius: 100px;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
	cursor: pointer;
}

.be-user__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--be-vinho);
	font-weight: 700;
	font-size: 28px;
	color: #fff;
	text-transform: uppercase;
	overflow: hidden;
}

.be-user__avatar img { width: 100%; height: 100%; object-fit: cover; }
.be-user__caret { transition: transform 0.2s; }
.be-user.is-open .be-user__caret { transform: rotate(180deg); }

.be-user__menu {
	position: absolute;
	top: 94px;
	left: 0;
	display: none;
	flex-direction: column;
	width: 135px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border-radius: var(--be-radius);
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
}

.be-user.is-open .be-user__menu { display: flex; }

.be-user__menu a {
	display: flex;
	justify-content: center;
	padding: 20px 40px;
	border-radius: var(--be-radius);
	font-weight: 500;
	font-size: 14px;
	color: var(--be-cinza-escuro);
}

.be-user__menu a:hover { color: var(--be-preto); }

.be-google-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 15px 40px;
	background: #fff;
	border-radius: var(--be-radius-lg);
	font-family: var(--be-font-google);
	font-weight: 500;
	font-size: 20px;
	color: rgba(0, 0, 0, 0.54);
	white-space: nowrap;
}

.be-google-btn img { flex: 0 0 auto; }

.be-user--guest { top: 26px; right: 25px; }
.be-user--guest .be-google-btn { min-width: 345px; height: 60px; }

/* ==========================================================================
   Home / busca: lista de artigos
   ========================================================================== */
.be-home {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding-top: 40px;
}

.be-list {
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding: 80px 0;
}

.be-count {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 300;
	font-size: 24px;
	color: var(--be-preto);
}

.be-count strong { font-weight: 700; }
.be-count__text { white-space: nowrap; }

.be-card-row {
	display: flex;
	align-items: center;
	gap: 40px;
	border-radius: var(--be-radius-lg);
}

.be-card-row__body {
	flex: 1 1 0;
	min-width: 1px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.be-date {
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	color: var(--be-preto);
}

.be-card-title {
	margin: 0;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.3;
	color: var(--be-preto);
}

.be-card-title a:hover { color: var(--be-verde); }

.be-card-excerpt {
	margin: 0;
	font-weight: 300;
	font-size: 20px;
	line-height: 2;
	color: var(--be-preto);
}

.be-card-row__foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 44px;
}

.be-read-more {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 10px;
	font-weight: 700;
	font-size: 16px;
	color: var(--be-verde);
	white-space: nowrap;
}

.be-read-more img { transform: rotate(-90deg); transition: transform 0.2s; }
.be-read-more:hover img { transform: rotate(-90deg) translateY(4px); }

.be-card-row__media {
	flex: 0 0 400px;
	display: block;
	width: 400px;
	height: 250px;
	border-radius: var(--be-radius-lg);
	overflow: hidden;
	background: var(--be-cinza-componente);
}

.be-card-row__media img,
.be-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.be-card-row__media:hover img,
.be-card__media:hover img { transform: scale(1.03); }

.be-empty {
	font-weight: 300;
	font-size: 20px;
	line-height: 2;
}

/* ==========================================================================
   Paginação
   ========================================================================== */
.be-pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: 100%;
}

.be-pagination__status {
	margin: 0;
	font-family: var(--be-font-alt);
	font-weight: 300;
	font-size: 14px;
	color: var(--be-cinza-escuro);
}

.be-pagination__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.be-page-btn {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 20px 40px;
	border: 1px solid var(--be-cinza-escuro);
	border-radius: var(--be-radius);
	font-weight: 500;
	font-size: 14px;
	color: var(--be-cinza-escuro);
	white-space: nowrap;
	transition: background 0.2s;
}

a.be-page-btn:hover { background: #fff; }
.be-page-btn.is-disabled { opacity: 0.3; pointer-events: none; }
.be-page-btn--first img { transform: rotate(180deg); }
.be-page-btn--prev img { transform: rotate(90deg); }
.be-page-btn--next img { transform: rotate(-90deg); }

/* ==========================================================================
   Categoria / tema: hero + grid
   ========================================================================== */
.be-archive {
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding: 80px 0;
}

.be-archive__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	text-align: center;
}

.be-archive__title {
	margin: 0;
	font-weight: 700;
	font-size: 90px;
	line-height: 1.2;
	color: var(--be-preto);
}

.be-archive__views {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	font-family: var(--be-font-alt);
	font-weight: 300;
	font-size: 14px;
	color: var(--be-preto);
}

.be-archive__desc {
	margin: 0;
	font-weight: 400;
	font-size: 24px;
	color: var(--be-preto);
}

.be-archive__desc p { margin: 0; }

.be-grid {
	display: grid;
	gap: 80px;
}

.be-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.be-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.be-card {
	display: flex;
	flex-direction: column;
	gap: 40px;
	border-radius: var(--be-radius-lg);
}

.be-card__media {
	display: block;
	width: 100%;
	height: 400px;
	border-radius: var(--be-radius-lg);
	overflow: hidden;
	background: var(--be-cinza-componente);
}

.be-grid--3 .be-card__media { height: 200px; }
.be-grid--3 .be-card-title { font-size: 22px; }

.be-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.be-card .be-card-excerpt { font-weight: 400; }

.be-card__foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	min-height: 44px;
}

.be-card .be-read-more { font-weight: 500; }

/* ==========================================================================
   Post
   ========================================================================== */
.be-article {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 80px 0;
}

.be-article__title {
	margin: 0;
	font-weight: 700;
	font-size: 80px;
	line-height: 1.2;
	color: var(--be-preto);
}

.be-article__media {
	margin: 0;
	border-radius: var(--be-radius-lg);
	overflow: hidden;
	aspect-ratio: 1100 / 687.5;
	background: var(--be-cinza-componente);
}

.be-article__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.be-article__body {
	font-weight: 400;
	font-size: 20px;
	line-height: 2;
	color: var(--be-preto);
}

.be-article__body > * { margin: 0 0 40px; }
.be-article__body > *:last-child { margin-bottom: 0; }

.be-article__body h1,
.be-article__body h2 {
	margin-top: 80px;
	font-weight: 700;
	font-size: 60px;
	line-height: 1.3;
}

.be-article__body h3 {
	margin-top: 60px;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.3;
}

.be-article__body h4,
.be-article__body h5,
.be-article__body h6 {
	font-weight: 700;
	font-size: 24px;
	line-height: 1.4;
}

.be-article__body > h2:first-child,
.be-article__body > h3:first-child { margin-top: 0; }

.be-article__body strong { font-weight: 700; }
.be-article__body a { color: var(--be-verde); text-decoration: underline; text-underline-offset: 3px; }
.be-article__body a:hover { text-decoration-thickness: 2px; }
.be-article__body ul,
.be-article__body ol { padding-left: 1.4em; }
.be-article__body li { margin-bottom: 8px; }

.be-article__body blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 20px 40px;
	border-left: 4px solid var(--be-verde);
	background: var(--be-verde-05);
	border-radius: 0 var(--be-radius) var(--be-radius) 0;
	font-style: italic;
}

.be-article__body figure { margin-left: 0; margin-right: 0; }

.be-article__body img {
	display: block;
	margin-inline: auto;
	border-radius: var(--be-radius-lg);
}

.be-article__body figcaption {
	margin-top: 10px;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	color: var(--be-cinza-escuro);
}

.be-embed--video > div {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--be-radius-lg);
	overflow: hidden;
	background: #000;
}

.be-embed--video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Paywall
   ========================================================================== */
.be-paywall { display: none; }

.be-paywalled .be-article__body {
	max-height: 1100px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 85%);
	mask-image: linear-gradient(to bottom, #000 25%, transparent 85%);
	pointer-events: none;
	user-select: none;
}

.be-paywalled .be-paywall {
	position: absolute;
	left: 50%;
	bottom: 160px;
	z-index: 4;
	display: block;
	width: min(750px, 100%);
	transform: translateX(-50%);
}

.be-paywall__box {
	padding: 1px;
	overflow: hidden;
	background: var(--be-verde-google);
	border: 5px solid var(--be-verde-google);
	border-radius: var(--be-radius);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.be-paywall__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding: 40px 60px;
	background: #fff;
	border-radius: var(--be-radius) var(--be-radius) 0 0;
	text-align: center;
}

.be-paywall__title {
	margin: 0;
	font-weight: 700;
	font-size: 50px;
	line-height: 1.2;
	color: var(--be-preto);
}

.be-paywall__login,
.be-paywall__text {
	max-width: 630px;
	margin: 0;
	font-family: var(--be-font-alt);
	font-size: 18px;
	line-height: 1.5;
	color: var(--be-cinza-texto);
}

.be-paywall__login { font-style: italic; }

.be-paywall__login a {
	font-weight: 700;
	color: var(--be-verde);
	text-decoration: underline;
}

.be-paywall__google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: min(345px, 100%);
	height: 54px;
	background: #fff;
	border: 1px solid var(--be-cinza-texto);
	border-radius: 100px;
	filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.08)) drop-shadow(0 2px 1.5px rgba(0, 0, 0, 0.17));
	font-family: var(--be-font-google);
	font-weight: 500;
	font-size: 20px;
	color: rgba(0, 0, 0, 0.54);
}

/* ==========================================================================
   Rodapé (ecossistema)
   ========================================================================== */
.be-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: 100%;
	margin-top: auto;
	padding: 80px 40px;
	overflow: clip;
	opacity: 0.75;
}

.be-eco {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.be-eco__title {
	margin: 0;
	font-weight: 300;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	color: var(--be-preto);
}

.be-eco__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px 80px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be-eco__logos img { display: block; }
.be-eco__logos a:hover img { filter: brightness(0.6); }

.be-footer__rule {
	width: 100%;
	height: 0;
	border-top: 1px solid var(--be-preto);
}

.be-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.be-footer__brand,
.be-footer__social {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.be-footer__brand { gap: 10px; }
.be-footer__social { gap: 8px; }

.be-footer__copy,
.be-footer__follow {
	margin: 0;
	font-weight: 400;
	font-size: 10px;
	line-height: 1;
	text-align: center;
}

.be-footer__copy { color: var(--be-cinza-escuro); }
.be-footer__follow { color: rgba(8, 10, 12, 0.6); }

.be-footer__icons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.be-footer__icons img { display: block; }
.be-footer__icons a:hover img { filter: brightness(0.6); }

/* ==========================================================================
   Páginas genéricas
   ========================================================================== */
.be-page { padding: 80px 0; }
.be-page .be-article__title { margin-bottom: 40px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
/* Barra de temas não pode passar por baixo do avatar / botão do Google (canto superior direito). */
@media (min-width: 1025px) {
	.logged-in .be-topics { width: min(var(--be-content-w), 100% - 2 * 190px); }
	body:not(.logged-in) .be-home,
	body:not(.logged-in) .be-archive { padding-top: 116px; }
}

@media (max-width: 1500px) {
	:root { --be-sidebar-w: 360px; }
	.be-sidebar { padding: 40px 30px; }
	.be-sidebar--post { padding: 60px 30px; }
	.be-article__title { font-size: clamp(44px, 4.6vw, 80px); }
	.be-article__body h1,
	.be-article__body h2 { font-size: clamp(32px, 3.4vw, 60px); }
	.be-archive__title { font-size: clamp(52px, 5.4vw, 90px); }
	.be-card-title { font-size: clamp(26px, 2.2vw, 36px); }
	.be-grid,
	.be-grid--2,
	.be-grid--3 { gap: 60px 40px; }
	.be-card-row__media { flex-basis: 340px; width: 340px; height: 212px; }
}

@media (max-width: 1200px) {
	.be-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.be-card-row { flex-direction: column-reverse; align-items: stretch; }
	.be-card-row__media { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 1024px) {
	:root { --be-gutter: 16px; }

	.be-layout { flex-direction: column; }

	.be-sidebar,
	.be-sidebar--post {
		position: relative;
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		overflow: visible;
		align-items: stretch;
		gap: 0;
		padding: 16px;
	}

	.be-sidebar__top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}

	.be-sidebar__logo { width: 180px; }

	.be-sidebar__toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 10px 16px;
		border: 1px solid var(--be-cinza-borda);
		border-radius: var(--be-radius);
		background: #fff;
		font-weight: 500;
		font-size: 14px;
		color: var(--be-cinza-escuro);
		cursor: pointer;
	}

	.be-sidebar__toggle img { transition: transform 0.2s; }
	.be-sidebar.is-open .be-sidebar__toggle img { transform: rotate(180deg); }

	.be-sidebar__extra {
		display: none;
		gap: 40px;
		padding: 24px 0 8px;
	}

	.be-sidebar.is-open .be-sidebar__extra { display: flex; }
	.be-filters__label { padding: 0 20px; }
	.be-field input,
	.be-field select { padding: 18px 20px; }
	.be-field input { padding-right: 0; }
	.be-field__btn { padding: 0 20px 0 12px; }
	.be-field__chevron { right: 20px; }

	.be-user,
	.be-user--guest {
		position: relative;
		top: auto;
		right: auto;
		align-self: flex-end;
		margin: 16px 16px 0;
	}

	.be-user__btn { padding: 6px 20px 6px 6px; gap: 12px; }
	.be-user__avatar { width: 40px; height: 40px; font-size: 18px; }
	.be-user__menu { top: 60px; left: auto; right: 0; }
	.be-user--guest .be-google-btn { min-width: 0; height: 48px; padding: 10px 20px; font-size: 16px; }

	.be-home { padding-top: 16px; }
	.be-list,
	.be-archive,
	.be-article { padding: 40px 0; gap: 40px; }
	.be-list { gap: 56px; }
	.be-archive__head { gap: 24px; }
	.be-archive__desc { font-size: 18px; }
	.be-count { font-size: 18px; }
	.be-card-excerpt,
	.be-article__body { font-size: 17px; line-height: 1.8; }
	.be-article__body > * { margin-bottom: 24px; }
	.be-article__body h1,
	.be-article__body h2 { margin-top: 48px; }
	.be-article__body h3 { margin-top: 40px; font-size: 26px; }
	.be-card__media { height: auto; aspect-ratio: 16 / 10; }
	.be-grid--3 .be-card__media { height: auto; }
	.be-paywalled .be-paywall { bottom: 40px; }
	.be-paywall__inner { gap: 24px; padding: 32px 24px; }
	.be-paywall__title { font-size: 32px; }
	.be-paywall__login,
	.be-paywall__text { font-size: 16px; }
	.be-footer { padding: 56px 16px; }
}

@media (max-width: 680px) {
	.be-grid--2,
	.be-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.be-topics { gap: 8px; }
	.be-topics__arrow { flex-basis: 32px; width: 32px; height: 32px; }
	.be-topics__arrow img { width: 32px; height: 32px; }
	.be-chip { padding: 8px 14px; font-size: 14px; }
	.be-chip--green,
	.be-chip.is-active { padding: 8px 18px; }
	.be-chips { gap: 10px; }
	.be-card-row__foot { flex-direction: column; gap: 10px; }
	.be-read-more { padding-left: 0; }
	.be-author__name { font-size: 28px; }
	.be-page-btn { padding: 14px 18px; gap: 10px; }
	.be-pagination__nav { gap: 10px; }
	.be-footer__bottom { flex-direction: column; gap: 32px; }
	.be-eco__logos { gap: 28px 40px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
