.cofo-el-card{--cofo-text:#161616;--cofo-muted:#777;--cofo-border:#dedede;--cofo-accent:#161616;display:grid;grid-template-columns:100px minmax(0,1fr) minmax(130px,.45fr) auto;grid-template-areas:'image content location action';align-items:center;gap:24px;width:100%;max-width:none;box-sizing:border-box;padding:10px 20px 10px 10px;background:#fff;border:1px solid var(--cofo-border);border-radius:6px;color:var(--cofo-text);transition:border-color .25s,background-color .25s}
.cofo-el-card:hover{border-color:#999;background:#fafafa}
.cofo-el-card .cofo-el-image{grid-area:image;width:100%;aspect-ratio:1/1;border-radius:4px;background-color:#eee;background-size:cover;background-position:center;background-repeat:no-repeat;align-self:center}
.cofo-el-card .cofo-el-content{grid-area:content;min-width:0}
.cofo-el-card .cofo-el-status{display:inline-flex;width:fit-content;padding:4px 9px;margin-bottom:7px;border-radius:3px;font-size:var(--cofo-px-status,calc(10px * var(--cofo-scale-status,1)));font-weight:700;line-height:1.2;letter-spacing:1.3px;white-space:nowrap}
.cofo-el-card .cofo-el-status-open{color:#21834c;background:#e7f2eb}.cofo-el-card .cofo-el-status-soon{color:#777;background:#eee}.cofo-el-card .cofo-el-status-lastchance{color:#b76b12;background:#fcf0df}
.cofo-el-card h3.cofo-el-title{color:var(--cofo-text)!important;font-size:var(--cofo-px-title,calc(clamp(20px,1.8vw,30px) * var(--cofo-scale-title,1)))!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.5px;overflow-wrap:anywhere;margin:0 0 4px!important;padding:0!important}
.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-px-subtitle,calc(13px * var(--cofo-scale-subtitle,1)));line-height:1.4;color:var(--cofo-muted)}.cofo-el-card .cofo-el-venue{font-size:var(--cofo-px-venue,calc(13px * var(--cofo-scale-venue,1)));line-height:1.4;color:var(--cofo-muted)}
.cofo-el-card .cofo-el-location{grid-area:location;min-width:0;overflow-wrap:anywhere}
.cofo-el-card .cofo-el-city{display:block;font-size:var(--cofo-px-city,calc(19px * var(--cofo-scale-city,1)));font-weight:800;line-height:1.2;margin-bottom:3px;color:var(--cofo-text)}
.cofo-el-card .cofo-el-venue{display:block}
.cofo-el-card .cofo-el-action{grid-area:action;min-width:0}
.cofo-el-card a.cofo-el-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 18px;background:var(--cofo-accent);color:#fff!important;border-radius:4px;font-size:var(--cofo-px-button,calc(11px * var(--cofo-scale-button,1)));font-weight:800;line-height:1.4;letter-spacing:.8px;white-space:nowrap;text-transform:uppercase;text-decoration:none!important;box-sizing:border-box;transition:background .25s}
.cofo-el-card .cofo-el-button svg{width:15px;height:15px;flex-shrink:0;transition:transform .25s}.cofo-el-card a.cofo-el-button:hover{background:var(--cofo-accent);filter:brightness(.85)}.cofo-el-card .cofo-el-button:hover svg{transform:translate(2px,-2px)}.cofo-el-card .cofo-el-button:focus-visible{outline:2px solid #161616;outline-offset:3px}
@media(max-width:1200px){.cofo-el-card{grid-template-columns:90px minmax(0,1fr) minmax(110px,.4fr) auto;gap:16px;padding:10px 14px 10px 10px}.cofo-el-card a.cofo-el-button{padding:12px 14px;gap:12px;font-size:var(--cofo-px-button,calc(10px * var(--cofo-scale-button,1)))}}
@media(max-width:999px){.cofo-el-card{grid-template-columns:90px minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:'image content location' 'image action action';gap:8px 18px;padding:10px}.cofo-el-card .cofo-el-city{font-size:var(--cofo-px-city,calc(16px * var(--cofo-scale-city,1)))}.cofo-el-card a.cofo-el-button{display:flex;width:100%;position:relative;padding:10px 30px}.cofo-el-card .cofo-el-button svg{position:absolute;right:12px}}
@media(max-width:650px){.cofo-el-card{grid-template-columns:85px minmax(0,1fr);grid-template-areas:'image content' 'image location' 'action action';gap:7px 12px;padding:10px}.cofo-el-card .cofo-el-image{align-self:start}.cofo-el-card .cofo-el-content{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'title status' 'subtitle subtitle';align-items:start;gap:4px 7px}.cofo-el-card h3.cofo-el-title{grid-area:title;font-size:var(--cofo-px-title,calc(21px * var(--cofo-scale-title,1)))!important;line-height:1.15!important;margin:0!important}.cofo-el-card .cofo-el-status{grid-area:status;justify-self:end;font-size:var(--cofo-px-status,calc(9px * var(--cofo-scale-status,1)));letter-spacing:.6px;padding:5px 7px;margin:0}.cofo-el-card .cofo-el-subtitle{grid-area:subtitle}.cofo-el-card .cofo-el-location{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px}.cofo-el-card .cofo-el-city{font-size:var(--cofo-px-city,calc(16px * var(--cofo-scale-city,1)));margin:0}.cofo-el-card .cofo-el-city:not(:empty)+.cofo-el-venue:before{content:'· '}.cofo-el-card a.cofo-el-button{min-height:42px;font-size:var(--cofo-px-button,calc(12px * var(--cofo-scale-button,1)));padding:11px 30px}.cofo-el-card .cofo-el-action{margin-top:4px}}
@media(max-width:380px){.cofo-el-card{grid-template-columns:70px minmax(0,1fr);gap:6px 10px;padding:9px}.cofo-el-card h3.cofo-el-title{font-size:var(--cofo-px-title,calc(19px * var(--cofo-scale-title,1)))!important}.cofo-el-card .cofo-el-status{font-size:var(--cofo-px-status,calc(8px * var(--cofo-scale-status,1)));padding:4px 6px;letter-spacing:.3px}.cofo-el-card .cofo-el-city{font-size:var(--cofo-px-city,calc(15px * var(--cofo-scale-city,1)))}.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-px-subtitle,calc(12px * var(--cofo-scale-subtitle,1)))}.cofo-el-card .cofo-el-venue{font-size:var(--cofo-px-venue,calc(12px * var(--cofo-scale-venue,1)))}}
@media(prefers-reduced-motion:reduce){.cofo-el-card,.cofo-el-card *{transition:none!important;transform:none!important}}

/* Optional timeline */
.cofo-el-card .cofo-el-timeline{grid-area:timeline;min-width:0;margin-top:8px;width:100%}
.cofo-el-card .cofo-el-track{height:5px;border-radius:4px;background:var(--cofo-timeline-track,#e5e5e5);overflow:hidden}
.cofo-el-card .cofo-el-track>span{display:block;height:100%;border-radius:4px;background:var(--cofo-timeline-fill,#21834c)}
.cofo-el-card .cofo-el-timeline-labels{display:flex;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;font-size:var(--cofo-px-timeline,12px);line-height:1.3;margin-top:4px;color:var(--cofo-muted)}
.cofo-el-card .cofo-el-timeline-labels>span:first-child{color:var(--cofo-timeline-fill,#21834c);font-weight:700}
.cofo-el-card .cofo-el-status{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){.cofo-el-card .cofo-el-content{grid-template-columns:minmax(0,1fr) minmax(0,max-content);grid-template-areas:'title status' 'subtitle subtitle'}.cofo-el-card .cofo-el-status{max-width:95px}.cofo-el-card .cofo-el-timeline{margin-top:3px}.cofo-el-card .cofo-el-timeline-labels{font-size:11px}}
@media(max-width:650px){.cofo-el-card .cofo-el-timeline{grid-area:auto;grid-column:1/-1}}
.cofo-el-list{display:flex;flex-direction:column;gap:var(--cofo-list-gap,10px);width:100%}.cofo-el-card{border-radius:var(--cofo-radius,6px)}@media(min-width:1201px){.cofo-el-card{grid-template-columns:var(--cofo-image-size,100px) minmax(0,1fr) minmax(130px,.45fr) auto}}

/* Version 2.2: global card design and independent mobile typography. */
.cofo-el-card{background:var(--cofo-card-bg,#fff)}
.cofo-el-card:hover{background:var(--cofo-card-bg,#fff)}
.cofo-el-card h3.cofo-el-title{line-height:var(--cofo-title-leading,1.1)!important}
.cofo-el-card .cofo-el-mobile-link{display:none}
@media(max-width:650px){
.cofo-el-card h3.cofo-el-title{line-height:var(--cofo-title-leading,1.15)!important;font-size:var(--cofo-mobile-px-title,calc(21px * var(--cofo-mobile-scale-title,var(--cofo-scale-title,1))))!important}
.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-mobile-px-subtitle,calc(13px * var(--cofo-mobile-scale-subtitle,var(--cofo-scale-subtitle,1))))}
.cofo-el-card .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(16px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}
.cofo-el-card .cofo-el-venue{font-size:var(--cofo-mobile-px-venue,calc(13px * var(--cofo-mobile-scale-venue,var(--cofo-scale-venue,1))))}
.cofo-el-card .cofo-el-status{font-size:var(--cofo-mobile-px-status,calc(9px * var(--cofo-mobile-scale-status,var(--cofo-scale-status,1))))}
.cofo-el-card a.cofo-el-button{font-size:var(--cofo-mobile-px-button,calc(12px * var(--cofo-mobile-scale-button,var(--cofo-scale-button,1))))}
.cofo-el-card .cofo-el-timeline-labels{font-size:var(--cofo-mobile-px-timeline,calc(11px * var(--cofo-mobile-scale-timeline,1)))}
.cofo-el-card.cofo-el-mobile-click{position:relative;grid-template-areas:'image content' 'image location';cursor:pointer}
.cofo-el-card.cofo-el-mobile-click .cofo-el-action{display:none}
.cofo-el-card.cofo-el-mobile-click .cofo-el-mobile-link{display:block;position:absolute;inset:0;z-index:2;border-radius:inherit}
.cofo-el-card .cofo-el-mobile-link:focus-visible{outline:2px solid #161616;outline-offset:3px}
}
@media(max-width:380px){
.cofo-el-card h3.cofo-el-title{font-size:var(--cofo-mobile-px-title,calc(19px * var(--cofo-mobile-scale-title,var(--cofo-scale-title,1))))!important}
.cofo-el-card .cofo-el-status{font-size:var(--cofo-mobile-px-status,calc(8px * var(--cofo-mobile-scale-status,var(--cofo-scale-status,1))))}
.cofo-el-card .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(15px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}
.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-mobile-px-subtitle,calc(12px * var(--cofo-mobile-scale-subtitle,var(--cofo-scale-subtitle,1))))}
.cofo-el-card .cofo-el-venue{font-size:var(--cofo-mobile-px-venue,calc(12px * var(--cofo-mobile-scale-venue,var(--cofo-scale-venue,1))))}
}
/* 3.0 – opt-in layouts; Classic remains unchanged. */
.cofo-el-list:not(.cofo-layout-classic){display:grid;grid-template-columns:repeat(var(--cofo-cols,3),minmax(0,1fr));align-items:stretch}
.cofo-el-card.cofo-template-gallery,.cofo-el-card.cofo-template-cinematic{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px;overflow:hidden;height:100%}
.cofo-template-gallery .cofo-el-image,.cofo-template-cinematic .cofo-el-image{width:100%;flex:none}
.cofo-template-cinematic .cofo-el-image{aspect-ratio:16/9}
.cofo-el-card.cofo-template-cinematic{background:#181e26;--cofo-text:#fff;--cofo-muted:#c9cdd2;border-color:#343b44}
.cofo-template-gallery .cofo-el-content,.cofo-template-cinematic .cofo-el-content{display:block;flex:1}
.cofo-template-gallery .cofo-el-action,.cofo-template-cinematic .cofo-el-action{margin-top:auto}
.cofo-template-gallery a.cofo-el-button,.cofo-template-cinematic a.cofo-el-button{display:flex;width:100%;white-space:normal;text-align:center}
.cofo-el-card.cofo-template-compact{position:relative;display:grid;grid-template-columns:minmax(55px,85px) minmax(0,1fr) 24px;grid-template-areas:'image content action' 'image location action';gap:6px 12px;padding:10px;height:100%}
.cofo-template-compact .cofo-el-content{display:block}.cofo-template-compact .cofo-el-location{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}.cofo-template-compact .cofo-el-city{font-size:var(--cofo-px-city,calc(16px * var(--cofo-scale-city,1)));margin:0}.cofo-template-compact .cofo-el-action{margin:0}.cofo-template-compact a.cofo-el-button{position:static;background:transparent!important;color:var(--cofo-text)!important;padding:0;min-height:0;font-size:0!important;gap:0;display:block}.cofo-template-compact .cofo-el-button svg{position:static;width:20px;height:20px}.cofo-template-compact a.cofo-el-button:after{content:'';position:absolute;inset:0}.cofo-template-compact .cofo-el-subtitle{display:none}
@media(max-width:999px){.cofo-el-list:not(.cofo-layout-classic){grid-template-columns:repeat(var(--cofo-cols-tablet,2),minmax(0,1fr))}}
@media(max-width:650px){.cofo-el-list:not(.cofo-layout-classic){grid-template-columns:repeat(var(--cofo-cols-mobile,1),minmax(0,1fr))}.cofo-el-card.cofo-template-gallery,.cofo-el-card.cofo-template-cinematic{gap:8px;padding:9px}.cofo-el-card.cofo-template-compact{grid-template-columns:65px minmax(0,1fr) 20px;gap:5px 8px}.cofo-el-card.cofo-template-compact.cofo-el-mobile-click{grid-template-columns:65px minmax(0,1fr);grid-template-areas:'image content' 'image location'}.cofo-template-compact .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(15px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}.cofo-template-gallery .cofo-el-status,.cofo-template-cinematic .cofo-el-status{margin-bottom:5px}.cofo-template-gallery .cofo-el-location,.cofo-template-cinematic .cofo-el-location{display:block}.cofo-template-gallery .cofo-el-venue:before,.cofo-template-cinematic .cofo-el-venue:before{content:none!important}}
/* 3.1 – optional global color schemes and independently editable text colors. */
.cofo-el-card.cofo-el-card{background:var(--cofo-mode-bg,var(--cofo-card-bg,#fff));border-color:var(--cofo-mode-border,var(--cofo-border));color:var(--cofo-mode-text,var(--cofo-text))}
.cofo-el-card.cofo-template-cinematic{background:var(--cofo-mode-bg,#181e26)}
.cofo-el-card h3.cofo-el-title{color:var(--cofo-text-title,var(--cofo-mode-text,var(--cofo-text)))!important}
.cofo-el-card .cofo-el-subtitle{color:var(--cofo-text-subtitle,var(--cofo-mode-muted,var(--cofo-muted)))}
.cofo-el-card .cofo-el-city{color:var(--cofo-text-city,var(--cofo-mode-text,var(--cofo-text)))}
.cofo-el-card .cofo-el-venue{color:var(--cofo-text-venue,var(--cofo-mode-muted,var(--cofo-muted)))}
.cofo-el-card a.cofo-el-button{color:var(--cofo-text-button,#fff)!important}
.cofo-el-card.cofo-template-compact a.cofo-el-button{color:var(--cofo-text-button,var(--cofo-mode-text,var(--cofo-text)))!important}
.cofo-el-card .cofo-el-status-open{color:var(--cofo-text-status-open,#21834c)}
.cofo-el-card .cofo-el-status-soon{color:var(--cofo-text-status-soon,#777)}
.cofo-el-card .cofo-el-status-lastchance{color:var(--cofo-text-status-lastchance,#b76b12)}
.cofo-el-card .cofo-el-timeline-labels{color:var(--cofo-text-timeline-remaining,var(--cofo-mode-muted,var(--cofo-muted)))}
.cofo-el-card .cofo-el-timeline-labels>span:first-child{color:var(--cofo-text-timeline-percent,var(--cofo-timeline-fill,#21834c))}

/* 4.0: Explicit mobile pixels are independent; unset values retain original responsive scales. */
@media(max-width:650px){.cofo-el-card h3.cofo-el-title{font-size:var(--cofo-mobile-px-title,calc(21px * var(--cofo-mobile-scale-title,var(--cofo-scale-title,1))))!important}.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-mobile-px-subtitle,calc(13px * var(--cofo-mobile-scale-subtitle,var(--cofo-scale-subtitle,1))))}.cofo-el-card .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(16px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}.cofo-el-card .cofo-el-venue{font-size:var(--cofo-mobile-px-venue,calc(13px * var(--cofo-mobile-scale-venue,var(--cofo-scale-venue,1))))}.cofo-el-card .cofo-el-status{font-size:var(--cofo-mobile-px-status,calc(9px * var(--cofo-mobile-scale-status,var(--cofo-scale-status,1))))}.cofo-el-card a.cofo-el-button{font-size:var(--cofo-mobile-px-button,calc(12px * var(--cofo-mobile-scale-button,var(--cofo-scale-button,1))))}.cofo-el-card .cofo-el-timeline-labels{font-size:var(--cofo-mobile-px-timeline,calc(11px * var(--cofo-mobile-scale-timeline,1)))}.cofo-el-card.cofo-template-compact .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(15px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}}
@media(max-width:380px){.cofo-el-card h3.cofo-el-title{font-size:var(--cofo-mobile-px-title,calc(19px * var(--cofo-mobile-scale-title,var(--cofo-scale-title,1))))!important}.cofo-el-card .cofo-el-status{font-size:var(--cofo-mobile-px-status,calc(8px * var(--cofo-mobile-scale-status,var(--cofo-scale-status,1))))}.cofo-el-card .cofo-el-city{font-size:var(--cofo-mobile-px-city,calc(15px * var(--cofo-mobile-scale-city,var(--cofo-scale-city,1))))}.cofo-el-card .cofo-el-subtitle{font-size:var(--cofo-mobile-px-subtitle,calc(12px * var(--cofo-mobile-scale-subtitle,var(--cofo-scale-subtitle,1))))}.cofo-el-card .cofo-el-venue{font-size:var(--cofo-mobile-px-venue,calc(12px * var(--cofo-mobile-scale-venue,var(--cofo-scale-venue,1))))}}

/* 4.1 – optional action and independent profile layouts. */
.cofo-el-card.cofo-el-no-button.cofo-template-classic{grid-template-columns:var(--cofo-image-size,100px) minmax(0,1fr) minmax(130px,.45fr);grid-template-areas:'image content location'}
.cofo-el-card.cofo-el-no-button.cofo-template-compact{grid-template-columns:minmax(55px,85px) minmax(0,1fr);grid-template-areas:'image content' 'image location'}
.cofo-el-card.cofo-el-card-click{position:relative;cursor:pointer}
.cofo-el-card.cofo-el-card-click .cofo-el-mobile-link{display:block;position:absolute;inset:0;z-index:2;border-radius:inherit}
.cofo-el-card.cofo-el-card-click .cofo-el-mobile-link:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
@media(max-width:999px){.cofo-el-card.cofo-el-no-button.cofo-template-classic{grid-template-columns:90px minmax(0,1.5fr) minmax(0,1fr)}}
@media(max-width:650px){.cofo-el-card.cofo-el-no-button.cofo-template-classic{grid-template-columns:85px minmax(0,1fr);grid-template-areas:'image content' 'image location'}}
@media(max-width:380px){.cofo-el-card.cofo-el-no-button.cofo-template-classic{grid-template-columns:70px minmax(0,1fr)}}
/* Gallery: full-bleed square artwork, aligned information and action areas. */
.cofo-el-card.cofo-template-gallery{padding:0;gap:0;overflow:hidden;min-width:0;box-shadow:0 2px 8px rgba(0,0,0,.045);transition:box-shadow .25s,border-color .25s}
.cofo-el-card.cofo-template-gallery .cofo-el-image{border-radius:0;aspect-ratio:1/1;align-self:stretch;background-position:center;background-size:cover}
.cofo-el-card.cofo-template-gallery .cofo-el-content{padding:16px 16px 12px;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.cofo-el-card.cofo-template-gallery .cofo-el-status{margin:0 0 2px;max-width:100%}
.cofo-el-card.cofo-template-gallery h3.cofo-el-title{margin:0!important;overflow-wrap:anywhere}
.cofo-el-card.cofo-template-gallery .cofo-el-timeline{margin-top:auto;padding-top:8px}
.cofo-el-card.cofo-template-gallery .cofo-el-location{border-top:1px solid var(--cofo-mode-border,var(--cofo-border));margin:0 16px;padding:12px 0;display:block}
.cofo-el-card.cofo-template-gallery .cofo-el-venue:before{content:none!important}
.cofo-el-card.cofo-template-gallery .cofo-el-action{margin:0;padding:0 16px 16px}
.cofo-el-card.cofo-template-gallery a.cofo-el-button{width:100%;min-height:42px;padding:10px 12px;gap:8px}
.cofo-el-card.cofo-template-gallery .cofo-el-button svg{position:static}
.cofo-el-card.cofo-template-gallery:hover{box-shadow:0 8px 24px rgba(0,0,0,.10)}
@media(max-width:650px){.cofo-el-card.cofo-template-gallery .cofo-el-content{padding:12px 12px 10px}.cofo-el-card.cofo-template-gallery .cofo-el-location{margin:0 12px;padding:10px 0}.cofo-el-card.cofo-template-gallery .cofo-el-action{padding:0 12px 12px}.cofo-el-card.cofo-template-gallery.cofo-el-mobile-click .cofo-el-action{display:none}}
