/* RedditRecovery Archive — Dark Mode CSS */

:root {
    --bg: #1a1a2e;
    --bg-surface: #16213e;
    --bg-card: #1e2a47;
    --bg-hover: #253350;
    --text: #e0e0e0;
    --text-dim: #8899aa;
    --text-link: #64b5f6;
    --text-link-hover: #90caf9;
    --accent: #5c6bc0;
    --accent-hover: #7986cb;
    --border: #2a3a5c;
    --green: #66bb6a;
    --yellow: #ffa726;
    --red: #ef5350;
    --flair-bg: #3a3a5c;
    --mark-bg: #5c6b20;
    --comment-line: #3a4a6c;
    --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--text-link);
    text-decoration: none;
}
a:hover { color: var(--text-link-hover); }

mark, .search-result mark {
    background: var(--mark-bg);
    color: var(--text);
    padding: 1px 2px;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text) !important;
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Navbar Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    color: var(--text-dim) !important;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--text) !important; }
.nav-dropdown-trigger::after {
    content: " \25BE";
    font-size: 0.7rem;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 160px;
    padding: 0.5rem 0 0.35rem;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    /* Hidden by default — use visibility/opacity so we can add a hide delay */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.2s, opacity 0.15s;
}
/* Invisible hover bridge above the menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}
.nav-dropdown:hover .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 0.75rem;
    color: var(--text-dim) !important;
    font-size: 0.85rem;
    font-weight: 400;
    transition: background 0.15s;
}
.nav-dropdown-menu a:hover {
    background: var(--bg-hover);
    color: var(--text) !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    flex: 1;
}

/* Page Header */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.subtitle { color: var(--text-dim); }

/* Layout */
.content-layout {
    display: flex;
    gap: 1.5rem;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}
.sidebar-section {
    margin-bottom: 1.5rem;
}
.sidebar-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Community Sidebar Cards */
.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sidebar-card {
    background: var(--bg-surface);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}
.sidebar-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.sidebar-card-header h3 {
    margin-bottom: 0.25rem;
}
.sidebar-card-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.sidebar-body {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-dim);
}
.sidebar-body p:last-child {
    margin-bottom: 0;
}
.sidebar-meta-info {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

/* Sidebar Link Buttons */
.sidebar-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.sidebar-link-btn {
    display: block;
    padding: 0.3rem 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text) !important;
    font-size: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s;
}
.sidebar-link-btn:hover {
    background: var(--bg-hover);
    color: var(--text) !important;
}

/* Sidebar Dropdowns */
.sidebar-dropdown {
    position: relative;
}
.sidebar-dropdown > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.sidebar-dropdown > summary::-webkit-details-marker {
    display: none;
}
.sidebar-dropdown > summary::after {
    content: "\25BE";
    font-size: 0.7rem;
    color: var(--text-dim);
}
.sidebar-dropdown[open] > summary::after {
    content: "\25B4";
}
.sidebar-dropdown-menu {
    list-style: none;
    padding: 0.25rem 0 0;
    margin: 0.35rem 0 0;
    border-top: 1px solid var(--border);
}
.sidebar-dropdown-menu li {
    padding: 0;
}
.sidebar-dropdown-menu li a {
    display: block;
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: background 0.15s;
}
.sidebar-dropdown-menu li a:hover {
    background: var(--bg-hover);
}

/* Sidebar Rules */
.sidebar-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: rule;
}
.sidebar-rules > li {
    counter-increment: rule;
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.sidebar-rules > li:last-child {
    border-bottom: none;
}
.sidebar-rules > li::before {
    content: counter(rule);
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}
.sidebar-rules details {
    flex: 1;
    min-width: 0;
}
.sidebar-rules summary {
    cursor: pointer;
    color: var(--text-dim);
}
.sidebar-rules summary:hover {
    color: var(--text);
}
.sidebar-rules details p {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    padding-left: 0.25rem;
    border-left: 2px solid var(--border);
}

/* Sidebar Wiki Navigation */
.sidebar-wiki-nav {
    font-size: 0.8rem;
}
.sidebar-wiki-nav hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}
.sidebar-wiki-nav p {
    margin-bottom: 0.25rem !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.2s;
    text-decoration: none;
}
.btn:hover { background: var(--bg-hover); color: var(--text); }
.btn-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-small { padding: 0.2rem 0.5rem; font-size: 0.8rem; margin: 0.15rem; }
.flair-btn { margin-bottom: 0.25rem; }

/* Post List */
.post-list { flex: 1; min-width: 0; }

.post-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: background 0.15s;
}
.post-card:hover { background: var(--bg-hover); }

.post-score {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 3rem;
    padding-top: 0.25rem;
}
.score-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

.post-content { flex: 1; min-width: 0; }

.post-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--text-link); }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    align-items: center;
}

/* Flair */
.flair {
    background: var(--flair-bg);
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge-recovered { background: rgba(255, 167, 38, 0.2); color: var(--yellow); }
.badge-lost { background: rgba(239, 83, 80, 0.2); color: var(--red); }

.link-domain { font-style: italic; }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
}
.page-info { color: var(--text-dim); font-size: 0.9rem; }

/* Post Detail Layout */
.content-layout-reverse {
    flex-direction: row-reverse;
}
.post-main {
    flex: 1;
    min-width: 0;
}

/* Post Detail */
.post-detail { max-width: 800px; }

.post-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.post-header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.post-link {
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    word-break: break-all;
}

.post-media {
    margin-bottom: 1rem;
}
.media-image {
    max-width: 100%;
    max-height: 600px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    display: block;
}
.media-video {
    max-width: 100%;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}
.media-with-caption {
    margin-bottom: 0.5rem;
}
.media-caption {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 0.25rem 0;
}

.post-body {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Markdown body */
.markdown-body p { margin-bottom: 0.75rem; }
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    margin: 1rem 0 0.5rem;
}
.markdown-body ul, .markdown-body ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}
.markdown-body blockquote {
    border-left: 3px solid var(--border);
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    color: var(--text-dim);
}
.markdown-body code {
    background: var(--bg);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    font-size: 0.9em;
}
.markdown-body pre {
    background: var(--bg);
    padding: 0.75rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 0.75rem 0;
}
.markdown-body pre code {
    background: none;
    padding: 0;
}
.markdown-body img {
    max-width: 100%;
    border-radius: var(--radius);
}
.markdown-body table {
    border-collapse: collapse;
    margin: 0.75rem 0;
    width: 100%;
}
.markdown-body th, .markdown-body td {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
    text-align: left;
}
.markdown-body th { background: var(--bg-surface); }

/* Comments */
.comments-section {
    margin-top: 2rem;
}
.comments-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.comment {
    position: relative;
    margin-bottom: 0.5rem;
}
.comment::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--comment-line);
}
.comment[data-depth="0"]::before { display: none; }
.comment[data-depth="1"]::before { background: #4A90D9; }
.comment[data-depth="2"]::before { background: #46D160; }
.comment[data-depth="3"]::before { background: #FFD139; }
.comment[data-depth="4"]::before { background: #FF6B6B; }
.comment[data-depth="5"]::before { background: #C084FC; }
.comment[data-depth="6"]::before { background: #22D3EE; }
.comment[data-depth="7"]::before { background: #F97316; }
.comment[data-depth="8"]::before { background: #4A90D9; }
.comment[data-depth="9"]::before { background: #46D160; }
.comment[data-depth="10"]::before { background: #FFD139; }

.comment-collapse {
    position: absolute;
    left: -1rem;
    top: 0;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-family: monospace;
    user-select: none;
    z-index: 1;
    display: none;
}
.comment:hover > .comment-collapse { display: block; }

.comment-inner {
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
    align-items: center;
}
.comment-meta .author { font-weight: 600; color: var(--text-link); }
.comment-meta .author.op { color: var(--accent); }

.comment-body { font-size: 0.925rem; }
.comment-body p:last-child { margin-bottom: 0; }

.comment-children {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}
/* Stop indenting deeper than depth 5 */
.comment[data-depth="5"] > .comment-inner > .comment-children,
.comment[data-depth="6"] > .comment-inner > .comment-children,
.comment[data-depth="7"] > .comment-inner > .comment-children,
.comment[data-depth="8"] > .comment-inner > .comment-children,
.comment[data-depth="9"] > .comment-inner > .comment-children,
.comment[data-depth="10"] > .comment-inner > .comment-children {
    padding-left: 0;
}

.comment.collapsed .comment-inner .comment-body,
.comment.collapsed .comment-inner .comment-children {
    display: none;
}

.no-comments { color: var(--text-dim); font-style: italic; }

/* Wiki */
.wiki-list { max-width: 800px; }
.wiki-card {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.wiki-card h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.wiki-meta { font-size: 0.8rem; color: var(--text-dim); }

.wiki-page { max-width: 800px; }
.wiki-content {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow-wrap: anywhere;
    word-break: break-all;
    overflow: hidden;
}
.wiki-content a {
    word-break: break-all;
}

/* Search */
.search-form { margin-bottom: 1.5rem; }
.search-input-wrapper {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}
.search-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    outline: none;
}
.search-input:focus { border-color: var(--accent); }

.results-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.results-count {
    color: var(--text-dim);
}
.filter-dropdown {
    padding: 0.1rem 0.4rem;
    background: var(--flair-bg);
    border: none;
    border-radius: 3px;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.search-result {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.search-result h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.result-type {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    background: var(--flair-bg);
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.result-snippet {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
}
.result-meta { font-size: 0.8rem; color: var(--text-dim); }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.25rem;
}
.stat-card.wide {
    grid-column: 1 / -1;
}
.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.stat-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}
.stat-live { color: var(--green); }
.stat-recovered { color: var(--yellow); }
.stat-lost { color: var(--red); }

.stats-table {
    width: 100%;
    border-collapse: collapse;
}
.stats-table th, .stats-table td {
    padding: 0.4rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.stats-table th { color: var(--text-dim); font-size: 0.85rem; }

/* Misc */
.error-message {
    padding: 1rem;
    background: rgba(239, 83, 80, 0.15);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    color: var(--red);
    margin-bottom: 1rem;
}
.no-content { color: var(--text-dim); font-style: italic; padding: 2rem 0; }
.back-link { margin-top: 2rem; }

.footer {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

/* Disclaimer Banner */
.disclaimer-banner {
    padding: 0.75rem 1rem;
    background: rgba(255, 167, 38, 0.1);
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    color: var(--yellow);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.disclaimer-banner a {
    color: var(--yellow);
    text-decoration: underline;
    font-weight: 600;
}

/* Video Catalogue */
.catalogue-page { max-width: 900px; }

.catalogue-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalogue-player-area {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 0.5rem;
}
.catalogue-video-player {
    width: 100%;
    max-height: 500px;
    border-radius: var(--radius);
    background: #000;
}
.player-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}
.player-info h2 {
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.catalogue-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
}
.catalogue-section-title {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.catalogue-section-title:hover { color: var(--text-link); }
.catalogue-count {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 400;
}

.catalogue-video-list {
    border-top: 1px solid var(--border);
}

.catalogue-video-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    transition: background 0.15s;
}
.catalogue-video-item:last-child { border-bottom: none; }
.catalogue-video-item.available { cursor: pointer; }
.catalogue-video-item.available:hover { background: var(--bg-hover); }
.catalogue-video-item.active { background: var(--accent); }
.catalogue-video-item.active .catalogue-video-title { color: #fff; }
.catalogue-video-item.unavailable { opacity: 0.5; }

.catalogue-video-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.catalogue-video-title {
    font-size: 0.9rem;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catalogue-video-duration {
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-shrink: 0;
}
.catalogue-video-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.badge-available {
    background: rgba(102, 187, 106, 0.2);
    color: var(--green);
}
.badge-unavailable {
    background: rgba(239, 83, 80, 0.15);
    color: var(--red);
}
.defunct-link {
    text-decoration: line-through;
    opacity: 0.5;
    cursor: not-allowed;
}
.catalogue-yt-link {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    background: rgba(239, 83, 80, 0.2);
    color: var(--red) !important;
    font-weight: 700;
    text-transform: uppercase;
}
.catalogue-yt-link:hover {
    background: rgba(239, 83, 80, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .content-layout { flex-direction: column; }
    .sidebar { width: 100%; }
    .nav-container { flex-direction: column; gap: 0.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .post-card { flex-direction: column; }
    .post-score { min-width: auto; flex-direction: row; }
    .catalogue-video-item { flex-direction: column; align-items: flex-start; }
    .catalogue-video-badges { margin-top: 0.25rem; }
    .nav-dropdown-menu { left: 0; transform: none; }
}
