/* The archive heading is the typographic reference for the public programme. */
#content :is(.home-heading, #desk-title) {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #36204e;
  font-family: var(--street-heading-font);
  font-size: var(--street-section-title);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .015em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  transform: none;
  transform-origin: left center;
  clip-path: none;
}
#content .home-heading::before,
#content .home-heading::after { content: none; }
.front-news, .fair-block { --heading-shadow: #ce9c68; }
.visit-paper { --heading-shadow: #c99951; }
.exhibitor-block { --heading-shadow: #ba8197; }
.archives-home { --heading-shadow: #998ce0; }
.front-news .news-head { min-height: 44px; }
.map-panel:has([data-street-map]) figcaption { padding-block: 4px .9rem; }

/* Carry the heading treatment into public content sections. Form legends,
   list entries and dashboard actions keep their smaller reading scale. */
#content :is(.vc-section > h2, .cr-section-heading, .ks-section > h2,
  .sp-pitch > h2, .sp-rules > h2, .site-map-groups section > h2, .xn-section-head > h2) {
  width: fit-content;
  max-width: 100%;
  height: fit-content;
  font-family: var(--street-heading-font);
  font-size: var(--street-section-title);
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.22;
  text-shadow: none;
  transform: none;
  transform-origin: left center;
}
#content .portal-wrap .pt-columns > :first-child > h2 {
  font-family: var(--street-heading-font);
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.28;
}
#content .sp-form .sp-rules > h2 {
  font-size: 1.06rem;
  letter-spacing: normal;
  text-shadow: none;
  transform: none;
}

/* Two sponsorship periods have separate applications. */
.sponsor-home {
  --heading-shadow: #cb9a65;
  background: #ffe1ad;
  border-block: 0;
}
.sponsor-home::after {
  width: min(43%, 42rem);
  background: repeating-linear-gradient(132deg, transparent 0 12px, #edaa72 12px 15px);
  clip-path: polygon(68% 0, 100% 0, 100% 100%, 0 100%);
}
.sponsor-home-inner {
  display: grid;
  grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.45fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 5rem);
}
#content .sponsor-home-copy p {
  max-width: 28em;
  margin-block-start: .8rem;
  color: #53413e;
  font-size: 1rem;
  line-height: 1.65;
}
.sponsor-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.sponsor-routes a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
  min-height: 7.25rem;
  padding: 1.15rem clamp(1rem, 2vw, 1.75rem);
  background: #14563a;
  color: #fff;
  box-shadow: 3px 4px 0 #be774a;
}
.sponsor-routes a:nth-child(2) {
  background: #fffbf2;
  color: #462440;
}
.sponsor-routes strong {
  font-family: var(--street-heading-font);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.3;
}
.sponsor-routes span { font-size: .875rem; line-height: 1.5; }
@media (max-width: 800px) {
  .sponsor-home-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 510px) {
  .sponsor-home-inner { padding-block: 2.5rem; gap: 1.2rem; }
  .sponsor-routes { grid-template-columns: minmax(0, 1fr); }
  .sponsor-routes a { min-height: 4.8rem; padding: .85rem 1.15rem; gap: .2rem; }
}
