        :root {
            --gris: #f4f4f1;
        }

        * { box-sizing: border-box; }
        body {
            margin: 0;
            background: var(--blanco);
            color: var(--negro);
            font-family: var(--body);
            font-weight: 500;
        }
        a { color: inherit; text-decoration: none; }
        button { font: inherit; }

        .container {
            width: min(100% - 2rem, 1280px);
            margin: auto;
        }

        .places {
            padding: 0 0 80px;
        }
        .places-toolbar {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: clamp(14px, 2.5vw, 24px);
            width: 100%;
            border-bottom: 0;
            padding-bottom: 0;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .places-toolbar-filters {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1 1 auto;
        }
        .places-toolbar-filter-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            padding: 0;
            border: 0;
            background: transparent;
            color: var(--negro);
            pointer-events: none;
        }
        .places-toolbar-filter-icon svg {
            width: 24px;
            height: 24px;
            display: block;
        }
        .places-filters {
            width: auto;
            margin-left: 0;
            border: 0;
            background: var(--gris);
            padding: 11px clamp(18px, 2.8vw, 28px);
            display: flex;
            align-items: center;
            gap: clamp(18px, 3vw, 34px);
            flex-wrap: wrap;
            border-radius: 999px;
        }
        .places-filters-title {
            display: none;
        }
        .places-filters-grid {
            display: flex;
            flex-wrap: wrap;
            gap: clamp(18px, 3vw, 34px);
            align-items: center;
        }
        .places-filter-field {
            position: relative;
            display: inline-flex;
            align-items: center;
            min-width: 0;
        }
        .places-filter-trigger {
            border: 0;
            background: transparent;
            color: inherit;
            font: inherit;
            padding: 0;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            min-width: 0;
        }
        .places-filter-trigger-label {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: clamp(.92rem, 1.2vw, 1rem);
            font-weight: 500;
            letter-spacing: 0;
            text-transform: none;
            white-space: nowrap;
            color: rgba(0, 0, 0, .58);
        }
        .places-filter-trigger-label strong {
            font-weight: 700;
            color: var(--negro);
        }
        .places-filter-trigger-label span[data-filter-value] {
            font-weight: 500;
            color: rgba(0, 0, 0, .58);
            max-width: 18ch;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .places-filter-chevron {
            width: 14px;
            height: 14px;
            margin-left: 2px;
            color: rgba(0, 0, 0, .45);
            flex-shrink: 0;
            transition: transform .15s ease;
        }
        .places-filter-dropdown.is-open .places-filter-chevron {
            transform: rotate(180deg);
        }
        .places-filter-menu {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            z-index: 30;
            min-width: min(280px, 78vw);
            max-height: min(320px, 50vh);
            overflow: auto;
            margin: 0;
            padding: 8px;
            list-style: none;
            background: var(--blanco);
            border: 1px solid rgba(0, 0, 0, .12);
            border-radius: 14px;
            box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
        }
        .places-filter-menu[hidden] {
            display: none;
        }
        .places-filter-option {
            margin: 0;
        }
        .places-filter-option label {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 10px;
            border-radius: 8px;
            cursor: pointer;
            font-size: .92rem;
            font-weight: 500;
            color: var(--negro);
            pointer-events: auto;
        }
        .places-filter-option label:hover {
            background: rgba(0, 0, 0, .04);
        }
        .places-filter-option input {
            width: 16px;
            height: 16px;
            margin: 0;
            flex-shrink: 0;
            accent-color: var(--negro);
        }
        .places-filter-option--all {
            border-bottom: 1px solid rgba(0, 0, 0, .1);
            margin-bottom: 4px;
            padding-bottom: 4px;
        }
        .places-filter-option--all label {
            font-weight: 700;
        }
        .places-filter-empty {
            border: 1px solid var(--negro);
            background: var(--gris);
            padding: 28px 20px;
            text-align: center;
            margin-bottom: 28px;
        }
        .places-filter-empty[hidden] {
            display: none;
        }
        .places-filter-empty p {
            margin: 0;
            font-weight: 600;
        }
        [data-space-item].is-filter-hidden {
            display: none !important;
        }
        .view-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            width: auto;
            margin-left: auto;
            justify-content: flex-end;
        }
        .view-tab {
            border: 1px solid rgba(0, 0, 0, .12);
            background: var(--blanco);
            padding: 10px 18px;
            cursor: pointer;
            font-weight: 500;
            font-size: clamp(.88rem, 1.1vw, .98rem);
            text-transform: none;
            white-space: nowrap;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: rgba(0, 0, 0, .48);
            transition: background-color .15s ease, color .15s ease, border-color .15s ease;
        }
        .view-tab svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            display: block;
        }
        .view-tab.is-active {
            background: var(--gris);
            color: var(--negro);
            border-color: transparent;
            font-weight: 700;
        }
        .view-tab:hover:not(.is-active) {
            border-color: rgba(0, 0, 0, .22);
            color: rgba(0, 0, 0, .72);
        }
        .view-tab--compact {
            padding-inline: 14px;
        }
        .view-panel { display: none; }
        .view-panel.is-active { display: block; }

        .places-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
            gap: 18px;
        }
        .place-card {
            border: 1px solid var(--negro);
            background: var(--blanco);
            display: flex;
            flex-direction: column;
            min-width: 0;
            overflow: hidden;
        }
        .place-card-header {
            min-height: 140px;
            padding: 22px;
            display: flex;
            align-items: end;
            background: var(--rosa);
            border-bottom: 1px solid var(--negro);
            min-width: 0;
        }
        .place-card:nth-child(3n+2) .place-card-header { background: var(--coral); }
        .place-card:nth-child(3n+3) .place-card-header { background: var(--magenta); }
        .place-card h2 {
            margin: 0;
            font-family: var(--display);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 900;
            line-height: 1;
            letter-spacing: -.045em;
            text-transform: uppercase;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .place-card h2 a:hover {
            text-decoration: underline;
            text-underline-offset: 4px;
        }
        .place-card-body {
            padding: 20px 22px 24px;
            display: grid;
            gap: 14px;
            min-width: 0;
        }
        .place-address {
            margin: 0;
            font-weight: 700;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .place-bio {
            margin: 0;
            color: rgba(0, 0, 0, .72);
            line-height: 1.55;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .place-facts {
            display: grid;
            gap: 8px;
            padding-top: 14px;
            border-top: 1px solid rgba(0, 0, 0, .18);
            font-size: .9rem;
            min-width: 0;
        }
        .place-facts p {
            margin: 0;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .place-facts .place-fact-access {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .place-facts .espacio-isa-badge {
            width: 12px;
            height: 12px;
        }
        .place-facts .espacio-isa-badge svg {
            width: 12px;
            height: 12px;
        }
        .place-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 30px;
        }
        .place-links a {
            width: 40px;
            height: 40px;
            border: 1px solid var(--negro);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--negro);
            background: var(--blanco);
        }
        .place-links a:hover {
            background: var(--negro);
            color: var(--blanco);
        }
        .place-links svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
            display: block;
        }
        .place-links a[title] {
            position: relative;
        }
        .show-on-map {
            width: 100%;
            border: 0;
            background: var(--negro);
            color: var(--blanco);
            padding: 11px 14px;
            cursor: pointer;
            font-weight: 700;
            text-transform: uppercase;
        }
        .show-on-map:hover { background: var(--coral); color: var(--negro); }
        .place-actions {
            display: grid;
            gap: 8px;
            margin-top: 4px;
        }
        .programme-toggle {
            width: 100%;
            border: 1px solid var(--negro);
            background: var(--blanco);
            color: var(--negro);
            padding: 11px 14px;
            cursor: pointer;
            font-weight: 700;
            text-transform: uppercase;
        }
        .programme-toggle:hover {
            background: var(--magenta);
            color: var(--blanco);
            border-color: var(--magenta);
        }
        .programme-toggle.is-saved {
            background: var(--coral);
            border-color: var(--coral);
            color: var(--negro);
        }
        .programme-toggle.is-saved:hover {
            background: var(--negro);
            border-color: var(--negro);
            color: var(--blanco);
        }

        .map-shell {
            position: relative;
            border: 1px solid var(--negro);
            background: var(--gris);
        }
        #spaces-map {
            width: 100%;
            height: min(70vh, 720px);
            min-height: 480px;
        }
        .map-zoom-controls {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .map-zoom-btn {
            width: 42px;
            height: 42px;
            border: 1px solid var(--negro);
            background: var(--blanco);
            color: var(--negro);
            font-family: var(--body);
            font-size: 1.5rem;
            font-weight: 900;
            line-height: 1;
            cursor: pointer;
            display: grid;
            place-items: center;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        }
        .map-zoom-btn:hover {
            background: var(--coral);
        }
        .map-message {
            margin: 0;
            padding: 18px;
            border-top: 1px solid var(--negro);
        }
        .map-locations {
            display: grid;
            grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
            gap: clamp(20px, 4vw, 48px);
            padding: clamp(28px, 4vw, 40px) 0 0;
            align-items: start;
        }
        .map-locations-heading {
            display: grid;
            gap: 4px;
            align-content: start;
        }
        .map-locations-heading h2 {
            margin: 0;
            font-family: var(--body);
            font-size: clamp(2rem, 4vw, 2.1rem);
            font-weight: 600;
            line-height: .95;
            letter-spacing: -.03em;
        }
        .map-locations-heading p {
            margin: 0;
            font-family: var(--body);
            font-size: clamp(1.35rem, 2.4vw, 2rem);
            font-weight: 700;
            line-height: 1;
            letter-spacing: -.02em;
            color: var(--magenta);
        }
        .map-locations-body {
            min-width: 0;
        }
        .map-locations-empty {
            margin: 0;
            font-weight: 600;
            color: rgba(0, 0, 0, .65);
        }
        .map-locations-empty[hidden] {
            display: none;
        }
        .map-locations-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 2px;
        }
        .map-locations-item[hidden] {
            display: none !important;
        }
        .map-locations-link {
            width: 100%;
            border: 0;
            background: transparent;
            color: inherit;
            font: inherit;
            text-align: left;
            cursor: pointer;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 16px;
            padding: 10px 12px;
            transition: background-color .15s ease;
        }
        .map-locations-link:hover,
        .map-locations-item.is-active .map-locations-link {
            background: #ff52fa;
        }
        .map-locations-text {
            min-width: 0;
            font-size: clamp(.95rem, 1.2vw, 1.5rem);
            line-height: 1.35;
            overflow-wrap: anywhere;
        }
        .map-locations-name {
            font-weight: 700;
        }
        .map-locations-sep {
            font-weight: 500;
            color: rgba(0, 0, 0, .45);
        }
        .map-locations-address {
            font-weight: 500;
            color: rgba(0, 0, 0, .62);
            font-size: clamp(.95rem, 0.7vw, 1.5rem);
        }
        .map-locations-arrow {
            flex: 0 0 28px;
            width: 28px;
            height: 28px;
            opacity: 0;
            background-image: url('/img/FINAL/ICONOS/componentes_web-02.png');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            transition: opacity .15s ease;
        }
        .map-locations-link:hover .map-locations-arrow,
        .map-locations-item.is-active .map-locations-arrow {
            opacity: 1;
        }
        @media (max-width: 760px) {
            .map-locations {
                grid-template-columns: 1fr;
                gap: 18px;
            }
        }
        .empty-state {
            border: 1px solid var(--negro);
            padding: 48px 24px;
            text-align: center;
            background: var(--gris);
        }
        .empty-state h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 900; }
        .empty-state p { margin: 0; }

        @media (max-width: 760px) {
            .hero h1 { font-size: clamp(3.6rem, 22vw, 7rem); }
            .places-toolbar {
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
            }
            .places-toolbar-filters {
                flex: 1 1 100%;
                flex-wrap: nowrap;
            }
            .view-tabs {
                margin-left: 0;
                justify-content: flex-start;
            }
            .places-filters {
                flex: 1 1 auto;
                min-width: 0;
                width: auto;
                justify-content: flex-start;
                padding: 11px 14px;
            }
            #spaces-map { min-height: 420px; }
        }
        .place-events {
            padding-top: 12px;
            border-top: 1px solid rgba(0,0,0,.14);
            display: grid;
            gap: 8px;
        }
        .place-events-title { margin: 0; font-size: .92rem; }
        .place-events-link {
            font-size: .84rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .03em;
        }
        .place-events-link:hover { color: var(--magenta); }

        .places-list {
            display: grid;
            gap: 0;
            border: 1px solid var(--negro);
        }
        .place-list-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 16px;
            align-items: center;
            padding: 18px 22px;
            border-bottom: 1px solid var(--negro);
            background: var(--blanco);
        }
        .place-list-item:last-child { border-bottom: 0; }
        .place-list-item:hover { background: var(--gris); }
        .place-list-main h2 {
            margin: 0 0 6px;
            font-family: var(--display);
            font-size: 1.35rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: -.03em;
        }
        .place-list-main h2 a:hover { color: var(--magenta); }
        .place-list-meta {
            margin: 0;
            color: rgba(0,0,0,.68);
            font-size: .92rem;
            overflow-wrap: anywhere;
        }
        .place-list-link {
            flex-shrink: 0;
        }

        .images-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
            gap: 18px;
        }
        .image-card {
            border: 1px solid var(--negro);
            background: var(--blanco);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            min-width: 0;
        }
        .image-card-media {
            aspect-ratio: 3 / 2;
            background: var(--gris);
            border-bottom: 1px solid var(--negro);
            overflow: hidden;
        }
        .image-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .image-card-placeholder {
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
            padding: 20px;
            text-align: center;
            background: linear-gradient(135deg, var(--rosa), var(--coral) 55%, var(--magenta));
            color: var(--negro);
        }
        .image-card-placeholder span {
            font-family: var(--display);
            font-weight: 900;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: -.03em;
            line-height: 1.1;
            overflow-wrap: anywhere;
        }
        .image-card-placeholder small {
            display: block;
            margin-top: 8px;
            font-size: .78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .08em;
            opacity: .75;
        }
        .image-card-body {
            padding: 16px 18px 20px;
            display: grid;
            gap: 6px;
        }
        .image-card-body h3 {
            margin: 0;
            font-family: var(--display);
            font-size: 1.2rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: -.03em;
            overflow-wrap: anywhere;
        }
        .image-card-body h3 a:hover { color: var(--magenta); }
        .image-card-body p {
            margin: 0;
            font-size: .88rem;
            color: rgba(0,0,0,.68);
            overflow-wrap: anywhere;
        }

        .places--espacios .map-shell {
            border: 0;
            scroll-margin-top: 110px;
        }

        .places--espacios .map-message {
            border-top: 0;
        }

        .places--espacios .map-zoom-btn {
            border: 0;
        }

        .places--espacios .places-list {
            border: 0;
        }

        .places--espacios .place-card {
            border: 0;
        }

        .places--espacios .image-card {
            border: 0;
        }

        .places--espacios .empty-state {
            border: 0;
        }

        .places-ajax-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
            min-height: 220px;
            margin: 28px 0;
            padding: 36px 24px;
            color: var(--negro);
        }
        .places-ajax-loader[hidden] {
            display: none !important;
        }
        .places-ajax-loader__spinner {
            width: 28px;
            height: 28px;
            border: 3px solid rgba(0, 0, 0, .18);
            border-top-color: var(--negro);
            border-radius: 50%;
            animation: places-ajax-spin .7s linear infinite;
        }
        .places-ajax-loader__text {
            margin: 0;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            font-size: .78rem;
        }
        .places-ajax-error {
            margin: 28px 0;
            padding: 28px 24px;
            border: 1px solid var(--negro);
            text-align: center;
            background: var(--gris, #f3f3f3);
        }
        .places-ajax-error[hidden] {
            display: none !important;
        }
        .places-ajax-error p {
            margin: 0;
        }
        .places-ajax-error button {
            margin-left: .35em;
            font: inherit;
            font-weight: 800;
            text-decoration: underline;
            background: none;
            border: 0;
            cursor: pointer;
            color: inherit;
        }
        @keyframes places-ajax-spin {
            to { transform: rotate(360deg); }
        }
