/* Unified media collections. All presentation rules are scoped to the hub or its dialogs. */
.media-hub {
  --mh-emerald: #0b4b39;
  --mh-deep: #06382c;
  --mh-cream: #f7edd7;
  --mh-border: #bda36b;
  --mh-muted: #65715e;
}
.media-hub .media-inner { padding-top: 70px; padding-bottom: 58px; }
.media-hub .mh-heading { gap: 28px; margin-bottom: 28px; }
.media-hub .mh-heading h2 { margin-bottom: 0; }
.media-hub .mh-heading > p { max-width: 275px; font-size: 16px; line-height: 1.7; }
.media-hub .mh-anchor { height: 0; margin: 0; padding: 0; scroll-margin-top: 120px; }
.media-hub .mh-tabs {
  display: flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%;
  padding: 6px; margin: 0 0 27px; border: 1px solid #b7a477;
  border-radius: 18px; background: #fbf4e2a8;
  box-shadow: inset 0 1px #fff9, 0 5px 15px #4f5a3010;
}
.media-hub .mh-tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 44px; padding: 10px 24px; border: 1px solid transparent;
  border-radius: 12px; background: transparent; color: #244936;
  font: 700 14px/1.3 var(--sans); transition: background .18s, box-shadow .18s, color .18s;
}
.media-hub .mh-tabs button:hover { background: #e3d9ba80; }
.media-hub .mh-tabs button[aria-selected="true"] {
  color: #fff2d3; border-color: #12684b;
  background: linear-gradient(135deg, #126247, #073c2e);
  box-shadow: inset 0 1px #ffffff24, 0 4px 10px #0b3a2926;
}
.media-hub .mh-tab-count {
  display: inline-grid; place-items: center; min-width: 24px; min-height: 24px;
  padding: 2px 6px; border-radius: 8px; background: #193d3010;
  font: 600 12px/1.25 var(--sans); color: #58705b;
}
.media-hub [aria-selected="true"] .mh-tab-count { color: #f7deb0; background: #ffffff15; }
.media-hub .mh-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; align-items: stretch; }
.media-hub .mh-card {
  min-width: 0; display: flex; flex-direction: column; padding: 12px 12px 0;
  overflow: hidden; border: 1px solid #bea469; border-radius: 24px;
  background: linear-gradient(155deg, #fff7e5e8, #ede0c4e8);
  box-shadow: inset 0 1px #fff, 0 13px 26px #4d4e2c12;
  transition: border-color .2s, box-shadow .2s;
}
.media-hub .mh-card.is-active,
.media-hub .mh-card[data-active="true"] {
  border-color: #3f7755; box-shadow: inset 0 1px #fff, 0 0 0 1px #3f77551c, 0 15px 30px #1e53371c;
}
.media-hub .mh-card-art {
  display: block; position: relative; width: 100%; min-height: 224px;
  flex: 0 0 224px; overflow: hidden; border: 1px solid #bda267;
  border-radius: 15px; padding: 0; text-align: left; color: #f7ebc8;
  isolation: isolate;
}
.media-hub button.mh-card-art { cursor: pointer; }
.media-hub button.mh-card-art:focus-visible { outline-offset: -5px; }
.media-hub .mh-audio-art {
  background: radial-gradient(ellipse at 10% 0%, #39846688, transparent 67%), linear-gradient(130deg, #155b43, #032e25);
  box-shadow: inset 0 1px #ffffff26;
}
.media-hub .mh-audio-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-radial-gradient(ellipse at 48% 44%, transparent 0 24px, #e4c8890b 25px 26px);
}
.media-hub .mh-art-eyebrow {
  position: absolute; top: 18px; left: 19px; right: 19px;
  color: #e0d2aa; font: 700 12px/1.5 var(--sans); letter-spacing: 2px;
}
.media-hub .mh-record {
  position: absolute; top: 35px; left: 50%; display: grid; place-items: center;
  width: 145px; height: 145px; transform: translateX(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, #082f26 0 4px, #28573f 5px, #082f26 6px 8px);
  border: 1px solid #a58f54; box-shadow: 0 14px 22px #001e1c55, inset 0 0 0 7px #0b3b2d;
}
.media-hub .mh-record::after { content: ""; position: absolute; inset: 10px; border: 1px solid #d3ad5a50; border-radius: 50%; pointer-events: none; }
.media-hub .mh-record img { display: block; width: 81px; height: 81px; object-fit: contain; filter: drop-shadow(0 3px 5px #001f1a88); }
.media-hub .mh-art-caption { position: absolute; left: 19px; bottom: 17px; max-width: calc(100% - 97px); color: #ead6a2; font: 12px/1.45 var(--sans); }
.media-hub .mh-art-caption strong { display: block; color: #fff1cc; font: 500 25px/1.1 var(--serif); }
.media-hub .mh-big-play {
  position: absolute; right: 18px; bottom: 17px; display: grid; place-items: center;
  width: 53px; height: 53px; padding: 0; border-radius: 50%; border: 1px solid #d2a953;
  color: #174735; background: linear-gradient(140deg, #ffe6a1, #c29942);
  box-shadow: inset 0 1px #fff9, 0 6px 16px #002d2055; transition: transform .18s, box-shadow .18s;
}
.media-hub .mh-big-play:hover { transform: scale(1.06); box-shadow: inset 0 1px #fff9, 0 7px 22px #dfb85c38; }
.media-hub .mh-big-play .ph-icon { width: 27px; height: 27px; }
.media-hub .mh-video-art {
  background: radial-gradient(ellipse at 20% 0, #78997045, transparent 65%), linear-gradient(145deg, #194e3d, #09362b);
}
.media-hub .mh-video-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(145deg, transparent 0 29px, #edd09c10 30px 31px, transparent 32px 62px); }
.media-hub .mh-video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-hub .mh-video-art::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #062b2110 20%, #052e2390 100%); }
.media-hub .mh-video-art > :not(img) { z-index: 1; }
.media-hub .mh-art-play {
  position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid #e4c274bc; color: #f6dc9c; background: #ffffff0c;
  box-shadow: 0 0 0 9px #ffffff04, inset 0 1px #ffffff22;
  transition: background .18s, box-shadow .18s;
}
.media-hub .mh-art-play .ph-icon { width: 29px; height: 29px; }
.media-hub .mh-video-art:hover .mh-art-play { background: #e3c27020; box-shadow: 0 0 0 12px #ffffff06; }
.media-hub .mh-video-cover-text { position: absolute; bottom: 20px; left: 20px; right: 20px; font: 500 29px/1.1 var(--serif); color: #f9e9bb; }
.media-hub .mh-gallery-art { background: #134633; padding: 0; }
.media-hub .mh-gallery-mosaic { display: grid; grid-template-columns: 1.18fr .9fr; grid-template-rows: 1fr 1fr; gap: 4px; width: 100%; height: 224px; }
.media-hub .mh-gallery-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .45s; }
.media-hub .mh-gallery-mosaic img:first-child { grid-row: 1 / -1; object-position: 40% 50%; }
.media-hub .mh-gallery-mosaic img:nth-child(2) { object-position: right bottom; }
.media-hub .mh-gallery-mosaic img:nth-child(3) { object-position: 64% 20%; }
.media-hub .mh-gallery-art:hover img { transform: scale(1.025); }
.media-hub .mh-gallery-art .mh-art-caption { right: 14px; bottom: 15px; left: 15px; max-width: none; width: fit-content; padding: 7px 11px; border: 1px solid #e2c47b70; border-radius: 9px; color: #ffebc2; background: #073e30de; backdrop-filter: blur(8px); }
.media-hub .mh-gallery-art-label { position: absolute; bottom: 15px; left: 15px; max-width: calc(100% - 30px); padding: 7px 11px; border: 1px solid #e2c47b70; border-radius: 9px; color: #ffebc2; background: #073e30de; backdrop-filter: blur(8px); font: 500 14px/1.4 var(--sans); }
.media-hub .mh-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 22px 12px 0; }
.media-hub .mh-card-kicker { margin: 0 0 9px; color: #8b6a32; font: 800 12px/1.4 var(--sans); letter-spacing: 1.5px; }
.media-hub .mh-card-title { margin: 0 0 7px; color: #143f30; font: 600 29px/1.12 var(--serif); letter-spacing: -.25px; overflow-wrap: anywhere; }
.media-hub .mh-card-description { margin: 0 0 17px; color: #5c6b58; font: 400 16px/1.65 var(--sans); }
.media-hub #mh-current-performer { margin: 0 0 2px; color: #355844; font: 500 16px/1.55 var(--sans); }
.media-hub #mh-current-event { margin: 0; color: #79755e; font: 400 12px/1.5 var(--sans); }
.media-hub .mh-player { margin-top: 18px; }
.media-hub .mh-seek-line { display: flex; align-items: center; gap: 9px; }
.media-hub .mh-seek-line > span { min-width: 34px; color: #4c6552; font: 500 14px/1 var(--sans); font-variant-numeric: tabular-nums; }
.media-hub .mh-seek-line > span:last-child { text-align: right; }
.media-hub .mh-player input[type="range"] { min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent; appearance: auto; accent-color: #b28a36; cursor: pointer; }
.media-hub #mh-seek { flex: 1; width: 100%; height: 20px; }
.media-hub .mh-player-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.media-hub .mh-player-controls button { display: inline-grid; place-items: center; min-width: 31px; min-height: 32px; padding: 4px; border: 0; background: transparent; color: #355744; font: 600 14px/1.2 var(--sans); }
.media-hub .mh-player-controls button:hover { background: #294c3210; border-radius: 7px; }
.media-hub .mh-player-controls .ph-icon { width: 18px; height: 18px; }
.media-hub .mh-volume-control { display: flex; align-items: center; gap: 5px; min-width: 0; margin-left: auto; }
.media-hub #mh-volume { width: 66px; height: 22px; }
.media-hub .mh-player-status { min-height: 18px; margin: 7px 0 0; color: #64745d; font: 400 14px/1.5 var(--sans); }
.media-hub #mh-audio-source { align-self: flex-start; margin-top: 7px; color: #82642f; font: 500 12px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.media-hub .mh-availability { align-self: flex-start; display: inline-flex; align-items: center; padding: 5px 10px; margin: 2px 0 18px; border: 1px solid #b7a47787; border-radius: 8px; background: #e9dfc564; color: #6e6e50; font: 600 14px/1.4 var(--sans); }
.media-hub .mh-card-link {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  width: calc(100% + 24px); min-height: 58px; margin: auto -12px 0; padding: 17px 12px;
  border: 0; border-top: 1px solid #c9b37d70; background: transparent;
  color: #174d36; text-align: left; font: 700 14px/1.4 var(--sans); transition: background .18s;
}
.media-hub .mh-audio-card .mh-card-link { margin-top: 18px; }
.media-hub .mh-card-link:hover { background: #15472f09; }
.media-hub .mh-card-count { max-width: 104px; color: #7b765b; text-align: right; font: 400 12px/1.4 var(--sans); }
.media-hub .mh-library-shell { margin-top: 30px; border: 1px solid #baa371b0; border-radius: 22px; background: linear-gradient(135deg, #faf4e3c9, #e6e2cbb3); box-shadow: inset 0 1px #fff9; }
.media-hub .mh-panel { min-width: 0; padding: 28px; }
.media-hub .mh-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.media-hub .mh-panel-heading h3 { margin: 4px 0 5px; color: #183f2f; font: 600 34px/1.13 var(--serif); }
.media-hub .mh-panel-heading p { margin: 0; color: #65715d; font: 400 14px/1.6 var(--sans); }
.media-hub .mh-panel-action, .mh-dialog .mh-panel-action { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px; border: 1px solid #a78f58; border-radius: 10px; background: #ffffff28; color: #25533b; font: 600 14px/1.4 var(--sans); }
.media-hub .mh-panel-action:hover, .mh-dialog .mh-panel-action:hover { background: #fdf7e7; }
.media-hub .mh-filters, .mh-dialog .mh-filters { display: grid; grid-template-columns: 1.5fr .85fr 1fr .9fr auto; gap: 12px; align-items: end; margin-bottom: 22px; padding: 0; border: 0; }
.media-hub .mh-field, .mh-dialog .mh-field { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; color: #39573e; font: 600 14px/1.4 var(--sans); }
.media-hub .mh-field label, .mh-dialog .mh-field label { font: inherit; }
.media-hub .mh-field input, .media-hub .mh-field select, .mh-dialog .mh-field input, .mh-dialog .mh-field select,
.mh-dialog .mh-modal-tools input, .mh-dialog .mh-modal-tools select {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px;
  border: 1px solid #c0b086; border-radius: 9px; background: #fff9ebe8;
  color: #254a35; font: 400 14px/1.45 var(--sans); box-shadow: inset 0 1px #fff7;
}
.media-hub .mh-field input::placeholder, .mh-dialog input::placeholder { color: #828571; opacity: 1; }
.media-hub .mh-field select, .mh-dialog .mh-field select, .mh-dialog .mh-modal-tools select { appearance: none; padding-right: 31px; background-image: url("assets/phosphor/caret-down.svg"); background-size: 14px; background-position: right 11px center; background-repeat: no-repeat; }
.media-hub .mh-reset, .mh-dialog .mh-reset { min-height: 44px; padding: 9px 12px; border: 1px solid #bca36b; border-radius: 9px; color: #586146; background: transparent; font: 500 14px/1.4 var(--sans); }
.media-hub .mh-reset:hover, .mh-dialog .mh-reset:hover { background: #c7b37b1f; }
.media-hub .mh-track-list, .mh-dialog .mh-track-list, .mh-dialog .mh-modal-list { display: grid; gap: 9px; }
.media-hub .mh-track, .mh-dialog .mh-track { display: grid; grid-template-columns: 43px minmax(0, 1fr) minmax(100px, .6fr) 44px; align-items: center; gap: 15px; min-width: 0; padding: 17px; border: 1px solid #c6b37f80; border-radius: 13px; background: linear-gradient(120deg, #fff9eac2, #e9e3ccc2); transition: border-color .18s, background .18s; }
.media-hub .mh-track.is-playing, .mh-dialog .mh-track.is-playing { border-color: #4d805a; background: linear-gradient(120deg, #e8ebd8, #d8e3ce); }
.media-hub .mh-track-play, .mh-dialog .mh-track-play { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #b7964c; border-radius: 50%; background: linear-gradient(140deg, #195e43, #093e2e); color: #f4d88e; box-shadow: inset 0 1px #ffffff26; }
.media-hub .mh-track-play .ph-icon, .mh-dialog .mh-track-play .ph-icon { width: 21px; height: 21px; }
.media-hub .mh-track-info, .mh-dialog .mh-track-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.media-hub .mh-track-info strong, .mh-dialog .mh-track-info strong { color: #254b34; font: 700 16px/1.45 var(--sans); overflow-wrap: anywhere; }
.media-hub .mh-track-info span, .mh-dialog .mh-track-info span { color: #66745d; font: 400 14px/1.5 var(--sans); }
.media-hub .mh-track-event, .mh-dialog .mh-track-event { color: #6d7156; font: 500 14px/1.5 var(--sans); }
.media-hub .mh-track-duration, .mh-dialog .mh-track-duration { text-align: right; color: #476343; font: 600 14px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.media-hub .mh-photo-grid, .media-hub .mh-video-grid, .mh-dialog .mh-photo-grid, .mh-dialog .mh-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.media-hub .mh-photo-item, .media-hub .mh-video-item, .mh-dialog .mh-photo-item, .mh-dialog .mh-video-item { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #bba16a; border-radius: 14px; background: #f6ecd6; text-align: left; box-shadow: 0 5px 13px #41512b0c; }
.media-hub .mh-photo-item > img, .media-hub .mh-video-item > img, .mh-dialog .mh-photo-item > img, .mh-dialog .mh-video-item > img { display: block; width: 100%; height: 180px; object-fit: cover; transition: filter .2s; }
.media-hub .mh-photo-item:hover img, .media-hub .mh-video-item:hover img, .mh-dialog .mh-photo-item:hover img, .mh-dialog .mh-video-item:hover img { filter: brightness(1.08); }
.media-hub .mh-photo-item > span, .media-hub .mh-video-item > div, .mh-dialog .mh-photo-item > span, .mh-dialog .mh-video-item > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 15px 16px; }
.media-hub .mh-photo-item strong, .media-hub .mh-video-item strong, .mh-dialog .mh-photo-item strong, .mh-dialog .mh-video-item strong { color: #234b35; font: 600 21px/1.2 var(--serif); }
.media-hub .mh-photo-item small, .media-hub .mh-video-item span, .mh-dialog .mh-photo-item small, .mh-dialog .mh-video-item span { color: #74765c; font: 400 12px/1.5 var(--sans); }
.media-hub .mh-gallery-note, .mh-dialog .mh-gallery-note { margin: 0 0 20px; color: #76705c; font: 400 12px/1.6 var(--sans); }
.media-hub .mh-empty, .mh-dialog .mh-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; padding: 26px; font: 400 16px/1.65 var(--sans); border: 1px dashed #b3a06e; border-radius: 15px; text-align: center; background: #f5efd938; }
.media-hub .mh-empty > .ph-icon, .mh-dialog .mh-empty > .ph-icon { width: 35px; height: 35px; margin-bottom: 10px; color: #a18b50; }
.media-hub .mh-empty-icon, .mh-dialog .mh-empty-icon { display: inline-flex; margin-bottom: 10px; color: #a18b50; }
.media-hub .mh-empty-icon .ph-icon, .mh-dialog .mh-empty-icon .ph-icon { width: 35px; height: 35px; }
.media-hub .mh-empty h4, .mh-dialog .mh-empty h4 { margin: 0 0 7px; color: #31543b; font: 600 27px/1.2 var(--serif); }
.media-hub .mh-empty p, .mh-dialog .mh-empty p { max-width: 470px; margin: 0; color: #71755b; font: 400 16px/1.65 var(--sans); }
.media-hub .mh-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; color: #74765b; font: 400 12px/1.6 var(--sans); }
.media-hub .mh-footer p { margin: 0; }
.media-hub .mh-footer a { flex-shrink: 0; color: #4b6546; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.media-hub #mh-channel-link { color: #6c642e; font: 600 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.media-hub .mh-playlist-open, .mh-dialog .mh-playlist-open { grid-column: 1 / -1; justify-self: start; }
.media-hub #mh-video-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

body.mh-dialog-open { overflow: hidden; }
dialog.mh-dialog {
  width: min(1000px, calc(100vw - 32px)); max-width: 1000px; max-height: min(88vh, 1000px);
  padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #c49e4d;
  border-radius: 22px; background: linear-gradient(135deg, #fbf1da, #e7e5cd);
  color: #234832; box-shadow: inset 0 1px #fff9, 0 35px 100px #032b23a6;
  font-family: var(--sans); scrollbar-width: thin; scrollbar-color: #a99259 #ebe1c6;
}
dialog.mh-dialog::backdrop { background: #032c24b5; backdrop-filter: blur(7px); }
.mh-dialog .mh-dialog-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 23px 28px; border-bottom: 1px solid #bca464;
  color: #fff0c9; background: linear-gradient(125deg, #11583f, #05382c);
}
.mh-dialog .mh-dialog-head .eyebrow { color: #dbc284; font-size: 12px; }
.mh-dialog .mh-dialog-head .mh-card-kicker { margin: 0 0 9px; color: #dbc284; font: 700 12px/1.4 var(--sans); letter-spacing: 1.5px; }
.mh-dialog .mh-dialog-head h2 { margin: 4px 0 0; color: #fff0c9; font: 500 37px/1.1 var(--serif); letter-spacing: -.25px; }
.mh-dialog .mh-dialog-close { position: static; flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 8px; border: 1px solid #d0b06588; border-radius: 50%; color: #f3d997; background: #ffffff0b; }
.mh-dialog .mh-dialog-close:hover { background: #ffffff18; }
.mh-dialog .mh-dialog-close .ph-icon { width: 20px; height: 20px; }
.mh-dialog .mh-dialog-body, .mh-dialog #mh-library-body { padding: 26px 28px 30px; }
.mh-dialog .mh-dialog-body h3, .mh-dialog #mh-library-body h3 { color: #214a34; font: 600 29px/1.2 var(--serif); }
.mh-dialog .mh-modal-tools { margin-bottom: 22px; }
.mh-dialog .mh-modal-summary { margin: 0 0 20px; color: #5b6b52; font: 400 14px/1.6 var(--sans); }
.media-hub .mh-track-source, .mh-dialog .mh-track-source { align-self: flex-start; color: #82642f; font: 500 12px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.mh-dialog .mh-modal-tools > p { margin: 9px 0 0; color: #73745d; font-size: 14px; }
.mh-dialog .mh-modal-list { min-width: 0; }
dialog.mh-watch-dialog { max-width: 1020px; }
.mh-dialog #mh-video-frame { width: 100%; background: #032920; }
.mh-dialog #mh-video-frame iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; }
.mh-dialog #mh-video-details { padding: 21px 28px 27px; color: #5b6b52; font: 400 16px/1.7 var(--sans); }
.mh-dialog #mh-video-details p { font: inherit; color: inherit; }
.mh-dialog #mh-video-details a { color: #365c3b; text-decoration: underline; text-underline-offset: 3px; }
dialog.mh-lightbox { max-width: 1100px; width: min(1100px, calc(100vw - 32px)); background: #092f26; border-color: #b99c57; }
.mh-lightbox .mh-dialog-head { padding-top: 18px; padding-bottom: 18px; }
.mh-lightbox .mh-dialog-head h2 { font-size: 31px; }
.mh-lightbox .mh-lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; padding: 18px; background: #04281f; }
.mh-lightbox #mh-photo-full { display: block; width: auto; max-width: 100%; height: auto; max-height: 58vh; object-fit: contain; border-radius: 6px; }
.mh-lightbox .mh-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 0; }
.mh-lightbox .mh-lightbox-controls button { min-height: 40px; padding: 9px 15px; border: 1px solid #bc9e5c8a; border-radius: 9px; background: #ffffff06; color: #f2dfac; font: 600 14px/1.4 var(--sans); }
.mh-lightbox .mh-lightbox-controls button:hover { background: #ffffff10; }
.mh-lightbox #mh-photo-counter { color: #c7c9a5; font: 500 14px/1.4 var(--sans); font-variant-numeric: tabular-nums; }
.mh-lightbox .mh-lightbox-caption { padding: 16px 24px 8px; text-align: center; color: #cbd6bd; }
.mh-lightbox #mh-photo-caption { margin: 0; font: 400 14px/1.6 var(--sans); }
.mh-lightbox #mh-photo-thumbs { display: flex; justify-content: center; gap: 9px; overflow-x: auto; padding: 9px 24px 22px; scrollbar-width: thin; }
.mh-lightbox #mh-photo-thumbs button { flex: 0 0 69px; width: 69px; height: 51px; padding: 3px; overflow: hidden; border: 1px solid #a78f4e55; border-radius: 8px; background: transparent; opacity: .65; }
.mh-lightbox #mh-photo-thumbs button[aria-selected="true"], .mh-lightbox #mh-photo-thumbs button[aria-current="true"] { border-color: #edca79; background: #d9bb641f; opacity: 1; }
.mh-lightbox #mh-photo-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

@media (max-width: 1130px) {
  .media-hub .mh-feature-grid { gap: 16px; }
  .media-hub .mh-card { padding: 9px 9px 0; border-radius: 20px; }
  .media-hub .mh-card-body { padding: 21px 10px 0; }
  .media-hub .mh-card-art { min-height: 209px; flex-basis: 209px; }
  .media-hub .mh-gallery-mosaic { height: 209px; }
  .media-hub .mh-art-eyebrow { font-size: 12px; letter-spacing: 1.3px; }
  .media-hub .mh-card-title { font-size: 27px; }
  .media-hub .mh-card-link { width: calc(100% + 20px); margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; gap: 6px; font-size: 14px; }
  .media-hub .mh-card-count { max-width: 83px; font-size: 12px; }
  .media-hub .mh-filters, .mh-dialog .mh-filters { grid-template-columns: 1.3fr 1fr 1fr; }
  .media-hub .mh-search-field, .mh-dialog .mh-search-field { grid-column: span 2; }
  .media-hub .mh-reset, .mh-dialog .mh-reset { grid-column: auto; }
}
@media (max-width: 860px) {
  .media-hub .media-inner { padding-top: 55px; padding-bottom: 45px; }
  .media-hub .mh-feature-grid { grid-template-columns: 1fr; gap: 19px; }
  .media-hub .mh-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 12px; padding: 12px 12px 0; }
  .media-hub .mh-card-art { align-self: stretch; min-height: 250px; height: calc(100% - 12px); margin-bottom: 12px; }
  .media-hub .mh-gallery-mosaic { height: 100%; min-height: 250px; }
  .media-hub .mh-card-body { padding: 15px 9px 0; }
  .media-hub .mh-card-title { font-size: 29px; }
  .media-hub .mh-art-eyebrow { top: 20px; font-size: 12px; }
  .media-hub .mh-record { top: 48px; width: 150px; height: 150px; }
  .media-hub .mh-card-link { grid-column: 1 / -1; margin-top: 12px; }
  .media-hub .mh-audio-card .mh-card-link { margin-top: 13px; }
  .media-hub .mh-card-count { font-size: 12px; max-width: 100px; }
  .media-hub .mh-panel { padding: 25px; }
  .media-hub .mh-photo-grid, .media-hub .mh-video-grid, .mh-dialog .mh-photo-grid, .mh-dialog .mh-video-grid { gap: 12px; }
  .media-hub .mh-photo-item > img, .media-hub .mh-video-item > img, .mh-dialog .mh-photo-item > img, .mh-dialog .mh-video-item > img { height: 155px; }
}
@media (max-width: 600px) {
  .media-hub .mh-heading { margin-bottom: 23px; gap: 14px; }
  .media-hub .mh-heading > p { max-width: none; margin: 0; font-size: 16px; }
  .media-hub .mh-tabs { width: 100%; gap: 3px; padding: 5px; margin-bottom: 21px; border-radius: 15px; }
  .media-hub .mh-tabs button { flex: 1; gap: 7px; min-width: 0; padding: 10px 8px; border-radius: 10px; font-size: 14px; }
  .media-hub .mh-tab-count { min-width: 21px; min-height: 21px; padding: 1px 5px; font-size: 12px; }
  .media-hub .mh-card { display: flex; padding: 12px 12px 0; }
  .media-hub .mh-card-art { align-self: auto; min-height: 218px; height: 218px; flex-basis: 218px; margin-bottom: 0; }
  .media-hub .mh-gallery-mosaic { height: 218px; min-height: 0; }
  .media-hub .mh-record { top: 33px; width: 145px; height: 145px; }
  .media-hub .mh-card-body { padding: 22px 12px 0; }
  .media-hub .mh-card-title { font-size: 30px; }
  .media-hub .mh-card-description { font-size: 16px; }
  .media-hub .mh-card-link { width: calc(100% + 24px); margin-left: -12px; margin-right: -12px; padding: 17px 12px; font-size: 14px; }
  .media-hub .mh-card-count { max-width: 110px; font-size: 12px; }
  .media-hub .mh-player { margin-top: 18px; }
  .media-hub .mh-player-status { font-size: 14px; }
  .media-hub .mh-library-shell { margin-top: 24px; border-radius: 18px; }
  .media-hub .mh-panel { padding: 23px 17px; }
  .media-hub .mh-panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .media-hub .mh-panel-heading h3 { font-size: 32px; }
  .media-hub .mh-panel-action, .mh-dialog .mh-panel-action { min-height: 38px; }
  .media-hub .mh-filters, .mh-dialog .mh-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
  .media-hub .mh-search-field, .mh-dialog .mh-search-field { grid-column: 1 / -1; }
  .media-hub .mh-field input, .media-hub .mh-field select, .mh-dialog .mh-field input, .mh-dialog .mh-field select, .mh-dialog .mh-modal-tools input, .mh-dialog .mh-modal-tools select { min-height: 44px; font-size: 16px; }
  .media-hub .mh-field, .mh-dialog .mh-field { font-size: 14px; }
  .media-hub .mh-track, .mh-dialog .mh-track { grid-template-columns: 38px minmax(0, 1fr) 36px; gap: 8px 12px; padding: 14px 12px; }
  .media-hub .mh-track-play, .mh-dialog .mh-track-play { width: 38px; height: 38px; }
  .media-hub .mh-track-info strong, .mh-dialog .mh-track-info strong { font-size: 16px; }
  .media-hub .mh-track-event, .mh-dialog .mh-track-event { grid-column: 2; font-size: 14px; }
  .media-hub .mh-track-duration, .mh-dialog .mh-track-duration { grid-column: 3; grid-row: 1; font-size: 14px; }
  .media-hub .mh-photo-grid, .media-hub .mh-video-grid, .mh-dialog .mh-photo-grid, .mh-dialog .mh-video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .media-hub .mh-photo-item > img, .media-hub .mh-video-item > img, .mh-dialog .mh-photo-item > img, .mh-dialog .mh-video-item > img { height: 140px; }
  .media-hub .mh-photo-item > span, .media-hub .mh-video-item > div, .mh-dialog .mh-photo-item > span, .mh-dialog .mh-video-item > div { padding: 12px; }
  .media-hub .mh-photo-item strong, .media-hub .mh-video-item strong, .mh-dialog .mh-photo-item strong, .mh-dialog .mh-video-item strong { font-size: 21px; }
  .media-hub .mh-footer { align-items: flex-start; flex-direction: column; gap: 9px; font-size: 12px; }
  .media-hub .mh-empty, .mh-dialog .mh-empty { padding: 25px 18px; }
  .media-hub .mh-empty h4, .mh-dialog .mh-empty h4 { font-size: 26px; }
  .media-hub .mh-empty p, .mh-dialog .mh-empty p { font-size: 16px; }
  dialog.mh-dialog { width: calc(100vw - 20px); max-height: 91dvh; border-radius: 17px; }
  .mh-dialog .mh-dialog-head { padding: 18px 18px; gap: 12px; }
  .mh-dialog .mh-dialog-head h2 { font-size: 31px; }
  .mh-dialog .mh-dialog-head .eyebrow { font-size: 12px; letter-spacing: 1.3px; }
  .mh-dialog .mh-dialog-head .mh-card-kicker { font-size: 12px; letter-spacing: 1.3px; }
  .mh-dialog .mh-dialog-close { flex-basis: 36px; width: 36px; height: 36px; }
  .mh-dialog .mh-dialog-body, .mh-dialog #mh-library-body { padding: 22px 17px; }
  .mh-dialog #mh-video-details { padding: 18px; font-size: 16px; }
  .mh-lightbox .mh-dialog-head h2 { font-size: 25px; }
  .mh-lightbox .mh-lightbox-stage { padding: 10px; min-height: 200px; }
  .mh-lightbox #mh-photo-full { max-height: 48dvh; }
  .mh-lightbox .mh-lightbox-controls { padding: 13px 15px 0; gap: 9px; }
  .mh-lightbox .mh-lightbox-controls button { padding: 9px 11px; font-size: 14px; }
  .mh-lightbox .mh-lightbox-caption { padding: 13px 17px 5px; }
  .mh-lightbox #mh-photo-caption { font-size: 14px; }
}
@media (max-width: 480px) {
  .media-hub .mh-filters, .mh-dialog .mh-filters { grid-template-columns: minmax(0, 1fr); }
  .media-hub .mh-search-field, .mh-dialog .mh-search-field { grid-column: auto; }
}
@media (max-width: 380px) {
  .media-hub .mh-tabs button { gap: 5px; font-size: 14px; padding-inline: 6px; }
  .media-hub .mh-photo-grid, .media-hub .mh-video-grid, .mh-dialog .mh-photo-grid, .mh-dialog .mh-video-grid { grid-template-columns: 1fr; }
  .media-hub .mh-photo-item > img, .mh-dialog .mh-photo-item > img { height: 185px; }
  .media-hub .mh-art-eyebrow { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .media-hub *, .mh-dialog * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
