/* =========================================================
   SC Agenda de Eventos — Smart Creative
   ========================================================= */

.sc-agenda-wrap {
	--sc-ag-cor: #0d6efd;
	--sc-ag-texto: #1f2933;
	--sc-ag-suave: #6b7684;
	--sc-ag-linha: #e4e8ee;
	--sc-ag-fundo: #ffffff;
	--sc-ag-fundo-2: #f7f9fc;
	--sc-ag-raio: 12px;
	color: var(--sc-ag-texto);
	font-size: 16px;
	line-height: 1.5;
}

.sc-agenda-wrap *,
.sc-agenda-wrap *::before,
.sc-agenda-wrap *::after { box-sizing: border-box; }

.sc-agenda-titulo {
	margin: 0 0 20px;
	font-size: 1.6em;
	line-height: 1.2;
}

/* ---------- Filtros ---------- */
.sc-agenda-filtros {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.sc-ag-filtro {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: 999px;
	background: var(--sc-ag-fundo);
	color: var(--sc-ag-suave);
	font-size: .875em;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: all .18s ease;
}

.sc-ag-filtro:hover { border-color: var(--sc-ag-cor); color: var(--sc-ag-texto); }

.sc-ag-filtro.is-ativo {
	background: var(--sc-ag-cor);
	border-color: var(--sc-ag-cor);
	color: #fff;
}

.sc-ag-ponto {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sc-ag-cor);
	flex: none;
}

.sc-ag-filtro.is-ativo .sc-ag-ponto { background: #fff; }

/* ---------- Topo do calendário ---------- */
.sc-agenda-calendario { position: relative; }

.sc-agenda-calendario.is-loading { opacity: .45; pointer-events: none; }

.sc-ag-cal-topo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.sc-ag-cal-mes {
	margin: 0;
	font-size: 1.25em;
	font-weight: 600;
	text-align: center;
	flex: 1;
	text-transform: capitalize;
}

.sc-ag-nav {
	width: 42px;
	height: 42px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sc-ag-linha);
	border-radius: 50%;
	background: var(--sc-ag-fundo);
	color: var(--sc-ag-texto);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: all .18s ease;
}

.sc-ag-nav:hover { background: var(--sc-ag-cor); border-color: var(--sc-ag-cor); color: #fff; }

/* ---------- Grelha ---------- */
.sc-ag-cal-grelha {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.sc-ag-cal-cab {
	padding: 8px 4px;
	text-align: center;
	font-size: .75em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sc-ag-suave);
}

.sc-ag-cal-dia {
	position: relative;
	min-height: 104px;
	padding: 6px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: var(--sc-ag-raio);
	background: var(--sc-ag-fundo);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.sc-ag-cal-dia.is-vazio { border: 0; background: transparent; min-height: 0; }

.sc-ag-cal-dia.tem-eventos { cursor: default; }

.sc-ag-cal-dia.is-hoje {
	border-color: var(--sc-ag-cor);
	box-shadow: inset 0 0 0 1px var(--sc-ag-cor);
}

.sc-ag-cal-num {
	display: block;
	font-size: .875em;
	font-weight: 600;
	color: var(--sc-ag-suave);
	margin-bottom: 4px;
	padding-left: 2px;
}

.sc-ag-cal-dia.is-hoje .sc-ag-cal-num { color: var(--sc-ag-cor); }

.sc-ag-cal-eventos { display: flex; flex-direction: column; gap: 3px; }

.sc-ag-cal-ev {
	display: block;
	width: 100%;
	text-align: left;
	padding: 4px 6px;
	border: 0;
	border-left: 3px solid var(--sc-ag-cor);
	border-radius: 4px;
	background: color-mix(in srgb, var(--sc-ag-cor) 10%, #fff);
	color: var(--sc-ag-texto);
	font-size: .72em;
	line-height: 1.3;
	cursor: pointer;
	transition: background .18s ease;
}

.sc-ag-cal-ev:hover { background: color-mix(in srgb, var(--sc-ag-cor) 22%, #fff); }

.sc-ag-cal-hora { display: block; font-weight: 700; color: var(--sc-ag-cor); }

.sc-ag-cal-tit {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sc-ag-cal-mais {
	font-size: .7em;
	font-weight: 600;
	color: var(--sc-ag-suave);
	padding-left: 6px;
}

.sc-ag-cal-pontos { display: none; }

/* ---------- Lista ---------- */
.sc-ag-lista-mes { margin-top: 28px; }

.sc-ag-lista-tit {
	margin: 0 0 14px;
	font-size: 1.05em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--sc-ag-suave);
}

.sc-ag-vazio {
	padding: 26px;
	text-align: center;
	border: 1px dashed var(--sc-ag-linha);
	border-radius: var(--sc-ag-raio);
	color: var(--sc-ag-suave);
	margin: 0;
}

.sc-ag-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px;
	margin-bottom: 10px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: var(--sc-ag-raio);
	background: var(--sc-ag-fundo);
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sc-ag-item:hover {
	border-color: var(--sc-ag-cor);
	box-shadow: 0 6px 20px rgba(15, 25, 40, .08);
	transform: translateY(-1px);
}

.sc-ag-item.is-cancelado { opacity: .65; }

.sc-ag-item-data {
	flex: none;
	width: 60px;
	padding: 8px 0;
	text-align: center;
	border-radius: 10px;
	background: color-mix(in srgb, var(--sc-ag-cor) 12%, #fff);
	color: var(--sc-ag-cor);
	line-height: 1.1;
}

.sc-ag-item-dia { display: block; font-size: 1.5em; font-weight: 700; }
.sc-ag-item-mes { display: block; font-size: .7em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.sc-ag-item-img {
	flex: none;
	width: 84px;
	height: 64px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
}

.sc-ag-item-info { flex: 1; min-width: 0; }

.sc-ag-item-cat {
	display: inline-block;
	margin-bottom: 4px;
	padding: 2px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sc-ag-cor) 14%, #fff);
	color: var(--sc-ag-cor);
	font-size: .68em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.sc-ag-item-tit { margin: 0 0 5px; font-size: 1.05em; font-weight: 600; line-height: 1.3; }

.sc-ag-badge-cancelado {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 4px;
	background: #fdecec;
	color: #b32d2e;
	font-size: .62em;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: middle;
}

.sc-ag-item-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 2px;
	font-size: .82em;
	color: var(--sc-ag-suave);
}

.sc-ag-item-seta { flex: none; font-size: 24px; color: var(--sc-ag-suave); line-height: 1; }

/* ---------- Ícones ---------- */
.sc-ag-ico-relogio, .sc-ag-ico-pin, .sc-ag-ico-bilhete, .sc-ag-ico-user, .sc-ag-ico-tel {
	flex: none;
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
}

.sc-ag-ico-relogio {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>");
}

.sc-ag-ico-pin {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 1116 0z'/><circle cx='12' cy='10' r='3'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 1116 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}

.sc-ag-ico-bilhete {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 8a2 2 0 012-2h14a2 2 0 012 2v2a2 2 0 000 4v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2a2 2 0 000-4V8z'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 8a2 2 0 012-2h14a2 2 0 012 2v2a2 2 0 000 4v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2a2 2 0 000-4V8z'/></svg>");
}

.sc-ag-ico-user {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4 21v-1a6 6 0 016-6h4a6 6 0 016 6v1'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4 21v-1a6 6 0 016-6h4a6 6 0 016 6v1'/></svg>");
}

.sc-ag-ico-tel {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1 1 .4 1.9.7 2.8a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.3-1.3a2 2 0 012.1-.4c.9.3 1.8.6 2.8.7a2 2 0 011.7 2z'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1 1 .4 1.9.7 2.8a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.3-1.3a2 2 0 012.1-.4c.9.3 1.8.6 2.8.7a2 2 0 011.7 2z'/></svg>");
}

/* ---------- Popup ---------- */
.sc-ag-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(12, 18, 28, .6);
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s ease;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.sc-ag-modal.is-aberto { opacity: 1; visibility: visible; }

.sc-ag-modal-caixa {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: 88vh;
	overflow-y: auto;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 70px rgba(10, 18, 30, .35);
	transform: translateY(18px) scale(.985);
	transition: transform .25s ease;
	-webkit-overflow-scrolling: touch;
}

.sc-ag-modal.is-aberto .sc-ag-modal-caixa { transform: none; }

.sc-ag-modal-fechar {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #1f2933;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.sc-ag-modal-fechar:hover { background: #fff; }

.sc-ag-modal-conteudo { min-height: 120px; }

.sc-ag-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	color: #6b7684;
	font-size: .9em;
}

/* ---------- Detalhe ---------- */
.sc-ag-detalhe {
	--sc-ag-texto: #1f2933;
	--sc-ag-suave: #6b7684;
	--sc-ag-linha: #e4e8ee;
	color: var(--sc-ag-texto);
	font-size: 16px;
	line-height: 1.55;
}

.sc-ag-det-capa {
	height: 240px;
	background-size: cover;
	background-position: center;
	border-radius: 16px 16px 0 0;
}

.sc-ag-det-corpo { padding: 26px 28px 30px; }

.sc-ag-det-cat {
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sc-ag-cor) 14%, #fff);
	color: var(--sc-ag-cor);
	font-size: .7em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.sc-ag-det-tit { margin: 0 0 16px; font-size: 1.7em; line-height: 1.25; font-weight: 700; }

.sc-ag-det-aviso {
	margin: 0 0 16px;
	padding: 11px 15px;
	border-radius: 8px;
	background: #fdecec;
	color: #b32d2e;
	font-weight: 600;
	font-size: .9em;
}

.sc-ag-det-meta {
	list-style: none;
	margin: 0 0 20px;
	padding: 18px 20px;
	border-radius: 12px;
	background: #f7f9fc;
}

.sc-ag-det-meta li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0 0 11px;
	font-size: .92em;
}

.sc-ag-det-meta li:last-child { margin-bottom: 0; }
.sc-ag-det-meta li > span:first-child { margin-top: 3px; color: var(--sc-ag-cor); }
.sc-ag-det-meta a { color: var(--sc-ag-cor); }

.sc-ag-det-texto { margin-bottom: 24px; }
.sc-ag-det-texto > *:last-child { margin-bottom: 0; }

.sc-ag-det-acoes { display: flex; flex-wrap: wrap; gap: 10px; }

.sc-ag-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: 8px;
	background: #fff;
	color: var(--sc-ag-texto);
	font-size: .9em;
	font-weight: 600;
	text-decoration: none;
	transition: all .18s ease;
}

.sc-ag-btn:hover { border-color: var(--sc-ag-cor); color: var(--sc-ag-cor); }

.sc-ag-btn-primario {
	background: var(--sc-ag-cor);
	border-color: var(--sc-ag-cor);
	color: #fff;
}

.sc-ag-btn-primario:hover { filter: brightness(.92); color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 782px) {
	.sc-ag-cal-dia { min-height: 62px; padding: 4px; }
	.sc-ag-cal-eventos { display: none; }
	.sc-ag-cal-pontos {
		display: flex;
		gap: 3px;
		justify-content: center;
		position: absolute;
		bottom: 7px;
		left: 0;
		right: 0;
	}
	.sc-ag-cal-pontos i { width: 5px; height: 5px; border-radius: 50%; display: block; }
	.sc-ag-cal-num { text-align: center; padding: 0; }
	.sc-ag-cal-dia.tem-eventos { cursor: pointer; }
	.sc-ag-cal-dia.is-selecionado { background: color-mix(in srgb, var(--sc-ag-cor) 12%, #fff); border-color: var(--sc-ag-cor); }

	.sc-ag-item { flex-wrap: wrap; gap: 12px; }
	.sc-ag-item-img { display: none; }
	.sc-ag-item-seta { display: none; }

	.sc-ag-det-corpo { padding: 20px; }
	.sc-ag-det-capa { height: 170px; }
	.sc-ag-det-tit { font-size: 1.35em; }
	.sc-ag-modal { padding: 0; }
	.sc-ag-modal-caixa { max-height: 100vh; height: 100%; border-radius: 0; }
	.sc-ag-det-capa { border-radius: 0; }
	.sc-ag-det-acoes .sc-ag-btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
	.sc-ag-cal-grelha { gap: 3px; }
	.sc-ag-cal-cab { font-size: .65em; padding: 6px 0; }
}

/* ---------- Dia selecionado (todos os ecrãs) ---------- */
.sc-ag-cal-dia.is-selecionado {
	background: color-mix(in srgb, var(--sc-ag-cor) 10%, #fff);
	border-color: var(--sc-ag-cor);
	box-shadow: inset 0 0 0 1px var(--sc-ag-cor);
}

.sc-agenda-wrap :focus-visible {
	outline: 2px solid var(--sc-ag-cor);
	outline-offset: 2px;
}

/* ---------- Ficha na página individual do evento ---------- */
.sc-ag-ficha {
	margin: 0 0 28px;
	padding: 20px 22px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: var(--sc-ag-raio);
	background: var(--sc-ag-fundo-2);
}

.sc-ag-ficha .sc-ag-det-meta { margin: 0; }
.sc-ag-ficha .sc-ag-det-acoes { margin-bottom: 0; }

/* =========================================================
   Página individual do evento
   ========================================================= */
.sc-ag-evento {
	--sc-ag-largura: 1440px;
	max-width: var(--sc-ag-largura);
	margin: 0 auto;
	padding: 4px clamp(16px, 4vw, 40px) 56px;
}

/* Topo: navegação e estado */
.sc-ag-evento-topo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 26px;
}

.sc-ag-evento-voltar {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-right: 6px;
	color: var(--sc-ag-suave);
	font-size: .9em;
	font-weight: 600;
	text-decoration: none;
}

.sc-ag-evento-voltar:hover { color: var(--sc-ag-cor); }

.sc-ag-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: .74em;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	line-height: 1.6;
}

.sc-ag-chip-cat        { background: var(--sc-ag-cor); color: #fff; }
.sc-ag-chip-agendado   { background: #e8f4ec; color: #1a7f37; }
.sc-ag-chip-a-decorrer { background: #fff3d6; color: #8a6100; }
.sc-ag-chip-realizado  { background: #eef1f5; color: #6b7684; }
.sc-ag-chip-cancelado  { background: #fdeaea; color: #b32d2e; }
.sc-ag-chip-relativo   { background: transparent; color: var(--sc-ag-suave); border: 1px dashed var(--sc-ag-linha); }

/* Grelha: cartaz + informação */
.sc-ag-evento-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 3.5vw, 52px);
	align-items: start;
}

.sc-ag-evento.sem-cartaz .sc-ag-evento-grid { grid-template-columns: minmax(0, 1fr); }
.sc-ag-evento.sem-cartaz .sc-ag-evento-lado { max-width: 820px; }

/* O cartaz aparece inteiro, sem corte, e acompanha a leitura */
.sc-ag-cartaz { position: sticky; top: 24px; }

.sc-ag-cartaz-moldura {
	padding: 12px;
	border: 1px solid var(--sc-ag-linha);
	border-radius: calc(var(--sc-ag-raio) + 4px);
	background: #fff;
	box-shadow: 0 18px 44px rgba(15, 23, 42, .10);
}

.sc-ag-cartaz-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

/* Ficha */
.sc-ag-ficha-card {
	padding: 6px 24px 24px;
	border: 1px solid var(--sc-ag-linha);
	border-top: 3px solid var(--sc-ag-cor);
	border-radius: var(--sc-ag-raio);
	background: var(--sc-ag-fundo);
}

.sc-ag-info { margin: 0; }

.sc-ag-linha-info {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid var(--sc-ag-linha);
}

.sc-ag-linha-info:last-child { border-bottom: 0; }

.sc-ag-linha-info dt {
	margin: 0;
	padding-top: 2px;
	color: var(--sc-ag-suave);
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.sc-ag-linha-info dd {
	margin: 0;
	font-size: .98em;
}

.sc-ag-linha-info dd strong { display: block; }

.sc-ag-morada {
	display: block;
	margin-top: 2px;
	color: var(--sc-ag-suave);
	font-size: .93em;
}

.sc-ag-linha-info .sc-ag-link {
	display: inline-block;
	margin-top: 4px;
	margin-right: 14px;
	color: var(--sc-ag-cor);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.sc-ag-evento-acoes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.sc-ag-evento-acoes .sc-ag-btn { flex: 1 1 auto; justify-content: center; text-align: center; }

/* Descrição */
.sc-ag-evento-texto {
	margin-top: 30px;
	font-size: 1.02em;
	line-height: 1.7;
}

.sc-ag-evento-texto > *:first-child { margin-top: 0; }
.sc-ag-evento-texto > *:last-child { margin-bottom: 0; }

.sc-ag-evento-texto img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sc-ag-raio);
}

/* A seguir na agenda */
.sc-ag-evento-outros {
	margin-top: clamp(40px, 6vw, 72px);
	padding-top: 32px;
	border-top: 1px solid var(--sc-ag-linha);
}

.sc-ag-evento-outros .sc-ag-lista-tit { margin-bottom: 16px; }

@media (max-width: 900px) {
	.sc-ag-evento-grid { grid-template-columns: minmax(0, 1fr); }
	.sc-ag-cartaz { position: static; max-width: 460px; }
	.sc-ag-ficha-card { padding: 4px 18px 20px; }
	.sc-ag-linha-info { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.sc-ag-evento-acoes .sc-ag-btn { flex: 1 1 100%; }
}

/* Largura herdada do contentor do tema (alinha com o título do evento) */
.sc-ag-evento.largura-tema {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* ---------- Guardar no calendário ---------- */
.sc-ag-cal { position: relative; flex: 1 1 auto; }
.sc-ag-cal > summary { list-style: none; cursor: pointer; width: 100%; justify-content: center; }
.sc-ag-cal > summary::-webkit-details-marker { display: none; }
.sc-ag-cal > summary::after { content: "▾"; margin-left: 8px; font-size: .8em; }
.sc-ag-cal[open] > summary::after { content: "▴"; }

.sc-ag-cal-opcoes {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
	overflow: hidden;
	border: 1px solid var(--sc-ag-linha);
	border-radius: var(--sc-ag-raio);
	background: var(--sc-ag-fundo);
}

.sc-ag-cal-opcoes a {
	padding: 11px 16px;
	color: var(--sc-ag-texto);
	font-size: .93em;
	text-decoration: none;
	border-bottom: 1px solid var(--sc-ag-linha);
}

.sc-ag-cal-opcoes a:last-child { border-bottom: 0; }
.sc-ag-cal-opcoes a:hover { background: var(--sc-ag-fundo-2); color: var(--sc-ag-cor); }
