.reference-intro {border: 0;}
.reference-atlas {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(245px, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #cdcec6;
  border-radius: 0;
  background: #faf9f6;
}
.atlas-panel {min-width: 0; display: flex; flex-direction: column;}
.atlas-bar, .atlas-caption {display: flex; align-items: center; justify-content: space-between; gap: 12px;}
.atlas-bar {min-height: 54px; padding: 10px 20px; border-bottom: 1px solid #d6d7cf;}
.atlas-heading {font-weight: 600; letter-spacing: -.02em; font-size: 1.1rem;}
#atlas-reset {font: inherit; font-size: .84rem; font-weight: 600; border: 1px solid #bec7be; border-radius: 4px; color: var(--blue); background: #fff; padding: 5px 10px; cursor: pointer;}
#atlas-reset:hover {background: #f0f2ec;}
.atlas-canvas {position: relative; isolation: isolate; flex: 1; background: #f0f0ea; min-height: clamp(300px, 30vw, 455px); overflow: hidden;}
.atlas-fallback, #proje-haritasi {position: absolute; inset: 0; display: block; width: 100%; height: 100%;}
.atlas-fallback {object-fit: contain; padding: 12px; background: #f0f0ea; pointer-events: none;}
.atlas-ready .atlas-fallback {display: none;}
#proje-haritasi {background: #f0f0ea; font-family: inherit;}
#proje-haritasi .leaflet-control-zoom {border: 1px solid #bccbd4; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 6px #0a29441a;}
#proje-haritasi .leaflet-control-zoom a {background: #fff; color: var(--ink); font-family: inherit; font-weight: 500;}
#proje-haritasi .leaflet-control-attribution {font: 9px/1.4 Arial, sans-serif; padding: 2px 5px;}
#proje-haritasi .leaflet-control-attribution a {color: #3b5147;}
#proje-haritasi .leaflet-control-attribution:empty {display: none;}
.atlas-caption {border-top: 1px solid #d6d7cf; color: var(--muted); font-size: .8rem; line-height: 1.4; min-height: 43px; padding: 8px 20px;}
.atlas-legend {display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; color: var(--ink);}
.atlas-legend > span {display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;}
.atlas-legend > span::before {content: ''; box-sizing: border-box; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #115c58;}
.legend-site::before {background: #115c58;}
#harita-aciklama {text-align: right;}
.atlas-key {padding: clamp(18px, 2vw, 32px); border-left: 1px solid var(--line); align-self: stretch;}
.atlas-key h2 {font-size: clamp(1.35rem, 2.1vw, 2rem); margin-bottom: 14px;}
.atlas-key ul {margin: 0; padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--atlas-rows-two, 12), auto); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 9px;}
.atlas-key a {display: block; width: fit-content; max-width: 100%; font-size: .93rem; padding: 4px 0; line-height: 1.4; color: #35443d;}
.atlas-key a:is([aria-current],:hover,:focus-visible) {color: var(--blue); text-decoration: underline; text-underline-offset: 4px;}
.atlas-key a[aria-current] {font-weight: 600;}
.project-directory {padding-block: clamp(40px, 5vw, 72px) clamp(50px, 6vw, 88px);}
.directory-head {display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px;}
.directory-head h2 {font-size: clamp(1.85rem, 3.2vw, 3rem);}
.directory-head p {color: var(--muted); font-size: .95rem;}
.province-directory {columns: 3; column-gap: clamp(24px, 4vw, 64px);}
.province-projects {display: inline-block; width: 100%; margin-bottom: 30px; break-inside: avoid; border-top: 1px solid #bbc0b7; padding-top: 13px;}
.province-projects h3 {font-size: 1.24rem; letter-spacing: -.025em; color: var(--blue); margin-bottom: 9px; line-height: 1.3;}
.province-projects h3:target {text-decoration: underline; text-underline-offset: 5px;}
.province-projects ul {list-style: none; padding: 0; margin: 0;}
.province-projects li {padding-block: 2px; font-size: 1rem; line-height: 1.45;}
.project-jump {display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); text-align: left; font: inherit; line-height: 1.45; border: 0; border-radius: 3px; padding: 3px 0; background: transparent; cursor: pointer;}
.project-jump::after {content: ''; width: 11px; height: 13px; flex: none; align-self: center; opacity: .58; background: #536159; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 15s5.2-5.8 5.2-9a5.2 5.2 0 1 0-10.4 0c0 3.2 5.2 9 5.2 9Z' fill='none' stroke='black' stroke-width='1.4'/%3E%3Ccircle cx='7' cy='6' r='1.8' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;}
.project-jump:is(:hover,:focus-visible) {color: var(--blue); text-decoration: underline; text-underline-offset: 4px;}
.atlas-spot, .atlas-cluster {box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; background: #115c58; border: 2px solid #fff; color: #fff; outline: 1px solid #39605b66;}
.atlas-area {border: 3px solid #115c58; background: #faf9f6; outline: 2px solid white;}
.atlas-cluster {font-family: inherit; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 650; line-height: 1;}
.atlas-spot:focus-visible, .atlas-cluster:focus-visible {outline: 3px solid #222a27; outline-offset: 3px;}
.atlas-tip {padding: 4px 8px; border: 0; background: #222a27; color: #fff; box-shadow: none; font-family: inherit; font-weight: 550; font-size: .78rem; line-height: 1.35;}
.atlas-tip.leaflet-tooltip-top::before {border-top-color: #222a27;}
.atlas-popup .leaflet-popup-content-wrapper {border-radius: 6px; box-shadow: 0 4px 18px #19304838;}
.atlas-popup .leaflet-popup-content {font-family: inherit; font-size: .94rem; line-height: 1.4; margin: 13px 25px 13px 15px; min-width: 140px;}
.atlas-popup .popup-city {display: block; color: var(--muted); font-size: .77rem; margin-bottom: 4px;}
.atlas-popup .popup-name {font-size: 1rem; font-weight: 650; color: var(--ink);}
.atlas-popup .leaflet-popup-content .popup-note {margin: 6px 0 0; line-height: 1.45; color: var(--muted); font-size: .82rem;}
.atlas-popup .popup-links {display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px;}
.atlas-popup .popup-links a {color: var(--blue); font-size: .77rem; text-decoration: underline; text-underline-offset: 2px;}
.atlas-popup .leaflet-popup-close-button:focus-visible {outline: 2px solid var(--blue);}
@media (max-width: 1020px) {
  .reference-atlas {grid-template-columns: minmax(0, 1.9fr) minmax(235px, .9fr);}
  .atlas-key {padding: 18px;}
}
@media (max-width: 800px) {
  .reference-atlas {display: block;}
  .atlas-canvas {min-height: clamp(255px, 48vw, 360px);}
  .atlas-key {border-left: 0; border-top: 1px solid var(--line);}
  .atlas-key ul {grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(var(--atlas-rows-three, 8), auto);}
  .atlas-key a {padding-block: 6px;}
  .province-directory {columns: 2;}
}
@media (max-width: 520px) {
  .atlas-key, .atlas-bar, .atlas-caption {padding-inline: 14px;}
  .atlas-key h2 {font-size: 1.3rem; margin-bottom: 9px;}
  .atlas-key ul {grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--atlas-rows-two, 12), auto);}
  .atlas-key a {font-size: .9rem; padding-block: 5px;}
  .atlas-caption {flex-wrap: wrap; font-size: .8rem; gap: 5px 12px;}
  #harita-aciklama {text-align: left;}
  .province-directory {columns: 1;}
  .province-projects {margin-bottom: 22px;}
  .directory-head {gap: 12px; margin-bottom: 20px;}
  .project-jump {min-height: 32px;}
}

.shared-project {font-size:.92rem;line-height:1.5;margin-top:8px;color:var(--muted);}
.shared-project a {color:var(--blue);text-decoration:underline;text-underline-offset:3px;}
.province-projects li[id] {scroll-margin-top:110px;}
.province-projects li:target {background:#e8eee7;}
