/* Workshop list additions; services-page.css supplies the shared catalogue composition. */
.workshops-list-page.lens-site.lens-inner > .main-content { padding-inline: 0; }

.services-page.sp-main.wp-page .wp-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 12px;
    border-block: 1px solid #d8e1d8;
    min-width: 0;
}
.services-page.sp-main.wp-page .wp-filters > div,
.services-page.sp-main.wp-page .wp-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    min-width: 0;
}
.services-page.sp-main.wp-page .wp-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
}
.services-page.sp-main.wp-page .wp-filter-label {
    display: block;
    margin: 0;
    font-size: .8125rem;
    line-height: 1.8;
    color: #526c61;
    font-weight: 500;
}
.services-page.sp-main.wp-page .wp-filters .sp-categories { flex: 1 1 auto; }
.services-page.sp-main.wp-page .wp-filter-group .sp-categories { flex: 0 1 auto; }
.services-page.sp-main.wp-page .wp-filters .sp-sort { margin-inline-start: auto; }
.services-page.sp-main.wp-page .wp-filter-row + .wp-filter-row {
    border-top: 1px solid #dce3da;
    padding-top: 14px;
    margin-top: 2px;
    justify-content: flex-start;
}
.services-page.sp-main.wp-page .wp-filters .wp-price-tabs {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
.services-page.sp-main.wp-page .wp-price-tabs a.sp-chip {
    min-height: 44px;
    padding: 9px 3px;
    gap: 6px;
    border: 0;
    border-radius: 0;
    background: none;
    color: #35584e;
    font-weight: 400;
    box-shadow: none;
}
.services-page.sp-main.wp-page .wp-price-tabs a.sp-chip:hover { color: #a56069; background: none; box-shadow: none; }
.services-page.sp-main.wp-page .wp-price-tabs a.sp-chip[aria-current] {
    color: #a56069;
    background: none;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 #a56069;
}
.services-page.sp-main.wp-page .wp-price-tabs a.sp-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    border-radius: 6px;
    background: #e8ede5;
    color: #456456;
    opacity: 1;
    font-size: .75rem;
    line-height: 1.7;
}

.services-page.sp-main.wp-page .sp-image-wrap :is(.wp-state, .wp-statebadge) {
    position: absolute;
    inset-inline-start: 13px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: calc(100% - 26px);
    padding: 4px 11px;
    border: 1px solid #ffffffba;
    border-radius: 99px;
    background: #f6f9f0ed;
    color: #31524a;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    overflow-wrap: anywhere;
}
.services-page.sp-main.wp-page :is(.wp-state, .wp-statebadge) .icon { width: 13px; height: 13px; flex: none; }
.services-page.sp-main.wp-page .sp-card[data-workshop-state="full"] :is(.wp-state, .wp-statebadge),
.services-page.sp-main.wp-page :is(.wp-state, .wp-statebadge)[data-state="full"] { color: #854d58; background: #faeeecef; border-color: #edd5d7; }
.services-page.sp-main.wp-page .sp-card[data-workshop-state="ended"] :is(.wp-state, .wp-statebadge),
.services-page.sp-main.wp-page :is(.wp-state, .wp-statebadge)[data-state="ended"] { color: #556962; background: #edf1edef; border-color: #d8e2db; }
.services-page.sp-main.wp-page .sp-card[data-workshop-state="closed"] :is(.wp-state, .wp-statebadge),
.services-page.sp-main.wp-page :is(.wp-state, .wp-statebadge)[data-state="closed"] { color: #6c6858; background: #f2f0e9ef; border-color: #deddd0; }

.services-page.sp-main.wp-page .wp-meta {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #d9e2d89c;
    min-width: 0;
    font-size: .75rem;
    line-height: 1.85;
}
.services-page.sp-main.wp-page .wp-meta > div {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    gap: 5px 8px;
    min-width: 0;
}
.services-page.sp-main.wp-page .wp-meta dt { display: flex; align-items: flex-start; gap: 5px; margin: 0; color: #526c61; font-size: .75rem; font-weight: 500; }
.services-page.sp-main.wp-page .wp-meta dt .icon { width: 14px; height: 14px; margin-top: .3em; }
.services-page.sp-main.wp-page .wp-meta dd { margin: 0; min-width: 0; color: #35584e; overflow-wrap: anywhere; }
.services-page.sp-main.wp-page .wp-meta dd small { display: block; font-size: .75rem; color: #526c61; line-height: 1.7; margin-top: 3px; }
.services-page.sp-main.wp-page .wp-meta bdi { unicode-bidi: isolate; white-space: normal; }
.services-page.sp-main.wp-page .wp-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.services-page.sp-main.wp-page .sp-body .wp-demo { display: inline-block; margin-top: 8px; font-size: .75rem; line-height: 1.8; color: #8e565f; }
.services-page.sp-main.wp-page .sp-price small { display: inline; }
.services-page.sp-main.wp-page .sp-facts .wp-price-note { display: block; margin-top: 3px; color: #8e565f; font-size: .75rem; font-weight: 400; line-height: 1.7; }

@supports (backdrop-filter: blur(12px)) {
    .services-page.sp-main.wp-page .sp-image-wrap :is(.wp-state, .wp-statebadge) { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
@media (max-width: 900px) {
    .services-page.sp-main.wp-page .wp-filters { gap: 12px; }
    .services-page.sp-main.wp-page .wp-filter-row { align-items: flex-start; }
}
@media (max-width: 600px) {
    .services-page.sp-main.wp-page .wp-filters { gap: 12px; }
    .services-page.sp-main.wp-page .wp-filters > div,
    .services-page.sp-main.wp-page .wp-filter-row { align-items: flex-start; gap: 8px 12px; }
    .services-page.sp-main.wp-page .wp-filter-group { width: 100%; gap: 6px; }
    .services-page.sp-main.wp-page .wp-filter-label { flex-basis: 100%; }
    .services-page.sp-main.wp-page .wp-filters .sp-categories { width: 100%; }
    .services-page.sp-main.wp-page .wp-filters .sp-sort { width: 100%; margin-inline-start: 0; }
    .services-page.sp-main.wp-page .wp-filters .wp-price-tabs { gap: 8px; }
    .services-page.sp-main.wp-page .wp-price-tabs a.sp-chip { padding-inline: 3px; gap: 6px; }
    .services-page.sp-main.wp-page .sp-card { grid-template-rows: auto auto; }
    .services-page.sp-main.wp-page .sp-image-wrap { grid-column: 1; grid-row: 1; }
    .services-page.sp-main.wp-page .sp-body { grid-column: 2; grid-row: 1; }
    .services-page.sp-main.wp-page .sp-bottom { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
    .services-page.sp-main.wp-page .sp-image-wrap :is(.wp-state, .wp-statebadge) { inset-inline: 3px; bottom: 4px; max-width: none; padding: 3px 2px; font-size: .75rem; line-height: 1.4; }
    .services-page.sp-main.wp-page :is(.wp-state, .wp-statebadge) .icon { width: 11px; height: 11px; }
    .services-page.sp-main.wp-page .wp-meta { margin-top: 12px; padding-top: 10px; gap: 7px; font-size: .75rem; }
    .services-page.sp-main.wp-page .wp-meta > div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
    .services-page.sp-main.wp-page .wp-meta dt { font-size: .75rem; }
    .services-page.sp-main.wp-page .wp-meta dt .icon { width: 13px; height: 13px; }
    .services-page.sp-main.wp-page .wp-meta dd small { margin-top: 1px; }
}
@media (max-width: 360px) {
    .services-page.sp-main.wp-page .wp-price-tabs a.sp-chip .icon { display: none; }
    .services-page.sp-main.wp-page .sp-card { grid-template-rows: auto auto; }
    .services-page.sp-main.wp-page .sp-image-wrap :is(.wp-state, .wp-statebadge) { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .services-page.sp-main.wp-page *, .services-page.sp-main.wp-page *::before, .services-page.sp-main.wp-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.lens-motion-paused .services-page.sp-main.wp-page *, .lens-motion-paused .services-page.sp-main.wp-page *::before, .lens-motion-paused .services-page.sp-main.wp-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

/* Price is a separate filter group. The public button skin must not erase its
   active underline or turn the inactive labels into tiny glass pills. */
body.rahaf-public-ui #main .wp-page .wp-price-tabs a.sp-chip {
    min-height:44px;padding:9px 6px;gap:6px;border:0;border-bottom:2px solid transparent;
    border-radius:0;background:none;box-shadow:none;color:#35584e;font-size:.875rem;line-height:1.65;
}
body.rahaf-public-ui #main .wp-page .wp-price-tabs a.sp-chip[aria-current] {
    color:#087e82;border-bottom-color:#087e82;background:none;box-shadow:none;font-weight:600;
}
body.rahaf-public-ui #main .wp-page .wp-price-tabs a.sp-chip:hover { background:#edf4ef;color:#103f46; }
body.rahaf-public-ui #main .wp-page .wp-price-tabs a.sp-chip:focus-visible { outline:3px solid #087e82;outline-offset:2px; }

/* Intentional fallback when a workshop has no administrative cover image. */
.workshop-cover-placeholder { display:grid; place-items:center; min-block-size:240px; block-size:100%; border:1px solid #ceded8; border-radius:24px; background:#edf3ee; color:#087e82; }
.workshop-cover-placeholder .icon { inline-size:64px; block-size:64px; }
