/* Reset & base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #f8f8f8;
    color: #111;
    line-height: 1.6;
}

/* Section Title (Black Header) */
.section-title {
    background-color: #000;
    color: #fff;
    padding: 0px 20px;
    text-align: center;
    font-weight: 600;
}

/* Whitepaper Top Section */
.whitepaper-top-section {
    padding: 40px 0px;
}

.whitepaper-wrapper {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* .whitepaper-slider-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
} */
.whitepaper-slider-container {
    position: relative;
    /* Make it the reference point for absolute positioning */
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.whitepaper-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    gap: 20px;
}

.whitepaper-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    transition: all 0.5s ease;
}

.whitepaper-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px;
    justify-self: flex-end;
}

.whitepaper-cover img {
    width: auto;
    height: 450px;
    display: block;
}

.whitepaper-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    width: 100%;
}

.whitepaper-text-nav {
    flex: 1;
    align-items: flex-start;
    min-width: 300px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
}

.whitepaper-text-nav h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.whitepaper-text-nav p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

/* .slider-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
} */
.slider-buttons {
    position: absolute;
    top: 85%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-arrow {
    padding: 5px 15px;
    background-color: #838383;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: #000;
}

.slider-arrow.prev {
    position: static;
}

.slider-arrow.next {
    position: static;
}

/* Responsive layout for buttons below 1000px */
@media (max-width: 1000px) {
    .slider-buttons {
        width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 20px;
        pointer-events: none;
        /* prevent overlay blocking */
    }

    .slider-arrow {
        pointer-events: auto;
        /* allow clicking */
        position: static;
    }
}

@media (max-width: 1200px) {
    .whitepaper-cover img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .whitepaper-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .whitepaper-slider-container,
    .whitepaper-text-nav {
        width: 100%;
    }

    .whitepaper-text-nav {
        text-align: left;
    }

    .whitepaper-cover img {
        display: none;
    }

    .slider-buttons {
        display: none;
    }
}

/* More Blogs Section */
.more-blogs-section {
    padding: 60px 20px;
    background-color: #fff;
}

.featured-blogs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    background-color: #fff;
    width: 500px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 35%;
    display: flex;
    align-items: center;
}

.blog-image img {
    width: 100%;
    height: auto;
    border-radius: 7px;
    display: block;
}

.blog-info {
    padding: 20px;
    width: 60%;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.blog-description {
    font-size: 1rem;
    color: #555;
    word-wrap: break-word;
    white-space: normal;
}

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.read-more-btn:hover {
    background-color: #333;
}

/* Responsive */

@media (max-width: 480px) {
    .blog-card {
        width: 100%;
    }

    .section-title {
        font-size: 1rem;
    }
}

/* blog detail */
.blog-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 40px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Space Grotesk', sans-serif;
}

/* .blog-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
} */

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 700;
}

.read-time {
    font-weight: 300;
    color: #777;
}

.published-label {
    font-weight: 700;
}

.published-date {
    font-weight: 300;
    color: #777;
}

.blog-content {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}