/* 10mag – Directory styles: every directory page (single listing, directory home, type, subcategory and place
   archives, directory search) and the Newsletter signup section. Source: tenmag-work/scripts/php/directory.css,
   published as the WPCodeBox CSS snippet "10mag – Directory styles". Built to the approved mockup
   (design/design-source); sizes follow it (1rem = 10px). Colours are Automatic.css tokens; Naver green and Kakao
   yellow are those services' brand colours, kept on their own buttons.
   ACSS pads every top-level <section> (:where(section)) and styles any class containing "btn--" as its own
   button: the sections here set their own padding, and the button classes are dir-cta, dir-maplink and dir-chip. */

/* Fonts: Oswald and IBM Plex Sans are Bricks Custom Fonts (self-hosted; Bricks prints their @font-face rules). */
:root {
  --dir-font-head: "Oswald", "Arial Narrow", sans-serif;
  --dir-font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dir-ink: var(--tm-ink);
  --dir-text: var(--tm-grey-900);
  --dir-muted: var(--tm-grey-600);
  --dir-eyebrow: var(--tm-grey-700);
  --dir-line: var(--tm-black-10);
  --dir-chip-line: var(--tm-grey-200);
  --dir-cta-line: var(--tm-grey-400);
  --dir-panel: var(--tm-cream);
  --dir-chip: var(--tm-cream-light);
  --dir-underline: var(--tm-yellow-700);
  --dir-naver: #03C75A;
  --dir-kakao: #FEE500;
  --dir-google: #8AB4F8; /* Google blue 200: 9.5:1 with the ink */
  --dir-gutter: clamp(1.6rem, 4vw, 4rem);
  --dir-h2: clamp(2.8rem, 2.16rem + 1vw, 3.6rem);
}

/* ---------------------------------------------------------------- shared */
.dir-nl, .dir-arch, .dir-filters, .dir-results {
  color: var(--dir-ink); font-family: var(--dir-font-text); font-size: 1.6rem; line-height: 1.5;
}
.dir-nl a, .dir-arch a, .dir-filters a, .dir-results a { color: var(--dir-ink); }
.dir-crumbs a, .dir-mention__title, .dir-hero__credit a, .dir-map__credit a, .dir-clear, .dir-intro a {
  text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.dir-crumbs a:hover, .dir-mention__title:hover, .dir-clear:hover { text-decoration-color: var(--dir-ink); }
.dir-nl :focus-visible, .dir-arch :focus-visible, .dir-filters :focus-visible, .dir-results :focus-visible { outline: 3px solid var(--tm-ink); outline-offset: 3px; }
.dir-h2 { margin: 0; font-family: var(--dir-font-head); font-weight: 600; font-size: var(--dir-h2); line-height: 1.15; color: var(--dir-ink); max-width: none; }
.dir-h2--small { font-weight: 500; font-size: 2.2rem; letter-spacing: .04em; text-transform: uppercase; }
/* Labels: Oswald, small capitals */
.dir-label, .dir-card:not(.brxe-div) .dir-card__label, .dir-glance__row dt {
  font-family: var(--dir-font-head); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dir-eyebrow);
}
.dir-cta {
  display: inline-flex; align-items: center; gap: 1rem; min-height: 4.8rem; padding: 0 2.2rem 0 1.8rem; box-sizing: border-box;
  border: 1px solid var(--dir-cta-line); border-radius: 999px; background: var(--tm-white); color: var(--dir-ink);
  font: inherit; font-size: 1.6rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.dir-cta:hover { background: var(--dir-panel); border-color: var(--dir-ink); color: var(--dir-ink); text-decoration: none; }
.dir-cta svg { flex: none; }
.dir-label { margin: 0; display: flex; align-items: center; gap: 1.2rem; font-size: 1.4rem; letter-spacing: .12em; }
.dir-label__bar { display: block; flex: none; width: 2.8rem; height: .6rem; background: var(--tm-yellow); }
.dir-crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: 1.4rem; color: var(--dir-muted); }
.dir-crumbs__list li { margin: 0; }
.dir-crumbs__list a { display: inline-block; padding: .4rem 0; }
/* Chips: tags (spans), links (big: type and category; small: places and the ladder) */
.dir-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.dir-chips li { margin: 0; }
.dir-chips > li:not(:has(a)) { padding: .6rem 1.4rem; border: 1px solid var(--dir-chip-line); border-radius: 999px; background: var(--dir-chip); font-size: 1.4rem; line-height: 1.5; color: var(--dir-text); }
.dir-chips--big { gap: 1rem; }
.dir-chip {
  display: inline-flex; align-items: center; min-height: 4.4rem; padding: 0 1.8rem; box-sizing: border-box; border: 1px solid var(--dir-cta-line);
  border-radius: 999px; background: var(--tm-white); color: var(--dir-ink); font-size: 1.5rem; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.dir-chip:hover { background: var(--dir-panel); border-color: var(--dir-ink); text-decoration: none; }
.dir-chip[aria-current] { background: var(--dir-ink); border-color: var(--dir-ink); color: var(--tm-white) !important; }
.dir-chip--small { min-height: 4rem; padding: 0 1.4rem; border-color: var(--dir-chip-line); background: var(--dir-chip); color: var(--dir-text); font-size: 1.4rem; font-weight: 400; }
.dir-chip--small:hover { border-color: var(--dir-ink); background: var(--dir-chip); color: var(--dir-ink); }

.dir-chip[aria-current] .dir-chip__count { color: inherit; }

/* ---------------------------------------------------------------- listing card (every list page) */
.dir-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30rem, 100%), 1fr)); gap: 4.4rem 2.8rem; }
.dir-cards > li, .dir-cards > .dir-cards__item { margin: 0; min-width: 0; list-style: none; }
.dir-cards--row { grid-template-columns: repeat(auto-fill, minmax(min(24rem, 100%), 1fr)); gap: 3.6rem 2.4rem; }
/* Listing card printed by code (snippet 25 tenmag_dir_card(): the foreign-owned list and the saved lists). Session 9.27b:
   the Bricks component "Listing card" (every other list) is styled by its global classes dir-card, dir-card__* instead;
   :not(.brxe-div) keeps these rules off it. */
.dir-card:not(.brxe-div) { display: flex; flex-direction: column; gap: 1.4rem; height: 100%; border-radius: var(--tm-radius-s); color: var(--dir-ink); font-family: var(--dir-font-text); font-size: 1.6rem; line-height: 1.5; text-decoration: none; }
.dir-card:not(.brxe-div):hover { color: var(--dir-ink); text-decoration: none; }
.dir-card:not(.brxe-div):hover .dir-card__name { text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dir-card:not(.brxe-div):hover .dir-card__img { filter: brightness(.96); }
.dir-card:not(.brxe-div):focus-visible { outline: 3px solid var(--tm-ink); outline-offset: 4px; }
.dir-card:not(.brxe-div) .dir-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tm-radius-s); }
.dir-card:not(.brxe-div) .dir-card__img--empty { display: grid; place-items: center; background: var(--dir-panel); color: var(--dir-muted); }
.dir-card:not(.brxe-div) .dir-card__body { display: flex; flex-direction: column; gap: .8rem; padding: 0 .2rem; }
.dir-card:not(.brxe-div) .dir-card__label { display: flex; align-items: center; gap: 1rem; font-size: 1.3rem; letter-spacing: .12em; }
.dir-card:not(.brxe-div) .dir-card__label .dir-label__bar { width: 2.2rem; height: .5rem; }
.dir-card:not(.brxe-div) .dir-card__name { margin: 0; font-family: var(--dir-font-head); font-weight: 600; font-size: 2.6rem; line-height: 1.1; text-wrap: balance; color: var(--dir-ink); max-width: none; }
.dir-card:not(.brxe-div) .dir-card__place { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; color: var(--dir-text); }
.dir-card:not(.brxe-div) .dir-card__place svg { flex: none; }
.dir-card:not(.brxe-div) .dir-card__summary { font-size: 1.5rem; line-height: 1.55; color: var(--dir-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- single listing: top */
.dir-hero__media { margin: 0; }
.dir-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 55%; border-radius: var(--tm-radius-s); }
.dir-hero__credit { margin-top: 1rem; font-size: 1.3rem; color: var(--dir-muted); }

/* ---------------------------------------------------------------- single listing: At a glance and the column */
.dir-glance__title { margin: 0 0 .4rem; font-family: var(--dir-font-head); font-weight: 500; font-size: 2.2rem; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--dir-ink); }
.dir-glance__list { margin: 0; display: flex; flex-direction: column; }
.dir-glance__row { display: flex; flex-direction: column; gap: .4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--dir-line); }
.dir-glance__row:last-child { border-bottom: 0; }
.dir-glance__row dt { display: flex; align-items: center; gap: .8rem; font-size: 1.4rem; }
.dir-glance__row dd { margin: 0 0 0 2.6rem; font-size: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.dir-glance__row dd a { display: inline-block; padding: .2rem 0; }
/* Session 9r2: two columns and a sticky At a glance from 992 px. Its top is just below the sticky site header (snippet 46's
   --tenmag-header-offset, never a number); it stops at the end of the content column (the sticky box's containing block is
   .dir-main__inner). A box taller than the space under the header gets is-too-tall from snippet 46 and scrolls with the page.
   Session 9t: it still never stuck on a laptop. The CSS was right; the box was too tall: 610-910 px with a seven-row hours
   table, so with the 174 px header offset it needed a window 800-1,100 px tall, and snippet 46 unstuck it on every common
   laptop window (650-800 px; 9r2 measured at 1440 x 900 headless, with no browser bars). Now the box's hours group days with
   the same times (snippet 24), its rows are tighter, and tablets (768-991 px) get the two columns and the sticky box too,
   with a 26rem box. Phones (below 768) keep one column and a static box. The flex row has align-items: flex-start, so the
   box keeps its own height while the content column sets the row's height (the sticky range). */
@media (min-width: 768px) {
  .dir-glance__title { margin-bottom: 0; }
  .dir-glance__row { gap: .2rem; padding: 1rem 0; }
  .dir-glance__row dd a { padding: 0; }
}
/* Session 9u3: the sidebar column (template 316186, dsidec): the At a glance box, then, not sticky, the box's footer line
   (dglfot: Information from…, Suggest an edit, How we choose places) and the claim box (dclaim), both moved out of the
   box so it fits a laptop window on most listings. From 768 px the column stretches to the row's height, so the box can
   stick inside it (its containing block) while the footer and the claim box scroll on under it. The box is drawn over
   them (z-index) and a strip of page colour above it covers the 16 px gap under the header while they pass. */
.dir-hours .is-today th, .dir-hours .is-today td { font-weight: 700; }
.dir-hours__status { margin: .4rem 0 0; font-size: 1.5rem; }
.dir-nl__text > * { width: 100%; max-width: none; margin-inline: 0; }

/* About: the description at the mockup's reading size */
.dir-about .dir-h2 { margin-bottom: .4rem; }

/* Location & directions */
.dir-location__map .dir-map { width: 100%; position: relative; border-radius: var(--tm-radius-s); overflow: hidden; background: var(--dir-panel); }
.dir-location__map .dir-map--kakao { display: block; width: 100%; aspect-ratio: 16 / 9 !important; border: 0; }
.dir-map__credit { position: absolute; right: 0; bottom: 0; padding: .2rem .8rem; background: var(--tm-white-80); font-size: 1.2rem; color: var(--dir-text); }
/* Session 9.23: the map buttons sit inside the Address card. When the location grid (the card's parent, the container)
   is 60rem (600 px) or wider: two columns, left the ADDRESS label, the address and Copy address, right the three buttons
   stacked, both columns from the top (the left column's last row takes any height difference). Narrower: label, address, Copy
   address, then the buttons stacked full width. 44 px tall like Copy address, the same pill radius, a smaller icon, each
   app's colour (ink text: Naver 8.2:1, Kakao 14.5:1, Google 8.8:1). Scoped to the card, so the no-address buttons
   (dmapb2) and the phone's sticky directions bar keep their own. Replaces 9s's container on the card and row of three. */
 /* the cream of the article's contents and Keep exploring boxes */

/* Per-type details */

/* Mentioned in 10 Magazine */
.dir-mentions__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.dir-mention { margin: 0; display: flex; align-items: center; gap: 1.6rem; }
.dir-mention__img { flex: none; display: block; width: 9.6rem; height: 7.2rem; object-fit: cover; border-radius: var(--tm-radius-s); background: var(--dir-panel); }
.dir-mention__body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.dir-mention__title { font-size: 1.8rem; font-weight: 600; line-height: 1.35; }
.dir-mention__meta { font-size: 1.4rem; color: var(--dir-muted); }

/* Suggest an edit */
.dir-form.brxe-form { display: flex; flex-wrap: wrap; gap: 1.6rem; max-width: 62ch; font-family: var(--dir-font-text); }
.dir-form .form-group { width: 100%; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.dir-form .form-group:has(input[type="text"]), .dir-form .form-group:has(input[type="email"]) { flex: 1 1 22rem; width: auto; }
.dir-form .submit-button-wrapper { width: auto; margin: 0; }
.dir-form .bricks-button {
  min-height: 4.8rem; padding: 0 2.8rem; border: 0; border-radius: 999px; background: var(--tm-ink); color: var(--tm-white);
  font: inherit; font-size: 1.6rem; font-weight: 600;
}
.dir-form .bricks-button:hover { background: var(--tm-grey-700); }
.dir-form .message { width: 100%; font-size: 1.6rem; }
/* Consent lines (session 9c): one line under a form naming what it collects, with the policy link. */
.dir-nl__consent { margin: 0; max-width: 62ch; font-size: 1.4rem; line-height: 1.5; color: var(--dir-ink); }
.dir-nl__consent a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.dir-nl__consent { flex: 1 1 100%; max-width: none; }

/* Discovery: rows of cards and the ladder */

/* Newsletter signup (section template) */
.dir-nl { background: var(--tm-yellow); color: var(--dir-ink); padding: 0; display: block; }
.dir-nl__inner { max-width: 120rem; margin: 0 auto; padding: 6.4rem var(--dir-gutter); box-sizing: content-box; display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.8rem 6.4rem; }
.dir-nl__text { flex: 1 1 36rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.dir-nl__title { margin: 0; font-family: var(--dir-font-head); font-weight: 600; font-size: clamp(3.2rem, 2.4rem + 1.4vw, 4.4rem); line-height: 1.08; text-wrap: balance; color: var(--dir-ink); max-width: none; }
.dir-nl__lead { margin: 0; max-width: 46ch; font-size: 1.7rem; line-height: 1.55; }
.dir-nl__formwrap { flex: 1 1 52rem; min-width: 0; }
.dir-nl__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem; margin: 0; }
.dir-nl__field { min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.dir-nl__field--name { flex: 1 1 17rem; }
.dir-nl__field--email { flex: 1 1 22rem; }
.dir-nl__field label { font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); }
.dir-nl__field input { min-height: 4.8rem; padding: 0 1.4rem; border: 1.5px solid var(--dir-ink); border-radius: var(--tm-radius-s); background: var(--tm-white); color: var(--dir-ink); font: inherit; font-size: 1.6rem; box-sizing: border-box; width: 100%; }
.dir-nl__submit { flex: 0 0 auto; min-height: 4.8rem; padding: 0 2.8rem; border: 0; border-radius: 999px; background: var(--tm-ink); color: var(--tm-white); font: inherit; font-size: 1.6rem; font-weight: 600; cursor: pointer; }
.dir-nl__submit:hover { background: var(--tm-grey-700); }
.dir-nl__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------------------------------------------------------------- archives: home, type, subcategory, diet, place, search (session 9l) */

.dir-arch__ko { display: block; margin-top: .6rem; font-family: var(--dir-font-text); font-weight: 500; font-size: 2rem; letter-spacing: 0; color: var(--dir-muted); }

.dir-search__select, .dir-fselect select, .dir-fselect .brx-filter-select, select.dir-fselect {
  width: 100%; min-height: 5.2rem; padding: 0 3.6rem 0 1.2rem; border: 1px solid var(--dir-cta-line); border-radius: var(--tm-radius-s);
  background-color: var(--tm-white); color: var(--dir-ink); font: inherit; font-family: var(--dir-font-text); font-size: 1.5rem; box-sizing: border-box;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23131313' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}

.dir-search__popular .dir-chip--small { min-height: 3.8rem; }

/* The sidebar beside the results */

.dir-list__script { display: none; }
.dir-side { display: flex; flex-direction: column; }
.dir-side__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding-bottom: 1rem; }
.dir-side__title { margin: 0; font-family: var(--dir-font-head); font-weight: 600; font-size: 2rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dir-ink); }
.dir-side__clear, .dir-side__clear.bricks-button { min-height: 2.4rem; padding: .4rem 0; border: 0; background: transparent; font: inherit; font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); text-decoration: underline; text-decoration-color: var(--tm-yellow-700); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.dir-side__clear:hover { text-decoration-color: var(--dir-ink); }
.dir-fgrp { border-top: 1px solid var(--dir-line); padding: .4rem 0; }
.dir-fgrp__summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 4.8rem; cursor: pointer; list-style: none; font-family: var(--dir-font-head); font-weight: 500; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dir-ink); }
.dir-fgrp__summary::-webkit-details-marker { display: none; }
.dir-fgrp__summary::after { content: ""; width: 1rem; height: 1rem; flex: 0 0 auto; border-right: 2px solid var(--dir-ink); border-bottom: 2px solid var(--dir-ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.dir-fgrp[open] > .dir-fgrp__summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.dir-fgrp__body { display: flex; flex-direction: column; gap: 1rem; padding: .4rem 0 1.8rem; }
.dir-fgrp__note { margin: .2rem 0 0; font-size: 1.3rem; line-height: 1.5; color: var(--dir-muted); }
.dir-fgrp__note:empty { display: none; }
.dir-fgrp:has(.brx-filter-options:empty), .dir-fgrp:has(.brxe-filter-checkbox:not(:has(li))) { display: none; } /* a group with no option on this page */
.dir-ffield { display: flex; flex-direction: column; gap: .6rem; }
.dir-ffield__label { font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); }
.dir-fselect select { min-height: 4.4rem; }
/* Bricks checkbox filters as the mockup's rows */
.dir-fopts .brx-filter-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.dir-fopts .brx-filter-options li { margin: 0; }
.dir-fopts .brx-filter-options label { display: flex; align-items: flex-start; gap: 1rem; min-height: 2.8rem; font-size: 1.5rem; line-height: 1.45; color: var(--dir-text); cursor: pointer; }
.dir-fopts .brx-filter-options label:hover { color: var(--dir-ink); }
.dir-fopts .brx-input-indicator { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; margin: .3rem 0 0; border: 1.5px solid var(--dir-ink); border-radius: .3rem; background: var(--tm-white); box-sizing: border-box; position: relative; }
.dir-fopts input:checked + .brx-input-indicator, .dir-fopts .brx-option-active .brx-input-indicator { background: var(--dir-ink); }
.dir-fopts input:checked + .brx-input-indicator::after, .dir-fopts .brx-option-active .brx-input-indicator::after { content: ""; position: absolute; left: .5rem; top: .15rem; width: .4rem; height: .9rem; border: solid var(--tm-white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dir-fopts input:focus-visible + .brx-input-indicator { outline: 3px solid var(--dir-ink); outline-offset: 3px; }
.dir-fopts .brx-option-text { flex: 1 1 auto; }
.dir-fopts .brx-option-count, .dir-fopts .brx-count { color: var(--dir-muted); font-variant-numeric: tabular-nums; }
.dir-fopts--tree li[data-depth="1"] { padding-left: 2.9rem; }
.dir-fopts--tree li[data-depth="2"] { padding-left: 5.8rem; }
.dir-fopts .brx-filter-show-more, .dir-fopts .brx-filter-show-less, .dir-fopts button.brx-show-more { align-self: flex-start; margin-top: .2rem; padding: .4rem 0; border: 0; background: none; font: inherit; font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tm-yellow-700); cursor: pointer; }
/* Session 9r: the Price pills and the walk-minutes range went with their filters. */

/* The results column */

.dir-results__sort .dir-ffield__label { white-space: nowrap; }
.dir-results__sort .dir-fselect select { width: auto; min-width: 19rem; min-height: 4.4rem; }

/* Active filters as the mockup's tags */
.dir-active ul, .dir-active .brx-filter-active-filters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.dir-active li { margin: 0; }
.dir-active li > *, .dir-active .brx-filter-active-item { display: inline-flex; align-items: center; gap: .8rem; min-height: 3.6rem; padding: 0 1.4rem; border: 1px solid var(--dir-ink); border-radius: 999px; background: var(--tm-white); font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); text-decoration: none; cursor: pointer; }
.dir-active li > *:hover { background: var(--dir-panel); }
.dir-active:empty, .dir-active:not(:has(li)) { display: none; }

.dir-results__empty { margin: 0; font-size: 1.7rem; color: var(--dir-text); }

.dir-cards { grid-template-columns: repeat(auto-fill, minmax(min(28rem, 100%), 1fr)); gap: 4rem 2.4rem; }
.dir-cards > .brxe-text-basic, .dir-cards > li > .brxe-text-basic { display: block; height: 100%; }
.brx-query-trail, .dir-cards .brx-infinite-scroll-trail { list-style: none; }

/* Sticky sidebar on desktop; collapsed behind the Filters button below 900 px. Session 9u3: no max-height and no
   scrollbar of its own any more (the scrollbar took its width from the content: "Clear al", the dropdowns' right edge
   and the arrows under it). Snippet 46 sets its top like the At a glance box's: 16 px under the header while it fits the
   window; taller (sections open, filters ticked), it scrolls with the page and its top never sticks under the header. */

/* Bricks pagination as the mockup's pills */
.dir-pages { display: flex; justify-content: center; padding-top: 1.2rem; }
.dir-pages .page-numbers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.dir-pages .page-numbers li { margin: 0; }
.dir-pages a.page-numbers, .dir-pages span.page-numbers {
  display: grid; place-items: center; min-width: 4.4rem; height: 4.4rem; padding: 0 1.2rem; border-radius: 999px; box-sizing: border-box;
  color: var(--dir-ink); font-family: var(--dir-font-text); font-size: 1.6rem; font-weight: 600; text-decoration: none; background: none;
}
.dir-pages a.page-numbers:hover { background: var(--dir-panel); }
.dir-pages span.page-numbers.current { background: var(--dir-ink); color: var(--tm-white); }
.dir-pages span.page-numbers.dots { min-width: 0; padding: 0 .6rem; color: var(--dir-muted); font-weight: 400; }
.dir-pages a.next.page-numbers, .dir-pages a.prev.page-numbers { display: inline-flex; gap: .8rem; padding: 0 1.8rem; border: 1px solid var(--dir-cta-line); }
.dir-pages a.next.page-numbers:hover, .dir-pages a.prev.page-numbers:hover { border-color: var(--dir-ink); }
.dir-pages a.next.page-numbers::before { content: "Next page"; }
.dir-pages a.prev.page-numbers::after { content: "Previous"; }

/* Phones' directions bar */

/* ---------------------------------------------------------------- phones */
@media (max-width: 767px) {
  .dir-top .dir-crumbs__list { display: none; }
  .dir-hero__img { aspect-ratio: 1 / 1; border-radius: 0; }
  .dir-hero__credit { margin: 0; padding: .8rem 2rem 0; }
  .dir-chips > li:not(:has(a)) { padding: .5rem 1.3rem; }
  .dir-actions .dir-cta { white-space: nowrap; flex: 1 1 0; justify-content: center; padding: 0 1rem; }
  .dir-glance__row { padding: 1.4rem 0; }
  .dir-h2 { font-size: 2.8rem; }
  .dir-h2--small { font-size: 2rem; }
  .dir-location__map .dir-map--kakao { aspect-ratio: 4 / 3 !important; }
  .dir-cards, .dir-cards--row { grid-template-columns: 1fr; gap: 3.6rem; }
  .dir-nl__inner { padding: 4.8rem 2rem; gap: 2.4rem; }
  .dir-nl__title { font-size: 3.2rem; }
  .dir-nl__lead { font-size: 1.6rem; }
  .dir-nl__form { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .dir-nl__field--name, .dir-nl__field--email { flex: none; }
  .dir-nl__submit { min-height: 5.2rem; margin-top: .4rem; }
  
  
  
  .dir-arch__ko { font-size: 1.9rem; }
  
  
  
  
  
  
  .dir-results__sort .dir-fselect { flex: 1 1 auto; }
  .dir-results__sort .dir-fselect select { width: 100%; }
}

/* Visually hidden, read by screen readers */
.dir-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Session 8: the glance box's "Suggest an edit" stands alone, so it gets a 24px-high target (WCAG 2.5.8). */

/* ---- Session 9k Part B: tiers, claims, add your business ---- */
.dir-tier { display: inline-flex; align-items: center; margin-left: .8rem; padding: .2rem .8rem; border-radius: .4rem; background: var(--tm-yellow); color: var(--tm-grey-900); font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.dir-tier--premium { background: var(--tm-ink); color: var(--tm-white); }
.dir-card:not(.brxe-div) .dir-card__label .dir-tier { margin-left: auto; }

.dir-claim form.brxe-brf-pro-forms { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.2rem 0 0; }
.dir-claim .pro-forms-builder-field, .dir-claim .brf-field { display: flex; flex-direction: column; gap: .4rem; margin: 0; padding: 0; }
.dir-claim .options-wrapper { list-style: none; margin: 0; padding: 0; }
.dir-claim .options-wrapper li { margin: 0; padding: 0; display: flex; gap: .8rem; align-items: flex-start; }
.dir-claim .message { font-size: 1.4rem; }
.dir-owner-note { margin: 0 0 1.2rem; padding: 1.2rem 1.6rem; border-left: .4rem solid var(--tm-yellow); background: var(--dir-panel); font-size: 1.5rem; line-height: 1.5; }

/* ---- Session 9r2: reader reviews (snippets 59–64). Tokens only; no pattern background. ---- */
:root { --dir-star: var(--tm-yellow); --dir-star-line: var(--tm-yellow-800); --dir-star-empty: var(--tm-grey-600); }
.dir-stars { display: inline-flex; align-items: center; gap: .2rem; font-size: 1.8rem; line-height: 1; vertical-align: -.2em; flex: none; }
.dir-star, .dir-star--half svg { display: block; width: 1em; height: 1em; }
.dir-star--full path, .dir-star__fg path { fill: var(--dir-star); stroke: var(--dir-star-line); stroke-width: 1.4; stroke-linejoin: round; }
.dir-star--empty path, .dir-star__bg path { fill: var(--tm-white); stroke: var(--dir-star-empty); stroke-width: 1.4; stroke-linejoin: round; }
.dir-star--half { position: relative; display: inline-block; width: 1em; height: 1em; }
.dir-star--half .dir-star__fg { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }

/* The hero line and the listing cards */
.dir-card:not(.brxe-div) .dir-card__rating { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; color: var(--dir-ink); }
.dir-card:not(.brxe-div) .dir-card__rating .dir-stars { font-size: 1.6rem; }
.dir-card:not(.brxe-div) .dir-card__ravg { font-weight: 700; }
.dir-card:not(.brxe-div) .dir-card__rcount { color: var(--dir-text); }

/* The Reviews section */
.dir-rv__staff, .dir-rv__first { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 .9rem; border-radius: 999px; font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; }
.dir-rv__staff { background: var(--dir-ink); color: var(--tm-white); }
.dir-rv__first { background: var(--tm-yellow-200); color: var(--dir-ink); }
.dir-rv__photos { max-width: 42rem; }
.dir-rv__photos.brxe-image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.dir-rv__photos .bricks-layout-item { width: auto !important; padding: 0 !important; }
.dir-rv__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--tm-radius-s); }
.dir-rv__photos a { display: block; border-radius: var(--tm-radius-s); }
.dir-rv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; }
.dir-rv__helpful, .dir-rv__report { display: inline-flex; align-items: center; gap: .6rem; min-height: 4rem; padding: 0 1.6rem; border: 1px solid var(--dir-cta-line); border-radius: 999px; background: var(--tm-white); color: var(--dir-ink); font: inherit; font-size: 1.4rem; font-weight: 600; cursor: pointer; }
.dir-rv__helpful svg path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.dir-rv__helpful[aria-pressed="true"] { border-color: var(--dir-ink); background: var(--dir-panel); }
.dir-rv__helpful[aria-pressed="true"] svg path { fill: currentColor; }
.dir-rv__helpful:hover:not(:disabled), .dir-rv__report:hover { border-color: var(--dir-ink); }
.dir-rv__helpful:disabled { opacity: .55; cursor: default; }
.dir-rv__report { border-color: transparent; padding: 0 .8rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--dir-text); }
.dir-rv__msg { font-size: 1.4rem; color: var(--dir-text); }
.dir-rv__msg:empty { display: none; }
.dir-rv__replybox.brxe-accordion-nested { border-left: .4rem solid var(--tm-yellow); border-radius: 0 var(--tm-radius-s) var(--tm-radius-s) 0; background: var(--dir-panel); max-width: 62ch; }
.dir-rv__replybox .accordion-title-wrapper { min-height: 4.4rem; padding: .8rem 1.6rem; cursor: pointer; }
.dir-rv__replytitle { margin: 0; font-family: var(--dir-font-text); font-size: 1.5rem; font-weight: 600; color: var(--dir-ink); }
.dir-rv__replybox .accordion-content-wrapper { padding: 0 1.6rem 1.6rem; }
.dir-rv__reply { font-size: 1.6rem; line-height: 1.6; color: var(--dir-text); }
.dir-rv__reply p { margin: 0 0 .8rem; }
.dir-rv__replydate { font-size: 1.35rem !important; color: var(--dir-muted); }

/* The form */
.dir-rvform { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.8rem; border: 1px solid var(--dir-chip-line); border-radius: var(--tm-radius-s); background: var(--tm-white); }
.dir-rvform__title { margin: 0; font-family: var(--dir-font-head); font-weight: 500; font-size: 2.2rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dir-ink); }
.dir-rvform__intro p { margin: 0 0 .6rem; font-size: 1.5rem; line-height: 1.5; color: var(--dir-text); }
.dir-rvform__mine { padding: 1rem 1.4rem; border-left: .4rem solid var(--tm-yellow); background: var(--dir-panel); }
.dir-rvform__gate { display: flex; flex-direction: column; gap: 1.2rem; }
.dir-rvform__gate p { margin: 0; }
.dir-rvform__gate-title { font-size: 1.8rem !important; font-weight: 600; color: var(--dir-ink) !important; }
.dir-rvform__gate-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.dir-rvform__gate-note { font-size: 1.4rem !important; color: var(--dir-muted) !important; }
.dir-rvform__form.brxe-brf-pro-forms { display: flex; flex-direction: column; gap: 1.8rem; margin: 0; max-width: 62ch; font-family: var(--dir-font-text); }
.dir-rvform .form-group, .dir-rvform .pro-forms-builder-field { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0 !important; width: 100%; }
.dir-rvform label { font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); }
.dir-rvform input[type="text"], .dir-rvform textarea { width: 100%; min-height: 4.8rem; padding: 0 1.4rem; box-sizing: border-box; border: 1.5px solid var(--dir-ink); border-radius: var(--tm-radius-s); background: var(--tm-white); color: var(--dir-ink); font: inherit; font-size: 1.6rem; }
.dir-rvform textarea { min-height: 16rem; padding: 1.2rem 1.4rem; line-height: 1.55; }
.dir-rvform__count { margin: .2rem 0 0; font-size: 1.35rem; color: var(--dir-text); font-variant-numeric: tabular-nums; }
.dir-rvform__count.is-short { color: var(--dir-ink); }
.dir-rvform__rating { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1.6rem; }
.dir-rvform .dir-rvform__rating > .form-group { width: auto; flex: 0 0 auto; }
.dir-rvform__stars .options-wrapper { display: flex; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.dir-rvform__stars .card-radio { position: relative; margin: 0; padding: 0; }
.dir-rvform__stars .card-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dir-rvform__stars .card-radio label { display: grid; place-items: center; width: 4.8rem; height: 4.8rem; margin: 0; border-radius: var(--tm-radius-s); cursor: pointer; }
.dir-rvform__star { display: block; width: 4rem; height: 4rem; }
.dir-rvform__star path { fill: var(--tm-white); stroke: var(--dir-star-empty); stroke-width: 1.3; stroke-linejoin: round; transition: fill .12s; }
.dir-rvform__stars .card-radio input:focus-visible + label { outline: 3px solid var(--dir-ink); outline-offset: 1px; }
/* Fill stars 1 to N: the checked one, or the one under the pointer */
.dir-rvform__stars .options-wrapper:has(li:nth-child(1) input:checked) li:nth-child(-n+1) path,
.dir-rvform__stars .options-wrapper:has(li:nth-child(2) input:checked) li:nth-child(-n+2) path,
.dir-rvform__stars .options-wrapper:has(li:nth-child(3) input:checked) li:nth-child(-n+3) path,
.dir-rvform__stars .options-wrapper:has(li:nth-child(4) input:checked) li:nth-child(-n+4) path,
.dir-rvform__stars .options-wrapper:has(li:nth-child(5) input:checked) li:nth-child(-n+5) path { fill: var(--dir-star); stroke: var(--dir-star-line); }
@media (hover: hover) {
  .dir-rvform__stars .options-wrapper:has(li:hover) path { fill: var(--tm-white); stroke: var(--dir-star-empty); }
  .dir-rvform__stars .options-wrapper:has(li:nth-child(1):hover) li:nth-child(-n+1) path,
  .dir-rvform__stars .options-wrapper:has(li:nth-child(2):hover) li:nth-child(-n+2) path,
  .dir-rvform__stars .options-wrapper:has(li:nth-child(3):hover) li:nth-child(-n+3) path,
  .dir-rvform__stars .options-wrapper:has(li:nth-child(4):hover) li:nth-child(-n+4) path,
  .dir-rvform__stars .options-wrapper:has(li:nth-child(5):hover) li:nth-child(-n+5) path { fill: var(--tm-yellow-200); stroke: var(--dir-star-line); }
}
.dir-rvform__live { margin: 0 0 1.4rem; min-height: 2.4rem; font-size: 1.6rem; font-weight: 600; color: var(--dir-ink); }
.dir-rvform__hint { margin: 0; font-size: 1.35rem; line-height: 1.5; color: var(--dir-text); }
.dir-rvform__photos { display: flex; flex-direction: column; gap: .6rem; }
.dir-rvform__consent > label, .dir-acct__consent > label { display: none; }
.dir-rvform__consent .options-wrapper, .dir-acct__consent .options-wrapper { margin: 0; padding: 0; list-style: none; }
.dir-rvform__consent li, .dir-acct__consent li { display: flex; gap: .8rem; align-items: flex-start; }
.dir-rvform__consent li label { display: block; font-weight: 400; font-size: 1.5rem; line-height: 1.5; cursor: pointer; }
.dir-rvform__consent input[type="checkbox"] { width: 2rem; height: 2rem; margin: .2rem 0 0; flex: none; accent-color: var(--dir-ink); }
.dir-rvform .submit-button-wrapper { width: auto; margin: 0; }
.dir-rvform button[type="submit"], .dir-rvform .bricks-button { align-self: flex-start; min-height: 4.8rem; padding: 0 2.8rem; border: 0; border-radius: 999px; background: var(--tm-ink); color: var(--tm-white); font: inherit; font-size: 1.6rem; font-weight: 600; cursor: pointer; }
.dir-rvform button[type="submit"]:hover { background: var(--tm-grey-700); }
.dir-rvform .message { font-size: 1.6rem; }
.dir-rvform .dir-consent { font-size: 1.35rem; }

/* Owner replies (owner link only) */
.dir-rvown { display: flex; flex-direction: column; gap: 1.4rem; padding: 2.4rem; border-left: .4rem solid var(--tm-yellow); border-radius: 0 var(--tm-radius-s) var(--tm-radius-s) 0; background: var(--dir-panel); }
.dir-rvown__title { margin: 0; font-family: var(--dir-font-text); font-size: 2rem; font-weight: 600; color: var(--dir-ink); }
.dir-rvown__lead { margin: 0; font-size: 1.5rem; line-height: 1.55; color: var(--dir-text); max-width: 62ch; }
.dir-rvown__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.dir-rvown__item { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border-radius: var(--tm-radius-s); background: var(--tm-white); }
.dir-rvown__head, .dir-rvown__text, .dir-rvown__done { margin: 0; font-size: 1.5rem; line-height: 1.5; color: var(--dir-text); }
.dir-rvown__form { display: flex; flex-direction: column; gap: .6rem; }
.dir-rvown__form label { font-size: 1.4rem; font-weight: 600; color: var(--dir-ink); }
.dir-rvown__form textarea { width: 100%; min-height: 9rem; padding: 1rem 1.2rem; box-sizing: border-box; border: 1.5px solid var(--dir-ink); border-radius: var(--tm-radius-s); font: inherit; font-size: 1.5rem; line-height: 1.5; }
.dir-rvown__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.dir-rvown__status { font-size: 1.4rem; color: var(--dir-text); }

/* The report dialog */
.dir-rvrep { width: min(52rem, calc(100vw - 3.2rem)); padding: 0; border: 0; border-radius: var(--tm-radius-s); color: var(--dir-ink); font-family: var(--dir-font-text); }
.dir-rvrep::backdrop { background: rgba(0, 0, 0, .55); }
.dir-rvrep__form { display: flex; flex-direction: column; gap: 1.4rem; padding: 2.8rem; }
.dir-rvrep__reasons { display: flex; flex-direction: column; gap: .2rem; margin: 0; padding: 0; border: 0; }
.dir-rvrep__reasons legend { margin-bottom: .8rem; font-size: 1.5rem; font-weight: 600; }
.dir-rvrep__reasons label { display: flex; align-items: center; gap: 1rem; min-height: 4rem; font-size: 1.5rem; cursor: pointer; }
.dir-rvrep__reasons input { width: 2rem; height: 2rem; margin: 0; accent-color: var(--dir-ink); }
.dir-rvrep__notelabel { font-size: 1.4rem; font-weight: 600; }
.dir-rvrep textarea { width: 100%; padding: 1rem 1.2rem; box-sizing: border-box; border: 1.5px solid var(--dir-ink); border-radius: var(--tm-radius-s); font: inherit; font-size: 1.5rem; }
.dir-rvrep__privacy, .dir-rvrep__status { margin: 0; font-size: 1.35rem; line-height: 1.5; color: var(--dir-text); }
.dir-rvrep__status:empty { display: none; }
.dir-rvrep__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* The account page and reviewer profiles */
.dir-acct, .dir-prof { font-family: var(--dir-font-text); color: var(--dir-ink); }
.dir-acct__inner, .dir-prof__inner { max-width: 120rem; margin: 0 auto; padding: 4.8rem var(--dir-gutter) 8rem; box-sizing: content-box; display: flex; flex-direction: column; gap: 2.4rem; }
.dir-acct__title, .dir-prof__name { margin: 0; }
.dir-acct__forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 36rem), 1fr)); gap: 2.4rem; align-items: start; }
.dir-acct__box { display: flex; flex-direction: column; gap: 1.2rem; padding: 2.8rem; border: 1px solid var(--dir-chip-line); border-radius: var(--tm-radius-s); }
.dir-acct__lead { margin: 0; font-size: 1.6rem; line-height: 1.55; color: var(--dir-text); }
.dir-acct__form.brxe-brf-pro-forms { display: flex; flex-direction: column; gap: 1.4rem; margin: 0; }
.dir-acct .form-group, .dir-acct .pro-forms-builder-field { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0 !important; width: 100%; }
.dir-acct label { font-size: 1.4rem; font-weight: 600; }
.dir-acct input[type="text"], .dir-acct input[type="email"] { width: 100%; min-height: 4.8rem; padding: 0 1.4rem; box-sizing: border-box; border: 1.5px solid var(--dir-ink); border-radius: var(--tm-radius-s); background: var(--tm-white); color: var(--dir-ink); font: inherit; font-size: 1.6rem; }
.dir-acct__consent li label { display: block; font-weight: 400; font-size: 1.45rem; line-height: 1.5; cursor: pointer; }
.dir-acct__consent input[type="checkbox"] { width: 2rem; height: 2rem; margin: .2rem 0 0; flex: none; accent-color: var(--dir-ink); }
.dir-acct__consent a, .dir-acct__panel a, .dir-prof a { color: var(--dir-ink); text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dir-acct button[type="submit"], .dir-acct .bricks-button { align-self: flex-start; min-height: 4.8rem; padding: 0 2.8rem; border: 0; border-radius: 999px; background: var(--tm-ink); color: var(--tm-white); font: inherit; font-size: 1.6rem; font-weight: 600; cursor: pointer; }
.dir-acct .dir-cta { background: var(--tm-white); color: var(--dir-ink); border: 1px solid var(--dir-cta-line); }
.dir-acct .dir-cta--primary { background: var(--tm-ink); color: var(--tm-white) !important; border-color: var(--tm-ink); }
.dir-acct__note { padding: 1.4rem 1.8rem; border-left: .4rem solid var(--tm-yellow); background: var(--dir-panel); font-size: 1.6rem; line-height: 1.5; }
.dir-acct__note p { margin: 0 0 1rem; }
.dir-acct__note p:last-child { margin: 0; }
.dir-acct__note--warn { border-left-color: var(--dir-ink); }
.dir-acct__login { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.dir-acct__panel { display: flex; flex-direction: column; gap: 1.6rem; max-width: 72ch; font-size: 1.6rem; }
.dir-acct__panel p { margin: 0; }
.dir-acct__row { display: flex; flex-wrap: wrap; gap: 1rem; }
.dir-acct__row input { flex: 1 1 24rem; width: auto !important; }
.dir-acct__hint { font-size: 1.35rem; color: var(--dir-text); }
.dir-acct__reviews { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dir-acct__review { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--dir-line); }
.dir-acct__state { font-size: 1.4rem; color: var(--dir-text); }
.dir-acct__delete summary { cursor: pointer; min-height: 4.4rem; display: flex; align-items: center; font-weight: 600; }
.dir-acct__delete form { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; }
.dir-acct__check { display: flex; align-items: center; gap: .8rem; font-weight: 400 !important; }
.dir-prof__head { display: flex; flex-direction: column; gap: 1rem; }
.dir-prof__head p { margin: 0; }
.dir-prof__facts { font-size: 1.7rem; color: var(--dir-text); }
.dir-prof__reviews { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 72ch; }
.dir-prof__review { display: flex; flex-direction: column; gap: .8rem; padding: 2.4rem 0; border-top: 1px solid var(--dir-line); }
.dir-prof__review p { margin: 0; }
.dir-prof__listing { font-size: 1.7rem; font-weight: 600; }
.dir-prof__type { margin-left: .6rem; font-size: 1.4rem; font-weight: 400; color: var(--dir-text); }
.dir-prof .dir-rv__date { font-size: 1.4rem; color: var(--dir-text); }
.dir-prof .dir-rv__date::before { content: none; }
.dir-prof .dir-rv__text { font-size: 1.6rem; }
@media (max-width: 767px) {
  .dir-rvform { padding: 2rem 1.8rem; }
  .dir-rvform__stars .card-radio label { width: 4.6rem; height: 4.6rem; }
  .dir-rvform__star { width: 3.8rem; height: 3.8rem; }
  .dir-acct__inner, .dir-prof__inner { padding: 3.2rem 2rem 5.6rem; }
  .dir-acct__box { padding: 2.2rem 2rem; }
}
.dir-prof__body { display: flex; flex-direction: column; gap: 3.2rem; }

/* ---------------------------------------------------------------- session 9s: reviewer levels */
/* Badges: the level's number and name as text (never colour alone), ACSS tokens. */
.dir-badge { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.6rem; padding: 0 1rem 0 .3rem; border: 1px solid var(--dir-chip-line); border-radius: 999px; background: var(--tm-white); color: var(--dir-ink); font-family: var(--dir-font-text); font-size: 1.3rem; font-weight: 600; line-height: 1.2; white-space: nowrap; vertical-align: middle; }
.dir-badge__num { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 999px; background: var(--tm-grey-100); color: var(--dir-ink); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.dir-badge__brand { font-weight: 500; color: var(--dir-text); }
.dir-badge--l2 .dir-badge__num { background: var(--tm-cream); }
.dir-badge--l3 { border-color: var(--tm-yellow-700); }
.dir-badge--l3 .dir-badge__num { background: var(--tm-yellow); }
.dir-badge--l4 { border-color: var(--dir-ink); }
.dir-badge--l4 .dir-badge__num { background: var(--dir-ink); color: var(--tm-white); }
.dir-badge--l5 { border-color: var(--dir-ink); background: var(--dir-ink); color: var(--tm-white); }
.dir-badge--l5 .dir-badge__brand { color: var(--tm-white); }
.dir-badge--l5 .dir-badge__num { background: var(--tm-yellow); color: var(--dir-ink); }
/* Progress to the next level (the reviewer's own account page and profile). */
.dir-progress { display: flex; flex-direction: column; gap: 1rem; max-width: 60rem; padding: 2rem 2.2rem; border: 1px solid var(--dir-chip-line); border-radius: var(--tm-radius-s); background: var(--tm-cream-light); }
.dir-progress p { margin: 0; }
.dir-progress__now { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-weight: 600; }
.dir-progress__points { font-weight: 500; color: var(--dir-text); }
.dir-progress__bar { height: 1rem; border-radius: 999px; background: var(--tm-white); border: 1px solid var(--dir-chip-line); overflow: hidden; }
.dir-progress__bar > span { display: block; height: 100%; background: var(--dir-ink); }
.dir-progress__conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(24rem, 100%), 1fr)); gap: .4rem 1.6rem; font-size: 1.5rem; color: var(--dir-text); }
.dir-progress__cond { display: flex; gap: .6rem; }
.dir-progress__cond.is-met { color: var(--dir-ink); }
.dir-progress__mark { flex: none; width: 1.6rem; font-weight: 700; }
.dir-progress__more, .dir-progress__note { font-size: 1.4rem; color: var(--dir-muted); }
.dir-progress a, .dir-prof__rules a, .dir-lb a, .dir-rules__date { color: var(--dir-ink); }
.dir-progress a, .dir-prof__rules a, .dir-lb__more a, .dir-lb__intro a, .dir-lb__empty a { text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* The Reviews section: sort, rules and draw links, photos from readers. */
.dir-rv__ruleslink { display: inline-flex; align-items: center; min-height: 4rem; padding: 0 .8rem; font-size: 1.4rem; color: var(--dir-text); text-decoration: underline; text-underline-offset: 3px; }
.dir-rvphotos { display: flex; flex-direction: column; gap: 1.2rem; }
.dir-rvphotos__h { margin: 0; font-family: var(--dir-font-head); font-weight: 500; font-size: 2rem; letter-spacing: .04em; text-transform: uppercase; }
.dir-lphoto { border: 1px solid var(--dir-chip-line); border-radius: var(--tm-radius-s); padding: 0 2rem; }
.dir-lphoto__summary { display: flex; align-items: center; min-height: 4.8rem; font-weight: 600; cursor: pointer; }
.dir-lphoto__form { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 0 0 2rem; font-size: 1.5rem; }
.dir-lphoto__form p, .dir-lphoto__note { margin: 0; }
.dir-lphoto__label { font-weight: 600; }
.dir-lphoto__check { display: flex; gap: .8rem; align-items: flex-start; }
.dir-lphoto__check input { margin-top: .4rem; width: 1.8rem; height: 1.8rem; flex: none; }
.dir-lphoto__hint { color: var(--dir-muted); font-size: 1.4rem; }
.dir-lphoto__note { padding: 1rem 0 0; font-weight: 600; }
/* The leaderboard (/directory/reviewers/). */
.dir-lb { display: flex; flex-direction: column; gap: 2.4rem; font-family: var(--dir-font-text); color: var(--dir-ink); font-size: 1.6rem; }
.dir-lb p { margin: 0; }
.dir-lb__months { display: flex; flex-wrap: wrap; gap: .6rem; }
.dir-lb__months > * { display: inline-flex; align-items: center; min-height: 4rem; padding: 0 1.4rem; border: 1px solid var(--dir-cta-line); border-radius: 999px; font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.dir-lb__months > [aria-current] { background: var(--dir-ink); border-color: var(--dir-ink); color: var(--tm-white); }
.dir-lb__city { display: flex; flex-direction: column; gap: 1.2rem; }
.dir-lb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 72rem; }
.dir-lb__row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--dir-line); }
.dir-lb__rank { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 999px; background: var(--dir-panel); font-family: var(--dir-font-head); font-weight: 600; }
.dir-lb__name { font-weight: 600; text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
span.dir-lb__name { text-decoration: none; }
.dir-lb__pts { margin-left: auto; font-weight: 600; white-space: nowrap; }
/* The review rules and the draw pages. */
.dir-rules__date { margin: 0 0 1.6rem; font-size: 1.5rem; color: var(--dir-muted); }
.dir-draw__prizes, .dir-draw__winners { padding-left: 2rem; }
.dir-pagetext a { color: inherit; text-decoration: underline; text-decoration-color: var(--dir-underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dir-pagetext a:hover { text-decoration-color: currentColor; }
.dir-lb { text-align: left; }
.dir-lb .dir-h2, .dir-lb h2 { text-align: left; }
.dir-lb__city { align-items: stretch; }
.dir-lb__list { width: 100%; }

