@font-face {
  font-family: Barlow Condensed;
  src: url('BarlowCondensed-BlackItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url('figtree-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
#main-content.iapau-pilot-festival {
  --blue: #204a7c;
  --deep-blue: #163a63;
  --paper: #f7f2e4;
  --cream: #fff8e9;
  --mint: #8fb7a5;
  --red: #d64d3f;
  --ochre: #f2c36a;
  --festival-anchor-offset: 3.5rem;
  margin: 0;
  font-size: 16px;
  color: var(--deep-blue);
  background: var(--paper);
  font-family: Figtree, sans-serif;
}
:where(.iapau-pilot-festival) * { box-sizing: border-box; }
/* Divi assigns its own color and padding to headings inside the Festival content. */
.iapau-pilot-festival :where(h1, h2, h3, h4, h5, h6) { color: inherit; padding-bottom: 0; }
:where(.iapau-pilot-festival) a { color: inherit; text-underline-offset: .2em; }
:where(.iapau-pilot-festival) a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
:where(.iapau-pilot-festival) .shell { width: min(100% - 96px, 1260px); margin-inline: auto; }
:where(.iapau-pilot-festival) .festival-preview-label { margin-block: 0; padding: .5rem 0; text-align: right; font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .festival-organisers .organiser-mark {
  filter: brightness(0) saturate(100%) invert(25%) sepia(28%) saturate(2241%) hue-rotate(178deg) brightness(92%) contrast(89%);
}
:where(.iapau-pilot-festival) .hero { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: var(--cream); border-bottom: 5px solid var(--red); }
:where(.iapau-pilot-festival) .hero-feature { position: relative; isolation: isolate; overflow: hidden; }
:where(.iapau-pilot-festival) .hero-feature::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--mint);
  clip-path: polygon(68% 61%, 100% 30%, 100% 100%, 58% 100%);
}
:where(.iapau-pilot-festival) .hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: clamp(1rem, 4vw, 3rem);
  min-height: 585px;
  padding-block: 58px 46px;
}
:where(.iapau-pilot-festival) .hero .edition, :where(.iapau-pilot-festival) .hero h1 { grid-column: 1 / -1; }
:where(.iapau-pilot-festival) .hero-copy { align-self: center; }
:where(.iapau-pilot-festival) .edition { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.65rem); width: min(100%, 740px); margin: 0; font-size: clamp(.72rem, 1.35vw, 1rem); font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .edition::before { content: ''; flex: 1; height: 2px; background: #ed8878; order: 1; }
:where(.iapau-pilot-festival) .edition span { order: 2; }
:where(.iapau-pilot-festival) .hero h1, :where(.iapau-pilot-festival) .program h2 { font-family: Barlow Condensed, 'Arial Narrow', sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; }
:where(.iapau-pilot-festival) .hero h1 { margin: .035em 0 .17em; font-size: clamp(6rem, 12.8vw, 12rem); line-height: .91; letter-spacing: -.025em; overflow-wrap: anywhere; }
:where(.iapau-pilot-festival) .intro { max-width: 17ch; margin: 0 0 1.25rem; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.12; font-weight: 740; text-wrap: balance; }
:where(.iapau-pilot-festival) .event-info { display: grid; gap: .1rem; font-size: 1.02rem; line-height: 1.45; }
:where(.iapau-pilot-festival) .event-info time { font-weight: 850; }
:where(.iapau-pilot-festival) .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.35rem; margin-top: 1.5rem; font-weight: 760; }
:where(.iapau-pilot-festival) .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 48px; padding: .72rem 1rem; background: var(--ochre); color: var(--deep-blue); text-decoration: none; }
:where(.iapau-pilot-festival) .button:hover { background: var(--cream); }
:where(.iapau-pilot-festival) .hero .button:focus-visible { outline-color: var(--cream); }
:where(.iapau-pilot-festival) .text-link { display: inline-flex; align-items: center; min-height: 44px; }
:where(.iapau-pilot-festival) .art { display: block; align-self: end; width: calc(100% + 2rem); height: auto; margin: -2rem -2rem -2.8rem 0; pointer-events: none; }
:where(.iapau-pilot-festival) .program { padding-block: clamp(2.7rem, 6vw, 5rem); background: #f0eadc; }
:where(.iapau-pilot-festival) .program .shell { display: grid; grid-template-columns: minmax(195px, .7fr) minmax(0, 1.8fr); align-items: start; gap: clamp(1rem, 5vw, 5rem); }
:where(.iapau-pilot-festival) .program .label { color: #943a33; font-size: .72rem; letter-spacing: .13em; font-weight: 850; text-transform: uppercase; }
:where(.iapau-pilot-festival) .program h2 { margin: .1em 0 0; line-height: .92; font-size: clamp(2.7rem, 4.6vw, 4.6rem); }
@media (max-width: 1050px) {
  :where(.iapau-pilot-festival) .shell { width: calc(100% - 64px); }
  :where(.iapau-pilot-festival) .hero-main { min-height: 530px; }
}
@media (max-width: 760px) {
  :where(.iapau-pilot-festival) .shell { width: calc(100% - 38px); }
  :where(.iapau-pilot-festival) .hero-main { min-height: auto; padding-block: 32px 28px; display: flex; flex-direction: column; }
  :where(.iapau-pilot-festival) .hero-feature::before { clip-path: polygon(100% calc(100% - clamp(7rem, 40vw, 12rem)), 100% 100%, 30% 100%); }
  :where(.iapau-pilot-festival) .hero-copy { align-self: stretch; }
  :where(.iapau-pilot-festival) .hero h1 { font-size: clamp(3.65rem, 14vw, 6.5rem); margin: .11em 0 .13em; }
  :where(.iapau-pilot-festival) .art { width: calc(100% + 10px); max-width: 510px; align-self: center; margin: .65rem -5px -1.5rem; }
  :where(.iapau-pilot-festival) .intro { margin-bottom: .75rem; }
  :where(.iapau-pilot-festival) .hero-actions { margin-top: .85rem; }
  :where(.iapau-pilot-festival) .program { padding-block: 30px 45px; }
  :where(.iapau-pilot-festival) .program .shell { grid-template-columns: 1fr; }
}

:where(.iapau-pilot-festival) .program h2 { overflow-wrap: anywhere; }
:where(.iapau-pilot-festival) .program, :where(.iapau-pilot-festival) .programme-group, :where(.iapau-pilot-festival) .festival-timeline { scroll-margin-top: var(--festival-anchor-offset); }
:where(.iapau-pilot-festival) .programme-group + .programme-group { margin-top: clamp(2rem, 4.5vw, 4rem); }
:where(.iapau-pilot-festival) .programme-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .85rem; margin: 0 0 1.25rem; }
:where(.iapau-pilot-festival) .programme-heading h3 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.4rem); font-weight: 850; line-height: 1.05; text-wrap: balance; }
:where(.iapau-pilot-festival) .programme-room { color: #455d72; font-size: .73rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .programme-slots, :where(.iapau-pilot-festival) .slot-sessions { display: grid; margin: 0; padding: 0; list-style: none; }
:where(.iapau-pilot-festival) .programme-slots { gap: clamp(1.25rem, 3vw, 2.2rem); }
:where(.iapau-pilot-festival) .programme-slot {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: start;
  gap: .45rem clamp(.9rem, 2.5vw, 2rem);
}
:where(.iapau-pilot-festival) .slot-times {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .15rem 0 .15rem .68rem;
  border-inline-start: 3px solid #567d6b;
}
:where(.iapau-pilot-festival) .slot-times-label { order: 1; color: #455d72; font-size: .72rem; font-weight: 720; }
:where(.iapau-pilot-festival) .slot-time { font-size: .85rem; font-weight: 820; line-height: 1.3; }
:where(.iapau-pilot-festival) .slot-sessions { grid-column: 2; gap: 1.2rem; }
:where(.iapau-pilot-festival) .slot-sessions:first-child { grid-column: 1 / -1; }
:where(.iapau-pilot-festival) .slot-text h4 { margin: 0; line-height: 1.14; font-size: clamp(1.2rem, 2.1vw, 1.55rem); font-weight: 810; text-wrap: pretty; }
:where(.iapau-pilot-festival) .slot-profiles { margin: .45rem 0 0; padding: 0; list-style: none; font-size: .92rem; line-height: 1.45; }
:where(.iapau-pilot-festival) .slot-profiles li + li { margin-top: .2rem; }
:where(.iapau-pilot-festival) .slot-profiles strong { font-weight: 790; }
:where(.iapau-pilot-festival) .slot-note { margin: .45rem 0 0; font-weight: 790; }
:where(.iapau-pilot-festival) .slot-details { margin-top: .5rem; }
:where(.iapau-pilot-festival) .slot-details summary { width: fit-content; padding: .35rem .25rem .35rem 0; cursor: pointer; font-size: .83rem; font-weight: 780; }
:where(.iapau-pilot-festival) .slot-details summary:hover { color: #943a33; }
:where(.iapau-pilot-festival) .slot-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
:where(.iapau-pilot-festival) .slot-description { margin-top: .4rem; font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; }
:where(.iapau-pilot-festival) .slot-description strong { font-weight: 740; }
:where(.iapau-pilot-festival) .slot-description p { margin: 0; }
:where(.iapau-pilot-festival) .slot-description p + p { margin-top: .45rem; }
:where(.iapau-pilot-festival) .programme-lunch {
  padding: clamp(1rem, 3vw, 1.9rem);
  border-radius: .85rem;
  background: #f5d58f;
}
:where(.iapau-pilot-festival) .programme-lunch .programme-heading h3 { color: #70351d; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .programme-lunch .slot-times { border-color: #9d582d; }
:where(.iapau-pilot-festival) .programme-lunch .slot-text h4 { font-size: clamp(1.4rem, 3vw, 2.25rem); }
@media (min-width: 761px) {
  :where(.iapau-pilot-festival) .section-heading { position: sticky; bottom: 2rem; align-self: end; }
}
@media (max-width: 760px) {
  :where(.iapau-pilot-festival) .programme-slot { grid-template-columns: minmax(0, 1fr); }
  :where(.iapau-pilot-festival) .slot-times {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .5rem;
  }
  :where(.iapau-pilot-festival) .slot-times-repeated .slot-time + .slot-time::before { content: '·'; margin-inline-end: .5rem; color: #455d72; }
  :where(.iapau-pilot-festival) .slot-time { white-space: nowrap; }
  :where(.iapau-pilot-festival) .slot-sessions { grid-column: 1; }
}


:where(.iapau-pilot-festival) .event-date { display: flex; flex-wrap: wrap; gap: .25rem .85rem; align-items: baseline; }
:where(.iapau-pilot-festival) .event-date > span { color: var(--cream); }
:where(.iapau-pilot-festival) .format-separator { margin-inline: .22em; color: var(--ochre); }
:where(.iapau-pilot-festival) .hero .hero-actions { max-width: 32rem; gap: .65rem; }
.iapau-pilot-festival main .button { text-decoration: none; }
:where(.iapau-pilot-festival) .hero .button-outline { color: var(--cream); background: transparent; box-shadow: inset 0 0 0 1px #d0deeb; }
:where(.iapau-pilot-festival) .hero .button-outline:hover { background: #ffffff20; }

:where(.iapau-pilot-festival) .festival-entry { background: #fdf9ef; }
:where(.iapau-pilot-festival) .festival-brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
  gap: .75rem clamp(1rem, 3vw, 2.75rem);
  padding-block: 1.05rem;
  border-bottom: 1px solid #e9dec9;
}
:where(.iapau-pilot-festival) .organiser-band { flex: 0 1 auto; }
:where(.iapau-pilot-festival) .organiser-band .hero-organisers {
  display: grid;
  justify-items: center;
  gap: .15rem;
}
:where(.iapau-pilot-festival) .organiser-band .organiser-label, :where(.iapau-pilot-festival) .partner-heading { margin: 0; color: #455d72; font-size: .7rem; font-weight: 820; line-height: 1.3; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
:where(.iapau-pilot-festival) .organiser-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem 1rem; }
:where(.iapau-pilot-festival) .organiser-band .hero-organisers .organiser-card { min-height: 44px; max-width: 100%; padding: .1rem 0; background: none; border-radius: 0; font-size: .94rem; overflow-wrap: anywhere; }
:where(.iapau-pilot-festival) .organiser-band .hero-organisers .organiser-card:hover { opacity: .82; }
:where(.iapau-pilot-festival) .organiser-band .hero-organisers img { height: 27px; max-width: 112px; }

:where(.iapau-pilot-festival) .hero-timeline { background: var(--deep-blue); border-top: 1px solid #fff8e938; }
:where(.iapau-pilot-festival) .festival-timeline { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(1.6rem, 3vw, 2.5rem); }
:where(.iapau-pilot-festival) .timeline-heading { margin: 0 0 1.1rem; font: italic 900 clamp(1.7rem, 3vw, 2.35rem)/1 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; }
:where(.iapau-pilot-festival) .timeline-steps { display: flex; margin: 0; padding: 0; list-style: none; }
:where(.iapau-pilot-festival) .timeline-step {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: .95rem clamp(.65rem, 2vw, 1.5rem) 0 0;
  border-top: 1px solid #f2c36a88;
}
:where(.iapau-pilot-festival) .timeline-step::before {
  content: '';
  position: absolute;
  top: -.27rem;
  left: 0;
  width: .45rem;
  height: .45rem;
  background: var(--ochre);
  box-shadow: 0 0 0 .2rem var(--deep-blue);
}
:where(.iapau-pilot-festival) .timeline-step-parallel { flex-grow: 1.85; }
:where(.iapau-pilot-festival) .timeline-time { display: block; margin-bottom: .22rem; font-size: .88rem; font-weight: 820; color: var(--ochre); white-space: nowrap; }
:where(.iapau-pilot-festival) .timeline-links { display: flex; flex-wrap: wrap; column-gap: .95rem; }
:where(.iapau-pilot-festival) .timeline-step-parallel .timeline-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .35rem .95rem; }
:where(.iapau-pilot-festival) .timeline-links a { display: grid; align-content: center; gap: .2rem; min-height: 44px; max-width: 28ch; padding-block: .25rem; color: var(--cream); text-decoration: none; }
:where(.iapau-pilot-festival) .timeline-links a:hover { color: var(--ochre); }
:where(.iapau-pilot-festival) .timeline-links .programme-room { color: #d9e5f3; }
:where(.iapau-pilot-festival) .timeline-links a:focus-visible { outline-offset: 2px; }
:where(.iapau-pilot-festival) .timeline-links strong { font-weight: 790; line-height: 1.18; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  :where(.iapau-pilot-festival) .timeline-heading { margin-bottom: .95rem; }
  :where(.iapau-pilot-festival) .timeline-steps { display: grid; margin-inline-start: .32rem; }
  :where(.iapau-pilot-festival) .timeline-step {
    display: grid;
    grid-template-columns: minmax(6.15rem, max-content) minmax(0, 1fr);
    align-items: start;
    gap: .55rem;
    padding: .2rem 0 .4rem .85rem;
    border-top: 0;
    border-inline-start: 1px solid #f2c36a88;
  }
  :where(.iapau-pilot-festival) .timeline-step::before { top: .68rem; left: -.25rem; }
  :where(.iapau-pilot-festival) .timeline-time { padding-top: .45rem; }
  :where(.iapau-pilot-festival) .timeline-links:first-child { grid-column: 1 / -1; }
  :where(.iapau-pilot-festival) .timeline-links a { font-size: .9rem; }
}

:where(.iapau-pilot-festival) .festival-access { padding-block: clamp(2.7rem, 6vw, 5rem); background: #fdf9ef; }
:where(.iapau-pilot-festival) .festival-entry + .festival-access { padding-top: clamp(1.2rem, 2.75vw, 2.1rem); }
:where(.iapau-pilot-festival) .access-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .1rem 1.3rem; margin-bottom: .65rem; }
:where(.iapau-pilot-festival) .access-heading h2 { margin: 0; font: italic 900 clamp(1.85rem, 3.2vw, 2.8rem)/1 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; }
:where(.iapau-pilot-festival) .access-heading .text-link { font-size: .88rem; font-weight: 760; text-decoration: none; }
:where(.iapau-pilot-festival) .access-heading .text-link:hover { color: #943a33; }
.festival-description h2,
:where(.iapau-pilot-festival) .history-copy h2 {
  margin: 0;
  font: italic 900 clamp(2.8rem, 5vw, 4.8rem)/.95 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
:where(.iapau-pilot-festival) .access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: .75rem; }
:where(.iapau-pilot-festival) .access-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  min-height: 14rem;
  padding: clamp(1.2rem, 3.1vw, 2.4rem);
}
:where(.iapau-pilot-festival) .access-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem transparent, 0 0 0 calc(1.5rem + 1px) currentColor, 0 0 0 3rem transparent, 0 0 0 calc(3rem + 1px) currentColor;
  opacity: .12;
  pointer-events: none;
}
:where(.iapau-pilot-festival) .access-place { background: #f0dfb2; }
:where(.iapau-pilot-festival) .access-place-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 74%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 46%;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  opacity: .42;
  mask-image: linear-gradient(to right, transparent 0%, #000 62%);
}
:where(.iapau-pilot-festival) .access-place::after { display: none; }
:where(.iapau-pilot-festival) .access-photo-credit {
  margin: .5rem 0 0;
  padding: 0;
  color: #455d72;
  font-size: .75rem;
}
:where(.iapau-pilot-festival) .access-photo-credit a { color: inherit; text-decoration: underline; }
:where(.iapau-pilot-festival) .access-online { background: #d6e7dd; }
:where(.iapau-pilot-festival) .access-card .label, :where(.iapau-pilot-festival) .festival-overview .label {
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
:where(.iapau-pilot-festival) .access-card h3 { margin: 0; max-width: 24ch; font-size: clamp(1.4rem, 2.9vw, 2.55rem); line-height: 1.08; font-weight: 810; }
:where(.iapau-pilot-festival) .access-card p { margin: 0; }
:where(.iapau-pilot-festival) .access-card > :is(.button, .access-status) { margin-top: auto; }
:where(.iapau-pilot-festival) .button-light { min-height: 44px; padding: .55rem .85rem; color: var(--deep-blue); background: #fff8e9; box-shadow: inset 0 0 0 1px #163a6370; font-weight: 780; }
:where(.iapau-pilot-festival) .button-light:hover { color: white; background: var(--deep-blue); }
.iapau-pilot-festival .access-heading .youtube-button { color: var(--deep-blue); font-size: .88rem; }
.iapau-pilot-festival .access-heading .youtube-button:hover { color: white; }
:where(.iapau-pilot-festival) .access-status { display: flex; align-items: center; gap: .5rem; font-weight: 740; }
:where(.iapau-pilot-festival) .access-status span { width: .55rem; height: .55rem; border-radius: 50%; background: #416f5d; flex: 0 0 auto; }

:where(.iapau-pilot-festival) .festival-overview { padding-block: clamp(2.7rem, 6vw, 5rem); }
:where(.iapau-pilot-festival) .overview-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr); align-items: start; gap: 1.6rem clamp(2rem, 6vw, 5.5rem); }
:where(.iapau-pilot-festival) .festival-overview .label { color: #943a33; }
:where(.iapau-pilot-festival) .festival-description h2 { margin-top: .16em; }
:where(.iapau-pilot-festival) .description-body { max-width: 66ch; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; overflow-wrap: anywhere; }
:where(.iapau-pilot-festival) .description-body > :first-child { margin-top: 0; }
:where(.iapau-pilot-festival) .description-body > :last-child { margin-bottom: 0; }
:where(.iapau-pilot-festival) .description-body p { margin-block: 0 1em; }
:where(.iapau-pilot-festival) .description-body :is(h3, h4) { margin-block: 1.2em .4em; line-height: 1.2; }
:where(.iapau-pilot-festival) .description-body ul { padding-inline-start: 1.25em; }
:where(.iapau-pilot-festival) .description-body img { max-width: 100%; height: auto; }
:where(.iapau-pilot-festival) .description-body a { text-decoration: none; font-weight: 780; background: #e9ddbd; box-decoration-break: clone; }
:where(.iapau-pilot-festival) .slot-resources { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .55rem; }
:where(.iapau-pilot-festival) .slot-resources a, :where(.iapau-pilot-festival) .slot-description a {
  display: inline-block;
  max-width: 100%;
  margin: .15rem 0;
  padding: .37rem .65rem;
  border-radius: .35rem;
  background: var(--deep-blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 760;
  text-decoration: none;
}
:where(.iapau-pilot-festival) .slot-resources a:hover, :where(.iapau-pilot-festival) .slot-description a:hover { background: var(--blue); }
:where(.iapau-pilot-festival) .slot-resources a:focus-visible, :where(.iapau-pilot-festival) .slot-description a:focus-visible { outline-color: var(--deep-blue); }

:where(.iapau-pilot-festival) .festival-history { padding-block: clamp(2.7rem, 6vw, 5rem); background: #dce9df; }
:where(.iapau-pilot-festival) .history-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: clamp(1.3rem, 5vw, 4.5rem); align-items: center; }
:where(.iapau-pilot-festival) .history-copy .label { margin: 0 0 .6rem; color: #416353; font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .history-intro { margin: 1rem 0 .85rem; max-width: 38ch; line-height: 1.55; }
:where(.iapau-pilot-festival) .history-intro > :first-child { margin-top: 0; }
:where(.iapau-pilot-festival) .history-intro > :last-child { margin-bottom: 0; }
:where(.iapau-pilot-festival) .history-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: .85rem; background: var(--deep-blue); }
:where(.iapau-pilot-festival) .history-motion-poster { display: none; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  :where(.iapau-pilot-festival) .history-motion-poster { display: block; }
  :where(.iapau-pilot-festival) .history-motion-video { display: none; }
}

:where(.iapau-pilot-festival) .festival-credits { padding-block: clamp(1.4rem, 3vw, 2.2rem); background: var(--deep-blue); color: var(--cream); }
:where(.iapau-pilot-festival) .festival-credits .festival-organisers { justify-content: center; }
:where(.iapau-pilot-festival) .festival-organisers { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
:where(.iapau-pilot-festival) .organiser-label { margin: 0 .45rem 0 0; color: var(--ochre); font-size: .8rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
:where(.iapau-pilot-festival) .festival-organisers .organiser-card { display: inline-flex; align-items: center; gap: .4rem; min-height: 50px; padding: .32rem .8rem; border-radius: 2rem; color: var(--deep-blue); background: white; font-weight: 800; text-decoration: none; }
:where(.iapau-pilot-festival) .festival-organisers a:hover { background: var(--cream); }
:where(.iapau-pilot-festival) .festival-organisers img { width: auto; max-width: 112px; height: 34px; object-fit: contain; }
:where(.iapau-pilot-festival) .festival-partners { flex: 1 1 32rem; min-width: 0; }
:where(.iapau-pilot-festival) .partner-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .45rem;
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
}
:where(.iapau-pilot-festival) .partner-gallery li { flex: 0 1 clamp(5rem, 12%, 7.5rem); min-width: 0; }
:where(.iapau-pilot-festival) .partner-card {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 44px;
  padding: .2rem .1rem;
  color: var(--deep-blue);
  text-align: center;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
:where(.iapau-pilot-festival) a.partner-card:hover { opacity: .78; }
:where(.iapau-pilot-festival) .partner-card img { width: 100%; max-width: 115px; height: 39px; object-fit: contain; }
:where(.iapau-pilot-festival) .festival-credits a:focus-visible { outline-color: var(--ochre); }
:where(.iapau-pilot-festival) .partner-gallery a:focus-visible { outline-color: var(--deep-blue); outline-offset: 0; }
@media (max-width: 760px) {
  :where(.iapau-pilot-festival) .partner-gallery li { flex-basis: min(5.5rem, calc((100% - .9rem) / 3)); }
  :where(.iapau-pilot-festival) .partner-card { font-size: .75rem; }
  :where(.iapau-pilot-festival) .overview-grid, :where(.iapau-pilot-festival) .history-grid { grid-template-columns: 1fr; }
  :where(.iapau-pilot-festival) .access-card { min-height: 11rem; }
  :where(.iapau-pilot-festival) .access-place-photo { width: 78%; opacity: .35; }
  :where(.iapau-pilot-festival) .hero .hero-actions .button { min-height: 44px; }
}

/* Give deep links room below Divi’s fixed desktop header and the admin bar. */
@media (min-width: 981px) {
  .et_fixed_nav #main-content.iapau-pilot-festival { --festival-anchor-offset: 8rem; }
}
