/* Siempre Fiel – eventos. Usa los colores del tema (Kadence) con alternativa propia. */
.sfe {
	--sfe-accent: var(--global-palette1, #1b7d64);
	--sfe-accent-dark: var(--global-palette2, #14614d);
	--sfe-text: var(--global-palette4, #1f2937);
	--sfe-muted: var(--global-palette5, #4b5563);
	--sfe-line: var(--global-gray-400, #d9dee3);
	--sfe-soft: var(--global-palette8, #f3f7f5);
	--sfe-radius: 14px;
	color: var(--sfe-text);
}
.sfe *, .sfe *::before, .sfe *::after { box-sizing: border-box; }
.sfe-single { max-width: 1000px; margin: 0 auto; padding: 24px 16px 56px; }

/* Listado */
.sfe-list { max-width: 860px; margin: 32px auto; }
.sfe-title { text-align: center; }
.sfe-items { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sfe-items > li { margin: 0; padding: 0; }
.sfe-empty { text-align: center; color: var(--sfe-muted); }
.sfe-item { border: 1px solid var(--sfe-line); border-radius: var(--sfe-radius); background: #fff; overflow: hidden; transition: box-shadow .2s; }
.sfe-item:hover, .sfe-item:focus-within { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.sfe-item__link { display: flex; align-items: stretch; gap: 16px; padding: 14px; color: inherit; text-decoration: none; }
.sfe-date { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: flex-start; padding: 8px 0; border-radius: 12px; background: var(--sfe-accent); color: #fff; line-height: 1; text-align: center; }
.sfe-date__day { font-size: 1.75rem; font-weight: 800; }
.sfe-date__month { margin-top: 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.sfe-item__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sfe-item__title { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.sfe-item__meta { color: var(--sfe-muted); font-size: .92rem; }
.sfe-item__excerpt { font-size: .95rem; }
.sfe-item__thumb { flex: 0 0 110px; display: none; border-radius: 10px; overflow: hidden; }
.sfe-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 640px) { .sfe-item__thumb { display: block; } }
.sfe-list--past .sfe-date { background: #50575e; }
.sfe-list--past .sfe-item { opacity: .9; }

/* Ficha */
.sfe-back { margin: 0 0 12px; }
.sfe-back a { color: var(--sfe-accent); font-weight: 600; text-decoration: none; }
.sfe-event__header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 20px; }
.sfe-event__header h1 { margin: 0; }
.sfe-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #50575e; color: #fff; font-size: .8rem; font-weight: 700; }
.sfe-badge--upcoming { background: #1b7d64; }
.sfe-event__top { display: grid; gap: 24px; }
@media (min-width: 800px) { .sfe-event__top:has(.sfe-event__image) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.sfe-event__image { margin: 0; border-radius: var(--sfe-radius); overflow: hidden; background: var(--sfe-soft); }
.sfe-event__image img { display: block; width: 100%; height: auto; }
.sfe-event__lead { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.5; }
.sfe-facts { margin: 0 0 22px; border: 1px solid var(--sfe-line); border-radius: var(--sfe-radius); overflow: hidden; }
.sfe-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 16px; }
.sfe-facts > div:nth-child(odd) { background: var(--sfe-soft); }
.sfe-facts dt { font-weight: 700; margin: 0; }
.sfe-facts dd { margin: 0; text-align: right; }
.sfe-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sfe-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 2px solid var(--sfe-accent); border-radius: 999px; background: var(--sfe-accent); color: #fff; font-weight: 700; text-decoration: none; }
.sfe-btn:hover, .sfe-btn:focus-visible { background: var(--sfe-accent-dark); border-color: var(--sfe-accent-dark); color: #fff; }
.sfe-btn--ghost { background: transparent; color: var(--sfe-accent); }
.sfe-btn--ghost:hover, .sfe-btn--ghost:focus-visible { background: var(--sfe-accent); color: #fff; }
.sfe-story { max-width: 820px; margin: 40px auto 0; }
