/* Scoped to the featured video collections and their download pages. */
.home-content { box-sizing: border-box; width: 800px; max-width: 100%; margin: 0 auto; }
div.main.resident-featured { box-sizing: border-box; width: 800px; max-width: 100%; margin: 0 auto; padding: 0; }
.resident-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px; box-sizing: border-box; width: 100%; }
.home-partner-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0 24px; box-sizing: border-box; }
.home-partner-banners a, .home-partner-banners img { display: block; width: 100%; }
.home-partner-banners img { height: auto; border: 0; }
.home-blockbusters { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 0; padding: 24px 24px 0; box-sizing: border-box; }
.home-blockbusters img { display: block; width: 100%; height: auto; border: 0; }
div.main.home-legacy { box-sizing: border-box; width: 800px; max-width: 100%; margin-top: 24px; padding: 0; }
.resident-card, .resident-card * { box-sizing: border-box; }
div.main a.resident-card { display: flex; flex-direction: column; overflow: hidden; width: 100%; border: 0; border-radius: 10px; background: #fff; color: #272323; text-align: left; text-decoration: none; transition: box-shadow .2s, transform .2s; }
div.main a.resident-card:hover, div.main a.resident-card:focus-visible { box-shadow: 0 8px 24px #3c181819; transform: translateY(-2px); text-decoration: none; }
.resident-cover { display: block; position: relative; height: 0; padding-top: 56.25%; overflow: hidden; flex-shrink: 0; background: radial-gradient(ellipse at 75% 20%, #7d4141 0, #36272c 48%, #1f1b20 100%); }
.resident-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border: 0; }
.resident-cover img.resident-cover-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .28s ease; }
.resident-cover img.resident-cover-slide.is-current { opacity: 1; }
.resident-cover-number { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; color: #ffffff1c; font-size: 140px; font-weight: bold; line-height: 1; letter-spacing: -12px; }
.resident-cover-label { position: absolute; bottom: 22px; left: 22px; color: #f2e7df; font-size: 10px; letter-spacing: 3px; }
.resident-card-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.resident-eyebrow { display: block; margin-bottom: 8px; color: #93433b; font-size: 10px; font-weight: bold; letter-spacing: 1.5px; }
.resident-card-title { display: block; margin-bottom: 8px; font-size: 24px; line-height: 1.2; }
.resident-card-description { display: block; flex: 1; min-height: 35px; color: #746a66; font-size: 13px; font-weight: normal; line-height: 1.5; }
.resident-card-bottom { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee7e3; color: #822; font-size: 12px; }
.resident-card-bottom > :first-child { color: #827875; font-weight: normal; }
.resident-card-meta { display: flex; flex-direction: column; gap: 5px; }
.resident-upload-date { font-size: 11px; font-weight: normal; line-height: 1.45; }
.resident-card-bottom { align-items: center; }
div.main.resident-page { box-sizing: border-box; width: 800px; max-width: 100%; padding: 28px 24px 38px; text-align: left; }
.resident-page *, .resident-page *::before, .resident-page *::after { box-sizing: border-box; }
.resident-back { display: inline-block; margin-bottom: 26px; font-size: 12px; }
.resident-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.resident-heading h1 { margin: 0 0 10px; color: #2d2727; font-size: 30px; line-height: 1.2; }
.resident-heading p { color: #746a66; line-height: 1.6; }
.resident-summary { flex-shrink: 0; padding: 9px 12px; border: 1px solid #e9dfd9; border-radius: 20px; color: #756762; font-size: 12px; white-space: nowrap; }
.resident-tabs { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 0; margin-bottom: 20px; border-bottom: 1px solid #e6dcd6; }
div.around .resident-tabs a { display: block; padding: 10px 0 14px; color: #827874; font-size: 13px; text-decoration: none; }
div.around .resident-tabs a.resident-tab-active { border-bottom: 3px solid #822; color: #822; }
.resident-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; padding: 18px; border: 1px solid #ebded1; border-radius: 8px; background: #fcf6ef; color: #66544b; font-size: 13px; line-height: 1.6; }
.resident-notice > span { flex: 1 1 100%; }
div.around a.resident-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; border: 1px solid #822; border-radius: 5px; background: #822; color: #fff; font-size: 12px; line-height: 1.35; text-align: center; text-decoration: none; }
div.around a.resident-button:hover, div.around a.resident-button:focus-visible { border-color: #5e1515; background: #5e1515; color: #fff; text-decoration: none; }
.resident-login { font-size: 12px; }
.resident-empty { padding: 56px 28px; border: 1px dashed #dbd1c9; border-radius: 8px; background: #fdfbf8; text-align: center; }
.resident-empty-symbol { display: block; margin-bottom: 16px; color: #a66c63; font-size: 32px; }
.resident-empty h2 { margin-bottom: 12px; color: #51443e; font-size: 21px; }
.resident-empty p { color: #8a7a70; line-height: 1.6; }
.resident-hint { margin-bottom: 14px; color: #8a7a70; font-size: 12px; }
.resident-table-wrap { overflow-x: auto; }
.resident-table { width: 100%; border-collapse: collapse; }
.resident-table th { padding: 11px 8px; border-bottom: 1px solid #e5dbd5; color: #8c7c72; font-size: 10px; font-weight: normal; letter-spacing: .7px; text-align: left; text-transform: uppercase; }
.resident-table td { padding: 18px 8px; border-bottom: 1px solid #eee7e2; vertical-align: middle; }
.resident-table .resident-preview-cell { width: 192px; padding-left: 0; }
.resident-preview { display: block; position: relative; width: 192px; height: 108px; overflow: hidden; border-radius: 6px; background: #2f282a; }
.resident-preview img { display: block; width: 192px; height: 108px; object-fit: cover; border: 0; }
.resident-preview-play { display: flex; position: absolute; top: 50%; left: 50%; align-items: center; justify-content: center; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: #17111499; color: white; font-size: 14px; transition: opacity .2s; }
.resident-preview:hover .resident-preview-play, .resident-preview:focus .resident-preview-play { opacity: 0; }
.resident-preview-pending { display: flex; align-items: center; justify-content: center; height: 100%; color: #d0c3bb; font-size: 11px; }
.resident-frame-count { position: absolute; bottom: 5px; right: 6px; padding: 3px 5px; border-radius: 3px; background: #171114aa; color: white; font-size: 9px; font-weight: normal; }
.resident-filename { min-width: 170px; overflow-wrap: anywhere; line-height: 1.5; }
.resident-filename a { font-size: 13px; }
.resident-filename > span { display: block; margin-top: 7px; color: #8c7c72; font-size: 11px; }
.resident-file-size { color: #746a66; font-size: 12px; white-space: nowrap; }
.resident-download-button { min-width: 100px; }
.resident-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.resident-page a:focus-visible, .resident-card:focus-visible { outline: 3px solid #bc7e63; outline-offset: 3px; }
@media (max-width: 600px) { .resident-heading { align-items: flex-start; flex-direction: column; } div.main.resident-page { padding: 22px 16px; } }
@media (prefers-reduced-motion: reduce) { .resident-card, .resident-preview-play { transition: none !important; } div.main a.resident-card:hover { transform: none; } }

/* Inner collection library. The homepage and existing site header retain their layout. */
div.main.resident-library { background: #fcfaf7; }
.resident-library .resident-back { margin-bottom: 18px; font-size: 11px; }
.resident-collections { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
div.around a.resident-collection { display: block; min-width: 0; overflow: hidden; border: 1px solid #e6dcd2; border-radius: 9px; background: #fff; color: #302621; text-decoration: none; }
div.around a.resident-collection[aria-current="page"] { border-color: #872c32; box-shadow: 0 0 0 1px #872c32; }
.resident-collection-cover { display: block; position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: radial-gradient(ellipse at 75% 20%, #8e6957, #42322e); }
.resident-collection-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border: 0; }
.resident-collection-mark { position: absolute; inset: auto 0 0; padding: 13px 9px 7px; background: linear-gradient(transparent, #211511b8); color: #fff2e2; font: 16px/1 Georgia, serif; letter-spacing: 1px; text-align: left; }
.resident-collection-copy { display: flex; flex-direction: column; gap: 4px; padding: 10px 9px; }
.resident-collection-copy strong { color: #302621; font-size: 11px; font-weight: bold; overflow-wrap: anywhere; }
.resident-collection-copy > span { color: #73665e; font-size: 10px; }
.resident-library .resident-heading { display: block; margin-bottom: 18px; }
.resident-library .resident-heading h1 { margin: 0 0 10px; font: normal 30px/1.2 Georgia, serif; color: #302621; overflow-wrap: anywhere; }
.resident-library .resident-heading p { margin: 0; color: #73665e; font-size: 13px; line-height: 1.6; }
.resident-library .resident-heading p.resident-last-upload { margin-top: 8px; font-size: 11px; }
.resident-collection-copy .resident-upload-date { font-size: 10px; }

/* The freshest collection is a full-width spotlight; the other four remain below. */
.resident-bell { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
div.main a.resident-card[data-resident-spotlight] { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid #bf2e3a; background: #fff0ec; }
.resident-card[data-resident-spotlight] .resident-cover { height: 100%; min-height: 280px; padding-top: 0; }
.resident-card[data-resident-spotlight] .resident-card-content { padding: 24px; align-items: flex-start; }
.resident-spotlight-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #b52b36; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.resident-spotlight-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #bf2e3a; color: #fff; }
.resident-spotlight-date { display: block; margin: 0 0 14px; color: #b52b36; font-size: 38px; font-weight: bold; line-height: 1.15; font-variant-numeric: tabular-nums; }
.resident-card[data-resident-spotlight] .resident-card-title { margin-bottom: 10px; font: normal 29px/1.2 Georgia, serif; overflow-wrap: anywhere; }
.resident-card[data-resident-spotlight] .resident-card-description { flex: none; min-height: 0; margin-bottom: 18px; color: #75655d; }
.resident-spotlight-action { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 11px 15px; border-radius: 6px; background: #bf2e3a; color: #fff; font-size: 12px; font-weight: bold; }
.resident-card:not([data-resident-spotlight]) .resident-cover { padding-top: 43.75%; }
.resident-card:not([data-resident-spotlight]) .resident-card-title { font-size: 22px; overflow-wrap: anywhere; }
.resident-card:not([data-resident-spotlight]) .resident-card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 0; overflow: hidden; }
.resident-card-dateband { display: flex; flex-direction: column; gap: 5px; padding: 12px 20px 16px; border-top: 1px solid #eee7e3; background: #fff; color: #74665d; }
.resident-card-date-label { color: #827167; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.resident-card-date { font-size: 23px; line-height: 1.2; font-weight: normal; font-variant-numeric: tabular-nums; }
div.around a.resident-collection[data-resident-latest] { border-color: #bf2e3a; }
div.around a.resident-collection[data-resident-latest][aria-current="page"] { box-shadow: 0 0 0 1px #bf2e3a; }
.resident-collection-copy strong { display: flex; align-items: center; gap: 5px; }
.resident-nav-newest { display: inline-flex; flex-shrink: 0; color: #bf2e3a; }
.resident-nav-newest .resident-bell { width: 13px; height: 13px; }
@media (max-width: 600px) {
    div.main a.resident-card[data-resident-spotlight] { grid-template-columns: .75fr 1.25fr; }
    .resident-card[data-resident-spotlight] .resident-card-content { padding: 18px; }
    .resident-spotlight-kicker { font-size: 10px; letter-spacing: .5px; gap: 7px; }
    .resident-spotlight-date { font-size: 30px; }
    .resident-card[data-resident-spotlight] .resident-card-title { font-size: 25px; }
}
@media (max-width: 440px) {
    .resident-featured-grid { gap: 16px; padding: 16px; }
    div.main a.resident-card[data-resident-spotlight] { grid-template-columns: minmax(0, 1fr); }
    .resident-card[data-resident-spotlight] .resident-cover { min-height: 0; height: 0; padding-top: 56.25%; }
    .resident-card:not([data-resident-spotlight]) .resident-card-content { padding: 12px; }
    .resident-card:not([data-resident-spotlight]) .resident-card-title { font-size: 17px; }
    .resident-card:not([data-resident-spotlight]) .resident-card-description { font-size: 11px; }
    .resident-card-dateband { padding: 12px; }
    .resident-card-date { font-size: 18px; }
    .resident-card-bottom { gap: 6px; font-size: 10px; }
}
.resident-join { margin: 18px 0; text-align: center; }
div.around a.resident-join-cta { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-width: 310px; padding: 14px 28px; border: 1px solid #226e3b; border-radius: 7px; background: #287f45; color: #fff; font-size: 16px; font-weight: bold; text-decoration: none; box-shadow: 0 3px 9px #1d64201c; }
div.around a.resident-join-cta:hover, div.around a.resident-join-cta:focus-visible { background: #206b38; border-color: #195a2e; color: #fff; text-decoration: none; }
.resident-join-bottom { margin: 28px 0 0; }
.resident-controls { display: grid; grid-template-columns: minmax(150px, 1fr) 166px auto; gap: 10px; align-items: start; margin: 22px 0 16px; text-align: left; }
.resident-controls input, .resident-controls select, .resident-controls button { font-family: Arial, sans-serif; font-size: 12px; }
.resident-controls input[type="search"], .resident-controls select { box-sizing: border-box; width: 100%; min-width: 0; height: 40px; margin: 0; padding: 8px 10px; border: 1px solid #e2d7cc; border-radius: 6px; background: #fff; color: #302621; }
.resident-search-field { grid-column: 1; grid-row: 1; min-width: 0; }
.resident-sort-field { grid-column: 2; grid-row: 1; min-width: 0; }
.resident-controls > .resident-control-submit { grid-column: 3; grid-row: 1; }
.resident-controls .resident-control-submit, .resident-filters > summary { min-height: 40px; margin: 0; padding: 10px 12px; border: 1px solid #e2d7cc; border-radius: 6px; background: #fff; color: #6e272b; font-size: 12px; line-height: 18px; cursor: pointer; }
.resident-controls .resident-control-submit:hover, .resident-filters > summary:hover { background: #f2e8de; }
.resident-filters { display: block; grid-column: 1 / -1; grid-row: 2; }
.resident-filters > summary { display: list-item; list-style-position: inside; width: max-content; min-height: 34px; padding: 7px 12px; white-space: nowrap; }
.resident-filter-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 8px; background: #f2e8de; }
.resident-filters:not([open]) > .resident-filter-fields { display: none; }
.resident-filter-fields label { display: flex; flex: 1 1 150px; flex-direction: column; gap: 6px; color: #73665e; font-size: 11px; }
.resident-clear { display: inline-block; font-size: 12px; line-height: 20px; padding: 10px 0; }
.resident-result-count { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #73665e; font-size: 11px; }
.resident-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resident-media-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e6dcd2; border-radius: 10px; background: #fff; text-align: left; }
.resident-media-card .resident-preview { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.resident-media-card .resident-preview img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.resident-media-duration { position: absolute; right: 8px; bottom: 8px; padding: 3px 5px; border-radius: 4px; background: #241711c9; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }
.resident-media-quality { position: absolute; top: 8px; left: 8px; padding: 3px 6px; border: 1px solid #fff7; border-radius: 4px; background: #241711b8; color: #fff; font-size: 10px; font-weight: bold; }
.resident-media-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.resident-media-body h2 { flex: 1; margin: 0 0 12px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
div.around .resident-media-body h2 a { color: #302621; font-weight: bold; text-decoration: none; }
div.around .resident-media-body h2 a:hover { color: #872c32; }
.resident-media-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid #eee6df; color: #73665e; font-size: 10px; }
div.around a.resident-media-download { display: inline-flex; align-items: center; gap: 4px; padding: 3px 0; color: #872c32; font-size: 11px; text-decoration: none; }
.resident-pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e6dcd2; }
.resident-pagination a, .resident-pagination .resident-page-current { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; padding: 7px 10px; border: 1px solid #e2d7cc; border-radius: 5px; background: #fff; color: #872c32; font-size: 12px; text-decoration: none; }
.resident-pagination .resident-page-current { background: #872c32; color: #fff; border-color: #872c32; }
.resident-pagination a:hover { background: #f2e8de; }
.resident-library .resident-empty { margin-top: 18px; padding: 50px 20px; }
.resident-library .resident-empty h2 { margin: 0; font: normal 23px/1.35 Georgia, serif; }
.resident-library input:focus-visible, .resident-library select:focus-visible, .resident-library button:focus-visible, .resident-library summary:focus-visible { outline: 2px solid #bc7e63; outline-offset: 3px; }
@media (max-width: 700px) {
    .resident-collections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .resident-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resident-controls { grid-template-columns: minmax(0, 1fr) auto; }
    .resident-search-field { grid-column: 1 / -1; grid-row: 1; }
    .resident-sort-field { grid-column: 1; grid-row: 2; }
    .resident-filters { grid-row: 3; }
    .resident-controls > .resident-control-submit { grid-column: 2; grid-row: 2; }
}
@media (max-width: 440px) {
    .resident-video-grid { grid-template-columns: minmax(0, 1fr); }
    .resident-collections { gap: 8px; }
    .resident-collection-copy { padding: 8px 6px; }
    .resident-collection-copy strong { font-size: 10px; }
    div.around a.resident-join-cta { min-width: 0; width: 100%; }
}
