/* Compact, venue-led card previews. Full titles, sessions, access and artwork stay in detail views. */
section#vs-route-app .vs-schedule .vs-event .vs-event-body,.cinema-page .event-list .event{display:flex;flex-direction:column;min-height:0;grid-template-columns:none}
section#vs-route-app .vs-schedule .vs-event-header,.cinema-page .event-list .event-header{display:flex;flex-direction:row;justify-content:flex-start;border-right:0;border-bottom:1px solid currentColor;padding:9px 13px;gap:8px}
section#vs-route-app .vs-schedule .vs-event-header .vs-type,.cinema-page .event-list .event-category{display:block;max-width:100%;font-size:.72rem;line-height:1.3;text-align:left}
section#vs-route-app .vs-schedule .vs-open,.cinema-page .event-list .event-open{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-content:start;align-items:start;gap:5px 12px;padding:12px 13px;min-height:0;flex:1}
section#vs-route-app .vs-schedule .vs-open .vs-title,.cinema-page .event-list .event-open .event-title{grid-column:1/-1;font-size:1.04rem;line-height:1.3;margin:0 0 5px;display:block;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:break-word}
.card-schedule{grid-column:1;display:grid;gap:3px;min-width:0}
section#vs-route-app .vs-schedule .vs-card-date,.cinema-page .event-list .event-card-date{font-size:.82rem;font-weight:750;line-height:1.35}
section#vs-route-app .vs-schedule .vs-card-time,.cinema-page .event-list .event-time{font-size:.78rem;line-height:1.35;margin:0}
.card-instructor{grid-column:1;display:block;font-size:.78rem;line-height:1.4;font-weight:600;max-width:100%}
.card-venue-preview{display:flex;align-items:center;justify-content:center;grid-column:2;grid-row:2/span 2;align-self:center;justify-self:end;width:132px;min-width:0;max-width:100%;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:inherit}
.card-venue-preview img{display:block;max-width:100%;width:132px;height:68px;object-fit:contain;filter:brightness(0);mix-blend-mode:normal}
.card-venue-preview img[src*="filmoteca"]{height:48px}
.card-venue-preview img[src$="/los-de-arriba.png"]{height:72px;filter:grayscale(1) invert(1) brightness(7) invert(1);mix-blend-mode:multiply}
.card-venue-preview--text{font-size:.75rem;line-height:1.4;text-align:center}
section#vs-route-app .vs-schedule .vs-card-action,.cinema-page .event-list .event-cta{grid-column:1/-1;margin:5px 0 0;font-size:.73rem;line-height:1.4;text-transform:none;letter-spacing:0}
section#vs-route-app .vs-schedule .vs-event-footer,.cinema-page .event-list .event-footer{display:flex;flex-direction:row;justify-content:flex-end;border-left:0;border-top:1px solid currentColor;gap:0;min-height:44px}
section#vs-route-app .vs-schedule .vs-fav,.cinema-page .event-list .favorite{flex:0 0 auto;width:auto;min-width:76px;min-height:44px;padding:10px 15px;font-size:.8rem;line-height:1.3}
/* Readable type, compact title, first date, facilitator and a venue logo on every workshop. */
.workshop-disclosure>summary{padding:13px 14px;gap:8px}
.workshop-disclosure .workshop-overview{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:3px 10px;min-width:0}
.workshop-type{grid-column:1/-1;display:block;font-size:.67rem;font-weight:700;line-height:1.35;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;color:#4c632e}
.workshop-disclosure .workshop-title{grid-column:1/-1;font-size:1rem;line-height:1.28;margin-bottom:5px}
.workshop-disclosure :is(.workshop-date,.workshop-hours,.workshop-instructor){grid-column:1;font-size:.77rem;line-height:1.4;margin:0}
.workshop-disclosure .workshop-date{font-weight:700}
.workshop-disclosure .workshop-instructor{margin-top:3px}
.workshop-disclosure .workshop-venue.card-venue-preview{grid-column:2;grid-row:3/span 3;margin:0;padding:0;min-height:68px}
.workshop-disclosure .detail-prompt{grid-column:1/-1;margin-top:6px;font-size:.72rem}
.workshop-registration-status{font-size:.76rem;line-height:1.4;font-weight:700;color:#405929;margin:0 0 8px}
@media(max-width:380px){section#vs-route-app .vs-schedule .vs-open,.cinema-page .event-list .event-open,.workshop-disclosure .workshop-overview{grid-template-columns:minmax(0,1fr) 116px;column-gap:8px}.card-venue-preview{width:116px;padding:0}.card-venue-preview img{width:116px;height:68px}}
@media print{.card-venue-preview{break-inside:avoid}.workshop-disclosure .detail-prompt{display:none}}
/* The supplied white Somos Voces mark uses the same ink treatment already used in its detail view. */
.card-venue-preview img[src$="/somos-voces-white.png"]{filter:brightness(0)}

/* Preserve the original silhouettes; use their transparent ink in high contrast. */
.card-venue-preview img[src$="/talleres.png"]{object-fit:cover;object-position:center;height:68px}
.card-venue-preview img[src*="galeria-la-violeta"]{height:76px}
section#vs-route-app .vs-tone-purple .card-venue-preview img:not([src$="/los-de-arriba.png"]),.cinema-page .verbena-tone-purple .card-venue-preview img:not([src$="/los-de-arriba.png"]){filter:brightness(0) invert(1)}
section#vs-route-app .vs-tone-purple .card-venue-preview img[src$="/los-de-arriba.png"],.cinema-page .verbena-tone-purple .card-venue-preview img[src$="/los-de-arriba.png"]{filter:grayscale(1) invert(1) brightness(7);mix-blend-mode:screen}

/* Filmoteca: show the three original marks at readable sizes in two rows.
   Source is the unchanged 1650×405 transparent official lockup. The background
   windows show Filmoteca (129,141–383,296), Cultura UNAM (565,141–960,289)
   and UNAM (1133,141–1522,287); no mark is redrawn, stretched or recoloured. */
.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"]){position:relative;display:block;grid-column:1/-1;grid-row:auto;justify-self:start;align-self:start;width:284px;max-width:100%;height:158px;min-height:158px;margin:8px 0 0;overflow:hidden;background:transparent url('/logos/filmoteca-unam-pleca.png') no-repeat calc(50% + 341.4px) -84.6px / 990px 243px}
.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::before,.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::after{content:'';position:absolute;bottom:0;width:134px;height:52px;background-image:url('/logos/filmoteca-unam-pleca.png');background-repeat:no-repeat;background-size:528px 129.6px}
.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::before{left:0;background-position:-178px -44px}
.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::after{right:0;background-position:-360px -44px}
/* Keep the original complete alt text in the accessibility tree. */
.card-venue-preview>img[src$="/filmoteca-unam-pleca.png"]{position:absolute;width:1px!important;height:1px!important;padding:0;border:0;margin:-1px;clip-path:inset(50%);overflow:hidden}
.workshop-disclosure .workshop-venue.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"]){grid-column:1/-1;grid-row:auto;margin:8px 0 0;min-height:158px}
@media(max-width:380px){.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"]){width:270px}.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::before,.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::after{width:129px}}
/* Very narrow phones keep all marks large rather than squeezing the lower row. */
@media(max-width:340px){.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"]),.workshop-disclosure .workshop-venue.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"]){height:218px;min-height:218px}.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::before{left:calc(50% - 67px);bottom:58px;width:134px}.card-venue-preview:has(>img[src$="/filmoteca-unam-pleca.png"])::after{right:calc(50% - 67px);width:134px}}
