@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Kumbh+Sans:wght@300;400;500;600&display=swap');

:root {
    --accent-red: #e32428;
    --black: #000000;
    --dark-grey: #0a0a0a;
    --grey-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Kumbh Sans', sans-serif;

    /* Premium Tokens */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Progress Bar */
#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

#reading-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--accent-red), #ff5f6d);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent-red);
}

/* Hero Enhancements */
.blog-hero-impact {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.blog-hero-impact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--black), transparent);
}

.hero-container-impact {
    position: relative;
    z-index: 2;
}

.hero-content-impact {
    text-align: left;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-content-impact {
        text-align: center;
    }
}

.impact-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--accent-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.label-line {
    width: 30px;
    height: 1px;
    background: var(--accent-red);
}

.impact-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.accent-impact {
    color: var(--accent-red);
}

.impact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: #cecdcd;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.blog-meta-premium {
    display: flex;
    gap: 25px;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-item i {
    color: var(--accent-red);
}

[data-aos="reveal-text"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: transform, opacity;
}

[data-aos="reveal-text"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.articles {
    background: var(--black);
    padding: 15px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: auto;
}

article {
    background: var(--dark-grey);   
    border: 1px solid var(--grey-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

article:hover {
    /* border-color: var(--accent-red); */
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(95, 94, 94, 0.5);
}

.article-wrappe {
    display: flex;
    flex-direction: column;
    height: 100%;
}

article figure {
    margin: 0;
    height: 220px;
    overflow: hidden;
}

article figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

article:hover figure img {
    transform: scale(1.08);
}

.article-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-body h2 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c65f5f;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
}

.read-more .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.content-surface {
    padding: 60px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    color: #f1f5f9;
}

.blog-intro {
    font-size: 1.35rem;
    color: #94a3b8;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 3rem;
    border-left: 2px solid var(--accent-red);
    padding-left: 25px;
    font-style: italic;
}

.blog-rich-content {
    font-size: 1.15rem;
    line-height: 2;
    color: #cbd5e1;
}

.blog-rich-content p {
    margin-bottom: 2rem;
}

.blog-rich-content h2,
.blog-rich-content h3 {
    color: #ffffff;
    margin: 3.5rem 0 1.5rem 0;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* blockquote {
    position: relative;
    padding: 2.5rem 3rem;
    margin: 4rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--accent-red);
    font-style: italic;
    font-size: 1.4rem;
    color: #f8fafc;
} */

/* .share-sidebar {
    position: sticky;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: -80px;
} */

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.share-btn:hover {
    background: var(--accent-red);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(227, 36, 40, 0.15);
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .share-sidebar {
        margin-left: -50px;
    }
}

@media (max-width: 991px) {
    .content-surface {
        padding: 50px 30px;
        margin-top: -80px;
        border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .share-sidebar {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-left: 0;
        margin-top: 40px;
        padding: 0;
    }
}

/*  RESPONSIVE DESIGN  */

@media (max-width: 1200px) {
    .articles {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .articles {
        grid-template-columns: 1fr;
    }
}

/* Compatibility for Home Carousel if needed */
.testimonial-item .blog-item {
    background: var(--dark-grey);
    border: 1px solid var(--grey-border);
    border-radius: 15px;
    height: 250px;
    margin-bottom: 20px;
}