/* Hover Reveal Card Style */
.news-card-hover {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.news-card-hover:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.news-card-hover .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-hover:hover .card-image {
    transform: scale(1.15);
}

.news-card-hover .card-overlay-initial {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 30px;
    transition: all 0.4s ease;
}

.news-card-hover .card-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 200, 154, 0.95);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.news-card-hover:hover .card-overlay-initial {
    opacity: 0;
}

.news-card-hover:hover .card-overlay-hover {
    opacity: 1;
}

.news-card-hover .card-category {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.news-card-hover .card-title {
    font-family: var(--title-font);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 0;
}

.news-card-hover .card-excerpt {
    font-size: 15px;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card-hover .card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--white);
    margin-top: 15px;
}

.news-card-hover .card-meta i {
    margin-right: 5px;
}

.news-card-hover .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    width: fit-content;
    transition: all 0.3s ease;
}

.news-card-hover .read-more-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .news-hero {
        padding: 80px 0 60px;
        margin-top: 135px;
    }

    .news-hero h1 {
        font-size: 36px;
    }

    .news-hero p {
        font-size: 16px;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-card-hover {
        height: 350px;
    }

    .news-card-hover .card-title {
        font-size: 19px;
    }

    .news-card-hover .card-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        margin-top: 125px;
    }

    .news-hero h1 {
        font-size: 28px;
    }

    .news-card-hover {
        height: 320px;
    }

    .news-card-hover .card-overlay-initial,
    .news-card-hover .card-overlay-hover {
        padding: 20px;
    }
}

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

/* 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: 56px;
    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);
    padding-bottom: 52px;
}

.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);
}

/* wave separator */
.hero-wave {
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: -2px;
}

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

.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: 32px;
    }

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

    .hero-text {
        padding-bottom: 32px;
    }

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

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

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