.video-page { padding: 2rem clamp(1rem, 4vw, 4rem) 4rem; }
.video-heading { margin-bottom: 1.5rem; }
.video-heading a { margin-right: 1rem; }
.video-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin: 1.5rem 0; }
.video-filters label { display: grid; gap: .35rem; }
.video-filters input, .video-filters select, .video-filters button, .video-consent button, .video-more, [data-video-retry] { padding: .6rem .8rem; border: 1px solid #777; border-radius: .3rem; background: #fff; color: #222; }
.video-location-tabs { padding: 0; margin: 0; border: 0; }
.video-location-tabs legend { float: none; width: auto; margin: 0 0 .35rem; font-size: inherit; }
.video-location-tabs div { display: flex; gap: .5rem; }
.video-filters .video-location-tabs label { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border: 1px solid #777; border-radius: .3rem; }
.video-location-tabs input:checked + span { font-weight: 700; text-decoration: underline; }
.video-consent { padding: 1rem; margin-bottom: 2rem; background: #f2f2f2; }
.video-consent button { margin: .25rem .5rem .25rem 0; }
.video-consent button:disabled { opacity: .65; }
.video-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 280px); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.video-card { min-width: 0; }
.video-card h3 { overflow-wrap: anywhere; font-size: 1.1rem; }
.video-thumbnail { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #e8e8e8; overflow: hidden; }
.video-thumbnail-placeholder { padding: .5rem; text-align: center; color: #444; }
.video-thumbnail img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.video-card-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.video-thumbnail-loading { opacity: 0; }
.video-network { display: flex; align-items: center; gap: .4rem; font-weight: 600; margin: .5rem 0; }
.video-network svg { width: 1.25rem; height: 1.25rem; }
.video-duration { margin-left: .5rem; }
.video-more { display: inline-block; }
.video-creator { padding: 1rem 0; border-bottom: 1px solid #ddd; }
.video-player-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-player-stage[data-orientation="vertical"] { max-width: 420px; margin-inline: auto; aspect-ratio: 9 / 16; }
.video-player-frame { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.video-actions { display: grid; gap: 1rem; margin: 1.5rem 0; }
.video-actions form { display: grid; gap: .5rem; max-width: 40rem; }
.video-actions button { justify-self: start; padding: .6rem .8rem; }
.video-actions select, .video-actions textarea { width: 100%; padding: .6rem; }
.video-share { display: grid; gap: .5rem; margin: 1.5rem 0; }
.video-share input { max-width: 40rem; width: 100%; padding: .6rem; }
.video-share button { justify-self: start; padding: .6rem .8rem; }
.video-page [hidden] { display: none !important; }

/* Consumer catalogue */
.video-catalogue { --video-plum: #36163d; --video-muted: #62616d; --video-border: #dedce4; }
.video-page.video-catalogue { padding: 0; }
.video-catalogue .video-heading { margin-bottom: 28px; }
.video-profile-banner {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e8e8;
}
.video-profile-cover {
    display: block;
    width: 100%;
    height: clamp(120px, 17vw, 320px);
    object-fit: cover;
}
.video-profile-photo {
    position: absolute;
    inset-inline-start: clamp(12px, 2vw, 20px);
    bottom: 0;
    display: grid;
    width: clamp(72px, 10vw, 120px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 8px;
    background: #f3eef5;
    color: var(--video-plum);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.video-profile-photo span { display: grid; grid-area: 1 / 1; place-items: center; font-size: 32px; font-weight: 600; }
.video-profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-catalogue .video-eyebrow { margin: 0 0 8px; color: var(--video-muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.video-catalogue .video-heading h1 { margin: 0 0 12px; color: var(--video-plum); font-size: clamp(30px, 3.5vw, 48px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.video-catalogue .video-description { max-width: 720px; margin: 0 0 16px; color: var(--video-muted); font-size: 18px; line-height: 1.6; }
.video-catalogue .video-browse { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.video-catalogue .video-browse a { margin: 0; color: var(--video-plum); font-weight: 600; text-underline-offset: 4px; }
.video-catalogue .video-browse a:hover { text-decoration: underline; }
.video-catalogue .video-filters { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(140px, 1.2fr) minmax(130px, 1fr) minmax(100px, .7fr) auto auto; gap: 16px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--video-border); border-radius: 10px; background: #fff; }
.video-catalogue .video-filters > label { min-width: 0; color: var(--video-plum); font-size: 14px; font-weight: 600; }
.video-catalogue .video-filters input, .video-catalogue .video-filters select { width: 100%; min-width: 0; min-height: 44px; border-color: var(--video-border); border-radius: 6px; color: var(--video-plum); font-size: 16px; font-weight: 400; }
.video-catalogue .video-location-tabs { min-width: 0; }
.video-catalogue .video-location-tabs legend { color: var(--video-plum); font-size: 14px; font-weight: 600; }
.video-catalogue .video-location-tabs div { gap: 8px; }
.video-catalogue .video-filters .video-location-tabs label { min-height: 44px; margin: 0; padding: 8px 10px; border-color: var(--video-border); border-radius: 6px; font-size: 14px; white-space: nowrap; cursor: pointer; }
.video-catalogue .video-filters .video-location-tabs input { width: auto; min-height: 0; margin: 0; accent-color: var(--video-plum); }
.video-catalogue .video-location-tabs label:has(input:checked) { border-color: var(--video-plum); background: #f3eef5; }
.video-catalogue .video-location-tabs input:checked + span { text-decoration: none; }
.video-catalogue .video-button, .video-catalogue .video-more, .video-catalogue [data-video-retry] { min-height: 44px; padding: 10px 20px; border: 1px solid var(--video-plum); border-radius: 6px; background: var(--video-plum); color: #fff; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; }
.video-catalogue .video-button:hover, .video-catalogue .video-more:hover, .video-catalogue [data-video-retry]:hover { background: #54245e; }
.video-catalogue .video-consent { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; padding: 16px; border: 1px solid var(--video-border); border-radius: 10px; background: #faf9fc; }
.video-catalogue .video-consent p { flex: 1; margin: 0; color: var(--video-muted); font-size: 14px; line-height: 1.6; }
.video-catalogue .video-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.video-catalogue .video-consent button { min-height: 44px; margin: 0; padding: 8px 12px; border-color: var(--video-border); border-radius: 6px; color: var(--video-plum); font-size: 14px; font-weight: 600; }
.video-catalogue .video-consent button:hover:not(:disabled) { border-color: var(--video-plum); background: #f3eef5; }
.video-catalogue .video-section { margin-bottom: 32px; }
.video-catalogue .magazineListHead { margin-bottom: 20px; padding: 0; }
.video-catalogue .magazineListHead h2 { margin: 0; color: var(--video-plum); font-size: clamp(23px, 2.1vw, 32px); font-weight: 600; line-height: 1.3; }
.video-catalogue .video-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; margin-bottom: 24px; }
.video-catalogue .video-carousel { grid-auto-columns: minmax(min(100%, 240px), calc((100% - 72px) / 4)); gap: 24px; padding-bottom: 16px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.video-catalogue .video-card { scroll-snap-align: start; }
.video-card-link { display: block; color: inherit; text-decoration: none; }
.video-catalogue .video-thumbnail { border-radius: 8px; background: linear-gradient(135deg, #eee8f0, #f7f4f8); }
.video-catalogue .video-thumbnail-placeholder { max-width: 85%; padding: 16px; color: var(--video-muted); font-size: 14px; line-height: 1.5; }
.video-play { position: absolute; right: 12px; bottom: 12px; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fff; color: #36163d; font-size: 14px; }
.video-catalogue .video-network { margin: 12px 0 8px; color: var(--video-muted); font-size: 13px; }
.video-catalogue .video-card h3 { margin: 0 0 6px; color: var(--video-plum); font-size: 18px; font-weight: 600; line-height: 1.4; }
.video-catalogue .video-card-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.video-catalogue .video-card-creator { margin: 0 0 8px; font-size: 14px; overflow-wrap: anywhere; }
.video-catalogue .video-card-creator a, .video-catalogue .video-card time, .video-catalogue .video-duration { color: var(--video-muted); }
.video-catalogue .video-card time, .video-catalogue .video-duration { font-size: 13px; }
.video-catalogue .video-empty { margin: 0 0 24px; padding: 32px 24px; border: 1px dashed var(--video-border); border-radius: 10px; background: #faf9fc; color: var(--video-muted); text-align: center; }
.video-catalogue .video-more { display: table; margin: 0 auto; }
.video-catalogue a:focus-visible, .video-catalogue button:focus-visible, .video-catalogue input:focus-visible, .video-catalogue select:focus-visible, .video-card-link:focus-visible { outline: 2px solid #36163d; outline-offset: 3px; }
/* Creator portraits retain initials until a permitted provider image loads. */
.video-creators .video-creators-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-creators .video-creator { padding: 0; border: 1px solid var(--video-border); border-radius: 10px; background: #fff; }
.video-creators .video-creator-link { display: flex; height: 100%; flex-direction: column; color: var(--video-plum); text-decoration: none; overflow-wrap: anywhere; border-radius: 10px; }
.video-creators .video-creator-link:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.video-creator-portrait { position: relative; display: grid; aspect-ratio: 1; overflow: hidden; border-radius: 10px 10px 0 0; background: #f3eef5; }
.video-creators .video-creator-monogram { display: grid; grid-area: 1 / 1; place-items: center; background: #f3eef5; font-size: 80px; font-weight: 600; }
.video-creator-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-creator-identity { position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; padding: 24px 16px 16px; color: #fff; background: linear-gradient(transparent, var(--video-plum) 20px); }
.video-creators .video-creator h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }
.video-creator-body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 16px; }
.video-creators .video-creator p { margin: 0; color: var(--video-muted); font-size: 14px; line-height: 1.6; }
.video-creator-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.video-creator-platforms span { padding: 8px 12px; border: 1px solid var(--video-border); border-radius: 6px; background: #f3eef5; font-size: 14px; }
.video-avatar-notice { margin: 0 0 24px; color: var(--video-muted); font-size: 14px; line-height: 1.6; }
.video-creators .video-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.video-creators .video-pagination .video-more { display: inline-flex; margin: 0; align-items: center; }
/* Detail pages retain the catalogue's typography, colors and interaction patterns. */
.video-detail, .video-detail * { box-sizing: border-box; }
.video-detail-navigation { margin-bottom: 24px; }
.video-detail .video-heading { margin-bottom: 24px; }
.video-watch-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); gap: 24px; align-items: start; }
.video-watch-primary { min-width: 0; }
.video-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--video-muted); }
.video-detail-meta > p { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.video-detail-meta a { color: var(--video-plum); font-weight: 600; }
.video-detail .video-detail-meta .video-network { margin: 0; padding: 4px 10px; border-radius: 20px; background: #f3eef5; color: var(--video-plum); }
.video-watch { overflow: hidden; border: 1px solid var(--video-border); border-radius: 10px; background: #222; }
.video-catalogue .video-player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.video-player-footer { display: grid; gap: 12px; padding: 16px 20px; background: #fff; }
.video-detail .video-player-footer h1 { margin: 0; color: var(--video-plum); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.video-detail .video-player-footer .video-consent { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 0; padding: 0; border: 0; background: transparent; }
.video-player-footer .video-consent p { min-width: min(100%, 240px); }
.video-detail .video-player-footer .video-consent button { border-color: var(--video-plum); background: var(--video-plum); color: #fff; }
.video-external-link { justify-self: start; color: var(--video-plum); font-weight: 600; text-underline-offset: 4px; }
.video-detail .video-actions { min-width: 0; gap: 20px; margin: 0; padding: 24px; border: 1px solid var(--video-border); border-radius: 10px; background: #fff; }
/* Keep identity, facts and common actions together without crowding the player. */
.video-detail .video-actions .video-heading { margin: 0; }
.video-detail .video-actions .video-detail-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; font-size: 14px; }
.video-detail .video-actions .video-detail-meta > p { grid-column: 1 / -1; }
.video-detail .video-actions .video-detail-meta > p:not(.video-network) { font-size: 16px; }
.video-detail .video-actions .video-network { justify-self: start; }
.video-detail .video-actions .video-duration { margin: 0; }
.video-detail .video-actions .video-share-controls { display: grid; grid-template-columns: minmax(0, 1fr); }
.video-detail .video-actions .video-share-controls button { width: 100%; }
.video-detail .video-action-bar { display: grid; }
.video-detail .video-action-bar > form, .video-detail .video-report { width: 100%; min-width: 0; }
.video-detail .video-actions button { justify-self: stretch; }
.video-detail .video-report summary { width: 100%; white-space: normal; }
.video-watch-layout + .video-related { margin-top: 32px; }
.video-action-bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.video-action-bar > form { margin: 0; }
.video-catalogue .video-button-secondary { border-color: var(--video-border); background: #fff; color: var(--video-plum); }
.video-catalogue .video-button-secondary:hover { border-color: var(--video-plum); background: #f3eef5; }
.video-report { min-width: 0; max-width: 100%; }
.video-report summary { cursor: pointer; }
.video-report summary:focus-visible { outline: 2px solid var(--video-plum); outline-offset: 3px; }
.video-report form { margin-top: 16px; }
.video-detail .video-actions label, .video-detail .video-share label { color: var(--video-plum); font-size: 14px; font-weight: 600; }
.video-detail .video-actions select, .video-detail .video-actions textarea, .video-detail .video-share input { min-height: 44px; border: 1px solid var(--video-border); border-radius: 6px; color: var(--video-plum); font: inherit; }
.video-detail .video-share { margin: 0; }
.video-share-controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.video-detail .video-share input { flex: 1 1 240px; min-width: 0; max-width: none; }
.video-share-controls button { flex-shrink: 0; }
.video-feedback { margin: 0; padding: 12px 16px; border-left: 3px solid var(--video-plum); background: #f3eef5; }
.video-report-feedback { margin: 0; padding: 12px 16px; scroll-margin-top: 100px; }
.video-report-feedback:focus { outline: 2px solid var(--video-plum); outline-offset: 3px; }
.video-catalogue .video-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) {
    .video-creators .video-creators-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-watch-layout { grid-template-columns: minmax(0, 1fr); }
    .video-catalogue .video-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-catalogue .video-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-catalogue .video-search { grid-column: 1 / -1; }
    .video-catalogue .video-button { grid-column: 2; justify-self: end; }
    .video-detail .video-button { grid-column: auto; justify-self: stretch; }
    .video-catalogue .video-consent { align-items: stretch; flex-direction: column; gap: 12px; }
}
@media (max-width: 639px) {
    .video-creators .video-creators-grid { grid-template-columns: minmax(0, 1fr); }
    .video-detail .video-actions { padding: 16px; }
    .video-catalogue .video-cards-grid { grid-template-columns: minmax(0, 1fr); }
    .video-detail .video-player-footer { padding: 16px; }
    .video-share-controls { flex-direction: column; }
    .video-detail .video-share input { flex-basis: auto; }
    .video-share-controls button { width: 100%; }
    .video-catalogue .video-category { padding: 24px 16px 40px; }
    .video-catalogue .video-category > .container-fluid { padding: 0; }
    .video-catalogue .video-filters { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .video-catalogue .video-search, .video-catalogue .video-button { grid-column: auto; }
    .video-catalogue .video-button { width: 100%; justify-self: stretch; }
    .video-catalogue .video-location-tabs div { flex-wrap: wrap; }
    .video-catalogue .video-consent-actions { display: grid; }
    .video-catalogue .video-description { font-size: 16px; }
    .video-catalogue .video-heading { margin-bottom: 24px; }
    .video-catalogue .video-browse { gap: 12px 20px; }
}
