/* Content update — retain the original palette, fonts, layout and interactions. */
.museum-brand-logo { display: block; width: 160px; height: auto; max-height: 78px; object-fit: contain; background: transparent; padding: 0; border-radius: 2px; }
.museum-brand-logo--footer { width: 250px; max-height: none; padding: 0; }
.official-copy p { margin-bottom: 1.25rem; font-size: var(--fs-body); font-weight: 300; line-height: 1.85; }
.welcome-copy { margin: 2rem 0; }
.museum-quote { margin-bottom: 2rem; padding-left: 1.5rem; border-left: 2px solid var(--terracotta); color: var(--green-deep); }
.museum-quote p { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.5; }
.museum-quote cite, .sister-quote cite, .cta-text cite { display: block; margin-top: .75rem; font-family: var(--font-sans); font-size: .8rem; font-style: normal; }
.museum-details { margin: 1.5rem 0; border-top: 1px solid var(--stone-pale); border-bottom: 1px solid var(--stone-pale); }
.museum-details summary { padding: 1rem .1rem; color: var(--green-deep); font-size: .95rem; font-weight: 500; cursor: pointer; }
.museum-details summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.museum-details[open] summary { margin-bottom: .5rem; }
.museum-details .official-copy, .museum-details .museum-list { padding: 0 .1rem 1rem; }
.bio-details .official-copy p { font-size: .95rem; line-height: 1.8; }
.sister-name { overflow-wrap: break-word; }
.sister-desc { min-height: 0; }
.sister-quote { margin-top: 1.5rem; }
.sister-card .museum-details { border-color: rgba(247,243,236,.22); }
.sister-card .museum-details summary, .sister-quote cite { color: var(--ivory-light); }
.sister-card .official-copy p { color: rgba(247,243,236,.85); }
.related-biographies { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin-top: 2rem; }
.related-bio { grid-column: span 2; min-width: 0; }
.related-bio:first-child { grid-column: 2 / span 2; }
.casa-features .feature-item { align-items: flex-start; }
.casa-features .feature-item span { max-width: 56ch; }
.timeline-year { white-space: normal; }
.activity-card { min-width: 0; }
.activity-title { overflow-wrap: break-word; }
.visitor-details { max-width: 80ch; margin: 3rem auto; }
.visit-section .museum-details { border-color: rgba(247,243,236,.22); }
.visit-section .museum-details summary { color: var(--ivory-light); }
.visit-section .official-copy p, .visit-section .museum-list { color: rgba(247,243,236,.85); }
.museum-list { list-style: disc; margin-left: 1.5rem; }
.museum-list li { margin: .75rem 0; font-size: .95rem; }
.admission-list > div { gap: 1rem; }
.admission-list dd, .hours-list dd { flex-shrink: 0; }
.contact-list a { overflow-wrap: anywhere; }
.institutional-credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,.15); color: var(--ivory); }
.institution-credit { font-size: .8rem; line-height: 1.7; min-width: 0; }
.institution-credit strong { font-weight: 500; }
.foundation-logo { width: 210px; height: 94px; object-fit: contain; object-position: left center; margin-bottom: 1rem; background: transparent; }
@media (max-width: 900px) { .related-biographies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; } .related-bio, .related-bio:first-child { grid-column: auto; } .institutional-credits { grid-template-columns: 1fr; gap: 1.5rem; } .museum-brand-logo { width: 145px; max-height: 70px; } .museum-brand-logo--footer { width: 230px; max-height: none; } }
@media (max-width: 600px) { .related-biographies { grid-template-columns: 1fr; }  .museum-brand-logo { width: 135px; max-height: 65px; } .museum-brand-logo--footer { width: 220px; max-height: none; } .museum-quote { padding-left: 1rem; } .hours-list > div { flex-direction: column; gap: .2rem; } .intro-stats { gap: 1rem; } .stat-label { max-width: 16ch; } }

/* Portraits share the sisters' image frame, typography and expandable biography. */
.portrait-credit { margin-top: .75rem; min-height: 4.8em; color: rgba(247,243,236,.7); font-size: .6875rem; line-height: 1.6; font-weight: 300; }
.portrait-credit a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.portrait-credit a:hover { color: var(--ivory-light); }
.sister-body { min-width: 0; }
/* Put the rail through the marker centers, leaving the full gap beside dates. */
.timeline { --tl-col-gap: clamp(1rem, 2.5vw, 1.5rem); }
.timeline::before { left: calc(var(--tl-year-col) + var(--tl-col-gap) + var(--tl-marker-col) / 2 - .5px); }
.timeline-item { grid-template-columns: var(--tl-year-col) var(--tl-marker-col) minmax(0, 1fr); }
.timeline-year { min-width: 0; padding-right: .5rem; overflow-wrap: anywhere; }
.timeline-content { min-width: 0; overflow-wrap: anywhere; }

/* Matching portrait shape and subject scale; source photographs are unaltered. */
.related-bio .portrait-crop { position: relative; height: 100%; aspect-ratio: 3 / 4; flex: none; overflow: hidden; }
.related-bio.sister-card .portrait-crop .sister-photo { width: 100%; height: 100%; max-width: none; inset: 0; padding: 0; object-fit: contain; object-position: center; transform: none; }
#photo-dede { width: 379.26%; left: -174.07%; top: -19.44%; }
#photo-manolo { width: 160%; left: -57%; top: -3.75%; }
.cta-signature { opacity: 1; width: 64px; height: 55px; position: relative; }
.cta-signature::before { content: ''; opacity: .38; position: absolute; inset: 0; background: var(--green-deep); -webkit-mask: url('img/brand/casa-museo-symbol.svg') center / contain no-repeat; mask: url('img/brand/casa-museo-symbol.svg') center / contain no-repeat; filter: drop-shadow(1px 1px 1px rgba(255,255,255,.16)) drop-shadow(-1px -1px 1px rgba(0,0,0,.38)); }
.museum-relief-symbol { width: 100%; height: 100%; opacity: 0; }
.institution-logo { display: block; width: 210px; height: 105px; object-fit: contain; object-position: left center; margin-bottom: 1rem; background: transparent; }
.institutional-credits { background: transparent; color: var(--charcoal); padding: 2.5rem var(--gutter); border-top: none; }

/* Extra portrait framing applies only to Dedé and Manolo. Original sisters retain style.css rules. */
.related-bio.sister-card .sister-image { padding: .75rem; box-shadow: 0 0 0 4px var(--charcoal-mid), 0 0 0 6px rgba(196,154,60,.3); }
.related-bio.sister-card .portrait-crop .sister-photo.loaded { box-shadow: none; }
#photo-dede, #photo-manolo { height: auto; right: auto; bottom: auto; object-fit: initial; filter: grayscale(1); }
.institutional-band { width: 100%; background: var(--ivory); color: var(--charcoal); border-block: 1px solid var(--stone-pale); }
.institutional-band .institution-credit { min-width: 0; }
.footer-bottom { padding-top: var(--space-md); }
