@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;800;900&family=Inter+Tight:wght@500;600;700;800;900&display=swap");

:root {
  --bg: #fff;
  --panel: #fff;
  --ink: #050505;
  --muted: #050505;
  --line: #d7d7d7;
  --soft: #fff;
  --green: #00843d;
  --green-2: #009b4a;
  --yellow: #f1b43d;
  --red: #d71920;
  --blue: #71a4c4;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header,
main,
.site-footer {
  width: min(100% - 80px, 1760px);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}

.brand img {
  display: block;
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 58px;
  font-size: 15px;
  font-weight: 650;
}

.nav a,
.nav span {
  position: relative;
  padding-block: 37px;
}

.nav .active {
  color: var(--green);
  text-decoration: none;
}

.nav .active::after {
  content: none;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
}

.langs {
  position: relative;
  color: #3f4644;
  line-height: 1;
}

.lang-menu {
  position: relative;
  display: inline-block;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-caret {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 24px rgba(24, 33, 29, 0.12);
}

.lang-options a,
.lang-options .active-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
}

.lang-options a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-options .active-lang,
.lang-menu summary .active-lang {
  color: var(--ink);
  font-weight: inherit;
  text-decoration: none;
}


.outline-btn {
  border: 1px solid #222927;
  padding: 16px 26px;
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  padding: 34px 0 21px;
}

.valis-hero {
  display: grid;
  gap: 0;
  max-width: 980px;
  padding-block: clamp(18px, 3vw, 34px) clamp(12px, 2vw, 24px);
}

.hero-lead {
  max-width: 68ch;
  color: #2f3835;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p,
dl {
  margin-block-start: 0;
}

.valis-empty-state {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: clamp(28px, 5vw, 72px) 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: #fff;
}

.valis-empty-state h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  text-wrap: balance;
}

.valis-empty-state p {
  margin: 0;
  max-width: 62ch;
  color: #2f3835;
  line-height: 1.55;
}

h1 {
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  margin-bottom: 15px;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

h2,
h3,
h4 {
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-size: 36px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.14;
}

h4 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  margin-bottom: 31px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.48;
}

.stats {
  display: flex;
  align-items: center;
  margin: 0 0 27px;
}

.stats div {
  min-width: 128px;
  padding-right: 45px;
  margin-right: 45px;
  border-right: 1px solid #c9c8c1;
}

.stats div:last-child {
  border-right: 0;
}

.stats dt {
  margin-bottom: 4px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.clock {
  position: relative;
  width: 27px;
  height: 27px;
  border: 2px solid #49514e;
}

.clock::before,
.clock::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 2px;
  background: #49514e;
  transform-origin: bottom center;
}

.clock::before {
  height: 8px;
}

.clock::after {
  height: 6px;
  transform: rotate(120deg);
}

.search {
  display: flex;
  align-items: center;
  gap: 17px;
  width: min(760px, 100%);
  height: 54px;
  padding-inline: 21px;
  border: 1px solid #c9c8c1;
  background: rgba(255, 255, 255, 0.72);
}

.search svg {
  color: #6b7370;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 0.98fr);
  column-gap: clamp(24px, 2.4vw, 42px);
  align-items: start;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.projects-page .workspace {
  margin-top: 34px;
}

.projects-page > .article-page {
  display: none;
}

.projects-heading {
  padding-top: 34px;
}

.projects-heading h1 {
  max-width: none;
  white-space: nowrap;
}

.macro-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 38px;
}

.macro-regions-home {
  gap: 18px;
  margin: 12px 0 26px;
}

.macro-region-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
  background: #fff;
}

.macro-regions-home .macro-region-card {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
}

.macro-region-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.macro-region-media {
  display: block;
  min-height: 112px;
  background-color: #e3ebe7;
  background-position: center;
  background-size: cover;
}

.macro-regions-home .macro-region-media {
  min-height: 78px;
}

.macro-region-content {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 0;
}

.macro-region-main span {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.08;
}

.macro-region-main b {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.macro-region-card.active .macro-region-main span {
  color: var(--green);
}

.macro-region-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  padding: 0;
  margin-top: -5px;
}

.macro-region-cities a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 30px;
  padding: 6px 9px;
  background: #f6f8f6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
}

.macro-regions-home .macro-region-cities a {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: 400;
}

.macro-region-cities a:hover,
.macro-region-cities a.active {
  background: var(--green);
  color: #fff;
}

.macro-region-cities b {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.map-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #dfe8e5;
  overflow: hidden;
}

.osm-map {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: #dfe8e5;
}

.osm-map .leaflet-control-attribution {
  background: rgba(255, 253, 250, 0.9);
  color: #5c6461;
  font-size: 11px;
}

.osm-map .leaflet-control-zoom,
.project-location-map .leaflet-control-zoom {
  margin: 30px 0 0 26px;
  border: 0;
  box-shadow: none;
}

.osm-map .leaflet-control-zoom a,
.project-location-map .leaflet-control-zoom a {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #cfd0c8;
  background: rgba(255, 255, 255, 0.92);
  color: #26302d;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(39, 46, 43, 0.08);
}

.osm-map .leaflet-control-zoom a + a,
.project-location-map .leaflet-control-zoom a + a {
  margin-top: 14px;
}

.osm-map .leaflet-control-zoom a:hover,
.osm-map .leaflet-control-zoom a:focus,
.project-location-map .leaflet-control-zoom a:hover,
.project-location-map .leaflet-control-zoom a:focus {
  background: #fff;
  color: var(--green);
}

.osm-map .leaflet-popup-content-wrapper,
.osm-map .leaflet-popup-tip {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(39, 46, 43, 0.18);
}

.map-popup-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-cluster,
.map-pin {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.map-cluster {
  width: 38px;
  height: 38px;
  background: var(--green-2);
  box-shadow: 0 0 0 6px rgba(36, 142, 97, 0.18), 0 0 0 11px rgba(36, 142, 97, 0.08);
  font-size: 13px;
  border-radius: 50%;
}

.map-pin {
  width: 18px;
  height: 18px;
  border: 4px solid var(--yellow);
  background: #fff;
  box-shadow: 0 5px 12px rgba(39, 46, 43, 0.2);
  border-radius: 50%;
}

.map-project-dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  background: var(--green-2);
  box-shadow: 0 2px 5px rgba(39, 46, 43, 0.14);
  border-radius: 50%;
}

.map-project-marker {
  position: relative;
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 136px;
  max-width: none;
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(23, 114, 76, 0.28);
  background: rgba(255, 253, 250, 0.96);
  color: var(--green);
  box-shadow: 0 8px 18px rgba(39, 46, 43, 0.18);
  font-size: 12px;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

.map-project-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid rgba(255, 253, 250, 0.96);
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 3px rgba(39, 46, 43, 0.14));
}

.map-project-marker strong {
  display: block;
  color: #0f5f3d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.map-project-meta {
  display: grid;
  gap: 2px;
  color: #38433f;
  font-weight: 750;
}

.map-project-meta span {
  display: block;
}

.map-project-marker:hover,
.map-project-marker:focus {
  border-color: rgba(23, 114, 76, 0.48);
  background: #fff;
  color: #0f5f3d;
}

.portugal-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(148, 197, 211, 0.42) 0 31%, transparent 31.2%),
    radial-gradient(ellipse at 70% 37%, rgba(238, 231, 219, 0.95) 0 39%, transparent 39.5%),
    radial-gradient(ellipse at 58% 58%, rgba(241, 234, 221, 0.98) 0 26%, transparent 26.5%),
    radial-gradient(ellipse at 52% 77%, rgba(242, 234, 219, 0.98) 0 18%, transparent 18.5%),
    linear-gradient(90deg, #d7e8ec 0 34%, #e5e8db 34% 100%);
}

.portugal-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(23deg, transparent 47%, rgba(199, 190, 173, 0.42) 48%, transparent 49%),
    linear-gradient(155deg, transparent 46%, rgba(199, 190, 173, 0.35) 47%, transparent 48%),
    radial-gradient(circle at 67% 23%, transparent 0 18px, rgba(167, 177, 160, 0.2) 19px 20px, transparent 21px),
    radial-gradient(circle at 60% 70%, transparent 0 30px, rgba(167, 177, 160, 0.2) 31px 32px, transparent 33px);
  background-size: 260px 190px, 320px 240px, 220px 180px, 300px 260px;
  opacity: 0.8;
}

.country {
  position: absolute;
  left: 49%;
  top: 43%;
  color: rgba(33, 40, 38, 0.76);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 9px;
}

.ocean {
  position: absolute;
  left: 20%;
  top: 52%;
  color: #6c9faf;
  font-size: 16px;
  font-style: italic;
  line-height: 1.1;
}

.city {
  position: absolute;
  z-index: 2;
  color: #28302d;
  font-size: 13px;
  font-weight: 700;
}

.porto { left: 55%; top: 16%; }
.braga { left: 56%; top: 7%; }
.aveiro { left: 52%; top: 27%; }
.coimbra { left: 54%; top: 34%; }
.lisboa { left: 39%; top: 61%; }
.evora { left: 64%; top: 65%; }
.setubal { left: 49%; top: 69%; }
.algarve { left: 55%; top: 87%; }

.pin,
.pin-dot {
  width: 19px;
  height: 19px;
  border: 4px solid var(--yellow);
  background: #fff;
  transform: rotate(-45deg);
}

.pin {
  position: absolute;
  z-index: 3;
}

.pin::after,
.pin-dot::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 3px;
  height: 3px;
  background: var(--yellow);
}

.p1 { left: 55%; top: 9%; }
.p2 { left: 70%; top: 19%; }
.p3 { left: 51%; top: 30%; }
.p4 { left: 48%; top: 40%; }
.p5 { left: 42%; top: 56%; }
.p6 { left: 43%; top: 58%; }
.p7 { left: 63%; top: 57%; }
.p8 { left: 59%; top: 67%; }
.p9 { left: 67%; top: 82%; }

.cluster,
.cluster-dot {
  display: grid;
  place-items: center;
  background: var(--green-2);
  color: #fff;
}

.cluster {
  position: absolute;
  z-index: 4;
  width: 35px;
  height: 35px;
  box-shadow: 0 0 0 6px rgba(36, 142, 97, 0.18), 0 0 0 11px rgba(36, 142, 97, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.c1 { left: 54%; top: 16%; }
.c2 { left: 42%; top: 61%; }
.c3 { left: 58%; top: 86%; }

.map-controls {
  position: absolute;
  z-index: 8;
  left: 26px;
  top: 152px;
  display: grid;
  gap: 14px;
}

.map-controls [data-map-action="zoom-in"],
.map-controls [data-map-action="zoom-out"] {
  display: none;
}

.map-controls button {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #cfd0c8;
  background: rgba(255, 255, 255, 0.92);
  color: #26302d;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(39, 46, 43, 0.08);
}

.legend {
  position: absolute;
  z-index: 8;
  left: 26px;
  bottom: 25px;
  display: grid;
  gap: 10px;
  width: 207px;
  padding: 16px 18px;
  border: 1px solid #d7d5ca;
  background: rgba(255, 253, 250, 0.95);
  color: #707875;
  font-size: 13px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pin-dot {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border-width: 3px;
}

.pin-dot::after {
  left: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
}

.cluster-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.filters {
  padding: 26px 0 20px 38px;
  background: #fff;
}

.filters-head,
.card-title {
  display: flex;
  align-items: center;
}

.filters-head {
  justify-content: space-between;
  margin-bottom: 25px;
}

.filters h2,
.filters h3,
.radar h2,
.overview h2,
.developers h2 {
  margin-bottom: 24px;
}

.filters-head h2,
.filters-head h3 {
  margin: 0;
}

.filters-head button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 38px;
}

.filters > .filter-grid {
  row-gap: 22px;
}

.price-filter {
  grid-column: 1 / -1;
}

.select-field,
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 800;
}

select {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid #cfcfc8;
  background: #fffefa;
  color: #727976;
  outline: 0;
}

.region-filter {
  position: relative;
  min-width: 0;
  z-index: 20;
}

.region-filter.is-open {
  z-index: 60;
}

.select-label {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.region-trigger {
  position: relative;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid rgba(5, 5, 5, 0.22);
  padding: 0 42px 0 14px;
  background: #fffefa;
  color: #333c38;
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.region-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #3f4844;
  border-bottom: 2px solid #3f4844;
  transform: translateY(-65%) rotate(45deg);
}

.region-filter.is-open .region-trigger {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.12);
}

.region-filter.is-open .region-trigger::after {
  transform: translateY(-35%) rotate(225deg);
}

.region-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: min(calc(200% + 38px), calc(100vw - 48px));
  max-height: min(620px, calc(100vh - 160px));
  overflow: auto;
  padding: 16px;
  border: 0;
  background: rgba(255, 253, 250, 0.98);
  box-shadow: 0 24px 70px rgba(36, 43, 40, 0.18);
}

.region-popover h3 {
  margin: 18px 0 12px;
  font-size: 15px;
}

.region-apply {
  display: none;
}

.geo-locations-picker details div {
  align-items: center;
  gap: 6px;
  padding-left: 16px;
}

.geo-locations-picker a,
.location-reset,
.group-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 0;
  padding: 4px 8px;
  color: #3e4844;
  text-decoration: none;
  white-space: nowrap;
}

.location-reset,
.group-option,
.group-toggle {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.location-reset {
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  border-bottom: 0;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.geo-locations-picker a:hover,
.location-reset:hover,
.group-option:hover {
  background: rgba(255, 255, 255, 0.78);
}

.geo-locations-picker a.active,
.location-reset.active,
.group-option.active {
  background: rgba(0, 132, 61, 0.12);
  color: var(--green);
  font-weight: 700;
}

.geo-locations-picker a.is-hidden,
.geo-locations-picker details.is-hidden {
  display: none;
}

legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 12px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.range-labels {
  display: none;
}

.price-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 14px;
}

.price-inputs label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  border: 1px solid #d9d9d4;
  padding: 0 10px;
  background: #fff;
  color: #7b807d;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}

.price-inputs input {
  width: 100%;
  height: 38px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
  outline: 0;
}

.price-inputs label:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.12);
}

.price-range-stack {
  position: relative;
  height: 26px;
  margin-top: 8px;
}

.price-range-stack::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: #d8dcd4;
  transform: translateY(-50%);
  pointer-events: none;
}

.price-range-stack::after {
  content: "";
  position: absolute;
  left: var(--price-min-position, 0%);
  right: calc(100% - var(--price-max-position, 100%));
  top: 50%;
  height: 4px;
  background: #78b82a;
  transform: translateY(-50%);
  pointer-events: none;
}

.range {
  width: 100%;
  accent-color: var(--green-2);
}

.price-range-stack .range {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  height: 18px;
  margin: 0;
  background: transparent;
  transform: translateY(-50%);
  pointer-events: none;
}

.price-range-stack .range::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.price-range-stack .range::-moz-range-track {
  height: 4px;
  background: transparent;
}

.price-range-stack .range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 0;
  background: #78b82a;
  box-shadow: none;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  border-radius: 50%;
}

.price-range-stack .range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  background: #78b82a;
  box-shadow: none;
  border-radius: 50%;
  pointer-events: auto;
}

.distance-filter-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.distance-filter label {
  display: flex;
  margin-right: 0;
}

.source-row {
  padding-top: 6px;
  margin-top: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  padding-top: 8px;
  margin-top: 12px;
}

.chips-label {
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 800;
}

.chips span,
.chips button {
  min-width: 105px;
  height: 31px;
  border: 0;
  padding-inline: 18px;
  background: linear-gradient(180deg, #259061, #166d49);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 31px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.chips button {
  min-width: 82px;
  border: 1px solid #cfd0c8;
  background: #fffdf9;
  color: #555e5a;
  box-shadow: none;
}

.quick-filters {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 22px 30px;
}

.site-cta,
.more-btn,
.all-news,
.projects-more,
.dev-grid a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid var(--green);
  padding: 0 22px;
  background: #fff;
  color: var(--green);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-cta:hover,
.more-btn:hover,
.all-news:hover,
.projects-more:hover,
.dev-grid a:last-child:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 132, 61, 0.16);
}

.quick-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.82);
  color: #38413e;
  font-weight: 750;
}

.quick-filters > button {
  min-width: 210px;
  padding-inline: 26px;
}

.quick-filters svg {
  width: 21px;
  height: 21px;
  color: #57706a;
}

.view-switch {
  display: flex;
  margin-left: auto;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 253, 250, 0.8);
}

.view-switch button {
  min-width: 111px;
  height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
}

.view-switch button:last-child {
  border-right: 0;
}

.view-switch .active {
  background: #f0eee6;
}

.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 52px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.projects-toolbar button {
  min-height: 36px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.projects-toolbar button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.projects-more {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
  cursor: pointer;
}

.projects-more[hidden] {
  display: none;
}

.projects {
  margin-top: 34px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 48px;
}

.projects::after {
  display: none;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(104px, 132px) 1fr;
  gap: 20px;
  min-height: 0;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}

.project-card:hover {
  background: linear-gradient(90deg, rgba(0, 132, 61, 0.035), transparent 58%);
}

.thumb {
  min-width: 0;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 82%;
}

.thumb.has-image {
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(36, 44, 40, 0.08);
}

.building-one {
  background-image:
    linear-gradient(30deg, transparent 43%, rgba(34, 96, 74, 0.18) 44% 46%, transparent 47%),
    linear-gradient(90deg, rgba(39, 122, 88, 0.16), rgba(39, 122, 88, 0.07)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='125' viewBox='0 0 170 125'%3E%3Cg fill='none' stroke='%235d8276' stroke-width='3'%3E%3Cpath fill='%23eef1ec' d='M25 99V41l42-16 57 22v52Z'/%3E%3Cpath fill='%23dfe7e1' d='M67 99V25l57 22v52Z'/%3E%3Cpath d='M39 54h13v12H39zM39 76h13v12H39zM76 45h13v13H76zM101 55h13v13h-13zM76 72h13v13H76zM101 80h13v13h-13zM23 99h111'/%3E%3C/g%3E%3C/svg%3E");
}

.building-two {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='125' viewBox='0 0 170 125'%3E%3Cg fill='none' stroke='%23859d96' stroke-width='3'%3E%3Cpath d='M13 94h145M24 82l48-36 73 18v30'/%3E%3Cpath fill='%23e8ece7' d='M72 46v48h73V64Z'/%3E%3Cpath d='M83 61h15M105 66h15M128 71h13M83 78h15M105 82h15M31 82v12'/%3E%3C/g%3E%3C/svg%3E");
}

.building-three {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='125' viewBox='0 0 170 125'%3E%3Cg fill='none' stroke='%237b9b8d' stroke-width='3'%3E%3Cpath fill='%23eef1ec' d='M20 91 69 31l80 20v40Z'/%3E%3Cpath d='m31 81 39-25 62 12M43 70l29-20 53 11M56 59l18-15 44 10M31 96h123M78 68v26M112 72v22'/%3E%3C/g%3E%3C/svg%3E");
}

.project-main {
  min-width: 0;
  display: grid;
  align-content: start;
}

.card-title {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 5px;
}

.card-title h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.completion-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  border: 1px solid var(--green);
  padding: 0 10px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.card-title button,
.news-list button,
.featured-news footer button {
  width: 18px;
  height: 24px;
  margin-left: auto;
  border: 1.8px solid #39433f;
  border-bottom: 0;
  background: transparent;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.badge,
.news-list span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 22px;
  padding-block: 4px;
  padding-inline: 10px;
  background: #cfead9;
  color: #17724c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.badge.yellow,
.news-list .yellow {
  background: #f7e6ba;
  color: #9f6914;
}

.news-list .red {
  background: #f5d1cd;
  color: #a84239;
}

.news-list .blue {
  background: #d7e9f2;
  color: #367295;
}

.project-card p {
  margin: 0 0 10px;
  color: rgba(5, 5, 5, 0.68);
  font-size: 14px;
  line-height: 1.2;
}

.project-card .strong {
  color: var(--ink);
  font-weight: 750;
}

.project-card .strong span {
  margin-left: 17px;
  color: var(--ink);
}

.project-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin: 0;
  padding-top: 0;
}

.project-card dt,
.project-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.15;
}

.project-card dt {
  color: rgba(5, 5, 5, 0.62);
  font-size: 11px;
  font-weight: 750;
}

.project-card dd {
  margin-top: 2px;
  color: var(--ink);
  font-weight: 800;
}

.typology-list {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 8px 0 0;
}

.typology-list div {
  display: grid;
  grid-template-columns: 30px minmax(74px, max-content) minmax(58px, 1fr) minmax(24px, max-content);
  align-items: center;
  gap: 8px;
  min-height: 22px;
  border-top: 0;
  padding-top: 0;
  color: rgba(5, 5, 5, 0.7);
  font-size: 12px;
  line-height: 1.1;
}

.typology-list strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.typology-list span:last-child {
  text-align: right;
  white-space: nowrap;
}

.more-btn,
.all-news {
  width: 380px;
  max-width: 100%;
  margin: 28px auto 15px;
}

.more-btn span,
.all-news span {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.radar {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.radar h2 {
  font-size: 31px;
}

.radar-grid {
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(560px, 1fr);
  gap: clamp(54px, 6vw, 96px);
}

.featured-news {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: clamp(34px, 4vw, 58px);
  min-height: 288px;
  padding: 0;
  border: 0;
  background: transparent;
}

.news-art {
  display: block;
  overflow: hidden;
  background: #efede7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%233a4541' stroke-width='4'%3E%3Cpath d='M43 112V43l39-23 38 23v69M24 112h105M59 50h18M59 69h18M59 88h18M94 58h16M94 78h16M94 98h16'/%3E%3Cpath d='M82 112V21'/%3E%3C/g%3E%3C/svg%3E") center/72% no-repeat;
}

.news-art img,
.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.red-label {
  margin: 12px 0 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.featured-news h3 {
  margin-bottom: 17px;
  font-size: 23px;
  line-height: 1.18;
}

.featured-news h3 a,
.news-list h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-news h3 a:hover,
.news-list h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tag-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.tag-row span:nth-child(2) {
  background: #d7e9f2;
  color: #367295;
}

.featured-news p:not(.red-label) {
  color: #69716e;
  font-size: 15px;
  line-height: 1.45;
}

.featured-news footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 50px;
  color: #68706d;
  font-size: 13px;
  font-weight: 650;
}

.news-list {
  display: grid;
  gap: 18px;
  border-top: 0;
}

.news-list article {
  display: grid;
  grid-template-columns: 39px 1fr auto;
  align-items: center;
  gap: 21px;
  min-height: 56px;
  padding-block: 0;
  border-bottom: 0;
}

.news-list i,
.news-thumb {
  width: 35px;
  height: 35px;
  border: 0;
  background: #f2f0ea;
}

.news-thumb {
  display: block;
  overflow: hidden;
}

.news-list i::before {
  content: "";
  display: block;
  width: 17px;
  height: 20px;
  margin: 7px auto;
  border: 2px solid #6d7772;
  border-top: 0;
}

.news-list h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.2;
}

.news-list p {
  margin: 0;
  color: #747b78;
  font-size: 12px;
}

.all-news span {
  transform: rotate(-45deg);
}

.overview,
.developers {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.region-grid,
.dev-grid {
  display: grid;
  gap: 18px;
}

.region-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dev-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.region-grid a,
.dev-grid a {
  display: flex;
  align-items: center;
  min-height: 73px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.76);
}

.region-grid a {
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 70px;
}

.region-grid a::before {
  content: "";
  position: absolute;
  left: 22px;
  width: 28px;
  height: 32px;
  border: 2px solid #5b6560;
  border-top: 0;
  box-shadow: inset 8px 0 0 transparent, inset -8px 0 0 transparent;
}

.region-grid a:nth-child(4)::before {
}

.region-grid b {
  font-size: 14px;
}

.region-grid span {
  margin-top: 4px;
  color: #68716d;
  font-size: 12px;
}

.geo-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.geo-map-card,
.geo-panel {
  min-height: 560px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.78);
}

.geo-map-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.geo-map-copy {
  position: relative;
  z-index: 4;
  max-width: 250px;
}

.geo-map-copy p,
.geo-panel-head p,
.geo-summary span {
  margin: 0 0 8px;
  color: #6a736f;
  font-size: 13px;
  font-weight: 700;
}

.geo-map-copy h2,
.geo-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.geo-map-copy span {
  display: block;
  margin-top: 16px;
  color: #6b7470;
  font-size: 14px;
  line-height: 1.45;
}

.geo-map-visual {
  position: absolute;
  inset: 0;
}

.geo-map-visual .portugal-map {
  background:
    radial-gradient(ellipse at 68% 39%, rgba(240, 233, 220, 0.95) 0 38%, transparent 38.6%),
    radial-gradient(ellipse at 57% 58%, rgba(242, 235, 222, 0.96) 0 26%, transparent 26.6%),
    radial-gradient(ellipse at 52% 77%, rgba(242, 235, 222, 0.96) 0 18%, transparent 18.6%),
    linear-gradient(90deg, #edf4f1 0 36%, #f5f1e8 36% 100%);
}

.geo-zone {
  position: absolute;
  z-index: 2;
  display: block;
  background: rgba(31, 121, 78, 0.18);
  filter: blur(0.2px);
  opacity: 0.42;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.zone-lisboa {
  left: 35%;
  top: 55%;
  width: 145px;
  height: 118px;
  background: rgba(31, 121, 78, 0.25);
}

.zone-porto {
  left: 48%;
  top: 11%;
  width: 112px;
  height: 90px;
}

.zone-setubal {
  left: 43%;
  top: 66%;
  width: 142px;
  height: 75px;
  background: rgba(31, 121, 78, 0.17);
}

.zone-centro {
  left: 45%;
  top: 31%;
  width: 130px;
  height: 120px;
  background: rgba(104, 143, 119, 0.14);
}

.zone-norte {
  left: 50%;
  top: 5%;
  width: 138px;
  height: 176px;
  background: rgba(104, 143, 119, 0.12);
}

.zone-algarve {
  left: 49%;
  top: 81%;
  width: 122px;
  height: 54px;
  background: rgba(31, 121, 78, 0.14);
}

.zone-madeira {
  left: 17%;
  top: 82%;
  width: 70px;
  height: 48px;
  background: rgba(31, 121, 78, 0.13);
}

.geo-cluster {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 7px rgba(31, 121, 78, 0.14);
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cluster-lisboa { left: 42%; top: 62%; }
.cluster-porto { left: 56%; top: 17%; }
.cluster-setubal { left: 49%; top: 70%; }
.cluster-centro { left: 55%; top: 39%; }
.cluster-norte { left: 64%; top: 9%; }
.cluster-algarve { left: 59%; top: 84%; }
.cluster-madeira { left: 22%; top: 84%; }

.geo-filter[data-active-region="lisboa"] .zone-lisboa,
.geo-filter[data-active-region="porto"] .zone-porto,
.geo-filter[data-active-region="setubal"] .zone-setubal,
.geo-filter[data-active-region="centro"] .zone-centro,
.geo-filter[data-active-region="norte"] .zone-norte,
.geo-filter[data-active-region="algarve"] .zone-algarve,
.geo-filter[data-active-region="madeira"] .zone-madeira {
  opacity: 1;
  transform: scale(1.04);
}

.geo-filter[data-active-region="lisboa"] .cluster-lisboa,
.geo-filter[data-active-region="porto"] .cluster-porto,
.geo-filter[data-active-region="setubal"] .cluster-setubal,
.geo-filter[data-active-region="centro"] .cluster-centro,
.geo-filter[data-active-region="norte"] .cluster-norte,
.geo-filter[data-active-region="algarve"] .cluster-algarve,
.geo-filter[data-active-region="madeira"] .cluster-madeira {
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(31, 121, 78, 0.18), 0 0 0 16px rgba(31, 121, 78, 0.08);
}

.geo-summary {
  position: absolute;
  z-index: 6;
  right: 28px;
  bottom: 28px;
  width: 190px;
  padding: 20px;
  border: 1px solid #dedbd0;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 16px 36px rgba(38, 45, 42, 0.08);
}

.geo-summary strong,
.geo-summary b,
.geo-summary a {
  display: block;
}

.geo-summary strong {
  margin-bottom: 18px;
  font-size: 18px;
}

.geo-summary b {
  color: var(--green);
  font-size: 35px;
  line-height: 1;
}

.geo-summary p {
  margin: 4px 0 24px;
  color: #6b7470;
  font-size: 13px;
}

.geo-summary a {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.geo-panel {
  padding: 24px;
}

.geo-panel-head {
  margin-bottom: 18px;
}

.geo-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin-bottom: 22px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.geo-search svg {
  width: 20px;
  height: 20px;
  stroke: #6d7672;
  stroke-width: 2;
  fill: none;
}

.geo-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.geo-search input::placeholder {
  color: #98a09c;
}

.geo-panel h3 {
  margin: 20px 0 12px;
  font-size: 15px;
}

.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-chips button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 700;
}

.market-chips button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.market-chips b,
.geo-locations b {
  color: var(--green);
  font-weight: 700;
}

.market-chips button.active b {
  color: #fff;
}

.geo-locations {
  overflow: visible;
  border: 0;
}

.geo-locations details {
  margin-bottom: 10px;
  border-bottom: 0;
  background: transparent;
}

.geo-locations details:last-child {
  border-bottom: 0;
}

.geo-locations summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.geo-locations summary::-webkit-details-marker {
  display: none;
}

.geo-locations summary::before {
  display: none;
}

.group-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
}

.group-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.7px solid #34403b;
  border-bottom: 1.7px solid #34403b;
  transform: rotate(-45deg);
}

.geo-locations details[open] .group-toggle::before {
  transform: rotate(45deg);
}

.group-toggle:hover {
  background: rgba(255, 255, 255, 0.72);
}

.group-option {
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  min-height: 34px;
  gap: 7px;
  padding: 5px 8px;
  background: transparent;
  font-weight: 700;
}

.geo-locations summary b {
  margin-left: auto;
}

.group-option b {
  margin-left: 0;
}

.geo-locations details div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 18px 16px 43px;
  color: #3e4844;
  font-size: 13px;
}

.geo-locations span {
  white-space: nowrap;
}

.geo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.geo-actions a {
  display: inline-flex;
  justify-content: center;
  min-width: 230px;
  padding: 17px 22px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.geo-actions button {
  color: var(--green);
  font-weight: 700;
}

.dev-grid a {
  justify-content: center;
  padding: 0 14px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: 8px;
  text-align: center;
}

.dev-grid .dev-logo-link {
  position: relative;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px 12px;
  letter-spacing: 0;
}

.dev-grid .dev-logo-link img {
  display: block;
  max-width: min(130px, 82%);
  max-height: 34px;
  object-fit: contain;
}

.dev-grid .dev-logo-link span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.dev-grid .dev-logo-link b {
  position: absolute;
  top: 8px;
  right: 10px;
  color: #6b7470;
  font-size: 11px;
  font-weight: 700;
}

.dev-grid .dev-all {
  letter-spacing: 0;
}

.dev-grid a:nth-child(2),
.dev-grid a:nth-child(5),
.dev-grid a:last-child {
  font-size: 14px;
  letter-spacing: 3px;
}

.dev-grid a:last-child {
  letter-spacing: 0;
}

.dev-grid .dev-logo-link {
  letter-spacing: 0;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  color: #69716e;
  font-size: 12px;
}

.article-page {
  padding: 42px 0 56px;
}

.api-docs {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.api-docs h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.api-docs details {
  border-top: 1px solid var(--line);
}

.api-docs details:last-child {
  border-bottom: 1px solid var(--line);
}

.api-docs summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--ink);
  font-weight: 700;
}

.api-docs details[open] summary {
  color: var(--green);
}

.api-docs pre {
  overflow-x: auto;
  margin: 12px 0 20px;
  padding: 14px 16px;
  background: var(--soft);
  color: #27302c;
  font-size: 13px;
  line-height: 1.45;
}

.api-docs code {
  font-size: 0.95em;
}

.api-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.api-page .article-layout {
  grid-template-columns: minmax(0, 1fr);
  width: min(1180px, 72vw);
  max-width: calc(100vw - 80px);
  margin-inline: auto;
}

.api-page .article-hero {
  width: min(1180px, 72vw);
  max-width: calc(100vw - 80px);
  margin-inline: auto;
}

.api-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.12);
}

.api-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.api-panel p {
  margin: 0;
}

.endpoint-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
  font-size: 14px;
}

.endpoint-table caption {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.endpoint-table th,
.endpoint-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.endpoint-table thead th {
  border-bottom: 2px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.endpoint-table tbody tr + tr td {
  padding-top: 18px;
}

.endpoint-table code {
  white-space: nowrap;
}

.code-sample {
  overflow: hidden;
  min-height: 104px;
  background: #050505;
  color: #fff;
}

.code-sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.copy-code {
  min-height: 30px;
  border: 0;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.api-docs .code-sample pre,
.code-sample pre {
  margin: 0;
  overflow-x: auto;
  padding: 0 18px 20px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre;
}

.api-response-sample {
  grid-column: 1 / -1;
}

.developers-page,
.developer-page {
  padding: 42px 0 62px;
}

.blog-page {
  padding: 42px 0 62px;
}

.blog-hero {
  max-width: 920px;
  padding-bottom: 32px;
}

.blog-hero h1 {
  margin-bottom: 15px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
}

.blog-hero p:last-child {
  color: #58615d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.blog-featured {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.blog-featured-card img,
.blog-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--soft);
}

.blog-featured-card img {
  aspect-ratio: 16 / 9;
}

.blog-featured-card span,
.blog-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.blog-featured-card h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
}

.blog-featured-card p {
  color: #56605c;
  font-size: 20px;
  line-height: 1.45;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 34px;
}

.blog-card {
  display: grid;
  align-content: start;
  gap: 13px;
}

.blog-card img {
  aspect-ratio: 4 / 3;
}

.blog-card span {
  margin: 4px 0 0;
}

.blog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.blog-card p {
  margin: 0;
  color: #66706c;
  font-size: 15px;
  line-height: 1.45;
}

.article-hero {
  width: min(980px, 100%);
  padding: 35px 0 28px;
}

.article-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.article-lead {
  max-width: 900px;
  margin-bottom: 24px;
  border-left: 4px solid var(--green);
  padding: 15px 0 16px 22px;
  background: linear-gradient(90deg, rgba(23, 114, 76, 0.08), rgba(255, 253, 250, 0));
  color: #35403c;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.48;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  color: #68706d;
  font-size: 14px;
  font-weight: 700;
}

.article-meta a,
.article-media a,
.source-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-media {
  margin: 0;
  padding: 0 0 28px;
}

.article-media img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 690px;
  object-fit: cover;
  background: var(--soft);
}

.article-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(300px, 45vw, 620px);
  background:
    linear-gradient(135deg, rgba(23, 114, 76, 0.12), rgba(238, 185, 68, 0.14)),
    linear-gradient(180deg, #f1efe8, #e3e8df);
  color: rgba(34, 41, 39, 0.72);
  font-size: clamp(34px, 6vw, 74px);
  font-weight: 700;
  text-align: center;
}

.article-media figcaption {
  margin-top: 11px;
  color: #6d7471;
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  padding-top: 8px;
}

.article-main {
  min-width: 0;
}

.article-body {
  color: #26302d;
  font-size: 19px;
  line-height: 1.72;
}

.article-body p {
  margin-bottom: 24px;
}

.article-sidebar {
  position: sticky;
  top: 24px;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 22px;
}

.article-sidebar h2 {
  margin-bottom: 17px;
  font-size: 22px;
}

.latest-news-list {
  display: grid;
  margin-bottom: 22px;
}

.latest-news-list a {
  display: grid;
  gap: 7px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.32;
}

.latest-news-list span {
  color: #6d7471;
  font-size: 12px;
  font-weight: 700;
}

.source-link {
  font-size: 14px;
  font-weight: 700;
}

.developer-list {
  max-width: 1140px;
}

.developer-list ul,
.developer-projects ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.developer-list li {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 18px;
  min-height: 0;
  padding: 8px 0;
  color: #69716e;
  font-size: 18px;
  font-weight: 750;
}

.developer-list-name {
  color: var(--ink);
  font-size: 24px;
}

.developer-list-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  min-width: 0;
  color: #6d7471;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.developer-project-link {
  color: #17724c;
  font-weight: 800;
}

a.developer-project-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.developer-project-link-inactive {
  color: #8a928e;
}

.developer-project-link-active {
  color: #17724c;
}

.developer-site-url {
  color: #17724c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.developer-list-more {
  color: #8b928f;
}

.developer-profile {
  max-width: 1240px;
}

.developer-profile-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 18px 0 42px;
  border-bottom: 1px solid var(--line);
}

.project-detail-page {
  padding: 18px 0 88px;
}

.project-detail {
  max-width: none;
}

.project-detail-page .article-hero {
  padding-top: 0;
}

.project-detail-page .article-hero .red-label {
  margin-top: 0;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.project-overview-intro h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 0.98;
  text-wrap: balance;
}

.project-overview-location {
  display: flex;
  gap: 8px 40px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.project-overview-location svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: 0 0 auto;
}

.project-available-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.project-available-indicator b {
  font-weight: 700;
}

.project-available-wheel {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background:
    radial-gradient(circle at center, #fff 0 46%, transparent 47%),
    conic-gradient(var(--green) calc(var(--available-percent, 0) * 1%), rgba(204, 35, 45, 0.22) 0);
  border-radius: 50%;
}

.project-intro {
  max-width: 58ch;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
}

.project-overview-panel {
  min-width: 0;
}

.project-tabs {
  display: flex;
  gap: 34px;
  align-items: center;
  margin: 0 0 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.project-tabs::-webkit-scrollbar {
  display: none;
}

.project-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.project-tabs a.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.project-section-frame {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.project-section-frame h2 {
  margin: 0 0 22px;
}

.project-location-access-grid {
  display: grid;
  grid-template-columns: minmax(420px, 600px) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.project-location-access .project-location-frame,
.project-location-access .project-location-map {
  min-height: 400px;
}

.project-location-access .project-location-frame {
  width: min(100%, 600px);
}

.project-access-panel {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}

.project-location-frame {
  position: relative;
  min-height: clamp(360px, 47vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dfe8e5;
}

.project-location-map {
  position: relative;
  min-height: clamp(360px, 47vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dfe8e5;
}

.project-location-frame .project-location-map {
  position: absolute;
  inset: 0;
  min-height: inherit;
  border: 0;
}

.project-location-map.empty-map {
  display: grid;
  place-items: center;
  color: #66706c;
  font-weight: 750;
}

.project-map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cfd0c8;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(39, 46, 43, 0.08);
}

.project-map-link:hover,
.project-map-link:focus {
  background: #fff;
  color: var(--green);
}

.project-facts {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 28px;
}

.project-fact-list {
  display: grid;
  gap: 13px;
  margin: 0;
  border-top: 0;
}

.project-fact-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
  gap: 18px;
  padding: 0;
  border-bottom: 0;
}

.project-fact-list dt,
.project-fact-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.project-fact-list dt {
  color: var(--ink);
}

.project-fact-list dd {
  color: var(--ink);
}

.project-fact-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.project-fact-list dd small {
  display: none;
}

.project-typologies {
  display: grid;
  gap: 14px;
}

.project-typologies h3 {
  margin: 0;
}

.project-source-note {
  margin: 0;
  color: rgba(5, 5, 5, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.typology-breakdown {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  background: #fff;
  font-size: 13px;
}

.typology-breakdown th,
.typology-breakdown td {
  padding: 7px 12px;
  text-align: left;
  line-height: 1.15;
  vertical-align: top;
}

.typology-breakdown thead th {
  color: #747c79;
  font-size: 12px;
  font-weight: 500;
}

.typology-breakdown tbody th {
  color: var(--ink);
  font-weight: 600;
}

.typology-breakdown tbody tr:last-child th,
.typology-breakdown tbody tr:last-child td {
  border-bottom: 0;
}

.typology-breakdown th:first-child,
.typology-breakdown td:first-child {
  padding-left: 0;
  width: 18%;
}

.typology-breakdown th:nth-child(2),
.typology-breakdown td:nth-child(2) {
  width: 18%;
}

.typology-breakdown th:last-child,
.typology-breakdown td:last-child {
  padding-right: 0;
  white-space: nowrap;
}


.project-available-units {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.project-available-units h2 {
  margin: 0 0 22px;
}

.available-units-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.available-units-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 13px;
}

.available-units-table th,
.available-units-table td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.2;
  transition: background 0.16s ease;
}

.available-units-table thead th {
  background: #f7f2ea;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.available-units-table tbody tr:last-child td {
  border-bottom: 0;
}

.available-units-table tbody tr:hover td,
.available-units-table tbody tr:focus-within td {
  background: rgba(0, 132, 61, 0.055);
}

.available-units-table td:nth-last-child(-n + 3) {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .available-units-table th,
  .available-units-table td {
    transition: none;
  }
}

.distance-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.distance-panel h3 {
  margin-bottom: 16px;
}

.distance-grid {
  display: grid;
  gap: 8px;
}

.distance-grid div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(140px, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 0;
  border-bottom: 0;
  color: #5e6864;
  line-height: 1.35;
}

.distance-panel strong {
  color: var(--ink);
  white-space: nowrap;
}

.distance-value {
  text-align: right;
}

.distance-place {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.distance-place:hover {
  color: var(--ink);
}


.school-panel h3 {
  margin-bottom: 16px;
}

.school-proximity-list {
  display: grid;
  gap: 8px;
}

.school-proximity-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
  color: #5e6864;
  line-height: 1.35;
}

.school-proximity-list strong {
  color: var(--ink);
}

.school-proximity-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.schools-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.schools-hero {
  margin-bottom: 34px;
}

.schools-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
}

.schools-hero p {
  max-width: 720px;
  margin: 0;
  color: #4f5a56;
  font-size: 18px;
  line-height: 1.55;
}

.school-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.school-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-filter {
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  color: #44504b;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.school-filter.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.school-empty {
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.school-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.school-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.school-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.school-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.school-card dl {
  display: grid;
  align-self: end;
  gap: 8px;
  margin: 0;
}

.school-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.school-card dt {
  color: var(--muted);
}

.school-card dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.school-links {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 12px;
}

.school-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--ink);
  opacity: 0.42;
}

.breadcrumbs a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--ink);
  opacity: 0.72;
}

main:has(> .breadcrumbs) {
  padding-top: 0;
}

.project-press {
  margin-top: 32px;
  padding-top: 28px;
}

.project-hero-media {
  margin: 26px 0 28px;
  overflow: hidden;
  background: #f0eee8;
  aspect-ratio: 16 / 7;
}

.project-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-project-content {
  display: grid;
  gap: 34px;
  margin: 34px 0 42px;
  padding: 34px 0;
  border-top: 0;
  border-bottom: 0;
}

.official-project-content h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.official-project-summary p {
  max-width: 880px;
  margin: 0;
  color: #35413d;
  font-size: 16px;
  line-height: 1.58;
}

.official-carousel {
  position: relative;
}

.official-project-gallery {
  margin-top: 32px;
}

.construction-progress-date {
  margin: -18px 0 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.official-gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 0 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.official-plan-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 0 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.official-gallery-grid::-webkit-scrollbar,
.official-plan-grid::-webkit-scrollbar {
  display: none;
}

.official-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(5, 5, 5, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(21, 25, 23, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.official-carousel-btn:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.official-carousel-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.official-carousel-prev {
  left: 12px;
}

.official-carousel-next {
  right: 12px;
}

.official-gallery-grid figure,
.official-plan-grid figure {
  margin: 0;
  overflow: hidden;
  background: #f0eee8;
}

.official-gallery-grid figure {
  flex: 0 0 min(78%, 520px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

.official-plan-grid figure {
  flex: 0 0 min(78%, 520px);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.official-gallery-grid img,
.official-plan-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-gallery-grid img {
  cursor: zoom-in;
}

.official-gallery-grid img:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.official-plan-grid img {
  object-fit: contain;
  background: #fffdfa;
}


.has-gallery-lightbox {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 32px 72px;
  background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox figure {
  display: grid;
  gap: 12px;
  max-width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 128px);
  object-fit: contain;
  background: #050505;
}

.gallery-lightbox figcaption {
  min-height: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.gallery-lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox button:hover,
.gallery-lightbox button:focus-visible {
  background: #fff;
  color: #050505;
}

.gallery-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

.gallery-lightbox-nav:disabled {
  display: none;
}

.floorplan-link {
  white-space: nowrap;
}

.pdf-lightbox {
  padding: 32px;
}

.pdf-lightbox-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1040px, 100%);
  height: min(82vh, 900px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.pdf-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.pdf-lightbox-toolbar strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .pdf-lightbox-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body .pdf-lightbox-download:hover,
body .pdf-lightbox-download:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pdf-lightbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f4f4;
}


@media (max-width: 700px) {
  .gallery-lightbox {
    padding: 58px 14px 24px;
  }

  .gallery-lightbox img {
    max-height: calc(100vh - 132px);
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox-nav {
    width: 42px;
    height: 58px;
    font-size: 34px;
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .pdf-lightbox {
    padding: 58px 10px 14px;
  }

  .pdf-lightbox-panel {
    height: calc(100vh - 72px);
  }

  .pdf-lightbox-toolbar {
    align-items: flex-start;
    padding: 12px;
  }

  .pdf-lightbox-toolbar strong {
    white-space: normal;
  }
}

.official-plan-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.official-plan-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.official-plan-table th,
.official-plan-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.official-plan-table thead th {
  background: #f7f2ea;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.official-plan-table tbody tr:last-child td {
  border-bottom: 0;
}

.official-project-documents ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.official-project-documents {
  margin-top: 22px;
  padding-top: 32px;
}

.official-project-documents a {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #fffdfa;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.official-project-documents a:hover {
  border-color: var(--green);
  color: var(--green);
}

.project-press h2 {
  margin-bottom: 24px;
}

.project-press-list {
  display: grid;
  gap: 16px;
}

.project-press-card {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.project-press-card:last-child {
  border-bottom: 0;
}

.project-press-card:not(:has(.project-press-image)) {
  grid-template-columns: 1fr;
}

.project-press-image {
  display: block;
  overflow: hidden;
  background: #f0eee8;
  aspect-ratio: 4 / 3;
}

.project-press-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

a.project-press-image:hover img {
  transform: scale(1.03);
}

.project-press-card header {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.project-press-card h4 {
  margin: 0;
}

.project-press-card p {
  margin: 0 0 10px;
  color: #35413d;
  font-size: 16px;
  line-height: 1.58;
}

.project-press-card header p {
  color: #747c79;
  font-size: 13px;
  font-weight: 750;
}

.project-press-card .press-facts {
  color: var(--ink);
  font-weight: 750;
}

.press-facts span {
  color: #747c79;
  font-size: 12px;
}

.developer-logo {
  display: grid;
  place-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 126px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.82);
  color: var(--green);
  font-size: 48px;
  font-weight: 700;
}

.developer-logo img {
  display: block;
  max-width: 140px;
  max-height: 92px;
  object-fit: contain;
}

.developer-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 126px;
}

.developer-related-row {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 18px;
}

.developer-related-label {
  color: #626d68;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.developer-company-value {
  color: #626d68;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.developer-company-value a {
  color: #17724c;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.developer-related-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.developer-description {
  color: #424c48;
  font-size: 19px;
  line-height: 1.58;
}

.developer-description p {
  margin: 0;
}

.developer-description p + p {
  margin-top: 14px;
}

.developer-about {
  padding-top: 36px;
}

.developer-about h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.developer-projects {
  padding-top: 34px;
}

.developer-press {
  padding-top: 42px;
}

.developer-projects h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.developer-projects li {
  min-height: 50px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 750;
}

.developer-projects li:last-child {
  border-bottom: 1px solid var(--line);
}

.developer-projects a,
.developer-projects span {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.footer-top,
.footer-bottom {
  display: grid;
  align-items: center;
  gap: 24px;
}

.footer-top {
  grid-template-columns: auto 1fr auto auto;
  min-height: 65px;
}

.brand.small {
  color: var(--ink);
}

.brand.small img {
  width: 112px;
}

.footer-top p,
.footer-bottom span {
  margin: 0;
}

.footer-top nav {
  display: flex;
  gap: 54px;
  color: #424b47;
}

.footer-bottom {
  grid-template-columns: 1fr auto auto;
  min-height: 44px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1300px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 1120px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 22px;
    height: auto;
    padding-block: 22px;
  }

  .nav,
  .header-actions {
    justify-content: flex-start;
  }

  .radar-grid {
    grid-template-columns: 1fr;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  }

  .macro-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 190px 1fr;
    padding-block: 20px 28px;
  }

  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dev-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-sidebar {
    position: static;
  }

  .quick-filters {
    flex-wrap: wrap;
  }

  .view-switch {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 680px);
  }

  .brand img {
    width: 145px;
  }

  .nav,
  .header-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .nav a {
    padding-block: 6px;
  }

  .nav .active::after {
    bottom: 0;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .outline-btn {
    padding: 12px 17px;
  }

  .lead {
    font-size: 16px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .stats div {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .workspace {
    min-height: 0;
    row-gap: 24px;
  }

  .macro-regions {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 24px 0 32px;
  }

  .macro-region-main {
    gap: 10px;
  }

  .macro-region-media {
    min-height: 104px;
  }

  .macro-region-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
  }

  .macro-region-main span,
  .macro-region-main b {
    font-size: 18px;
  }

  .projects-heading h1 {
    white-space: normal;
  }

  .geo-filter {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 0;
  }

  .filters {
    padding: 24px 0 10px;
  }

  .region-popover {
    position: fixed;
    inset: 0;
    width: auto;
    height: 100dvh;
    max-height: none;
    padding: 18px 16px 92px;
    border: 0;
  }

  .region-apply {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 22px;
    border: 0;
    background: var(--green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(23, 114, 76, 0.28);
  }

  .geo-map-card,
  .geo-panel {
    min-height: 0;
  }

  .geo-map-card {
    min-height: 520px;
    padding: 22px;
  }

  .geo-summary {
    left: 22px;
    right: auto;
    bottom: 22px;
  }

  .geo-panel {
    padding: 18px;
  }

  .filter-grid,
  .api-overview,
  .featured-news,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .filter-grid {
    gap: 28px;
  }

  .price-filter,
  .distance-filter-row {
    grid-column: auto;
  }

  .distance-filter-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .api-page .article-layout,
  .api-page .article-hero {
    width: min(100%, calc(100vw - 24px));
    max-width: min(100%, calc(100vw - 24px));
  }

  .filters fieldset {
    padding: 0;
    border: 0;
  }

  .endpoint-table,
  .endpoint-table thead,
  .endpoint-table tbody,
  .endpoint-table tr,
  .endpoint-table th,
  .endpoint-table td {
    display: block;
  }

  .endpoint-table thead {
    display: none;
  }

  .endpoint-table td {
    padding: 6px 0;
  }

  .endpoint-table tbody tr + tr td {
    padding-top: 6px;
  }

  .endpoint-table tbody tr {
    padding: 16px 0;
  }

  .quick-filters > button,
  .view-switch,
  .view-switch button {
    width: 100%;
  }

  .view-switch {
    display: grid;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 22px 30px;
  }

  .thumb {
    min-height: 160px;
  }

  .project-card dl {
    grid-template-columns: 1fr;
  }

.developer-profile-grid {
    grid-template-columns: 1fr;
  }

  .developer-logo {
    width: 100%;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-media {
    aspect-ratio: 4 / 3;
  }

  .official-gallery-grid,
  .official-plan-grid,
  .official-project-documents ul {
    grid-template-columns: 1fr;
  }

  .official-project-summary p {
    font-size: 16px;
  }

  .official-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .official-carousel-prev {
    left: 8px;
  }

  .official-carousel-next {
    right: 8px;
  }

  .distance-grid div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .distance-value {
    text-align: left;
  }

  .project-press-card {
    grid-template-columns: 1fr;
  }

  .project-press-image {
    max-height: 260px;
  }

  .project-location-map {
    min-height: 360px;
  }

  .project-fact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .developer-list li {
    align-items: flex-start;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
  }

  .developer-list-projects,
  .developer-related-projects {
    gap: 4px 10px;
  }

  .developer-related-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .developer-related-label {
    white-space: normal;
  }

  .news-list article {
    grid-template-columns: 34px 1fr;
  }

  .news-list span,
  .news-list button {
    margin-left: 55px;
  }

  .news-list span,
  .tag-row span {
    max-width: calc(100% - 55px);
    height: auto;
    white-space: normal;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .dev-grid {
    grid-template-columns: repeat(6, minmax(118px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .market-chips {
    display: grid;
  }

  .market-chips button,
  .geo-actions,
  .geo-actions a {
    width: 100%;
  }

  .geo-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .article-page {
    padding-top: 28px;
  }

  .article-hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .article-body {
    font-size: 17px;
  }

  .blog-page {
    padding-top: 28px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-top nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

.footer-single {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  color: #69716e;
  font-size: 12px;
}

.footer-single .brand {
  justify-self: start;
}

.footer-single span {
  justify-self: center;
  text-align: center;
}

.footer-single .footer-links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.footer-single .footer-links a {
  color: #69716e;
  font-weight: 700;
}

@media (max-width: 760px) {
  .footer-single {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .footer-single span,
  .footer-single .footer-links {
    justify-self: start;
    text-align: left;
  }

  .footer-single .footer-links {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

body,
.lead,
.muted,
.langs,
.footer-single,
.footer-single .footer-links a,
.filters,
.filters label,
.filters legend,
.select-label,
.region-trigger,
.projects-toolbar,
.project-card,
.news-list p,
.news-main p,
.article-body,
.article-body p,
.article-meta,
.blog-card p,
.latest-news-list span,
.legend {
  color: var(--ink);
}

.site-header,
.workspace,
.filters fieldset,
.region-trigger,
.region-popover,
.geo-search,
.geo-locations-picker details,
.geo-locations-picker a,
.location-reset,
.projects-toolbar button,
.project-card,
.typology-list div,
.featured-news,
.news-list article,
.blog-card,
.latest-news-list a,
.article-sidebar,
.site-footer {
  border-color: var(--line);
}

.filters,
.region-popover,
.geo-search,
.geo-locations-picker details,
.geo-locations-picker a,
.location-reset,
.projects-toolbar button,
.blog-card,
.latest-news-list a,
.article-sidebar,
.footer-single {
  background: #fff;
}

.badge,
.news-list span,
.tag-row span {
  background: #fff;
  border: 1px solid var(--green);
  color: var(--green);
}

.badge.yellow,
.news-list .yellow,
.news-list .blue {
  background: #fff;
  border-color: var(--green);
  color: var(--green);
}

.news-list .red,
.red-label {
  background: #fff;
  border-color: var(--red);
  color: var(--red);
}

body a[href] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body .nav a.active,
body .brand,
body .project-tabs a,
body a.thumb,
body a.project-press-image,
body .source-icon {
  text-decoration: none;
}

body .nav a.active::after {
  content: none;
}

.project-facts,
.project-facts p,
.project-facts span,
.project-facts strong,
.project-facts dt,
.project-facts dd,
.project-facts th,
.project-facts td,
.project-facts div,
.project-facts li {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.project-facts .project-source-note,
.project-facts .project-source-note span,
.project-facts .project-source-note strong,
.project-facts .distance-place,
.project-facts .school-proximity-list div,
.project-facts .school-proximity-list strong,
.project-facts .typology-breakdown,
.project-facts .typology-breakdown th,
.project-facts .typology-breakdown td {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.project-facts .source-link {
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.project-facts .project-fact-list div {
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
}

.project-facts > section {
  display: grid;
  gap: 14px;
}

.project-facts > section h3 {
  margin: 0;
}

.project-facts .project-fact-list dt {
  white-space: nowrap;
}



.projects-heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #626b67;
  font-size: 16px;
  line-height: 1.45;
}

.projects-listing {
  margin-top: 30px;
}

.projects-top-filters {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 41, 35, 0.06);
}

.projects-filter-grid {
  grid-template-columns: minmax(210px, 1.08fr) minmax(160px, 0.72fr) minmax(142px, 0.8fr) minmax(150px, 0.82fr) minmax(130px, 0.66fr) minmax(100px, 0.46fr) minmax(100px, 0.46fr) minmax(100px, 0.46fr);
  gap: 16px;
  align-items: start;
}

.projects-filter-grid .unit-type-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(54px, 1fr));
  max-width: 160px;
  transform: translateX(10px);
}

.projects-filter-grid .unit-type-filter legend {
  grid-column: 1 / -1;
}

.projects-filter-grid .unit-type-filter label {
  margin-right: 0;
}

.projects-filter-grid .property-type-filter {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
}

.projects-filter-grid .price-filter {
  grid-column: auto;
}

.projects-filter-grid fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.projects-filter-grid legend,
.projects-filter-grid .select-label {
  margin-bottom: 8px;
  color: #68716d;
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.projects-filter-grid label {
  margin: 0 12px 7px 0;
  font-size: 13px;
  line-height: 1.2;
}

.projects-filter-grid .range-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 11px;
}

.projects-page .projects-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  margin-top: 20px;
  gap: 18px;
}

.projects-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 14px;
  margin-left: 0;
}

.projects-view-switch {
  margin-left: 0;
  border: 0;
  gap: 10px;
  background: transparent;
}

.projects-view-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  flex: 0 0 32px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #68716d;
}

.projects-view-switch button.active,
.projects-view-switch button:hover {
  color: var(--ink);
}

.projects-view-switch svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.projects-view-switch [data-project-view="grid"] svg {
  stroke-width: 1.5;
}

.projects-page .projects-toolbar [data-project-count-label] {
  font-size: 14px;
  font-weight: 650;
}

.projects-page .projects-sort-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.projects-sort-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  color: var(--ink);
}

.projects-sort-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-sort-select select {
  width: auto;
  height: 32px;
  margin-top: 0;
  padding: 0 18px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}



.projects-page .projects.projects-list {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.projects-page .project-list-card {
  grid-template-columns: minmax(100px, 135px) minmax(160px, 0.72fr) minmax(320px, 1.36fr) minmax(126px, 0.46fr) minmax(126px, 0.46fr);
  align-items: stretch;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 28px rgba(31, 41, 35, 0.05);
}

.projects-page .project-list-card:hover {
  background: #fff;
  border-color: rgba(0, 132, 61, 0.32);
  box-shadow: 0 18px 34px rgba(31, 41, 35, 0.08);
}

.projects-page .project-list-card .thumb {
  justify-self: center;
  align-self: start;
  width: 90%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
}

.projects-page .project-list-card .project-main {
  align-content: start;
  gap: 10px;
}

.projects-page .project-list-card .card-title h3 {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.02;
}

.projects-page .project-list-typologies {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding-inline: 20px 120px;
}

.projects-page .project-list-typologies > span,
.projects-page .project-list-metrics dt {
  color: #68716d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.projects-page .project-list-card .typology-list {
  gap: 2px;
  margin: 0;
  padding: 0;
}

.projects-page .project-list-card .typology-list div {
  grid-template-columns: 32px minmax(86px, 1fr) minmax(70px, 0.7fr) 26px;
  gap: 6px;
  min-height: 19px;
  font-size: 12px;
  line-height: 1.05;
}

.projects-page .project-list-card .typology-list span:last-child {
  color: #68716d;
  text-align: right;
}

.projects-page .project-list-metrics {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  margin: 0;
}

.projects-page .project-list-metrics div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.projects-page .project-list-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.15;
}

@media (max-width: 1180px) {
  .projects-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-page .project-list-card {
    grid-template-columns: 135px minmax(0, 1fr);
  }

  .projects-page .project-list-card .project-list-typologies,
  .projects-page .project-list-card .project-list-metrics {
    grid-column: 2;
  }

  .projects-filter-grid .unit-type-filter,
  .projects-filter-grid .price-filter {
    transform: none;
  }
}

@media (max-width: 760px) {
  .projects-top-filters {
    padding: 18px;
  }

  .projects-filter-grid {
    grid-template-columns: 1fr;
  }

  .projects-toolbar {
    align-items: stretch;
  }

  .projects-toolbar-actions {
    display: grid;
    width: 100%;
    margin-left: 0;
  }

  .projects-page .projects-sort-buttons {
    display: flex;
    width: 100%;
    margin-left: 0;
  }

  .projects-page .projects-sort-buttons button {
    flex: 1;
  }


  .projects-page .project-list-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .projects-page .project-list-card .thumb {
    min-height: 180px;
  }

  .projects-page .project-list-card .project-list-typologies,
  .projects-page .project-list-card .project-list-metrics {
    grid-column: auto;
  }

  .projects-page .project-list-typologies {
    padding-inline: 0;
  }

  .projects-page .project-list-card .typology-list div,
  .projects-page .project-list-metrics {
    grid-template-columns: 1fr;
  }

  .projects-page .project-list-card .typology-list span:last-child {
    text-align: left;
  }
}


.projects-top-filters .region-popover {
  top: calc(100% + 8px);
  width: min(50vw, calc(100vw - 48px));
  max-height: min(520px, calc(100vh - 148px));
  padding: 10px;
}

.projects-top-filters .location-reset {
  justify-content: flex-start;
  width: auto;
  min-height: 34px;
  gap: 7px;
  padding: 7px 12px;
}

.projects-top-filters .geo-locations-picker details {
  padding: 2px 0;
}

.projects-top-filters .geo-locations-picker details div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 5px;
  padding-left: 8px;
}

.projects-top-filters .geo-locations-picker summary {
  min-height: 28px;
}

.projects-top-filters .geo-locations-picker a,
.projects-top-filters .group-option {
  justify-content: flex-start;
  min-height: 26px;
  padding: 3px 7px;
  font-size: 12px;
  line-height: 1.1;
}

.projects-top-filters .group-toggle {
  min-height: 26px;
}

@media (max-width: 760px) {
  .projects-top-filters .region-popover {
    top: auto;
    width: auto;
    max-height: none;
    padding: 16px 14px 86px;
  }
}


@media (max-width: 760px) {
  .workspace {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .workspace .filters {
    order: 1;
    padding: 18px 0 4px;
  }

  .workspace .map-panel {
    order: 2;
    aspect-ratio: auto;
    height: clamp(238px, 68vw, 320px);
    min-height: 0;
  }

  .workspace .filters-head {
    margin-bottom: 18px;
  }

  .workspace .filters > .filter-grid {
    row-gap: 20px;
  }

  .workspace .price-inputs {
    gap: 10px;
    margin-bottom: 10px;
  }

  .workspace .distance-filter-row {
    gap: 18px;
  }

  .workspace .legend {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
}


.nearby-projects {
  margin-top: 42px;
  padding-top: 32px;
}

.nearby-projects h2 {
  margin: 0 0 24px;
}

.nearby-project-grid {
  margin-top: 0;
  gap: 34px 36px;
}

.nearby-project-card {
  padding-top: 0;
}

.nearby-project-card .thumb {
  background-color: #f7f6f1;
}

.nearby-project-card .card-title h3 {
  font-size: 20px;
}

.nearby-project-card .completion-badge {
  min-width: 0;
  min-height: 25px;
  padding-inline: 8px;
}

@media (max-width: 1180px) {
  .nearby-project-grid {
    grid-template-columns: 1fr;
  }

  .nearby-project-card {
    grid-template-columns: 190px 1fr;
  }
}

@media (max-width: 760px) {
  .nearby-projects {
    margin-top: 34px;
    padding-top: 26px;
  }

  .nearby-project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .projects-page .projects-view-switch {
    display: none;
  }
}

@media (max-width: 700px) {
  .project-detail-page {
    padding-top: 12px;
  }
}


.projects-map-workspace {
  margin-top: 18px;
}

.projects-map-workspace[hidden] {
  display: none;
}

.projects-map-workspace .projects-top-filters {
  height: 100%;
  padding: 22px;
}

.projects-map-workspace .projects-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projects-map-workspace .region-filter,
.projects-map-workspace .price-filter {
  grid-column: 1 / -1;
}

.projects-map-workspace .projects-filter-grid .unit-type-filter,
.projects-map-workspace .projects-filter-grid .price-filter {
  transform: none;
}

.projects-map-workspace .projects-filter-grid .unit-type-filter {
  max-width: none;
}

.projects-map-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  margin-inline: auto;
  padding: 0 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(35deg, rgba(0, 132, 61, 0.09) 0 16%, transparent 16% 42%, rgba(199, 32, 47, 0.08) 42% 56%, transparent 56%),
    #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.projects-map-toggle:hover,
.projects-map-toggle[aria-expanded="true"] {
  border-color: var(--green);
}

.map-toggle-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .projects-map-workspace .projects-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .projects-toolbar {
    align-items: stretch;
  }

  .projects-map-toggle {
    width: 100%;
    order: 2;
  }

  .projects-toolbar-actions {
    order: 3;
  }

  .projects-map-workspace .projects-filter-grid {
    grid-template-columns: 1fr;
  }
}


/* Projects toolbar center override */
.projects-page .projects-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
}

.projects-page .projects-toolbar [data-project-count-label] {
  justify-self: start;
}

.projects-page .projects-map-toggle {
  justify-self: center;
}

.projects-page .projects-toolbar-actions {
  justify-self: end;
  margin-left: 0;
}

@media (max-width: 760px) {
  .projects-page .projects-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .projects-page .projects-map-toggle {
    width: 100%;
  }

  .projects-page .projects-toolbar-actions {
    justify-self: auto;
  }
}


.cities-region-nav {
  margin-top: 30px;
  margin-bottom: 34px;
}

.cities-region-nav-region {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cities-region-nav .macro-region-main,
.cities-region-nav .macro-region-media {
  text-decoration: none;
}

.cities-region-nav .macro-region-cities a {
  font-size: 14px;
  font-weight: 400;
}


.cities-region-nav .macro-region-main {
  align-items: center;
  gap: 9px;
}

.cities-region-nav .macro-region-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile header language and project list compact layout */
@media (max-width: 760px) {
  .site-header {
    position: relative;
  }

  .site-header .brand {
    padding-right: 86px;
  }

  .site-header .header-actions {
    position: absolute;
    top: 28px;
    right: 0;
    width: auto;
    margin: 0;
    justify-content: flex-end;
    z-index: 60;
  }

  .site-header .langs,
  .site-header .lang-menu {
    margin: 0;
  }

  .site-header .lang-menu summary {
    min-height: 36px;
  }

  .site-header .lang-options {
    left: auto;
    right: 0;
    width: 100%;
    min-width: 100%;
  }

  .projects-page .project-list-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(104px, 0.78fr);
    gap: 14px 18px;
  }

  .projects-page .project-list-card .thumb,
  .projects-page .project-list-card .project-main {
    grid-column: 1 / -1;
  }

  .projects-page .project-list-card .project-list-typologies {
    grid-column: 1;
    grid-row: 3 / span 2;
    padding-inline: 0;
  }

  .projects-page .project-list-card .project-list-facts {
    grid-column: 2;
    grid-row: 3;
  }

  .projects-page .project-list-card .project-list-distances {
    grid-column: 2;
    grid-row: 4;
  }

  .projects-page .project-list-card .typology-list div {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 3px 8px;
    min-height: 0;
    font-size: 12px;
    line-height: 1.18;
  }

  .projects-page .project-list-card .typology-list div span:nth-child(3),
  .projects-page .project-list-card .typology-list div span:nth-child(4) {
    grid-column: 2;
  }

  .projects-page .project-list-card .typology-list span:last-child {
    text-align: left;
  }

  .projects-page .project-list-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .projects-page .project-list-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .projects-page .project-list-metrics dd {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .projects-page .project-list-card .project-list-typologies {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .projects-page .project-list-card .typology-list div {
    grid-template-columns: 34px minmax(94px, 1fr) minmax(72px, 0.74fr) 32px;
    gap: 6px;
    align-items: baseline;
  }

  .projects-page .project-list-card .typology-list div span:nth-child(3),
  .projects-page .project-list-card .typology-list div span:nth-child(4) {
    grid-column: auto;
  }

  .projects-page .project-list-card .typology-list span:last-child {
    text-align: right;
  }

  .projects-page .project-list-card .project-list-facts {
    display: none;
  }

  .projects-page .project-list-card .project-list-distances {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .projects-page .project-list-card .project-list-distances.project-list-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .projects-page .project-list-card .project-list-distances div {
    gap: 2px;
  }
}

/* News article sidebar line cleanup */
.article-sidebar {
  border-top: 0;
  border-bottom: 0;
}

.latest-news-list a {
  border-bottom: 0;
}

@media (max-width: 1180px) {
  .project-overview {
    grid-template-columns: 1fr 1fr;
  }

  .project-overview-intro {
    grid-column: 1 / -1;
  }

  .project-location-access-grid {
    grid-template-columns: 1fr;
  }

  .project-location-access .project-location-frame {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .project-overview {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-overview-intro {
    grid-column: auto;
  }

  .project-overview-intro h1 {
    font-size: 42px;
  }

  .project-overview-location {
    gap: 8px 18px;
  }

  .project-tabs {
    gap: 26px;
    margin-bottom: 24px;
  }

  .project-section-frame {
    padding: 18px;
  }

  .project-location-access .project-location-frame,
  .project-location-access .project-location-map {
    min-height: 360px;
  }
}
