/* Book Banner Section Styles */

.book-banner-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.book-banner-container {
    position: relative;
    width: 100%;
    height: 489px;
}

/* Text Container with Border */
.book-banner-text-container {
    position: relative;
    max-width: 73%;
    min-height: 410px;
    margin-top: 43px;
    margin-bottom: 29px;
    border: 1px solid #ed6a59;
    border-right: none;
    padding: 56px 64px;
    padding-right: 150px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 2;
}

/* Title Styles */
.book-banner-title {
    font-family: 'IvyOra Display', serif;
    font-size: 32px;
    font-weight: 500;
    font-style: italic;
    line-height: normal;
    color: #403936;
    margin: 0;
    width: 526px;
}

.book-banner-title .title-medium-italic {
    font-weight: 500;
    font-style: italic;
}

.book-banner-title .title-bold {
    font-weight: 700;
    font-style: normal;
}

/* Question Text */
.book-banner-question {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #403936;
    margin: 0;
}

/* Buttons Container */
.book-banner-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.book-banner-btn {
    height: 56px;
    padding: 16px 24px;
}

/* Main Image Container */
.book-banner-image-container {
    position: absolute;
    top: -43px;
    right: 50px;
    width: 329px;
    height: 353px;
    overflow: hidden;
}

.book-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 2;
}

/* Brain Icon Container */
.book-banner-icon-container {
    position: absolute;
    right: 273px;
    bottom: 29px;
    width: 184.703px;
    height: 205px;
    overflow: hidden;
    z-index: 3;
}

.brain-icon-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .book-banner-section {
        margin: 0 auto;
        padding: 0 60px;
    }

    .book-banner-container {
        height: 634px;
    }

    /* Text Container - Mobile */
    .book-banner-text-container {
        position: absolute;
        top: 0;
        left: 14px;
        right: 13px;
        bottom: 122px;
        max-width: none;
        min-height: auto;
        margin: 0;
        border: 0.791px solid #ed6a59;
        padding: 32px 16px;
        padding-bottom: 255px;
        gap: 25.325px;
        z-index: 1;
    }

    /* Title - Mobile */
    .book-banner-title {
        font-size: 24px;
        font-weight: 500;
        font-style: italic;
        line-height: normal;
        width: 100%;
    }

    /* Buttons - Mobile */
    .book-banner-buttons {
        gap: 13.667px;
    }

    .book-banner-btn {
        height: 48px;
        padding: 13.663px 20.495px;
        font-size: 16px;
        border-radius: 30px;
    }

    /* Main Image Container - Mobile */
    .book-banner-image-container {
        top: 267px;
        left: 0;
        right: 71px;
        bottom: 36.5px;
        width: auto;
        height: auto;
        overflow: visible;
    }

    .book-banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    /* Brain Icon Container - Mobile */
    .book-banner-icon-container {
        top: 442px;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
        overflow: visible;
    }

    .brain-icon-main {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
