.local-house{--local-accent:var(--identity-dark);display:block;min-width:0}.local-house[data-local-theme="alkayasi"]{--local-accent:var(--ceper-territorio-alkayasi-texto)}.local-house *{box-sizing:border-box}.local-identification{display:flex;align-items:center;gap:2rem;border-block:1px solid var(--line);padding:1.4rem 0;margin-bottom:1rem}.local-signature{width:min(34%,240px);height:auto}.local-identification h2{color:var(--local-accent);font-size:clamp(1.6rem,4vw,2.3rem);margin:.3rem 0}.local-code strong{font-size:1.15rem;letter-spacing:.05em}.local-house .local-period,.local-source{font-size:.88rem;line-height:1.55;color:var(--ink)}
/* Reset inherited twelve-column card spans; do not create implicit tracks. */
.local-house .card{grid-column:auto;min-width:0;align-self:start;margin:0 0 1.25rem;height:auto}.local-home{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:1.25rem;align-items:start;min-width:0;margin-bottom:1.25rem}.local-home>.card{margin:0}
.local-house .local-house-nav{display:flex;flex-wrap:wrap;align-items:center;align-content:start;justify-content:flex-start;gap:.5rem;margin:0 0 1.4rem;padding:.7rem;grid-column:auto;height:auto}.local-house-nav .local-tab{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;width:auto;max-width:100%;min-height:44px;height:auto;line-height:1.35;padding:.6rem .8rem;border-radius:8px;white-space:normal;overflow-wrap:anywhere;text-align:center;align-self:center}.local-house-nav .local-tab[aria-current=page]{background:var(--local-accent);border-color:var(--local-accent);color:white;font-weight:700}.local-house .button-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.6rem;height:auto}.local-house .button-row>*{flex:0 1 auto;align-self:center;min-height:44px;height:auto;width:fit-content;max-width:100%;border-radius:8px;line-height:1.4}
.local-neutral{min-height:130px;background:var(--house-ivory);border:8px solid var(--house-stone);margin-block:1rem}.local-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.local-place{border:1px solid var(--line);padding:1.2rem;border-radius:10px;min-width:0}.local-place h3{margin-top:.2rem}.local-state{font-weight:700}
.local-manual-gallery{width:100%;min-width:0;margin-top:1rem}.local-manual-gallery figure{margin:0;min-width:0}.local-photo{display:block;width:100%;max-width:100%;height:clamp(170px,52vw,420px);aspect-ratio:16/9;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--house-ivory);cursor:zoom-in;overflow:hidden}.local-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.local-manual-gallery figcaption{padding:.7rem .15rem;line-height:1.6}.local-manual-gallery figcaption p{margin:.25rem 0}.local-photo-detail,.local-photo-credit{font-size:.92rem}.local-gallery-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.75rem;padding:.35rem 0}.local-gallery-count{margin:0;min-width:4rem;text-align:center;font-variant-numeric:tabular-nums}.local-house .local-control,.local-photo-dialog .local-control{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-height:44px;height:auto;width:auto;max-width:100%;padding:.6rem .85rem;border:1px solid var(--house-taupe);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;line-height:1.35;cursor:pointer}
.local-photo-dialog{width:min(1000px,94vw);max-height:90dvh;overflow:auto;border:2px solid var(--line);border-radius:14px;padding:1rem;background:var(--surface);color:var(--ink)}.local-photo-dialog::backdrop{background:#211e1bcc}.local-photo-dialog figure{margin:1rem 0 0}.local-photo-dialog img{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}.local-photo-dialog figcaption{line-height:1.6}.local-house :is(a,button,[tabindex]):focus-visible,.local-photo-dialog button:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.local-house p{overflow-wrap:anywhere}@media(max-width:700px){.local-home,.local-places{grid-template-columns:minmax(0,1fr)}.local-identification{gap:1rem;align-items:flex-start;flex-direction:column}.local-signature{width:200px;max-width:100%}.local-house .local-house-nav{padding:.6rem;gap:.45rem}.local-photo{height:clamp(160px,54vw,360px)}}@media(max-width:400px){.local-house-nav .local-tab{padding:.6rem .7rem}.local-gallery-controls{gap:.5rem}.local-house .local-control{padding:.6rem .7rem}}
.local-offer-filters{display:flex;flex-wrap:wrap;gap:1rem;margin-block:1rem}.local-offer-filters label{display:grid;gap:.4rem;flex:1 1 240px;max-width:100%;font-weight:650}.local-offer-filters select{font:inherit;min-height:44px;width:100%;padding:.55rem;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.local-table-scroll{width:100%;overflow:auto}.local-offer-table{width:100%;min-width:680px;border-collapse:collapse;line-height:1.5}.local-offer-table caption{text-align:left;font-weight:700;padding:.5rem 0}.local-offer-table th,.local-offer-table td{padding:.85rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.local-offer-table thead{background:var(--house-ivory)}.local-offer-table small{display:block;margin-top:.4rem;font-size:.8rem;line-height:1.4;font-weight:400}.local-offer-table th[scope=row]{width:22%}.local-contribution dt{font-weight:700;margin-top:1rem}.local-contribution dd{margin-left:0}.local-closed{border:1px solid var(--line);padding:.7rem;background:var(--house-ivory)}.local-review-banner{margin:0;padding:.65rem;text-align:center;background:#fff0c9;color:#302819;font:600 .95rem system-ui}

.local-offer-poster-button{display:block;width:fit-content;max-width:100%;margin:1rem auto;padding:.4rem;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:zoom-in}.local-offer-poster-image{display:block;width:auto;height:auto;max-width:100%;max-height:620px;margin:auto}.local-offer-poster-dialog .local-offer-poster-image{max-height:none;width:100%;height:auto;max-width:850px}.local-offer-poster figcaption{line-height:1.5}

/* Recibidores: the artwork is the main welcome, with no cropping of the postcard. */
.local-home{display:flex;flex-direction:column;gap:24px}.local-home>.local-ambient{order:-1;width:100%;box-sizing:border-box;padding:clamp(16px,3vw,32px);background:linear-gradient(135deg,#eee2cf,#fcf8f0);text-align:center}.local-ambient .postal-frame{display:block;width:min(100%,900px);max-width:100%;margin:12px auto;border:12px solid #69482d;box-shadow:0 12px 26px #3e27152b;background:#fff8e9;padding:16px;box-sizing:border-box;transform:none}.local-ambient .postal-frame img{display:block;width:100%;height:clamp(280px,48vw,560px);object-fit:contain;background:#fffaf0}.local-ambient .postal-caption{display:block;padding:12px 4px;color:#5b361e}.study-gallery{margin:24px 0;text-align:center;background:#f1e7d7}.study-gallery a{display:block}.study-gallery img{display:block;width:100%;height:560px;object-fit:contain;margin:16px auto}.study-controls{display:flex;justify-content:center;gap:12px;align-items:center;flex-wrap:wrap}@media(max-width:600px){.study-gallery img{height:420px}.local-ambient .postal-frame{border-width:7px;padding:8px}}
.page:has(.local-home)>.page-head{margin-bottom:12px}.page:has(.local-home)>.page-head .lead,.page:has(.local-home)>.page-head .eyebrow,.page:has(.local-home)>.page-head>.sign{display:none}.local-house:has(.local-home) .local-identification{padding:12px 0;gap:18px;flex-direction:row;align-items:center}.local-house:has(.local-home) .local-signature{width:96px}.local-house:has(.local-home) .local-identification h2{font-size:1.35rem;margin:4px 0}.local-house:has(.local-home) .local-identification p{margin:4px 0;font-size:.85rem}.local-house:has(.local-home) .local-identification .kicker{display:none}

.study-controls button{min-height:44px;padding:10px 16px;border:1px solid #ab9275;border-radius:8px;background:#fffdf8;color:#55321c;font:inherit;cursor:pointer}.study-controls button:focus-visible{outline:3px solid #436538;outline-offset:3px}
