/* ==========================================================================
   USE CASES PAGES — problem → solution → industry layout
   Matches the site-wide "Key Features" card idiom: white card, icon left
   (red, 1.5rem, fixed 40px column), text right.
   ========================================================================== */

.use-case-hero-image {
    height: 340px;
}

.use-case-page .section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 14px;
}

.use-case-page .section-intro {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---------- The Challenge — dark charcoal theme ---------- */
.use-case-challenge {
    background-color: #333333 !important;
    color: #cccccc;
}

.use-case-challenge .section-eyebrow {
    color: #d4a827;
}

.use-case-challenge .challenge-narrative {
    color: #eeeeee;
}

.use-case-challenge .challenge-narrative p {
    color: #eeeeee;
}

.use-case-challenge .stake-item {
    background: #ffffff !important;
    border-color: #ececec !important;
}

.use-case-challenge .stake-item .stake-icon {
    color: #8b0000 !important;
}

.use-case-challenge .stake-item h4 {
    color: #1a1a1a;
}

.use-case-challenge .stake-item p {
    color: #333;
}

/* ---------- The Challenge ---------- */
.use-case-challenge .challenge-block {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0 64px;
    align-items: start;
    padding: 40px 0 8px;
}

.use-case-challenge .challenge-block .stakes-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
}

.challenge-left {
    text-align: left;
    position: sticky;
    top: 32px;
    padding-top: 30px;
}

.use-case-challenge h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: #ffffff;
    line-height: 1.25;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.use-case-challenge h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #d4a827;
    bottom: 0;
    left: 0;
    transform: none;
}


.use-case-challenge .challenge-narrative {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0;
    text-align: left;
}

.use-case-challenge .challenge-narrative p {
    margin: 0 0 14px;
}

/* ---------- Applications two-column split ---------- */
.applications-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0 64px;
    align-items: center;
}

.applications-left {
    transform: translateY(-56px);
}

.applications-left .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.applications-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.applications-split .application-examples-list {
    margin: 0;
    max-width: none;
}

@media (max-width: 768px) {
    .applications-split {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
    .applications-left {
        position: static;
    }
}

/* Stakes grid — icon-left feature-card style */
.stakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 8px;
    text-align: left;
    list-style: none;
    padding: 0;
}

.use-case-page .stake-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.use-case-page .stake-item .stake-icon {
    flex: 0 0 40px !important;
    width: 40px !important;
    color: #8b0000;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-bottom: 0;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.2;
    padding-top: 2px;
}

.stake-item .stake-text {
    flex: 1;
    min-width: 0;
}

.stake-item h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.stake-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
}

/* ---------- The RTS Approach ---------- */
.use-case-approach {
    text-align: center;
    padding-bottom: 60px;
}

.use-case-approach .section-eyebrow {
    display: block;
}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
    list-style: none;
    padding: 0;
}

.use-case-approach .benefits-container {
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
}

.use-case-page .approach-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.use-case-page .approach-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.use-case-page .approach-icon {
    flex: 0 0 40px !important;
    width: 40px !important;
    color: #8b0000;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-bottom: 0;
    background: none;
    border-radius: 0;
    height: auto;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2px;
    line-height: 1.2;
}

.approach-card .approach-text {
    flex: 1;
    min-width: 0;
}

.use-case-approach .benefit-item {
    text-align: left;
}

.use-case-approach .benefit-content {
    text-align: left;
}

.approach-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.approach-card p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

/* ---------- What Powers This ---------- */
.use-case-powered-by {
    text-align: center;
}

.use-case-powered-by .section-eyebrow {
    display: block;
}

.powered-by-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
    text-align: left;
    list-style: none;
    padding: 0;
}

.use-case-page .powered-by-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.powered-by-item:hover {
    border-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.powered-by-icon {
    flex: 0 0 40px;
    color: #8b0000;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.2;
}

.powered-by-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.powered-by-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    font-weight: 600;
    margin-bottom: 3px;
}

.powered-by-title {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.powered-by-item:hover .powered-by-title {
    color: #8b0000;
}

/* ---------- Industries Where This Applies ---------- */
.use-case-industries {
    text-align: center;
}

.use-case-industries .section-eyebrow {
    display: block;
}

/* Reuse .industries-grid + .industry-card from industries.css */

/* ---------- Application examples list ---------- */
.application-examples-list {
    list-style: none;
    padding: 0;
    margin: 32px auto 0;
    max-width: 760px;
    text-align: left;
}

.application-examples-list li {
    padding: 18px 0;
    border-bottom: 1px solid #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.application-examples-list li:last-child {
    border-bottom: none;
}

.application-examples-list li strong {
    display: block;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b0000;
    margin-bottom: 5px;
}

/* ---------- Mobile tweaks ---------- */

@media (max-width: 768px) {
    .use-case-challenge .challenge-block {
        grid-template-columns: 1fr;
        gap: 24px 0;
        padding: 24px 20px 8px;
    }

    .use-case-page .hero-3 .container,
    .use-case-page .hero-2 .container,
    .use-case-page .hero-1 .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1100px) {
    .use-case-page .hero-3 .container,
    .use-case-page .hero-2 .container,
    .use-case-page .hero-1 .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .use-case-challenge .challenge-block {
        gap: 0 40px;
    }

    .applications-split {
        gap: 0 40px;
    }

    .challenge-left {
        position: static;
        text-align: center;
        padding-top: 0;
    }

    .use-case-challenge h2 {
        font-size: 1.55rem;
        text-align: center;
    }

    .use-case-challenge h2::after {
        left: 50%;
        transform: translateX(-50%);
        background-color: #d4a827;
    }

    .use-case-challenge .challenge-block .stakes-grid {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .use-case-challenge .challenge-narrative {
        font-size: 1rem;
    }

    .applications-split {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }

    .applications-left {
        position: static;
        transform: none;
    }

    .application-examples-list {
        margin-top: 0;
    }

    .stakes-grid,
    .powered-by-list {
        grid-template-columns: 1fr;
    }

    .stake-item .stake-icon,
    .powered-by-icon {
        flex: 0 0 36px;
        font-size: 1.35rem;
        margin-right: 12px;
    }

    .use-case-hero-image {
        height: 280px;
        background-attachment: scroll;
    }
}
