/* ==========================================================================
   Shkediya — Editorial Content Hub
   All classes scoped under .shk-*
   Layout: content bands with varying density, asymmetric grids, stream layouts
   ========================================================================== */

.shk-page {
    font-family: var(--font-main, 'Heebo', system-ui, sans-serif);
    color: var(--c-text, #0f172a);
}

/* ==========================================================================
   BAND 1: HERO — dark, authoritative, full-bleed
   ========================================================================== */

.shk-hero-band {
    background: linear-gradient(160deg, #071428 0%, #0d2240 50%, #122d52 100%);
    color: #fff;
    padding: 3.5rem 1.5rem 3rem;
}

.shk-hero-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.shk-hero-content {
    flex: 1;
    max-width: 640px;
}

.shk-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    margin: 0 0 0.6rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
}

.shk-hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 520px;
}

.shk-hero-search {
    max-width: 440px;
}

.shk-search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.shk-search-input::placeholder { color: rgba(255,255,255,0.4); }
.shk-search-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.shk-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
    flex-shrink: 0;
}

.shk-lang-switch {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 2px;
}

.shk-lang-opt {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    transition: all 0.15s;
}

.shk-lang-opt:hover { color: rgba(255,255,255,0.8); }
.shk-lang-opt.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.shk-admin-link {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.15s;
}
.shk-admin-link:hover {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.25);
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.shk-main {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* ==========================================================================
   BAND 2: EDITORIAL ZONE — asymmetric feature + updates rail
   ========================================================================== */

.shk-editorial-zone {
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}

.shk-editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}

/* Lead Story — dominant feature */
.shk-lead-story {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border, #e2e8f0);
}

.shk-lead-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-primary, #2563eb);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.shk-lead-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: var(--c-text, #0f172a);
    letter-spacing: -0.02em;
}

.shk-lead-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text-muted, #475569);
    margin-bottom: 0.75rem;
}

.shk-lead-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-primary, #2563eb);
    text-decoration: none;
}
.shk-lead-link:hover { text-decoration: underline; }

/* Secondary featured items — stacked below lead */
.shk-feature-secondary {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
}

.shk-secondary-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-border, #e2e8f0);
}
.shk-secondary-item:last-child { border-bottom: none; }

.shk-sec-date {
    font-size: 0.7rem;
    color: var(--c-text-muted, #94a3b8);
    font-weight: 500;
}

.shk-sec-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.15rem 0 0.25rem;
    color: var(--c-text, #0f172a);
    line-height: 1.35;
}

.shk-sec-excerpt {
    font-size: 0.88rem;
    color: var(--c-text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
}

.shk-sec-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-primary, #2563eb);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.3rem;
}
.shk-sec-link:hover { text-decoration: underline; }

/* Quick Access links (when shown in feature area) */
.shk-zone-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--c-text, #0f172a);
}

.shk-quick-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shk-quick-link {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--c-border, #e2e8f0);
    text-decoration: none;
    transition: padding-inline-start 0.15s;
}
.shk-quick-link:last-child { border-bottom: none; }
.shk-quick-link:hover { padding-inline-start: 6px; }

.shk-ql-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-text, #0f172a);
}
.shk-ql-desc {
    font-size: 0.82rem;
    color: var(--c-text-muted, #64748b);
    margin-top: 1px;
}

/* Updates Rail — tight vertical stream */
.shk-updates-rail {
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
}

.shk-rail-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-muted, #64748b);
    padding: 1rem 1.25rem 0.6rem;
    margin: 0;
    border-bottom: 1px solid var(--c-border, #e2e8f0);
}

.shk-stream {
    max-height: 520px;
    overflow-y: auto;
}

.shk-stream-item {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--c-border, #f1f5f9);
    transition: background 0.1s;
}
.shk-stream-item:last-child { border-bottom: none; }
.shk-stream-item:hover { background: var(--c-bg, #f8fafc); }

.shk-stream-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shk-stream-date {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--c-primary, #2563eb);
    flex-shrink: 0;
    min-width: 2.5rem;
}

.shk-stream-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-text, #0f172a);
    line-height: 1.35;
}

.shk-stream-excerpt {
    font-size: 0.78rem;
    color: var(--c-text-muted, #94a3b8);
    line-height: 1.45;
    margin: 0.2rem 0 0;
}

.shk-stream-link {
    font-size: 0.75rem;
    color: var(--c-primary, #2563eb);
    text-decoration: none;
    font-weight: 600;
}
.shk-stream-link:hover { text-decoration: underline; }

.shk-stream-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--c-text-muted, #94a3b8);
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================================================
   UPDATES-ONLY BAND (when no featured content)
   ========================================================================== */

.shk-updates-band {
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}

.shk-stream-solo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-surface, #fff);
}

.shk-stream-solo .shk-stream-item {
    border-bottom: 1px solid var(--c-border, #f1f5f9);
    border-inline-end: 1px solid var(--c-border, #f1f5f9);
}

/* ==========================================================================
   FEATURED-ONLY BAND
   ========================================================================== */

.shk-featured-band {
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   BAND TITLES — shared across all content bands
   ========================================================================== */

.shk-band-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-text, #0f172a);
    margin: 0 0 1.2rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--c-text-muted, #475569);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--c-text, #0f172a);
    display: inline-block;
}

/* ==========================================================================
   BAND 3: SITE AREAS — asymmetric navigation clusters
   ========================================================================== */

.shk-nav-band {
    margin-bottom: 2.5rem;
}

.shk-nav-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.shk-cluster-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-text-muted, #94a3b8);
    margin: 0 0 0.6rem;
}

.shk-mt { margin-top: 1.5rem; }

.shk-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shk-nav-list li {
    border-bottom: 1px solid var(--c-border, #f1f5f9);
}
.shk-nav-list li:last-child { border-bottom: none; }

.shk-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    text-decoration: none;
    transition: padding-inline-start 0.15s;
}
.shk-nav-item:hover { padding-inline-start: 4px; }

.shk-nav-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-text, #0f172a);
}

.shk-nav-desc {
    font-size: 0.8rem;
    color: var(--c-text-muted, #94a3b8);
    text-align: end;
    flex-shrink: 0;
}

/* Primary cluster — slightly larger text */
.shk-nav-primary .shk-nav-name { font-size: 1rem; }
.shk-nav-primary .shk-nav-item { padding: 0.8rem 0; }

/* Compact variant */
.shk-nav-compact .shk-nav-item { padding: 0.55rem 0; }
.shk-nav-compact .shk-nav-name { font-size: 0.9rem; font-weight: 600; }

/* ==========================================================================
   BAND 4: DISCOVERY — flowing tag strip
   ========================================================================== */

.shk-discovery-band {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--c-border, #e2e8f0);
    border-bottom: 1px solid var(--c-border, #e2e8f0);
}

.shk-tag-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shk-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e2e8f0);
    transition: all 0.15s;
    line-height: 1;
}

.shk-tag:hover {
    border-color: var(--c-primary, #2563eb);
    color: var(--c-primary, #2563eb);
    background: #eef4ff;
}

.shk-tag-name {
    font-weight: 600;
    color: var(--c-text, #0f172a);
}
.shk-tag:hover .shk-tag-name { color: var(--c-primary, #2563eb); }

.shk-tag-count {
    font-size: 0.7rem;
    color: var(--c-text-muted, #94a3b8);
    font-weight: 500;
}

/* ==========================================================================
   BAND 5: MANAGED SECTIONS — admin-curated clusters
   ========================================================================== */

.shk-managed-band {
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.shk-managed-cluster {
    min-width: 0;
}

.shk-managed-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-text-muted, #94a3b8);
    margin: 0 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--c-primary, #2563eb);
    display: inline-block;
}

.shk-managed-items {
    display: flex;
    flex-direction: column;
}

.shk-managed-link {
    display: flex;
    flex-direction: column;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--c-border, #f1f5f9);
    text-decoration: none;
    transition: padding-inline-start 0.15s;
}
.shk-managed-link:last-child { border-bottom: none; }
.shk-managed-link:hover { padding-inline-start: 4px; }

.shk-ml-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-text, #0f172a);
    line-height: 1.35;
}

.shk-ml-desc {
    font-size: 0.78rem;
    color: var(--c-text-muted, #94a3b8);
    margin-top: 1px;
}

/* ==========================================================================
   BAND 6: ARCHIVE — compact tabular update list
   ========================================================================== */

.shk-archive-band {
    margin-bottom: 2.5rem;
}

.shk-archive-list {
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    background: var(--c-surface, #fff);
}

.shk-archive-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--c-border, #f1f5f9);
    transition: background 0.1s;
}
.shk-archive-row:last-child { border-bottom: none; }
.shk-archive-row:hover { background: var(--c-bg, #f8fafc); }

.shk-archive-date {
    font-size: 0.72rem;
    color: var(--c-text-muted, #94a3b8);
    flex-shrink: 0;
    min-width: 5rem;
    font-weight: 500;
}

.shk-archive-content {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.shk-archive-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--c-text, #0f172a);
}

.shk-archive-excerpt {
    font-size: 0.78rem;
    color: var(--c-text-muted, #94a3b8);
}

.shk-archive-link {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--c-primary, #2563eb);
    text-decoration: none;
    font-weight: 600;
}
.shk-archive-link:hover { text-decoration: underline; }

/* ==========================================================================
   EMPTY / NO RESULTS
   ========================================================================== */

.shk-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--c-text-muted, #94a3b8);
}
.shk-no-results p { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .shk-hero-band { padding: 2rem 1rem 1.75rem; }

    .shk-hero-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .shk-hero-meta {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .shk-hero-title { font-size: 2rem; }
    .shk-hero-search { max-width: 100%; }

    .shk-main { padding: 0 1rem 3rem; }

    .shk-editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .shk-updates-rail {
        max-height: none;
    }
    .shk-stream { max-height: 400px; }

    .shk-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shk-stream-solo {
        grid-template-columns: 1fr;
    }

    .shk-managed-band {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shk-archive-row {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .shk-archive-date { min-width: auto; }

    .shk-lead-title { font-size: 1.35rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .shk-editorial-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1.5rem;
    }

    .shk-nav-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 1.5rem;
    }
}
