/* Events and offers (JOB M): the thin bar and the board. Phone first. */
.cgl-ofbar { position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: .5rem; background: var(--sea); color: var(--on-dark); padding: 0 44px 0 var(--gutter); min-height: 44px; font-size: .95rem; line-height: 1.3; }
.cgl-ofbar[hidden] { display: none; }
.cgl-ofbar__in { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem .6rem; text-align: center; min-width: 0; }
.cgl-ofbar a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 3px; text-decoration-thickness: 2px; display: inline-block; padding: .7rem 0; min-height: 44px; box-sizing: border-box; }
.cgl-ofbar a:hover { color: var(--sand); }
.cgl-ofbar__end { color: var(--sand); font-weight: 600; white-space: nowrap; }
.cgl-ofbar__ex { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border: 1px dashed var(--sand); color: var(--sand); border-radius: var(--pill); padding: .05rem .5rem; }
.cgl-ofbar__x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--on-dark); cursor: pointer; }
.cgl-ofbar__x:hover, .cgl-ofbar__x:focus-visible { color: var(--sand); }

.cgl-of { padding-bottom: var(--section); }
.cgl-of__intro { margin-bottom: 1.5rem; }
.cgl-of__filter ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cgl-of__filter li { margin: 0; }
.cgl-of__filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.cgl-of__filter a:hover { border-color: var(--ink); }
.cgl-of__filter a[aria-current="page"] { background: var(--sea); border-color: var(--sea); color: var(--on-dark); }
.cgl-of__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); gap: var(--space-m); }
.cgl-of__card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--sand); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; min-width: 0; }
.cgl-of__kind { margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.cgl-of__kind > span:first-child { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--marsh); }
.cgl-of__title { font-size: var(--step-2); margin: 0 0 .4rem; line-height: 1.15; }
.cgl-of__when { margin: 0; font-weight: 600; }
.cgl-of__where { margin: 0 0 .75rem; color: var(--muted); }
.cgl-of__body { flex: 1; }
.cgl-of__body p { margin: 0 0 .75rem; }
.cgl-of__go { margin: .5rem 0 0; }
.cgl-of__go .btn { width: 100%; }
.cgl-of__empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; max-width: var(--measure); }
.cgl-of__small { margin-top: 2rem; max-width: var(--measure); }
.cgl-of__events { margin: 1.5rem 0 0; }
