/* Carmassi Architecture — Dynamic single Event template */

/* Full-width, viewport-confined Event page. */
html.csa-event-page-lock,
body.csa-event-template-active {
    width:100%;
    max-width:100%;
    margin:0!important;
    overflow:hidden!important;
    overscroll-behavior:none;
}
body.csa-event-template-active #page,
body.csa-event-template-active #content,
body.csa-event-template-active .site-content,
body.csa-event-template-active #content > .ast-container,
body.csa-event-template-active #content .ast-container,
body.csa-event-template-active #primary,
body.csa-event-template-active .site-main,
body.csa-event-template-active .entry-content {
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
body.csa-event-template-active #csa-single-event.ast-article-single,
body.csa-event-template-active #csa-single-event,
#csa-single-event {
    box-sizing:border-box;
    width:100%!important;
    max-width:100%!important;
    height:var(--csa-viewer-height);
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
    background:#151515!important;
}
#csa-single-event,
#csa-single-event * { box-sizing:border-box; }

#csa-single-event {
    --csa-black:#151515;
    --csa-panel:#292929;
    --csa-white:#fff;
    --csa-muted:#d0d0d0;
    --csa-line:rgba(255,255,255,.16);
    --csa-accent:#ff5cbb;
    --csa-control:#a7a7a7;
    --csa-viewer-height:760px;
    position:relative;
    color:var(--csa-white);
    font-family:inherit;
}
#csa-single-event .csa-event-viewer {
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    min-height:0;
    margin:0;
    padding:0;
    overflow:hidden;
    background:var(--csa-black);
}

/* Image stage: the image always uses the largest possible contained area. */
#csa-single-event .csa-event-stage {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1 1 0;
    width:100%;
    min-width:0;
    min-height:0;
    margin:0;
    padding:0;
    overflow:hidden;
    background:var(--csa-black);
    line-height:0;
}
#csa-single-event .csa-event-main-image {
    display:block;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    max-width:100%;
    max-height:100%;
    margin:0;
    padding:0;
    border:0;
    outline:0;
    box-shadow:none;
    object-fit:contain;
    object-position:center center;
    background:transparent;
}
#csa-single-event .csa-event-poster-missing {
    display:flex;
    align-items:center;
    justify-content:center;
    width:min(620px,80vw);
    height:min(520px,62vh);
    border:1px solid rgba(255,255,255,.22);
    color:var(--csa-muted);
    font-size:13px;
    line-height:1.3;
    letter-spacing:.04em;
    text-transform:uppercase;
}

/* Desktop previous/next navigation overlays only the stage. */
#csa-single-event .csa-event-arrow {
    position:absolute;
    top:50%;
    z-index:8;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:82px;
    margin:0;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    color:var(--csa-white)!important;
    font-family:Arial,sans-serif;
    font-size:52px!important;
    font-weight:200;
    line-height:1;
    opacity:.92!important;
    text-decoration:none!important;
    text-shadow:0 1px 8px rgba(0,0,0,.92);
    transform:translateY(-50%);
    -webkit-appearance:none!important;
    appearance:none!important;
    cursor:pointer;
    transition:color 180ms ease,opacity 180ms ease,transform 180ms ease;
}
#csa-single-event .csa-event-arrow:hover,
#csa-single-event .csa-event-arrow:focus-visible {
    color:var(--csa-accent)!important;
    opacity:1!important;
    outline:none;
    transform:translateY(-50%) scale(1.06);
}
#csa-single-event .csa-event-arrow:disabled {
    color:var(--csa-white)!important;
    opacity:.62!important;
    cursor:default;
    transform:translateY(-50%);
}
#csa-single-event .csa-event-arrow-left { left:0; }
#csa-single-event .csa-event-arrow-right { right:0; }

/* Control rail. Mobile-only previous/next controls remain hidden on desktop. */
#csa-single-event .csa-event-controls {
    position:absolute;
    top:6px;
    right:6px;
    z-index:20;
    display:flex;
    flex-direction:column;
    gap:5px;
    margin:0;
    padding:0;
}
#csa-single-event .csa-event-control.csa-event-mobile-nav { display:none!important; }
#csa-single-event .csa-event-control {
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    margin:0;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:var(--csa-control)!important;
    background-image:none!important;
    box-shadow:none!important;
    color:#171717!important;
    font-family:Arial,sans-serif;
    font-size:17px;
    font-weight:600;
    line-height:1;
    text-decoration:none!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    cursor:pointer;
    transition:background-color 180ms ease,color 180ms ease,opacity 180ms ease;
}
#csa-single-event .csa-event-control:hover,
#csa-single-event .csa-event-control:focus-visible {
    background:var(--csa-white)!important;
    color:#000!important;
    outline:none;
}
#csa-single-event .csa-event-control.is-active {
    background:var(--csa-accent)!important;
    color:#000!important;
}
#csa-single-event .csa-event-control:disabled {
    opacity:.45;
    cursor:default;
}
#csa-single-event .csa-icon-fullscreen {
    width:16px;
    height:16px;
    background:linear-gradient(currentColor,currentColor) left top/6px 2px no-repeat,linear-gradient(currentColor,currentColor) left top/2px 6px no-repeat,linear-gradient(currentColor,currentColor) right top/6px 2px no-repeat,linear-gradient(currentColor,currentColor) right top/2px 6px no-repeat,linear-gradient(currentColor,currentColor) left bottom/6px 2px no-repeat,linear-gradient(currentColor,currentColor) left bottom/2px 6px no-repeat,linear-gradient(currentColor,currentColor) right bottom/6px 2px no-repeat,linear-gradient(currentColor,currentColor) right bottom/2px 6px no-repeat;
}
#csa-single-event .csa-icon-info {
    display:flex;
    align-items:center;
    justify-content:center;
    width:17px;
    height:17px;
    border:2px solid currentColor;
    border-radius:50%;
    font-family:Georgia,serif;
    font-size:13px;
    font-weight:700;
}
#csa-single-event .csa-icon-filmstrip {
    display:block;
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.55;
    stroke-linecap:round;
    stroke-linejoin:round;
}
#csa-single-event .csa-icon-filmstrip .csa-film-hole { fill:currentColor;stroke:none; }
#csa-single-event .csa-icon-share {
    display:block;
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
#csa-single-event .csa-event-share-status {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
    border:0!important;
}

/* Full-width title, information and carousel bands. */
#csa-single-event .csa-event-copy,
#csa-single-event .csa-event-information,
#csa-single-event .csa-event-thumbnails {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border-right:0!important;
    border-left:0!important;
}
#csa-single-event .csa-event-copy {
    flex:0 0 auto;
    max-height:300px;
    padding:10px 54px 14px;
    overflow-x:hidden;
    overflow-y:auto;
    border-top:1px solid var(--csa-line);
    border-bottom:1px solid var(--csa-line);
    background:var(--csa-panel);
    color:var(--csa-white);
    text-align:center;
    opacity:1;
    transition:max-height 260ms ease,padding 260ms ease,opacity 180ms ease,border-color 260ms ease;
}
#csa-single-event .csa-event-copy-inner { width:100%;max-width:1320px;margin:0 auto; }
#csa-single-event .csa-event-kicker {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin:0 0 4px!important;
    color:var(--csa-white)!important;
    font-size:10px;
    font-weight:600;
    line-height:1.25;
    letter-spacing:.045em;
    text-transform:uppercase;
}
#csa-single-event .csa-event-kicker-separator { color:var(--csa-accent); }
#csa-single-event .csa-event-title {
    margin:0!important;
    padding:0!important;
    color:var(--csa-white)!important;
    font-family:inherit;
    font-size:clamp(16px,1.18vw,21px);
    font-weight:500;
    line-height:1.12;
    letter-spacing:.01em;
}
#csa-single-event .csa-event-title-translation {
    max-width:1260px;
    margin:3px auto 0!important;
    padding:0!important;
    color:var(--csa-white)!important;
    font-size:clamp(11px,.82vw,14px);
    font-weight:400;
    line-height:1.2;
    letter-spacing:.01em;
    opacity:.88;
}
#csa-single-event .csa-event-description {
    max-width:1260px;
    margin:4px auto 0!important;
    padding:0!important;
    color:var(--csa-white)!important;
    font-size:clamp(13px,1vw,16px);
    font-weight:400;
    line-height:1.42;
}
#csa-single-event.csa-copy-hidden .csa-event-copy {
    max-height:0;
    padding-top:0;
    padding-bottom:0;
    border-top-color:transparent;
    border-bottom-color:transparent;
    opacity:0;
}

#csa-single-event .csa-event-information {
    flex:0 0 auto;
    max-height:0;
    overflow:hidden;
    border-bottom:0 solid var(--csa-line);
    background:var(--csa-panel);
    opacity:0;
    transition:max-height 260ms ease,opacity 180ms ease,border-width 260ms ease;
}
#csa-single-event.csa-info-open .csa-event-information {
    max-height:230px;
    overflow-x:hidden;
    overflow-y:auto;
    border-bottom-width:1px;
    opacity:1;
}
#csa-single-event .csa-event-information-inner {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px 18px;
    width:100%;
    max-width:1500px;
    margin:0 auto;
    padding:10px 24px 12px;
}
#csa-single-event .csa-event-data-group { min-width:0; }
#csa-single-event .csa-event-data-group-wide { grid-column:span 2; }
#csa-single-event .csa-event-data-group-full { grid-column:1/-1; }
#csa-single-event .csa-event-data-label {
    display:block;
    margin-bottom:3px;
    color:var(--csa-accent);
    font-size:8px;
    font-weight:700;
    line-height:1.15;
    letter-spacing:.08em;
    text-transform:uppercase;
}
#csa-single-event .csa-event-data-value {
    display:block;
    color:var(--csa-white);
    font-size:10px;
    font-weight:400;
    line-height:1.28;
    overflow-wrap:anywhere;
}
#csa-single-event .csa-event-resource-group {
    grid-column:1/-1;
    display:flex;
    align-items:flex-start;
    gap:12px;
    min-width:0;
    padding-top:1px;
}
#csa-single-event .csa-event-resource-heading {
    flex:0 0 auto;
    padding-top:6px;
    color:var(--csa-accent);
    font-size:8px;
    font-weight:700;
    line-height:1.15;
    letter-spacing:.08em;
    text-transform:uppercase;
}
#csa-single-event .csa-event-resource-links { display:flex;flex-wrap:wrap;gap:6px; }
#csa-single-event .csa-event-resource-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:25px;
    margin:0;
    padding:5px 9px;
    border:1px solid rgba(255,255,255,.42);
    border-radius:0;
    background:transparent;
    color:var(--csa-white)!important;
    font-size:8px;
    font-weight:700;
    line-height:1;
    letter-spacing:.07em;
    text-decoration:none!important;
    text-transform:uppercase;
    box-shadow:none;
    transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease;
}
#csa-single-event .csa-event-resource-link:hover,
#csa-single-event .csa-event-resource-link:focus-visible {
    border-color:var(--csa-accent);
    background:var(--csa-accent);
    color:#111!important;
    outline:none;
}
#csa-single-event .csa-event-resource-icon { font-family:Arial,sans-serif;font-size:13px;font-weight:400;line-height:1; }

#csa-single-event .csa-event-thumbnails {
    --csa-thumbnail-gap:10px;
    position:relative;
    flex:0 0 auto;
    max-height:100px;
    overflow:hidden;
    border:0;
    background:var(--csa-panel)!important;
    opacity:1;
    transition:max-height 260ms ease,opacity 180ms ease;
}
#csa-single-event.csa-thumbnails-hidden .csa-event-thumbnails { max-height:0;opacity:0; }
#csa-single-event .csa-event-thumbnails-track {
    display:flex;
    align-items:stretch;
    gap:0;
    width:100%;
    height:100px;
    padding:0 46px;
    overflow-x:auto;
    overflow-y:hidden;
    background:var(--csa-panel)!important;
    scroll-behavior:smooth;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.35) rgba(255,255,255,.08);
}
#csa-single-event .csa-event-thumbnails-track::-webkit-scrollbar { height:5px; }
#csa-single-event .csa-event-thumbnails-track::-webkit-scrollbar-track { background:rgba(255,255,255,.08); }
#csa-single-event .csa-event-thumbnails-track::-webkit-scrollbar-thumb { background:rgba(255,255,255,.35); }
#csa-single-event .csa-event-thumbnails-arrow {
    position:absolute;
    top:0;
    bottom:0;
    z-index:7;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    margin:0;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    color:var(--csa-white)!important;
    font-family:Arial,sans-serif;
    font-size:42px!important;
    font-weight:200;
    line-height:1;
    opacity:.92!important;
    text-shadow:0 1px 8px rgba(0,0,0,.95);
    -webkit-appearance:none!important;
    appearance:none!important;
    cursor:pointer;
    transition:color 180ms ease,opacity 180ms ease,transform 180ms ease;
}
#csa-single-event .csa-event-thumbnails-arrow:hover,
#csa-single-event .csa-event-thumbnails-arrow:focus-visible { color:var(--csa-accent)!important;opacity:1!important;outline:none;transform:scale(1.07); }
#csa-single-event .csa-event-thumbnails-arrow:disabled { color:var(--csa-white)!important;opacity:.62!important;cursor:default;transform:none; }
#csa-single-event .csa-event-thumbnails-arrow-left { left:0; }
#csa-single-event .csa-event-thumbnails-arrow-right { right:0; }
#csa-single-event .csa-event-thumbnail {
    display:grid;
    grid-template-columns:auto 158px;
    column-gap:var(--csa-thumbnail-gap);
    flex:0 0 auto;
    width:auto;
    height:100px;
    margin:0 var(--csa-thumbnail-gap) 0 0;
    padding:0;
    border:0!important;
    border-radius:0!important;
    -webkit-appearance:none;
    appearance:none;
    background:var(--csa-panel)!important;
    box-shadow:none!important;
    color:var(--csa-white)!important;
    text-align:left;
    text-decoration:none!important;
    cursor:pointer;
    opacity:.72;
    transition:opacity 180ms ease;
}
#csa-single-event .csa-event-thumbnail:hover,
#csa-single-event .csa-event-thumbnail:focus,
#csa-single-event .csa-event-thumbnail:focus-visible { background:var(--csa-panel)!important;box-shadow:none!important;color:var(--csa-white)!important;outline:none;opacity:1; }
#csa-single-event .csa-event-thumbnail-current { cursor:default;opacity:1; }
#csa-single-event .csa-event-thumbnail-image { display:block;width:auto;height:100px;max-width:82px;object-fit:contain;object-position:center;border:0;background:transparent; }
#csa-single-event .csa-event-thumbnail-image-missing { width:68px;background:rgba(255,255,255,.07); }
#csa-single-event .csa-event-thumbnail-copy { display:flex;flex-direction:column;justify-content:flex-start;align-self:stretch;min-width:0;padding:8px 0 9px;background:var(--csa-panel)!important;color:var(--csa-white)!important; }
#csa-single-event .csa-event-thumbnail-title { display:-webkit-box;overflow:hidden;background:var(--csa-panel)!important;color:var(--csa-white)!important;font-size:12.5px;font-weight:600;line-height:1.12;-webkit-box-orient:vertical;-webkit-line-clamp:4; }
#csa-single-event .csa-event-thumbnail-subtitle { display:-webkit-box;margin-top:4px;overflow:hidden;background:var(--csa-panel)!important;color:var(--csa-white)!important;font-size:10.25px;font-weight:400;line-height:1.14;-webkit-box-orient:vertical;-webkit-line-clamp:3; }

#csa-single-event:fullscreen { width:100vw!important;height:100vh!important;margin:0!important;background:var(--csa-black); }
#csa-single-event:fullscreen .csa-event-viewer { width:100%;height:100%; }

/* Desktop: reserve dedicated black rails for side navigation and the command column.
   The poster can never extend underneath arrows or controls. */
@media(min-width:981px){
    #csa-single-event .csa-event-stage { padding:0 48px; }

    /* Desktop-only readability/fit patch. Keep tablet and smartphone rules unchanged. */
    #csa-single-event .csa-event-copy-inner,
    #csa-single-event .csa-event-description {
        max-width:1700px;
    }
    #csa-single-event .csa-event-information-inner {
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:9px 24px;
        max-width:1700px;
        padding-right:42px;
        padding-left:42px;
    }
    #csa-single-event .csa-event-data-group-wide {
        grid-column:span 1;
    }

    /* Desktop information grid: ordinary metadata fills columns 1-3 in the
       first two rows; primary actions occupy column 4. From row 3 onward the
       normal metadata flow uses all four columns. */
    #csa-single-event .csa-event-resource-group-links {
        grid-column:4;
        grid-row:1;
    }
    #csa-single-event .csa-event-resource-group-materials {
        grid-column:4;
        grid-row:2;
    }
    #csa-single-event .csa-event-resource-group-materials:first-child {
        grid-row:1;
    }
    #csa-single-event .csa-event-resource-group {
        display:block;
        padding-top:0;
    }
    #csa-single-event .csa-event-resource-heading {
        display:none;
    }
    #csa-single-event .csa-event-resource-links {
        display:flex;
        flex-direction:column;
        width:100%;
        gap:6px;
    }
    #csa-single-event .csa-event-resource-link {
        width:100%;
        min-height:28px;
    }
}

@media(max-width:980px){
    #csa-single-event .csa-event-resource-heading { display:none; }
    #csa-single-event .csa-event-thumbnails-arrow { display:none; }
    #csa-single-event .csa-event-thumbnails-track { padding-right:8px;padding-left:8px; }
    #csa-single-event .csa-event-information-inner { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px; }
    #csa-single-event.csa-info-open .csa-event-information { max-height:300px; }
    #csa-single-event .csa-event-thumbnail { grid-template-columns:auto 148px; }
}

/* Smartphone portrait: FooGallery-like top command bar; no arrows over the poster. */
@media(max-width:680px) and (orientation:portrait){
    #csa-single-event .csa-event-controls {
        position:static!important;
        order:1;
        display:flex;
        flex:0 0 auto;
        flex-direction:row;
        flex-wrap:nowrap;
        align-items:center;
        justify-content:flex-start;
        width:100%;
        max-width:none;
        min-height:36px;
        margin:0;
        padding:0;
        gap:1px;
        background:var(--csa-black);
    }
    #csa-single-event .csa-event-control.csa-event-mobile-nav { display:flex!important; }
    #csa-single-event .csa-event-control { width:36px;height:36px;font-size:20px; }
    #csa-single-event .csa-event-mobile-prev { order:1; }
    #csa-single-event .csa-event-mobile-next { order:2; }
    #csa-single-event .csa-event-control-thumbnails { order:3; }
    #csa-single-event .csa-event-control-info { order:4; }
    #csa-single-event .csa-event-control-share { order:5; }
    #csa-single-event .csa-event-control-copy { order:6; }
    #csa-single-event .csa-event-control-fullscreen { order:7; }
    #csa-single-event .csa-event-control-close { order:8;margin-left:auto; }
    #csa-single-event .csa-event-stage { order:2; }
    #csa-single-event .csa-event-stage > .csa-event-arrow { display:none!important; }
    #csa-single-event .csa-event-copy { order:3;max-height:420px;padding:9px 18px 12px; }
    #csa-single-event .csa-event-information { order:4; }
    #csa-single-event .csa-event-thumbnails { order:5;--csa-thumbnail-gap:8px; }
    #csa-single-event .csa-event-kicker { font-size:8px; }
    #csa-single-event .csa-event-title { font-size:16px; }
    #csa-single-event .csa-event-description { font-size:11.5px;line-height:1.42; }
    #csa-single-event .csa-event-information-inner { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 11px;padding:9px 14px 11px; }
    #csa-single-event .csa-event-data-group-wide { grid-column:1/-1; }
    #csa-single-event.csa-info-open .csa-event-information { max-height:360px; }
    #csa-single-event .csa-event-resource-group { display:block; }
    #csa-single-event .csa-event-resource-heading { display:block;padding-top:0;margin-bottom:6px; }
    #csa-single-event .csa-event-thumbnails,
    #csa-single-event .csa-event-thumbnails-track { height:86px;max-height:86px; }
    #csa-single-event .csa-event-thumbnail { height:86px;grid-template-columns:auto 132px; }
    #csa-single-event .csa-event-thumbnail-image { height:86px;max-width:70px; }
    #csa-single-event .csa-event-thumbnail-copy { padding:7px 0; }
    #csa-single-event .csa-event-thumbnail-title { font-size:11px;line-height:1.12;-webkit-line-clamp:3; }
    #csa-single-event .csa-event-thumbnail-subtitle { font-size:9px;line-height:1.14;-webkit-line-clamp:3; }
}

/* Smartphone landscape: a single right-hand command rail, with navigation included. */
@media(max-width:980px) and (orientation:landscape) and (max-height:620px){
    #csa-single-event .csa-event-controls {
        position:absolute!important;
        top:0!important;
        right:0!important;
        z-index:20;
        display:flex;
        flex-direction:column!important;
        flex-wrap:nowrap!important;
        align-items:center;
        justify-content:flex-start;
        width:34px!important;
        max-width:34px!important;
        min-height:0;
        margin:0;
        padding:0;
        gap:1px;
        background:var(--csa-black);
    }
    #csa-single-event .csa-event-control.csa-event-mobile-nav { display:flex!important; }
    #csa-single-event .csa-event-control { width:34px;height:34px;font-size:19px; }
    #csa-single-event .csa-event-control-close { margin-left:0!important; }
    #csa-single-event .csa-event-stage { padding-right:34px; }
    #csa-single-event .csa-event-stage > .csa-event-arrow { display:none!important; }
}

/* Explicit control order for the compact landscape rail. */
@media(max-width:980px) and (orientation:landscape) and (max-height:620px){
    #csa-single-event .csa-event-control-close{order:1}
    #csa-single-event .csa-event-control-fullscreen{order:2}
    #csa-single-event .csa-event-control-share{order:3}
    #csa-single-event .csa-event-control-copy{order:4}
    #csa-single-event .csa-event-control-info{order:5}
    #csa-single-event .csa-event-control-thumbnails{order:6}
    #csa-single-event .csa-event-mobile-next{order:7}
    #csa-single-event .csa-event-mobile-prev{order:8}
}

/* v0.4.11 — Mobile-only interaction fixes.
   Horizontal swipes on the poster navigate between adjacent Events while
   vertical gestures remain available to the browser. Touch devices must not
   retain the desktop white :hover state after a panel button is switched off. */
@media(max-width:980px){
    #csa-single-event .csa-event-stage,
    #csa-single-event .csa-event-main-image {
        touch-action:pan-y;
        -webkit-user-drag:none;
        user-select:none;
        -webkit-user-select:none;
    }
}

@media(hover:none) and (pointer:coarse){
    #csa-single-event .csa-event-control:hover,
    #csa-single-event .csa-event-control:focus {
        background:var(--csa-control)!important;
        color:#171717!important;
    }

    #csa-single-event .csa-event-control.is-active:hover,
    #csa-single-event .csa-event-control.is-active:focus {
        background:var(--csa-accent)!important;
        color:#000!important;
    }
}


/* 0.4.12 mobile portrait safe-bottom patch v02.
 * Adds scrollable black breathing room after the last Information item so
 * browser chrome does not cover the final links/materials. Desktop/tablet
 * and landscape rules remain unchanged.
 */
@media(max-width:680px) and (orientation:portrait){
    #csa-single-event .csa-event-information-inner{
        padding-bottom:calc(120px + env(safe-area-inset-bottom, 0px));
    }
}
