/* ========================================
   STORIES - Listing & Detail Pages
======================================== */

/* ========================================
   LISTING PAGE
======================================== */
.stories-listing {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stories-listing__intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1rem;
    font-weight: 300;
}

/* Story type badge */
.product-type--story {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.9), rgba(147, 51, 234, 0.9));
    color: #ffffff;
}

/* Story card tags in listing */
.story-listing-card .story-card__tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

.story-listing-card .story-card__tag {
    background: rgba(147, 51, 234, 0.25);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.story-listing-card .story-card__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.story-listing-card .story-card__meta-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ========================================
   DETAIL PAGE
======================================== */
.story-page {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 80vh;
}

.story {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.06) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(30px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.15);
}

.story__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.story__badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(196, 181, 253, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.story__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.story__meta-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.story__tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.story__tags .story-card__tag {
    background: rgba(147, 51, 234, 0.25);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.story__synopsis {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    border-left: 3px solid rgba(147, 51, 234, 0.5);
    padding-left: 1.5rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Story Body */
.story__body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.9;
}

.story__body p {
    margin-bottom: 1.25rem;
}

.story__body em {
    color: rgba(196, 181, 253, 0.9);
    font-style: italic;
}

/* Story Cover Image */
.story__cover {
    margin: 0 0 2rem;
    text-align: center;
}

.story__cover img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

/* Story Illustrations */
.story__illustration {
    margin: 2rem 0;
    text-align: center;
}

.story__illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.15);
}

/* Story Footer */
.story__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    text-align: center;
}

/* ========================================
   BOOK BANNER (Stories Listing Page)
======================================== */
.book-banner {
    margin-bottom: 2rem;
}

.book-banner__content {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(107, 70, 193, 0.25) 100%);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.1);
}

.book-banner__title {
    font-family: 'Segoe Print', cursive, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.book-banner__description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.book-banner__btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

/* Book CTA in Story Footer */
.story__book-cta {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(107, 70, 193, 0.15) 100%);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 15px;
    text-align: center;
}

.story__book-cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .stories-listing {
        padding: 4rem 1rem;
    }

    .story-page {
        padding: 1rem;
    }

    .story {
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .story__body {
        font-size: 1rem;
        line-height: 1.8;
    }

    .story__synopsis {
        font-size: 0.95rem;
    }
}
