/* thecrew.net.au modern robustness layer (additive; original style preserved) */
html { -webkit-text-size-adjust: 100%; }
img, object, embed, video, iframe { max-width: 100%; }
/* Neutralize the standards-mode inline-image baseline gap so the new HTML5
   doctype does not shift the original quirks-mode table-sliced layout. */
img { vertical-align: bottom; }
/* Only relax fixed image heights on small screens so nothing overflows a phone. */
@media (max-width: 640px) { img, object, embed { height: auto; } }

/* Self-contained lightbox for revived video / youtube / image content. */
.crew-modal { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 99999; }
.crew-modal.open { display: flex; }
.crew-modal video, .crew-modal img { max-width: 92vw; max-height: 88vh; background: #000; }
.crew-modal iframe { width: 92vw; height: 51.75vw; max-height: 88vh; border: 0; background: #000; }
.crew-modal .crew-modal-msg { color: #fff; font: 400 16px/1.5 system-ui, sans-serif; max-width: 80vw; text-align: center; padding: 1em; }
.crew-modal-close { position: fixed; top: 10px; right: 18px; color: #fff; font: 700 30px/1 system-ui, sans-serif; cursor: pointer; z-index: 100000; text-shadow: 0 1px 3px #000; }
.crew-video, .crew-lightbox, .crew-embed, .crew-video-missing { cursor: pointer; }
