/* =============================================================
   CUSTOMER STORY DETAIL PAGES — SHARED STYLESHEET
   Reused across all /customer-stories/*.aspx detail pages.
   Scoped under #customer-story-page so it never leaks into
   other page templates that share the same master page.
   ============================================================= */

#customer-story-page {
    /* ---- brand tokens: adjust these once, they cascade everywhere ---- */
    --forteia-green: #145A32; /* PLACEHOLDER: guidelines say "Deep Green" but give no hex — replace with your exact brand value */
    --forteia-navy: #2c3e50;
    --forteia-red: #c0392b;
    --forteia-cream: #F3EEE3; /* Secondary color per brand guidelines: Cream / Off-white */
    --forteia-gold: #B8935C; /* Accent color per brand guidelines: Muted Yellow (accent use only) */
}

    #customer-story-page .story-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    #customer-story-page .story-summary {
        margin-bottom: 35px;
        font-size: 18px;
        line-height: 30px;
        color: #555;
    }

    #customer-story-page .story-section {
        margin-top: 40px;
    }

        #customer-story-page .story-section h3 {
            margin-bottom: 18px;
        }

    #customer-story-page .story-list {
        margin: 0 0 25px 0 !important;
        padding-left: 24px !important;
        list-style: disc outside !important;
    }

        #customer-story-page .story-list li {
            display: list-item !important;
            margin-bottom: 10px;
            padding-left: 5px;
            list-style: disc outside !important;
            line-height: 1.7;
        }

    #customer-story-page .story-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 30px 0;
    }

    #customer-story-page .story-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border: 1px solid #d7d7d7;
        background-color: #f5f5f5;
        color: #555;
        font-size: 12px;
        line-height: 1.3;
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    #customer-story-page .tag-icon {
        flex-shrink: 0;
        color: var(--forteia-green);
    }

    #customer-story-page .story-cta {
        margin-top: 45px;
        padding: 30px;
        background-color: #f1f1f1;
    }

        #customer-story-page .story-cta h3 {
            margin-top: 0;
            margin-bottom: 15px;
        }

        #customer-story-page .story-cta p {
            margin-bottom: 22px;
        }

    #customer-story-page .overview-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        #customer-story-page .overview-list li {
            margin-bottom: 18px;
            line-height: 1.6;
        }

    #customer-story-page .sidebar-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    #customer-story-page .sidebar-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 9px;
        border: 1px solid #ddd;
        background-color: #f7f7f7;
        color: #666;
        font-size: 11px;
        line-height: 1.3;
    }

    /* -------------------------------------------------------------
   OUTCOME CARDS
   ------------------------------------------------------------- */
    #customer-story-page .outcome-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 0 0 25px 0;
    }

    #customer-story-page .outcome-card {
        display: flex;
        flex-direction: column;
        background-color: var(--forteia-green);
        border: none;
        border-radius: 14px;
        padding: 36px 30px;
        transition: box-shadow .2s ease, transform .2s ease;
    }

        #customer-story-page .outcome-card:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
            transform: translateY(-3px);
        }

    #customer-story-page .outcome-card-number {
        display: block;
        margin-bottom: 18px;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 44px;
        line-height: 1;
        font-weight: 700;
        color: #fff;
    }

    #customer-story-page .outcome-card p {
        margin: 0;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.7;
    }

    /* -------------------------------------------------------------
   CHALLENGE / RESPONSE — TWO-COLUMN CARDS
   ------------------------------------------------------------- */
    #customer-story-page .challenge-response-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        margin-bottom: 10px;
    }

    #customer-story-page .cr-card {
        background-color: #fff;
        border: 1px solid #e2e2e2;
        border-top: 4px solid #ccc;
        border-radius: 6px;
        padding: 28px 26px;
    }

        #customer-story-page .cr-card.cr-challenge {
            border-top-color: var(--forteia-red);
        }

        #customer-story-page .cr-card.cr-response {
            border-top-color: var(--forteia-navy);
        }

        #customer-story-page .cr-card h4 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 0;
            margin-bottom: 18px;
            font-size: 15px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: #333;
        }

    #customer-story-page .cr-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        flex-shrink: 0;
        border-radius: 50%;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    #customer-story-page .cr-challenge .cr-icon {
        background-color: var(--forteia-red);
    }

    #customer-story-page .cr-response .cr-icon {
        background-color: var(--forteia-navy);
    }

    #customer-story-page .cr-card > p {
        margin-bottom: 16px;
        color: #555;
        line-height: 1.65;
    }

    #customer-story-page .cr-card ul {
        margin: 0 !important;
        padding-left: 20px !important;
        list-style: disc outside !important;
    }

    #customer-story-page .cr-card li {
        display: list-item !important;
        list-style: disc outside !important;
        margin-bottom: 10px;
        padding-left: 4px;
        line-height: 1.65;
        color: #555;
    }

        #customer-story-page .cr-card li:last-child {
            margin-bottom: 0;
        }

@media (max-width: 991px) {
    #customer-story-page .outcome-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    #customer-story-page .story-cta {
        padding: 22px;
    }

    #customer-story-page aside {
        margin-top: 50px;
    }

    #customer-story-page .outcome-cards {
        grid-template-columns: 1fr;
    }

    #customer-story-page .challenge-response-grid {
        grid-template-columns: 1fr;
    }
}
/* =============================================================
   FEATURED CUSTOMER STORIES — HOME PAGE (default.aspx)
   Teaser grid of 4 cards linking into the detail pages above.
   Scoped under #featured-customer-stories so it can't leak into
   #customer-story-page or anywhere else. NOTE: default.aspx must
   link this stylesheet — <link rel="stylesheet" type="text/css"
   href="/css/customer-story.css" /> — the same tag already used
   on every detail page; without it these rules never load there.
   ============================================================= */
#featured-customer-stories {
    background-color: #F8F5F0;
    font-family: 'Inter', 'Segoe UI', Roboto, 'Source Sans Pro', sans-serif;
    --fcs-green: #145A32; /* same value as --forteia-green above — kept local since this ID is on a different page */
    --fcs-green-dark: #0e4526;
    --fcs-navy: #2c3e50;
}

    #featured-customer-stories .row {
        display: flex;
        flex-wrap: wrap;
    }

        #featured-customer-stories .row > [class*="col-"] {
            display: flex;
            margin-bottom: 26px;
        }

    #featured-customer-stories .fcs-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
        overflow: hidden;
        transition: box-shadow .2s ease, transform .2s ease;
    }

        #featured-customer-stories .fcs-card:hover {
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
            transform: translateY(-3px);
        }

    #featured-customer-stories .fcs-img-cont {
        padding: 14px 14px 0 14px;
    }

        #featured-customer-stories .fcs-img-cont img {
            display: block;
            width: 100%;
            height: 170px;
            object-fit: cover;
            border-radius: 10px;
        }

    #featured-customer-stories .fcs-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 22px 24px 26px 24px;
    }

    #featured-customer-stories .fcs-eyebrow {
        display: block;
        margin-bottom: 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .4px;
        text-transform: uppercase;
        color: var(--fcs-green);
    }

    #featured-customer-stories .fcs-title {
        margin: 0 0 10px 0;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 700;
        color: #1c2b39;
    }

        #featured-customer-stories .fcs-title a {
            color: inherit;
            text-decoration: none;
        }

    #featured-customer-stories .fcs-location {
        flex: 1 1 auto;
        margin: 0;
        font-size: 14px;
        color: #6a7581;
    }

    #featured-customer-stories .fcs-cta {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        text-decoration: none;
    }

    #featured-customer-stories .fcs-cta-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        border-radius: 8px;
        background-color: var(--fcs-green);
        color: #fff;
        transition: background-color .2s ease;
    }

    #featured-customer-stories .fcs-cta-text {
        font-size: 15px;
        font-weight: 600;
        color: var(--fcs-navy);
    }

    #featured-customer-stories .fcs-cta:hover .fcs-cta-icon {
        background-color: var(--fcs-green-dark);
    }

    #featured-customer-stories .fcs-view-all-cont {
        text-align: center;
        margin-top: 10px;
    }

    #featured-customer-stories .fcs-view-all-btn {
        display: inline-block;
        background-color: #f1c40f;
        color: #2c3e50;
        padding: 15px 40px;
        border-radius: 5px;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        #featured-customer-stories .fcs-view-all-btn:hover {
            background-color: #f39c12;
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

@media (max-width: 991px) {
    #featured-customer-stories .col-lg-3.col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    #featured-customer-stories .col-lg-3.col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}