/* Shared styles for sector landing pages */

#navbar .nav-inner {
    justify-content: space-between;
}

.nav-home {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-home:hover { color: var(--text); }

/* ---- Page header ---- */
.sector-page-header {
    padding: calc(64px + 4rem) 2rem 3rem;
    max-width: 1320px;
    margin: 0 auto;
}

.sector-page-tag {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.sector-page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.sector-page-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    max-width: 560px;
}

/* ---- Player section ---- */
.sector-player-section {
    padding: 0 2rem 2.5rem;
}

.sector-player-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sp-player-wrap {
    height: 58vh;
    min-height: 280px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.player-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.player-placeholder span {
    font-family: 'Orbitron', monospace;
    font-size: 0.62rem;
    letter-spacing: 5px;
    color: var(--text-dim);
    text-transform: uppercase;
}

#mainVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: none;
}

.player-meta {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--accent-border);
    min-height: 2rem;
}

.video-meta-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--text);
    text-transform: uppercase;
}

.video-meta-cat {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

/* ---- Thumb strip ---- */
.thumb-strip-outer {
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-border) transparent;
}

.thumb-strip-outer::-webkit-scrollbar { height: 3px; }
.thumb-strip-outer::-webkit-scrollbar-track { background: transparent; }
.thumb-strip-outer::-webkit-scrollbar-thumb { background: var(--accent-border); border-radius: 2px; }

.thumb-strip {
    display: flex;
    gap: 8px;
    width: max-content;
}

.thumb-item {
    width: 192px;
    flex-shrink: 0;
    cursor: pointer;
}

.thumb-preview {
    width: 192px;
    height: 108px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--accent-border);
    background: #000;
    transition: border-color 0.2s ease;
}

.thumb-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.45);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.thumb-item:hover .thumb-play { opacity: 1; }
.thumb-item:hover .thumb-preview { border-color: rgba(75, 122, 158, 0.45); }
.thumb-item.active .thumb-preview { border: 2px solid var(--accent); }

.thumb-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0.35rem 0.1rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 192px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.thumb-item:hover .thumb-label,
.thumb-item.active .thumb-label { color: var(--text); }

/* ---- Blog section ---- */
.sector-blog {
    background: var(--bg2);
    padding: 5rem 2rem 6rem;
    border-top: 1px solid var(--accent-border);
}

.sector-blog-inner {
    max-width: 860px;
    margin: 0 auto;
}

.blog-eyebrow {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.blog-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.blog-body p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.blog-body p:last-child { margin-bottom: 0; }

.blog-h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text);
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 3rem;
    border-top: 1px solid var(--accent-border);
}

.blog-h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ---- CTA strip ---- */
.sector-cta-strip {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.sector-cta-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
    flex: 1;
    min-width: 200px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .sector-page-header {
        padding: calc(64px + 2.5rem) 1.25rem 2rem;
    }

    .sector-player-section {
        padding: 0 1.25rem 1.5rem;
    }

    .sp-player-wrap {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .sector-blog {
        padding: 3.5rem 1.25rem 4rem;
    }

    .thumb-item { width: 148px; }
    .thumb-preview { width: 148px; height: 83px; }
    .thumb-label { max-width: 148px; }

    .sector-cta-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}
