/**
 * Layout de duas colunas — apresentacao da comunidade + mural.
 * Coluna esquerda e direita com rolagem independente (desktop).
 */

:root {
	--hodie-header-h: 73px;
	--hodie-sidebar-w: 320px;
	--hodie-gap: 1.5rem;
}

/* Estrutura de duas colunas */
.hodie-layout {
	padding: 1rem 0 2rem;
}

.hodie-layout__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hodie-gap);
	max-width: calc(var(--hodie-sidebar-w) + var(--hodie-gap) + var(--hodie-max-width) + 2rem);
	margin: 0 auto;
	padding: 0 1rem;
	align-items: start;
}

.hodie-main {
	min-width: 0;
	padding: 0;
}

/* Cartao base */
.hodie-card {
	background: var(--hodie-surface);
	border-radius: var(--hodie-radius);
	box-shadow: var(--hodie-shadow);
	padding: 1.25rem;
}

.hodie-card__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Sidebar */
.hodie-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--hodie-gap);
}

/* Cartao de apresentacao */
.hodie-about__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
}

.hodie-about__logo {
	flex-shrink: 0;
	height: 56px;
	width: auto;
}

.hodie-about__badge {
	margin: 0.15rem 0 0;
	font-size: 0.8125rem;
	color: var(--hodie-text-muted);
}

.hodie-about__text {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--hodie-text);
}

.hodie-about__more {
	width: 100%;
	margin-bottom: 1rem;
}

/* Botoes */
.hodie-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.625rem 1.1rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.hodie-btn--primary {
	background: var(--hodie-brand);
	color: #fff;
}

.hodie-btn--primary:hover,
.hodie-btn--primary:focus {
	background: var(--hodie-brand-dark);
	color: #fff;
}

.hodie-btn--youtube {
	background: #ff0000;
	color: #fff;
}

.hodie-btn--youtube:hover,
.hodie-btn--youtube:focus {
	background: #cc0000;
	color: #fff;
}

.hodie-btn--ghost {
	background: var(--hodie-bg);
	color: var(--hodie-text);
}

.hodie-btn--ghost:hover,
.hodie-btn--ghost:focus {
	background: #e4e6eb;
	color: var(--hodie-brand);
}

/* Bloco de contato */
.hodie-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hodie-contact__item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hodie-border);
}

.hodie-contact__item:first-child {
	border-top: none;
	padding-top: 0;
}

.hodie-contact__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hodie-text-muted);
}

.hodie-contact__value {
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--hodie-text);
	text-decoration: none;
	word-wrap: break-word;
}

a.hodie-contact__value:hover,
a.hodie-contact__value:focus {
	color: var(--hodie-brand);
	text-decoration: underline;
}

/* Album resumido */
.hodie-album__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.875rem;
}

.hodie-album__hint {
	font-size: 0.75rem;
	color: var(--hodie-text-muted);
}

.hodie-album__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.375rem;
}

.hodie-album__item {
	margin: 0;
}

.hodie-album__link {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 8px;
}

.hodie-album__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.hodie-album__link:hover .hodie-album__img,
.hodie-album__link:focus .hodie-album__img {
	transform: scale(1.06);
}

.hodie-album__empty {
	margin: 0;
	font-size: 0.875rem;
	color: var(--hodie-text-muted);
}

/* Cartao de boas-vindas do topo do mural */
.hodie-intro {
	margin-bottom: 1rem;
}

.hodie-intro__title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.25;
}

.hodie-intro__list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.95rem;
}

.hodie-intro__text {
	margin: 0 0 1.1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--hodie-text);
}

.hodie-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Pagina Sobre */
.hodie-page {
	padding: 1.5rem 0 2.5rem;
}

.hodie-page__inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 1rem;
}

.hodie-sobre {
	padding: 2rem 1.75rem;
}

.hodie-sobre__hero {
	text-align: center;
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid var(--hodie-border);
}

.hodie-sobre__brasao {
	height: 96px;
	width: auto;
	margin-bottom: 0.75rem;
}

.hodie-sobre__title {
	margin: 0 0 0.5rem;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
}

.hodie-sobre__lead {
	margin: 0 auto;
	max-width: 60ch;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 1.05rem;
	color: var(--hodie-brand);
}

.hodie-sobre__body {
	font-size: 1rem;
	line-height: 1.65;
}

.hodie-sobre__body p {
	margin: 0 0 1rem;
}

.hodie-sobre__quote {
	margin: 1.25rem 0;
	padding: 1rem 1.25rem;
	background: var(--hodie-bg);
	border-left: 4px solid var(--hodie-brand);
	border-radius: 8px;
}

.hodie-sobre__quote p {
	margin: 0 0 0.5rem;
	font-style: italic;
}

.hodie-sobre__quote cite {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hodie-text-muted);
	font-style: normal;
}

.hodie-sobre__contact {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hodie-border);
}

.hodie-sobre__contact .hodie-card__title {
	margin-bottom: 1rem;
}

.hodie-sobre__back {
	margin: 1.5rem 0 0;
}

/* Desktop: duas colunas com rolagem independente */
@media (min-width: 1024px) {
	.hodie-layout__inner {
		grid-template-columns: var(--hodie-sidebar-w) minmax(0, 1fr);
	}

	.hodie-sidebar {
		position: sticky;
		top: calc(var(--hodie-header-h) + 1rem);
		max-height: calc(100vh - var(--hodie-header-h) - 2rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 0.25rem;
	}

	/* Barra de rolagem discreta na sidebar */
	.hodie-sidebar::-webkit-scrollbar {
		width: 8px;
	}

	.hodie-sidebar::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.15);
		border-radius: 999px;
	}
}
