/* ==========================================================================
   Padelinn Directory — front-end
   Tokens: court blue (base), ink (text), ball yellow (accent, used sparingly),
   turf green (outdoor courts), glass mist (surfaces).
   ========================================================================== */

.pdl {
	--pdl-court: #1F4E9E;
	--pdl-ink: #14213D;
	--pdl-ball: #E4F222;
	--pdl-court-deep: color-mix(in srgb, var(--pdl-court) 78%, #000);
	--pdl-court-soft: color-mix(in srgb, var(--pdl-court) 10%, #fff);
	--pdl-covered: color-mix(in srgb, var(--pdl-court) 55%, #fff);
	--pdl-turf: #2E7A57;
	--pdl-mist: #F1F4F9;
	--pdl-paper: #FFFFFF;
	--pdl-muted: #59647A;
	--pdl-line: rgba(20, 33, 61, .12);
	--pdl-line-strong: rgba(20, 33, 61, .22);
	--pdl-open: #1E7A46;
	--pdl-closed: #A23B2A;
	--pdl-font: inherit;
	--pdl-r-sm: 8px;
	--pdl-r: 12px;
	--pdl-r-lg: 18px;
	--pdl-sticky: 24px;
	--pdl-art-bg: var(--pdl-court-deep);
	--pdl-art-grain: color-mix(in srgb, var(--pdl-court-deep) 88%, #fff);
	--pdl-art-court: var(--pdl-court);
	--pdl-art-line: rgba(255, 255, 255, .85);
	--pdl-art-net: rgba(255, 255, 255, .95);
	--pdl-art-glass: rgba(210, 230, 255, .55);
	font-family: var(--pdl-font);
	color: var(--pdl-ink);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.pdl *, .pdl *::before, .pdl *::after { box-sizing: border-box; }
.pdl [hidden] { display: none !important; }
.pdl ul[class], .pdl ol[class] { list-style: none; margin: 0; padding: 0; }
.pdl h1, .pdl h2, .pdl h3 { font-family: var(--pdl-font); color: var(--pdl-ink); padding: 0; letter-spacing: -.015em; }
.pdl p { padding: 0; }
.pdl a { color: var(--pdl-court); text-decoration: none; }
.pdl a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pdl :focus-visible { outline: 3px solid var(--pdl-ball); outline-offset: 2px; box-shadow: 0 0 0 5px var(--pdl-court); border-radius: 4px; }
.pdl .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pdl-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.pdl-page { background: var(--pdl-paper); }
.pdl-shell, .pdl-app, .pdl-hub, .pdl-hero__inner { width: min(90%, calc(100% - 32px)); max-width: 1760px; margin-inline: auto; padding-inline: 0; }
/* Divi: directory views are always full width, without sidebar. */
.pdl-view #main-content .container:before { display: none; }
.pdl-view #sidebar { display: none; }
.pdl-view #left-area { width: 100%; padding-right: 0; }
.pdl-page, .pdl-page__content { width: 100%; }
.et_fixed_nav .pdl { --pdl-sticky: 96px; }
.admin-bar.et_fixed_nav .pdl { --pdl-sticky: 128px; }
.pdl-h2 { font-size: 1.45rem; font-weight: 750; line-height: 1.2; margin: 0 0 .9rem; }
.pdl-muted { color: var(--pdl-muted); font-size: .94rem; }
.pdl-link { font-weight: 650; }

/* ---------- Buttons & chips ---------- */
.pdl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .6em 1.15em; border-radius: 10px; border: 1px solid transparent;
	font: inherit; font-weight: 650; font-size: .97rem; line-height: 1.1; cursor: pointer; white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease;
}
.pdl a.pdl-btn:hover { text-decoration: none; }
.pdl-btn--primary { background: var(--pdl-court); color: #fff; }
.pdl a.pdl-btn--primary, .pdl a.pdl-btn--primary:visited { color: #fff; }
.pdl-btn--primary:hover { background: var(--pdl-court-deep); }
.pdl-btn--light { background: var(--pdl-paper); color: var(--pdl-ink); border-color: var(--pdl-line-strong); }
.pdl a.pdl-btn--light { color: var(--pdl-ink); }
.pdl-btn--light:hover { border-color: var(--pdl-ink); }
.pdl-btn--ghost { background: transparent; color: var(--pdl-court); border-color: color-mix(in srgb, var(--pdl-court) 40%, transparent); }
.pdl-btn--small { min-height: 36px; padding: .45em .9em; font-size: .9rem; }
.pdl-btn--lg { min-height: 52px; padding: .75em 1.5em; font-size: 1.05rem; }
.pdl-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--pdl-ink); cursor: pointer; }
.pdl-iconbtn--outline { border: 1px solid var(--pdl-line-strong); background: var(--pdl-paper); }

.pdl-chip {
	display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .35em .95em;
	border-radius: 999px; border: 1px solid var(--pdl-line-strong); background: var(--pdl-paper);
	font: inherit; font-size: .92rem; font-weight: 600; color: var(--pdl-ink); cursor: pointer; white-space: nowrap;
}
.pdl-chip[aria-pressed="true"] { background: var(--pdl-ink); border-color: var(--pdl-ink); color: #fff; }
.pdl-chip--all { margin-left: auto; }
.pdl-chip__count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; border-radius: 999px; background: var(--pdl-ball); color: var(--pdl-ink); font-size: .78rem; font-weight: 800; }

/* ---------- Court glyphs: the directory's visual signature ---------- */
.pdl-court {
	position: relative; display: inline-block; width: 11px; height: 18px; flex: none;
	border-radius: 2px; border: 1.5px solid var(--pdl-court); background: var(--pdl-court);
}
.pdl-court::after { content: ""; position: absolute; left: -2px; right: -2px; top: calc(50% - .75px); height: 1.5px; background: #fff; }
.pdl-court--covered { border-color: var(--pdl-court); background: repeating-linear-gradient(135deg, var(--pdl-court) 0 2px, var(--pdl-covered) 2px 4px); }
.pdl-court--outdoor { border-color: var(--pdl-turf); background: var(--pdl-turf); }
.pdl-court--lg { width: 18px; height: 30px; border-radius: 3px; }
.pdl-chip[aria-pressed="true"] .pdl-court { box-shadow: 0 0 0 1.5px #fff; }

.pdl-courts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin: .55rem 0 0; }
.pdl-courts__glyphs { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.pdl-courts__more { font-size: .78rem; font-weight: 700; color: var(--pdl-muted); align-self: center; margin-left: 2px; }
.pdl-courts__text { font-size: .9rem; color: var(--pdl-muted); }
.pdl-courts__text strong { color: var(--pdl-ink); font-weight: 700; }
.pdl-courts--empty { font-size: .88rem; color: var(--pdl-muted); margin: .55rem 0 0; }

/* ---------- Open badge ---------- */
.pdl-open { display: inline-flex; align-items: center; gap: .4em; font-size: .88rem; font-weight: 650; }
.pdl-open__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pdl-open.is-open { color: var(--pdl-open); }
.pdl-open.is-open .pdl-open__dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pdl-open) 20%, transparent); }
.pdl-open.is-closed { color: var(--pdl-closed); }
.pdl-open__hours { color: var(--pdl-muted); font-weight: 500; }

.pdl-verified { display: inline-flex; color: var(--pdl-court); vertical-align: -.1em; }
.pdl-verified .pdl-icon { width: 1.05em; height: 1.05em; fill: var(--pdl-ball); }
.pdl-verified--lg .pdl-icon { width: .8em; height: .8em; }

/* ---------- Court art (no-photo fallback) ---------- */
.pdl-art { display: block; width: 100%; height: 100%; }
.pdl-art--outdoor { --pdl-art-bg: #24624A; --pdl-art-grain: #2B6E53; --pdl-art-court: var(--pdl-turf); --pdl-art-glass: rgba(220, 245, 230, .5); }
.pdl-art--covered { --pdl-art-bg: color-mix(in srgb, var(--pdl-court) 60%, #3a4a66); }

/* ---------- Hero (directory home) ---------- */
.pdl-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px),
		var(--pdl-court);
	padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.pdl-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.pdl .pdl-hero__title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: .98; font-weight: 820; letter-spacing: -.035em; margin: 0 0 1.1rem; max-width: 13ch; text-wrap: balance; }
.pdl-hero__intro { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.5; max-width: 52ch; margin: 0; color: rgba(255, 255, 255, .86); }
.pdl-hero__court { justify-self: end; width: min(260px, 100%); height: auto; color: rgba(255, 255, 255, .55); transform: rotate(-8deg); }
.pdl-hero__ball { fill: var(--pdl-ball); }

.pdl-directory .pdl-app { margin-top: -38px; position: relative; z-index: 2; }

/* ---------- Search bar ---------- */
.pdl-app { padding-bottom: 48px; }
.pdl-bar {
	display: flex; align-items: stretch; gap: 8px; padding: 8px;
	background: var(--pdl-paper); border: 1px solid var(--pdl-line-strong); border-radius: var(--pdl-r-lg);
	box-shadow: 0 1px 0 rgba(20, 33, 61, .04), 0 18px 40px -24px rgba(20, 33, 61, .45);
}
.pdl-bar__where { position: relative; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-width: 0; color: var(--pdl-muted); }
.pdl-bar__where input {
	flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--pdl-ink); padding: 0; box-shadow: none; outline: none;
}
.pdl-bar__where input::placeholder { color: var(--pdl-muted); }
.pdl-bar__where:focus-within { box-shadow: inset 0 -2px 0 var(--pdl-court); }
.pdl-bar__locate { display: inline-flex; align-items: center; gap: .45em; border: 0; border-left: 1px solid var(--pdl-line); background: none; padding: 0 16px; font: inherit; font-weight: 650; font-size: .94rem; color: var(--pdl-court); cursor: pointer; white-space: nowrap; }
.pdl-bar__radius select { height: 100%; min-height: 48px; border: 1px solid var(--pdl-line-strong); border-radius: 10px; padding: 0 10px; font: inherit; background: var(--pdl-mist); color: var(--pdl-ink); }
.pdl-bar__go { min-width: 120px; }

.pdl-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30;
	background: var(--pdl-paper); border: 1px solid var(--pdl-line-strong); border-radius: var(--pdl-r);
	box-shadow: 0 24px 48px -20px rgba(20, 33, 61, .4); padding: 6px; max-height: 360px; overflow: auto;
}
.pdl-suggest__group { padding: 8px 10px 4px; font-size: .78rem; font-weight: 700; color: var(--pdl-muted); }
.pdl-suggest__opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--pdl-ink); }
.pdl-suggest__opt[aria-selected="true"], .pdl-suggest__opt:hover { background: var(--pdl-court-soft); }
.pdl-suggest__opt small { color: var(--pdl-muted); font-size: .84rem; }

/* ---------- Location selectors ---------- */
.pdl-where { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.pdl-where__field { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px 6px; background: var(--pdl-paper); border: 1px solid var(--pdl-line-strong); border-radius: var(--pdl-r); }
.pdl-where__field:focus-within { border-color: var(--pdl-court); box-shadow: 0 0 0 1px var(--pdl-court); }
.pdl-where__field label { font-size: .76rem; font-weight: 700; color: var(--pdl-muted); }
.pdl-where__field select {
	appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent; padding: 0 22px 2px 0; margin: 0;
	font: inherit; font-size: 1rem; font-weight: 650; color: var(--pdl-ink); cursor: pointer; outline: none; box-shadow: none;
}
.pdl-where__field::after { content: ""; position: absolute; right: 16px; bottom: 15px; width: 8px; height: 8px; border-right: 2px solid var(--pdl-ink); border-bottom: 2px solid var(--pdl-ink); transform: rotate(45deg); pointer-events: none; }

/* ---------- Quick filters ---------- */
.pdl-quick { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.pdl-quick::-webkit-scrollbar { display: none; }

/* ---------- Results + map ---------- */
.pdl-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 44%); gap: 24px; margin-top: 18px; align-items: start; }
.pdl-results__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pdl .pdl-results__sum { font-size: 1.15rem; font-weight: 750; margin: 0; }
.pdl-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--pdl-muted); }
.pdl-sort select, .pdl-select { min-height: 40px; border: 1px solid var(--pdl-line-strong); border-radius: 10px; padding: 0 30px 0 10px; font: inherit; font-size: .92rem; color: var(--pdl-ink); background-color: var(--pdl-paper); }

.pdl-list { display: grid; gap: 14px; transition: opacity .2s ease; }
.pdl-list.is-loading { opacity: .45; pointer-events: none; }
.pdl-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }

.pdl-mapwrap { position: sticky; top: var(--pdl-sticky); height: calc(100vh - var(--pdl-sticky) - 24px); min-height: 420px; border-radius: var(--pdl-r-lg); overflow: hidden; border: 1px solid var(--pdl-line-strong); background: var(--pdl-mist); }
.pdl-map { position: absolute; inset: 0; }
.pdl-map__area { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 500; box-shadow: 0 8px 24px -10px rgba(20, 33, 61, .5); }
.pdl-viewtoggle { display: none; }

/* Wide screens: two result columns next to the map. */
.pdl-results { container-type: inline-size; min-width: 0; }
@container (min-width: 860px) {
	.pdl-list:not(.pdl-list--grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pdl-list:not(.pdl-list--grid) .pdl-card { grid-template-columns: 150px minmax(0, 1fr); }
	.pdl-list:not(.pdl-list--grid) > .pdl-empty { grid-column: 1 / -1; }
}

/* ---------- Card ---------- */
.pdl-card {
	display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 0;
	background: var(--pdl-paper); border: 1px solid var(--pdl-line); border-radius: var(--pdl-r-lg); overflow: hidden;
}
.pdl-card.is-active { border-color: var(--pdl-court); box-shadow: 0 0 0 1px var(--pdl-court); }
.pdl-card.is-featured { border-color: color-mix(in srgb, var(--pdl-court) 35%, transparent); }
.pdl-card__media { position: relative; display: block; background: var(--pdl-court-deep); min-height: 168px; }
.pdl-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdl-card__media .pdl-art { position: absolute; inset: 0; }
.pdl-card__ribbon { position: absolute; left: 10px; top: 10px; background: var(--pdl-ball); color: var(--pdl-ink); font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.pdl-card__body { padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; }
.pdl .pdl-card__title { font-size: 1.12rem; font-weight: 750; line-height: 1.25; margin: 0; display: flex; align-items: center; gap: .35em; }
.pdl-card__title a { color: var(--pdl-ink); }
.pdl-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.pdl-card { position: relative; }
.pdl-card__place { margin: 2px 0 0; font-size: .92rem; color: var(--pdl-muted); display: flex; flex-wrap: wrap; gap: 0 .6em; }
.pdl-card__distance { color: var(--pdl-court); font-weight: 650; }
.pdl-card__fac { display: flex; gap: 6px; margin-top: 12px !important; color: var(--pdl-muted); }
.pdl-card__fac li { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--pdl-mist); }
.pdl-card__fac .pdl-icon { width: 17px; height: 17px; }
.pdl-card__fac-more { font-size: .78rem; font-weight: 700; }
.pdl-card__foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.pdl-card__price { font-size: .92rem; font-weight: 700; }

/* ---------- Pager ---------- */
.pdl-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 0; }
.pdl-pager a, .pdl-pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; font-weight: 650; }
.pdl-pager a { border: 1px solid var(--pdl-line-strong); color: var(--pdl-ink); }
.pdl-pager a:hover { border-color: var(--pdl-ink); text-decoration: none; }
.pdl-pager .is-current { background: var(--pdl-ink); color: #fff; }

/* ---------- Empty ---------- */
.pdl-empty { text-align: center; padding: 32px 16px; border: 1px dashed var(--pdl-line-strong); border-radius: var(--pdl-r-lg); }
.pdl-empty .pdl-art { width: 160px; height: 96px; margin: 0 auto 14px; border-radius: 10px; }
.pdl .pdl-empty h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.pdl-empty p { color: var(--pdl-muted); margin: 0 0 .4rem; }

/* ---------- Drawer ---------- */
.pdl-drawer {
	padding: 0; border: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(480px, 100%);
	background: var(--pdl-paper); color: var(--pdl-ink); box-shadow: -24px 0 48px -24px rgba(20, 33, 61, .5);
}
.pdl-drawer::backdrop { background: rgba(20, 33, 61, .45); }
.pdl-drawer[open] { animation: pdl-in .22s ease-out; }
@keyframes pdl-in { from { transform: translateX(24px); opacity: 0; } }
.pdl-drawer__inner { display: flex; flex-direction: column; height: 100%; margin: 0; }
.pdl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pdl-line); }
.pdl .pdl-drawer__head h2 { font-size: 1.2rem; margin: 0; }
.pdl-drawer__body { flex: 1; overflow: auto; padding: 8px 20px 24px; }
.pdl-drawer__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--pdl-line); }
.pdl-drawer__foot .pdl-btn--primary { flex: 1; }
.pdl-fs { border: 0; padding: 18px 0 6px; margin: 0; border-bottom: 1px solid var(--pdl-line); }
.pdl-fs:last-child { border-bottom: 0; }
.pdl-fs legend { font-weight: 750; font-size: 1rem; padding: 0; margin-bottom: 10px; }
.pdl-opts { display: grid; gap: 4px; }
.pdl-opts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdl-opts--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pdl-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: .95rem; }
.pdl-opt input { width: 18px; height: 18px; accent-color: var(--pdl-court); margin: 0; flex: none; }
.pdl-opt--icon .pdl-icon { color: var(--pdl-muted); }
.pdl-opt--card { position: relative; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border: 1px solid var(--pdl-line-strong); border-radius: var(--pdl-r); }
.pdl-opt--card input { position: absolute; top: 10px; right: 10px; }
.pdl-opt--card:has(input:checked) { border-color: var(--pdl-court); box-shadow: inset 0 0 0 1px var(--pdl-court); background: var(--pdl-court-soft); }
.pdl-opt__label { font-weight: 700; }
.pdl-opt__hint { font-size: .8rem; color: var(--pdl-muted); line-height: 1.3; }
.pdl-range { display: flex; align-items: center; gap: 14px; }
.pdl-range input { flex: 1; accent-color: var(--pdl-court); }
.pdl-range output { min-width: 8.5em; text-align: right; font-weight: 650; font-size: .92rem; }

/* ---------- Leaflet skin ---------- */
.pdl .leaflet-container { font-family: var(--pdl-font); background: var(--pdl-mist); }
.pdl-pin { width: 30px; height: 38px; }
.pdl-pin svg { width: 30px; height: 38px; display: block; filter: drop-shadow(0 3px 4px rgba(20, 33, 61, .35)); }
.pdl-pin .pdl-pin__body { fill: var(--pdl-court); stroke: #fff; stroke-width: 2; }
.pdl-pin.is-active .pdl-pin__body { fill: var(--pdl-ink); }
.pdl-pin.is-active .pdl-pin__ball { fill: var(--pdl-ball); }
.pdl-pin .pdl-pin__ball { fill: #fff; }
.pdl .pdl-cluster { display: flex; align-items: center; justify-content: center; line-height: 1; border-radius: 50%; background: var(--pdl-court); color: #fff; font-weight: 800; font-size: .88rem; border: 3px solid #fff; box-shadow: 0 4px 10px -2px rgba(20, 33, 61, .45); }
.pdl-here { width: 18px; height: 18px; border-radius: 50%; background: var(--pdl-ball); border: 3px solid var(--pdl-ink); }
.pdl .leaflet-popup-content-wrapper { border-radius: var(--pdl-r); box-shadow: 0 18px 40px -16px rgba(20, 33, 61, .5); }
.pdl .leaflet-popup-content { margin: 14px 16px; min-width: 220px; }
.pdl-popup__title { display: block; font-weight: 750; font-size: 1rem; color: var(--pdl-ink) !important; margin-bottom: 2px; }
.pdl-popup__place { margin: 0 !important; color: var(--pdl-muted); font-size: .86rem; }
.pdl-popup .pdl-open { display: flex; margin: 8px 0 10px; }
.pdl-popup .pdl-btn { width: 100%; }

/* ---------- Breadcrumbs ---------- */
.pdl-crumbs { padding: 18px 0 8px; font-size: .88rem; }
.pdl-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pdl-crumbs li { display: inline-flex; align-items: center; color: var(--pdl-muted); }
.pdl-crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--pdl-line-strong); }
.pdl-crumbs a { color: var(--pdl-muted); }
.pdl-crumbs [aria-current] { color: var(--pdl-ink); font-weight: 600; }
.pdl-directory + .pdl-crumbs, .pdl-page__content > .pdl-directory { margin-top: 0; }

/* ---------- Landing ---------- */
.pdl-landing__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 32px 48px; align-items: end; padding: 20px 0 28px; border-bottom: 1px solid var(--pdl-line); }
.pdl-landing h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; font-weight: 820; letter-spacing: -.03em; margin: 0 0 .8rem; text-wrap: balance; }
.pdl-landing__intro { max-width: 62ch; color: var(--pdl-muted); font-size: 1.06rem; }
.pdl-landing__intro p { margin: 0 0 .6em; }
.pdl-mix { margin: 0; }
.pdl-mix figcaption { font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.pdl-mix__bar { display: flex; height: 14px; border-radius: 4px; overflow: hidden; gap: 2px; }
.pdl-mix__seg { flex-basis: 0; min-width: 6px; }
.pdl-mix__seg--indoor { background: var(--pdl-court); }
.pdl-mix__seg--covered { background: repeating-linear-gradient(135deg, var(--pdl-court) 0 3px, var(--pdl-covered) 3px 6px); }
.pdl-mix__seg--outdoor { background: var(--pdl-turf); }
.pdl-mix__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; font-size: .9rem; color: var(--pdl-muted); }
.pdl-mix__legend li { display: inline-flex; align-items: center; gap: 7px; }

.pdl-places { padding: 22px 0 6px; }
.pdl .pdl-places__title { font-size: 1rem; font-weight: 750; margin: 0 0 10px; }
.pdl-places ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pdl-places a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 14px; border-radius: 999px; background: var(--pdl-mist); color: var(--pdl-ink); font-weight: 600; font-size: .93rem; }
.pdl-places a:hover { background: var(--pdl-court-soft); text-decoration: none; }
.pdl-places a span { color: var(--pdl-muted); font-weight: 500; font-size: .85rem; }
.pdl-places--quiet a { background: transparent; border: 1px solid var(--pdl-line); }
.pdl-landing .pdl-app { margin-top: 18px; }
.pdl-landing__more { padding-bottom: 48px; }
.pdl-guide { max-width: 760px; font-size: 1.05rem; padding: 12px 0 24px; }
.pdl-guide h2 { font-size: 1.4rem; margin: 1.2em 0 .5em; }

/* ---------- FAQ ---------- */
.pdl-faq { max-width: 860px; padding: 12px 0 28px; }
.pdl-faq__item { border-top: 1px solid var(--pdl-line); }
.pdl-faq__item:last-of-type { border-bottom: 1px solid var(--pdl-line); }
.pdl-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 1.03rem; }
.pdl-faq__item summary::-webkit-details-marker { display: none; }
.pdl-faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pdl-court); font-weight: 500; }
.pdl-faq__item[open] summary::after { content: "–"; }
.pdl-faq__item p { margin: 0 0 18px; color: var(--pdl-muted); max-width: 70ch; }

/* ---------- Hub ---------- */
.pdl-hub { padding: 16px 0 64px; }
.pdl-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pdl-hub__country { padding: 20px; border: 1px solid var(--pdl-line); border-radius: var(--pdl-r-lg); }
.pdl .pdl-hub__country h3 { font-size: 1.2rem; margin: 0; }
.pdl-hub__country h3 a { display: inline-flex; align-items: center; gap: 10px; color: var(--pdl-ink); }
.pdl-flagcode { display: inline-grid; place-items: center; width: 34px; height: 24px; border-radius: 4px; background: var(--pdl-court); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.pdl-hub__stats { margin: 4px 0 12px; color: var(--pdl-muted); font-size: .92rem; }
.pdl-hub__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .93rem; }

/* ---------- Club page ---------- */
.pdl-club__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: 14px 0 22px; }
.pdl-club__id { min-width: 0; flex: 1 1 520px; }
.pdl .pdl-club__title { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.02; font-weight: 820; letter-spacing: -.03em; margin: 0 0 .5rem; text-wrap: balance; }
.pdl-club__addr { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--pdl-muted); }
.pdl-club__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 12px; }
.pdl-club__facts .pdl-courts { margin: 0; }
.pdl-club__price { font-weight: 700; font-size: .95rem; }
.pdl-club__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pdl-gallery { display: grid; gap: 8px; border-radius: var(--pdl-r-lg); overflow: hidden; height: clamp(240px, 42vw, 460px); }
.pdl-gallery--1 { grid-template-columns: 1fr; }
.pdl-gallery--2 { grid-template-columns: 2fr 1fr; }
.pdl-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.pdl-gallery--3 .pdl-gallery__item:first-child { grid-row: span 2; }
.pdl-gallery--4, .pdl-gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pdl-gallery--4 .pdl-gallery__item:first-child, .pdl-gallery--5 .pdl-gallery__item:first-child { grid-row: span 2; }
.pdl-gallery--4 .pdl-gallery__item:last-child { grid-column: span 2; }
.pdl-gallery__item { position: relative; display: block; background: var(--pdl-court-deep); min-height: 0; }
.pdl-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdl-gallery:has(.pdl-gallery__item--art) { height: clamp(150px, 16vw, 210px); }

.pdl-club__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding: 36px 0 12px; align-items: start; }
.pdl-sec { padding: 0 0 32px; }
.pdl-prose { font-size: 1.05rem; max-width: 68ch; }
.pdl-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.pdl-specs__row { padding: 14px 16px; border-radius: var(--pdl-r); background: var(--pdl-mist); }
.pdl-specs dt { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--pdl-muted); font-weight: 600; }
.pdl-specs dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.pdl-facgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.pdl-facgrid li { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.pdl-facgrid .pdl-icon { color: var(--pdl-court); width: 22px; height: 22px; }
.pdl-pricebig { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pdl-pricebig span { font-size: .95rem; font-weight: 500; color: var(--pdl-muted); letter-spacing: 0; margin-left: 4px; }

.pdl-club__side { position: sticky; top: var(--pdl-sticky); display: grid; gap: 14px; }
.pdl-panel { padding: 20px; border: 1px solid var(--pdl-line); border-radius: var(--pdl-r-lg); background: var(--pdl-paper); }
.pdl .pdl-panel__title { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 750; margin: 0 0 12px; }
.pdl-panel__title .pdl-icon { color: var(--pdl-court); }
.pdl-panel--claim { background: var(--pdl-mist); border-color: transparent; }
.pdl-panel--claim p { margin: 0 0 10px; font-size: .94rem; }
.pdl-hours { width: 100%; border-collapse: collapse; font-size: .95rem; border: 0; margin: 0; }
.pdl-hours th, .pdl-hours td { padding: 7px 0; border: 0; border-bottom: 1px solid var(--pdl-line); text-align: left; font-weight: 500; }
.pdl-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.pdl-hours tr.is-today th, .pdl-hours tr.is-today td { font-weight: 750; }
.pdl-hours tr.is-today th::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pdl-court); margin-left: 8px; vertical-align: middle; }
.pdl-contact { display: grid; gap: 10px; }
.pdl-contact li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pdl-contact .pdl-icon { color: var(--pdl-muted); }
.pdl-contact a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdl-minimap { height: 180px; border-radius: var(--pdl-r); overflow: hidden; margin-top: 16px; background: var(--pdl-mist); }
.pdl-minimap__addr { margin: 8px 0 0; }
.pdl-nearby { border-top: 1px solid var(--pdl-line); padding-top: 32px; }
.pdl-nearby__all { margin: 18px 0 0; }
.pdl-attrib { font-size: .8rem; color: var(--pdl-muted); padding: 8px 0 32px; margin: 0; }
.pdl-attrib a { color: inherit; text-decoration: underline; }

/* ---------- Lightbox ---------- */
.pdl-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.pdl-lightbox::backdrop { background: rgba(12, 18, 32, .88); }
.pdl-lightbox img { display: block; max-width: 96vw; max-height: 88vh; border-radius: 10px; }
.pdl-lightbox button { position: fixed; top: 16px; right: 16px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.pdl-layout { grid-template-columns: minmax(0, 1fr) 40%; }
	.pdl-card { grid-template-columns: 160px minmax(0, 1fr); }
	.pdl-club__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 860px) {
	.pdl-hero__inner { grid-template-columns: 1fr; }
	.pdl-hero__court { display: none; }
	.pdl-bar { flex-wrap: wrap; border-radius: var(--pdl-r); }
	.pdl-bar__where { flex-basis: 100%; }
	.pdl-bar__locate { border-left: 0; padding: 0 8px; }
	.pdl-bar__go { margin-left: auto; }
	.pdl-chip--all { margin-left: 0; }
	.pdl-layout { grid-template-columns: 1fr; }
	.pdl-mapwrap { position: fixed; inset: 0; top: 0; height: auto; min-height: 0; border-radius: 0; border: 0; z-index: 9990; visibility: hidden; }
	.pdl-app.is-map .pdl-mapwrap { visibility: visible; }
	.pdl-viewtoggle {
		display: inline-flex; align-items: center; gap: .5em; position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9991;
		min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--pdl-ink); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(20, 33, 61, .6); cursor: pointer;
	}
	.pdl-viewtoggle__list { display: none; }
	.pdl-app.is-map .pdl-viewtoggle__list { display: inline-flex; align-items: center; gap: .5em; }
	.pdl-app.is-map .pdl-viewtoggle__map { display: none; }
	.pdl-viewtoggle__map { display: inline-flex; align-items: center; gap: .5em; }
	.pdl-landing__head { grid-template-columns: 1fr; }
	.pdl-club__grid { grid-template-columns: 1fr; }
	.pdl-club__side { position: static; }
	.pdl-gallery--3, .pdl-gallery--4, .pdl-gallery--5 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
	.pdl-gallery--3 .pdl-gallery__item:first-child, .pdl-gallery--4 .pdl-gallery__item:first-child, .pdl-gallery--5 .pdl-gallery__item:first-child { grid-row: auto; grid-column: span 2; }
	.pdl-gallery--4 .pdl-gallery__item:last-child { grid-column: auto; }
	.pdl-gallery--4 .pdl-gallery__item:nth-child(n+4), .pdl-gallery--5 .pdl-gallery__item:nth-child(n+4) { display: none; }
	.pdl-drawer { width: 100%; height: 92dvh; margin: auto 0 0; border-radius: var(--pdl-r-lg) var(--pdl-r-lg) 0 0; }
	@keyframes pdl-in { from { transform: translateY(24px); opacity: 0; } }
}
@media (max-width: 560px) {
	.pdl-where { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pdl-where__field { padding: 7px 10px 5px; }
	.pdl-where__field select { font-size: .95rem; }
	.pdl-card { grid-template-columns: 1fr; }
	.pdl-card__media { min-height: 0; aspect-ratio: 16 / 7; }
	.pdl-bar__locate span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pdl-opts--cards { grid-template-columns: 1fr; }
	.pdl-opts--grid { grid-template-columns: 1fr; }
	.pdl-results__head { flex-wrap: wrap; }
	.pdl-club__actions { width: 100%; }
	.pdl-club__actions .pdl-btn--primary { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.pdl *, .pdl *::before, .pdl *::after { animation: none !important; transition: none !important; }
}
