/* The Biennale reading edition uses the Editorial theme's paper, rules and type. */
.bn-page { --bn-red:#b84329; }
.editorial .bn-page > * + * { margin-top:0; }
.bn-page [hidden] { display:none!important; }
.bn-page a { color:inherit; }
.bn-page .ed-button { color:var(--paper); }
.bn-page .ed-button--light { color:var(--ink); }
.bn-page p { margin:0 0 1em; }
.bn-page figure,.bn-page dl { margin:0; }
.bn-edition { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 0 18px; font-size:var(--text-small); text-transform:uppercase; }
.bn-nav { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; padding:14px 0; border-block:1px solid var(--line); }
.bn-nav a { font-size:var(--text-small); text-decoration:none; }
.bn-nav a:hover { text-decoration:underline; }
.bn-hero { display:grid; grid-template-columns:1.05fr 1fr; border-bottom:1px solid var(--line); }
.bn-hero__copy { padding:36px 40px 40px 0; }
.bn-hero__copy .ed-kicker { margin-bottom:28px; }
.editorial .bn-hero h2 { font-size:clamp(42px,5.3vw,82px); line-height:1.02; max-width:8ch; margin:0 0 24px; }
.bn-hero__copy > p:not(.ed-kicker) { max-width:52ch; font-size:15px; line-height:1.8; }
.bn-actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px 26px; margin-top:24px; }
.bn-actions > a:not(.ed-button) { font-size:var(--text-small); }
.bn-hero__art { border-inline-start:1px solid var(--line); padding:36px 0 0 32px; display:flex; flex-direction:column; }
.bn-hero__art img { width:100%; height:auto; display:block; border:1px solid var(--line); }
.bn-hero figcaption { font-size:var(--text-small); text-transform:uppercase; margin-top:8px; }
.bn-facts { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:25px 0; }
.bn-facts dt { font-size:var(--text-small); text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.bn-facts dd { margin:0; font-size:16px; }
.bn-archive-line { border-top:1px solid var(--line); display:flex; align-items:center; gap:28px; margin-top:auto; padding:20px 0; }
.bn-archive-line strong { font-weight:400; font-size:72px; line-height:1; color:var(--bn-red); }
.bn-archive-line p { font-size:17px; line-height:1.5; max-width:22ch; margin:0; }
.bn-section { padding-top:66px; scroll-margin-top:105px; }
.bn-heading { display:grid; grid-template-columns:42px 1fr 1fr; gap:18px; align-items:start; border-bottom:1px solid var(--line); padding-bottom:24px; margin-bottom:24px; }
.bn-number { font-size:var(--text-small); color:var(--bn-red); padding-top:8px; }
.editorial .bn-heading h2 { margin:0; font-size:clamp(28px,3.5vw,48px); line-height:1.1; max-width:15ch; }
.bn-heading > p { font-size:var(--text-small); max-width:54ch; margin:0; justify-self:end; }
.bn-controls { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.bn-day-filters,.bn-library-filters { display:flex; gap:0; flex-wrap:wrap; }
.bn-day-filters button,.bn-library-filters button { background:transparent; color:var(--ink); border:1px solid var(--line); border-inline-end:0; border-radius:0; padding:11px 14px; font:inherit; font-size:var(--text-small); min-height:44px; cursor:pointer; }
.bn-day-filters button:last-child,.bn-library-filters button:last-child { border-inline-end:1px solid var(--line); }
.bn-day-filters button span { font-size:18px; margin-inline-end:4px; }
.bn-day-filters button[aria-pressed="true"],.bn-library-filters button[aria-pressed="true"] { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.bn-day-filters button:hover,.bn-library-filters button:hover { box-shadow:inset 0 -3px var(--bn-red); }
.bn-type-filter { display:flex; flex-direction:column; gap:4px; font-size:var(--text-small); min-width:150px; }
.bn-type-filter select { width:100%; border:1px solid var(--line); border-radius:0; min-height:44px; background:transparent; font:inherit; font-size:var(--text-small); color:var(--ink); padding:9px; }
.bn-day { display:grid; grid-template-columns:175px minmax(0,1fr); border-top:1px solid var(--line); }
.bn-day:last-child { border-bottom:1px solid var(--line); }
.editorial .bn-date { margin:0; padding:28px 18px 24px 0; font-weight:400; display:flex; flex-direction:column; gap:8px; font-size:var(--text-small); letter-spacing:0; line-height:1.5; }
.bn-date > span:first-child { font-size:70px; line-height:1; font-weight:400; letter-spacing:-.06em; }
.bn-date small { display:block; font-size:var(--text-small); color:var(--muted); }
.bn-day__sessions { border-inline-start:1px solid var(--line); }
.bn-event + .bn-event { border-top:1px solid var(--line); }
.bn-event { scroll-margin-top:115px; }
.bn-event summary { display:grid; grid-template-columns:88px minmax(0,1fr) 26px; align-items:start; gap:22px; padding:26px; cursor:pointer; list-style:none; }
.bn-event summary::-webkit-details-marker { display:none; }
.bn-event summary:hover .bn-event__title { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.bn-time { font-size:var(--text-small); line-height:1.7; padding-top:2px; }
.bn-time > span { display:block; color:var(--muted); }
.bn-kind { font-size:var(--text-small); letter-spacing:.06em; text-transform:uppercase; color:var(--bn-red); display:block; margin-bottom:9px; }
.bn-event__title { display:block; font-size:clamp(20px,2vw,28px); line-height:1.3; letter-spacing:-.03em; }
.bn-event__people { display:block; font-size:var(--text-small); color:var(--muted); margin-top:10px; max-width:85ch; line-height:1.7; }
.bn-expand { font-size:28px; line-height:1; transition:transform .15s; }
.bn-event[open] .bn-expand { transform:rotate(45deg); }
.bn-event[open] { background:#e9e7df; }
.bn-event__body { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:32px; padding:0 26px 30px 136px; }
.bn-event__body p { font-size:var(--text-small); line-height:1.8; }
.bn-related { padding:0; list-style:none; margin:22px 0 0; }
.bn-related li { margin:12px 0; font-size:var(--text-small); }
.bn-poster { display:block; font-size:var(--text-small); text-decoration:none; }
.bn-poster img { width:100%; height:auto; display:block; border:1px solid var(--line); margin-bottom:8px; }
.bn-source-note { border-inline-start:2px solid var(--accent-alt); padding-inline-start:14px; font-size:var(--text-small)!important; color:var(--muted); max-width:95ch; margin-top:24px!important; }
.bn-empty { border:1px solid var(--line); padding:30px; }
.bn-alongside { display:grid; grid-template-columns:1fr 1fr; gap:48px; background:var(--ink); color:var(--paper); padding:30px; margin-top:32px; }
.editorial .bn-alongside h3 { font-size:30px; line-height:1.2; margin:0; color:inherit; }
.bn-alongside p,.bn-alongside a { font-size:var(--text-small); }
.bn-alongside .ed-kicker { color:#cfcbbf; font-size:var(--text-small); }
.bn-library-filters { margin-bottom:28px; }
.bn-library-group + .bn-library-group { margin-top:34px; }
.editorial .bn-group-title { margin:0 0 18px; font-size:var(--text-small); letter-spacing:.025em; text-transform:uppercase; }
.bn-texts { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); }
.bn-text-card { display:grid; grid-template-columns:28px minmax(0,1fr) 22px; gap:16px; align-items:start; padding:22px 24px 24px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.bn-text-card:nth-child(even) { padding-inline-start:24px; padding-inline-end:0; border-inline-start:1px solid var(--line); }
.bn-text-card:hover { background:#e8e6de; }
.bn-text-card__number { font-size:var(--text-small); color:var(--muted); margin-top:4px; }
.bn-text-card__title { display:block; font-size:21px; line-height:1.35; letter-spacing:-.025em; }
.bn-text-card__meta { display:block; font-size:var(--text-small); color:var(--muted); margin-top:12px; }
.bn-text-card .ed-arrow { margin-top:4px; }
.bn-residency { display:grid; grid-template-columns:1.25fr .75fr; border:1px solid var(--line); }
.bn-residency__copy { padding:40px; display:flex; flex-direction:column; }
.editorial .bn-residency__copy h3 { font-size:clamp(30px,3.5vw,48px); line-height:1.18; margin:18px 0 26px; max-width:17ch; }
.bn-residency__copy > p { font-size:var(--text-small); }
.bn-residency__copy .ed-kicker { font-size:var(--text-small); }
.bn-residency__place { margin-top:auto!important; padding-top:40px; font-size:var(--text-small)!important; }
.bn-residency__poster { border-inline-start:1px solid var(--line); display:block; background:#dedbd1; }
.bn-residency__poster img { width:100%; height:100%; object-fit:contain; display:block; }
.bn-people { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:34px; border-top:1px solid var(--line); }
.bn-person { display:flex; justify-content:space-between; gap:18px; padding:24px 18px; border-bottom:1px solid var(--line); border-inline-end:1px solid var(--line); text-decoration:none; }
.bn-person:nth-child(3n) { border-inline-end:0; }
.bn-person:nth-child(3n+1) { padding-inline-start:0; }
.bn-person:hover .bn-person__name { text-decoration:underline; }
.bn-person__name { display:block; font-size:20px; line-height:1.4; }
.bn-person__role { display:block; font-size:var(--text-small); color:var(--muted); margin-top:10px; line-height:1.7; }
.bn-person .ed-arrow { flex-shrink:0; margin-top:5px; }
.bn-credits { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.editorial .bn-credits h3 { font-size:25px; margin:0 0 20px; }
.bn-credits p { font-size:var(--text-small); line-height:1.9; }
.bn-credits img { width:100%; height:auto; max-width:510px; margin-top:22px; }
.bn-team { margin-bottom:24px!important; }
.bn-team > div { display:flex; gap:24px; justify-content:space-between; border-bottom:1px solid var(--line); padding:10px 0; font-size:var(--text-small); }
.bn-team dd { margin:0; text-align:end; color:var(--muted); }
.bn-credits a { font-size:var(--text-small); }
.bn-downloads { margin-top:60px; display:grid; grid-template-columns:1fr 1fr; gap:50px; background:var(--ink); color:var(--paper); padding:42px; scroll-margin-top:110px; }
.editorial .bn-downloads h2 { font-size:clamp(30px,3.5vw,48px); line-height:1.12; color:inherit; margin:20px 0; max-width:12ch; }
.bn-downloads p { font-size:var(--text-small); }
.bn-downloads > div:last-child { display:flex; flex-direction:column; align-items:start; gap:24px; justify-content:center; }
.bn-downloads a { font-size:var(--text-small); }
.bn-programme-downloads { display:flex; flex-direction:column; gap:12px; }
/* Full-text readers work without JavaScript and can be linked individually. */
.bn-reader__top { display:flex; justify-content:space-between; gap:24px; border-block:1px solid var(--line); padding:18px 0; font-size:var(--text-small); }
.bn-reader__top a { text-decoration:none; }
.bn-reader__header { padding:44px 0 36px; border-bottom:1px solid var(--line); }
.editorial .bn-reader__header h1 { margin:20px 0; font-size:clamp(32px,4.6vw,66px); line-height:1.13; max-width:24ch; }
.bn-byline { font-size:16px; }
.bn-reader__intro { max-width:75ch; font-size:15px; line-height:1.85; margin:26px 0 0!important; }
.bn-reader__layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:clamp(30px,6vw,90px); padding-top:32px; }
.bn-reader__tools { position:sticky; top:112px; max-height:calc(100vh - 135px); overflow:auto; padding:5px 8px 12px 0; }
.bn-reader__aside nav { display:flex; flex-direction:column; margin-bottom:30px; }
.bn-reader__aside nav a { font-size:var(--text-small); padding:13px 8px; border-top:1px solid var(--line); text-decoration:none; }
.bn-reader__aside nav a[aria-current] { border-inline-start:3px solid var(--bn-red); background:#e5e2d9; }
.bn-source-link { display:block; font-size:var(--text-small); margin-bottom:16px; }
.bn-source-link small { display:block; color:var(--muted); margin-top:7px; }
.bn-print { background:transparent; color:var(--ink); border:1px solid var(--line); padding:10px 15px; min-height:44px; font:inherit; font-size:var(--text-small); border-radius:0; cursor:pointer; }
.bn-reading-text { max-width:820px; min-width:0; font-family:var(--font-ar); font-size:18px; line-height:2.15; padding-bottom:36px; }
.bn-reading-text[lang="en"] { font-family:var(--font); font-size:17px; line-height:1.85; }
.editorial .bn-reading-text[lang="en"] h3 { font-family:var(--font); line-height:1.5; }
.bn-reading-label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:var(--text-small); color:var(--muted); border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:30px; }
.editorial .bn-reading-text .bn-original-title { font-family:var(--font-ar); font-size:24px; line-height:1.7; letter-spacing:0; text-transform:none; margin:0 0 30px; }
.bn-reading-text p { margin-bottom:1.35em; overflow-wrap:anywhere; }
.editorial .bn-reading-text h3 { font-family:var(--font-ar); font-size:21px; line-height:1.8; letter-spacing:0; margin:2em 0 1em; font-weight:600; }
.bn-reader__poster { max-width:500px; margin:0 auto 32px!important; }
.bn-reader__poster img { width:100%; height:auto; display:block; border:1px solid var(--line); }
.bn-transcription-note { border-top:1px solid var(--line); padding-top:20px; font-size:var(--text-small); color:var(--muted); margin-top:40px!important; }
.bn-reader__next { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); margin-top:30px; gap:32px; }
.bn-reader__next a { text-decoration:none; padding:26px 0; }
.bn-reader__next small { display:block; font-size:var(--text-small); margin-bottom:12px; color:var(--muted); text-transform:uppercase; }
.bn-reader__next span { font-size:21px; line-height:1.5; }
/* Match the same structure in Arabic, with logical spacing and readable titles. */
.lang-ar .bn-hero__copy { padding:36px 0 40px 40px; }
.lang-ar .bn-hero__art { padding:36px 32px 0 0; }
.lang-ar .bn-hero h2 { max-width:none; font-size:clamp(38px,4.8vw,68px); }
.lang-ar .bn-event__body { padding:0 136px 30px 26px; }
.lang-ar .bn-event__title,.lang-ar .bn-text-card__title { letter-spacing:0; }
.lang-ar .bn-date { padding:28px 0 24px 18px; }
.lang-ar .bn-text-card { padding:22px 0 24px 24px; }
.lang-ar .bn-text-card:nth-child(even) { padding-inline-start:24px; padding-inline-end:0; }
.lang-ar .bn-reader__header h1 { max-width:27ch; }
@media(min-width:1500px) { .bn-hero__copy { padding-top:44px; } }
@media(max-width:1050px) {
 .bn-controls { align-items:start; flex-direction:column; }
 .bn-day { grid-template-columns:130px minmax(0,1fr); }
 .bn-event summary { gap:16px; padding:24px 18px; grid-template-columns:72px minmax(0,1fr) 24px; }
 .bn-event__body,.lang-ar .bn-event__body { padding:0 22px 25px; grid-template-columns:minmax(0,1fr) 130px; gap:20px; }
 .bn-reader__layout { grid-template-columns:200px minmax(0,1fr); gap:32px; }
 .bn-text-card__title { font-size:19px; }
 .bn-residency__copy { padding:28px; }
}
@media(max-width:760px) {
 .bn-edition { font-size:var(--text-small); }
 .bn-nav { justify-content:flex-start; gap:10px 22px; }
 .bn-nav a { font-size:var(--text-small); }
 .bn-hero,.bn-alongside,.bn-residency,.bn-credits,.bn-downloads { grid-template-columns:1fr; }
 .bn-hero__copy,.lang-ar .bn-hero__copy { padding:30px 0; }
 .editorial .bn-hero h2 { font-size:clamp(48px,12vw,76px); max-width:9ch; }
 .lang-ar .bn-hero h2 { max-width:none; font-size:42px; }
 .bn-hero__art,.lang-ar .bn-hero__art { border-inline-start:0; border-top:1px solid var(--line); padding:24px 0 0; }
 .bn-hero__art figure { max-width:none; }
 .bn-archive-line strong { font-size:60px; }
 .bn-archive-line p { max-width:none; font-size:15px; }
 .bn-section { padding-top:44px; scroll-margin-top:100px; }
 .bn-heading { grid-template-columns:28px 1fr; gap:14px; }
 .bn-heading > p { grid-column:2; justify-self:start; font-size:var(--text-small); margin-top:8px; }
 .bn-heading h2 { max-width:none; }
 .bn-number { padding-top:4px; }
 .bn-controls { gap:14px; }
 .bn-day-filters { width:100%; gap:6px; }
 .bn-day-filters button,.bn-day-filters button:last-child { border:1px solid var(--line); flex:1 0 21%; padding:9px 7px; }
 .bn-day-filters button:first-child { flex-basis:100%; }
 .bn-day-filters button span { font-size:16px; }
 .bn-type-filter { flex-direction:row; align-items:center; width:100%; font-size:var(--text-small); gap:14px; }
 .bn-day { grid-template-columns:1fr; }
 .editorial .bn-date { flex-direction:row; align-items:center; gap:16px; padding:22px 0; }
 .bn-date > span:first-child { font-size:52px; }
 .bn-day__sessions { border-inline-start:0; }
 .bn-event summary { padding:22px 0; grid-template-columns:65px minmax(0,1fr) 20px; gap:14px; border-top:1px solid var(--line); }
 .bn-event + .bn-event { border-top:0; }
 .bn-event[open] summary { padding-inline:12px; }
 .bn-time { font-size:var(--text-small); }
 .bn-event__title { font-size:20px; }
 .bn-kind { font-size:var(--text-small); }
 .bn-event__people { font-size:var(--text-small); }
 .bn-event__body,.lang-ar .bn-event__body { padding:0 16px 24px; grid-template-columns:1fr; }
 .bn-poster { width:min(180px,100%); }
 .bn-alongside { gap:20px; padding:24px; }
 .editorial .bn-alongside h3 { font-size:27px; }
 .bn-library-filters { gap:6px; }
 .bn-library-filters button,.bn-library-filters button:last-child { border:1px solid var(--line); }
 .bn-texts { grid-template-columns:1fr; }
 .bn-text-card,.bn-text-card:nth-child(even),.lang-ar .bn-text-card,.lang-ar .bn-text-card:nth-child(even) { border-inline-start:0; padding:20px 0; gap:12px; grid-template-columns:22px minmax(0,1fr) 20px; }
 .bn-text-card__title { font-size:20px; }
 .bn-residency__copy { padding:24px; }
 .bn-residency__poster { border-inline-start:0; border-top:1px solid var(--line); }
 .bn-residency__poster img { max-height:560px; }
 .bn-people { grid-template-columns:1fr 1fr; }
 .bn-person:nth-child(n) { border-inline-end:1px solid var(--line); padding:20px 14px; }
 .bn-person:nth-child(2n) { border-inline-end:0; padding-inline-end:0; }
 .bn-person:nth-child(2n+1) { padding-inline-start:0; }
 .bn-person__name { font-size:18px; }
 .bn-credits { gap:32px; }
 .bn-downloads { margin-top:40px; padding:28px 22px; gap:18px; }
 .bn-reader__top { flex-direction:column; gap:12px; font-size:var(--text-small); }
 .bn-reader__header { padding:26px 0; }
 .bn-reader__intro { font-size:var(--text-small); }
 .bn-reader__layout { display:flex; flex-direction:column-reverse; gap:32px; }
 .bn-reader__tools { position:static; max-height:none; }
 .bn-reader__aside { border-top:1px solid var(--line); padding-top:24px; }
 .bn-reading-text { font-size:17px; line-height:2.1; padding:0; }
 .bn-reading-text[lang="en"] { font-size:16px; }
 .editorial .bn-reading-text h3 { font-size:20px; }
 .bn-reader__next { gap:24px; }
 .bn-reader__next span { font-size:17px; }
}
@media(max-width:390px) { .bn-people { grid-template-columns:1fr; } .bn-person:nth-child(n) { border-inline-end:0; padding:20px 0; } .bn-event summary { grid-template-columns:55px minmax(0,1fr) 16px; gap:10px; } .bn-event__title { font-size:18px; } }
@media(prefers-reduced-motion:reduce) { .bn-expand { transition:none; } }
@media print {
 .site-header,.site-footer,.bn-reader__top,.bn-reader__aside,.bn-reader__next,.bn-print { display:none!important; }
 body.editorial .bn-reader.site-main { padding:0; width:100%; }
 .bn-reader__layout { display:block; }
 .bn-reading-text,.bn-reading-text[lang="en"] { max-width:none; color:#000; font-size:12pt; }
 .bn-reader__header h1 { font-size:26pt!important; }
 .bn-reading-text p,.bn-reading-text h3 { orphans:3; widows:3; }
}

.bn-reading-text .bn-verse { white-space:pre-line; border-inline-start:2px solid var(--accent-alt); padding-inline-start:22px; margin-block:28px; }

.bn-reading-text .bn-note { font-size:var(--text-small); border-top:1px solid var(--line); padding-top:20px; line-height:2; }

/* Standalone controls have room to tap; inline links keep their reading flow. */
.bn-nav { padding-block:6px; gap:4px 24px; }
.bn-nav a,.bn-edition > a,.bn-actions > a,.bn-related a,.bn-alongside a,.bn-credits a,
.bn-downloads a,.bn-reader__top a { display:inline-flex; align-items:center; min-height:44px; }
.bn-time { overflow-wrap:normal; white-space:nowrap; }
.bn-source-link small { font-size:var(--text-small); }
.bn-hero__copy > p:not(.ed-kicker),.bn-reader__intro { font-size:var(--text-body); }
.lang-ar .bn-day-filters button,.lang-ar .bn-library-filters button { line-height:1.7; }
.lang-ar .bn-hero__copy > p:not(.ed-kicker),.lang-ar .bn-event__body p,.lang-ar .bn-reading-text { font-size:18px; }
@media(max-width:760px) {
 .bn-day-filters button { flex-basis:30%; }
 .bn-event summary,.bn-event[open] summary { grid-template-columns:76px minmax(0,1fr) 20px; gap:12px; }
 .bn-edition { flex-wrap:wrap; }
 .bn-team > div { flex-wrap:wrap; gap:4px 20px; }
}

/* responsive QA 2026-11-05: section headings without numbers (house rule): title and description share the row */
.bn-number { display:none; }
.bn-heading { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
@media(max-width:760px) { .bn-heading { grid-template-columns:minmax(0,1fr); } .bn-heading > p { grid-column:auto; } }
/* Arabic programme: times on the reading side of their column (the element itself is dir=ltr, so physical right) */
.lang-ar .bn-time { text-align:right; }
