/* ════════════════════════════════════════════════
   Braz Posts Cards — Agenda da Cidade
   Página completa: hero + próximo evento + nav de mês
   + filtros + lista por dia + CTAs
   ════════════════════════════════════════════════ */

.bpc-agc {
	--agc-green: #1f6b3f;
	--agc-green-dark: #145e3a;
	--agc-accent: #d8543a;
	--agc-ink: #2b2b26;
	--agc-muted: #7a766d;
	--agc-card: #ffffff;
	--agc-line: #ece6dd;
	--agc-serif: "Georgia", "Iowan Old Style", "Times New Roman", serif;

	position: relative;
	color: var(--agc-ink);
}

.bpc-agc *,
.bpc-agc *::before,
.bpc-agc *::after {
	box-sizing: border-box;
}

.bpc-agc-month[hidden] {
	display: none;
}

/* ════════════════════════════════════════════════
   Cabeçalho (hero)
   ════════════════════════════════════════════════ */
.bpc-agc-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 44px clamp(20px, 4vw, 56px);
	border-radius: 18px;
	background: linear-gradient(135deg, #e9f1ea 0%, #dcebdf 100%);
}

.bpc-agc-hero__intro {
	flex: 1 1 380px;
	min-width: 0;
}

.bpc-agc-hero__eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--agc-green);
	margin-bottom: 10px;
}

.bpc-agc-hero__title {
	font-family: var(--agc-serif);
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 12px;
	color: var(--agc-green-dark);
}

.bpc-agc-hero__sub {
	margin: 0;
	max-width: 46ch;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--agc-muted);
}

/* Navegação por mês */
.bpc-agc-monthnav {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 99px;
}
.bpc-agc-monthnav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: var(--agc-green-dark);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, opacity 0.2s;
	padding: 0;
}
.bpc-agc-monthnav__btn:hover {
	background: var(--agc-green);
	color: #fff;
}
.bpc-agc-monthnav__btn svg {
	width: 17px;
	height: 17px;
}
.bpc-agc-monthnav__btn[disabled] {
	opacity: 0.32;
	cursor: default;
	pointer-events: none;
}
.bpc-agc-monthnav__label {
	min-width: 116px;
	text-align: center;
	font-family: var(--agc-serif);
	font-size: 1rem;
	font-weight: 700;
	color: var(--agc-green-dark);
}

/* Card "Próximo evento" */
.bpc-agc-next {
	flex: 0 1 420px;
	display: flex;
	gap: 0;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(20, 60, 40, 0.14);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bpc-agc-next:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px rgba(20, 60, 40, 0.2);
}
.bpc-agc-next__date {
	flex: 0 0 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: #fff;
	text-align: center;
	line-height: 1;
	padding: 18px 10px;
}
.bpc-agc-next__date strong {
	font-family: var(--agc-serif);
	font-size: 2.2rem;
	font-weight: 800;
}
.bpc-agc-next__date small {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	opacity: 0.92;
}
.bpc-agc-next__dow {
	opacity: 0.8;
}
.bpc-agc-next__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 20px;
	min-width: 0;
}
.bpc-agc-next__flag {
	align-self: flex-start;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--agc-accent);
	padding: 4px 10px;
	border-radius: 99px;
}
.bpc-agc-next__title {
	font-family: var(--agc-serif);
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--agc-ink);
}
.bpc-agc-next__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.84rem;
	color: var(--agc-muted);
}
.bpc-agc-ico {
	font-size: 0.82em;
	opacity: 0.9;
}

/* ════════════════════════════════════════════════
   Filtros por tipo
   ════════════════════════════════════════════════ */
.bpc-agc-filtros {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0 4px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--agc-line);
}
.bpc-agc-filtros__label {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--agc-muted);
	margin-right: 4px;
}
.bpc-agc-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--agc-ink);
	background: #fff;
	border: 1px solid var(--agc-line);
	border-radius: 99px;
	padding: 7px 14px;
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.bpc-agc-chip:hover {
	border-color: var(--agc-green);
	color: var(--agc-green-dark);
}
.bpc-agc-chip.is-active {
	background: var(--agc-green);
	border-color: var(--agc-green);
	color: #fff;
}
.bpc-agc-chip__count {
	font-size: 0.74rem;
	font-weight: 700;
	opacity: 0.65;
}
.bpc-agc-chip.is-active .bpc-agc-chip__count {
	opacity: 0.85;
}
.bpc-agc-chip[hidden] {
	display: none;
}

/* ════════════════════════════════════════════════
   Lista por dia
   ════════════════════════════════════════════════ */
.bpc-agc-lista {
	margin-top: 26px;
}
.bpc-agc-day {
	margin-bottom: 26px;
}
.bpc-agc-day[hidden] {
	display: none;
}
.bpc-agc-day__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px 12px;
	border-bottom: 1px dashed var(--agc-line);
	margin-bottom: 14px;
}
.bpc-agc-day__date {
	position: relative;
	font-family: var(--agc-serif);
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--agc-green-dark);
	padding-left: 14px;
}
.bpc-agc-day__date::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 1.1em;
	border-radius: 2px;
	background: var(--agc-accent);
}
.bpc-agc-day__dow {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--agc-muted);
}
.bpc-agc-day__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Linha do evento */
.bpc-agc-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: var(--agc-card);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(40, 40, 30, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.bpc-agc-row:hover {
	transform: translateX(3px);
	box-shadow: 0 6px 20px rgba(40, 40, 30, 0.12);
}
.bpc-agc-row[hidden] {
	display: none;
}

.bpc-agc-row__date {
	flex: 0 0 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	color: #fff;
	text-align: center;
	line-height: 1;
}
.bpc-agc-row__date strong {
	font-family: var(--agc-serif);
	font-size: 1.7rem;
	font-weight: 800;
}
.bpc-agc-row__date small {
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	opacity: 0.92;
}

.bpc-agc-row__main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
	min-width: 0;
	padding: 14px 18px;
}
.bpc-agc-row__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.bpc-agc-row__tipo {
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--agc-green-dark);
	background: #eef4ef;
	padding: 3px 9px;
	border-radius: 6px;
}
.bpc-agc-row__preco {
	font-size: 0.74rem;
	font-weight: 600;
	color: #8a6d1d;
}
.bpc-agc-row__preco--free {
	color: var(--agc-green);
}
.bpc-agc-row__title {
	font-family: var(--agc-serif);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--agc-ink);
}
.bpc-agc-row__meta {
	font-size: 0.84rem;
	color: var(--agc-muted);
}

.bpc-agc-row__go {
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--agc-muted);
	border-left: 1px solid var(--agc-line);
	transition: color 0.2s, background 0.2s;
}
.bpc-agc-row__go svg {
	width: 20px;
	height: 20px;
}
.bpc-agc-row:hover .bpc-agc-row__go {
	color: var(--agc-green);
	background: #f6faf7;
}

/* Encerrado / em andamento */
.bpc-agc-row--encerrado {
	opacity: 0.6;
}

/* ════════════════════════════════════════════════
   CTA — enviar evento
   ════════════════════════════════════════════════ */
.bpc-agc-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	padding: 22px 26px;
	background: #fff;
	border: 1px solid var(--agc-line);
	border-radius: 16px;
}
.bpc-agc-cta__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	font-size: 1.3rem;
	background: #fbeede;
	border-radius: 12px;
}
.bpc-agc-cta__text {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.bpc-agc-cta__text strong {
	font-family: var(--agc-serif);
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--agc-green-dark);
}
.bpc-agc-cta__text span {
	font-size: 0.9rem;
	color: var(--agc-muted);
}
.bpc-agc-cta__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	font-size: 0.9rem;
	font-weight: 700;
	color: #fff;
	background: var(--agc-green);
	padding: 12px 22px;
	border-radius: 99px;
	text-decoration: none;
	transition: background 0.2s;
}
.bpc-agc-cta__btn:hover {
	background: var(--agc-green-dark);
	color: #fff;
}

/* ════════════════════════════════════════════════
   CTA — patrocínio
   ════════════════════════════════════════════════ */
.bpc-agc-sponsor {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 18px;
	padding: 30px 34px;
	border-radius: 16px;
	background: linear-gradient(120deg, #1f6b3f 0%, #14502f 100%);
}
.bpc-agc-sponsor__text {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.bpc-agc-sponsor__eyebrow {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}
.bpc-agc-sponsor__title {
	font-family: var(--agc-serif);
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	max-width: 22ch;
}
.bpc-agc-sponsor__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	font-size: 0.92rem;
	font-weight: 700;
	color: #fff;
	background: var(--agc-accent);
	padding: 13px 26px;
	border-radius: 99px;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(216, 84, 58, 0.4);
	transition: transform 0.2s, background 0.2s;
}
.bpc-agc-sponsor__btn:hover {
	transform: translateY(-2px);
	background: #c4472f;
	color: #fff;
}

/* ── Placeholder no editor ── */
.bpc-agc-vazio {
	border: 2px dashed #ccc;
	border-radius: 10px;
	padding: 32px 20px;
	text-align: center;
	color: #888;
	font-size: 0.9rem;
}

/* ════════════════════════════════════════════════
   Responsivo
   ════════════════════════════════════════════════ */
@media (max-width: 880px) {
	.bpc-agc-hero {
		padding: 32px 24px;
	}
	.bpc-agc-next {
		flex-basis: 100%;
	}
}
@media (max-width: 560px) {
	.bpc-agc-row__date {
		flex-basis: 58px;
	}
	.bpc-agc-row__date strong {
		font-size: 1.4rem;
	}
	.bpc-agc-row__go {
		flex-basis: 44px;
	}
	.bpc-agc-row__main {
		padding: 12px 14px;
	}
	.bpc-agc-day__head {
		flex-direction: row;
	}
	.bpc-agc-sponsor,
	.bpc-agc-cta {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bpc-agc-row,
	.bpc-agc-row:hover,
	.bpc-agc-next,
	.bpc-agc-next:hover,
	.bpc-agc-sponsor__btn:hover {
		transform: none;
		transition: none;
	}
}
