/* Vakit Namaz (Axis): places lists as encyclopedia pages. Country and city indexes are "list of" tables, place lists are numbered text lists,
   the filters sit in the side box (indexes) or in a flat toolbar (place lists), the map is the side box map or a full-width map. */
.pl-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pl-head h1{overflow-wrap:anywhere}

/* search line and filters: square, flat, one fixed size per control before and after core.js (no layout shift) */
.pl-search{display:flex;align-items:stretch;gap:0;height:36px;max-width:560px}
.pl-search input{flex:1;min-width:0;height:36px;box-sizing:border-box;border:1px solid var(--wk-rule);border-inline-end:0;border-radius:2px 0 0 2px;background:var(--wk-page);color:var(--wk-ink);font:400 15px var(--font);padding:0 10px;outline:0}
[dir=rtl] .pl-search input{border-radius:0 2px 2px 0}
.pl-search input:focus{border-color:var(--wk-link);box-shadow:inset 0 0 0 1px var(--wk-link)}
.pl-go{flex:0 0 auto;height:36px;box-sizing:border-box;padding:0 14px;border:1px solid var(--wk-rule);border-radius:0 2px 2px 0;background:var(--wk-paper);color:var(--wk-ink);font:600 14.5px var(--font);cursor:pointer}
[dir=rtl] .pl-go{border-radius:2px 0 0 2px}
.pl-go:hover{background:var(--wk-blue)}
.pl-fbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:10px}
.pl-sel{position:relative;display:block;flex:0 0 190px;width:190px;height:34px;min-width:0;max-width:100%}
.pl-sel select,.pl-fbar .pl-sel .mn-btn.chip{width:100%;height:34px;box-sizing:border-box;margin:0;border:1px solid var(--wk-rule);border-radius:2px;background:var(--wk-page);color:var(--wk-ink);font:400 14.5px var(--font);padding:0 8px;cursor:pointer;box-shadow:none}
.pl-sel select{text-overflow:ellipsis}
.pl-fbar .pl-sel .mn-btn.chip{display:flex;justify-content:space-between;padding-inline:10px 6px}
.pl-fbar .pl-sel .mn-btn.chip .mn-txt{flex:1 1 auto;max-width:none}
.pl-fbar .pl-sel .mn-btn.chip.on{background:var(--wk-blue);border-color:var(--wk-blue-l);color:var(--wk-ink);font-weight:600}
.pl-fbar .pl-sel .mn-btn.chip.on .mn-chev,.pl-fbar .pl-sel .mn-btn.chip .mn-chev{color:var(--wk-dim)}
.pl-fbar .mn-pop{border-radius:2px}
.pl-clear{font-size:14.5px;color:var(--wk-link)}
.pl-fbar .pl-go{border-radius:2px}

/* toolbar above place lists: a ruled band, like the tools line on articles */
.pl-tool{border-bottom:1px solid var(--wk-rule);padding:0 0 12px;margin:0 0 4px}
/* view switch as text tabs */
.pl-seg{display:flex;gap:0;margin:0 0 14px;border-bottom:1px solid var(--wk-rule);font-size:14.5px;background:none;border-radius:0;padding:0}
.pl-seg a{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;color:var(--wk-link);border-bottom:2px solid transparent;margin-bottom:-1px;text-decoration:none;white-space:nowrap}
.pl-seg a:hover{text-decoration:underline}
.pl-seg a.on{color:var(--wk-ink);font-weight:700;border-bottom-color:var(--wk-teal)}

/* side box form on the indexes: one control per line */
.pl-info-form .pl-search{max-width:none}
.pl-info-form .pl-fbar{flex-direction:column;align-items:stretch}
.pl-info-form .pl-sel{flex:0 0 34px;width:100%}
.wk-info-t th a{color:var(--wk-link);font-weight:600}

/* country and city tables */
.pl-find{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 10px;font-size:14.5px}
.pl-find label{color:var(--wk-ink)}
.pl-find input{height:34px;box-sizing:border-box;width:min(100%,280px);border:1px solid var(--wk-rule);border-radius:2px;background:var(--wk-page);color:var(--wk-ink);font:400 15px var(--font);padding:0 10px}
.pl-find input:focus{outline:0;border-color:var(--wk-link);box-shadow:inset 0 0 0 1px var(--wk-link)}
.pl-table{width:100%;margin:0;font-size:15px}
.pl-table thead th{white-space:nowrap;font-size:14px}
.pl-table th,.pl-table td{padding:6px 10px;vertical-align:top}
.pl-table tbody th{font-weight:400;overflow-wrap:anywhere}
.pl-table tbody th a{color:var(--wk-link);font-weight:600}
.pl-table .pl-n{width:1%;color:var(--wk-dim);text-align:end;font-variant-numeric:tabular-nums}
.pl-table thead .pl-n{color:var(--wk-ink)}
.pl-table .pl-c,.pl-table .pl-t{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
.pl-table td.pl-t{font-weight:700}
.pl-table td.pl-0{color:var(--wk-dim)}
.pl-sub{display:none;color:var(--wk-dim);font-size:13.5px;line-height:1.45;margin-top:2px}
.pl-grid:not(.all) .pl-x{display:none}
.pl-none{color:var(--wk-dim);margin:12px 0 0}
.pl-more{margin:10px 0 0;font-size:15px}

/* place lists: numbered text lines */
.pl-count{margin:-4px 0 10px}
.pl-rows{gap:10px}
.pl-rows li{overflow-wrap:anywhere}
.pl-row{font-weight:600;color:var(--wk-link)}
.pl-alt{color:var(--wk-dim);font-size:14px}
.pl-line{display:block;color:var(--wk-dim);font-size:14px;line-height:1.5}
.pl-rate{color:var(--wk-ink)}
.pl-ok{color:var(--wk-teal);font-weight:600}
.pl-pager{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:22px 0 0;padding:10px 0 0;border-top:1px solid var(--wk-rule);font-size:15px}
.pl-pg{color:var(--wk-link);font-variant-numeric:tabular-nums}
.pl-pg.on{color:var(--wk-ink);font-weight:700;text-decoration:none}
.pl-gap{color:var(--wk-dim)}
.pl-empty p + p{margin-top:6px}

/* maps: the side box map (list and map) or a full-width map above the article */
.pl-mapcol{position:relative;margin:0 0 10px}
.pl-map{position:relative;height:360px;border:1px solid var(--wk-rule);border-radius:2px;overflow:hidden;background:var(--wk-page);z-index:0}
.pl-map-msg{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:var(--wk-dim);font-size:14.5px;text-align:center;padding:16px}
.pl-map-note{margin:6px 0 0;color:var(--wk-dim);font-size:13px;min-height:1.2em}
.pl-v-map > .pl-mapcol{margin:0 0 20px}
.pl-v-map > .pl-mapcol .pl-map{height:min(70vh,620px)}
.pl-map .leaflet-popup-content-wrapper,.pl-map .leaflet-popup-tip{background:var(--wk-page);color:var(--wk-ink);border-radius:2px;box-shadow:0 0 0 1px var(--wk-rule)}
.pl-map .leaflet-popup-content{font:400 14px var(--font);text-align:start;margin:10px 12px}
.pl-map .leaflet-popup-content b{display:block;font-size:15px;margin-bottom:2px}
.pl-map .leaflet-popup-content div{color:var(--wk-dim)}
.pl-map .leaflet-popup-content a{display:inline-block;margin-top:6px;color:var(--wk-link);font-weight:600}
.pl-map.leaflet-container a.leaflet-popup-close-button{color:var(--wk-dim)}
.pl-map .leaflet-control-zoom a{background:var(--wk-page);color:var(--wk-ink);border-color:var(--wk-rule)}
.pl-map.leaflet-container .leaflet-control-attribution{background:var(--wk-paper);color:var(--wk-dim)}
.pl-map.leaflet-container .leaflet-control-attribution a{color:var(--wk-link)}

/* phones and tablets: list or map, the list and map choice is not offered */
@media (max-width:899px){
  .pl-v-split .pl-mapcol{display:none}
  .pl-seg .pl-seg-split{display:none}
  .pl-seg a.m-on{color:var(--wk-ink);font-weight:700;border-bottom-color:var(--wk-teal)}
}
@media (max-width:640px){
  .pl-table .pl-c{display:none}
  .pl-sub{display:block}
  .pl-table th,.pl-table td{padding:6px 8px}
}
@media (max-width:560px){
  .pl-fbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pl-sel{width:auto;flex:none}
  .pl-search{max-width:none}
  .pl-v-map > .pl-mapcol .pl-map{height:62vh}
}

/* the map keeps its own stacking layer, so its panes never cover the sticky top bar */
.leaflet-container{isolation:isolate;z-index:0}
