:where(.osm-town-featured-list) :where(.oss-town-featured__track, .oss-town-attractions__track) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 14px;
}

.osm-town-featured-list.oss-town-featured > div.oss-town-featured__track {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(140px, (100% - 30px) / 4)), 1fr));
    gap: 10px;
}

:where(.osm-town-featured-list) :where(.oss-town-featured-card, .oss-town-attraction-card) {
    position: relative;
    min-width: 0;
    border: 1px solid var(--town-border, #ddd);
    border-radius: 14px;
    background: var(--town-surface, #fff);
    color: var(--osm-ink, #242424);
}

.osm-town-featured-list .oss-town-featured-card {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 10px;
}
:where(.osm-town-featured-list) :where(h2) { margin-block: 0 12px; }
:where(.osm-town-featured-list) :where(h3) { margin: 0 0 4px; font-size: 1rem; }
:where(.osm-town-featured-list) :where(p) { margin: 0; font-size: .875rem; }
:where(.osm-town-featured-list) :where(h3, p) { overflow-wrap: anywhere; }
:where(.osm-town-featured-list) :where(h3 a) { color: inherit; }
:where(.osm-town-featured-list) :where(h3 a)::after { content: ''; position: absolute; inset: 0; }
:where(.osm-town-featured-list) :where(figure) { margin: 0; }
:where(.osm-town-featured-list) :where(img) { display: block; width: 100%; height: auto; object-fit: cover; }

.oss-town-featured-card__body {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    width: 100%;
}
.osm-town-featured-list .oss-town-featured-card .oss-town-featured-thumbnail {
    flex: 0 0 clamp(32px, 9vw, 46px);
    margin: 0;
    min-width: 0;
}
.osm-town-featured-list .oss-town-featured-card .oss-town-featured-card__body > h3.wp-block-heading {
    align-self: auto;
    margin: 0;
    font-size: clamp(.875rem, .83rem + .22vw, 1rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.osm-town-featured-list .oss-town-featured-card:has(a:focus-visible) {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
:where(.osm-town-featured-list) :where(.oss-town-featured-thumbnail img) { border-radius: 8px; aspect-ratio: 1; }
:where(.osm-town-featured-list) :where(.oss-town-attraction-card figure) { border-radius: 13px 13px 0 0; overflow: hidden; }
:where(.osm-town-featured-list) :where(.oss-town-attraction-card img) { aspect-ratio: 2.15 / 1; }
:where(.osm-town-featured-list) :where(.oss-town-attraction-card h3) { margin: 14px 14px 4px; }
:where(.osm-town-featured-list) :where(.oss-town-attraction-card p) { margin: 0 14px 14px; }

.osm-town-section-title {
    --osm-section-title-accent: var(--osm-accent, var(--osm-section-preview-accent, #ae791f));
    --osm-section-title-surface: var(--town-surface, #fff);
    margin-block-end: 18px;
    padding: 14px 18px;
    border: 1px solid color-mix(in srgb, var(--osm-section-title-accent) 30%, var(--town-border, #e5ddd3));
    border-radius: 14px;
    background: linear-gradient(105deg,
        color-mix(in srgb, var(--osm-section-title-accent) 20%, var(--osm-section-title-surface)),
        color-mix(in srgb, var(--osm-section-title-accent) 6%, var(--osm-section-title-surface)));
    color: var(--osm-primary, var(--osm-section-preview-primary, #593518));
    overflow-wrap: anywhere;
}
.editor-styles-wrapper .osm-town-section-title {
    --osm-primary: var(--osm-section-preview-primary, #593518);
    --osm-accent: var(--osm-section-preview-accent, #ae791f);
}
.osm-town-section-title--standalone {
    --osm-title-content-width: var(--town-content-width, var(--wp--style--global--content-size, var(--osm-content, 1360px)));
    --osm-title-wide-width: var(--wp--style--global--wide-size, calc(var(--osm-title-content-width) + 240px));
    box-sizing: border-box;
    width: min(calc(100% - var(--osm-title-page-gutter, 0px)), var(--osm-title-content-width));
    margin-inline: auto;
}
.osm-town-section-title--standalone.alignwide {
    width: min(calc(100% - var(--osm-title-page-gutter, 0px)), var(--osm-title-wide-width));
}
.osm-town-section-title--standalone.alignfull { width: 100%; }
.osm-town-section-title > h2.wp-block-heading {
    margin: 0;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.08;
    font-weight: 700;
    color: inherit;
}
.osm-town-section-title > .oss-town-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: inherit;
}
.osm-town-featured-list .osm-town-featured-empty {
    padding: 12px;
    border: 1px dashed currentColor;
    border-radius: 8px;
}
