/* Singapore BJJ Directory: Legit Best Reviews style layout, Kairos Academy colours. Mobile first. */

:root {
  --ink: #2B2D2A;
  --text: #444643;
  --muted: #6B6D69;
  --charcoal: #444643;
  --rose: #D7BBB7;
  --rose-deep: #8A5A52;
  --rose-tint: #F5ECEA;
  --sage: #C1C6BF;
  --paper: #F6F5F3;
  --line: #E4E2DE;
  --white: #FFFFFF;
  --display: "Source Serif 4", "Iowan Old Style", Charter, "Bitstream Charter", Georgia, serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--text); font: 1rem/1.65 var(--body); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
code, pre { font: .9rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.eyebrow { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); }
.eyebrow--rose { color: var(--rose); }
.meta { color: var(--muted); font-size: .9rem; }

/* Reading progress (scroll-driven, no JavaScript) */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--rose-deep); transform-origin: 0 50%; animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Owner disclosure bar (inside the sticky header, on every page) */
.owner-bar { background: var(--ink); color: #F1EFEC; font-size: .8rem; }
.owner-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 0 1rem; }
.owner-bar p { margin: 0; padding: .35rem 0; }
.owner-bar strong { color: var(--rose); }
.owner-bar__more { display: none; }
.owner-bar__links { display: flex; gap: 1rem; }
.owner-bar a { color: var(--white); display: inline-flex; align-items: center; min-height: 32px; }
.owner-bar a:hover { color: var(--rose); }
.owner-bar a span { color: var(--rose); margin-right: .3rem; }
@media (min-width: 768px) { .owner-bar__more { display: inline; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4rem; }
.wordmark { font: 700 1.2rem/1.2 var(--display); color: var(--ink); text-decoration: none; margin: 0; }
.wordmark--light { color: var(--white); margin-bottom: .75rem; }
.site-nav, .site-header__how { display: none; }
.site-nav a, .site-header__how { color: var(--muted); text-decoration: none; font-size: .9rem; align-items: center; min-height: 44px; }
.site-nav a { display: inline-flex; }
.site-nav a:hover, .site-header__how:hover { color: var(--ink); }
.site-header__how { color: var(--rose-deep); font-weight: 600; margin-left: auto; }
.menu { position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 1rem; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; color: var(--ink); background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 14rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(43, 45, 42, .12); padding: .5rem; display: grid; }
.menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu__panel a:hover { background: var(--paper); }
@media (min-width: 900px) {
  .site-nav { display: flex; gap: 1.25rem; }
  .site-header__how { display: inline-flex; }
  .menu { display: none; }
}

/* Hero band (Kairos dark section) */
.hero { background: var(--charcoal); color: var(--white); padding: 3rem 0 3.25rem; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero__lead { max-width: 40rem; font-size: 1.1rem; color: #F1EFEC; }
.hero__lead a { color: var(--white); text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero__lead a:hover { color: var(--rose); }
.hero__meta { font-size: .9rem; color: var(--rose); margin: 0; }
.hero--small { padding: 2rem 0 2.25rem; }
.hero--small h1 { max-width: none; font-size: clamp(1.9rem, 5vw, 2.8rem); }
@media (min-width: 768px) { .hero { padding: 4.5rem 0; } }

/* Page with a sticky contents list on wide screens */
.with-toc { padding-top: 2.5rem; }
.toc { display: none; }
@media (min-width: 1024px) {
  .with-toc { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3rem; align-items: start; }
  .toc { display: block; position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; font-size: .85rem; padding-bottom: 1rem; }
  .toc ol { list-style: none; margin: 0; padding: 0; }
  .toc ol ol { margin: .25rem 0 .9rem; border-left: 1px solid var(--line); }
  .toc ol ol a { display: block; padding: .2rem 0 .2rem .75rem; color: var(--muted); text-decoration: none; }
  .toc ol ol a:hover { color: var(--ink); }
  .toc__group { font-weight: 600; color: var(--ink); text-decoration: none; }
}

/* Callout and boxes */
.callout { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; background: var(--white); }
.callout h2 { font-size: 1.2rem; }
.callout p { margin: 0; color: var(--muted); }
.who { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 3rem 0 1rem; }
.who h2 { font-size: 1.4rem; }
.who__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; }
.who__links a { display: inline-flex; align-items: center; min-height: 44px; }
.notice { background: var(--rose-tint); border-left: 4px solid var(--rose-deep); padding: 1rem 1.25rem; border-radius: 8px; }
.empty { color: var(--muted); }

/* Filters */
.filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2.5rem; background: var(--paper); }
.filters fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.filters legend, .search label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .5rem; padding: 0; }
.search { margin-bottom: 1rem; }
.search label { display: block; }
.search input { width: 100%; min-height: 48px; padding: 0 1rem; font: inherit; color: var(--ink); border: 1px solid var(--muted); border-radius: 12px; background: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-input { position: relative; display: inline-flex; }
.chip-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-input span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text); font-size: .9rem; cursor: pointer; user-select: none; }
.chip-input span:hover { border-color: var(--muted); }
.chip-input input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.chip-input input:checked + span::before { content: "\2713"; margin-right: .4rem; color: var(--rose); }
.chip-input input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.filters__count { margin: 0; font-weight: 600; color: var(--ink); }
.filters__empty { margin: .5rem 0 0; color: var(--rose-deep); }

/* At a glance table */
.table-wrap { overflow: auto; max-height: min(34rem, 75vh); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 3rem; }
.glance { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .9rem; }
.glance thead { background: var(--paper); }
.glance th, .glance td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance tbody tr:last-child > * { border-bottom: 0; }
.glance thead th { font-weight: 500; color: var(--muted); white-space: nowrap; position: sticky; top: 0; z-index: 1; background: var(--paper); }
.glance thead button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; min-height: 44px; }
.glance td { white-space: nowrap; }
.glance tbody th { font-weight: 600; min-width: 11rem; }
.glance tbody th a { color: var(--ink); text-decoration: none; }
.glance tbody th a:hover { text-decoration: underline; }
.glance tr.is-featured { background: linear-gradient(90deg, var(--rose-tint), var(--white)); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--rose); color: var(--ink); padding: .15rem .55rem; border-radius: 999px; vertical-align: middle; }

/* Chips on cards */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.chip { font-size: .8rem; padding: .2rem .65rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--text); }
.chip--rose { background: var(--rose-tint); border-color: var(--rose); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: var(--white); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn--text { color: var(--rose-deep); padding: 0 .5rem; }
.btn--text:hover { color: var(--ink); }
.btn--block { width: 100%; margin-top: 1rem; }

/* Region groups and cards (Legit Best Reviews category sections) */
.group { margin-bottom: 3rem; }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: 1.25rem; }
.group__head h2 { margin: 0; }
.group__head p { margin: 0; font-size: .9rem; }
.cards { display: grid; gap: 1.25rem; }
.cards--page { margin: 2rem 0 3rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: var(--white); }
.card__img { display: block; width: calc(100% + 2.5rem); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -1.25rem -1.25rem 1rem; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.card--featured { border: 2px solid var(--rose); background: linear-gradient(180deg, var(--rose-tint), var(--white) 45%); }
.tag--block { display: inline-flex; align-self: flex-start; gap: .3rem; margin: 0 0 .6rem; background: var(--ink); color: var(--white); }
.tag--block span { color: var(--rose); }
.card__title { font-size: 1.3rem; margin-bottom: .75rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__summary { color: var(--muted); font-size: .95rem; }
.card__facts { margin: 0 0 1rem; font-size: .88rem; }
.card__facts div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .5rem; padding: .3rem 0; border-top: 1px solid var(--line); }
.card__facts dt { color: var(--muted); }
.card__facts dd { margin: 0; }
.card__actions { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* Featured card (Legit Best Reviews sponsor card, in Kairos rose) */
.featured-wrap { margin-bottom: 3rem; }
.featured { border: 2px solid var(--rose); border-radius: 20px; overflow: hidden; background: var(--white); }
.featured__hero { background: linear-gradient(135deg, var(--rose) 0%, #E6D1CD 55%, var(--rose-tint) 100%); padding: 1.25rem 1.25rem 1.5rem; }
.featured__label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.featured__label span { color: var(--rose); }
.featured__note { font-size: .85rem; font-weight: 600; color: var(--ink); margin: 0 0 1rem; }
.featured .eyebrow { color: var(--ink); }
.featured__title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 .75rem; }
.featured__title a { color: var(--ink); text-decoration: none; }
.featured__chip { display: inline-block; margin: 0; background: rgba(255, 255, 255, .75); border: 1px solid rgba(43, 45, 42, .15); border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; color: var(--ink); }
.featured__body { padding: 1.25rem; display: grid; gap: 1.5rem; }
.featured__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 1rem; }
@media (min-width: 900px) {
  .featured__hero, .featured__body { padding-left: 1.75rem; padding-right: 1.75rem; }
  .featured__body { grid-template-columns: minmax(0, 1fr) 19rem; }
}

/* Fact box */
.facts-box { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1.25rem 1.25rem; background: var(--white); align-self: start; }
.facts { margin: 0; font-size: .9rem; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.facts a { display: inline-block; padding: .2rem 0; }

/* Gym page */
.gym { padding: 1.5rem 0 3rem; }
.gym__head { margin: 1.25rem 0 2rem; max-width: 48rem; }
.gym--featured .gym__head { background: linear-gradient(135deg, var(--rose) 0%, var(--rose-tint) 100%); border-radius: 20px; padding: 1.5rem; max-width: none; }
.gym--featured .eyebrow, .gym--featured .meta { color: var(--ink); }
.gym__photo { margin: 0 0 2rem; max-width: 48rem; }
.gym__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.gym__photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.gym__grid { display: grid; gap: 2rem; }
.gym__grid > .facts-box { order: -1; }
@media (min-width: 900px) {
  .gym__grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; }
  .gym__grid > .facts-box { position: sticky; top: 5.5rem; order: 0; }
}
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.fix { margin-top: 2.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.fix p { margin: 0; }
.fix a { display: inline-block; padding: .6rem 0; }
.nearby { margin-top: 3.5rem; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--muted); display: inline-block; padding: .65rem 0; }
.crumbs li[aria-current] { padding: .65rem 0; }
.crumbs--light ol, .crumbs--light a { color: #E6E4E1; }
.crumbs--light li + li::before { color: var(--muted); }

/* Simple pages */
.page { padding: 1.5rem 1rem 3rem; }
.page__head { margin: 1rem 0 2rem; max-width: 44rem; }

/* Areas and FAQ */
.areas { margin: 1rem 0 3rem; }
.area-links { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .25rem; }
.area-links a { display: inline-flex; align-items: center; min-height: 44px; }
.faq { max-width: 48rem; margin-bottom: 2rem; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; background: var(--white); }
.faq__item summary { cursor: pointer; padding: .9rem 1.25rem; font-weight: 600; color: var(--ink); min-height: 44px; }
.faq__item p { padding: 0 1.25rem 1rem; margin: 0; }

/* Footer */
.site-footer { margin-top: 4rem; background: var(--charcoal); color: #E6E4E1; padding: 2.5rem 0; font-size: .9rem; }
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--rose); }
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }

/* Back to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(43, 45, 42, .15); text-decoration: none; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show, .to-top:focus-visible { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .progress { display: none !important; }
}

/* Enquiry form (List your gym) */
.lead-form { position: relative; display: grid; gap: .35rem; margin: 1rem 0 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.lead-form > label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-top: .6rem; }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; padding: .6rem 1rem; font: inherit; color: var(--ink); border: 1px solid var(--muted); border-radius: 12px; background: var(--white); box-sizing: border-box; }
.lead-form textarea { min-height: 8rem; resize: vertical; }
.lead-form .lead-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--text); min-height: 44px; }
.lead-form__consent input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--charcoal); }
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button { justify-self: start; margin-top: 1rem; cursor: pointer; font-family: inherit; }
.lead-form button:disabled { opacity: .55; cursor: not-allowed; }
.lead-form__note { margin: .25rem 0 0; font-size: .9rem; }
.lead-form [data-form-status]:empty { display: none; }

/* Generated filter rules */
.directory:has(#f-gi:checked) [data-gym]:not([data-gi]){display:none}
.directory:has(#f-gi:checked) [data-group]:not(:has([data-gym][data-gi])){display:none}
.directory:has(#f-nogi:checked) [data-gym]:not([data-nogi]){display:none}
.directory:has(#f-nogi:checked) [data-group]:not(:has([data-gym][data-nogi])){display:none}
.directory:has(#f-kids:checked) [data-gym]:not([data-kids]){display:none}
.directory:has(#f-kids:checked) [data-group]:not(:has([data-gym][data-kids])){display:none}
.directory:has(#f-women:checked) [data-gym]:not([data-women]){display:none}
.directory:has(#f-women:checked) [data-group]:not(:has([data-gym][data-women])){display:none}
.directory:has(#f-beginner:checked) [data-gym]:not([data-beginner]){display:none}
.directory:has(#f-beginner:checked) [data-group]:not(:has([data-gym][data-beginner])){display:none}
.directory:has(#f-trial:checked) [data-gym]:not([data-trial]){display:none}
.directory:has(#f-trial:checked) [data-group]:not(:has([data-gym][data-trial])){display:none}
.directory:has(#f-dropin:checked) [data-gym]:not([data-dropin]){display:none}
.directory:has(#f-dropin:checked) [data-group]:not(:has([data-gym][data-dropin])){display:none}
.directory:has(#f-openmat:checked) [data-gym]:not([data-openmat]){display:none}
.directory:has(#f-openmat:checked) [data-group]:not(:has([data-gym][data-openmat])){display:none}
.directory:has(#f-comp:checked) [data-gym]:not([data-comp]){display:none}
.directory:has(#f-comp:checked) [data-group]:not(:has([data-gym][data-comp])){display:none}
.directory:has(.f-region:checked):not(:has(#r-central:checked)) [data-gym][data-region="central"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-central:checked)) [data-group][data-region="central"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-east:checked)) [data-gym][data-region="east"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-east:checked)) [data-group][data-region="east"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-north-east:checked)) [data-gym][data-region="north-east"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-north-east:checked)) [data-group][data-region="north-east"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-north:checked)) [data-gym][data-region="north"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-north:checked)) [data-group][data-region="north"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-west:checked)) [data-gym][data-region="west"]{display:none}
.directory:has(.f-region:checked):not(:has(#r-west:checked)) [data-group][data-region="west"]{display:none}
