/* Service Stories / Case Study Template Styles
   Shared layout for all results/* pages.
   Component styles (.cs-hero, .cs-body, etc.) live inline per-page for now.
   This file handles the wrapper layer + shared layout overrides. */

/* ─── Section Wrappers ──────────────────────────────────────────────── */
.service-story-hero {
    background: linear-gradient(180deg, rgba(255,212,61,0.03) 0%, transparent 100%);
    border-bottom: 1px solid var(--cinematic-glass-border);
}

.service-story-body {
    background: transparent;
}

.service-story-cta {
    background: rgba(255,212,61,0.04);
    border-top: 1px solid rgba(255,212,61,0.12);
}

/* When the wrapper is present, strip the duplicate bg/border from the inner cs-cta */
.service-story-cta .cs-cta {
    background: transparent;
    border-top: none;
}

/* ─── Secondary Topic CTA Card ──────────────────────────────────────── */
.cs-topic-cta {
    max-width: 640px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--cinematic-glass-border);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: left;
}

.cs-topic-cta .ctc-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.cs-topic-cta .ctc-text {
    flex: 1;
    min-width: 160px;
}

.cs-topic-cta .ctc-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cinematic-primary-text);
    margin-bottom: 0.25rem;
}

.cs-topic-cta .ctc-text span {
    font-size: 0.82rem;
    color: var(--cinematic-secondary-text);
    line-height: 1.5;
}

.cs-topic-cta .ctc-btn {
    display: inline-block;
    background: rgba(255,212,61,0.1);
    border: 1px solid rgba(255,212,61,0.3);
    color: var(--cinematic-primary-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.cs-topic-cta .ctc-btn:hover {
    background: rgba(255,212,61,0.2);
    border-color: rgba(255,212,61,0.5);
}

@media (max-width: 640px) {
    .cs-topic-cta { flex-direction: column; gap: 1rem; text-align: center; }
    .cs-topic-cta .ctc-btn { width: 100%; text-align: center; }
}
