/* FITIA club/coach pages (/clubs, /coaches): on top of /blog-assets/blog.css (same header, footer and palette). */
.d-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; margin: 18px 0 30px; }
.d-filters { position: sticky; top: 84px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.d-filters h2 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.d-filters label { display: block; margin: 10px 0; color: var(--muted); font-size: 14px; }
.d-filters select { display: block; width: 100%; height: 42px; margin-top: 4px; padding: 0 10px; border: 1px solid #d9dbe8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.d-filters select:disabled { opacity: .6; }
.d-filters .b-button { width: 100%; margin-top: 6px; cursor: pointer; font-family: inherit; }
/* With JavaScript every change filters at once (directory.js), so «نمایش» is hidden. */
.d-filters .b-button[hidden] { display: none; }
.d-filters form[aria-busy="true"] { opacity: .6; pointer-events: none; }
.d-clear { display: block; margin-top: 10px; font-size: 14px; text-align: center; }
.d-map-wrap { margin-bottom: 14px; }
.d-map-search { display: flex; gap: 8px; margin-bottom: 8px; }
.d-map-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #d9dbe8; border-radius: 10px; font: inherit; font-size: 15px; }
.d-map-search .b-button { cursor: pointer; font-family: inherit; white-space: nowrap; }
.d-map-status { min-height: 1.6em; margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.d-map-status:empty { display: none; }
.d-map-choices { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.d-map-choices[hidden] { display: none; }
.d-map-choices .b-button { width: 100%; padding: 8px 12px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.8; text-align: right; cursor: pointer; }
/* `isolation`: Leaflet's panes (z-index 400+) stay inside the map, under the sticky header and the photo window. */
.d-map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.d-map-small { height: 280px; margin: 12px 0; }
.d-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 12px 0 24px; }
.d-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.d-card a:hover { box-shadow: 0 14px 36px #0b2a6b14; transform: translateY(-2px); }
.d-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--soft); }
.d-card-body { padding: 12px 14px 14px; }
.d-card h2 { margin: 0 0 2px; color: var(--navy); font-size: 18px; line-height: 1.6; }
.d-card .b-meta { margin: 0 0 6px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; padding: 0; list-style: none; }
.d-chips li { padding: 0 10px; border-radius: 999px; background: var(--brand-pale); color: var(--brand-dark); font-size: 13px; line-height: 1.9; }
.d-card-amenities { margin: 4px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.d-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.d-amenities li { display: flex; align-items: baseline; gap: 8px; color: var(--ink); font-size: 15px; }
.d-amenities span { color: #176a45; font-weight: 700; }
.d-gender { display: inline-block; margin-inline-start: 8px; padding: 0 8px; border-radius: 999px; background: #eef0fb; color: var(--navy); font-size: 12px; line-height: 1.8; }
.d-badge { display: inline-block; margin-top: 4px; padding: 0 10px; border-radius: 999px; background: #e8f6ee; color: #176a45; font-size: 13px; line-height: 1.9; }
.d-listing { margin: 8px 0 30px; }
.d-head h1 { margin: 14px 0 2px; color: var(--navy); font-size: clamp(26px, 4vw, 36px); line-height: 1.5; }
.d-head .b-button { margin-top: 8px; }
.d-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 10px; margin: 18px 0; }
.d-gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: var(--soft); }
.d-gallery figure:first-child { grid-row: span 2; }
.d-gallery img { width: 100%; height: 100%; object-fit: cover; }
.d-gallery a { display: block; height: 100%; cursor: zoom-in; }
/* The photo window (directory.js), like the app's photo windows. */
.d-viewer { position: fixed; z-index: 50; inset: 0; padding: 20px; display: grid; place-items: center; background: #24202f8a; }
.d-viewer[hidden] { display: none; }
.d-viewer-box { width: min(900px, 100%); max-height: 92vh; overflow: auto; padding: 20px 22px 22px; border-radius: 15px; background: #fff; box-shadow: 0 25px 70px #20193340; }
.d-viewer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.d-viewer-head h2 { margin: 0; font-size: 17px; }
.d-viewer-close { border: 0; background: transparent; color: #777582; font-size: 26px; line-height: 1; cursor: pointer; }
.d-viewer-stage { position: relative; }
.d-viewer-stage img { display: block; max-width: 100%; max-height: 75vh; margin: 0 auto; border-radius: 8px; }
.d-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffffe6; color: #29262f; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px #20193333; }
.d-viewer-nav:hover, .d-viewer-nav:focus-visible { background: #fff; color: var(--brand); }
.d-viewer-prev { right: 8px; }
.d-viewer-next { left: 8px; }
/* Phones: smaller buttons under the photo instead of on it (previous on the right, next on the left). */
@media (max-width: 700px) {
  .d-viewer { padding: 12px; }
  .d-viewer-box { padding: 14px 14px 16px; }
  .d-viewer-stage { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .d-viewer-stage img { flex: 1 1 100%; max-height: 65vh; }
  .d-viewer-nav { position: static; transform: none; width: 36px; height: 36px; font-size: 22px; box-shadow: none; border: 1px solid var(--line); }
}
.d-gallery:has(figure:only-child) { grid-template-columns: 1fr; grid-auto-rows: 340px; }
/* Two or three photos: one large and the rest beside it, no empty column. */
.d-gallery:has(> figure:nth-child(2):last-child), .d-gallery:has(> figure:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.d-gallery:has(> figure:nth-child(2):last-child) figure:last-child { grid-row: span 2; }
.d-section { margin: 26px 0; }
.d-section h2 { margin: 0 0 8px; color: var(--navy); font-size: 22px; line-height: 1.6; }
.d-section p { margin: 0 0 12px; }
.d-section address { font-style: normal; }
.d-routes { display: flex; flex-wrap: wrap; gap: 8px; }
.d-table-wrap { margin-top: 10px; }
.d-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.d-table th { padding: 8px 10px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; }
.d-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.d-table small { color: var(--muted); }
.d-table .b-button { white-space: nowrap; }
.d-full { color: var(--muted); font-size: 14px; }
.d-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1000px) { .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .d-layout { grid-template-columns: 1fr; }
  .d-filters { position: static; }
  .d-map { height: 260px; }
  .d-grid { grid-template-columns: 1fr; }
  .d-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .d-gallery figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .d-gallery:has(> figure:nth-child(2):last-child) { grid-template-columns: 1fr; grid-auto-rows: 110px; }
  .d-gallery:has(> figure:nth-child(2):last-child) figure:last-child { grid-row: span 2; }
  .d-gallery:has(> figure:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; }
  /* The registration table becomes cards on phones (no sideways scroll). */
  .d-table thead { display: none; }
  .d-table, .d-table tbody, .d-table tr, .d-table td { display: block; width: 100%; }
  .d-table tr { margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
  .d-table td { padding: 3px 0; border: 0; }
  .d-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 13px; }
  .d-table td:last-child { padding-top: 8px; }
  .d-table td:last-child .b-button { display: block; text-align: center; }
  .b-header nav a { display: none; }
  .b-header nav a[href="/clubs"], .b-header nav a[href="/coaches"] { display: inline-block; padding: 6px 6px; }
  .b-cta { padding: 7px 10px; font-size: 13px; white-space: nowrap; }
}
/* «امتیاز و نظر»: stars are decoration (aria-hidden); the number and count beside them are the text. In RTL the
   first star is on the right, so a half star is filled from the right. */
.d-rating { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; color: var(--ink); font-size: 14px; }
.d-rating a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.d-rating a:hover small, .d-rating a:focus-visible small { text-decoration: underline; }
.d-rating small { color: var(--muted); font-size: 13px; }
.d-rating-none { color: var(--muted); font-size: 13px; }
.d-stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; letter-spacing: 0; }
.d-star-on { color: #e8a317; }
.d-star-off { color: #d9dbe8; }
.d-star-half { background: linear-gradient(to left, #e8a317 50%, #d9dbe8 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-rating-summary { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.d-rating-summary > b { color: var(--navy); font-size: 40px; line-height: 1; }
.d-rating-summary > div { display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.d-rating-summary .d-stars { font-size: 22px; }
.d-reviews { display: grid; gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; }
.d-review { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.d-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.d-review header strong { color: var(--navy); font-size: 15px; }
.d-review time { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.d-review p { margin: 0 0 6px; overflow-wrap: anywhere; }
.d-review p:last-child { margin-bottom: 0; }

/* ── Look (2026-10): a header band, cards that lift, a sticky info card beside the club's page. ───────────────── */
:root { --d-shadow: 0 1px 2px #0b2a6b0d, 0 8px 24px #0b2a6b0f; --d-shadow-hover: 0 2px 4px #0b2a6b12, 0 18px 40px #0b2a6b1f; --d-radius: 20px; }
.d-icon { flex: none; width: 1em; height: 1em; color: var(--brand); vertical-align: -0.15em; }
.d-place { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
/* Header band: a pale colour block; the decoration sits in its corner, away from the text. */
.d-hero { position: relative; overflow: hidden; margin-top: 20px; padding: 30px 32px 26px; border-radius: 28px; background: #fbf3ee; isolation: isolate; }
.d-hero::before { content: ""; position: absolute; z-index: -1; inset-inline-end: -120px; top: -150px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%); }
.d-hero::after { content: ""; position: absolute; z-index: -1; inset-inline-end: 40px; bottom: -60px; width: 150px; height: 150px; border: 18px solid color-mix(in srgb, var(--brand) 9%, transparent); border-radius: 50%; }
.d-hero h1 { max-width: 760px; margin-top: 14px; }
.d-hero p { max-width: 640px; }
.d-kinds { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--d-shadow); }
.d-kinds a { padding: 4px 18px; border-radius: 999px; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.d-kinds a[aria-current="page"] { background: var(--brand); color: #fff; }
.d-kinds a:not([aria-current]):hover { background: var(--brand-pale); color: var(--brand-dark); }
.d-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--navy); font-size: 14px; font-weight: 600; }
.d-trust li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 6px; border-radius: 50%; background: #fff; color: #176a45; font-size: 12px; box-shadow: var(--d-shadow); }
.d-layout { margin-top: 24px; gap: 28px; }
.d-filters { padding: 18px; border: 1px solid var(--line); border-radius: var(--d-radius); background: #fff; box-shadow: var(--d-shadow); }
.d-filters h2 { display: flex; align-items: center; gap: 8px; }
.d-filters h2::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--brand); }
.d-filters label { font-weight: 600; }
.d-filters select { border-color: #dfe2ee; background-color: var(--soft); transition: border-color .15s ease, background-color .15s ease; }
.d-filters select:hover:not(:disabled) { border-color: color-mix(in srgb, var(--brand) 45%, #dfe2ee); background-color: #fff; }
.d-results > .b-meta[role="status"] { margin: 4px 0 0; color: var(--navy); font-size: 14px; font-weight: 700; }
.d-results[aria-busy="true"] { opacity: .55; transition: opacity .15s ease; }
.d-map { border-radius: var(--d-radius); box-shadow: var(--d-shadow); }
.d-map-search input { background: #fff; box-shadow: var(--d-shadow); }
.d-grid { gap: 22px; }
.d-card a { border-radius: var(--d-radius); background: #fff; box-shadow: var(--d-shadow); transition: box-shadow .2s ease, transform .2s ease; }
.d-card a:hover, .d-card a:focus-visible { box-shadow: var(--d-shadow-hover); transform: translateY(-3px); }
.d-card-media { position: relative; overflow: hidden; background: var(--soft); }
.d-card-media img { transition: transform .35s ease; }
.d-card a:hover .d-card-media img { transform: scale(1.04); }
.d-badge-photo { position: absolute; top: 10px; inset-inline-start: 10px; margin: 0; background: #ffffffeb; color: #176a45; font-weight: 700; box-shadow: 0 2px 8px #0b2a6b26; }
.d-card-body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.d-card h2 { font-size: 19px; }
.d-card .d-rating { margin-bottom: 4px; }
.d-card-more { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--brand-dark); font-size: 14px; font-weight: 700; }
.d-card a:hover .d-card-more { color: var(--brand); }
.d-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 6px; padding: 36px 20px; border: 1px dashed #d9dbe8; border-radius: var(--d-radius); background: var(--soft); text-align: center; }
.d-empty > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 30px; box-shadow: var(--d-shadow); }
.d-empty p { margin: 4px 0 6px; }
@media (prefers-reduced-motion: reduce) { .d-card a, .d-card-media img { transition: none; } .d-card a:hover { transform: none; } .d-card a:hover .d-card-media img { transform: none; } }

/* A club's or coach's page. */
.d-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-top: 12px; padding: 24px 28px; border-radius: 28px; background: #fbf3ee; }
.d-head h1 { margin: 2px 0 4px; }
.d-kicker { display: inline-block; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--brand-dark); font-size: 13px; font-weight: 700; line-height: 2; box-shadow: var(--d-shadow); }
.d-head .d-chips li { background: #fff; }
.d-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.d-head-actions .b-button { margin: 0; padding: 10px 20px; }
.d-gallery { margin: 18px 0 8px; }
.d-gallery figure { border-radius: 16px; }
.d-gallery img { transition: transform .35s ease; }
.d-gallery a:hover img { transform: scale(1.03); }
.d-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 16px; }
.d-main .d-section, .d-info { margin: 0 0 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--d-radius); background: #fff; box-shadow: var(--d-shadow); }
.d-section h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.d-section h2::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 4px; background: var(--brand); }
.d-side { position: sticky; top: 84px; }
.d-info address { flex-wrap: nowrap; align-items: flex-start; margin-bottom: 10px; line-height: 1.9; }
.d-info address .d-icon { margin-top: .45em; }
.d-info .d-map-small { height: 220px; margin: 0 0 12px; }
.d-info .d-routes { display: grid; gap: 8px; }
.d-info .d-routes .b-button { text-align: center; }
.d-amenities { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.d-amenities li { padding: 8px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; line-height: 1.7; }
.d-amenities span { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #e3f4ea; font-size: 12px; }
/* The registration table in the narrower content column: cards from 1000px down. */
@media (max-width: 1000px) {
  .d-detail { grid-template-columns: 1fr; }
  .d-side { position: static; }
  .d-table thead { display: none; }
  .d-table, .d-table tbody, .d-table tr, .d-table td { display: block; width: 100%; }
  .d-table tr { margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
  .d-table td { padding: 3px 0; border: 0; }
  .d-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 13px; }
  .d-table td:last-child { padding-top: 8px; }
}
@media (max-width: 760px) {
  .d-hero { margin-top: 12px; padding: 20px 18px; border-radius: 22px; }
  .d-hero::after { display: none; }
  .d-trust { gap: 6px 12px; font-size: 13px; }
  .d-head { padding: 18px; border-radius: 22px; }
  .d-head-actions { width: 100%; }
  .d-head-actions .b-button { flex: 1 1 auto; text-align: center; }
  .d-main .d-section, .d-info { padding: 16px; }
  .d-amenities { grid-template-columns: 1fr 1fr; }
  /* Filters two by two (the results come sooner); the heading, the order and «حذف فیلتر» take the whole row. */
  .d-filters { padding: 14px; }
  .d-filters form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .d-filters form > h2, .d-filters form > label:first-of-type, .d-filters .d-clear, .d-filters noscript { grid-column: 1 / -1; }
  .d-filters label { margin: 6px 0; font-size: 13px; }
  .d-filters select { height: 40px; font-size: 14px; }
}

/* Filter select boxes: our own look (the browser's list still opens, which is the best picker on phones). A ▾ at
   the left edge like the app's select boxes; a chosen filter is tinted so the visitor sees what is applied. */
.d-filters select {
  -webkit-appearance: none; appearance: none;
  height: 46px; padding: 0 14px 0 38px; border: 1.5px solid #dfe2ee; border-radius: 12px; cursor: pointer;
  background-color: #fff; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.4;
  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.5l5 5 5-5' fill='none' stroke='%230b2a6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 12px 8px;
  box-shadow: 0 1px 2px #0b2a6b0a; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.d-filters select:hover:not(:disabled) { border-color: color-mix(in srgb, var(--brand) 45%, #dfe2ee); background-color: #fff; }
.d-filters select:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.d-filters select:not(:has(option[value=""]:checked)) {
  border-color: color-mix(in srgb, var(--brand) 55%, #fff); background-color: var(--brand-pale); color: var(--brand-dark);
  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.5l5 5 5-5' fill='none' stroke='%23a13709' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.d-filters select:disabled { opacity: 1; cursor: not-allowed; border-style: dashed; background-color: var(--soft); color: #9a9fb8; }
.d-filters select option { color: var(--ink); background: #fff; font-weight: 500; }
.d-filters label { color: var(--navy); font-size: 13px; font-weight: 700; }
.d-filters label > select { margin-top: 6px; }
.d-clear { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 8px; border-radius: 10px; background: var(--soft); color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.d-clear::before { content: "×"; font-size: 18px; line-height: 1; }
.d-clear:hover { background: var(--brand-pale); }
@media (max-width: 760px) { .d-filters select { height: 44px; padding-inline-start: 10px; font-size: 14px; } }
/* «کد تخفیف» (app/discounts.py): a badge on the card's photo (the other corner from «ثبت‌نام اینترنتی») and the lowered
   price in the registration table. */
.d-badge-discount { inset-inline-start: auto; inset-inline-end: 10px; background: var(--brand); color: #fff; }
.d-was { color: var(--muted); font-size: 13px; text-decoration-thickness: 1.5px; }
.d-now { color: var(--brand-dark); }
.d-code { display: block; margin-top: 2px; color: var(--brand-dark) !important; font-weight: 600; }
.d-code b { letter-spacing: .5px; }
.d-shared-code { margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--brand-pale); color: var(--brand-dark); font-weight: 600; }
/* iOS Safari zooms into fields under 16px when tapped: there they use 16px (see the app's styles.css). */
@supports (-webkit-touch-callout: none) { .d-filters select, .d-map-search input, input, select, textarea { font-size: 16px !important; } }

/* Under the list: inviting clubs / coaches to list themselves (site_directory_pages.owner_invite). */
.d-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; margin: 6px 0 28px; padding: 24px 28px; border: 1px solid color-mix(in srgb, var(--brand) 22%, #fff); border-radius: var(--d-radius); background: var(--brand-pale); }
.d-invite h2 { margin: 8px 0 8px; color: var(--navy); font-size: 22px; line-height: 1.6; }
.d-invite ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 15px; }
.d-invite li { display: flex; gap: 8px; }
.d-invite li::before { content: "✓"; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #176a45; font-size: 12px; font-weight: 700; box-shadow: var(--d-shadow); }
.d-invite-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.d-invite-button { padding: 12px 22px; font-size: 16px; white-space: nowrap; }
@media (max-width: 760px) { .d-invite { grid-template-columns: 1fr; padding: 20px 18px; } .d-invite-button { justify-self: stretch; text-align: center; } }
