/* Public event, organizer and venue details. */
.page:has(>.public-detail){max-width:none;padding:0}
.detail-cover{background:linear-gradient(110deg,#241b38db,#3b1766ba),var(--detail-cover-image,url('../images/baile-portada.jpeg')) center 28%/cover;padding:112px 28px 32px;color:white}
.detail-heading{max-width:1004px;margin:auto}
.detail-back{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#eee6fa;margin-bottom:10px}.detail-back:hover{color:var(--yellow);text-decoration:none}
.detail-eyebrow{display:block;font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:#ddd0ed;margin-bottom:12px}
.detail-heading h1{font-family:inherit;font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-1.4px;color:white;margin:0 0 12px;overflow-wrap:anywhere}
.detail-heading p{margin:0;font-size:14px;color:#eee6fa;line-height:1.7}.detail-heading p strong{color:var(--yellow);font-weight:600}
.detail-content{max-width:1060px;margin:auto;padding:32px 28px 16px}
body:has(.public-detail)>.site-header{position:absolute;left:50%;top:16px;transform:translateX(-50%);width:calc(100% - 48px);max-width:1060px;border-radius:18px;border:0;background:white;box-shadow:0 4px 0 var(--purple)}
body:has(.public-detail) .header-inner{padding:10px 20px}
.public-detail .event-artwork{padding:10px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:none}
.public-detail .event-artwork .detail-poster{width:100%;height:auto;max-height:none;border-radius:9px;background:var(--soft);object-fit:contain}
.public-detail .event-summary{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:none;padding:24px}
.public-detail .event-labels{margin-bottom:16px}.public-detail .event-area{font-size:13px;margin-bottom:22px}
.public-detail .event-date-tile{background:var(--soft);border-radius:9px;color:var(--purple)}
.public-detail .event-price{background:#fffde8;border:1px solid #f1e8b0;border-radius:9px;padding:12px 14px}
.public-detail .event-main-actions .button{min-height:44px;padding:10px 14px;font-size:12px;border-radius:9px}
.public-detail .event-tools{gap:6px 16px;margin-top:12px}.public-detail .event-tools>*{min-height:44px;display:inline-flex;align-items:center;padding:8px 0}
.public-detail .event-description-panel,.public-detail .event-organizer-panel,.public-detail .imported-event-panel{background:white;box-shadow:none;border:1px solid var(--line);border-radius:14px;padding:24px}
.public-detail .event-organizer-panel{background:var(--soft)}
.profile-overview{padding:24px;border:1px solid var(--line);border-radius:16px;background:white;margin-bottom:28px}
.profile-overview.has-media{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;align-items:start}
.profile-media{margin:0;min-width:0}.profile-media img{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:10px;background:var(--soft)}
.organization-profile.has-media{grid-template-columns:120px minmax(0,1fr)}
.organization-profile .profile-media img{width:120px;height:120px}
.profile-copy{min-width:0}.profile-copy h2{font-size:20px;margin:0 0 14px}.profile-copy p{font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:var(--muted)}.profile-copy .profile-address{color:var(--ink);font-size:14px}.profile-copy .description{white-space:pre-line}
.profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 8px}.profile-actions>.button{min-height:44px;font-size:12px;padding:10px 14px;border-radius:9px}
.profile-copy>.text-button{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.profile-copy .venue-social-links{margin:12px 0}
.profile-overview>.detail-help{grid-column:1/-1}
.detail-help{margin:18px 0 0;border-top:1px solid var(--line);font-size:12px}.detail-help>summary{display:flex;align-items:center;min-height:44px;list-style:none;font-size:12px;color:var(--muted)}.detail-help>summary::-webkit-details-marker{display:none}.detail-help>summary::after{content:'+';margin-left:auto;color:var(--purple);font-size:17px}.detail-help[open]>summary::after{content:'−'}.detail-help>div{color:var(--muted);font-size:12px;line-height:1.7}.detail-help>div>p:last-child{margin-bottom:0}
.public-detail #agenda-search{margin-bottom:24px}.public-detail .results-controls{display:flex;justify-content:flex-end;margin-bottom:12px}.public-detail .results-controls>a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;gap:8px}
@media(max-width:760px){
 body:has(.public-detail)>.site-header{position:relative;left:auto;top:auto;transform:none;width:100%;max-width:none;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line)}
 .detail-cover{background:none;color:var(--ink);padding:16px 20px 8px}.detail-back{color:var(--muted);margin-bottom:12px}.detail-eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.2px}.detail-heading h1{font-size:30px;color:var(--purple);letter-spacing:-1px}.detail-heading p{font-size:12px;color:var(--muted)}.detail-heading p strong{color:var(--purple);box-shadow:inset 0 -4px var(--yellow)}
 .detail-content{padding:20px 20px 12px}.public-detail .event-feature,.public-detail .event-more{gap:14px}.public-detail .event-summary,.profile-overview,.public-detail .event-description-panel,.public-detail .event-organizer-panel,.public-detail .imported-event-panel{padding:18px;border-radius:12px}
 .public-detail .event-main-actions,.public-detail .event-tools,.profile-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.public-detail .event-main-actions .button,.public-detail .event-tools>*,.profile-actions>*{width:100%;min-height:44px;justify-content:center}.public-detail .event-tools{margin-top:8px}
 .profile-overview.has-media{grid-template-columns:minmax(0,1fr);gap:18px}.profile-media img{max-height:240px}.profile-copy h2{font-size:19px}.profile-overview{margin-bottom:20px}.public-detail .results-controls>a{width:100%;justify-content:center}
 .organization-profile .profile-media img{width:80px;height:80px}
 .public-detail .imported-event-panel>.button,.profile-copy>.text-button{width:100%;justify-content:center}
}

/* Profile identity and public information live together in the header. */
.utility-public-detail .report-form-panel{max-width:700px;margin:auto;padding:28px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:none}
.utility-public-detail .report-form-panel>p{font-size:14px;line-height:1.7;color:var(--muted)}
.utility-public-detail .report-form-panel .field{font-size:12px;margin-bottom:18px}
.utility-public-detail .report-form-panel input,.utility-public-detail .report-form-panel select{min-height:46px;border-radius:9px}
.utility-public-detail .report-form-panel textarea{border-radius:9px}
.utility-public-detail .contact-page{max-width:1060px;margin:0 auto}
.utility-public-detail .contact-card{background:white;box-shadow:none}
.utility-public-detail .contact-email{background:white}
.utility-public-detail .contact-help{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}
@media(max-width:760px){
 .utility-public-detail .report-form-panel{padding:20px;border-radius:14px}
 .utility-public-detail .report-form-panel .button{width:100%;min-height:44px}
 .utility-public-detail .contact-options{grid-template-columns:minmax(0,1fr)}
 .utility-public-detail .contact-help{flex-direction:column;align-items:stretch;gap:12px;padding:20px}
 .utility-public-detail .contact-help .button{width:100%;min-height:44px}
 .utility-public-detail .contact-address{min-height:44px;font-size:15px}
}
.profile-identity{min-width:0}
.public-contact-text{overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.6}
.venue-action-area{display:contents}
.profile-cover.has-profile-banner{background-position:center,center}
.venue-space-photo{margin:0 0 24px;padding:8px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 28px #241b3814}
.venue-space-photo a{display:block;border-radius:11px;overflow:hidden}
.venue-space-photo img{display:block;width:100%;height:clamp(220px,32vw,380px);object-fit:cover;background:var(--soft)}
.event-agenda-logo{display:block;width:80px;height:80px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:12px;padding:6px;margin-bottom:16px}
.profile-identity.has-logo{display:grid;grid-template-columns:140px minmax(0,1fr);gap:32px;align-items:center}
.profile-logo{margin:0;width:140px;height:140px;padding:10px;background:white;border:1px solid #ffffff80;border-radius:20px;box-shadow:0 10px 30px #13082326;overflow:hidden}
.profile-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
.profile-heading-copy{min-width:0}.profile-heading-copy .description{margin-top:10px;max-width:760px;white-space:pre-line;font-size:14px}
.profile-cover .profile-verified{display:inline-flex;align-items:center;min-height:28px;margin-top:16px;padding:5px 10px;border:1px solid #ffffff40;border-radius:8px;background:#ffffff14;color:white;font-size:11px;font-weight:600}
.profile-cover .profile-verification-note{margin-top:10px;max-width:680px;font-size:12px;color:#ded3ed}
.profile-cover .profile-address{margin-top:5px;font-size:13px}
.profile-cover .profile-actions{margin:18px 0 8px}.profile-cover .profile-actions>.button.secondary{border-color:#ffffff55;background:#ffffff0d;color:white}.profile-cover .profile-actions>.button.secondary:hover{background:#ffffff20}
.profile-cover a:not(.button):not(.detail-back){color:#f4eefa}.profile-cover a:not(.button):hover{color:var(--yellow)}
.profile-secondary-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.profile-secondary-actions>.text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:12px}.profile-secondary-actions .venue-social-links{margin:8px 0}.profile-cover .venue-social-link{background:#ffffff0d;border-color:#ffffff40;color:white}
.profile-cover .detail-help{border-color:#ffffff26;margin-top:22px}.profile-cover .detail-help>summary,.profile-cover .detail-help>div,.profile-cover .detail-help>div p{color:#eee6fa}.profile-cover .detail-help>summary::after{color:var(--yellow)}
@media(max-width:760px){
 .profile-identity.has-logo{grid-template-columns:minmax(0,1fr);gap:16px}
 .profile-logo{width:80px;height:80px;padding:6px;border-color:var(--line);border-radius:14px;box-shadow:0 4px 12px #241b380a}
 .profile-logo img{border-radius:8px}.profile-heading-copy .description{font-size:13px;margin-top:8px}
 .profile-cover .profile-verified{background:#eee6fa;border-color:#e1d4f2;color:var(--purple);margin-top:12px}
 .profile-cover .profile-verification-note,.profile-cover .profile-address{color:var(--muted);font-size:12px}
 .profile-cover .profile-actions>.button.secondary{border-color:#ded0f4;background:white;color:var(--purple)}.profile-cover .profile-actions>.button.secondary:hover{background:var(--soft)}
 .profile-cover a:not(.button):not(.detail-back){color:var(--purple)}
 .profile-secondary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.profile-secondary-actions>.text-button{width:100%;justify-content:center}.profile-cover .venue-social-link{color:var(--purple);background:white;border-color:var(--line)}
 .profile-cover .detail-help{border-color:var(--line);margin-top:18px}.profile-cover .detail-help>summary,.profile-cover .detail-help>div,.profile-cover .detail-help>div p{color:var(--muted)}.profile-cover .detail-help>summary::after{color:var(--purple)}
}
