/* Compact directory. These rules apply only to the club list, after its shared styles. */
body.clubs-body #clubsDirectory {
    box-sizing: border-box;
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 24px 0 48px !important;
    background: transparent !important;
    color: #102942 !important;
    overflow: visible !important;
}
body.clubs-body #clubsDirectory [hidden] { display: none !important; }
body.clubs-body #clubsDirectory .clubs-directory-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
body.clubs-body #clubsDirectory .clubs-directory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
}
body.clubs-body #clubsDirectory .clubs-directory-heading h1 {
    min-width: 0;
    margin: 0 !important;
    color: #102942 !important;
    font-size: 32px !important;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.035em;
}
body.clubs-body #clubsDirectory .clubs-directory-add,
body.clubs-body #clubsDirectory .clubs-directory-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #c5d7e6;
    border-radius: 10px;
    background: #fff;
    color: #234e6a !important;
    font-size: 14px !important;
    font-weight: 550;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
body.clubs-body #clubsDirectory .clubs-directory-add {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 13px;
    border-color: #438b9b;
    font-size: 13px !important;
}
body.clubs-body #clubsDirectory .clubs-directory-add:hover,
body.clubs-body #clubsDirectory .clubs-directory-tool:hover { background: #eef7fa; border-color: #6dabbc; }
body.clubs-body #clubsDirectory .clubs-directory-tool[aria-expanded="true"] { background: #e8f5f7; border-color: #4893a4; }
body.clubs-body #clubsDirectory .clubs-directory-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 12px;
    min-width: 0;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.clubs-body #clubsDirectory .clubs-directory-search__field {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 46px;
    border: 1px solid #c5d7e6;
    border-radius: 10px;
    background: #fff;
}
body.clubs-body #clubsDirectory .clubs-directory-search__field:focus-within { border-color: #168594; box-shadow: 0 0 0 3px #16859418; }
body.clubs-body #clubsDirectory .clubs-directory-search__submit {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #345f7a !important;
    cursor: pointer;
}
body.clubs-body #clubsDirectory .clubs-directory-search__field input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 12px 8px 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #1c3b53 !important;
    font-size: 16px !important;
    font-weight: 450;
    box-shadow: none !important;
    outline: none;
}
body.clubs-body #clubsDirectory .clubs-directory-search__field input::placeholder { color: #647c93; opacity: 1; }
body.clubs-body #clubsDirectory .clubs-directory-filter-count {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 6px;
    background: #dceff2;
    color: #175b6a;
    font-size: 11px;
}
body.clubs-body #clubsDirectory .clubs-directory-filters {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #d4e3ec;
    border-radius: 12px;
    background: #edf5f9;
}
body.clubs-body #clubsDirectory .clubs-directory-filter-field { display: grid; gap: 7px; min-width: 0; margin: 0; }
body.clubs-body #clubsDirectory .clubs-directory-filter-field > span { color: #2b516a; font-size: 13px; font-weight: 650; }
body.clubs-body #clubsDirectory .clubs-directory-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #c7d8e5;
    border-radius: 9px;
    background: #fff;
    color: #203f56;
    font-size: 16px;
}
body.clubs-body #clubsDirectory .clubs-directory-filter-open { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; color: #294e65; font-size: 14px; cursor: pointer; }
body.clubs-body #clubsDirectory .clubs-directory-filter-open input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: #07808d; }
body.clubs-body #clubsDirectory .clubs-directory-filter-actions { display: flex; align-items: center; flex-wrap: wrap; grid-column: 1 / -1; gap: 10px 16px; }
body.clubs-body #clubsDirectory .clubs-directory-filter-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid #087783; border-radius: 9px; background: #087783; color: #fff !important; font-size: 14px; font-weight: 650; cursor: pointer; }
body.clubs-body #clubsDirectory .clubs-directory-filter-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #365e77 !important; font-size: 13px; text-underline-offset: 3px; }
body.clubs-body #clubsDirectory .clubs-directory-views {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    margin: 0 0 11px;
    padding: 0;
    border: 1px solid #d5e2ee;
    border-radius: 10px;
    background: #edf3f9;
    overflow: hidden;
}
body.clubs-body #clubsDirectory .clubs-directory-views a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 10px 25px;
    border-right: 1px solid #d5e2ee;
    color: #23465f !important;
    font-size: 14px !important;
    font-weight: 550;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
}
body.clubs-body #clubsDirectory .clubs-directory-views a:last-child { border-right: 0; }
body.clubs-body #clubsDirectory .clubs-directory-views a:hover { background: #e0edf3; }
body.clubs-body #clubsDirectory .clubs-directory-views a.is-active { border-color: #058293; background: #058293; color: #fff !important; }
body.clubs-body #clubsDirectory .clubs-directory-count { margin: 0 0 14px !important; color: #41627b !important; font-size: 14px !important; font-weight: 500; line-height: 1.3; }
body.clubs-body #clubsDirectory .clubs-premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; align-items: stretch !important; }
body.clubs-body #clubsDirectory .club-premium-card,
body.clubs-body #clubsDirectory .club-directory-card--managed {
    min-width: 0 !important;
    padding: 20px !important;
    border: 1px solid #82cdd7 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 3px 14px rgba(20, 67, 86, .035) !important;
    transform: none !important;
}
body.clubs-body #clubsDirectory .club-premium-card::before { display: none !important; }
body.clubs-body #clubsDirectory .club-premium-card__top { grid-template-columns: minmax(0, 1fr) auto !important; align-items: start !important; gap: 12px !important; margin: 0 0 16px !important; }
body.clubs-body #clubsDirectory .club-premium-card__identity { min-width: 0 !important; grid-column: 1 !important; grid-row: 1 !important; }
body.clubs-body #clubsDirectory .club-directory-card__labels { gap: 7px !important; margin-bottom: 5px; }
body.clubs-body #clubsDirectory .club-premium-card__city { color: #4a6b84 !important; font-size: 12px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; }
body.clubs-body #clubsDirectory .club-owner-badge { padding: 4px 8px !important; border: 0 !important; background: #d9f0fb !important; color: #1d576f !important; font-size: 11px !important; font-weight: 600 !important; }
body.clubs-body #clubsDirectory .club-open-badge { padding: 4px 8px !important; border: 0 !important; background: #e7f5ed !important; color: #286244 !important; font-size: 11px !important; }
body.clubs-body #clubsDirectory .club-premium-card h2,
body.clubs-body #clubsDirectory .club-premium-card h2 a { margin: 0 !important; color: #102942 !important; font-size: 20px !important; font-weight: 750 !important; line-height: 1.25 !important; }
body.clubs-body #clubsDirectory .club-premium-card__address { display: flex !important; align-items: flex-start; gap: 5px; min-height: 0 !important; margin: 6px 0 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #55738b !important; font-size: 12px !important; line-height: 1.4 !important; }
body.clubs-body #clubsDirectory .club-premium-card__address > span { min-width: 0; color: inherit !important; font-size: inherit !important; font-weight: 450 !important; text-transform: none !important; letter-spacing: 0 !important; overflow-wrap: anywhere; }
body.clubs-body #clubsDirectory .club-premium-card__address .club-directory-icon { width: 16px; height: 16px; flex-basis: 16px; }
body.clubs-body #clubsDirectory .club-premium-card__tools { grid-column: 2 !important; grid-row: 1 !important; align-items: center !important; gap: 4px !important; }
body.clubs-body #clubsDirectory .club-favorite-form { margin: 0 !important; padding: 0 !important; }
body.clubs-body #clubsDirectory .club-favorite-btn { display: grid !important; place-items: center !important; width: 40px !important; min-width: 40px !important; height: 40px !important; min-height: 40px !important; flex: 0 0 40px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #375b75 !important; font-size: 29px !important; font-weight: 400 !important; line-height: 1 !important; box-shadow: none !important; text-decoration: none !important; }
body.clubs-body #clubsDirectory .club-favorite-btn.is-active { color: #ac790b !important; }
body.clubs-body #clubsDirectory .club-card-menu > summary { width: 32px !important; min-width: 32px !important; height: 36px !important; flex-basis: 32px !important; }
body.clubs-body #clubsDirectory .club-premium-card__meta { display: flex !important; flex-wrap: wrap !important; gap: 9px 16px !important; margin: 0 0 17px !important; }
body.clubs-body #clubsDirectory .club-premium-card__meta > span,
body.clubs-body #clubsDirectory .club-premium-card__meta > .club-directory-card__courts,
body.clubs-body #clubsDirectory .club-premium-card__meta > .club-directory-card__hours { display: inline-flex !important; align-items: center !important; gap: 6px !important; min-height: 24px !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #436781 !important; font-size: 13px !important; font-weight: 450 !important; line-height: 1.4 !important; }
body.clubs-body #clubsDirectory .club-premium-card__meta .club-directory-icon { width: 18px; height: 18px; flex-basis: 18px; }
body.clubs-body #clubsDirectory .club-premium-card__actions { display: block !important; margin: 0 !important; }
body.clubs-body #clubsDirectory .club-premium-card__actions a { display: grid !important; grid-template-columns: 20px minmax(0, 1fr) 20px !important; align-items: center !important; gap: 10px !important; width: 100% !important; min-width: 0 !important; min-height: 44px !important; padding: 10px 14px !important; border: 0 !important; border-radius: 10px !important; background: linear-gradient(105deg, #087f8b, #086877) !important; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important; text-align: left !important; box-shadow: none !important; }
body.clubs-body #clubsDirectory .club-premium-card__actions a:hover { background: #087e8a !important; }
body.clubs-body #clubsDirectory .club-directory-info-open { min-height: 44px; margin-top: 8px; padding: 10px 14px; border: 0; border-radius: 10px; background: #eaf4ff; color: #234c6a !important; font-size: 13px !important; font-weight: 550; }
body.clubs-body #clubsDirectory .club-directory-info-open:hover { background: #dceefa; }
body.clubs-body #clubsDirectory .club-directory-chevron { justify-self: end; width: 18px; height: 18px; }
body.clubs-body #clubsDirectory .club-directory-management { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; margin-top: 10px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
body.clubs-body #clubsDirectory .club-directory-action { min-height: 44px !important; padding: 8px !important; gap: 7px !important; border-radius: 9px !important; justify-content: center !important; font-size: 12px !important; font-weight: 550 !important; text-align: center !important; }
body.clubs-body #clubsDirectory .club-directory-action span { min-width: 0; overflow-wrap: anywhere; }
body.clubs-body #clubsDirectory .club-directory-action .club-directory-icon { width: 18px; height: 18px; flex-basis: 18px; }
body.clubs-body #clubsDirectory .club-directory-action--manage { border-color: #b7cfde !important; background: #f9fcff !important; color: #31536c !important; }
body.clubs-body #clubsDirectory .club-directory-action--charge { border-color: #efcd78 !important; background: #f2d184 !important; color: #44340c !important; }
body.clubs-body #clubsDirectory .club-directory-action--charge:hover { background: #ebc76e !important; }
body.clubs-body #clubsDirectory .clubs-empty-wide { grid-column: 1 / -1; }
body.clubs-body #clubsDirectory .clubs-directory-views a:focus-visible { position: relative; outline-offset: -3px !important; }
body.clubs-body #clubsDirectory select:focus-visible,
body.clubs-body #clubsDirectory input[type="checkbox"]:focus-visible { outline: 3px solid #168594; outline-offset: 3px; }
@media (max-width: 900px) {
    body.clubs-body #clubsDirectory .clubs-premium-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}
@media (max-width: 640px) {
    body.clubs-body #clubsDirectory { width: 100% !important; max-width: none !important; padding: 16px 16px 38px !important; }
    body.clubs-body #clubsDirectory .clubs-directory-heading { gap: 10px; margin-bottom: 14px; }
    body.clubs-body #clubsDirectory .clubs-directory-heading h1 { font-size: clamp(22px, 5.5vw, 28px) !important; }
    body.clubs-body #clubsDirectory .clubs-directory-add { min-height: 40px; padding: 8px 10px; font-size: 12px !important; }
    body.clubs-body #clubsDirectory .clubs-directory-search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
    body.clubs-body #clubsDirectory .clubs-directory-search__field { grid-column: 1 / -1; }
    body.clubs-body #clubsDirectory .clubs-directory-tool { padding: 10px 8px; font-size: 13px !important; }
    body.clubs-body #clubsDirectory .clubs-directory-filters { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 12px; }
    body.clubs-body #clubsDirectory .clubs-directory-views { display: flex; width: 100%; }
    body.clubs-body #clubsDirectory .clubs-directory-views a { flex: 1 1 0; padding: 10px 6px; font-size: 13px !important; }
    body.clubs-body #clubsDirectory .clubs-directory-count { margin-bottom: 12px !important; font-size: 13px !important; }
    body.clubs-body #clubsDirectory .club-premium-card,
    body.clubs-body #clubsDirectory .club-directory-card--managed { padding: 15px !important; border-radius: 14px !important; }
    body.clubs-body #clubsDirectory .club-premium-card__top { grid-template-columns: minmax(0, 1fr) auto !important; gap: 10px !important; margin-bottom: 15px !important; }
    body.clubs-body #clubsDirectory .club-premium-card h2,
    body.clubs-body #clubsDirectory .club-premium-card h2 a { font-size: 18px !important; }
    body.clubs-body #clubsDirectory .club-premium-card__meta { gap: 9px 14px !important; margin-bottom: 15px !important; }
    body.clubs-body #clubsDirectory .club-premium-card__meta > span,
    body.clubs-body #clubsDirectory .club-premium-card__meta > .club-directory-card__courts,
    body.clubs-body #clubsDirectory .club-premium-card__meta > .club-directory-card__hours { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.clubs-body #clubsDirectory .club-premium-card { transition: none !important; }
}
