/* World gallery — follows Graphic Novels editorial typography and colors. */
.tw-world{--tw-orange:#ef9b40;min-height:calc(100svh - 100px);background:#0a1930;color:#f6f1e8;padding:clamp(22px,2.5vw,40px) 3% 50px;font-family:Arial,Helvetica,sans-serif}
.tw-world__inner{width:100%;max-width:none;margin:0}
.tw-world__intro{margin:0 0 clamp(24px,3vw,42px)}
.tw-world__intro h1{margin:0;font:italic 900 clamp(38px,5vw,88px)/1 Impact,'Arial Narrow',Arial,sans-serif;text-transform:uppercase;letter-spacing:.01em}
.tw-world__rule{height:2px;background:linear-gradient(90deg,var(--tw-orange),transparent);margin-top:16px}
.tw-world__intro p{margin:14px 0 0;font-size:clamp(12px,1.2vw,19px);letter-spacing:.15em;text-transform:uppercase;line-height:1.5}
.tw-world__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.1vw,18px)}
.tw-world__item{display:block;min-width:0;overflow:hidden;background:#101c2a;text-decoration:none;line-height:0}
.tw-world__item img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;transition:transform .2s ease}
.tw-world__item:hover img{transform:scale(1.025)}
.tw-world__item:focus-visible{outline:3px solid var(--tw-orange);outline-offset:3px}
.tw-world__empty{font-size:16px;color:#d1c4b5}
@media(max-width:850px){.tw-world{padding:24px 3% 40px}.tw-world__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tw-world__intro h1{font-size:clamp(36px,10vw,56px)}.tw-world__intro p{font-size:11px}.tw-world__grid{gap:9px}}
@media(prefers-reduced-motion:reduce){.tw-world__item img{transition:none}}

/* Captioned World gallery: keep captions outside the clickable artwork. */
.tw-world__item{margin:0;overflow:visible;line-height:normal;background:transparent}
.tw-world__image-link{display:block;overflow:hidden;line-height:0;background:#101c2a}
.tw-world__image-link img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain}
.tw-world__image-link:hover img{transform:scale(1.025)}
.tw-world__image-link:focus-visible{outline:3px solid var(--tw-orange);outline-offset:3px}
.tw-world__caption{margin:0;padding:10px 3px 4px;text-align:center;color:var(--tw-orange);font:700 clamp(11px,.9vw,14px)/1.4 Arial,Helvetica,sans-serif;letter-spacing:.05em}

/* Compact editorial gallery: remove artificial letterboxing and wasted vertical space. */
.tw-world{padding-top:clamp(12px,1.3vw,20px);padding-bottom:30px}
.tw-world__intro{margin-bottom:clamp(12px,1.5vw,22px)}
.tw-world__rule{margin-top:8px}
.tw-world__intro p{margin-top:8px}
.tw-world__grid{column-gap:clamp(9px,1vw,16px);row-gap:clamp(10px,1.2vw,18px);align-items:start}
.tw-world__item{align-self:start}
.tw-world__image-link{background:transparent}
.tw-world__item img,.tw-world__image-link img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.tw-world__caption{padding:5px 2px 0;line-height:1.25}
@media(max-width:850px){.tw-world{padding-top:14px;padding-bottom:28px}.tw-world__intro{margin-bottom:16px}}
@media(max-width:520px){.tw-world__grid{row-gap:12px}.tw-world__caption{padding-top:5px}}

/* iOS gallery sizing: override inherited tile/image styles and prevent caption clipping. */
.tw-world__grid{width:100%}
.tw-world__item{display:block;min-width:0;margin:0;overflow:visible}
.tw-world__image-link{display:block;width:100%;height:auto;line-height:0;overflow:hidden}
.tw-world__image-link img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain}
.tw-world__caption{display:block;position:static;overflow-wrap:anywhere;white-space:normal;color:#ef9b40;font:700 13px/1.3 Arial,Helvetica,sans-serif;text-align:center;padding:5px 2px 0;margin:0}
@media(max-width:850px){
 .tw-world__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
 .tw-world__intro{margin-bottom:14px}
 .tw-world__item{width:100%}
 .tw-world__caption{font-size:12px;line-height:1.3;padding-top:5px}
}
