/* The offers listing in its new layouts (templates/timeline/offers/
   offer_rows.html): one offer a row, the paid ones of the page in a
   "featured" row above. Two looks of one markup:
     .ol--full   rows across the page, divided by hairlines;
     .ol--boxed  the same rows as white cards on a grey page, centred.
   Everything is under .ol, so nothing here reaches the rest of the site. */

.ol {
    --ol-card: #fff;
    --ol-hair: #ececf1;
    --ol-line-strong: #c9c4d9;
    --ol-ink: #1d1736;
    --ol-ink-2: #4a4560;
    --ol-muted: #6b6680;
    --ol-brand: #34207d;
    --ol-brand-tint: #ece8f6;
    --ol-focus: #ff5a00;
    --ol-tag-bg: #f1eff7;
    --ol-tag-ink: #3d3459;
    --ol-r-card: 8px;
    --ol-r-ctl: 6px;
    --ol-pad: clamp(16px, 3vw, 48px);
    box-sizing: border-box;
    width: 100%;
    padding: 0 var(--ol-pad) 8px;
    color: var(--ol-ink);
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}
.ol *, .ol *::before, .ol *::after { box-sizing: border-box; }
.ol--boxed {
    --ol-hair: #e3e1ea;
    --ol-feat: #f7f4fc;
    --ol-feat-line: #d4cce8;
    --ol-shadow: 0 1px 2px rgba(29, 23, 54, .05);
    --ol-shadow-hover: 0 2px 10px rgba(29, 23, 54, .08);
    --ol-pad: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* The listing fills the page's content column instead of the site's
   narrower one; the boxed look also greys the page behind its cards. */
.container-timeline:has(> .ol),
.container-timeline:has(> .ol) + * { max-width: none; }
.container-timeline:has(> .ol) { width: 100%; padding-left: 0; padding-right: 0; }
.container-timeline:has(> .ol--boxed) { background: #f2f2f5; }
.container-timeline:has(> .ol) > .seo-blocks-landing {
    box-sizing: border-box;
    width: 100%;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}
.container-timeline:has(> .ol--boxed) > .seo-blocks-landing {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* heading and "Add offer" */
.ol-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 32px 0 16px; }
.ol .ol-title { margin: 0; padding: 0; color: var(--ol-ink); font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-align: left; }
.ol-add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--ol-brand); border-radius: 999px; background: #fff; color: var(--ol-brand); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ol-add:hover { background: var(--ol-brand-tint); }

/* the filter bar: a row of fields, the count and the order under it */
.ol-filters { padding: 0 0 8px; }
.ol-filters__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin: 0; }
.ol-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ol-field--city, .ol-field--tag { flex: 1 1 200px; max-width: 280px; }
.ol-field__label { float: none; width: auto; margin: 0; padding: 0; color: var(--ol-ink-2); font-size: 13px; font-weight: 600; line-height: 1.5; }
.ol-sheet__head, .ol-sheet__foot { display: none; }
.ol .ol-input,
.ol select.ol-select {
    -webkit-appearance: none; appearance: none;
    box-sizing: border-box; width: 100%; height: 44px; margin: 0;
    border: 1px solid var(--ol-line-strong) !important; border-radius: var(--ol-r-ctl);
    background-color: #fff; color: var(--ol-ink);
    font: inherit; font-size: 15px; font-weight: 400; line-height: 1.2; text-overflow: ellipsis;
    box-shadow: none; outline: 0;
    /* the old listing's stylesheet is on every page and styles every
       <select>: transparent text drawn by a shadow, and flex: 1, which
       squashes a select standing in a column */
    flex: none; text-shadow: none;
}
.ol .ol-input { padding: 0 40px 0 12px; }
.ol .ol-input::placeholder { color: var(--ol-muted); opacity: 1; }
.ol select.ol-select {
    padding: 0 40px 0 12px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%234a4560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
/* the open list is the browser's own: say its colours, or it takes the page's */
.ol select.ol-select option { background: #fff; color: #1d1736; }
.ol .ol-input:hover, .ol select.ol-select:hover { border-color: var(--ol-ink-2) !important; }
.ol .ol-input:focus-visible, .ol select.ol-select:focus-visible { outline: 3px solid var(--ol-focus); outline-offset: 2px; }
.ol .ol-field--radius select.ol-select { width: 104px; }
.ol-age { display: flex; gap: 8px; }
.ol .ol-age select.ol-select { width: 92px; }

/* the city: what is typed, and the cities offered under it */
.ol-city { position: relative; }
.ol-city__clear { position: absolute; top: 0; right: 0; width: 40px; height: 44px; border: 0; background: none; color: var(--ol-muted); font-size: 13px; cursor: pointer; }
.ol-city__clear:hover { color: var(--ol-ink); }
.ol-city__list { position: absolute; z-index: 30; top: 48px; left: 0; right: 0; max-height: 280px; margin: 0; padding: 4px 0; overflow-y: auto; border: 1px solid var(--ol-line-strong); border-radius: var(--ol-r-ctl); background: #fff; box-shadow: 0 8px 24px rgba(29, 23, 54, .14); list-style: none; }
.ol-city__list li { padding: 9px 12px; color: var(--ol-ink); font-size: 14px; cursor: pointer; }
.ol-city__list li:hover { background: var(--ol-tag-bg); }
.ol-city__list li.is-empty { color: var(--ol-muted); cursor: default; }
.ol-city__list li.is-empty:hover { background: none; }

/* whom they look for: three choices in one control */
.ol-seg { display: flex; height: 44px; overflow: hidden; border: 1px solid var(--ol-line-strong); border-radius: var(--ol-r-ctl); background: #fff; }
.ol-seg label { position: relative; display: flex; margin: 0; }
/* The radio itself is only for the keyboard: the click is the label's.
   The site moves every radio 9999px to the left, so it must not be
   stretched over its label to catch the click: the last of the three
   then covered the other two. */
.ol .ol-seg input { position: absolute !important; top: 0; left: 0 !important; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ol-seg label { cursor: pointer; }
.ol-seg span { display: flex; align-items: center; padding: 0 14px; border-left: 1px solid var(--ol-line-strong); color: var(--ol-ink-2); font-size: 14px; font-weight: 500; }
.ol-seg label:first-child span { border-left: 0; }
.ol-seg input:checked + span { background: var(--ol-brand); color: #fff; }
.ol-seg input:focus-visible + span { outline: 3px solid var(--ol-focus); outline-offset: -3px; }

.ol-switch { display: flex; align-items: center; gap: 10px; height: 44px; margin: 0; color: var(--ol-ink); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.ol .ol-switch input { position: absolute !important; left: auto !important; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ol-switch__track { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; background: #cfcbdc; transition: background .15s; }
.ol-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.ol-switch input:checked + .ol-switch__track { background: var(--ol-brand); }
.ol-switch input:checked + .ol-switch__track::after { transform: translateX(16px); }
.ol-switch input:focus-visible + .ol-switch__track { outline: 3px solid var(--ol-focus); outline-offset: 2px; }

/* how many, and the order */
.ol-results { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 12px; }
.ol-results__count { margin: 0; color: var(--ol-muted); font-size: 15px; }
.ol-results__count b { color: var(--ol-ink); font-weight: 700; }
.ol-results__right { display: flex; align-items: center; gap: 8px; }
.ol-sort { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ol-ink-2); font-size: 14px; white-space: nowrap; }
.ol .ol-sort select.ol-select { width: auto; height: 40px; font-size: 14px; }
.ol-btn-filters, .ol-scrim { display: none; }
.ol--boxed .ol-filters { margin: 0 0 16px; padding: 16px 20px 12px; border: 1px solid var(--ol-hair); border-radius: var(--ol-r-card); background: var(--ol-card); box-shadow: var(--ol-shadow); }
.ol--boxed .ol-results { margin: 20px 0 4px; }

/* popular categories */
.ol-chips-wrap { position: relative; margin: 0 -2px 16px; }
.ol-chips { display: flex; gap: 8px; margin: 0; padding: 2px 2px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
/* The row scrolls sideways when the chips do not fit. Without a hint the
   chip cut by the screen edge looked like a layout bug, so the side that
   has more fades out, and the right one also gets an arrow. The script
   (offer_rows.js) sets is-more-left / is-more-right on the wrap. */
.ol-chips-wrap.is-more-right .ol-chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent calc(100% - 20px)); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent calc(100% - 20px)); }
.ol-chips-wrap.is-more-left .ol-chips { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px); mask-image: linear-gradient(to right, transparent, #000 32px); }
.ol-chips-wrap.is-more-left.is-more-right .ol-chips { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 64px), transparent calc(100% - 20px)); mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 64px), transparent calc(100% - 20px)); }
.ol-chips-wrap.is-more-right::after { content: ""; position: absolute; top: 20px; right: 8px; width: 10px; height: 10px; border-top: 2px solid var(--ol-ink-2); border-right: 2px solid var(--ol-ink-2); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.ol-chips::-webkit-scrollbar { display: none; }
.ol-chips li { flex: none; }
.ol-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--ol-line-strong); border-radius: 999px; background: #fff; color: var(--ol-ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ol-chip:hover { border-color: var(--ol-ink-2); color: var(--ol-ink); text-decoration: none; }
.ol-chip.is-on { border-color: var(--ol-brand); background: var(--ol-brand); color: #fff; }

/* a row */
.ol-ads { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--ol-hair); list-style: none; }
.ol-ad { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px 24px; min-height: 160px; padding: 16px 0; border-bottom: 1px solid var(--ol-hair); }
.ol-ad__media { width: 160px; height: 160px; border-radius: 6px; overflow: hidden; background: var(--ol-brand-tint); }
.ol-ad__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ol-ad__initial { display: grid; place-items: center; width: 100%; height: 100%; font-size: 44px; font-weight: 700; line-height: 1; text-transform: uppercase; user-select: none; }
.ol-ad__initial[data-tint="1"] { background: #ece8f6; color: #34207d; }
.ol-ad__initial[data-tint="2"] { background: #f7e6ea; color: #9c1c3a; }
.ol-ad__initial[data-tint="3"] { background: #e6edf4; color: #2a4f78; }
.ol-ad__initial[data-tint="4"] { background: #efeae2; color: #6a4e2a; }
.ol-ad__body { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.ol-ad__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 70ch; margin: 0; overflow: hidden; overflow-wrap: anywhere; font-size: 17px; font-weight: 600; line-height: 1.35; }
.ol-ad__link { color: var(--ol-ink); text-decoration: none; }
/* the title's link covers the whole row */
.ol-ad__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ol-ad__link:focus-visible { outline: none; }
.ol-ad__link:focus-visible::after { outline: 3px solid var(--ol-focus); outline-offset: 2px; }
.ol-ad:hover .ol-ad__link { color: var(--ol-brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ol-ad__meta { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; overflow: hidden; color: var(--ol-muted); font-size: 14px; white-space: nowrap; }
.ol-ad__city { display: flex; align-items: center; gap: 5px; flex-shrink: 1; min-width: 0; overflow: hidden; }
.ol-ad__city i { flex: none; font-size: 12px; }
.ol-ad__city span { overflow: hidden; text-overflow: ellipsis; }
.ol-ad__user { flex: none; color: var(--ol-ink-2); font-weight: 600; }
.ol-ad__verified { flex: none; color: var(--ol-brand); font-size: 14px; }
.ol-ad__tags { display: flex; gap: 6px; height: 26px; margin: auto 0 0; padding: 0; overflow: hidden; list-style: none; }
.ol-ad__tags li { flex: none; }
.ol-ad__tag { position: relative; z-index: 2; display: block; height: 26px; padding: 0 9px; border-radius: var(--ol-r-ctl); background: var(--ol-tag-bg); color: var(--ol-tag-ink); font-size: 13px; font-weight: 500; line-height: 26px; text-decoration: none; white-space: nowrap; }
a.ol-ad__tag:hover { background: var(--ol-brand-tint); color: var(--ol-brand); text-decoration: none; }
.ol-ad__tag--more { padding: 0 4px; background: none; color: var(--ol-muted); }
/* a phone shows two tags, so its "+N" counts one more */
.ol-ad__more-phone { display: none; }
.ol--boxed .ol-ads { gap: 12px; border-top: 0; }
.ol--boxed .ol-ad { gap: 16px 20px; padding: 16px; border: 1px solid var(--ol-hair); border-radius: var(--ol-r-card); background: var(--ol-card); box-shadow: var(--ol-shadow); }
.ol--boxed .ol-ad:hover { border-color: var(--ol-line-strong); box-shadow: var(--ol-shadow-hover); }
.ol--boxed .ol-ad__link:focus-visible::after { border-radius: var(--ol-r-card); }

/* the featured row: at most two paid offers, side by side */
.ol-fresh { margin: 0 0 8px; padding: 4px 0 16px; }
.ol-fresh__label, .ol-similar { margin: 0 0 14px; color: var(--ol-muted); font-size: 15px; font-weight: 600; }
.ol-similar { margin-top: 28px; }
.ol-fresh__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.ol-fresh .ol-ad { display: flex; flex-direction: column; gap: 0; height: 100%; min-height: 0; padding: 0 0 8px; border: 0; }
.ol-fresh .ol-ad__media { position: relative; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.ol-fresh .ol-ad__initial { font-size: 64px; }
.ol-ad__badge { position: absolute; z-index: 2; top: 12px; left: 12px; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--ol-brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 22px; }
.ol-fresh .ol-ad__body { flex: 1; padding: 14px 0 0; }
.ol-fresh .ol-ad__title { max-width: none; font-size: 20px; font-weight: 700; line-height: 1.3; }
.ol-fresh .ol-ad__meta { margin: 8px 0 0; }
.ol-ad__go { align-self: flex-start; margin: auto 0 0; padding-top: 12px; color: var(--ol-brand); font-size: 14px; font-weight: 600; }
.ol-fresh .ol-ad:hover .ol-ad__go { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ol--boxed .ol-fresh { margin: 0 0 12px; padding: 0; }
.ol--boxed .ol-fresh__label { margin-bottom: 10px; }
.ol--boxed .ol-fresh__list { gap: 12px; }
.ol--boxed .ol-fresh .ol-ad { padding: 0 0 16px; border: 1px solid var(--ol-feat-line); border-top: 3px solid var(--ol-brand); border-radius: var(--ol-r-card); background: var(--ol-feat); box-shadow: var(--ol-shadow); overflow: hidden; }
.ol--boxed .ol-fresh .ol-ad:hover { border-color: var(--ol-brand); box-shadow: var(--ol-shadow-hover); }
.ol--boxed .ol-fresh .ol-ad__media { border-radius: 0; }
.ol--boxed .ol-fresh .ol-ad__body { padding: 14px 16px 0; }

/* nothing found */
.ol-empty { padding: 48px 0; text-align: center; }
.ol-empty h2 { margin: 0 0 6px; font-size: 18px; }
.ol-empty p { margin: 0 0 20px; color: var(--ol-muted); }
.ol-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid var(--ol-brand); border-radius: 999px; background: #fff; color: var(--ol-brand); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ol-btn:hover { background: var(--ol-brand-tint); color: var(--ol-brand); text-decoration: none; }
.ol--boxed .ol-empty { padding: 48px 24px; border: 1px solid var(--ol-hair); border-radius: var(--ol-r-card); background: var(--ol-card); box-shadow: var(--ol-shadow); }

/* pages */
.ol-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 32px 0 8px; }
.ol-pager a, .ol-pager span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--ol-r-ctl); color: var(--ol-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.ol-pager a:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ol-line-strong); color: var(--ol-ink); text-decoration: none; }
.ol-pager [aria-current="page"], .ol-pager [aria-current="page"]:hover { background: var(--ol-brand); box-shadow: none; color: #fff; }
.ol-pager .is-disabled { color: #8a859c; cursor: default; }
.ol-pager .ol-pager__txt, .ol-pager .ol-pager__gap { min-width: 0; height: auto; padding: 0; }
.ol-pager i { font-size: 12px; }

@media (max-width: 720px) {
    .ol--boxed { --ol-pad: 12px; }
    body.dark .ol-filters__fields, body.dark .ol-sheet__head, body.dark .ol-sheet__foot { background: #1f1f27; }
    .ol-head { padding: 20px 0 12px; }
    .ol .ol-title { font-size: 22px; }

    /* the fields become a sheet that slides up from the bottom */
    .ol-filters, .ol--boxed .ol-filters { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .ol-filters__fields {
        /* above the site's floating buttons (scroll to top, night mode) */
        position: fixed; z-index: 100010; left: 0; right: 0; bottom: 0;
        flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px;
        max-height: 88vh; padding: 0 16px; overflow: auto;
        border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -8px 30px rgba(0, 0, 0, .2);
        transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
    }
    .ol-filters.is-open .ol-filters__fields { transform: none; visibility: visible; transition: transform .25s ease; }
    .ol-field--city, .ol-field--tag { flex: none; max-width: none; }
    .ol .ol-field--radius select.ol-select { width: 100%; }
    .ol .ol-age select.ol-select { flex: 1; width: auto; }
    .ol-sheet__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: -6px; padding: 12px 0 4px; background: #fff; }
    .ol-sheet__head h2 { margin: 0; font-size: 18px; }
    .ol-sheet__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ol-ink); font-size: 16px; cursor: pointer; }
    .ol-seg { width: 100%; }
    .ol-seg label, .ol-seg span { flex: 1; }
    .ol-seg span { justify-content: center; }
    .ol-switch { justify-content: space-between; flex-direction: row-reverse; white-space: normal; }
    .ol-sheet__foot { position: sticky; bottom: 0; display: flex; gap: 12px; margin: 0 -16px; padding: 12px 16px 16px; border-top: 1px solid var(--ol-hair); background: #fff; }
    .ol-sheet__foot .ol-btn { flex: 1; height: 48px; border-radius: var(--ol-r-ctl); font-size: 15px; }
    .ol-btn--apply, .ol-btn--apply:hover { border-color: var(--ol-brand); background: var(--ol-brand); color: #fff; }
    .ol-btn--ghost { flex: 0 0 auto !important; border-color: transparent; background: none; }
    .ol-filters.is-open ~ .ol-scrim { display: block; position: fixed; z-index: 100000; inset: 0; background: rgba(15, 10, 30, .5); }
    body.ol-sheet-open { overflow: hidden; }

    .ol-results, .ol--boxed .ol-results { flex-wrap: wrap; margin: 0 0 12px; }
    .ol-results__count { order: 3; width: 100%; font-size: 14px; }
    .ol-results__right { width: 100%; justify-content: space-between; }
    .ol-btn-filters { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--ol-line-strong); border-radius: var(--ol-r-ctl); background: #fff; color: var(--ol-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
    .ol-btn-filters b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ol-brand); color: #fff; font-size: 12px; }
    .ol-btn-filters b[hidden] { display: none; }
    .ol-sort > span { display: none; }
    .ol .ol-sort select.ol-select { height: 44px; }
    .ol-chips-wrap { margin: 0 calc(var(--ol-pad) * -1) 12px; }
    .ol-chips { padding: 2px var(--ol-pad) 4px; }

    /* featured: one card and the edge of the next, swiped sideways */
    .ol-fresh { margin: 0 0 4px; padding: 0 0 12px; }
    .ol-fresh__label { margin-bottom: 12px; }
    .ol-fresh__list { display: flex; gap: 12px; margin: 0 calc(var(--ol-pad) * -1); padding: 0 var(--ol-pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .ol-fresh__list::-webkit-scrollbar { display: none; }
    .ol-fresh__list > li { flex: 0 0 calc(100% - 28px); min-width: 0; scroll-snap-align: start; }
    .ol-fresh__list > li:only-child { flex-basis: 100%; }
    .ol-fresh .ol-ad { padding: 0 0 4px; }
    .ol-fresh .ol-ad__title { font-size: 17px; }
    .ol-ad__go { padding-top: 10px; }
    .ol--boxed .ol-fresh { margin: 0 0 12px; padding: 0; }
    .ol--boxed .ol-fresh__list { padding-bottom: 2px; }
    .ol--boxed .ol-fresh .ol-ad { padding: 0 0 14px; }
    .ol--boxed .ol-fresh .ol-ad__body { padding: 12px 14px 0; }

    .ol-ad { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px 0; }
    .ol-ad__media { width: 96px; height: 96px; }
    .ol-ad__initial { font-size: 36px; }
    .ol-ad__title { font-size: 15px; }
    .ol-ad__meta { margin-top: 4px; font-size: 13px; }
    .ol-ad__tags { height: 24px; margin-top: 8px; }
    .ol-ad__tag { height: 24px; padding: 0 8px; font-size: 12px; line-height: 24px; }
    .ol-ad__tag--3, .ol-ad__more-wide { display: none; }
    .ol-ad__more-phone { display: inline; }
    .ol--boxed .ol-ad { padding: 12px; }

    .ol-pager { gap: 2px; }
    .ol-pager .ol-pager__txt { display: none; }
}

/* night mode (the site's switch puts .dark on the body) */
body.dark .ol {
    --ol-card: #1f1f27;
    --ol-hair: #33333d;
    --ol-line-strong: #4a4a57;
    --ol-ink: #eceef2;
    --ol-ink-2: #c9ccd3;
    --ol-muted: #a3a6b0;
    --ol-brand: #b9a8ff;
    --ol-brand-tint: #2b2740;
    --ol-tag-bg: #2a2a34;
    --ol-tag-ink: #d6d8de;
    --ol-feat: #25223a;
    --ol-feat-line: #3d3760;
}
body.dark .container-timeline:has(> .ol--boxed) { background: #17171d; }
body.dark .ol-chip, body.dark .ol select.ol-select, body.dark .ol .ol-input, body.dark .ol-seg,
body.dark .ol-add, body.dark .ol-btn, body.dark .ol-btn-filters, body.dark .ol-city__list { background-color: #1f1f27; }
body.dark .ol select.ol-select option { background: #1f1f27; color: #eceef2; }
body.dark .ol-switch__track { background: #4a4a57; }
body.dark .ol-seg input:checked + span { background: #5a45b8; }
body.dark .ol-chip.is-on, body.dark .ol-pager [aria-current="page"] { background: #5a45b8; border-color: #5a45b8; color: #fff; }
body.dark .ol-ad__badge { background: #5a45b8; }
body.dark .ol-pager a:hover { background: #1f1f27; }
