/* Accessible states and content growth, retaining the approved type and artwork. */
a:focus-visible,button:focus-visible,summary:focus-visible,
#program .agenda-summary:focus-visible{outline-color:var(--navy)}
.forum-header .header-nav a:focus-visible,
.footer a:focus-visible{outline-color:var(--white)}

/* Let long words and enlarged copy determine their own block height. */
.forum-hero-copy,.forum-header-actions,.footer-top>*,.guest,
#about .forum-about-organizer,#opportunities .opportunity-title{min-width:0}
h2,h3,p,.forum-contact,.forum-header-phone,.footer-email,
.footer-phones a,.social-qr span{overflow-wrap:anywhere}
.forum-header{position:relative;background:#dedbd6}
.forum-header-bar{flex-wrap:wrap}
.forum-organizers{min-width:0;max-width:100%;flex-wrap:wrap}
.forum-organizers-label{flex-shrink:0}
.forum-header-actions{flex-wrap:wrap}
.forum-header-phone,.forum-contact{display:inline-flex;align-items:center;min-height:44px}
.forum-header-phone{white-space:normal}
.forum-header .menu-button{min-width:44px;min-height:44px}
.forum-header .menu-button span{position:absolute;left:calc(50% - 12px);top:calc(50% - 1px);margin:0;transform-origin:center}
.forum-header .menu-button span:first-child{transform:translateY(-4px)}
.forum-header .menu-button span:last-child{transform:translateY(4px)}
.forum-header .menu-button[aria-expanded=true] span:first-child{transform:rotate(45deg)}
.forum-header .menu-button[aria-expanded=true] span:last-child{transform:rotate(-45deg)}
.header-nav{justify-content:safe center}

/* The normal title remains one line; enlarged type can wrap within the page. */
.forum-hero{--header-flow-space:100px;height:auto;min-height:calc(clamp(760px,88svh,900px) - var(--header-flow-space))}
.forum-hero-layout{height:auto;min-height:inherit;padding-top:calc(194px - var(--header-flow-space))}
.forum-hero-stage{top:calc(-1 * var(--header-flow-space))}
.forum-hero-art{top:calc(9% + 32px)}
.forum-hero h1{width:max-content;max-width:calc(100vw - 2 * var(--page-padding));white-space:normal;overflow-wrap:anywhere}
.forum-hero-details{flex-wrap:wrap}
.forum-hero-date{min-width:0;max-width:100%;flex-wrap:wrap}
.forum-day{flex-shrink:0;width:max(80px,1.4em);height:max(80px,1.4em)}
.forum-hero-location{min-width:0;max-width:100%}
.forum-award-link{max-width:100%}
.forum-award-link>span:first-child{min-width:0;overflow-wrap:anywhere}
.forum-award-arrow{flex-shrink:0}

#opportunities .opportunity-title{max-width:100%;overflow-wrap:anywhere}
#exhibition .exhibition-area{display:block;max-width:100%;white-space:nowrap;overflow-wrap:normal;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--navy) var(--surface-inset)}
#exhibition .exhibition-area:focus-visible{outline:3px solid var(--navy);outline-offset:4px}
#program .agenda-heading{flex-wrap:wrap}
/* Hover keeps text readable on the inset timetable surface. */
@media(hover:hover) and (pointer:fine){
  #program summary.agenda-summary:hover .agenda-title,
  #program summary.agenda-summary:hover .agenda-chevron{color:var(--navy)}
}
.footer-top{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.footer-email{white-space:normal;min-height:44px}
.footer-phones a,.developer{display:flex;align-items:center;min-height:44px}
.footer-socials{min-width:0;flex-wrap:wrap}
.social-qr{min-width:0;max-width:100%}

@media(max-width:1000px){
  .forum-hero{--header-flow-space:144px;min-height:calc(850px - var(--header-flow-space))}
  .forum-hero-layout{padding-top:calc(259px - var(--header-flow-space))}
  .forum-hero-art{top:calc(19% + 32px)}
  .forum-day{width:max(67px,1.4em);height:max(67px,1.4em)}
}
@media(max-width:900px){.footer-top{grid-template-columns:minmax(0,1fr)}}
@media(min-width:641px) and (max-width:900px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-item:first-child{grid-column:1/-1}
  .gallery-item:last-child{display:block}
}
@media(max-width:640px){
  .forum-organizers{min-width:0;flex-basis:calc(100% - 56px)}
  .forum-organizers-logos{gap:12px}
  .forum-organizer{min-width:0;flex-shrink:1}
  .forum-organizer--government{flex-shrink:0}
  .forum-organizer--corporation{flex:0 1 98px}
  .forum-organizer--bank{flex:0 1 101px}
  .forum-organizer--corporation img,.forum-organizer--bank img{width:100%}
  .forum-header .menu-button{width:44px;height:44px;padding:10px}


  /* Same mobile composition in normal flow: title, sculpture, then event details. */
  .forum-hero{display:grid;grid-template-columns:minmax(0,1fr);min-height:718px;padding:48px var(--page-padding) 42px;background:linear-gradient(180deg,#dedbd6 0%,#e9e6e1 60%,#f8f7f5 100%)}
  .forum-hero-layout,.forum-hero-copy{display:contents}
  .forum-hero h1{grid-row:1}
  .forum-hero-subtitle{grid-row:2}
  .forum-hero-stage{grid-row:3;position:relative;inset:auto;height:330px;margin:13px calc(-1 * var(--page-padding)) 31px;background:none}
  .forum-hero-art{top:0;height:330px}
  .forum-hero-details{grid-row:4;margin-top:0;min-width:0}
  .forum-hero-date{flex-wrap:nowrap}
  .forum-day{width:max(65px,1.35em);height:max(70px,1.45em)}
  .forum-hero-location{flex:0 1 auto}
  .forum-award-link{grid-row:5;justify-self:start}
  .footer-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:300px;gap:40px}
  .social-qr{width:auto}
}
@media(max-width:359px){
  .guest-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .guest{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 18px;align-items:start}
  .guest-photo{grid-column:1;grid-row:1/3;align-self:start;aspect-ratio:4/4.6;margin-bottom:0}
  .guest h3{grid-column:2;margin-bottom:0}
  .guest p{grid-column:2}
  .footer-socials{gap:24px}
}

