/* ==========================================================================
   Blockchain.News — Professional channel landing pages
   Stocks, AI Hub, Crypto, Blockchain and future verticals.
   Light / dark mode aware. Mobile-first.
   ========================================================================== */

/* ---------- Hero ---------- */
.bn-channel-hero {
    position: relative;
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    overflow: hidden;
}

.bn-channel-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(33, 99, 232, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(12, 188, 135, 0.18) 0%, transparent 40%);
    pointer-events: none;
}

.bn-channel-hero .container {
    position: relative;
    z-index: 1;
}

.bn-channel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.25rem;
}

.bn-channel-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    max-width: 700px;
}

.bn-channel-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    opacity: 0.88;
    max-width: 620px;
    margin-bottom: 2rem;
}

.bn-channel-actions .btn {
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

.bn-hero-quote {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.bn-hero-quote i {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    display: block;
}

.bn-hero-quote p {
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Stocks hero accent */
.bn-stocks-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #064e3b 100%);
}

/* ---------- Topic cards ---------- */
.bn-topic-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: var(--bs-body-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.bn-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
    border-color: var(--bs-primary);
    color: var(--bs-body-color);
}

.bn-topic-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 1.25rem;
}

.bn-topic-body h5 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--bs-heading-color);
}

.bn-topic-body p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}

/* ---------- Hero card ---------- */
.bn-hero-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.06);
    height: 100%;
}

.bn-hero-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bn-hero-card-image {
    margin: 0;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bn-hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bn-hero-card-link:hover .bn-hero-card-image img {
    transform: scale(1.03);
}

.bn-hero-card-content {
    padding: 1.5rem;
}

.bn-hero-card-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--bs-primary);
    color: #fff;
    margin-bottom: 0.75rem;
}

.bn-hero-card-content h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--bs-heading-color);
}

.bn-hero-card-content p {
    color: var(--bs-secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ---------- Side list ---------- */
.bn-side-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.bn-side-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bn-side-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-color: var(--bs-primary);
    color: inherit;
}

.bn-side-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.bn-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-side-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.bn-side-body h6 {
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    color: var(--bs-heading-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Standard card ---------- */
.bn-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.bn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.07);
}

.bn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bn-card-image {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bn-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bn-card-link:hover .bn-card-image img {
    transform: scale(1.04);
}

.bn-card-body {
    padding: 1rem;
}

.bn-card-body h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--bs-heading-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Meta ---------- */
.bn-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

/* ---------- Cross-over CTA ---------- */
.bn-crossover-cta {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-primary-rgb), 0.02));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    border-radius: 1rem;
    padding: 2rem;
}

.bn-crossover-cta h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bs-heading-color);
}

.bn-crossover-cta p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@@media (max-width: 991.98px) {
    .bn-channel-hero {
        padding: 2.5rem 0 3rem;
    }

    .bn-channel-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .bn-hero-quote {
        display: none;
    }

    .bn-side-list {
        margin-top: 1rem;
    }
}

@@media (max-width: 575.98px) {
    .bn-topic-card {
        padding: 1rem;
    }

    .bn-topic-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .bn-crossover-cta {
        padding: 1.25rem;
    }
}
