/* ==========================================================================
   STORIES HUB & NARRATIVE PAGES STYLESHEET (stories.css)
   Strict Rules: Minimum font size 14px | Maximum border radius 15px
   ========================================================================== */

/* 1. Base Section Utilities */
.stories-page-section {
    padding: 60px 0;
    position: relative;
}

.stories-page-section.bg-light-cream {
    background-color: var(--light-bg);
}

.stories-page-section.bg-white-pure {
    background-color: #ffffff;
}

.stories-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    border: 1px solid rgba(203, 96, 150, 0.25);
    margin-bottom: 12px;
}

.stories-badge-pill.dark-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.stories-heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--light-text);
}

.dark-theme .stories-heading-lg {
    color: #ffffff;
}

.stories-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: #5a3d4f;
    max-width: 760px;
}

.dark-theme .stories-subtitle {
    color: #fce8f3;
}

/* 2. Featured Narrative Spotlight Card */
.narrative-spotlight-card {
    background: #ffffff;
    border: 1px solid rgba(203, 96, 150, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.narrative-spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(203, 96, 150, 0.2);
}

.narrative-spotlight-img {
    width: 100%;
    height: 515px;
    object-fit: cover;
    border-radius: 15px 0 0 15px;
}

@media (max-width: 991px) {
    .narrative-spotlight-img {
        border-radius: 15px 15px 0 0;
        min-height: 260px;
    }
}

.narrative-spotlight-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.narrative-quote-box {
    background: #fff4f9;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 18px 0;
}

.narrative-quote-text {
    font-size: 16px;
    font-style: italic;
    color: #432135;
    line-height: 1.5;
    margin: 0;
}

/* 3. Narrative Thematic Cards Grid */
.narrative-card {
    background: #ffffff;
    border: 1px solid #efe5ec;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.narrative-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(203, 96, 150, 0.22);
}

.narrative-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.narrative-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.narrative-card:hover .narrative-card-media img {
    transform: scale(1.06);
}

.narrative-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(29, 19, 34, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.narrative-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.narrative-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #1a0c16;
    margin-bottom: 10px;
    line-height: 1.35;
}

.narrative-card-text {
    font-size: 15px;
    color: #634757;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.narrative-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f2e9f0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* 4. Lesson & Reflection Pillar Cards */
.pillar-card {
    background: #ffffff;
    border: 1px solid #f0e6ee;
    border-radius: 15px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgb(0 0 0 / 27%) 0px 30px 60px -30px, rgb(10 37 64 / 8%) 0px -2px 6px 0px inset;
}

.pillar-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(203, 96, 150, 0.18);
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #e07aa8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(203, 96, 150, 0.35);
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #1a0c16;
    margin-bottom: 10px;
}

.pillar-desc {
    font-size: 15px;
    color: #604654;
    line-height: 1.6;
    margin: 0;
}

/* 5. Audio / Video Reflection Cards */
.reflection-media-box {
    background: linear-gradient(135deg, #1d1322 0%, #34182f 100%);
    border-radius: 15px;
    padding: 30px;
    color: #ffffff;
    border: 1px solid rgba(203, 96, 150, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.reflection-media-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.reflection-media-quote {
    font-size: 16px;
    line-height: 1.6;
    color: #f7dbe9;
    margin-bottom: 20px;
}

/* 6. Story Submission Form (Exclusive to Share Your Story) */
.story-form-card {
    background: #ffffff;
    border: 1px solid rgba(203, 96, 150, 0.25);
    border-radius: 15px;
    padding: 36px;
    box-shadow: 0 16px 45px rgba(203, 96, 150, 0.12);
}

.story-form-card .form-label {
    font-size: 14px;
    font-weight: 700;
    color: #2a1622;
    margin-bottom: 6px;
}

.story-form-card .form-control,
.story-form-card .form-select {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #e8dae4;
    background-color: #fcf9fb;
    color: #1a0c16;
    transition: all 0.25s ease;
}

.story-form-card .form-control:focus,
.story-form-card .form-select:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(203, 96, 150, 0.2);
}

.story-form-card .form-check-label {
    font-size: 14px;
    color: #553c4b;
    line-height: 1.5;
}

.story-form-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* 7. Step Timeline Process Cards */
.story-step-box {
    background: #faf4f8;
    border: 1px solid #f0e1ec;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.story-step-box:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(203, 96, 150, 0.16);
    transform: translateY(-3px);
}

.story-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(203, 96, 150, 0.3);
}

.story-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a0c16;
    margin-bottom: 8px;
}

.story-step-text {
    font-size: 14px;
    color: #634a58;
    line-height: 1.55;
    margin: 0;
}

/* 8. FAQ Accordion for Guidelines */
.story-accordion .accordion-item {
    border: 1px solid #eee1ea;
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.story-accordion .accordion-button {
    font-size: 16px;
    font-weight: 700;
    color: #21121d;
    background: #ffffff;
    padding: 18px 24px;
    box-shadow: none;
    border-radius: 12px !important;
}

.story-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #fdf5f9;
}

.story-accordion .accordion-body {
    font-size: 15px;
    color: #5e4352;
    line-height: 1.65;
    padding: 18px 24px 24px 24px;
    background: #ffffff;
}

/* 9. Call-To-Action Banner */
.story-cta-banner {
    background: linear-gradient(#00000075), url('../img/banner/13.webp');
    padding: 50px 36px;background-position: 0% 84%;
    text-align: center;background-size: cover;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(203, 96, 150, 0.3);
}

.story-cta-banner h3 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
}

.story-cta-banner p {
    font-size: 16px;
    color: #f7dbe9;
    max-width: 680px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

/* 10. Stat Counter Cards */
.story-stat-card {
    background: #ffffff;
    border: 1px solid #f2e3ed;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease;
}

.story-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.story-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.story-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #634a58;
}
