/* Card Section — takes up the LEFT, 8-col wide */
.card-section {
    flex: 1 1 0;
    min-width: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ───────────────────────────────
           NEWS CARD STYLE
        ─────────────────────────────── */
.news-card-8 {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-8::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card-8:hover::after {
    opacity: 1;
}

.news-card-8:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 200, 154, 0.2);
}

.news-card-8 .card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--secondary-extra-light);
}

.news-card-8 .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-8:hover .card-image {
    transform: scale(1.1) rotate(-2deg);
}

.news-card-8 .card-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.news-card-8 .tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-card-8 .tag.ebook {
    background: var(--primary-color);
    color: var(--white);
}

.news-card-8 .tag.audio {
    background: #ff6b6b;
    color: var(--white);
}

.news-card-8 .card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-8 .card-title {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-8:hover .card-title {
    color: var(--primary-color);
}

.news-card-8 .card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-8 .card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--secondary-extra-light);
    margin-top: auto;
}

.news-card-8 .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-card-8 .price-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.news-card-8 .price-label {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.news-card-8 .price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.news-card-8 .audio-price {
    font-size: 14px;
    color: #ff6b6b;
    font-weight: 600;
}

.news-card-8 .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.news-card-8 .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 154, 0.3);
}

/* ───────────────────────────────
           RESPONSIVE
        ─────────────────────────────── */
@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-column {
        width: 260px;
    }
}

@media (max-width: 900px) {
    .main-content-row {
        flex-direction: column;
    }

    .sidebar-column {
        width: 100%;
    }

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

@media (max-width: 600px) {
    body {
        padding: 0;
    }

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

    .banner-title {
        font-size: 32px;
    }
}

        /* ── HERO ── */
        .detail-hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0a2318 100%);
            position: relative;
            overflow: hidden;
            padding-top: 60px;
        }

        /* dot grid */
        .detail-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            background-size: 28px 28px;
            pointer-events: none;
        }

        /* green glow */
        .detail-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 55% 90% at 75% 50%, rgba(0, 200, 154, 0.16) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            align-items: center;
        }

        /* ── Cover ── */
        .hero-cover {
            padding-bottom: 52px;
        }

        .cover-wrap {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .cover-wrap::before {
            content: '';
            position: absolute;
            top: 14px;
            left: -14px;
            right: 14px;
            bottom: -14px;
            background: rgba(0, 200, 154, 0.22);
            border-radius: 16px;
            z-index: 0;
        }

        .cover-img {
            position: relative;
            z-index: 1;
            width: 100%;
            border-radius: 14px;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
            display: block;
        }

        .cover-badge {
            position: absolute;
            top: -12px;
            right: -12px;
            z-index: 2;
            background: var(--primary-color);
            color: var(--white);
            font-family: var(--title-font);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            padding: 7px 14px;
            border-radius: 20px;
            box-shadow: 0 4px 14px rgba(0, 200, 154, 0.45);
        }

        /* ── Hero text ── */
        .hero-text {
            color: var(--white);
        }

        .hero-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.45);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .hero-breadcrumb a {
            color: rgba(255, 255, 255, 0.45);
            text-decoration: none;
            transition: color .2s;
        }

        .hero-breadcrumb a:hover {
            color: var(--primary-color);
        }

        .hero-breadcrumb i {
            font-size: 9px;
        }

        .hero-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 18px;
        }

        .htag {
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .htag-ebook {
            background: var(--primary-color);
            color: var(--white);
        }

        .htag-audio {
            background: #ff6b6b;
            color: var(--white);
        }

        .hero-title {
            font-family: var(--title-font);
            font-size: clamp(26px, 3.5vw, 44px);
            font-weight: 700;
            line-height: 1.2;
            color: var(--white);
            margin-bottom: 32px;
        }

        /* ── Purchase cards ── */
        .purchase-row {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .purchase-card {
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.13);
            border-radius: 14px;
            padding: 20px 24px;
            flex: 1;
            min-width: 175px;
            backdrop-filter: blur(8px);
            transition: border-color .3s, background .3s;
        }

        .purchase-card:hover {
            border-color: rgba(0, 200, 154, 0.5);
            background: rgba(0, 200, 154, 0.09);
        }

        .pc-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.45);
            margin-bottom: 10px;
        }

        .pc-price {
            font-family: var(--title-font);
            font-size: 34px;
            font-weight: 700;
            color: var(--white);
            line-height: 1;
            margin-bottom: 16px;
        }

        .btn-ebook {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            background: var(--primary-color);
            color: var(--white);
            font-family: var(--title-font);
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            padding: 13px 20px;
            border-radius: 10px;
            transition: all .3s;
        }

        .btn-ebook:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(0, 200, 154, 0.4);
        }

        .btn-audio {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            background: #ff6b6b;
            color: var(--white);
            font-family: var(--title-font);
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            padding: 13px 20px;
            border-radius: 10px;
            transition: all .3s;
        }

        .btn-audio:hover {
            background: #e85555;
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(255, 107, 107, 0.4);
        }

        /* ── DESCRIPTION SECTION ── */
        .detail-body {
            background: #f8fafc;
            padding: 60px 0 60px;
        }

        .detail-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .blog-latest-heading i {
            color: var(--primary-color);
        }

        .description-block {
            background: var(--white);
            border-radius: 20px;
            padding: 44px 52px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
        }

        .description-block p {
            font-family: var(--body-font);
            font-size: 16px;
            line-height: 1.9;
            color: var(--text-secondary);
            margin-bottom: 22px;
        }

        .description-block p:last-child {
            margin-bottom: 0;
        }

        /* ── ANIMATIONS ── */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(22px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fu {
            animation: fadeUp .6s ease both;
        }

        .fu1 {
            animation-delay: .08s;
        }

        .fu2 {
            animation-delay: .18s;
        }

        .fu3 {
            animation-delay: .30s;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 900px) {
            .hero-inner {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .hero-cover {
                padding-bottom: 0;
                max-width: 260px;
            }

        
            .description-block {
                padding: 28px 24px;
            }
        }

        @media (max-width: 540px) {
            .purchase-row {
                flex-direction: column;
            }

            .purchase-card {
                min-width: unset;
            }
        }