/* Shared event layout: Forum 3 and WeStreet Summer Bash reference family.
   Ported from the reviewed mobile-layout package (1093ad9a...) for TREW.PLOY-READY.20261028.M1 and adapted to this candidate:
   current optimized artwork URLs, archive-refresh.css/ploy-fixes.css precedence, phone image + solid cream panel headers,
   46px targets. Linked after archive-refresh.css and ploy-fixes.css. */
body.event-standard{--event-paper:#f5f3ee;--event-card:#fffdf7;--event-text:#173b32;--event-rule:#c5b47a;background-color:var(--event-paper);font-family:Barlow,Arial,sans-serif}
.event-standard :is(.event-header,.event-hero,.hero,.potluck-intro,.community-intro){max-width:1180px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.event-standard :is(.event-header,.event-hero,.hero){border-radius:8px;overflow:hidden;margin-top:24px!important;margin-bottom:40px!important}
.event-standard :is(.event-header-inner,.event-hero-inner,.sec-inner,.sec-inner--sm,.sec--wide,.frameworks-inner,.professionals-inner,.event-details-inner,.participants__inner,.editorial__grid,.fact-strip__inner,.potluck-shell){max-width:1120px;box-sizing:border-box;margin-left:auto;margin-right:auto;min-width:0}
.event-standard :is(.frameworks,.professionals,.why,.event-details,.participants,.editorial,.sec-light,.sec-cream,.satin-dark-architectural){padding-top:52px!important;padding-bottom:52px!important;background-color:#f5f3ee!important;background-image:none!important;color:#173b32}
.event-standard :is(.frameworks,.professionals,.why,.event-details,.participants,.editorial,.sec-light,.sec-cream,.satin-dark-architectural) :is(h2,h3,.sec-body,.sec-h2,.t-h2,.participants__note,.sec-hd>p){color:#173b32!important;text-shadow:none}
.event-standard :is(.event-header,.event-hero,.hero,.potluck-intro,.community-intro) h1:not(.visually-hidden){font-family:'Playfair Display',Georgia,serif;font-size:clamp(38px,5vw,64px)!important;line-height:1.08!important;letter-spacing:-.025em}
.event-standard :is(.event-header-inner,.event-hero-inner){padding:32px 24px!important}
.event-standard .event-header:has(.hero-img-wrap){padding:0!important}
.event-standard .hero-img-wrap img{width:100%;height:auto;display:block}
.event-standard .event-meta-row:has(.event-meta-item),.event-standard .fact-strip__inner,.event-standard .potluck-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fffdf7!important;border-top:2px solid #b59a53;border-bottom:1px solid #d6d9cc;color:#173b32!important}
.event-standard :is(.event-meta-item,.fact,.potluck-facts>div){padding:22px!important;min-width:0;border:0;border-right:1px solid #d6d9cc;background:transparent!important;text-align:left}
.event-standard :is(.emi-value,.emi-sub,.fact dd,.potluck-facts dd){color:#29493e!important;line-height:1.5}
.event-standard :is(.emi-label,.fact dt,.potluck-facts dt){color:#69541d!important;font-size:12px;line-height:1.5}
.event-standard :is(.event-cta-row,.event-hero__actions,.report-feature-actions){display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.event-standard :is(.event-cta-row,.event-hero__actions,.report-feature-actions)>a{min-height:46px}
.event-standard :is(.partner-card,.event-meta-chip){background:#fffdf7;border:1px solid #d6d9cc;color:#173b32}
.event-standard .partner-card{border-top:3px solid #b59a53;padding:24px}
.event-standard .partner-card :is(.partner-card-name,.partner-card-org,.partner-card-cat,.partner-card-desc){color:#29493e!important}
.event-standard a:focus-visible,.event-standard button:focus-visible{outline:3px solid #8a6c22;outline-offset:4px}
.event-standard .event-hero__inner .event-button--ghost{color:#173b32!important;border-color:#557466!important;background:rgba(255,253,247,.7)}

/* Forum 2 */
body[data-event-layout="workshop-2"] .event-header{background:#fffdf7!important;color:#173b32!important}
body[data-event-layout="workshop-2"] .event-header :is(h1,h1 span,.event-tagline){color:#173b32!important}

/* Photo/artwork headers: the existing artwork stays clear; text sits on a 90% cream panel (solid cream on phones). */
body[data-event-layout="trew-community-forum-6-2026-10-22"] .event-hero{background:#e9eee8 url("/westreet-assets/images/optimized/trew-forum6-commercial-real-estate-hero-og-v1-20ac2d73d2-1734.webp") center/cover no-repeat!important;min-height:520px;padding:32px}
body[data-event-layout="housing-through-lifes-transitions-2026-09-24"] .event-hero{background:#eee9dd url("/westreet-assets/images/optimized/trew-htlt-hero-text-free-20260924-23ae09f196-1672.webp") center 55%/cover no-repeat!important;min-height:560px;padding:32px!important;align-items:center}
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero::before{display:none}
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero__inner{width:min(590px,100%)!important;margin:0 auto 0 max(0px,calc((100% - 1180px)/2))!important;background:rgba(255,253,247,.9);padding:30px;border:1px solid #d8ccb5;border-radius:6px;color:#173b32}
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero :is(h1,p){color:#173b32!important}
body[data-event-layout="housing-through-lifes-transitions-2026-09-24"] .event-hero .event-hero__dek{color:#344f44!important}
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero .event-kicker{color:#69541d!important}

@media(max-width:700px){
.event-standard :is(.event-header,.event-hero,.hero){margin-top:18px!important;margin-bottom:28px!important}
.event-standard :is(.event-header-inner,.event-hero-inner){padding:26px 22px!important}
.event-standard :is(.event-meta-row:has(.event-meta-item),.fact-strip__inner,.potluck-facts){grid-template-columns:1fr}
.event-standard :is(.event-meta-item,.fact,.potluck-facts>div){padding:18px 22px!important;border-right:0;border-bottom:1px solid #d6d9cc}
.event-standard :is(.frameworks,.professionals,.why,.event-details,.participants,.editorial,.sec-light,.sec-cream,.satin-dark-architectural){padding-top:36px!important;padding-bottom:36px!important}
.event-standard :is(.partner-grid,.speaker-grid,.people-grid,.potluck-columns){grid-template-columns:1fr!important;gap:16px}
.event-standard .event-cta-row{flex-direction:column}
.event-standard .event-cta-row>a{width:100%;min-height:46px;text-align:center}
.event-standard .partner-card{padding:22px}
/* Phone headers: the artwork as its own 220px band, then a solid cream text panel. */
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero{display:block;padding:220px 0 0!important;min-height:0;background-color:#fffdf7!important;background-position:center top!important;background-size:max(100%,420px) auto!important}
:is(body[data-event-layout="trew-community-forum-6-2026-10-22"],body[data-event-layout="housing-through-lifes-transitions-2026-09-24"]) .event-hero__inner{width:100%!important;margin:0!important;background:#fffdf7;padding:26px 22px;border:0;border-radius:0}
body[data-event-layout="housing-through-lifes-transitions-2026-09-24"] .event-hero h1{font-size:40px!important}
body[data-event-layout="workshop-2"] .event-header{padding:0!important}
html body.event-standard[data-event-layout="workshop-2"] .event-header h1:not(.visually-hidden){font-size:27px!important;line-height:1.15!important;white-space:normal!important;max-width:100%!important;overflow-wrap:normal!important}
}
