/* V46 — moldura comum para cartazes. A arte oficial é preservada integralmente. */
.mc-event-visual{display:block;min-width:0;width:100%;margin:0;overflow:hidden;border:1px solid #dce6ec;border-radius:15px;background:#fff;box-sizing:border-box}
.mc-event-stage{position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(150deg,#f5f7fa,#edf2f5);box-sizing:border-box}
.mc-event-visual .mc-event-poster{position:absolute;inset:10px;display:block;width:calc(100% - 20px);height:calc(100% - 20px);max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:5px;object-fit:contain;object-position:center;background:transparent;box-shadow:none}
.mc-event-poster-link{display:block;text-decoration:none;color:inherit}
.mc-event-poster-link:focus-visible{outline:3px solid #1265ae;outline-offset:-4px}
.mc-event-visual .mc-event-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:6px 12px;border-top:1px solid #dce6ec;background:#fff;box-sizing:border-box}
.mc-event-visual .mc-event-brand img{position:static;inset:auto;display:block;width:112px;height:37px;max-width:75%;margin:0;padding:0;object-fit:contain;border:0;border-radius:0;background:transparent;box-shadow:none}
.mc-event-brand>span{font:600 8px/1.3 Arial,sans-serif;letter-spacing:1.2px;color:#617587}
.mc-event-fallback{display:none;position:absolute;inset:14px;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:#526b7e;font:14px/1.4 Arial,sans-serif}
.mc-event-fallback>span{font-size:36px;color:#85a8bb}.mc-event-fallback strong{font-size:14px}.mc-event-fallback small{font-size:12px;max-width:150px}
.mc-event-visual.is-empty .mc-event-fallback,.mc-event-visual.has-missing-poster .mc-event-fallback{display:flex}
.mc-event-visual.has-missing-poster .mc-event-poster{display:none}
.mc-event-visual.is-detail{max-width:680px;margin:0 auto 24px}.is-detail .mc-event-brand img{width:148px;height:48px}.is-detail .mc-event-brand{padding:8px 18px}.is-detail .mc-event-brand>span{font-size:10px}
/* Agenda: hierarquia clara e espaço constante para cada publicação. */
.home #cards{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:22px;align-items:stretch}
.home #cards .eventCard{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #dce6ec;border-radius:19px;background:#fff;box-shadow:0 6px 22px #183f6710;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.home #cards .eventCard:hover{border-color:#a9c8d8;box-shadow:0 9px 26px #183f6718}
.home #cards .eventCard .eventMedia{display:block;padding:0;background:transparent}
.home #cards .eventCard .eventImageHeader{position:static;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:51px;margin:0;padding:9px 13px;background:#fff;border:0}
.home #cards .eventCard .eventImageType{max-width:calc(100% - 42px);font-size:11px;line-height:1.4;color:#32536c;text-transform:none;letter-spacing:.2px;background:transparent;padding:0}
.home #cards .eventCard .eventDateBadge{position:static;flex-shrink:0;min-width:34px;padding:0;background:transparent;color:#183e67;border:0;box-shadow:none;line-height:1.05}.home #cards .eventCard .eventDateBadge b{font-size:20px}.home #cards .eventCard .eventDateBadge span{font-size:10px}
.home #cards .eventCard .mc-event-visual{border-radius:0;border-left:0;border-right:0}
.home #cards .eventCard .content{display:flex;flex-direction:column;flex:1;align-items:flex-start;min-width:0;padding:17px}
.home #cards .eventCard h3{margin:10px 0;font-size:17px;line-height:1.4;letter-spacing:-.25px;overflow-wrap:anywhere}
.home #cards .eventCard h3 a{color:#153d60}.home #cards .eventCard .eventDateLine{font-size:13px;line-height:1.5;margin:0 0 9px;color:#254f69}
.home #cards .eventCard .meta{font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:#596f80}
.home #cards .eventCard .tag{font-size:10px;max-width:100%;overflow-wrap:anywhere}.home #cards .eventCard .eventBadge{font-size:10px}.home #cards .eventCard .leagueEventSignal{font-size:10px;line-height:1.5;margin-bottom:7px;max-width:100%}
.home #cards .eventCard .cardActions{width:100%;margin-top:auto;padding-top:16px;gap:8px}.home #cards .eventCard .eventBtn{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:44px;padding:10px 12px;font-size:12px;line-height:1.35;border-radius:10px}.home #cards .eventCard .eventSave{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:10px}
.leaguePublicationCard .mc-event-visual{margin:0 0 16px}.leaguePublicationCard{min-width:0;overflow-wrap:anywhere}
/* Filtros: rótulos visíveis, campos confortáveis e opções extras recolhidas. */
.home #eventos .eventPrimaryFilters{display:grid;grid-template-columns:minmax(200px,1.6fr) minmax(190px,1.25fr) repeat(3,minmax(115px,1fr)) auto;gap:12px;align-items:end;margin:24px 0 12px}
.eventFilterField{display:flex;flex-direction:column;gap:7px;min-width:0;color:#34546b;font-size:12px;font-weight:600}
.home #eventos .eventFilterField input,.home #eventos .eventFilterField select{width:100%;min-width:0;height:48px;min-height:48px;margin:0;padding:11px 12px;border:1px solid #cddce5;border-radius:11px;background:#fff;color:#24445b;font:400 16px/1.4 Arial,sans-serif;box-sizing:border-box}
.home #eventos .eventFilterField input:focus,.home #eventos .eventFilterField select:focus{outline:3px solid #afd4ef;outline-offset:2px;border-color:#2271ab}
.home #eventos #favorite{width:auto;min-height:48px;margin:0;padding:11px 15px;font-size:13px;border:1px solid #cddce5;border-radius:11px;background:#f1f6fa;color:#24445b}.home #eventos #favorite[aria-pressed="true"]{background:#183e67;color:#fff;border-color:#183e67}
.eventMoreFilters{margin:0 0 10px;padding:0;border:1px solid #dae5ec;border-radius:12px;background:#f9fbfc}.eventMoreFilters summary{min-height:46px;padding:13px 15px;cursor:pointer;color:#32536c;font-size:13px;font-weight:600;box-sizing:border-box}.eventMoreFilters summary span{font-weight:400;color:#637e90}.home #eventos .eventMoreFilters .advancedFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:4px 15px 16px}
.eventResultsToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-bottom:14px}.home #eventos .eventResultsToolbar .resultInfo{margin:0;font-size:13px;color:#576e80}.eventResultsToolbar button{width:auto;min-height:44px;margin:0;padding:9px 12px;border:1px solid #d4e1e9;border-radius:9px;background:white;color:#23577d;font-size:12px}.eventResultsToolbar button[hidden]{display:none}
@media(max-width:1050px){.home #eventos .eventPrimaryFilters{grid-template-columns:repeat(4,minmax(0,1fr))}.eventFilter-search{grid-column:1/-1}}
@media(max-width:650px){
 .home #cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home #cards .eventCard{border-radius:14px}.home #cards .eventCard .content{padding:12px}.home #cards .eventCard h3{font-size:15px;line-height:1.4;letter-spacing:-.15px;margin:8px 0}.home #cards .eventCard .meta,.home #cards .eventCard .eventDateLine{font-size:12px;line-height:1.55}.home #cards .eventCard .eventImageHeader{padding:8px 10px;min-height:46px}.home #cards .eventCard .eventImageType{font-size:10px}.home #cards .eventCard .eventBtn{padding:9px 8px;font-size:11px}.home #cards .eventCard .cardActions{gap:6px;padding-top:13px}.home #cards .eventCard .eventSave{flex-basis:40px;width:40px;height:44px}.home #cards .eventCard .eventBtnArrow{display:none}.home #cards .eventCard .mc-event-brand{padding:5px 8px;min-height:37px}.home #cards .eventCard .mc-event-brand img{width:92px;height:30px}.home #cards .eventCard .mc-event-brand>span{font-size:7px;letter-spacing:.6px}.home #cards .eventCard .mc-event-poster{inset:7px;width:calc(100% - 14px);height:calc(100% - 14px)}
 .home #eventos .eventPrimaryFilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home #eventos .eventMoreFilters .advancedFilters{grid-template-columns:1fr}.eventFilterField{font-size:12px}.home #eventos #favorite{font-size:12px;padding:10px}.eventResultsToolbar{gap:8px}.home #eventos .eventResultsToolbar .resultInfo{font-size:12px}
 .mc-event-visual.is-detail{border-radius:13px;margin-bottom:20px}.is-detail .mc-event-brand img{width:125px;height:41px}
}
@media(max-width:350px){.home #cards .eventCard .mc-event-brand>span{display:none}.home #cards .eventCard .content{padding:10px}.home #cards .eventCard .eventImageType{font-size:9px}.home #cards .eventCard h3{font-size:14px}.home #cards .eventCard .eventBtn{font-size:10px;padding:8px 6px}.home #cards .eventCard .eventSave{flex-basis:36px;width:36px}.home #cards .eventCard .leagueEventSignal{font-size:9px}}
@media(prefers-reduced-motion:reduce){.home #cards .eventCard{transition:none}}

@media(max-width:300px){.home #cards{grid-template-columns:minmax(0,1fr)}}
/* Títulos extensos preservam a altura da grade; o nome completo está na página da atividade. */
.home #cards .eventCard h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.2em;max-height:4.2em}

/* V47 — miniaturas baixas na agenda; a foto inteira abre os detalhes ao toque. */
.home #cards .eventCard .mc-event-stage{aspect-ratio:auto;height:134px}
.home #cards .eventCard .mc-event-poster{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px)}
.home #cards .eventCard .mc-event-brand{min-height:26px;padding:2px 10px}
.home #cards .eventCard .mc-event-brand img{width:88px;height:27px}
.home #cards .eventCard .mc-event-brand>span{font-size:7px}
.home #cards .eventCard .eventImageHeader{min-height:36px;padding:6px 11px}
.home #cards .eventCard .eventDateBadge{display:flex;align-items:baseline;gap:4px}.home #cards .eventCard .eventDateBadge b{font-size:17px}
.home #cards .eventCard .content{padding:12px}
.home #cards .eventCard .eventCardLabels{display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%;margin:0 0 4px}
.home #cards .eventCard .eventCardLabels>*{margin:0;font-size:10px;line-height:1.35;padding:4px 6px}
.home #cards .eventCard h3{min-height:2.8em;max-height:2.8em;-webkit-line-clamp:2;margin:5px 0 7px}
.home #cards .eventCard .eventDateLine{margin:0 0 5px;font-size:12px;line-height:1.4}
.home #cards .eventCard .meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:5px;font-size:12px;line-height:1.4}
.home #cards .eventCard .cardActions{padding-top:8px}
.home #cards .eventCard .mc-event-fallback{inset:8px;gap:3px}.home #cards .eventCard .mc-event-fallback>span{font-size:21px}.home #cards .eventCard .mc-event-fallback strong{font-size:11px}.home #cards .eventCard .mc-event-fallback small{font-size:10px}
@media(max-width:650px){.home #cards .eventCard .mc-event-stage{height:108px}.home #cards .eventCard .content{padding:10px}.home #cards .eventCard .mc-event-brand{min-height:23px;padding:1px 7px}.home #cards .eventCard .mc-event-brand img{width:80px;height:25px}.home #cards .eventCard .eventImageHeader{min-height:32px;padding:5px 8px}.home #cards .eventCard .eventCardLabels>*{font-size:9px;padding:3px 5px}.home #cards .eventCard h3{font-size:14px}.home #cards .eventCard .eventDateLine,.home #cards .eventCard .meta{font-size:11px}.home #cards .eventCard .cardActions{padding-top:6px}}
@media(max-width:350px){.home #cards .eventCard .mc-event-stage{height:96px}}
.home #cards .eventCard .mc-event-stage{height:128px}
@media(max-width:650px){.home #cards .eventCard .mc-event-stage{height:96px}.home #cards .eventCard .eventCardLabels>*{padding:2px 4px}.home #cards .eventCard .eventBtn{padding:6px 7px}}
@media(max-width:350px){.home #cards .eventCard .mc-event-stage{height:88px}}

/* Público profissional: combinado com todos os tipos e formatos. */
.eventBadge.medicalOnly{background:#edf2fa;color:#173258;border:1px solid #c9d5e6;font-weight:700}
@media(min-width:651px) and (max-width:1200px){.home #eventos .eventPrimaryFilters{grid-template-columns:repeat(3,minmax(0,1fr))}.home #eventos .eventFilter-search{grid-column:1/-1}.home #eventos #favorite{grid-column:span 2}}
@media(max-width:650px){.home #eventos .eventFilter-audience{grid-column:1/-1}.home #eventos #favorite{grid-column:auto}}
