
/* ── MC Design System - Cohorts Page ───────────────────── */
/* Dark-native C2UX. All class names preserved for JS compat. */

/* ── MC Tokens (scoped) ────────────────────────────────── */
.cohort-wrapper {
    --mc-black: #0a0a0a;
    --mc-charcoal: #171717;
    --mc-slate: #262626;
    --mc-blue: #3b82f6;
    --mc-blue-dark: #2563eb;
    --mc-blue-light: #60a5fa;
    --mc-white: #fafafa;
    --mc-offwhite: #e5e5e5;
    --mc-gray-light: #a3a3a3;
    --mc-gray-medium: #737373;
    --mc-ghost-gray: #525252;
    --mc-green: #22c55e;
    --mc-yellow: #eab308;
    --mc-red: #ef4444;
    --mc-radius: 2px;
    --mc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mc-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

/* Hide Ghost header */
.article-header, .post-header, .post-media {
    display: none !important;
}

/* Force full width layout */
.kg-card-html {
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

article, .gh-content, .gh-canvas, .post-content {
    max-width: 100% !important;
    width: 100% !important;
}

/* Full width wrapper */
.cohort-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--mc-black);
    color: var(--mc-offwhite);
    font-family: var(--mc-font);
    min-height: 100vh;
    padding: 0;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ── Sidebar ───────────────────────────────────────────── */
#wrapper {
    padding-left: 0;
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 900;
    position: fixed;
    top: 80px;
    left: 0;
    width: 250px;
    height: calc(100% - 80px);
    margin-left: -250px;
    overflow-y: auto;
    background: var(--mc-charcoal);
    border-right: 1px solid var(--mc-ghost-gray);
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.sidebar-header {
    position: fixed;
    top: 35px;
    left: 100px;
    z-index: 1001;
    color: var(--mc-offwhite);
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    letter-spacing: -0.02em;
}

#wrapper.toggled .sidebar-header {
    opacity: 1;
}

.sidebar-content {
    padding-top: 80px;
}

.sidebar-search {
    padding: 0 20px 20px 20px;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mc-ghost-gray);
    background: var(--mc-black);
    color: var(--mc-offwhite);
    border-radius: var(--mc-radius);
    font-size: 14px;
    font-family: var(--mc-font);
}

.sidebar-search input::placeholder {
    color: var(--mc-gray-medium);
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--mc-blue);
}

/* ── Filters ───────────────────────────────────────────── */
.filter-section {
    padding: 15px 20px;
    border-bottom: 1px solid var(--mc-ghost-gray);
}

.filter-section h4 {
    font-family: var(--mc-mono);
    color: var(--mc-blue);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-options li {
    margin: 5px 0;
}

.filter-options label {
    display: flex;
    align-items: center;
    color: var(--mc-gray-light);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
}

.filter-options label:hover {
    color: var(--mc-offwhite);
}

.filter-options input[type="checkbox"],
.filter-options input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--mc-blue);
}

.tag-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-filter-option {
    flex: 0 0 auto;
}

.tag-filter-option .tag {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    padding: 4px 10px;
}

.tag-filter-option .tag:hover {
    opacity: 0.85;
}

.tag-filter-option input[type="checkbox"] {
    display: none;
}

.tag-filter-option input[type="checkbox"]:checked + .tag {
    opacity: 1;
    box-shadow: 0 0 0 1px var(--mc-blue);
    font-weight: 700;
}

.clear-filters-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--mc-red);
    border-radius: var(--mc-radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.clear-filters-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.clear-filters-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--mc-blue);
    border-radius: var(--mc-radius);
    font-size: 11px;
    font-weight: 700;
    color: var(--mc-white);
    margin-left: 6px;
}

.menu-toggle {
    display: none;
}

/* ── Page Layout ───────────────────────────────────────── */
#page-content-wrapper {
    width: 100%;
    position: relative;
    padding: 0;
    transition: all 0.5s ease;
}

.cohort-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px clamp(16px, 3vw, 48px) 40px;
}

.page-header {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 600;
    color: var(--mc-offwhite);
    margin: 0 0 10px 0;
    letter-spacing: -0.025em;
}

.page-subtitle {
    color: var(--mc-gray-light);
    font-size: 16px;
    padding-top: 8px;
}

/* ── Action Bar ────────────────────────────────────────── */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--mc-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: var(--mc-font);
}

.btn-primary {
    background: var(--mc-blue);
    color: var(--mc-white);
}

.btn-primary:hover {
    background: var(--mc-blue-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--mc-offwhite);
    border: 1px solid var(--mc-ghost-gray);
}

.btn-secondary:hover {
    border-color: var(--mc-blue);
    color: var(--mc-blue);
}

.btn-success {
    background: var(--mc-green);
    color: var(--mc-white);
}

.btn-success:hover {
    background: #16a34a;
}

/* ── Stats Grid ────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--mc-ghost-gray);
    border: 1px solid var(--mc-ghost-gray);
    border-radius: var(--mc-radius);
    margin-bottom: 40px;
    scroll-margin-top: 20px;
}

.stat-card {
    background: var(--mc-charcoal);
    padding: 20px;
    border-radius: 0;
    transition: background 0.2s ease;
}

.stat-card:first-child {
    border-radius: var(--mc-radius) 0 0 var(--mc-radius);
}

.stat-card:last-child {
    border-radius: 0 var(--mc-radius) var(--mc-radius) 0;
}

.stat-card.clickable {
    cursor: pointer;
}

.stat-card.clickable:hover {
    background: var(--mc-slate);
}

.stat-card.active {
    background: var(--mc-blue);
    color: var(--mc-white);
}

.stat-card.active .stat-label,
.stat-card.active .stat-value {
    color: var(--mc-white);
}

.stat-label {
    font-family: var(--mc-mono);
    color: var(--mc-blue);
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--mc-offwhite);
    font-variant-numeric: tabular-nums;
}

.stat-change {
    color: var(--mc-green);
    font-size: 12px;
    margin-top: 4px;
}

/* ── Cohort Grid ───────────────────────────────────────── */
.cohort-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.cohort-card {
    background: var(--mc-charcoal);
    border: 1px solid var(--mc-ghost-gray);
    border-radius: var(--mc-radius);
    padding: 24px;
    transition: border-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.cohort-card:hover {
    border-color: var(--mc-blue);
}

.cohort-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: var(--mc-radius);
    font-family: var(--mc-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--mc-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: var(--mc-blue-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-completed {
    background: var(--mc-slate);
    color: var(--mc-gray-light);
    border: 1px solid var(--mc-ghost-gray);
}

.cohort-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mc-offwhite);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.cohort-dates {
    color: var(--mc-gray-medium);
    font-size: 14px;
    margin-bottom: 16px;
}

.cohort-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--mc-ghost-gray);
}

.cohort-stat {
    flex: 1;
}

.cohort-stat-label {
    font-family: var(--mc-mono);
    color: var(--mc-gray-medium);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.cohort-stat-value {
    color: var(--mc-offwhite);
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── Loading State ─────────────────────────────────────── */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--mc-ghost-gray);
    border-top-color: var(--mc-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Empty State ────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--mc-charcoal);
    border: 1px solid var(--mc-ghost-gray);
    border-radius: var(--mc-radius);
}

.empty-state h3 {
    color: var(--mc-offwhite);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--mc-gray-light);
    margin-bottom: 24px;
}

/* ── Error / Sync States ───────────────────────────────── */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--mc-red);
    padding: 16px;
    border-radius: var(--mc-radius);
    margin-bottom: 20px;
}

.sync-status {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 16px;
    border-radius: var(--mc-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--mc-offwhite);
}

.sync-status.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.sync-status.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* ── Carousel Section ──────────────────────────────────── */
.carousel-section {
    padding: 60px 0;
    background: var(--mc-charcoal);
    border-top: 1px solid var(--mc-ghost-gray);
    border-bottom: 1px solid var(--mc-ghost-gray);
    margin: 40px calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-title {
    text-align: center;
    color: var(--mc-offwhite);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.about-subtitle {
    text-align: center;
    color: var(--mc-gray-light);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    position: absolute;
    width: 280px;
    height: 350px;
    border-radius: var(--mc-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: var(--mc-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--mc-ghost-gray);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.card img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: filter 0.8s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.card.center {
    transform: translateX(0) scale(1);
    z-index: 5;
    opacity: 1;
    background: var(--mc-charcoal);
    border-color: var(--mc-blue);
}

.card.center img {
    filter: brightness(1.1) contrast(1.05) drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}

.card.left-1 {
    transform: translateX(-300px) scale(0.85);
    z-index: 4;
    opacity: 0.5;
}

.card.left-1 img {
    filter: grayscale(0.9) brightness(0.7) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.card.left-2 {
    transform: translateX(-500px) scale(0.7);
    z-index: 3;
    opacity: 0.2;
}

.card.left-2 img {
    filter: grayscale(1) brightness(0.5);
}

.card.right-1 {
    transform: translateX(300px) scale(0.85);
    z-index: 4;
    opacity: 0.5;
}

.card.right-1 img {
    filter: grayscale(0.9) brightness(0.7) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.card.right-2 {
    transform: translateX(500px) scale(0.7);
    z-index: 3;
    opacity: 0.2;
}

.card.right-2 img {
    filter: grayscale(1) brightness(0.5);
}

.card.hidden {
    transform: translateX(0) scale(0.5);
    z-index: 1;
    opacity: 0;
}

.card.hidden img {
    filter: grayscale(1) brightness(0.5);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--mc-slate);
    border: 1px solid var(--mc-ghost-gray);
    width: 44px;
    height: 44px;
    border-radius: var(--mc-radius);
    font-size: 20px;
    color: var(--mc-offwhite);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--mc-charcoal);
    border-color: var(--mc-blue);
    transform: translateY(-50%);
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}

.member-info {
    text-align: center;
    margin-top: 40px;
    color: var(--mc-offwhite);
    position: relative;
    z-index: 2;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
    letter-spacing: -0.02em;
    color: var(--mc-offwhite);
}

.member-role {
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    color: var(--mc-gray-light);
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mc-ghost-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: var(--mc-blue);
}

/* ── Company Cards ──────────────────────────────────────── */
.companies-header {
    text-align: center;
    margin-bottom: 40px;
}

.companies-header h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--mc-offwhite);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.companies-header p {
    color: var(--mc-gray-light);
    margin: 0;
    font-size: 14px;
}

.match-suggestions {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--mc-charcoal);
    border: 1px solid var(--mc-ghost-gray);
    border-radius: var(--mc-radius);
    display: none;
}

.match-suggestions.active {
    display: block;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.match-card {
    background: var(--mc-slate);
    border-radius: var(--mc-radius);
    padding: 16px;
    border: 1px solid var(--mc-ghost-gray);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.match-card:hover {
    border-color: var(--mc-blue);
}

.match-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    align-self: center;
}

.match-card h3 {
    margin: 8px 0 4px 0;
    font-size: 1rem;
    color: var(--mc-offwhite);
}

.match-card p {
    margin: 0;
    color: var(--mc-gray-light);
    font-size: 13px;
}

.match-reason {
    font-size: 12px;
    color: var(--mc-blue);
    margin-top: auto;
}

.company-card {
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px 12px 12px;
}

.company-card .tag-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 0;
}

.company-card .tag {
    font-size: 10px;
    padding: 4px 9px;
    flex-shrink: 0;
    border-radius: 2px;
}

.company-card .tag.tag-mc {
    border: 1px solid var(--mc-ghost-gray);
    background: var(--mc-slate);
    color: var(--mc-offwhite);
    font-family: var(--mc-mono);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.company-card .tag.tag-mc[data-category="trl"] {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
}

.company-card .tag.tag-mc[data-category="warfareDomain"] {
    border-color: rgba(20, 184, 166, 0.45);
    background: rgba(20, 184, 166, 0.14);
    color: #99f6e4;
}

.company-card .tag.tag-mc[data-category="hardwareSoftware"] {
    border-color: rgba(234, 179, 8, 0.55);
    background: rgba(234, 179, 8, 0.16);
    color: #fde68a;
}

.company-card .tag.tag-mc[data-category="criticalTechArea"] {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.12);
    color: #ddd6fe;
}

.company-logo-container {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7e5e4;
    border-radius: var(--mc-radius);
    overflow: hidden;
    border: 1px solid #cfcfcf;
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mc-offwhite);
    margin: 12px 0 8px 0;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    text-align: center;
}

.company-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-mission {
    color: var(--mc-gray-light);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 1.3em;
    width: 100%;
}

.company-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.company-trl {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--mc-blue-light);
    padding: 3px 10px;
    border-radius: var(--mc-radius);
    font-family: var(--mc-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.company-size {
    display: inline-block;
    background: var(--mc-slate);
    color: var(--mc-gray-light);
    padding: 3px 10px;
    border-radius: var(--mc-radius);
    font-family: var(--mc-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ── Favorite / Interest Buttons ───────────────────────── */
.favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: var(--mc-slate);
    border: 1px solid var(--mc-ghost-gray);
    width: 36px;
    height: 36px;
    border-radius: var(--mc-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    border-color: var(--mc-blue);
    background: var(--mc-charcoal);
}

.favorite-btn .favorite-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.favorite-btn:active .favorite-icon {
    transform: scale(0.9);
}

.favorite-btn.favorited .favorite-icon {
    content: '\2764\FE0F';
}

.interest-btn {
    position: absolute;
    top: 8px;
    right: 52px;
    z-index: 9;
    background: var(--mc-slate);
    border: 1px solid var(--mc-ghost-gray);
    width: 36px;
    height: 36px;
    border-radius: var(--mc-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.interest-btn:hover {
    border-color: var(--mc-blue);
    background: var(--mc-charcoal);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .cohort-container {
        padding: 20px;
    }

    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons {
        width: 100%;
    }

    .modal-video iframe {
        height: 220px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cohort-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-top-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-around;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .website-row {
        justify-content: center;
    }

    .modal-action-buttons {
        justify-content: center;
    }

    .modal-quick-stats {
        margin: 0 12px 24px;
    }

    .modal-cta-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-cta-button {
        width: 100%;
        text-align: center;
    }
}

.mc-db-callout {
    border: 1px solid var(--mc-ghost-gray);
    border-left: 3px solid var(--mc-blue);
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 24px;
    padding: 16px 18px;
}

.mc-db-callout__eyebrow {
    color: var(--mc-blue-light);
    display: block;
    font-family: var(--mc-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mc-db-callout strong {
    color: var(--mc-offwhite);
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.mc-db-callout p {
    color: var(--mc-gray-light);
    font-size: 14px;
    margin: 0;
}

.mc-db-callout__link {
    background: var(--mc-blue);
    color: #fff;
    flex: 0 0 auto;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.mc-db-callout__link:hover {
    background: var(--mc-blue-light);
    color: #fff;
}

@media (max-width: 760px) {
    .mc-db-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ── Desktop: the left drawer defaults OPEN (mc-platform) ──────────────────
 * The original toggles the sidebar via #wrapper.toggled, defaulting closed.
 * On desktop it should show by default (dynamic search + filters). Apply the
 * open-state rules without needing the class; the burger still toggles it on
 * mobile. Also align the drawer top to our 100px header (original used 80px). */
@media (min-width: 769px) {
    #wrapper {
        padding-left: 250px;
    }
    #sidebar-wrapper {
        margin-left: 0;
        top: 100px;
        height: calc(100% - 100px);
    }
    .sidebar-header {
        opacity: 1;
    }
}
